mask rcnn?

Thanks for open sourcing your repo. I would be interested in using FSOD with mask rcnn. I think the instruction in the README is about object detection, rather than image segmentation. Could you provide instruction on building it with mask rcnn?

Maybe I can follow https://github.com/roytseng-tw/Detectron.pytorch/blob/master/configs/baselines/e2e_mask_rcnn_R-50-C4_2x.yaml?
It would be great if you can upload your configuration yaml file for mask rcnn!

In the train_net_step.py, in the 285 line , the code show as below：
Model
```

maskRCNN = Generalized_RCNN()
if cfg.CUDA:
    maskRCNN.cuda()

### Optimizer ###
gn_param_nameset = set()
for name, module in maskRCNN.named_modules():
    if isinstance(module, nn.GroupNorm):
        gn_param_nameset.add(name+'.weight')
        gn_param_nameset.add(name+'.bias')
   ...........

**Is fsod a dataset for few shot object detection, and also a dataset for few shot image segmentation?** Does it have segmentation labels?  In the train_net_step.py,  the model is mask rcnn, not faster rcnn ???

Actually, instance segmentation is out of our scope. I removed those useless configs from the repo, you can use these configs in detectron-tw to construct your mask-rcnn version.


Specifying playbook for verify step does not resolve relative paths

Issue Type

Bug report

Molecule and Ansible details
ansible --version && molecule --version
ansible 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/nls/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/nls/.virtualenvs/ansible-role-bb-consul/lib/python3.6/site-packages/ansible
  executable location = /home/nls/.virtualenvs/ansible-role-bb-consul/bin/ansible
  python version = 3.6.9 (default, Nov  7 2019, 10:44:02) [GCC 8.3.0]
molecule 3.0.5.dev13+ga99c2c2d
   ansible==2.9.6 python==3.6

Molecule installation method (one of):

source
from git, via pip..

Ansible installation method (one of):

pip

Detail any linters or test runners used:

yamllint, ansible-lint
ansible

Desired Behavior
Execute the verify.yml playbook in molecule/shared.
Actual Behaviour
tl;dr: verify step is skipped, as molecule claims no playbook was configured.
directory structure:
molecule/
  default/
    molecule.yml
  shared/
    converge.yml
    verify.yml

File contents
cat molecule/default/molecule.yml
---
driver:
  name: docker
lint: |
  set -e
  yamllint .
  ansible-lint .

platforms:
  - name: consul-server
    image: "geerlingguy/docker-ubuntu1804-ansible:latest"
    dockerfile: ../shared/Dockerfile.j2
    command: ${MOLECULE_DOCKER_COMMAND:-""}
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    privileged: true
    pre_build_image: true

provisioner:
  name: ansible
  env:
    ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3
  options:
    extra_vars:
      consul_config:
        server: yes
        retry_join: ["<IP_ADDRESS>"]
        bootstrap_expect: 1

  playbooks:
    converge: ../shared/converge.yml

verifier:
  name: ansible
  env:
    ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3
  playbooks:
    verify: ../.shared/verify.yml
...
cat molecule/shared/converge.yml
---
- name: Converge
  hosts: all
  roles:
    - role: ansible-role-bb-consul
...
cat molecule/shared/verify.yml
- name: Verify
  hosts: all
  tasks:
    - debug: {msg: "executed"}

I initially had the verify playbook listed under the provisioner key instead of under verifier, like so:
provisioner:
  name: ansible
  env:
    ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3
  options:
    extra_vars:
      consul_config:
        server: yes
        retry_join: ["<IP_ADDRESS>"]
        bootstrap_expect: 1

  playbooks:
    converge: ../shared/converge.yml
    verify: ../.shared/verify.yml

verifier:
  name: ansible
  env:
    ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3
...

That, however, yields the same result.
The converge.yml is executed as expected, which makes this even weirder.
Here's the log of molecule --debug test:
https://gist.github.com/nlsdfnbch/3bab0bff514bda71a9a23703dd816eb6

Hello @nlsdfnbch
In both your configurations I see that your verify path is ../.shared/verify.yml instead of ../shared/verify.yml based on your directory structure. Can you doublecheck if that is set correct, just in case.

Fuuuck.
Thanks. 😄


Proto3 singular fields support

Based on Pull request #215 and the comments of @PetteriAimonen. Thanks to @fazjaxton

Looks good and I'll merge this now.
It will need a testcase, but I think I'll add that myself (so that I also get to try out the new feature ;)


Directories with no hidden files display the hidden file matching pattern as a file

Tested with bash and dash.
When a directory has no hidden files, toggling visibility of hidden files shows .[!.]* as the only file in the directory, and doing some tests in general show that when there is no matching pattern to it the shell just prints the pattern as is, like it does here.

This was intentional. Regardless, I've fixed this. Will show empty if no items in directory, no results for a failed search and no hidden files if there aren't any. Thanks.


Unable to get the latest user twits

I think this feature is not working anymore. When im using different sessions i'm still facing the limits after 50 total requests. When i'm trying to get the data without login, i'm receiving not fresh twits, but user "top tweets" or something like that. Is there any way to get sorted tweets when you are using a session without login?
Thank you everyone for the answers in advice

Okay I'll be looking into it shortly.

@bircher044 The list returned by the method always has the pinned tweet as the first elements. The latest tweets are contained after that.

I believe thats something different. Here is the list of elonmusk tweets with and without login into account. I see absolutly random ones when i'm not loggined. And the are not pinned.

thank you for supporting this project!

Okay tried it out. Turns out something changed on Twitter (once again). Now Twitter/X shows the top posts when not logged in.

Ok, thank you


30-40% performance regression on GT2 machines compared to old MediaSDK

Test setup:

Ubuntu 18.04
BDW GT2 or SKL GT2 HW
drm-tip git kernel from FDO
git versions of gmmlib, libva, media-driver, MediaSDK from Github Intel repos

instrumentation & trace options are not enabled

Test-case:

Input file: AVC, 1280x720, Progressive, Frame rate: 29.97, Bit rate: 10 Mbps
Output: AVC, 352x240, Progressive, Frame rate: 15, Bit rate: 800 Kbps
VPP: RS, FRC (dither)
Command line:
sample_multi_transcode  -o::h264 <output>.h264 -b 800 -u 4 -n 600 -i::h264 <input>.h264 -async 1 -hw  -w 352 -h 240 -FRC::PT

Expected outcome:

performance same (or better) as with the proprietary MediaSDK from (early) 2017
both when single and multiple streams are used

Actual outcome:

30-40% lower performance on GT2 devices

With SKL GT3e:

Performance drops 10-20% with a single stream
Performance increases 3-5% with ~50 streams

"old MediaSDK", if you were using MediaSeverStudio, could you please give which version of MediaServerStudio?
If you were using open source MSDK, could you please help to use git bisect to find the regression commit?

I don't exactly know what the old version is.  I think it's built from open source version, what was available around September 2017 (as files have such dates), but I think getting it working required some components also from the proprietary MediaSDK (issue tracker here also lists problems with that until end of 2017).
Performance of that is in the other few pipelines we've tested is about same as with the latest Git version of the open source MediaSDK stack, it's only this case where there's a noticeably change.

intel_gpu_top (for i-g-t v1.23) reports following...
Old MediaSDK:

60% -> 85% Video pipeline (increases while it's running)
100% Render pipeline

New MediaSDK:

100% Video pipeline
60-70% Render pipeline

When looking at the RAPL reported power usage, old MediaSDK used slightly more power for UnCore, and 2x more power for CPU cores.
(With v4.20-rc kernel, CPU power usage of both increased significantly, so with git version of drm-tip kernel, the difference itself isn't anymore 2x.)
Potential conclusion one could draw from these is that MediaSDK moved activity from CPU to video pipeline, but this particular use-case bottlenecks more on Video pipeline than it did on CPU, at least on GT2.
(When looking at the OA HW counters counters for new MediaSDK Render pipeline with GpuTop, Render pipeline / compute utilization spikes a bit more for few seconds at the beginning, so I guess initially Video engine isn't "full".)

If you were using open source MSDK, could you please help to use git bisect to find the regression commit?

Not if it regressed before everything started to build fine without patching/hacking, or if it doesn't build on Ubuntu 18.04.  Aren't you able to reproduce the perf drop?
Btw. which components could affect this?  MediaSDK & media-driver?  Or also libva and gmmlib?

With v4.20-rc kernel, CPU power usage of both increased significantly, so with git version of drm-tip kernel, the difference itself isn't anymore 2x

Filed kernel bug about this regression: https://bugs.freedesktop.org/show_bug.cgi?id=108700

Potential conclusion one could draw from these is that MediaSDK moved activity from CPU to video pipeline, but this particular use-case bottlenecks more on Video pipeline than it did on CPU, at least on GT2.

Potential other reasons for the changed load numbers:

Some of the load was moved from Render compute to fixed Video pipeline
Just the Video pipeline work increased

(And CPU load dropped just because CPU needs to wait more when feeding Video batches)

With several performance-improvement patches introduces last year and upstream of many kernel patches which affect media performance, we consider this as closed. Please feel free to reopen, or better, submit new issue, if there are any noticeable gap.

I haven't noticed any performance improvements during this year in this test-case (there was one noticeable perf regression, that was later fixed) i.e. since I started measuring it.
Note that I'm using nowadays -async 4 instead of -async 1 which has much better perf.   I don't have old MediaSDK anymore to test -async 4 with it, so closing this is fine.


⚠ Processors has degraded performance

In d180245, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 44 ms

Resolved: Processors performance has improved in fca7e60.


Replace password session

Description
related to https://github.com/descope/etc/issues/3800
Change password.replace(...) return value with authentication info

What about this PR? 😀


error when using cluster

node v14
when using wtfnode with cluster, throws an EPIPE error
Error: write EPIPE
    at process.target._send (internal/child_process.js:835:20)
    at process.target.send (internal/child_process.js:706:19)
    at sendHelper (internal/cluster/utils.js:26:15)
    at send (internal/cluster/child.js:193:10)
    at EventEmitter.cluster._setupWorker (internal/cluster/child.js:46:3)
    at initializeClusterIPC (internal/bootstrap/pre_execution.js:342:13)
    at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:65:3)
    at internal/main/run_main_module.js:7:1
Emitted 'error' event on Worker instance at:
    at process.<anonymous> (internal/cluster/worker.js:29:12)
    at process.emit (events.js:314:20)
    at internal/child_process.js:839:39
    at processTicksAndRejections (internal/process/task_queues.js:75:11) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Hi there!
write EPIPE is an error indicating that the other end of a pipe is no longer present. You would get this error when, for example, attempting to send a message to a child that has exited already. Since there are no lines of code in the stack trace anywhere in wtfnode's source, it doesn't appear to be a code error in wtfnode (e.g. newer version of node changing something and now wtfnode is doing an incompatible thing).
I have a minimal test already that exercises the cluster module's forking behavior, and I'm not encountering any problems on Node 14.9.0. This means that likely you're either using some functions that are affected but I've not exercised, or the problem doesn't actually have anything to do with wtfnode.
If you're using the CLI interface (wtfnode myapp.js) and using ctrl+c to dump the output, wtfnode dumps the open handles and exits the process. It may be the case that this is causing a process you expect to be present to now have exited. This isn't really a bug in wtfnode so much as an unexpected eventuality that you may want to guard yourself against anyway. (The parent should probably not crash implicitly if a child crashes/exits, though it might want to print a useful message and exit)
If you're using the module interface (var wtf = require('wtfnode')), it's possible that some monkey patch no longer behaves nicely with Node.js, or that you're using the cluster module in a way I haven't tested/exercised.  My own basic test is not reproducing the problem, though, so I'm going to need your help. What exact version of node are you having problems with? What precisely are the steps you're taking that cause the error? What makes you think that wtfnode is involved? (How does it differ from otherwise?) Are you able to create a minimal reproduction example?

thanks for your reply.
i'm using node v14.8.0 and code is from https://github.com/hydro-dev/Hydro
wtfnode crashs the whole process, but the code works properly without it.

clone the repo, run yarn
modify packages/hydrooj/src/loader.ts:
add import wtfnode from 'wtfnode'
add wtdnode.dump() in function terminate at line 53
run yarn build
run yarn start

First off, sorry it took me so long to get to this.
For your info, I had a number of problems with this process:

Not familiar with yarn workspaces; tried adding wtfnode from packages/hydrooj and got a TS module resolution error using import. Changing to require worked. Not sure why import doesn't work but should make no real difference?
Building then gave the error Addon not found: @hydrooj/customize, but it cannot be found in npm. I noticed the message saying Please also install @hydrooj/ui-default, which I did, but got the same error. Discovered that packages/customize is a submodule, initialized it. (Maybe should have been a build failure?)
Then got errors with alipay-sdk; re-running yarn took care of it (since the customize directory was empty, the initial yarn run didn't have a package.json to tell it about the extra dependencies)

Now I get the error you had.
Not included in your report, but important, is this error:
[E] entry/master Cannot start setup process. TypeError: Cannot redefine property: __callSite
    at Function.defineProperties (<anonymous>)
    at EventEmitter.cluster.fork (/home/myndzi/wtfnode/index.js:372:20)
    at fork (/home/myndzi/Hydro/packages/hydrooj/dist/loader.js:89:30)
    at entry (/home/myndzi/Hydro/packages/hydrooj/dist/loader.js:94:29)
    at Object.load (/home/myndzi/Hydro/packages/hydrooj/dist/entry/master.js:67:15)
    at async entry (/home/myndzi/Hydro/packages/hydrooj/dist/loader.js:110:20)
    at async load (/home/myndzi/Hydro/packages/hydrooj/dist/loader.js:236:21)
error Command failed with exit code 1.

I can't seem to figure out how to reproduce the actual behavior, but the hook in fork forgot to check whether the callsite was already defined. I don't know why it's being called with an already-hooked object, but it's a clear error. I've published a fix to the beta branch; you can update with yarn add<EMAIL_ADDRESS>If you can verify the crash goes away, I'll update the main distribution.
Also seen is some weirdness around one of the Server classes in your code. I haven't yet been able to identify what's going on; it seems to be a Server object with no address info, might be related to fork. Something is adding a fail event handler (maybe Typescript or some library?) to it, but since it's not bound in your application code there's no callsite reference. This can be safely ignored, though I'd like to figure out what the Server object is and give better information about it. That doesn't block fixing this, however.

Thanks for your reply.
I didn't see __callSite error message as my database is already set.(maybe worker process startup error was caught without displaying.)
Maybe Server class is caused by cluster? all listen() called on worker will be handled by master process.
and 0.8.4 works for me.

the import statement is handled by typescript compiler, while require() is handled by node, sometimes cache will cause resolution error, clean tsbuildinfo file and delete dist folder might help. and @types/wtfnode is suggested to install when using typescript.

I never made a types file... this whole thing is a big hack ;) I had a partly-done rewrite that was much cleaner a while back but I haven't been working on it.
Thanks for confirming, I'll push 0.8.4 to latest


[BUG]: QA | Displaying duplicate parties in the Names of parties Required drop down on the Order page

Describe the bug
Duplicate parties in the Names of parties Required drop down are displaying on the Order page
To Reproduce
Steps to reproduce the behavior:

Go to 'View Case pag'
Click on generate-orders in take action drop down
Scroll down to Names of parties Required drop down and click the options
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

This Issue is resolved in DPG-DEV


Meta: Keep build active after syntax error

You can see the first video. I make an error in code and then I fix it. But the distribution/assets folder doesn't  generate this time. It means the build failed. So whetever you reload the page or fix the error, extension will not update anymore.
Screenshot
before:
https://github.com/user-attachments/assets/e08d24ff-670e-46da-89ff-688fe5940e19
after:
https://github.com/user-attachments/assets/a373d4cf-a4d2-4144-8191-05818ba05db1

Thank you!

I just realized that the plugin is doing type-checking, this is not what I wanted. I'll welcome a PR to switch to https://github.com/rollup/plugins/tree/master/packages/sucrase or something similar, maybe whatever Vite uses.

@fregante I try to replace this plugin with @rollup/plugin-sucrase or rollup-plugin-esbuild. But I met same problem.

I think you should update the library you created. Otherwise I need set the plugin don't exclude anything, so that it makes building fine.
// esbuild({
//    exclude: []
// }),
sucrase({
    exclude: [],
    transforms: ['typescript', 'jsx']
}),


conv func by myia

A very interesting project. I read the paper and try to write some convolution functions by myia, still not work. Here is my code.
#myia/prim/py_implementations.py
@register(primops.flatten_op)
def flatten_op(bottom,height,width, kernel_size,stride):
    #height, width = bottom.shape
    h_size = (height - kernel_size)//stride+1
    w_size = (width - kernel_size)//stride+1
    top = np.zeros(shape=(h_sizew_size,kernel_sizekernel_size))
    for h in range(h_size):
    for w in range(w_size):
    t=bottom[hstride:hstride+kernel_size,wstride:wstride+kernel_size]
    top[hw_size+w]=t.reshape(1,kernel_sizekernel_size)
    return top

#myia/prim/grad_implementations.py
@register_bprop(primops.conv_op)
def bprop_conv_op(x, height, width, y, z,out, dout):
    h_size = (height - y)//z+1
    w_size = (width - y)//z+1
    h = 0
    w = 0
    dx = zeros_like((height,width))
    while h < h_size:
    while w< w_size:
    db = reshape(dout[h*w_size+w], (y, y))
    dx[h:h+1, w:w+1] = dx[h:h+1, w:w+1] + db
    w = w + 1
    h = h +1
    return (dx,0,0,0,0)`

