Prompt in the shell (pun intended)

Great plugins !
Could you add the possibility to add a prompt in the Code Block so it can be inserted at the beginning of each line of the block. I'm thinking especially for bash or other shell type code blocks when showing command line functions and their results.
The prompt could be enable/disabled, be a default $ or defined with a string of characters. It could be skipped for some lines when it's not a prompt line.
Something that would look like this for the result (the prompt being defined as "user_name@host:~$"):
user_name@host:~$ pwd
/home/user_name

user_name@host:~$

A more complex request: If the prompt include a path, and the command change that path, would it be possible to modify the prompt within a code block?
Again, something that would look like this for the result:
user_name@host:~$ cd test

user_name@host:~/test$

Here, the prompt is defined as "user_name@host:~$" at the beginning of the code block but it's modified to "user_name@host:~/test$" later in the block.
It would basically require a way to define the prompt string within the code block.
Thanks

To answer you first question:
yes, that would be possible. I also considered this, I just haven't had time to implement it. The only problem here could be on how to define which line should or should not have the prompt displayed at the beginning. I could probably make a toggle, something like Always show prompts.

When enabled then all lines have the prompt displayed, but you could disable it for specific line using a parameter like noprompt and defining the line numbers.
When the option is disabled, then the prompt is not displayed, but you could show it for specific lines using the prompt parameter and defining the line numbers.

You could define the prompt itself. For example let's say you'd like the prompt user_name@host:~$. Then you'd have to define this first as prompt1, and then define the languages, for which you want to use it. For example bash. You could then define a second prompt with PS for Powershell, or >>> for python.
Would this work for you? Or do you have a better idea?
To answer you second question:
Maybe. I don't want to promise anything for now, but I'll try to solve it.

Thanks for your fast reply.
I was thinking more like the way you define title, line numbers and highlighted lines or text, in the header of the code block.
For the specific code block where we want a prompt, we would include in the header something like
 ```bash prompt:true ln:false to get a default '$' prompt and something like : ```bash prompt:"user_name@host:~$" ln:false to get a specific prompt.