Then met the error as below:
File "/Users/kpy/src/opensrc/myia/myia/parser.py", line 420, in process_Subscript     slice = self.process_node(block, node.slice) File "/Users/kpy/src/opensrc/myia/myia/parser.py", line 283, in process_node     raise NotImplementedError(node)  # pragma: no cover
Guess that it may be related by using slice, then I tried another method.
@register_bprop(primops.conv_op)
def bprop_conv_op(x, height, width, y, z,out, dout):
  h_size = (height - y)//z+1
  w_size = (width - y)//z+1
  h = 0
  w = 0
  dx = zeros_like((height,width))
  return (dx,0,0,0,0)

Got another error information:
File "/Users/kpy/src/opensrc/myia/myia/pipeline/resources.py", line 423, in renormalize     _, context = self.infer(graph, argspec, outspec, clear=True)   File "/Users/kpy/src/opensrc/myia/myia/pipeline/resources.py", line 411, in infer     tracks=self.required_tracks   File "/Users/kpy/src/opensrc/myia/myia/infer/graph_infer.py", line 843, in run     self.run_coroutine(_check())   File "/Users/kpy/src/opensrc/myia/myia/infer/graph_infer.py", line 907, in run_coroutine     raise err myia.infer.core.MyiaTypeMismatchError: ('Tuple[Int[64], Int[64]] != Array[Float[64]]', [<myia.infer.graph_infer.Reference object at 0x11c0d7c88>])
Do you have any idea what is wrong with my code?

Hi dj,
The indent in your code blocks got messed up when you copy/pasted it, it looks like.
The first error is due to the fact the bprop function is not treated as a primitive but parsed as Myia code, and Myia does not support this kind of slicing at the moment (it will in the future), nor does it support setting slices (this feature will be added, but with a different syntax which lets us keep Myia pure functional). So it's a syntax error basically, and Myia doesn't report these cleanly at the moment.
The second error is because zeros_like((height, width)) does not allocate a zero matrix with shape (height, width), which I assume is what you expected, it returns the tuple (0, 0). This has type Tuple[Int[64], Int[64]], but since you return it as the gradient wrt x, Myia expects something that has the same type as x, i.e. Array[Float[64]], hence the error you see.
To clarify, zeros_like takes its argument, copies it, and sets every scalar to zero, so if you give it a tuple, it'll return a tuple, if you give it an array, it will return a zeroed out array of the same size, and so on. This is useful for the AD transform. What you want would be a different op, e.g. an op called zeros as there is in numpy... although, unfortunately, there is no such op in Myia at the moment. We didn't add any array allocation ops yet. So you might want to start with that, and if you get it to work, do a PR, it'd be appreciated!
Keep in mind that this is still pre-alpha software, so some features that would be essential for a release are still missing, the error reporting is patchy, and the process to add ops is not well documented (mainly because it's probably going to change). We do plan to add a conv op, but we have yet to determine what would be the best interface for it -- you're welcome to discuss it with us and to try to come up with a prototype. We probably won't be very responsive in the next two weeks, though, because we'll all be on holiday.

Thanks for reply. Just begin to add some array allocation ops and read more code. Some module is confused to me.

Not sure what 'specialize' will modify after the typer inference.
2.Why would you  transform the class type into tupple in the step of 'erase ' class? Just for get the handle list of funcs in the class or other purpose?
Hmm, I think I'm still not very familiar with myia.


Use task.requests for using configured proxies

Motivation for changes:
I needed to use a proxy but the serienjunkies urlrewrite plugin did not use the configured ones
Detailed changes:
Just changed the use of requests to task.requests. I needed to change the function signature to achieve this.
Config usage if relevant (new plugin or updated schema):
Set Proxy in config.yml

Reopen if relevant


fix(release): bump latest version of Kork

Update kork to latest.
the Observability plugin seems to work with Java 11 so I think it will be fine for 1.23

Pull Request Test Coverage Report for Build #61

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 93.487%

Totals

Change from base Build #60:
0.0%

Covered Lines:
244

Relevant Lines:
261

💛  - Coveralls


Fixes tab focus not visible after deploy a server button #10621

When on the welcome page and using the keyboard to navigate, if you press enter on the "deploy a server" button the tab focus was then lost. I have removed the tab index on the unused checkbox that was causing this, and added a comment regarding the reason for the unused checkbox.
This PR fixes #10621

Coverage increased (+0.002%) to 37.612% when pulling 61d0a984a3ab6d9ba26bb427579e21425b29fe91 on fixes-tab-focus-not-visible-after-deploy-a-server-button into 42fa5c3275bad1e600e6577bc28df19cf5b8b262 on main.

not sure what are the new changes for, please only include the changes for the issue you are trying to fix.

not sure what are the new changes for, please only include the changes for the issue you are trying to fix.

@alanrenmsft my mistake those changes were for another branch, they have been removed other than the merge which was needed.

if i remember correctly, this is the only change when I first reviewed this PR. but now it still has a lot more than it, merge from latest main branch is fine, but they wouldn't show up as changes.

This branch got messed up with too many changes, a new branch was created.
New branch: https://github.com/microsoft/azuredatastudio/pull/11410


There is no Content-Type header in response with async requests

I have a spring controller that is defined like this:
@GetMapping(path = "somePath" produces = MediaType.APPLICATION_JSON_VALUE)
public ListenableFuture retrieveSomething() {
...
}
Without logbook it returns the content type header, with logbook autoconfiguration the header is missing in response.
I haven't done any debuging on this issue. So i can not provide more details. Sorry.

@iribaar Thanks for reporting this. Would you be willing to create a small test case that exposes this issue?

Hi, i am sorry i have no time to spend right now. But i will try to supply you a test case within the next two weeks.

@iribaar Were you able to define a test case?

some issue，and
 @Override
    public PrintWriter getWriter() throws IOException {
        if (withBody) {
            return tee().getWriter(this::getCharset); //charset is ISO-8859
        } else {
            return super.getWriter();
        }
    }

1.2.5 includes a fix for this and is deployed to central.

It's still not fixed. Also it swallows the status code - without logbook my endpoint returns 422, but with logbook it's always 200, I'm debugging this

https://github.com/cybuch/sample-spring-reactive
I've made you a test case when you can observe Logbook misbehaving

@cybuch Thanks for the sample project. I'll take a look.

Logbook 1.5.0 should contain a fix.


Understanding of HTTP

Understanding of HTTP
HTTP Methods(GET,POST)
writing sample code on GET and POST

Part of task #681

Completed


Cascader: fix display errors

fix Cascader, click on the option without child elements, and the child elements of the previous option are displayed on the right.
Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

Closes #16665

Can u add a test case ?

@zhangHongEn这个问题已经解决，等更新版本就可以了，是吧？

似乎加入了2.12.0版本, 需要等它上线

好像新版本并没有修复这个问题。。。


How to run only RetireJS analyzer scan?

I was wondering but for the analyzers like RetireJS, is there a way to scan only using it?

Use the various xxx analyzer enabled/disabled configuration properties of your integration of choice you can disable the various default enabled analyzers. See the documentation pages of your integration of choice (maven, cli, gradle, ant) for the exact configuration switch names as they may differ from integration to integration.
Most analyzers run by default, so you'll have to explicitly switch them off.
However I'm wondering: if you really only want to run RetireJSAnalyzer, why not use their own CLI-scanner instead?


[DS Project UI] - Validate the input of all the forms

Currently, there is no validation for the UI. However, there are many forms like creating a new project, creating a new notebook, adding a data source or storage, etc... We need to add validation to all the forms to avoid the user entering something invalid.
There are 2 kinds of validations:

Check all the input fields using regex and show the error hint message under the text input like the example here https://www.patternfly.org/v4/components/form#invalid.
Check the result of the submission and show proper error alerts if there is something error after submitting a form. For example, if the user tries to create a project that already exists (duplicated project name) after hitting the submit button, he may get a 409 conflict HTTP error code. Then the UI should show the error message as the alert. Currently, it's doing nothing.

Old and out of date. Closing.


Changing notes should set update time

Set note's updated time in the ng-change event.

Done in https://github.com/fmoliveira/tantalus/commit/edee3d8d9d0de2cac4887f8714d3d3d288bff4ee.


fix: Cannot navigate out of an error page

Description
When an error occurs, we take over the whole router and keep it the error state till the errors are flushed. By default, we will flush out the error state when a CTA on the page is clicked but in case the user navigates via the browser buttons, this will ensure the errors are flushed

Clear out errors when using browser navigation buttons to avoid error page persistence

Fixes #18564
Fixes #22068
Media
https://user-images.githubusercontent.com/12022471/229461625-d4bfc72f-c551-4063-aad8-8ba8b97f2db5.mov
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/build-deploy-preview env=release

/ok-to-test

LGTM !

LGTM!


/Patch 1

These changes have already been made in the upstream repo at https://github.com/cloudfoundry-samples/spring-music. This is my personal fork.


libmimalloc fails to build on FreeBSD-arm64

I did cargo update on my project using mimalloc, after that I did cargo build --release which ends like this:
The following warnings were emitted during compilation:

warning: In file included from c_src/mimalloc/src/static.c:37:
warning: In file included from c_src/mimalloc/src/prim/prim.c:22:
warning: c_src/mimalloc/src/prim/unix/prim.c:172:184: error: use of undeclared identifier 'hint'; did you mean 'link'?
warning:         _mi_warning_message("unable to directly request aligned OS memory (error: %d (0x%x), size: 0x%zx bytes, alignment: 0x%zx, hint address: %p)\n", err, err, size, try_alignment, hint);
warning:                                                                                ^~~~
warning:                                                                                link
warning: /usr/include/unistd.h:351:6: note: 'link' declared here
warning: int      link(const char *, const char *);
warning:          ^
warning: 1 error generated.

error: failed to run custom build command for `libmimalloc-sys v0.1.32`

Caused by:
  process didn't exit successfully: `/Projects/pff/target/release/build/libmimalloc-sys-bf5afac280c48bd1/build-script-build` (exit status: 1)
  --- stdout
  OPT_LEVEL = Some("z")
  TARGET = Some("aarch64-unknown-freebsd")
  HOST = Some("aarch64-unknown-freebsd")
  cargo:rerun-if-env-changed=CC_aarch64-unknown-freebsd
  CC_aarch64-unknown-freebsd = None
  cargo:rerun-if-env-changed=CC_aarch64_unknown_freebsd
  CC_aarch64_unknown_freebsd = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = Some("cc")
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-freebsd
  CFLAGS_aarch64-unknown-freebsd = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_freebsd
  CFLAGS_aarch64_unknown_freebsd = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some("-w -O3 -fvisibility=default")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("neon")
  cargo:rerun-if-env-changed=CC_aarch64-unknown-freebsd
  CC_aarch64-unknown-freebsd = None
  cargo:rerun-if-env-changed=CC_aarch64_unknown_freebsd
  CC_aarch64_unknown_freebsd = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = Some("cc")
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-freebsd
  CFLAGS_aarch64-unknown-freebsd = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_freebsd
  CFLAGS_aarch64_unknown_freebsd = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some("-w -O3 -fvisibility=default")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("neon")
  running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-w" "-O3" "-fvisibility=default" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-ftls-model=initial-exec" "-DMI_SECURE=4" "-DMI_DEBUG=0" "-o" "/Projects/pff/target/release/build/libmimalloc-sys-4e41c665653f31c8/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c"
  cargo:warning=In file included from c_src/mimalloc/src/static.c:37:
  cargo:warning=In file included from c_src/mimalloc/src/prim/prim.c:22:
  cargo:warning=c_src/mimalloc/src/prim/unix/prim.c:172:184: error: use of undeclared identifier 'hint'; did you mean 'link'?
  cargo:warning=        _mi_warning_message("unable to directly request aligned OS memory (error: %d (0x%x), size: 0x%zx bytes, alignment: 0x%zx, hint address: %p)\n", err, err, size, try_alignment, hint);
  cargo:warning=                                                                                ^~~~
  cargo:warning=                                                                                link
  cargo:warning=/usr/include/unistd.h:351:6: note: 'link' declared here
  cargo:warning=int      link(const char *, const char *);
  cargo:warning=         ^
  cargo:warning=1 error generated.
  exit status: 1

  --- stderr

  error occurred: Command "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-w" "-O3" "-fvisibility=default" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-ftls-model=initial-exec" "-DMI_SECURE=4" "-DMI_DEBUG=0" "-o" "/Projects/pff/target/release/build/libmimalloc-sys-4e41c665653f31c8/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c" with args "cc" did not execute successfully (status code exit status: 1).

p.s. I used version "0.1.29" before without issues, so the issue starts after that release :)

This is issue had been fixed but only on the dev branch.

Thanks -- I thought the fix was already in the release -- I will make a new release soon!

Can't wait, my Rust builds fail because of this :)

hehe, lucky you -- I just pushed a new release (v1.8.2 and v2.1.2). Let me know if it works