By default, the prompt would be disabled. I believe the need for prompt is not that high to justify a default enabled prompt for code blocks. But if you think otherwise, it could be a toggle to enable or disable it by default but still using 'true' ou 'false' in the header to override it for each block, like you do with the line numbers (if the prompt is defined with a string it means it's true for that block).
For the lines where we don't want to display a prompt, in its plugin, Mr Park, https://github.com/HeekangPark/obsidian-hk-code-block is using a special character at the end of a line (in the code block) to prevent the next line from having a prompt. Something similar would be simple to use but I don't know if it's easy to implement. He is using the '\' character but since its an escape character I guess it may be better to use something else. You know better than me what you can do about that with your plugin.
That's my suggestion.
As for the prompt string changing, just an idea, maybe the use of a special character in the code block could be a way to change the prompt string on the fly.
Or if you have a way to make two code blocks following each other without a gap and keep the line step, we could restart the second code block with a header that specify the new prompt string and the result would be a change of prompt within an apparent single code block.
Like writing this:
```bash prompt:"user_name@host:~$" ln:false
cd test \skip_prompt

```

```bash prompt:"user_name@host:~/test$" ln:false connect_to_precedent_block
pwd \skip_prompt
/home/user_name/test
```

To get that:
user_name@host:~$ cd test

user_name@host:~/test$ pwd
/home/user_name/test

Of course, see the \skip_prompt and connect_to_precedent_block as any code word or character you would use instead.
Keep in mind there is no rush for this. These request are goodies not essential functions.
Thanks


Couldn't make it work in real-time

I wish I could use it with real time voice coming from microphone

Sorry for the late response.
I'm afraid this is not possible as it falls beyond the scope of this project.
This addon is simple an gui integration for rhubarb so all lipsync functionality is made through Rhubarb Lip Sync.
Rhubarb requires some processing time, so it's an unavoidable limitation.
I do not know any open source nor commercial approaches for godot to achieve automatic lip sync in real time.
The most I can think of is to make lip flaps based on the db of the current audio sample.

Huge thanks for responding,
Let's hope this possibility comes to this nice project.


[WIP] lesson update

This is work in progress so a merge is not expected yet. But you can either follow of what I do, or you can also give feedback and suggestion and criticize changes. I will mark when it's ready to be merged but please do comment on changes.

Two changes are ahead:

forking workflow will create a feature branch always, we train participants from day 0 to not commit to main line
cloning, pushing, fetching, pulling is done in a collaborative exercise instead of a dry lecture: we add participants as collaborators and let them do the steps so that they see rejected pushes and merge commits on their computers, then we discuss them

Remains to be done: first part (cloning, pushing, fetching, pulling) to be turned into a collaborative exercise. I will do this tomorrow.

i think this looks great. But as you mention, there needs to be some sort of exercise in the first episode, to warm everyone up for the massive exercise on forking-pull requests

Thanks for feedback. I will today exercisify the first part. We will start with clone, then push, it will work only for one person, then we discuss the rejected push, then fetch/pull, then merge commits.

Drafting the exercise: https://github.com/coderefinery/centralized-workflow-exercise

Ready to go from my perspective.


Accepting drop partially

If a user drops multiple files, one of them is too big (maxSize) and one is ok, onDropAccepted should be fired with the accepted file.
The fix is very trivial, its just removing   else in  } else if (acceptedFiles.length > 0) {

Thanks! Mind creating a PR?

sure

Please wait until I'll merge new tests branch so you can add the test case. Switching to enzyme.

👍


Cannot read properties of undefined (reading 'split') in server list

Steps to Reproduce
Unable to figure out consistent patterns. Happen when using servers UI regularlly.

mb, fern spec changed


Default temperature for llama-cpp-python server

Hey,
I have two questions.

Is the default temperature for the llama-cpp-python server the same as the llama-cpp server (0.8)?
Is there a way to configure the temperature for the llama-cpp-python server? It is not an option in the command line and I also cant find it here. I am asking, because the llama-cpp server does have an option for it, according to this README

The default temperature is 0.8 llama_cpp/server/types.py#L25

Temperature can be set via the API request parameters for both chat/completions and completions endpoints.
 I appreciate the help.


Revert "Scroll combobox to highlighted item (#499)"

This reverts commit 38be9cc6e95342c57ea7803f666f8a13f33ce441 from #499.
highlightedIndex is a controlled prop, you cannot force it to be 0.
This will revert the intended feature by @jongsue (scrolling to the selected item when opening the combo box), but this fixes all the broken highlights (and keyboard navigation) for all components depending on downshift.
I will open a PR that upgrades downshift and fixes this.

Good catch!

@mshwery you good with reverting this? It makes sense to me.

@vadimdemedes sgtm. go for it!


Strange behaviour for measuring unused qubits

When measuring unused qubits I ran into the following behaviour:
Using run_and_measure I get:
  File "/Applications/Anaconda/anaconda3/lib/python3.6/site-packages/pyquil/api/qvm.py", line 198, in run_and_measure
    response = post_json(self.session, self.sync_endpoint + "/qvm", payload)

  File "/Applications/Anaconda/anaconda3/lib/python3.6/site-packages/pyquil/api/_base_connection.py", line 88, in post_json
    raise parse_error(res)

QVMError: The value
  NIL
is not of type
  NUMBER
when binding SB-KERNEL::X

When using run_and_measure_async instead of a list of lists a string is returned from job.result().
Code to reproduce the error:
import pyquil.api as api
import pyquil.quil as pq
from pyquil.gates import I

prog = pq.Program(I(0))
CXN = api.QVMConnection()

jobid = CXN.run_and_measure_async(prog, [0], trials=2)
job = CXN.wait_for_job(jobid)
result = job.result()
print(result) # prints [[0], [0]]

jobid = CXN.run_and_measure_async(prog, [0,1], trials=2)
job = CXN.wait_for_job(jobid)
result = job.result()
print(result) # prints VGhlIHZhbHVlCiAgTklMCmlzIG5vdCBvZiB0eXBlCiAgT....

result = CXN.run_and_measure(prog, [0,1], trials=2) # results in error from above
print(result)

Deployed and fixed.


Enabled selection of tvOS simulators

Depends on https://github.com/czechboy0/XcodeServerSDK/pull/138.

Thanks!


[hotfix]Use wrapper classes like other parameters

What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

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

Documentation

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

This modification aims to unify the parameter format

What's the motivation behind the PR? Is this just a cosmetic thing, or is there something broken? If cosmetic, I'd expect this to be the other way around, using the unboxed types that prevent nullability issues.
If something is broken, we should first have an issue covering it.


HiVT map-free customization

Hello, first of all, thank you for your excellent work and dedication in making it openly available for the community to use.
I was wondering how I could adapt your code so that it can be evaluated in a version without a map, as they claim in the following paper. They have compared HiVT with your model in a way that doesn't use a map.
Thanks in advance

I believe the author(s) have moved on to their new algorithm QCNet and such won't really put too much work into this one anymore.
I believe to make it work without map all you need to do is remove the ALEncoder in local_encoder.py :
https://github.com/ZikangZhou/HiVT/blob/6876656ce7671982ebdc29113aaaa028c2931518/models/local_encoder.py#L64-L68
https://github.com/ZikangZhou/HiVT/blob/6876656ce7671982ebdc29113aaaa028c2931518/models/local_encoder.py#L93-L96
You can also remove the mapping sections from the data preprocessing if you are using Argoverse:
https://github.com/ZikangZhou/HiVT/blob/6876656ce7671982ebdc29113aaaa028c2931518/datasets/argoverse_v1_dataset.py#L152-L157
With this you should be able to run the code without map information, though I cannot say if this is the best way as to get optimal results.


Crash from RLP decoding

What was wrong?
  File "/root/ddht/ddht/main.py", line 51, in main
    await args.func(boot_info)
  File "/root/ddht/ddht/cli_commands.py", line 25, in do_main
    await manager.wait_finished()
  File "/root/env/lib/python3.8/site-packages/async_generator/_util.py", line 42, in __aexit__
    await self._agen.asend(None)
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 411, in background_trio_service
    await manager.stop()
  File "/root/env/lib/python3.8/site-packages/trio/_core/_run.py", line 730, in __aexit__
    raise combined_error_from_nursery
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 205, in run
    raise trio.MultiError(
  File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 300, in _run_and_manage_task
    await task.run()
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 76, in run
    await self._async_fn(*self._async_fn_args)
  File "/root/ddht/ddht/v5_1/app.py", line 116, in run
    await run_trio_service(network)
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 156, in run_service
    await manager.run()
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 205, in run
    raise trio.MultiError(
  File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 300, in _run_and_manage_task
    await task.run()
  File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 165, in run
    await self.child_manager.run()
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 205, in run
    raise trio.MultiError(
  File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 300, in _run_and_manage_task
    await task.run()
  File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 165, in run
    await self.child_manager.run()
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 205, in run
    raise trio.MultiError(
  File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 300, in _run_and_manage_task
    await task.run()
  File "/root/env/lib/python3.8/site-packages/async_service/trio.py", line 76, in run
    await self._async_fn(*self._async_fn_args)
  File "/root/ddht/ddht/v5_1/envelope.py", line 65, in run
    packet = decode_packet(datagram, self._local_node_id)
  File "/root/ddht/ddht/v5_1/packets.py", line 261, in decode_packet
    auth_data = HandshakePacket.from_wire_bytes(auth_data_bytes)
  File "/root/ddht/ddht/v5_1/packets.py", line 136, in from_wire_bytes
    enr = rlp.decode(enr_bytes, sedes=ENRSedes)
  File "/root/env/lib/python3.8/site-packages/rlp/codec.py", line 232, in decode
    raise DecodingError('RLP string too short', rlp)
rlp.exceptions.DecodingError: RLP string too short

How can it be fixed?
Just need exception handling.

fixed in #83


Force a redeployment when in dev env.

Coverage remained the same at 87.02% when pulling 44e29c9b2bc551c194b749efea379d471673d32e on akatsoulas:update-pods-dev into 3013e236a0cdf9f4cb1ddc42e8f1e0273932caf2 on mozilla:dino-park.


Edit a paragraph with bold and normal text inside a table cell

How can we write into a table cell (0, 1) - a paragraph with a mixture of bold, italic and normal text ?
Example :
Aravind
SE
Rajan
ME

What have you tried so far? Have to read the documentation?

yes @scanny , I am using multiple runs to do this. But this needs coordinates like top, height, width, and left and this is independent of the table cell.
def func(text, bold=False):
tf = slide.shapes.add_textbox(left=Cm(6.2),top=Inches(self.x),width=Cm(9),height=Cm(1))
ft = tf.text_frame
ft.clear()
p = ft.paragraphs[0]
run = p.add_run()
run.text = text
if bold:
run.font.bold = True
else:
run.font.bold = False
Is there any other way I could edit a paragraph inside a table.cell(0,1) ,  with normal, bold and italic texts ?

I think you'll have better luck with this sort of question on StackOverflow. This issues list is for suspected bugs and feature requests.

Thanks @scanny  It would be great if we could give texts instead of runs like " * python-pptx *  is a great ^module^." and get output in pptx as ,
python-pptx is  a great module.
Please consider this a feature request.


Pull new web-components version to non-rc build

#2712  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Merge activity

Jun 7, 4:27 PM EDT: @tommylau523 merged this pull request with Graphite.


eval_math script outputs 0 accuracy

When I run
python eval_math.py --model meta-math/MetaMath-7B-V1.0 --data_file data/test/MATH_test.jsonl --tensor_parallel_size 1

from the base directory of this repository, the final output is
start=== 0 , end====<PHONE_NUMBER>854775807
length==== 5000 , acc==== 0.0

I ran inference on a 1x A100 40GB. I am using vllm v0.1.y, transformers 4.33.2, and torch 2.0.1.

Hi~ zhangir-azerbayev, Thanks for your attention!
have you fixed this error?
I retested it, and I am able to obtain the expected numbers. it works for both 1x A100 80GB and 8x A100 80GB
The environment I am using is:
torch==2.0.1+cu117
vllm==0.1.4
transformers==4.31.0

Hi~ zhangir-azerbayev, Thanks for your attention!
have you fixed this error?
I retested it, and I am able to obtain the expected numbers. it works for both 1x A100 80GB and 8x A100 80GB
The environment I am using is:
torch==2.0.1+cu117
vllm==0.1.4
transformers==4.31.0

Thanks for your response. I'll retry with those package versions and report back.

Thanks, was able to repro the results in this paper with vllm==0.1.4 and transformers==4.31.0. Will PR a requirements.txt file when I have time.

I ran the eval scripts with the weights from meta-math/MetaMath-7(13)B-V1.0 and obtained scores of 0.1948 for 7B and 0.2238 for 13B. However, when I ran SFT on the metamathqa data for LLama2-7B/13B, I got 0 score for math and 0.71 for gsm8k. What could be the reason for the score of 0 in math, and how can I prevent it? (I don't think it's an issue with the package version.)
The environment I am using is:
torch==2.0.1+cu118
vllm==0.1.4
transformers==4.34.0


Update AppSidebarLinkGroup.vue

Page refresh hold active state.

Description

Fix the bug that the status of the left menu bar is not updated when the page is refreshed
Markup:

created() {
    this.updateActiveState()
}

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Improvement/refactoring (non-breaking change that doesn't add any feature but make things better)

Closing as stale.


Revised the enumeration types article

Follow up of the comment in https://github.com/dotnet/docs/pull/16166#pullrequestreview-329858080
Contributes to #10726

@BillWagner thanks! I've applied all of your suggestions.


New version: ReplMaker v0.2.5

Registering package: ReplMaker
Repository: https://github.com/MasonProtter/ReplMaker.jl
Created by: @MasonProtter
Version: v0.2.5
Commit: 6af155174333143dda48b1de5f5a7b16d8402533
Reviewed by: @MasonProtter
Reference: https://github.com/MasonProtter/ReplMaker.jl/commit/6af155174333143dda48b1de5f5a7b16d8402533#commitcomment-35818020

This PR can be closed in favour of https://github.com/JuliaRegistries/General/pull/5092


NTR: spermatid cytoplasm removal during spermiation

Please provide as much information as you can:

Suggested term label:
spermatid cytoplasm removal during spermiation

Definition (free text)
The process of removing the majority of the cytoplasm and organelles from a spermatid as it develops into a mature sperm cell.

Reference, in format PMID:#######
(REQUIRED)
PMID:21866274 = O'Donnell L, Nicholls PK, O'Bryan MK, McLachlan RI, Stanton PG. Spermiation: The process of sperm release. Spermatogenesis. 2011 Jan;1(1):14-35. doi: 10.4161/spmg.1.1.14525.

Gene product name and ID to be annotated to this term
mouse genes Spem1, Ehd1, Capza3

Parent term(s)
is_a: developmental process involved in reproduction - GO:0003006
part_of: spermatogenesis - GO:0007283

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?
NA

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

spermatid cytoplasm elimination during spermiation [EXACT]

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

Is this term intended to be specific to mouse, vertebrates, or animals?

Seems mammals have their special process.
PMID:464324 Spermatid-Sertoli tubulobulbar complexes as devices for elimination of cytoplasm from the head region late spermatids of the rat
PMID:3825964 Comparative study of cytoplasmic elimination in spermatids of selected mammalian species
PMID: 33459394 Process of cytoplasm elimination during spermiogenesis in Octopus tankahkeei : Polarized development of the spermatid and discarding of the residual body

Is this term intended to be specific to mouse, vertebrates, or animals?

It's definitely more general than just mouse as it's fairly conserved between mouse, rat, & human.
All animals is probably too broad as C. elegans have amoedoid sperm so no flagellum and probably no elimination of cytoplasm as it seems to me that amoedoid sperm would still need cytoplasm for the cytoskeletal rearrangements necessary for amoeboid locomotion.
I don't really know the appropriate taxon scope. Thanks for all the great refs you've posted. I'll take a look at those and see if I can help you figure out what makes sense for GO.
Thanks!

It looks like the tubulobulbar maybe something unique to mammals thus the mechanism of spermatid cytoplasm removal is perhaps mammalian specific.

It looks like the tubulobulbar maybe something unique to mammals thus the mechanism of spermatid cytoplasm removal is perhaps mammalian specific.

I agree that the tubulobulbar mechanism of cytoplasmic removal might be mammal specific.
However, in the quick glance I did at two of the first three papers you listed, I think that this term, as I've suggested with this broad definition might be applicable for spermiation of any flagellated sperm:

Suggested term label: spermatid cytoplasm removal during spermiation
Definition (free text): The process of removing the majority of the cytoplasm and organelles from a spermatid as it develops into a mature sperm cell.

We could consider making the term label more obviously specific and call it spermatid cytoplasm removal during spermiation of flagellated sperm, and narrow the definition appropriately (we might want to do that anyway) so that it will exclude amoeboid sperm and immotile plant sperm, but then be general enough for any kind of cytoplasm removal during spermiation.

Suggested term label: spermatid cytoplasm removal during spermiation of flagellated sperm
Definition (free text): The process of removing the majority of the cytoplasm and organelles from a spermatid as it develops into a mature flagellated sperm cell.

My understanding of sperm is that there is a lot of variation across taxa. I think trying to come up with a really precise taxonomic range could be a quagmire. I also don't really want to do a lot of research to understand exactly what types of "cytoplasm removal during spermiation" processes occur in species I am not currently annotating.  If we need something more specific in the future due to taxonomic differences, it should be simple to migrate the mouse annotations to the appropriate more specific term. So maybe having a broad term is good enough for now.

Thanks for the suggestions. I wonder if the word spermiation is rather specific to mammals as in PMID:21866274.
How about "spermatid cytoplasm removal during flagellated sperm development" DEF "The process of removing the majority of the cytoplasm and organelles from a spermatid as it develops into a mature flagellated sperm cell." [PMID:21866274, PMID:23087837]

NV. Spermiation is not specific to mammals, e.g. PMID:19416498.

+[Term]
+id: GO:0160087
+name: spermatid cytoplasm removal during spermiation of flagellated sperm
+namespace: biological_process
+def: "The process of removing the majority of the cytoplasm and organelles from a spermatid as it develops into a mature flagellated sperm cell." [PMID:21866274, PMID:23087837]
+is_a: GO:0003006 ! developmental process involved in reproduction
+relationship: part_of GO:0007283 ! spermatogenesis
+property_value: term_tracker_item "https://github.com/geneontology/go-ontology/issues/25853" xsd:anyURI
+created_by: rynl
+creation_date: 2023-08-03T00:23:44Z


Support receiving Expression as a parameter in SpatialBuilder methods

Currently, the column parameters on the SpatialBuilder class are typehinted as string, so when passing a DB::raw(...) expression into the builder, it gets casted to a string first, then re-wrapped as a column value. This causes issues when attempting a query like
->whereWithin(DB::raw('point(longitude, latitude)'), MultiPolygon::fromWkt(...)),
resulting in point(longitude, latitude) being treated as a column name in sql. By avoiding the string cast, the actual raw value passed is used.
The fix for this was to add the Expression typehint (what DB::raw returns) so that the implicit string cast does not happen. This is then picked up by the $this->getQuery()->getGrammar()->wrap calls (see here, and then here) resulting in a correct raw value in the sql.

Hi @Riley19280 , thanks for the PR.

Can you add tests?
Please update the typehint in the API.md file
Do you think the second parameter should also accept expression?

Yeah, I can add tests. It does probably make sense for the second one to do so as well, and also run the first parameter through the toExpression function as well, so that it can also handle geometries.

@MatanYadaev I made the changes requested, including expanding support for DB::raw and Geometry for both parameters for all functions. The unit tests for the toExpressionString method should suffice for this support, but also added a real world test for my use case.

Can you update the method signatures on API.md?

Updated, I left off the ExpressionContract as I feel it clutters the docs and is something that anyone could reasonably expect to be supported if they need to use it.

Thanks for the contribution @Riley19280 🙏


Mismatch file:line when test prints an error on console.

go version: v1.14
scope-go-agent: v0.1.13
When:
A test failed
Current behaviour:
The go test message prints an incorrect file:line reference:

Expected behaviour:
The file:line tuple should be correct.


Print most used processes

Would be great to add a list of the most used CPU processes

It s still a work in progress (especially docs etc...) but i made new metric that check process over 10% cpu or mem: https://github.com/elfranne/sensu-top-process


Synchronize dirty files across multiple windows

VSCode Version: 1.5.1
OS Version: Windows 10

Steps to Reproduce:

Open a file
Create a new window
Drag the file to the second window (opens a second copy)

Is there any plans to have a "live sync" when a file is opened in two windows at the same time? Right now the second window only gets updated when one saves. It is very easy to accidentally start editing an out of date version of the file.
Editors such as sublime fully support this and I was expecting the same behavior.

@netrounds-joakim if I have the same file open in 2 windows I do not see the files show the same content until I save. Are you saying you expect to see both files turn dirty while you type or after you save?

@bpasero Hello, I don't know what you mean by "turn dirty".
To be clear I will communicate in pictures :)
I open a file myfile.txt and type something in it.

I split the editor in the same window and the same file is opened in a second pane.

Typing in the file in one pane changes the contents of it in the other:

Everything is fine and as expected so far.
I then open a new window.

And drag the file there:

If I did not save the file in the previous window, it will now appear without the changes I performed in the new Window:

Only when I save the file in the first window, it will get updated in the second one. This applies to any future changes as well. The danger with this is that I might accidentally change the file in both windows in different ways, and then save over one of those changes without realising it.
As this works in other editors (for example Sublime or Visual Studio). There is no difference between moving a second "view of a file" to a new pane or a new window, they behave in the exact same way.
With this approach, in my example above all 3 panes would update if I made a change in either of them.
So my question is:
Is there any plans to support this behaviour or is this due to some inherent limitation on how VSCode works at the core?
Thanks

Ok got it thanks 👍

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!


Rule to alert on file renaming, deletion

Hello:
Want Falco to alert when a file is renamed or deleted from within a certain directory by a non-system user. So I set up this list:
- list: nonsystem_users
  items: [root, user1, user2]

Then this rule that references it:
- rule: Rename, delete files
  desc: a particular file has been renamed or deleted
  condition: part_dir and evt.type = rename and user.name in (nonsystem_users)
  output: "File below this dir has been renamed (user=%user.name command=%proc.cmdline file=%fd.name)"
  priority: ERROR
  tags: [filesystem]

part_dir is a macro that points to the particular directory. Falco did not spew an error after restarting, but the above rule never triggers an alert.
Is there something I'm missing here? In place of evt.type = rename, I also used evt.type = unlink. It too, did not work.
TIA

I think the best way to debug this is to run sysdig creating a capture file while you perform the rm/mv/etc command that you want to capture. Then we can look at the trace file and see what specific system calls and arguments are used.
Can you attach a trace file that we can use for debugging?

Thanks for responding @mstemm. I'll run the test again with Sysdig listening. Will report back in a couple of days.

OK, after testing and debugging with sysdig, here's what I found:
For the rm command, the associated syscall is unlinkat instead of unlink, as suggested at https://sysdig.com/blog/fascinating-world-linux-system-calls.
61085 09:37:10.132974650 1 rm (11969) > unlinkat dirfd=4294967196 name=testfalco : rm the file
61086 09:37:10.133066968 1 rm (11969) < unlinkat res=0
71659 09:37:28.372842760 3 rm (11973) > unlinkat dirfd=4294967196 name=testing
71660 09:37:28.372935679 3 rm (11973) < unlinkat res=0
``
`
While the `mv` commands goes with the `rename` syscall:

19481 10:01:13.904800473 1 mv (12267) > rename
19482 10:01:13.904858626 1 mv (12267) < rename res=0 oldpath=nofalcons(nofalcons) newpath=falconer(falconer)

For the `rmdir` command, here are the syscalls:

9317 10:12:26.836140519 1 rmdir (12390) < execve res=0 exe=rmdir args=testme. tid=12390(rmdir) pid=12390(rmdir) ptid=3908(bash) cwd= fdlimit=1024 pgft_maj=0 pgft_min=40 vm_size=360 vm_rss=4 vm_swap=0 comm=rmdir cgroups=cpuset=/.cpu=/.cpuacct=/.io=/.memory=/.devices=/user.slice.freezer=/.net_cls=... env=XDG_VTNR=8.SSH_AGENT_PID=2567.XDG_SESSION_ID=c1.QT_STYLE_OVERRIDE=gtk.TERM=xt... tty=34824
9381 10:12:26.837341851 1 rmdir (12390) < rmdir res=0 path=testme(testme)

With those, I can actually write a single rule instead of 2 or 3 to track file activity under a target directory.

Great, so it looks like you came up with some rules for your use case? If so, mind if I close this issue?
I'd also be curious to see what they were.

OK, I'll try and update with the new rule over the weekend, then we can close this issue.

I think I was too optimistic.
Even knowing that unlinkat is associated with rm operations, this rule does not fire when I delete a file:
rule: Delete WP files
  desc: a WP file has been deleted
  condition: wp_dir and evt.type = unlinkat and user.name in (nonsystem_users)
  output: "File below WP dir has been deleted (user=%user.name command=%proc.cmdline file=%fd.name)"
  priority: ERROR
  tags: [filesystem]

The thing unlinkat syscall is not documented with Falco, only unlink, but even that doesn't work with rm operatings.
So this remains open until I or someone else can figure out why.

Can you also include the definition of your wp_dir macro? I'd like to see that as well.

wp_dir simply points to a directory.
By the way, I have a rule that works when a file is copied or created using the same macro. It's just with a rm operating that it does not trigger. If I can get some free time this week I'll troubleshoot it further.

Ok, remember thatfd.directory only handles the immediate directory for a given file, and not all child directories. For example, if your web root were /var/www, and had files /var/www/a and /var/www/subdir/b, only a would have fd.directory=/var/www.
If you have a trace file I'd be happy to take a stab at the macro also. It's probably a useful one to include in the base rules file.

Yes, I'll take a stab at this again, and make the trace file available. What I'm actually trying to do is implement a rule that gives me some of what OSSEC does, which would be nice to have in Falco's base rule.
And thanks for the pointer about fd.directory.


Lovelace: view UI configuration (badge tab) not usable when badge is stored ith "null" value

Home Assistant release with the issue:
0.89.1
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Component/platform:
Lovelace UI
Description of problem:
By accident I had a badge entered through the configuration UI (enable view configuration by tapping top right corner and select configuration), then click "edit" icon for view, click "Badges" tab, add badge entity.
I was able by deleting and adding to have an "empty entity" field between the already entered and the last entity. Saving works and an empty badge is shown in the UI at the correct place.
When now entering the configuration UI to change the badges, the list is completely empty - no entity is shown, nor is a field shown to enter a new entity.
I selected as next step the "raw configuration access" - the shown file was empty. Reloading the page still kept the error for the UI configurator, but I could access the raw configuration and remove the badge entity ith value "- null".
Now all works again.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
view raw configuration lines (copied only the first lines) - issue is in fourth last line, which I removed to make it work again.
title: Home
views:
  - badges:
      - binary_sensor.schlafzimmer_sz_fenster
      - binary_sensor.kinderzimmer_kz_fenster
      - binary_sensor.arbeitszimmer_az_fenster
      - binary_sensor.wohnzimmer_wz_fenster_links
      - binary_sensor.wohnzimmer_wz_fenster_rechts
      - sensor.yr_symbol
      - sun.sun
    cards:
      - entity: climate.gastebad_gbad_heizung
        name: Gästebad
        type: thermostat
      - entity: climate.wohnzimmer_wz_wandthermostat
        name: Wohnzimmer
        type: thermostat
      - entity: climate.badezimmer_bad_heizung
        name: Bad
        type: thermostat
      - entity: climate.arbeitszimmer_az_heizung
        name: Arbeitszimmer
        type: thermostat
      - entity: climate.kinderzimmer_kz_heizung
        name: Kinderzimmer
        type: thermostat
      - entity: climate.schlafzimmer_sz_heizung
        type: thermostat
      - entity: weather.dark_sky
        icons: /local/custom-lovelace/weather-card/icons/
        name: Wettervorhersage
        type: 'custom:weather-card'
      - entity: media_player.philips_tv
        type: media-control
    icon: 'mdi:home'
    path: default_view
    title: Home
  - cards:
      - entities:
          - entity: sensor.dark_sky_summary
            name: Zusammenfassung
          - entity: sensor.dark_sky_daily_summary
            name: Vorhersage
          - entity: sensor.dark_sky_cloud_coverage
            name: Wolkendecke
          - entity: sensor.dark_sky_humidity
            name: Luftfeuchtigkeit
          - entity: sensor.dark_sky_pressure
            name: Luftdruck
          - entity: sensor.dark_sky_visibility
            name: Sichtgrenze
          - entity: sensor.dark_sky_uv_index
            name: UV Index
          - entity: sensor.dark_sky_temperature
            name: Temperatur
          - entity: sensor.dark_sky_apparent_temperature
            icon: 'mdi:thermometer-lines'
            name: Gefühlte Temperatur
          - entity: sensor.dark_sky_precip_probability
            name: Regenwahrscheinlichkeit
          - entity: sensor.dark_sky_precip_intensity
            name: Regenintensität
          - entity: sensor.dark_sky_wind_speed
            name: Windgeschwindigkeit
          - entity: sensor.dark_sky_wind_gust
            name: Windböen
          - entity: sensor.dark_sky_wind_bearing
            name: Windrichtung
          - entity: sensor.dark_sky_nearest_storm_distance
            name: Gewitter-/Sturmentfernung
          - entity: sensor.dark_sky_nearest_storm_bearing
            name: Gewitter-/Sturmrichtung
        show_header_toggle: false
        title: Wetterdaten (now)
        type: entities
      - cards:
          - entities:
              - entity: sensor.dark_sky_temperature
                name: Temperatur
              - entity: sensor.dark_sky_apparent_temperature
                name: Gefühlte Temperatur
            hours_to_show: 168
            refresh_interval: 300
            title: Temperatur
            type: history-graph
          - entities:
              - entity: sensor.dark_sky_precip_probability
                name: Regenwahrscheinlichkeit
              - entity: sensor.dark_sky_humidity
                name: Luftfeuchtigkeit
            hours_to_show: 168
            refresh_interval: 300
            title: Regen und Luftfeuchte
            type: history-graph
          - entities:
              - entity: sensor.dark_sky_pressure
                name: Luftdruck
            hours_to_show: 168
            refresh_interval: 300
            title: Luftdruck
            type: history-graph
        type: vertical-stack
      - type: vertical-stack
        cards:
          - type: weather-forecast
            entity: weather.dark_sky
            name: Wetterzusammenfassung
          - type: picture-glance
            camera_image: camera.rain
            title: Regenradar
            entities:
              - camera.rain
          - type: picture-glance
            camera_image: camera.cloud_and_sun
            title: Wolkenradar
            entities:
              - camera.cloud_and_sun
    badges:
      - sensor.dark_sky_summary
      - sensor.dark_sky_temperature
      - sensor.dark_sky_apparent_temperature
      - sensor.yr_symbol
      - sensor.dark_sky_cloud_coverage
      - sun.sun
      - null
      - sensor.season
    icon: 'mdi:weather-partlycloudy'
    title: Wetter

Traceback (if applicable):
n.a.
Additional information:
The issue came most likely due to timing/refresh/updating issues and I was too fast. Request is:
when saving, HA should not store badges with "null" value.

/move to home-assistant-polymer


Xsl error

spotbugs 4.0.4
runing: gradlew clean build --console=plain

Task :spotbugsMain
Warning at xsl:variable on line 348 column 57 of default.xsl:
SXWN9001: A variable with no following sibling instructions has no effect

If you mean https://github.com/spotbugs/spotbugs/issues/1025 it'll be fixed in the next SpotBugs release.

I guess that this problem is fixed by SpotBugs 4.0.2.
Feel free to reopen this issue if you need, with a mcve project.


Segmented buttons

I made an attempt to adapt the Segmented Button in M3 to an iOS style through customizing its style parameter. The WIP code is in this DartPad: https://dartpad.dev/?id=d15735606e497715d04102f3d017b92c. It seems doable, but is it any easier than switching to CupertinoSegmented?

https://github.com/InMatrix/veggieseasons_adaptive/commit/68e90a822dbd07eef67cad63dbf7fd67e0778b37 added a customized version of Material SegmentedButton widget in the iOS style. It's not a perfect match but shows the potential of using ButtonStyle to customize SegmentedButton.


Suppress All Dissent

Dead groups are being purged

Alert Consul when messages are deleted, when moderators do actions, when groups are deleted, etc.


Incorrect confirmation value is showing when user clicks on I have made payment without bitcoin transaction confirmations

To Reproduce
Steps to reproduce the behavior:

Go to issue section , initiate a issue request
You will be asked to make payment to a bitcoin address , do the payment
Without the confirmation on bitcoin network , click I have made payment
See below , confirmation value is showing 1.
Go to request detail page , claim polkabtc button is active

Expected behavior
Confirmation should not show 1 ,claim button should not be active
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.

Thanks for the bug report. We closed this in #148


Version 1.0.1 not pulling from confluent

Hi,
When i try to pull latest version using Confluent install, its pulling 1.0.0 version, can you please help me how to pull the latest version of this repo?

Hi all - I've looked into why we haven't picked up 1.0.1 for Confluent Hub and it turns out that it's because there isn't a tag in the repository for a release.
At the moment the pom.xml file on master has a version 1.0.1 but there's no way of ensuring exactly which versions of all the other files are part of the release.
So if @nishutayal can tag the current state (or a previous commit, whatever she thinks is stable / consistent) then the Confluent Hub team can pick it up.

Hi all, I have lost access to my account, hence created an alternative account and you can refer that for the latest updates going forward.  Apology for the inconveniece and delayed response.
@MichaelHussey  :  Thanks for the update. I have pushed the tag in another repository :
https://github.com/tayalnishu/kafka-connect-hbase


no nvidia-smi / cuda driver in deeplearning-nvidia

Hi, I can't tell if the template working as intended butit doesn't look like the workspace created with the deeplearning-nvidia template have gpu passthrough:
coder@asdasdasd:~$ ls -la /dev/nvidia*
crw-rw-rw- 1 root root 195, 254 Apr 22 11:11 /dev/nvidia-modeset
crw-rw-rw- 1 root root 235,   0 Apr 22 11:11 /dev/nvidia-uvm
crw-rw-rw- 1 root root 235,   1 Apr 22 11:11 /dev/nvidia-uvm-tools
crw-rw-rw- 1 root root 195,   0 Apr 22 11:11 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Apr 22 11:11 /dev/nvidiactl
coder@asdasdasd:~$ nvidia-smi
bash: nvidia-smi: command not found

I would expect that using gpus     = "all" is the same as podman run --device=nvidia.com/gpu=all .... Am I wrong?

@MathieuMoalic I have not tested it with Podman and am wondering if the docker provider works with Podman. See these issues for more context:

https://github.com/containers/podman/issues/20547
https://github.com/kreuzwerker/terraform-provider-docker/issues/113

Also, have you tried with docker?

You are correct indeed. Terraform doesn't seem to pass the gpu using podman and sadly it doesn't raise an error. Anyways, works perfectly with docker. Thank you!


Android 12 Device Discovery Issue and More

I have an Xamarin App using the Plugin that works perfectly in Android 11 but not Android 12.
As a side note, is there any way to use the Plugin API to get pairing status? In a parallel project I observed the following Android 12 behavior.
A12 appears to allow a phone to register the Services right away before pairing. This will problematic for the App because after connection it starts looking for the Services and then after registering them it moves forward with final secure connection to the target device. If the Secure message sequence occurs BEFORE the phone has paired with the device we have a problem. Ideally, if there was a way for the App to know whether or not pairing has occurred it could wait for pairing to complete before moving forward with the Secure message sequence to the target device.
This isn't a problem in A11 because the Services registration doesn't seem to work until after pairing. So if you are just waiting for registering Services all is fine because it doesn't happen until after pairing. A12 seems to be different and by not restricting Services before pairing, the App has no way of knowing when to proceed with further BLE messaging to the target device after the registration unless it has the pairing status.
Steps to reproduce

Use Android 12

await _bluetoothAdapter.StartScanningForDevicesAsync(null, null, false, source.Token);

Expected behavior
I am expecting device discovery
Actual behavior
For Android 12 I never seem to see any devices discovered,
Crashlog
If something causes an exception paste full stack trace + Exception here
Configuration
Version of the Plugin: 2.12
Platform: Android 12
Device: Samsung S21

Hi @gtrigdon,
I'm the friendly issue checker.
Thanks for using the issue template :star2:
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

About the discovery issue ...
You'll need to use the new Bluetooth permission scheme when targeting Android 12: https://developer.android.com/guide/topics/connectivity/bluetooth/permissions

About the discovery issue ... You'll need to use the new Bluetooth permission scheme when targeting Android 12: https://developer.android.com/guide/topics/connectivity/bluetooth/permissions

#582 shows how to do that (for the BLE.Client.Droid sample app). @gtrigdon, can you confirm that using the proper permissions fixes your issue with device discovery?

Hi, I figured out that the discovery issue was linked to the "Location" setting. If that setting is "off" I don't get discovery. I downloaded nRF connect App from Nordic and saw the same behavior.
Do you have any further feedback on the other issue revolving around pairing?
Thanks
Gerry

Hi, I figured out that the discovery issue was linked to the "Location" setting. If that setting is "off" I don't get discovery. I downloaded nRF connect App from Nordic and saw the same behavior.

You mean the location permission? Or what kind of 'setting' are you talking about?
Actually up to Android 11 (API levels <= 30), the location permission was required for using Bluetooth functionality. In Android 12 (API level 31) this was changed. A new permission scheme was introduced, and the location permission is not strictly required any more for using Bluetooth (for details see the link above).
Are you actually targeting Android 12 (API 31) with your app, or just running an app that targets Android 11 or lower on an Android 12 device?

Do you have any further feedback on the other issue revolving around pairing?

Not really, sorry. I'm not quite sure I understand the problem. Also this should better be in a separate issue, since it's a completely different matter.

Actually up to Android 11 (API levels <= 30), the location permission was required for using Bluetooth functionality. In Android 12 (API level 31) this was changed. A new permission scheme was introduced, and the location permission is not strictly required any more for using Bluetooth (for details see the link above).
Are you actually targeting Android 12 (API 31) with your app, or just running an app that targets Android 11 or lower on an Android 12 device?

Hi janusw, I stumbled over the same problem. I did implement exactly as shown in your sample. I could discover devices with my Android 11 device, but not in my Android 12 device. I then checked to see if the nRF Connect-App from Nordic was able to discover devices - they asked for 'ACCES_FINE_LOCATION'-Permission. So I gave it a try and added this request in my Android 12 code and it did the trick. Not sure what's going on here, but the problem is solved.
Thank you guys again for your awesome job. I'm using this lib now for over 5 years - it's great!


drivefs slowing down system

Hello,
System: Acer cb3-131, Xubuntu 16.04.6 LTS
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20190902190258~master:9a594a66
release: xenial
architecture: amd64
xmethod: xorg
targets: xfce,xfce-desktop,keyboard,audio,chrome,core,x11,extension,cli-extra,gtk-extra
host: version 12499.14.0 (Official Build) dev-channel gnawty
kernel: Linux localhost 4.4.190-16767-gc7fb8286550e #1 SMP PREEMPT Wed Sep 25 01:05:20 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/xenial as another instance is using it.```

#### Please describe your issue:

drivefs is slowing down my system after some time. I think this happened to me when I recently updated crouton because I don't remember having this problem few months ago. This is the output of the top command when this issue is happening (CPU usage is very high for drivefs):

``` 7038 user     20   0 1218108  17484   8780 R  92,9  0,4  28:13.58 drivefs
 4961 user     20   0 1216900  19516  13164 R  92,3  0,5   2:19.92 drivefs
 1159 user     12  -8<PHONE_NUMBER>80  69488 S   3,5  3,6   4:08.77 chrome
 3251 user     20   0  323892  55472  47984 R   1,9  1,4  18:25.46 Xorg
 5969 user     20   0  386128  15984  13140 S   1,3  0,4   0:05.31 xfce4-terminal
16747 user     20   0  754144  85108  71444 S   1,0  2,2   2:26.95 chrome
 2623 user     20   0  644920  59144  22728 R   0,6  1,5   3:19.50 chrome```

At first pkill drivefs didn't work, it was just ignoring the command but then with kill -9 pid it works and kills the process. From my understanding drivefs allows us to see google drive folders in Linux. I don't want it, is it necessary? if not, how can we uninstall it?

Thanks.

This is a chromeos issue, however the bug isn't public anymore. probably a
security issue. I am on stable. Was on dev, but the system became unusable.
On Mon, 30 Sep 2019, 14:39 ylzhan<EMAIL_ADDRESS>wrote:

Hello,
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20190902190258~master:9a594a66
release: xenial
architecture: amd64
xmethod: xorg
targets: xfce,xfce-desktop,keyboard,audio,chrome,core,x11,extension,cli-extra,gtk-extra
host: version 12499.14.0 (Official Build) dev-channel gnawty
kernel: Linux localhost 4.4.190-16767-gc7fb8286550e #1 SMP PREEMPT Wed Sep 25 01:05:20 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/xenial as another instance is using it.```
Please describe your issue:
drivefs is slowing down my system after some time. I think this happened to me when I recently updated crouton because I don't remember having this problem few months ago. This is the output of the top command when this issue is happening (CPU usage is very high for drivefs):
 4961 user     20   0 1216900  19516  13164 R  92,3  0,5   2:19.92 drivefs
 1159 user     12  -8<PHONE_NUMBER>80  69488 S   3,5  3,6   4:08.77 chrome
 3251 user     20   0  323892  55472  47984 R   1,9  1,4  18:25.46 Xorg
 5969 user     20   0  386128  15984  13140 S   1,3  0,4   0:05.31 xfce4-terminal
16747 user     20   0  754144  85108  71444 S   1,0  2,2   2:26.95 chrome
 2623 user     20   0  644920  59144  22728 R   0,6  1,5   3:19.50 chrome```

At first pkill drivefs didn't work, it was just ignoring the command but then with kill -9 pid it works and kills the process. From my understanding drivefs allows us to see google drive folders in Linux. I don't want it, is it necessary? if not, how can we uninstall it?

Thanks.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/dnschneid/crouton/issues/4144?email_source=notifications&email_token=ABN6R7DEHUPI5BQQTX4INPTQMHXP5A5CNFSM4I32KRS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HORGWKQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABN6R7AAM5D44AMSFX2DGNDQMHXP5ANCNFSM4I32KRSQ>
.


Build for node v8

We need to start building binaries for node v8 in the next release. We've started doing this for windows already, but mac is blocked by https://github.com/mapnik/node-mapnik/issues/773. Once https://github.com/mapnik/node-mapnik/issues/773 is done then we need to:

[ ] Enable node v8 for linux
[ ] Enable node v8 for mac
[ ] Ensure all tests pass

Does attached
2017.06.02,mapnik.build.failed.txt
failed build log has anything to do with this issue?
While we wait for the binaries, how can I fix this so it gets built?

@springmeyer I'm just jumping in here from the outside, but I see that #773 is now closed. Does that mean that v8 should work now?

@wemcdonald almost. node-mapnik v3.6.1 will be released soon with node v8 support.

@flippmoke can this be closed?

I don't know about all the items you listed in your first message, but I can confirm now Mapnik installs fine both in Node 8.0.0 and v8.1.1

@flippmoke can this be closed?

@flippmoke bump

Works for me.


[sidechain] block verification: parentchain header discrepancies.

I have never thought the following issue to the end. What do we do when the parentchain header of the sidechain block to be imported diverges from the latest finalized parentchain head known to the importing validateer?
Two scenarios can occur:
1. SidechainBlock Parentchainhead > LatestFinalizedHead
Here we can simply put the block in an ImportBuffer and wait with the import until we have imported the parentchain head. For this case; does it make sense to put the whole parentchain header in the sidechain block? This would allow ancestor verification of the future block and only include it in the buffer if the ancestor check is ok.
1. SidechainBlock Parentchainhead < LatestFinalizedHead
I think this one is tricky. If we do this wrong, our sidechain might fork. In general, we should only accept blocks that lag at most 1 parentchain block behind (n-1). (Otherwise, something is seriously wrong with the authoring validateer, and it should not be able to produce a valid block anyhow). I assume validateers frequently receive sidechain blocks produced just at the border between parentchain block n and n-1. Hence some validateers will already have seen block n, while others won't.
Under the assumption that this occurs regularly, I suppose to handle this case proactively with the following scheme:
When parentchain block n is received, we wait with its import until:

it is our slot
we receive the first sidechain block that was built on block n.

@brenzi, @haerdib, @mullefel do you see any flaws, suggestions?

I think your rules are incomplete. If everyone waits until the first validateer produces block n, we will stall
Finality can propagate quickly and I think a tolerance of n-1 OR n is fine, given that sidechain blocks will be more frequent than parentchain blocks

Why do we stall? If it is our slot, and we have a pending block import, we import the parentchain block first and then produce a sidechain block.
I am quite confident that we can't simply implement a tolerance, as this might cause state inconsistencies.

further tackled in #345. @clangenb please close if covered by that issue

Let me summarize: This issue is now only about this sentence:

Only the authoring validateer can progress from parentchain block n-1 to n, all others wait with the import of block n until they receive a sidechain block built upon block n.

And this is not tackled in #345 which is about state reverting of the sidechain state.
This issue here is only about the light client: only sync next parentchain block (n) once one the following conditions are met:

it is my slot
I have received a sidechainblock that points to block n

is my take correct?

That's my understanding at the moment, yes

I agree with @mullefel and @haerdib 👍


Add TETRIX TechTree from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of theJesuit, to add TETRIX TechTree to CKAN.
Please direct questions about this pull request to theJesuit.
Mod details:
name = /mod/2299/TETRIX%20TechTree
author = theJesuit
abstract = An extended TechTree in the style of Simplex, with additional nodes to better support mods.
license = CC-BY-NC-SA
Homepage = https://forum.kerbalspaceprogram.com/index.php?/topic/174731-18x-and-prior-simplex-techtree-110/
description =
TETRIX Techtree is divided into five branches, each with two or three strands.

Each tier requires twice the number of science points to unlock the next node in tiers, to unlock tier 4 and tier 7 you will need to upgrade the R&D building respectively.
Mods that utilise Part Upgrades (KSPIE and Kerbalism currently supported) will find that upgrades are located in subnodes if they are installed.
Requires Module Manager (not included).
*NOT COMPATIBLE WITH other tech trees such as CTT.
Tree Branches and Strands

Propulsion
*	Atmospheric Propulsion

*	Rocket Propulsion branching to Precision Propulsion, eventually to Ion and Nuclear.

Electrics
*	Power generation and storage  Stability Controls (SAS, RCS etc) leading to Small Propulsion

*	Probes and Communication  Aerodynamics (wings, cones)

Engineering
*	Stablity leading to Actuators and ISRU

*	Engineering (legs, wheels, parachutes, anything a little 'special')

*	Construction (coupling and decoupling, structural)

Tanks and Payload
*	Fuel Tanks

*	Aerodynamics (wings and payload storage)

Crewed
*	Crew Support (station and base components, life support, experiments)

*	Crewed Landers leading towards laboratories

*	Crewed Command modules

Forum link goes to SIMPLEX Tech Tree, which I don't think this is.


(Feature)(ui) Prompt Storage

What type of PR is this? (check all applicable)

[ ] Refactor
[X] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[X] Yes
[ ] No, because:

Have you updated all relevant documentation?

[ ] Yes
[ ] No

Description
some groundwork for Prompt Storage
dev please review the direction i took for the non ui code in the pr is what is wanted,
(ignore the buttons their only for testing

Related Tickets & Documents

Related Issue #
Closes #

QA Instructions, Screenshots, Recordings

Added/updated tests?

[ ] Yes
[ ] No : please replace this line with details on why tests
have not been included

[optional] Are there any post deployment tasks we need to perform?

to many conflicts will try and remake


Some characters in compound keys are invalid

https://cdn.discordapp.com/attachments/306175724942000128/554849203751485460/unknown.png

Fixed in: 4959a40e148cbdf203884b6db5a5f79bd28e53a9


How can we implement and test new strategies?

I am also building a service-based app into fully automated algo trading. I was searching in Github and I saw this repo.
I would like to know more details about how this works and if possible, I can implement some good strategies.
I also saw the deviation strategy, I think it is using options data and giving a response in put-call signals.

Hey Aaditya,
you are right. Around a year back I was working for one of Veteran Stock Broker on the project to automate one of his strategies. I've also built the Backtester for testing it on Historic data (also in Github). Use can add another strategy of your in the strategy directory and start testing it.
PS: show some love ⭐on the repo, if you find it adding value


PDF File issue

PDF.js v2.0.815 (build: d6927376)
Message: Invalid PDF structure

Can some one help me out on this..

Please share your PDF.

without PDF can it provide some solution.. as it is confidential.

No. You could try viewing the file with other products and see what error messages they bring up, e.g. Apache PDFBox, VeraPDF, Chrome, Ghostscript. But most likely, it is your PDF that is to blame. Even if Adobe can display it.

Alternatively, you could try to create a non-confidential PDF with the same generator to reproduce the issue, or remove the confidential information from the original PDF file, but without a sample PDF file or much more debugging information there is nothing we can do.


import Mapping from abc

Importing and ABC directly from collections is deprecated and raises a warning in my tests.
This should fix the warning

Coverage remained the same at 66.2% when pulling a5a0154844ea4345bf8d1723023855ee66d73842 on glyg:patch-1 into baf03e7e915c4863582fe6291b0879d1120065e0 on maartenbreddels:master.

Coverage remained the same at 66.2% when pulling a5a0154844ea4345bf8d1723023855ee66d73842 on glyg:patch-1 into baf03e7e915c4863582fe6291b0879d1120065e0 on maartenbreddels:master.

Thanks!

No pb!
You saw that python2.7 breaks right? Not that it matters really, but maybe you can cut it off you travis?

Ouch, that is really sloppy of me. Would you mind opening a PR for that? I wasn't planning to support it anymore.


Import excel with wrong decimal value

I had imported the excel file with the values below

After  I import this value, I found that the decimal of value has changed from<PHONE_NUMBER>69 to<PHONE_NUMBER>6899999 as the screenshot below with red box

Here's my code

after log the workbook and jsonData properties  the value has been changed as I mention before.
My question is, why the value has changed or I miss something and make the value changed?

For Excel XLS/XLSX/XLSB files, the v value is the actual value stored in the file and the w is the formatted number that you will see in the cell.  For numeric cells, the value is an IEEE754 double.
If you want to see a clearer example, the attached file set A1=0.1, A2=0.2, A3=A1+A2: issue2546.xlsx
If you try to read it in SheetJS you will get

That 0.30000000000000004 is not a mistake -- it is the same value you would get by running 0.1+0.2 in your JS REPL.


edupont04 from OPS portal: Merge from master to live

Docs Build status updates of commit 7b33316:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/US19JanTaxR1.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


How to get current location name?

Hi
I can get lat, long value. Is possible to get that place name of lat, long. Eg: {"lat":13.047109899999999,"long":80.1982862}  is represents chennai (Exactly => Vadapalani) is possible?

This isn't an issue. What the user is asking requires a whole separate service. The issue should be closed.


[HUDI-910]Introduce HoodieWriteInput for hudi write client

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
This pull request introduce HoodieWriteInput for hudi write client as the unified input format.
Brief change log

add a new module hudi-writer-commom
introduce HoodieWriteInput for hudi write client as the unified input format.

Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Hi @yanghua , could you please take a look when free, thanks!

Codecov Report

Merging #1665 into master will decrease coverage by 0.10%.
The diff coverage is n/a.

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

Is there an umbrella task to understand how all the follow up work will be.. on this..For e.g I am wondering what the eventual methods on HoodieWriteInput will be and how it will abstract away the RDD construct

Is there an umbrella task to understand how all the follow up work will be.. on this..For e.g I am wondering what the eventual methods on HoodieWriteInput will be and how it will abstract away the RDD construct

Is there an umbrella task to understand how all the follow up work will be.. on this..For e.g I am wondering what the eventual methods on HoodieWriteInput will be and how it will abstract away the RDD construct

yes, here it is : https://issues.apache.org/jira/browse/HUDI-909
currently only four subtasks are filed, which is the very foundation of the entire abstraction:

Introduce HoodieWriteInput for hudi write client: https://issues.apache.org/jira/browse/HUDI-910
Introduce HoodieWriteOutput for hudi write client: https://issues.apache.org/jira/browse/HUDI-911
Introduce HoodieWriteKey for hudi write client: https://issues.apache.org/jira/browse/HUDI-912
Introduce HoodieEngineContext for hudi write client: https://issues.apache.org/jira/browse/HUDI-913

For Spark these could be :
JavaRDD<HoodieRecord<T>> records = ... ; // read from souce HoodieWriteInput<JavaRDD<HoodieRecord<T>>> inputRecords = new HoodieWriteInput(records); JavaRDD<HoodieRecord<T>> inputRdds = inputRecords.getInputs();
JavaSparkContext jsc = ...;
HoodieEngineContext<JavaSparkContext> hec = new HoodieSparkEngineContext(jsc); //HoodieSparkEngineContext<JavaSparkContext> implements HoodieEngineContext
JavaSparkContext jsc = hec.getContext();
The HoodieWriteKey and HoodieWriteOutput are the same as HoodieWriteInput.
upsert api could be like this:
public HoodieWriteOutput<JavaRDD<WriteStatus>> upsert(HoodieWriteInput<JavaRDD<HoodieRecord<T>>> records, final String instantTime) {...}
The content of the method is almost the same as before.

@vinothchandar just a reminder on this PR.

@wangxianghu @leesf sorry  for that delays. I was trying to understand the relation to this work
https://issues.apache.org/jira/browse/HUDI-538 cc @yanghua
This is not still clear to me where we are moving towards. While I agree that abstracting RDD into a WriteInput, like to understand how the existing code is going to evolve further. May I ask that we do a draft or first that replaces the entire code in hudi-client with these abstractions ( no need to even have the code compile. But want to understand the final shape we are looking at). I am also happy to do that myself and discuss.. Please let me know if that seems like a reasonable ask

This pr itself is fine. But given we are adding a new module and this is a critical thing to get right, trying to understand more upfront

@wangxianghu @leesf sorry for that delays. I was trying to understand the relation to this work
https://issues.apache.org/jira/browse/HUDI-538 cc @yanghua
This is not still clear to me where we are moving towards. While I agree that abstracting RDD into a WriteInput, like to understand how the existing code is going to evolve further. May I ask that we do a draft or first that replaces the entire code in hudi-client with these abstractions ( no need to even have the code compile. But want to understand the final shape we are looking at). I am also happy to do that myself and discuss.. Please let me know if that seems like a reasonable ask

Hi @vinothchandar thanks for your suggestion. Replacing the entire code in hudi-client with new abstractions is a good choose, I'll do it :)

@wangxianghu Thanks for being a sport! That will give us good confidence that we can ultimately pull this off.. Happy to help along as needed..

@wangxianghu Thanks for being a sport! That will give us good confidence that we can ultimately pull this off.. Happy to help along as needed..

Hi @vinothchandar , This is the abstration of hudi-client module(in module hudi-client2):https://github.com/wangxianghu/hudi/commit/dd726797fd721b41078852a459cb26887c2f709d
please take a look when free.
If you agree with this abstraction, may I introduce a new feature branch named "multi-engine abstraction" or something else to hold the new abstraction, and merge it when finished.
The module structure could be like this:
└── hudi-client
├── hudi-client-common
├── hudi-client-spark
├── hudi-client-flink
└── hudi-client-java

Sg.. Will jump on #1727 . Closing this one


Rendering of Imp Master needs work

The color palette of the imp master isn't correct.

Thank you for the heads up!
Altough this wasn't an issue of sunwell, but of the exporter I used to get the artworks from the game, its fixed now: http://hearthstonelabs.com/cards#lang=enUS;search=i;detail=EX1_597


contact form give a 400 js error

jquery.min.js:4 POST<EMAIL_ADDRESS>400 (BAD REQUEST)

Hard to debug, without more information. Any link to your site or code? Any additional info?

http://www.abundanceai.com/

As far as I can see you changed the agency.js code to not use json on the cross origin request, which leads to a cross origin error 405. The above error 400 (BAD REQUEST) didn't come up at all.

you are right michael. I was getting the 400 error yesterday night. I will try and fix the 405 error


Empty client secret when defining it from environment variables

Hello,
We are using a service principal with kubelogin and recently migrated to the following commandline:
# Before
kubelogin convert-kubeconfig --login spn --client-id ${ARM_CLIENT_ID} --client-secret ${ARM_CLIENT_SECRET}

# After
kubelogin convert-kubeconfig --login spn --use-azurerm-env-vars

However, with the new commandline, in the ~/.kube/config file, we are missing the --client-secret argument and its value.
- name: clusterUser_REDACTED
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - get-token
      - --login
      - spn
      - --server-id
      - REDACTED
      - --client-id
      - REDACTED
      - --tenant-id
      - REDACTED
      - --environment
      - AzurePublicCloud
      command: kubelogin
      env: null
      provideClusterInfo: false

It results in the following error:
Error: both clientSecret and clientcert cannot be empty

I noticed that changing to the following commandline fixes the issue:
kubelogin convert-kubeconfig --login spn --use-azurerm-env-vars --client-secret ""

Most likely, this is the responsible part, as it checks that the flag is defined in the commandline arguments instead of checking if the value in the struct is non-empty.
https://github.com/Azure/kubelogin/blob/992e74d0fdb4426b36d49a0486be68b9f230d487/pkg/converter/convert.go#L251-L261

It seems there is the same issue with Client ID as well, it's not written out unless you supply an empty value as a parameter

This is still an issue. Thankfully this thread helped me resolve it.


Further improve stack traces

Our efforts to improve stack traces somewhat backfired. Right now we see a shorter stack trace, but often the frame with the actual offending code is omitted. This makes debugging a little tricky.
Our original goal was to show less irrelevant information and more good stuff. We should stick to that ideal and try again. I propose three phases to this effort.

Research how we could improve stack traces.
Implement findings.
Allow stack trace information to be alterable by child repos.

Logging Modules
Loguru
Textualize/rich
pdb
traceback

I think exploring some logging packages seems like a great idea. You can control the number of strack trace "frames" that are shown and I believe you can also to some extent see the code related to the various frames. I wondered if it would be possible to find where our decorator function are in the stack trace, and use them as an anchor to trim from. That might be kind of tricky.


fix large binary reads

Coverage decreased (-0.02%) to 21.2% when pulling 362eca2f2c6454b185aed880101bab097ad27fa3 on sibbi77:master into 79566768ce8b8babf7c5ae99695b6e89726aac13 on hgrecco:master.

Thanks!


Support pandas 1.0

Pandas 1.0 removed some functionalities previously deprecated, and some features seems to be broken. For example, trying to fit a FAMD gives the following error:
~/.pyenv/versions/3.8.2/envs/bioinformatics/lib/python3.8/site-packages/prince/one_hot.py in transform(self, X)
     29
     30     def transform(self, X):
---> 31         return pd.SparseDataFrame(
     32             data=super().transform(X),
     33             columns=self.column_names_,

TypeError: SparseDataFrame() takes no arguments

Yeah I got to fix this...

Hi, trying to use MCA from your package and I get the same error. Any idea what I need to change to make it work? I really need to make that plot :(

@CodePanda9 you could downgrade pandas fow now. How are you installing the packages?

@CodePanda9 try to replace occurrences of SparseDataFrame with a DataFrame with SparseArrays, that should work.

Ok I've just released version 0.7.0. Unit tests are passing with pandas 1.0 so everything should be fine. I'll let @dialvarezs close this.

Is working for me as well, thank you very much @MaxHalford !


Fix setView in 2D and CV

Seperate set view for the three scene modes.
Clone input.
Add more tests to ensure correctness.

For #2943.

Running the sample code in the linked issue seems to cause multiple crashes.  Zoom in a little and hit orient north

@mramato it doesn't crash for me.

@hpinkos sorry, it only happens if you remove the clone.
This should definitely crash.
var viewer = new Cesium.Viewer('cesiumContainer');

Sandcastle.addToolbarButton('Orient North', function(){
    viewer.scene.camera.setView({
        position: viewer.scene.camera.positionWC,
        roll: 0,
        pitch: -Cesium.Math.PI_OVER_TWO,
        heading: 0
    });
});

@mramato The crash is fixed.

I updated CHANGES and everything looks good.  Thanks.


Bigger place to list all drafts?

the recent drafts in the pages panel works great, but when your site gets busy/big its not enough space.
Can we add a complete list of drafts to the Waiting for Me page in the dashboard?... perhaps a new section under waiting for me?
Do we need to worry about paging?
Probably bears a moment of discussion here..

I like it. More organization is always welcome imo.


Add sleep options

試行錯誤して出来た :tada:
https://github.com/kufu/capybara-select2/pull/3

Sorry, I accidentally pulled request.
This is a good code.
Thank you.


Expose prometheus metrics

Proposed change
Follow the same pattern(s) as the NATS server (where/if appropriate) to allow Nex nodes to emit (or be scraped for) metrics.
At the very least, it makes sense that the counters (can go up and down) that relate to potential limits should be exposed:

memory allocation (total, by namespace)
vcpu allocation (total, by namespace)
active machine count

and counters that are grow-only:

execution time (by function, aggregate by namespace) - only applicable to functions

Use case
Operators managing a fleet of Nex nodes will need this feature
Contribution
No response

+1


Omni search: Show results after all subqueries loaded.

I think this improves the user experience of search because the results don't change so many times for one keypress.

Strong agree :+1:


Calendar opening in browser

Previously, it was possible to view the Outlook calendar in Freelook. Now it launches the browser when selecting. This seems like a recent change (within the past few weeks). Obviously this is something on Microsoft's side - but is there anything that can be done to restore the previous behavior?

After a restart this issue seems to be resolved. :shrug:


New site: ccsleep.net

https://ccsleep.net
https://gtmetrix.com/reports/ccsleep.net/9DOouZzZ/ (3.29KB compressed)

Welcome to the 250kb Club!


site-preinstall.yml fails with "doas: authorization required"

Describe the bug
A clear and concise description of what the bug is.
When running, I get an error that authorization is required from doas. I'm not quite sure what's wrong -- I (think) I've set the appropriate variables correctly.
To Reproduce

Open '/etc/doas.conf' and set that file to "permit persist :wheel".
Git clone the repository and open vars.yml.
Set the "admin_ssh_password" to your users password.
Run site-preinstall.

Expected behavior
Doas should not require authorization because my time has not elapsed. And the playbook should (theoretically) handle doas prompts automatically.
Actual behaviour
Doas requires authorization and the playbook fails.
Error log
mail$ ansible-playbook site-preinstall.yml
PLAY [Install/Upgrade Excision on this machine]  32 star characters
TASK [Gathering Facts]  57 star characters
fatal: [main]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"setup": {"failed": true, "module_stderr": "doas: Authentication required\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}}, "msg": "The following modules failed to execute: setup\n"}

PLAY RECAP *********************************************************************

main                       : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

Additional context
Add any other context about the problem here.

Would edit this but those aren't sent as emails so I'll just do it this way: am using OpenBSD 6.9 if that helps.

Ah, I see.
The admin_ssh_password is not for doas, it is for the excision-passwd user.
For your use case, you don't need to allow root without password in /etc/doas.conf with permit nopass root.

So I need to add that in there? I'm kinda confused

There's no documentation on the admin_* variables so I'm not sure what to add to what lol

Yes, just add that line (permit nopass root) in /etc/doas.conf and you should be fine.
The admin_ssh_password is not important at all, I'll rename that to something else, so that it's clearer ❤

I do that and it still fails with the same message. doas.conf looks like this:
permit nopass root
permit persist :wheel
I've tried it the other way around (permit nopass root after permit
persist :wheell) but it causes the same error.
On 5/27/21, A. Tammy @.***> wrote:

Yes, just add that line (permit nopass root) in /etc/doas.conf and you
should be fine.

The admin_ssh_password is not important at all, I'll rename that to
something else, so that it's clearer ❤

--

You are receiving this because you authored the thread.

Reply to this email directly or view it on GitHub:

https://github.com/Excision-Mail/Excision-Mail/issues/61#issuecomment-849862164

--
Signed,
Ethin D. Probst

No longer needed in newer setup.


Metadata validation logs unexpected error

Describe the issue
I created an Apache Airflow runtime configuration named aaaaaaaaaaaaaa and defined all required properties.

The runtime configuration can be saved successfully but the JupyterLab log file contains  the following error message:
[E 2021-03-02 13:37:03.034 ServerApp] Validation failed for instance 'aaaaaaaaaaaaaa' using the airflow schema with error: 'github_api_endpoint' is a required property.

To Reproduce
Steps to reproduce the behavior:

Create an Apache Airflow runtime configuration
Save the runtime configuration
Inspect the log file

Expected behavior
No error is logged.
Deployment information
Describe what you've deployed and how:

Elyra version: 2.1
Installation source:  from source/master branch

@kevin-bates please advise

Hi @ptitzler - clearly there's something to fix here.  Either there's a false validation exception occurring (which would be triggered by the schema validator - which we don't own) or it's a valid exception and the instance is getting persisted and the exception isn't getting propagated - which seems unusual to me given this exception is logged and raised.  I will look into this.
I'd be curious if this reproduces from the CLI (I'll check).

Hmm, I cannot reproduce this with the CLI or GUI.  Are you sure you're running with #1336 and #1341 since I see the github-api-endpoint is the default value.
Here are two runs from the CLI - the first does not set a value for github-api-endpoint (and is persisted with the default value), the second does (and is persisted with the specified value)...
With default value...
$ elyra-metadata install runtimes --schema_name=airflow --display_name=bbbbbbbbbbbbbb --api_endpoint=http://my-airflow --github_repo=myname/myrepo --github_branch=mybranch --github_repo_token=secertstuff --cos_endpoint=http://my-cos-server --cos_username=mycosname --cos_password=mycossecret --cos_bucket=mycosbucket
Metadata instance 'bbbbbbbbbbbbbb' for schema 'airflow' has been written to: /Users/kbates/Library/Jupyter/metadata/runtimes/bbbbbbbbbbbbbb.json

$ cat /Users/kbates/Library/Jupyter/metadata/runtimes/bbbbbbbbbbbbbb.json
{
  "display_name": "bbbbbbbbbbbbbb",
  "metadata": {
    "api_endpoint": "http://my-airflow",
    "github_api_endpoint": "https://api.github.com",
    "github_repo": "myname/myrepo",
    "github_branch": "mybranch",
    "github_repo_token": "secertstuff",
    "cos_endpoint": "http://my-cos-server",
    "cos_username": "mycosname",
    "cos_password": "mycossecret",
    "cos_bucket": "mycosbucket"
  },
  "schema_name": "airflow"
}

Without default value...
$ elyra-metadata install runtimes --schema_name=airflow --display_name=abbbbbbbbbbbbb --api_endpoint=http://my-airflow --github_repo=myname/myrepo --github_branch=mybranch --github_repo_token=secertstuff --cos_endpoint=http://my-cos-server --cos_username=mycosname --cos_password=mycossecret --cos_bucket=mycosbucket --github_api_endpoint=http://mygithub
Metadata instance 'abbbbbbbbbbbbb' for schema 'airflow' has been written to: /Users/kbates/Library/Jupyter/metadata/runtimes/abbbbbbbbbbbbb.json

$ cat /Users/kbates/Library/Jupyter/metadata/runtimes/abbbbbbbbbbbbb.json
{
  "display_name": "abbbbbbbbbbbbb",
  "metadata": {
    "api_endpoint": "http://my-airflow",
    "github_api_endpoint": "http://mygithub",
    "github_repo": "myname/myrepo",
    "github_branch": "mybranch",
    "github_repo_token": "secertstuff",
    "cos_endpoint": "http://my-cos-server",
    "cos_username": "mycosname",
    "cos_password": "mycossecret",
    "cos_bucket": "mycosbucket"
  },
  "schema_name": "airflow"
}

Here's another run from the GUI - showing the server log (with DEBUG enabled) and the resultant file:
[D 2021-03-02 15:10:40.539 ServerApp] Namespace 'runtimes' is using metadata directory: /Users/kbates/Library/Jupyter/metadata/runtimes from list: ['/Users/kbates/Library/Jupyter/metadata/runtimes', '/usr/local/share/jupyter/metadata/runtimes', '/usr/share/jupyter/metadata/runtimes', '/opt/anaconda3/envs/elyra-dev/share/jupyter/metadata/runtimes']
[D 2021-03-02 15:10:40.543 ServerApp] Created metadata instance: /Users/kbates/Library/Jupyter/metadata/runtimes/ccccccccccccccc.json
[D 2021-03-02 15:10:40.543 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/ccccccccccccccc.json'
[D 2021-03-02 15:10:40.545 ServerApp] 201 POST /elyra/metadata/runtimes?1614726640535 (::1) 7.41ms
[D 2021-03-02 15:10:40.601 ServerApp] Accepting token-authenticated connection from ::1
[D 2021-03-02 15:10:40.601 ServerApp] Namespace 'runtimes' is using metadata directory: /Users/kbates/Library/Jupyter/metadata/runtimes from list: ['/Users/kbates/Library/Jupyter/metadata/runtimes', '/usr/local/share/jupyter/metadata/runtimes', '/usr/share/jupyter/metadata/runtimes', '/opt/anaconda3/envs/elyra-dev/share/jupyter/metadata/runtimes']
[D 2021-03-02 15:10:40.602 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/baz.json'
[D 2021-03-02 15:10:40.602 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/abbbbbbbbbbbbb.json'
[D 2021-03-02 15:10:40.602 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/kf_1.json'
[D 2021-03-02 15:10:40.603 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/airflow_1.json'
[D 2021-03-02 15:10:40.603 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/foofoo.json'
[D 2021-03-02 15:10:40.603 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/bbbbbbbbbbbbbb.json'
[D 2021-03-02 15:10:40.603 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/kfp-dex-auth.json'
[D 2021-03-02 15:10:40.604 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/ccccccccccccccc.json'
[D 2021-03-02 15:10:40.604 ServerApp] Loading metadata instance from: '/Users/kbates/Library/Jupyter/metadata/runtimes/kf_eg.json'

$ cat ~/Library/Jupyter/metadata/runtimes/ccccccccccccccc.json
{
  "display_name": "ccccccccccccccc",
  "metadata": {
    "github_repo_token": "sdfsdfsdfs",
    "api_endpoint": "http://my-airflow-server",
    "github_branch": "mybranch",
    "github_repo": "http://my-github",
    "cos_endpoint": "http://mycos-server",
    "cos_password": "sdfsdfsdf",
    "cos_username": "sdfsdfsdf",
    "cos_bucket": "sdfsdfsdf",
    "github_api_endpoint": "https://api.github.com"
  },
  "schema_name": "airflow"
}

I guess I need more information to proceed - please advise.


Fix functions types

Problem
When I try to run functions locally I get type errors in the functions
Solution
Fix functions types to be available to run functions locally

Resolved in #49

@sebastianpiq can we close this issue, or is something still pending?


Tests for fee estimation and post tx when tx max size is reached for single and multi output tx

Issue Number

Overview

[ ] I have added those tests

Comments

both tests are in common core/test/integration/Test/Integration/Scenario/API/Transactions.hs since the behovior is the same for Jormungandr and http-bridge
eventually didn't added test for 256 inputs in jormungandr, perhaps it would be good to add it but.. it takes a lot of time to run (constructing 256 utxo) and maybe those tests are now good enough (?)

eventually didn't added test for 256 inputs in jormungandr, perhaps it would be good to add it but.. it takes a lot of time to run (constructing 256 utxo) and maybe those tests are now good enough (?)

@piotr-iohk I think that's something we have better tested at the unit level, as we do. This 256 limits is in practice not reachable because our max number of inputs allowed for the selection will likely stay lower than that.

I think that's something we have better tested at the unit level, as we do.

@KtorZ - can such test be added on unit level? I got impression from previous chats that's it's not quite possible on that level... maybe I've misunderstood, but if it's possible then it'd be nice.

This 256 limits is in practice not reachable because our max number of inputs allowed for the selection will likely stay lower than that.

yes, but it'd be good to have that guard (in the form of test) to make sure that any further changes won't make it possible.


Add exclusions to CopyDir

 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.

Range on nil slice in go behaves the same as range on empty slice, so there is no risk of panic here.

OK.


US 02.08.01

As an attendee, I want to brose event posters/event details of other events.
Acceptance Criteria

[x] Simple view for seeing list of events should be present to the user
[x] Each list item should only contain event poster and name (possible name of organizer as well)
[x] User should be able to click an item to see details of the event

Completed


About the role of PLMS

Hi, congratulations on your wonderful job!
https://github.com/rinongal/textual_inversion/blob/83a19a4784236e5bd7eaa2b68a98942a21dafc0f/ldm/models/diffusion/plms.py#L11
I find that you also provide the sampling method PLMS from Pseudo Numerical Methods for Diffusion Models on Manifolds. Is it useful in your situation? If it is true, it would be nice to add a note about it in the readme.
Thanks!

Hi, and thanks!
The PLMS code is actually part of the LDM code. We did not implement / test it ourselves. I'll check if it works with our modifications and update the readme accordingly if it does.


rsync os x

Describe the bug
Archival steps do not specify the required -e ssh field that is required by OS X to auth with SSH.
To Reproduce
Steps to reproduce the behavior, e.g.:

rsync daemon on linux host
try to run archiving steps listed in wiki from OS X
OS X is so bad, it does not use ssh when attempting to connect to daemon

Expected behavior
rsync test instructions work from OS X
System setup:

OS: OS X
rsync via ssh

Config
 full configuration
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsync.log
port = 12000

# rsync module name
[chia]
    # Path with your mounted drives
    path = /mnt/rsyncdrives
    comment = Chia
    # Use the username that you log into Ubuntu with or create a new one
    #uid = chia
    # User group (by default same as username)
    #gid = chia
    use chroot = false
    use setgroups = false
    read only = no
    list = yes
    # dont uncomment this,
    #auth users = none
    # plotman does not work with authentication
    #secrets file = none
    # since we dont use auth only accept connections from plotter's ip
    # hosts allow = plotter.ip.address

Additional context & screenshots

Remote rsync usage is intended to work with rsyncd, not ssh.  This was done to avoid the encryption overhead of rsyncing through ssh.  Note that archival has been significantly reworked and you will be able to setup your own commands if you prefer.
Wouldn't using ssh with rsync bypass the rsyncd service?


Tags page 404: Page not found

I have a problem when I enter the tags section of the site I run on github. I see 404 even if I add a new tag. What's the problem?

Relax, follow the tutorials and you won't get a 404.

@cotes2020 I have read the documents but it is still the same.

@Onurbolatogluu You missed the entire Deployment section. Why not continue patiently read the rest of the Getting Started, it only takes a few minutes.

Thank you for your support, I'm new around here. My problem has been fixed.


Use different format arg when using docker.

Fixes #85.

Thanks!
I'm going to do some investigation to see whether we can get away without the conditional formatting. E.g. podman image list --format '{{json .}}' outputs images as JSON-lines instead of an array. If that's the same as docker, and it works for all the other podman commands, it could be the default.

Thanks @manics!


feat: fetch latest gradle release if no version is given

Closes #2650

@yeikel, apologies about this, but just realized that RELEASE is incorrect and it should be latest.release. I can say that that with that value it does work.
Ultimately I ended up with something like this as an reference:
diff --git a/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java b/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java
index aeac69f77..8dbec6269 100644
--- a/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java
+++ b/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java
@@ -58,7 +58,9 @@ public String getDescription() {

     @Option(displayName = "New version",
             description = "An exact version number or node-style semver selector used to select the version number.",
-            example = "7.x")
+            example = "7.x",
+            required = false)
+    @Nullable
     String version;

     @Option(displayName = "Distribution type",
@@ -76,7 +78,7 @@ public String getDescription() {

     @Override
     public Validated validate(ExecutionContext ctx) {
-        return super.validate(ctx).and(GradleWrapper.validate(ctx, version, distribution, gradleWrapper));
+        return super.validate(ctx).and(GradleWrapper.validate(ctx, version == null ? "latest.release" : version, distribution, gradleWrapper));
     }

     //NOTE: Using an explicit constructor here due to a bug that surfaces when running JavaDoc.

I'm not sure what, specifically, Jonathan had in mind. But I started looking at this and added the beginnings of mocking of gradle wrapper artifacts. Will finish it later. Sorry for messing up the commit history with a sloppy rebase, but it should squash-merge just fine all the same.


Can't run the 03-Code_splits example

when I run webpack on the 03-Code_splits example I get the following error:

const { AureliaPlugin } = require("aurelia-webpack-plugin");
...........^  (Dots added so that it will line up with the { symbol)

SyntaxError: Unexpected token {

I went and updated the webpack.config.js file so that the line with the error reads:
const AureliaPlugin = require("aurelia-webpack-plugin");
But then I get another error:

C:\myPath\demos\03-Code_splits\node_modules\aurelia-webpack-plugin\dist\AureliaPlugin.js:16
constructor(options = {}) {
.............................................^ (Dots added so that it will line up with the = sign)

SyntaxError: Unexpected token =

You need Node 6+ to run this.


failures wrt to subsupscripts

rewrite() throws a warning for

FS ( {a_n} + {\sum_{i \in h_n} y_i^\beta} ) \subseteq C.
 \mathbb{F}^2_ < = \left\{ (s,t) \in \mathbb{F}^2 : \max(s) < \min(t) \right\}
A^2_ <

and it seems to come down to subsup's.

I've filed https://github.com/zorkow/speech-rule-engine/issues/418.

I've filed zorkow/speech-rule-engine#418.

@zorkow has kindly looked and already has a fix.

I don't really want to work around upstream issues. But 7063588 adds another warning when no data-semantic-speech is found.


Is it possible to connect to either mainnet/testnet of the blockchain networks to register the DID and DID doc?

I want to know whether can we register the DID and DID doc in the associated blockchain network.

Hi,
Please check our documentation to see if this answers your question.
https://veramo.io/docs/veramo_agent/did_methods

I have checked the documentation. It says that the corresponding smart contract will be called and data will be added in the blockchain. I have also gone through the code and I have checked the default.yaml file under the folder veramo/packages/cli/default. In that file there is a field called "registry" with the value "0x05cc574b19a3c11308f761b3d7263bd8608bc532". Is this the address of the corresponding smart contract ?

The default registry on most ethereum networks is at 0xdca7ef03e98e0dc2b855be647c39abe984fcf21b. You can see the known deployments in the ethr-did-registry readme.
The address you discovered in the config was a local deployment at the time the config was being created and it should not be there. It is actually a bug and thanks for spotting it :)
That being said, it is important to know that, by design,  the DIDs using the did:ethr method do not need to be registered on chain when they are created. They only need to interact with the registry when there is a need to update the default DID document (like when adding a new public key or service entry)
I hope this answers your question.
Please reopen this issue if there is still confusion about this specific subject, and if you have other questions that are not bugs or feature requests, feel free to use the discussions board.


Make sure /opt/ztf/bin/zads-delete-expired-topics can find kt

The current version of /opt/ztf/bin/zads-delete-expired-topics assumes kt is on the PATH. kt is currently installed in /usr/local/bin. But when run from cron, /usr/local/bin is not on the path.
A fix may be to add
export PATH="$PATH:/usr/local/bin"

somewhere.

Note: I manually fixed this in the current deployment, but not in the terraform scripts.

@spenczar Looks like we found the culprit for the failing cron job.


Installation instructions for CentOS 8/Rocky Linux 8/RHEL 8

Issue: pgexporter/pgexporter#21

You need to add yourself to the AUTHORS file as well

There is no reason to have the same command twice...

@jesperpedersen with e45ab3b to 2a3fe6e I changed commit message as well.

You need to remove the "Fedora" part still... do
[#21] Installation instructions for Red Hat RPM based distributions

as the commit message - you don't need to list the files changed.

@jesperpedersen there is one difference in package naming between Fedora & RHEL based: liblz4, liblz4-dev vs lz4, lz4-devel respectively. Do you think it would be better to stick to 2 different lines?

Ah, those are typos -- pgexporter doesn't depend on LZ4

Merged.
Thanks for your contribution !