@daanx Well, I still see mimalloc = "0.1.36" after a fresh cargo add mimalloc, so it's the same version? :)
the failure: ```
The following warnings were emitted during compilation:
warning: In file included from c_src/mimalloc/src/static.c:37:
warning: In file included from c_src/mimalloc/src/prim/prim.c:22:
warning: c_src/mimalloc/src/prim/unix/prim.c:172:184: error: use of undeclared identifier 'hint'; did you mean 'link'?
warning:         _mi_warning_message("unable to directly request aligned OS memory (error: %d (0x%x), size: 0x%zx bytes, alignment: 0x%zx, hint address: %p)\n", err, err, size, try_alignment, hint);
warning:                                                                                ^~~~
warning:                                                                                link
warning: /usr/include/unistd.h:351:6: note: 'link' declared here
warning: int      link(const char *, const char *);
warning:          ^
warning: 1 error generated.
error: failed to run custom build command for libmimalloc-sys v0.1.32
Caused by:
process didn't exit successfully: /Projects/certsd-open/target/debug/build/libmimalloc-sys-0e7c8e9a3a7b5bc3/build-script-build (exit status: 1)
--- stdout
OPT_LEVEL = Some("0")
TARGET = Some("aarch64-unknown-freebsd")
HOST = Some("aarch64-unknown-freebsd")
cargo:rerun-if-env-changed=CC_aarch64-unknown-freebsd
CC_aarch64-unknown-freebsd = None
cargo:rerun-if-env-changed=CC_aarch64_unknown_freebsd
CC_aarch64_unknown_freebsd = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = Some("cc")
cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-freebsd
CFLAGS_aarch64-unknown-freebsd = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_freebsd
CFLAGS_aarch64_unknown_freebsd = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = Some("-w -O3 -fvisibility=default")
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("neon")
cargo:rerun-if-env-changed=CC_aarch64-unknown-freebsd
CC_aarch64-unknown-freebsd = None
cargo:rerun-if-env-changed=CC_aarch64_unknown_freebsd
CC_aarch64_unknown_freebsd = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = Some("cc")
cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-freebsd
CFLAGS_aarch64-unknown-freebsd = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_freebsd
CFLAGS_aarch64_unknown_freebsd = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = Some("-w -O3 -fvisibility=default")
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("neon")
running: "sccache" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-w" "-O3" "-fvisibility=default" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-ftls-model=initial-exec" "-DMI_SECURE=4" "-DMI_DEBUG=0" "-o" "/Projects/certsd-open/target/debug/build/libmimalloc-sys-cac4c7b831a34bf5/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c"
cargo:warning=In file included from c_src/mimalloc/src/static.c:37:
cargo:warning=In file included from c_src/mimalloc/src/prim/prim.c:22:
cargo:warning=c_src/mimalloc/src/prim/unix/prim.c:172:184: error: use of undeclared identifier 'hint'; did you mean 'link'?
cargo:warning=        _mi_warning_message("unable to directly request aligned OS memory (error: %d (0x%x), size: 0x%zx bytes, alignment: 0x%zx, hint address: %p)\n", err, err, size, try_alignment, hint);
cargo:warning=                                                                                ^~~~
cargo:warning=                                                                                link
cargo:warning=/usr/include/unistd.h:351:6: note: 'link' declared here
cargo:warning=int      link(const char *, const char *);
cargo:warning=         ^
cargo:warning=1 error generated.
exit status: 1
--- stderr
error occurred: Command "sccache" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-w" "-O3" "-fvisibility=default" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-ftls-model=initial-exec" "-DMI_SECURE=4" "-DMI_DEBUG=0" "-o" "/Projects/certsd-open/target/debug/build/libmimalloc-sys-cac4c7b831a34bf5/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c" with args "cc" did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish...

You might need to open a discussion there instead.

Yeah, the rust project needs to update too to the latest version of mimalloc; usually this happens soon though 👍


Draft of subpixel / single-space rasterization

I've got a quick and dirty rasterization of half-blocks and single-spaces. I can open a PR later this week if this is of interest :)

Hello! I`m currently working on an application that requires displaying a picture in terminal and I`m interested in your solution.
May I see your code? Or at least get some informations about how to implement it?
Thanks for your further help!

Hello! Im currently working on an application that requires displaying a picture in terminal and Im interested in your solution. May I see your code? Or at least get some informations about how to implement it? Thanks for your further help!

I don't know if you still need help, but I hope this pr(#16)  can help you 😊.

Thanks for your help! That is what exactly I am looking for!
Hope your PR get merged soon!

Closing as the half cell support PR is now merged and available in 3.0.1.


FIX(dashboard): Nodes behaviour was lost when going back to step 2

Hi, @perezp. ¿Could you have a look at why this PR is failing?

Thank you @rosogon nice catch. It seems that you fixed partially this annoying bug, however it looks that only the edit button is working, because when you back to the step 2 from the step 3, you can't delete nodes. Could you take a look?

@rosogon Done.
External service hosting the optimizer that is requested in some tests was not active.
I'll remove this test to avoid more problems of this type in the future.

@rosogon Please do the following, goto step 2, add a node, go to step 3, back to step 2 remove a node, add a node. You can't remove this one. Could you check it?

Nice, now it works! Just squash it before merge. +1

Squashed. Merging


Failed on Xcode7.2.1

This is my first time try to use the plugin.
The steps I have proceed,

download the latest plugin Polychromatic.xcplugin.zip from "release"
create a new directory
close Xcode and reopen it.

$ls
Polychromatic.xcplugin/

$pwd
/Users/heefan/Library/Application Support/Developer/Shared/Xcode/Plug-ins

I cannot find anything about Polychromatic on my Fonts & Color
I am using Xcode 7.2.1
May I know what's the reason and how to fix? Thanks

Does not works for me too. It appears on Fonts & Color but no nightlight on variables


Improve file clean-up task

Run the clean-up task on startup.
Also remove "abandoned" task directories. Task directory are usually removed automatically after a task has finished. But for example when the server is restarted while a task is being processed, the directory might not get deleted. The clean-up process will remove these directories.

fine

Thanks for the review, Jesse.

Can it be a performance improvement for #312?

seems unlikely to me.  #312 seems more like a locking and threading problem to me.


[SAI] Refactor libsai and add propper logger

Add proper logger class for logging inside libsai, for now data will be logged into stderr and syslog, later on this could be changed to select only one output. Logger is simpler version of sonic-swss-common/common/logger.
Many changes are done in refactoring:

internal generated functions are marked static
whitespace on line ends are removed
compiler warning flags are added
unnecessary includes are removed
DASH_LOG_ENTER macro added on every function
return proper sai statuses instead of 0/-1
api implementations are prefixed dash_ and marked as DASH_PRIVATE to not export outside library
extern C added to sai.h to make proper C bindings instead of C++
make proper sai api call using sai_api_query for vnet_out.cpp test, since previous one does not compile after moving functions private
prefix macros using DASH_
change fprintf stderr to new DASH logger
return SAI_STATUS_NOT_SUPPORTED instead of SAI_STATUS_SUCCESS on sai_*get api when attribute is not implemented
return not implemented on global sai_* apis when api is actually not implemented
mutex will use lock_guard instead of manual lock/unlock

@marian-pritsak @chrispsommers @Pterosaur @lguohan kindly please review

if sai_get_switch_attribute returns SAI_STATUS_NOT_SUPPORTED for unknown attribute, ptf tests skips and goes to wait forever
saidashacl.SaiThriftDashAclTest ... skipped 'SkipTest on expected error. sai_thrift_get_switch_attribute with errorcode: -2 error: sai_thrift_exception(status=-2)'
----------------------------------------------------------------------
Ran 1 test in 0.005s
OK (skipped=1)

@Pterosaur @marian-pritsak @chrispsommers please help fix that, if attribute is not supported then those apis should return not supported, returning success will cause for client to read some garbage from memory

@prsunny for review


generalize path so it can read both windows and unix

On linux (in my case ubuntu) netcore cannot find folder path because it refer to unknown folder in unix, try to replace "" with "/"  works,

In that case, do you see an issue here as well? - https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/src/Bootstrapper/Extensions/ConfigureHostBuilderExtensions.cs

@ geekz-reno En ese caso, ¿ve un problema aquí también? - https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/src/Bootstrapper/Extensions/ConfigureHostBuilderExtensions.cs

In that case there should be no problem, since apparently windows does recognize both ´ / ´ and ´ \ ´. well that was what I tested, even with windows explorer it can be validated

As an alternative there is also: https://docs.microsoft.com/es-es/dotnet/api/system.io.path.directoryseparatorchar?view=net-6.0


How to name sprites from spritesheet

Hi there,
I can't see information in the doc about creating sprites from a spritesheet (to use as separate tiles in level() for example). All the examples use distinct image files, and the only mention about splitting a spritesheet is related to animation (anim, from, too). What's the right way to do it ?
Many thanks for your help !

I'm just another user but looking at the docs:
https://kaboomjs.com/#loadSprite
loadSprite("froggy", "https://replit.com/public/images/mark.png");

// slice a spritesheet and add anims manually
loadSprite("froggy", "froggy.png", {
    sliceX: 4,
    sliceY: 1,
    anims: {
        run: {
            from: 0,
            to: 3,
        },
        jump: {
            from: 3,
            to: 3,
        },
    },
});```
Returns a promise with this structure:
![image](https://user-images.githubusercontent.com/8691/120112133-71ae4b80-c129-11eb-9fef-6ce7b846f10a.png)

So you assign the loadSprite to a var then reference the sliced sprite element you want via the frames array.

Good idea, but I think LoadSprite() expects an src. Assigning a frame to a var doesn't solve the issue (or I'm missing something). A good option would be to define those sprites directly while loading the Tilesheet, via a "frames" object (like "anims") but I'm not convinced loadSprite allows this syntax.

You reference a frame from a sprite when you add it. See this example:
https://observablehq.com/@triptych/rpg-tiles-scatter-art-with-kaboom
 for(let i = 0; i< 112; i++){
      K.add([
        K.sprite("rpgtiles", {
          frame: i
        }),
        K.scale(4),
        K.pos(K.rand(0,420), K.rand(0,420))
      ])
    }

You could create an enum for the frame: [val] with names for the sprites but underneath that would be the numbers in the sheet.

Mmmh, sorry I still can't get it. What's wrong with this syntax ?
`kaboom({
global: true,
fullscreen: true,
scale: 2,
debug: true,
clearColor: [0, 0, 0, 1],
});
loadRoot("../assets/images/");
// chargement des tuiles
const tuiles = loadSprite("tuiles", "tuiles.png", {
sliceX: 13,
sliceY: 6
});
scene("accueil", () => {
const carte = addLevel([
	"=====",
	"  *  ",
	"  *  ",
	"  x  ",
	"  *  ",
	"  *  "
], {
	width: 5,
	height: 6,
	pos: vec2(0, 0),
	"=": [
		sprite("tuiles",{
			frame : 5
		}),
		solid(),
		"block",
	],
	"*": [
		sprite("tuiles",{
			frame : 17
		}),
		solid(),
		"block",
	],
	"x": [
		sprite("tuiles",{
			frame : 61
		}),
		solid(),
		"block",
	],
	" ": [
		sprite("tuiles",{
			frame : 12
		}),
		solid(),
		"block",
	]
});

});
start("accueil");`


New release (2.5?)

Hi!
Looking at the code in the repo, it seems that the latest release (v2.5?) is not packaged as a zip for release?

I've seen that the .zip file is available in the repo; just not tagged as a release:
https://github.com/jaroslawhartman/TimeZones-Alfred/blob/master/TimeZones-v2.5.zip

Indeed, somehow I missed it.
Released.


ROCm landing page reorg

edit index.md to reorg tiles and update Intro
edit _toc.yml.in to reflect new order
add Concepts banner image

Moved to 6.2


Rust: remove direct dependency on the libc crate

Almost all uses of the libc crate were to import types that the standard library already provides, e.g. c_void, c_char, etc. We can import those from std::ffi. In some places they were being imported from std::os::raw, so I changed those imports as well, as they are just type aliases for the definitions in std::ffi anyways.
One nontrivial case where libc was being used was inside cb_{free_}flag_conditions_for_semantic_flag_group, which used libc::{malloc, free}. This was changed to use std::alloc::{alloc, dealloc} and required some hacky layout calculations in order to smuggle the length of the allocated array across the FFI boundary.
Getting rid of this hack would require for the Core API to change such that a count: usize parameter is passed to cb_free_flag_conditions_for_semantic_flag_group (and ideally also to cb_free_register_list) so that no smuggling would be required and we could just call Box::from_raw(ptr::slice_from_raw_parts_mut(conds, count)) and be done. I'll open a separate issue for that.

Rebased on the newest dev, and ready for re-review.

Before I resolve the new conflicts, I'd love for #5764 to be merged so I could rebase on top.

This PR is superseded by rust_break_everything.
Specifically https://github.com/Vector35/binaryninja-api/commit/ec43516f6c9eb0482e13626bb205c149d75d1bf4 and https://github.com/Vector35/binaryninja-api/commit/ce5995c3b8c8765811521d9d9f0eadcf3b601415 (Warning: this branch will rewrite history, these commits may not be accurate later)


How can I send a tip to someone who doesn't own an ETH address?

Hello,
I'd like to send an ETH tip... but 99.99% of people doesn't own an ETH address.
How can I do with myetherwallet.com?
Is it possible to obtain a URL link (to send to a recipient) from myetherwallet.com?
When I used Bitcoins (in an other life) it was possible with ChangeTip, GoCoin, Blockchain.info, Coinbase.... but it was centralized...
I think the possibility to send Ethers to someone who doesn't own a wallet (and doesn't know what is Ethereum) would be very appealing and a great way to spread ETH.
Thanks in advance for your answer.
PS : with https://ethereumwallet.com , I can send a link (with a password) to a funded wallet, but it's not really connected to only one wallet...
https://ethereumwallet.com/beta/index.html#dgDPW3BDrtalhWYnyhSq5DwMjge3wwE

@tayvano @kvhnuke
Please, answer my strange question.
Thanks.

As we do not have servers or store any information this is not possible. You would have to create a wallet for the person and send it to them.

Also... ChangeTip is dead. The others you listed are not tip bots. I guess Coinbase allows an email address (I think?), but don't they also do ETH...?

Theoretically we can create new wallet, send eth there, give back qr-code or something with pkey+flag that it is a tip key. Then create another wallet when onboarding users with tips.

@tayvano
Hello,
perhaps with this?   ;)
https://www.reddit.com/r/ethereum/comments/6iqjaj/myetherwallet_contest_design_our_ether_cards_and/

Closing this issue. Don't hesitate to reopen if needed.


graceful handling of expired aws sso credentials

I'm closing the following in favor of this issue:
https://github.com/turbot/steampipe/issues/1103
https://github.com/turbot/steampipe-plugin-aws/issues/811
The story so far:

When SSO credentials have expired, Steampipe takes several minutes to report:

Error: InvalidClientTokenId: The security token included in the request is invalid
        status code: 403, request id: bf386d24-c89a-4880-8db2-16a0c72942bb (SQLSTATE HV000)

@dbmurphy has kindly contributed https://github.com/turbot/steampipe-plugin-aws/pull/847 which aims to automate commands that would otherwise be run manually:

aws sts get-caller-identity --profile PROFILE # check if creds are valid

aws sso login --profile SSO-ReadOnly-605...981 # renew if not

Per https://github.com/turbot/steampipe-plugin-aws/pull/847, there may or may not be a way to automate this flow if the user's setup doesn't accommodate a browser launch.

Even when aws sts get-caller-identity --profile PROFILE reports success, if ~/.aws/config looks like this:

[profile SSO-ReadOnly-605...981]
sso_start_url = https://d-9a672b0642.awsapps.com/start
sso_region = us-east-2
sso_account_id = 605...3981
aws_access_key_id="ASIA...2ORLV"
aws_secret_access_key="ATXO...yE49"
aws_session_token="IQo..."
sso_role_name=SSO-ReadOnly

i.e., includes access_key/secret_key/secret_token from the command line or programmatic access link on the SSO start page, then those invalid credentials evidently override and there is again a several-minute timeout before InvalidClientTokenId is reported.
@cbruno10, @dbmurphy are there any other pieces of this puzzle to include here?

Update/clarification:

When SSO credentials have expired, Steampipe takes several minutes to report

That's only true if ~/.aws/config has explicit credentials that are expired. Otherwise we promptly report

Error: SSOProviderInvalidToken: the SSO session has expired or is invalid

There's no reason to use explicit credentials, though, and we don't say anything about them here, so unless there's another way to trigger a long delay, I think that the original issue is moot.
Ways to improve:

A more specific message: "Error: SSOProviderInvalidToken: the SSO session has expired or is invalid. Please run aws sso login --profile PROFILE to reauthorize"

Automatically kick off the reauth flow (as https://github.com/turbot/steampipe-plugin-aws/pull/847 aims to do).


Tika server never ends, consuming RAM after usage

After processing all the PDFs I needed, I noticed that the Tika server was still up and running in the background, eating a lot of RAM (usually between 1~1.8gb after having processed ~4000 PDFs).
ps -o pid,rss,command 4017
  PID   RSS COMMAND
 4017 1252128 java -cp /tmp/tika-server.jar org.apache.tika.server.TikaServerCli --port 9998 --host localhost

Is there a way to end the server after doing everything needed, through the library itself? If not, a tika.stopVM() would be something interesting to have.

there isn't a stopVM() right now, but I agree, would be great. If you can send a PR @igormp that would be awesome.

Hi @chrismattmann ,
I'm also facing this issue, It would be great if you can resolve ASAP
Thanks

I created a draft PR that tries to solve that. I'll try to give it a better look and finish it as soon as I can.


bridges-python should not have a tests directory

All tests should be centralized in bridges-client-testing

Resolved in 77b59a9299b67f4e74de01cc31c8478c57f064ef


Fix the diffs on Istio's VirtualService always appear after deploying

What this PR does / why we need it:
With the current implementation of K8S_TRAFFIC_ROUTING stage, it is also appending the zero-weight destinations into the VirtualService manifest. That causes the diffs after deploying when those destinations were not specified by users.
This pull request switches to directly use the manifest defined in the target commit when the primary weight is 100% to avoid those diffs.
Which issue(s) this PR fixes:
Fixes #1492
Does this PR introduce a user-facing change?:

NONE

👍
/lgtm

👍
/lgtm

go bold 🚀
/approve

go bold 🚀
/approve


Existence of non-existing recursive functions

TLAPS can prove the existence of invalid recursive functions. This leads to inconsistent logic.
DefSilly(Silly, n) == ~Silly[n]
Silly[n \in Nat] == DefSilly(Silly,n)

THEOREM BuggyTheorem == Silly = [n \in Nat |-> DefSilly(Silly,n)] BY DEF Silly
THEOREM FALSE
  <1> Silly[0] = ~Silly[0] BY BuggyTheorem DEF DefSilly
  <1> QED OBVIOUS

Probably related: I can prove the continuity of arbitrary operators assuming Seq is continuous (which it should be unless there is a bug in my proof of it). Here is the corresponding theorem
THEOREM ASSUME NEW CONSTANT Next(_),
               NEW CONSTANT f,
               f = [n \in Nat |-> f[n]] ,
               \A n \in Nat : f[n] \subseteq f[n + 1] ,
               Seq(UNION {f[n] : n \in Nat}) = UNION {Seq(f[n]) : n \in Nat}
        PROVE  UNION {Next(f[n]) : n \in Nat} = Next(UNION {f[n] : n \in Nat})
        OBVIOUS

I just saw this report open - on my machine with the latest development version, I can not prove BuggyTheorem although I have not check if I can reproduce the issue on an older release version.
I can indeed prove the second theorem about Seq on my machine. It is proved by the SMT backend and I could veryify the generated smt file with a current z3-4.8.17 (within about one minute) outside of TLAPS.
tlapm_50fbc0.smt.txt
I have not looked into the file / TLA+ theorem statement yet to check where things turn out unexpected though.


Default settings button

Maybe we can add a (Switch to) default button in the settings? Mainly for newbie users who try stuff, while having no idea what everything means or does and after that want to switch back to the defaults
two options:
toggle switch, so you can always see if you are running the defaults or not

or just a default button, which resets the settings to the defaults when you click it

or maybe another option as well

Cool ideal. I think a button could fit better.

ACK for botton.

Restore defaults button... ACK... not priority.

This good idea is becoming even better since more advanced settings have been added.


KUDO looks for update plan in wrong OperatorVersion

Steps:

Install KUDO Kafka 1.2.0 (current released)
kubectl kudo install kafka   --instance=kafka   --namespace=kudo-kafka   -p ZOOKEEPER_URI=$ZOOKEEPER_URI   -p BROKER_CPUS=200m   -p BROKER_COUNT=3   -p BROKER_MEM=800m   -p DISK_SIZE=10Gi   -p MIN_INSYNC_REPLICAS=1   -p NUM_IO_THREADS=10   -p NUM_NETWORK_THREADS=5

Plan(s) for "kafka" in namespace "kudo-kafka":
.
└── kafka (Operator-Version: "kafka-1.2.0" Active-Plan: "deploy")
    ├── Plan deploy (serial strategy) [COMPLETE], last updated 2020-04-21 13:59:50
    │   └── Phase deploy-kafka (serial strategy) [COMPLETE]
    │       └── Step deploy [COMPLETE]
    ├── Plan mirrormaker (serial strategy) [NOT ACTIVE]
    │   └── Phase deploy-mirror-maker (serial strategy) [NOT ACTIVE]
    │       └── Step deploy [NOT ACTIVE]
    └── Plan not-allowed (serial strategy) [NOT ACTIVE]
        └── Phase not-allowed (serial strategy) [NOT ACTIVE]
            └── Step not-allowed [NOT ACTIVE]

Upgrade kafka to local master 1.2.1

kubectl kudo install ./repository/kafka/operator/ -n kudo-kafka --operator-version=1.2.1 --skip-instance
kubectl kudo upgrade ./repository/kafka/operator/ --instance=kafka --operator-version=1.2.1 -n kudo-kafka
Plan(s) for "kafka" in namespace "kudo-kafka":
.
└── kafka (Operator-Version: "kafka-1.2.1" Active-Plan: "deploy")
    ├── Plan cruise-control (serial strategy) [NOT ACTIVE]
    │   └── Phase cruise-addon (serial strategy) [NOT ACTIVE]
    │       └── Step deploy-cruise-control [NOT ACTIVE]
    ├── Plan deploy (serial strategy) [COMPLETE], last updated 2020-04-21 13:59:50
    │   └── Phase deploy-kafka (serial strategy) [COMPLETE]
    │       └── Step deploy [COMPLETE]
    ├── Plan external-access (serial strategy) [NOT ACTIVE]
    │   └── Phase resources (serial strategy) [NOT ACTIVE]
    │       └── Step deploy [NOT ACTIVE]
    ├── Plan kafka-connect (serial strategy) [NOT ACTIVE]
    │   └── Phase deploy-kafka-connect (serial strategy) [NOT ACTIVE]
    │       ├── Step deploy [NOT ACTIVE]
    │       └── Step setup [NOT ACTIVE]
    ├── Plan mirrormaker (serial strategy) [NOT ACTIVE]
    │   └── Phase app (serial strategy) [NOT ACTIVE]
    │       └── Step deploy [NOT ACTIVE]
    ├── Plan not-allowed (serial strategy) [NOT ACTIVE]
    │   └── Phase not-allowed (serial strategy) [NOT ACTIVE]
    │       └── Step not-allowed [NOT ACTIVE]
    ├── Plan service-monitor (serial strategy) [NOT ACTIVE]
    │   └── Phase enable-service-monitor (serial strategy) [NOT ACTIVE]
    │       └── Step deploy [NOT ACTIVE]
    ├── Plan update (serial strategy) [NOT ACTIVE]
    │   └── Phase app (serial strategy) [NOT ACTIVE]
    │       ├── Step conf [NOT ACTIVE]
    │       ├── Step svc [NOT ACTIVE]
    │       └── Step sts [NOT ACTIVE]
    └── Plan user-workload (serial strategy) [NOT ACTIVE]
        └── Phase workload (serial strategy) [NOT ACTIVE]
            └── Step toggle-workload [NOT ACTIVE]

KUDO manager logs:
2020/04/21 08:39:41 InstanceController: Received Reconcile request for instance "kafka"
2020/04/21 08:39:41 Instance: instance kudo-kafka/kafka was upgraded from kafka-1.2.0 to kafka-1.2.1 operatorVersion
2020/04/21 08:39:41 InstanceController: Inferred new execution plan 'update' from instance kudo-kafka/kafka state
2020/04/21 08:39:41 InstanceController: Going to start execution of plan 'update' on instance kudo-kafka/kafka
2020/04/21 08:39:41 InstanceController: Error during execution: failed to reset plan status for instance kudo-kafka/kafka: failed to find planStatus for the plan 'update'

When upgrading it seems that the KUDO is trying to execute an update plan in 1.2.0 rather than executing the one in 1.2.1, even if the Operator Version 1.2.1 exists.
The issue can be resolved by renaming the update plan in 1.2.1 to something else like update-instance.
KUDO version used: 0.11.0

I just checked and at least version 1.15 has this issue fixed


CACHE_FULL_ARRAY sets pointer that is not cleared

Reported by ansley b manke on 25 Jun 2015 21:22 UTC
The FMRC additions save the 2D time step array in c memory cache, in a call to routine CACHE_FULL_ARRAY.  This sets a pointer in  ds_var_c_cache_ptr.
In the benchmarks, bn_fmrc.jnl sets a pointer in that array which is not cleared. On a CANCEL DATA/ALL, ferret crashes in the benchmarks.
 This seems to have fixed the issue; the benchmarks run correctly (The dataset gt4d011 is used in the new benchmark script bn_annotate.jnl)


Add stack support

@codygman Can stack files be generated from the .cabal file?  If so, I'd rather not include this in the source.

Yes, they can be.
On Oct 12, 2015 11:45 AM, "John Wiegley"<EMAIL_ADDRESS>wrote:

@codygman https://github.com/codygman Can stack files be generated from
the .cabal file? If so, I'd rather not include this in the source.
—
Reply to this email directly or view it on GitHub
https://github.com/jwiegley/github/pull/124#issuecomment-147457963.

Ok.  Since I'm not a stack user, I won't notice when this file gets out of date, which will annoy users who expect it to work when they see it coming from Git, so I'll let users generate their own Stack files as needed.


AzureWebJobsScriptRoot variable is not defined on Azure Functions, but defined locally

AzureWebJobsScriptRoot variable is not defined on Azure Functions. The code below returns no value.
System.Environment.GetEnvironmentVariables(EnvironmentVariableTarget.Process)["AzureWebJobsScriptRoot"];
Is this a bug with Azure Functions?
If so, what is an alternative solution?
Before the issue is fixed by Microsoft, can this variable, AzureWebJobsScriptRoot, be defined myself to "%HOME%\site\wwwroot" on Azure?

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

ID: 18aa54fd-3aa1-37c5-925c-51a0195b1030
Version Independent ID: 60198016-1ea9-e7ae-b00b-2c665d5ad8ca
Content: App settings reference for Azure Functions
Content Source: articles/azure-functions/functions-app-settings.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hi @PingPongSet Thank you for your feedback! We will review and update as appropriate.

@PingPongSet We are working with Product group on this and will share the findings soon.

If you configure a function app with a different value for AzureWebJobsScriptRoot, then the functions host should honor that new value. For example, if you set AzureWebJobsScriptRoot = D:\home\site\wwwroot\foo then the functions host would look for a host.json file and function directories in the D:\home\site\wwwroot\foo location.
By default, this environment variable is not set. So it is expected that if you did not set it yourself, then System.Environment.GetEnvironmentVariable("AzureWebJobsScriptRoot") will return null.
Be aware that if you modify this setting, other components like the portal, visual studio, visual studio code, etc will not be aware of setting and will deploy your code to the normal default location. If you want to customize this setting, its up to you to make sure the application code is deployed to the right location.

@paulbatum,
Thanks for your reply.
First, can you please confirm the path where Functions apps are installed is "D:\home\site\wwwroot"? and the D drive and folder path will not change, or there is no plan to change.
Second, please rectify the doc below, as it is contractory to what you said. This will make it official.
" In a function app, the default is %HOME%\site\wwwroot."
https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#azurewebjobsscriptroo
Third, Can you explain is it a bug with Azure Functions or an error with the document?

Yes. You can confirm this yourself. Just make a new function app in VS, or the portal, or anywhere really, and deploy. Then go to the kudu console (platform features -> Advanced tools (kudu)) and look at the file system. Or use the console option (platform features -> console).

Not sure what doc edit you are asking for? The doc correctly states what the default is if the user does not specify the AzureWebJobsScriptRoot setting.

Sorry, what bug?

One final note. If you're looking to discover the root path through application code, you can do it by having your function take an ExecutionContext and then access FunctionAppDirectory e.g.
        public static void Run([TimerTrigger("*/5 * * * * *")]TimerInfo myTimer, ExecutionContext executionContext, ILogger log)
        {
            log.LogInformation(executionContext.FunctionAppDirectory);
            log.LogInformation(executionContext.FunctionDirectory);
        }

@PingPongSet Just following up here.. Hope previous comment helps.Do let us know if you have any further queries

Don't you think this is a bug with Azure Function? The variable returns correct value locally, but it is NOT defined on Azure Function when it is documented its default value of the document: https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#azurewebjobsscriptroo

@PingPongSet Behavior is expected as Paul has already share the details regarding this.

Again, the documentation and implementation of this variable is an issue/bug.
I don't want to spend more time on this now.

I have reread your post. In it you say:

The code below returns no value.

System.Environment.GetEnvironmentVariables(EnvironmentVariableTarget.Process)["AzureWebJobsScriptRoot"];

Is this a bug with Azure Functions?

The answer is no. The expected behavior is that code would return null unless you add an app setting with name AzureWebJobsScriptRoot.
When the documentation says In a function app, the default is %HOME%\site\wwwroot it means that if you do not specify this environment variable, the functions host will use %HOME%\site\wwwroot.
It does not mean that running the code System.Environment.GetEnvironmentVariable("AzureWebJobsScriptRoot") will return %HOME%\site\wwwroot
This is true for many of the settings listed on that same doc page (e.g AzureWebJobsDisableHomepage, AzureWebJobsDotNetReleaseCompilation).

@DixitArora-MSFT I think this issue can be closed.

@paulbatum - it doesn't seem like Azure is honoring the AzureWebJobsScriptRoot setting. If I set it to something like D:\home\site\wwwroot\foo, it is still loading functions from D:\home\site\wwwroot (even though I have host.json and function folders under D:\home\site\wwwroot\foo).
The setting seems to work correctly in local environments, but not on Azure.

Ahh, thank you. I did not realize that it works this way (perhaps it changed at some point), but it does look consistent with this implementation:
https://github.com/Azure/azure-functions-host/blob/690321b72c45f61f9d665ff8c23f980bc31c1c85/src/WebJobs.Script.WebHost/Configuration/WebScriptHostConfigurationSource.cs#L42-L63
Note specifically that the AzureWebJobsScriptRoot setting is only used locally. Perhaps this is what @PingPongSet was referring to and I misunderstood?
I think it would make sense to remove the documentation for this setting, given that it is not used in Azure.
@DixitArora-MSFT @ggailey777 can we reopen this, and use this issue to track the doc update?

@paulbatum - thank you for the clarification! Would it make sense to create a separate issue asking to make AzureWebJobsScriptRoot setting work in Azure too? This could be very useful in some scenarios I'm working on.

You could file a new issue in https://github.com/Azure/azure-functions-host requesting this feature.
Thinking about it a little more, I am starting to have an idea about why this setting doesn't work in Azure. Lets say you deploy a function app with two different folders, each with a different set of functions in them, and you are updating this app setting to switch between them. We would need to make sure that every time you change this app setting, our scale infrastructure discovers which set of functions are active. I don't think we have a reliable way to make sure that happens today. There is an explicit 'synctriggers' ARM action you can call, but customers changing this setting that don't call this action would sometimes find that their function does not scale as expected.
Please include this observation in the issue, if you file it.

The linked PR removes the AzureWebJobsScriptRoot setting. We can add this back if 1) it's needed for Linux contains or 2) the proposed feature is added.

We should remove this setting in the generated Dockerfile.  It really confused users(like me) to think we can change the ENV to some other directory.


Documenting deploying Fleet on Kubernetes

Included in this PR are new docs on installing Fleet on Kubernetes as well as a deployment file, a load balancer service file, and a database migration job file.

One thing that k8s misses is the log output. You could create persistent disks for fleet, but that's not great.
My PR for oklog would be an example of how to save logs to k8s, otherwise they just kind of die with the pod.


Expose status code and body of the response

Expose status code and body of the response within the parser.
This is useful as otherwise to get this information we'd have to do:
result.instance_variable_get(:@response).status
Which is quite dirty.
In my particular case I need access to this information as I like to log all API requests/responses and query on them later.

Thanks for the contribution


Update $MARS Token Address (Needs manual merge)

I'm submitting a ...
[ ] bug report
[x ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Need to manually merge PR in order to update Token address, previous token was created without decimals, new token has 9 decimals.

Update PR: https://github.com/solana-labs/token-list/pull/21224
Original creation PR: https://github.com/solana-labs/token-list/pull/20214/files

Other information
Goal is to update token decimals, so I had to create a new one to replace existing one.

merged


Fixes to callback plots

plot_histogram: add density=True in call to np.histogram in order to get density values and not frequencies;
plot_sample: input precipitation currently does not use the same special colormap as the target/pred precipitation sample, which is fixed in this PR
plot_spectrum: add min_delta argument to the PlotSpectrum object to define a lower bound on the delta latitude value used to build the numpy array used for computation of power spectra. The current value is 0.0003 deg, which corresponds to 1km.

Fixes #179

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

@gabrieloks any news on this PR? I think all of the tests should pass now, I updated the code with develop today.

@gabrieloks any news on this PR? I think all of the tests should pass now, I updated the code with develop today.

I plan to test it later today :). I also have some doubts about hard-coding 0.0003 into the code. I think this should be specified in the config files


fix(schedules): autofill not assigning part 2 in living as christians part

:tada: This PR is included in version 2.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add sleep parameter to job plugins worker container

Without this, the container exits after submitting results
and leads to the pod being shut down before we can query
the logs. In some plugins (like e2e) it isn't that big of
an issue, but for plugins that don't separately save their
logs or if we want to debug the worker container, it is
vital.
Fixes #1415
Signed-off-by: John Schnake<EMAIL_ADDRESS>

Timeouts on the real integration runs now. Debugging; may be some broken cleanup that keeps the aggregator running since the plugins didnt exit themselves.

Ah! apparently, when the change went in we added the flag to the sonobuoy worker node command and not the global one that the jobs use. So the flag was missing, the worker would fail to start right, results would never get sent to the aggregator, hence the hang.

Changing this to draft since I had gone such a rabbit hole here; trying just the UID change here https://github.com/vmware-tanzu/sonobuoy/pull/1425 and moved a bit of a dev helper to #1424 . I also re-remembered that I couldn't remove the bash-sleeps from the daemonsets (see notes on #1300 )

I dont know that this is necessary; need to check but I think the pod enters the terminated state but we can still get the logs.
If we keep the worker alive arbitrarily then it reads as NotReady since one container is terminated and the other not. That seems more confusing.

Confirmed ^ is explicitly true; closing.


flyfile.js or Flyfile.js?

https://github.com/bucaran/fly/tree/master/examples
Several folders, mostly near the bottom.
I'd prefer a standardized lowercase.

As of 1.0, only lowercase is accepted.
Thanks for pointing out the examples. Git didn't register the de-capitalization as a rename event. :+1:

We used to support both formats, but decided to go with flyfile.js only when 1.0 landed.
See https://github.com/bucaran/fly/pull/147

Thanks guys!


Calculation doesn' work after upgrade

Hi, I had this calculation (just easy difference between two integers):
'%{cf_94}'.to_i - '%{cf_142}'.to_i
Just note about to_i - its there because if custom field was in undefined state, the calculation returned an error, so this is converting undef > 0
There is a new syntax so I tried this:

'cfs[cf_94]'.to_i - 'cfs[cf_142]'.to_i - returns zero
cfs[cf_94].to_i - cfs[cf_142].to_i - cant save, returs: Formula undefined local variable or method `cf_94' for #Issue:0x007f8173524e90
cfs[cf_94] - even this returns error: Formula undefined local variable or method `cf_94' for Issue:0x0000000419cd38

Thanx for help!

Stupid, got it!!! ssry!!!
cfs[cf_94] > cfs[94]

btw is the .to_i still necessary? Thanx!

Hi. .to_i is still necessary. Because cf value could be nil.

Thanx a lot!


ImportError: No module named pgoapi.exceptions

.. everytime an new issue

Same here!
On  pip install -r requirements.txt from the latest master
I get
Cloning https://github.com/keyphact/pgoapi.git (to 249d3be7fbbdabc7f9adea17cbc899d6549e47a2) to ./src/pgoapi
Could not find a tag or branch '249d3be7fbbdabc7f9adea17cbc899d6549e47a2', assuming commit.

please close this and use search this has been asked noumerous times. Also use the freaking template that is profided when creating an issue....

In this particular case, pip install -r requirements.txt will install all listed package versions to the exact specified version. Most of them work just fine as pip should behave, as they are managed packages of the pypi. The exception here is the pgoapi package, listed on line 3. It is not a pypi package. It is a github repository. Pip handle it badly. In occasions you have to remove the whole repository cloned by pip (rm -rf pgoapi) and do pip install again, i.e. pip install -r requirements.txt
This is a great opportunity to learn python!


Spanish only works for es_CU and es_ES

Spanish localization only works for es_CU and es_ES for the GUI.

We need to test the solution we discussed.

I'm reviewing this problem. Try to implement a more maintainable solution for future additional tranlations to other languages. Work in progress...


Allow for Proxy Configuration

Describe the feature
Allow connecting through a proxy server and configure proxy server settings (proxy host, port, and username/password).
Is your Feature Request related to a problem?
Our org is behind a proxy and this feature will allow us to use aws kotlin sdk
Proposed Solution
No response
Describe alternative solutions or features you've considered
AWS Java SDK support proxy configuration.
Acknowledge

[X] I may be able to implement this feature request

AWS Kotlin SDK version used
v0.13.1-beta
Platform (JVM/JS/Native)
JVM
Operating System and version
Linux

Hi @wasifaleem, thanks for your feature request.
We have existing issue smithy-kotlin#494 to track adding proxy support and configuration. Please feel free to add a 👍 reaction to that issue to help us prioritize.
Resolving in favor of smithy-kotlin#494.


Test object mode

First off: Thanks for the package!
I hit what I thought was a bug while using in object mode.  Turns out it was on my end.  Figures.
I managed to write a test before figuring that out.  So it goes.
If you'd like the test, here it is!

LGTM, thanks for sharing your test.

great contribution thanks!


Dynamically initialize grid storage

Previously Alacritty has initialized all lines in the buffer as soon as
it is started. This had the effect that terminals which aren't making
use of the scrollback buffer yet, would still consume large amounts of
memory, potentially even freezing the system at startup.
To resolve this problem, the grid is now dynamically resized in chunks
of 1000 rows. The initial size is just the visible area itself, then
every time lines are written to the terminal emulator, the grid storage
is grown when required.
With the worst-case scenario of having 100_000 lines scrollback
configured, this change improves startup performance at the cost of
scrolling performance.
On my machine the startup changes from ~0.3 to ~0.2 seconds.
The scrolling performance with large throughput is not affected, however
it is slowed down when the number of lines scrolled are close to the
100_000 configured as scrollback. The most taxing benchmark I've found
for this was running yes | dd count=500 > 500.txt (note the relatively
small file size). This will cause a slowdown on the first run from 0.05s
to 0.15s. While this is significant, it lines up with the time saved at
startup.
This fixes #1236.
Edit: I have not mentioned the memory difference at startup in the
commit message, so here's the comparison for 100k lines of scrollback:

Master
PR

571M
74K

Also fixes #977


Split-Pane with 'backgroundImage' set, not showing all background images

Environment
Microsoft Windows [Version 10.0.18363.836]
Windows Terminal version: 1.0.1401.0

Steps to reproduce

Set up a profile to have a background image
Close all terminals
Open the terminal via wt split-pane, or wt -p "Command Prompt" ; split-pane -p "Windows PowerShell"

Expected behavior
Terminal to open with both background images shown
Actual behavior
Only a single pane shows the background image.
wt split-pane;split-pane also works correctly, and shows the expected behavior.

... which profile has the background image?

I had it on my default (Windows Powershell 5.1) and Command Prompt.  I get the same behavior if I do wt -p "Command Prompt" ; split-pane -p "Command Prompt".

These are the relevant sections of my settings:
    "profiles":
    {
        "defaults":
        {
            "fontFace": "FiraCode",
            "colorScheme": "Darkly",
            "cursorShape": "filledBox",
            "useAcrylic": true,
            "acrylicOpacity": 0.9,
            "padding": 3,
            "historySize": 32767
        },
        "list":
        [
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "PowerShell 5.1",
                "commandline": "powershell.exe",
                "colorScheme": "Darkly Powershell",
                "hidden": false,
                "backgroundImage": "C:/Windows/Web/win.png",
                "backgroundImageOpacity": 0.05
            },
            {
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.scale-100.png",
                "name": "Command Prompt",
                "commandline": "cmd.exe",
                "hidden": false,
                "backgroundImage": "C:/Windows/Web/win.png",
                "backgroundImageOpacity": 0.05
            }

I tried turning off backgroundOpacity, and removing all the defaults, the issue persisted.

Wait is the commandline you're using wt -p "Command Prompt" ; split-pane -p "Windows PowerShell" or wt -p "Command Prompt" ; split-pane -p "PowerShell 5.1"?

They actually give the same result.  The Command Prompt side shows no background image, the PowerShell side shows the background image.
I was using wt -p "Command Prompt" ; split-pane -p "Windows PowerShell", but I see why you ask, my profile is named PowerShell 5.1.  I don't have a profile named, "Windows PowerShell", so it looks like it is loading the default profile.  Regardless, wt split-pane produces the same issue.
I can also reproduce the issue with wt -p "Command Prompt"; split-pane -p "Command Prompt"

This issue seems to occur randomly, i met a few times, maybe the backgroup image too large (~350KB) and load timeout?
I run Windows Terminal 1.0.1401.0 on Windows 10.0.19041.329, Using: $env:comspec /c wt new-tab -p Debian; split-pane -p "PowerShell Core" -V
My profile settings:
    "profiles": {
        "defaults": {
            "fontFace": "FiraCode Nerd Font Mono",
            "fontSize": 12,
            "acrylicOpacity": 1.0,
            "useAcrylic": true,
            "cursorShape": "underscore",
            "backgroundImage":"%USERPROFILE%\\Pictures\\wt_bg.jpg",
            "backgroundImageOpacity" : 0.3,
            "backgroundImageStretchMode": "uniformToFill",
            "backgroundImageAlignment": "center",
            "colorScheme": "One Half Dark"
        },
        "list": [
            {
                "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
                "name": "PowerShell Core",
                "commandline": "pwsh.exe -NoLogo",
                "hidden": false
                // "source": "Windows.Terminal.PowershellCore"
            },
            {
                "guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
                "name": "Debian",
                "commandline": "wsl.exe ~ -d Debian",
                "hidden": false
                // "startingDirectory": "%USERPROFILE%/wslhome"
                // "source": "Windows.Terminal.Wsl"
            },
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false
            },
            {
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "cmd",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure",
                "hidden": false
            }
        ]
    },

The image I'm using is 125KB.  Its dimensions are 7111x4000. It is a png, with transparency.

By any chance, does resizing the window a little bit cause the image to load? I'm honestly just grasping at straws at this point. Does opening more that two panes with the image work?
I've tried locally with a profile with a background gif to no avail, so maybe the image size has something to do with it, but honestly I've got no ideas.

Resizing or maximizing shows the background image.
The issue only happens on two panes. If I have three or more panes, then all background images show.
I changed the background image to a 46KB jpg (1920x1080), and I still have the issue.
I changed the background image to a 496KB gif (320x180), and I did not have the issue.

Hey we've had piles of changes to the codebase over the last 18 months since this was filed - any chance you're still seeing this? This seems like the kind of thing that might have been fixed by a refactor along the way.

Microsoft Windows [Version 10.0.19043.1526]
Windows Terminal Version: 1.11.3471.0
wt split-pane still does not work.
wt -p "Command Prompt" ; split-pane -p "Command Prompt" does not work either
wt -p "Command Prompt" ; split-pane -p "PowerShell 5.1" works now
wt split-pane;split-pane still works
wt split-pane;split-pane -p "Command Prompt" works
Looks like if I load two of the same instance, the issue is there. Go to three, it is gone. Two different instances, then no problem.

@sleepnmojo can you try out this preview build, v1.13? https://github.com/microsoft/terminal/releases/tag/v1.13.10395.0
I just realized that the refactor I'm thinking of might only be in 1.13

Microsoft Windows [Version 10.0.19043.1526]
Windows Terminal Preview Version: 1.13.10395.0
Problem still occurs with these two commands
wt split-pane still does not work.
wt -p "Command Prompt" ; split-pane -p "Command Prompt"

Help, thanks for trying, sorry we didn't just magically fix this one. I can't repro this myself so I suppose we'll need someone who actually can repro this to take a look. Thanks for confirming for me!

I have a very similar problem
When I run wt -d . ; split-pane -d . it will sometimes cause the right image not to load, sometimes the left one not to load, and sometimes both of them to load. At least one of them loads.
Windows Terminal version: 1.12.10982.0

I encounter this bug literally every day. I use the "firstWindowPreference": "persistedWindowLayout" setting so my previous layout state is persisted when Terminal starts, and I usually have 3 tabs open with each having an up/down split pane.
The bug seems to occur when I change the focus to any non-Terminal window, like my browser or email client, then move the focus back to Terminal. Nearly every time I do that, either the top or bottom pane in at least one of the tabs will be missing its background image. I sometimes also see the bug when my focus stays in the Terminal window, but less frequently than when changing focus.
Resizing or maximizing the entire window or resizing the panes causes the background to load. Navigating between different Terminal tabs usually causes the background to load too.
I'm happy to provide whatever details I can to help repro this.


⚠ Bofrost.de has degraded performance

In e184f10, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 814 ms

Resolved: Bofrost.de performance has improved in 6155da0 after 6 minutes.


Update Doxygen logo

Not sure if we use Doxygen, but in case one day we decide to, the logo is now updated.
If we aren't going to use it we should just remove the image.

I know bitcoin has been using doxygen for quite awhile (though some comments have had to be updated to work w/ it which ours are probably not in line w/).
Personally I've never used it but that's not to say it wouldn't be a bad idea.

That's what I figured and even if we aren't using it now I'd still rather see a Paycoin logo in the docs folder rather than a Peercoin :)

Just pushed a small change where I ran the image through a Lossless Image Optimiser.


Message Updation in Fraction Activity

After the game over message, when we click on play and the game starts,
Then Pausing it befor the first turn, results in showing Game over again instead we could write, Bouncing ball and the fraction on the first turn
@llaske, your views

Hmmm. I've reproduce it. Not seems to be a problem.

Hmmm. I've reproduce it. Not seems to be a problem.

I was just telling when we first get to play, after one game gets over it should not show "Game over Press play" message

Yes I got it. My point is that it's a very minor issue. I wonder if someone could see it.

Fixed in https://github.com/llaske/sugarizer/pull/1580


Remove version: Microsoft.Azure.CosmosEmulator version 2.14.9

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://cosmosdbportalstorage.azureedge.net/emulator/2022_07_07_2.14.9-3c8bff92/azure-cosmosdb-emulator-2.14.9-3c8bff92.msi
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)


pkg/blobserver/blobpacked: add some sort of progress bar for -recovery mode

follow-up of https://camlistore.org/issue/876

duplicate of #879


Updating niRFmxWLAN to 23.5

What does this Pull Request accomplish?
Updates niRFmxWLAN support to 23.5 API.
This adds the following:
Methods

AutoDetectSignalAnalysisOnly

Attributes

OFDM_SCRAMBLER_SEED
OFDMMODACC_COMBINED_SIGNAL_DEMODULATION_ENABLED
OFDMMODACC_REFERENCE_DATA_CONSTELLATION_IDENTIFIER
OFDMMODACC_RESULTS_STREAM_POWER_MEAN
OFDMMODACC_RESULTS_AGGREGATION
OFDMMODACC_RESULTS_SCRAMBLER_SEED

Enums

OFDMMODACC_COMBINED_SIGNAL_DEMODULATION_ENABLED

Why should this Pull Request be merged?
https://dev.azure.com/ni/DevCentral/_workitems/edit/2416136
What testing has been done?
Locally built grpc-device.

FYI don't worry about that one FGEN failure on the Ubuntu system test run: it's a similar intermittent failure noted in #951


Pipenv install does not provide a good error message for no Pipfile.

Issue description
When attempting to run pipenv install --dev in the wrong spot I got this error below (not a bug I assume).
~ # pipenv install --dev
Creating a Pipfile for this project...
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.4/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.4/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.4/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.4/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.4/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.4/site-packages/pipenv/cli.py", line 435, in install
    selective_upgrade=selective_upgrade,
  File "/usr/local/lib/python3.4/site-packages/pipenv/core.py", line 1759, in do_install
    pypi_mirror=pypi_mirror,
  File "/usr/local/lib/python3.4/site-packages/pipenv/core.py", line 639, in ensure_project
    ensure_pipfile(validate=validate, skip_requirements=skip_requirements, system=system)
  File "/usr/local/lib/python3.4/site-packages/pipenv/core.py", line 288, in ensure_pipfile
    project.create_pipfile(python=python)
  File "/usr/local/lib/python3.4/site-packages/pipenv/project.py", line 576, in create_pipfile
    config_parser = ConfigOptionParser(name=self.name)
  File "/usr/local/lib/python3.4/site-packages/pipenv/patched/notpip/_internal/baseparser.py", line 141, in __init__
    assert self.name
AssertionError
~ #

Expected result
I would expect something about missing a Pipfile or some such. Probaly something along these lines.
AssertionError("Could not find Pipfile.")

Actual result
Instead I just got AssertionError().
Steps to replicate
mkdir foo
cd foo
pipenv install --dev

$ pipenv --support
Pipenv version: '2018.7.1'
Pipenv location: '/usr/local/lib/python3.4/site-packages/pipenv'
Python location: '/usr/local/bin/python'
Other Python installations in PATH:

3.4: /usr/local/bin/python3.4m

3.4: /usr/local/bin/python3.4

3.4: /usr/local/bin/python3.4

3.4.9: /usr/local/bin/python

3.4.9: /usr/local/bin/python

3.4.9: /usr/local/bin/python3

3.4.9: /usr/local/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.4.9',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-33-generic',
 'platform_system': 'Linux',
 'platform_version': '#36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018',
 'python_full_version': '3.4.9',
 'python_version': '3.4',
 'sys_platform': 'linux'}

System environment variables:

PYTHONDONTWRITEBYTECODE
https_proxy
http_proxy
HOME
HTTPS_PROXY
LANG
PWD
no_proxy
PATH
HOSTNAME
PIP_PYTHON_PATH
OLDPWD
NO_PROXY
GPG_KEY
HTTP_PROXY
TERM
PYTHON_PIP_VERSION
SHLVL
PYTHON_VERSION

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG: C.UTF-8
PWD: /

Contents of Pipfile ('/Pipfile'):

Contributions are welcomed. Just change the line in the traceback.

Oh yeah, just got bitten by this. Will attempt a fix!

I see the referenced PR #2853 isn't merged yet, but is the issue fixed already? Here is master:latest(19cc73125f8009b45087d5533c1c2fc37d178cb0)
➜  pipenv git:(master) ✗ mkdir ../pip-test
➜  pipenv git:(master) ✗ cd ../pip-test
➜  pip-test pipenv install --dev
Creating a virtualenv for this project…
Pipfile: /home/ericfoss/Development/pip-test/Pipfile
Using /usr/bin/python3 (3.6.5) to create virtualenv…
⠸Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/ericfoss/.local/share/virtualenvs/pip-test-1fL-zKVG/bin/python3
Also creating executable in /home/ericfoss/.local/share/virtualenvs/pip-test-1fL-zKVG/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/ericfoss/.local/share/virtualenvs/pip-test-1fL-zKVG
Creating a Pipfile for this project…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (ca72e7)!
Installing dependencies from Pipfile.lock (ca72e7)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
➜  pip-test

uh actually....yeah I don't see this issue is latest version as well, or at least I can't manage to replicate the error.

ah this is merged now, thanks for reporting

When reviewing this issue. I found that the fix was not suitable because it didn't catch the real devil in the shadow. What is worse is that it introduced an API change which however didn't include a PEEP nor a changelog entry.
pipenv install is designed to create the Pipfile if it isn't present, but people are surprised by the error thrown #3260 now.
Looking at the stacktrace of this issue, the error occurs when pipenv attempts to create a Pipfile. The file was desired to be created successfully but something went wrong.
I will spend some time revisiting the errored codes and prepare a revert to this change.

@frostming-- don't "revert" the change, as in the git operation, simply fix the conditional logic
Also, don't hold your PR back for a full review, fix the known issue so we can move ahead.  The specific behavior change is annoying, but is only going to affect manual installation processes and can be corrected or worked around by simply installing a package.
The error message is detailed, the change is minor, all that needs to happen is a minor adjustment in logic.  It is not an intentional API change, it is a conditional logic issue.

Hm note that there actually is no problem with the exception logic and it is accurately raising an exception about a missing pipfile, which just failed to generate due to a completely separate issue.  So the error occurs downstream of the creation, and is completely unrelated to and separate from it.

Any update on this? I'm encountering the same error when installing pipenv in a fresh alpine dockerfile:
FROM alpine:latest

# enable community repos, since texlive is only available in the community repo
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories

# install make and texlive from the community repo
RUN apk update \
    && apk --no-cache add texlive-full \
    texlive-xetex \
    make

# install python3 and pipenv
RUN apk add --no-cache --virtual .build-deps g++ python3-dev libffi-dev openssl-dev \
    && apk add --no-cache --update python3 \
    && pip3 install --upgrade pip setuptools pipenv

Running pipenv shell inside causes the error.