Ensure ManagedZone is setup as an owner of a DNSRecord

What
Update the DNSRecord reconciler to ensure the DNSRecord is updated with a controller owner reference targeting the ManagedZone to which it belongs. This is currently done when creating records as part of the DNSPolicy, but nothing ensures this happens if you create a DNSRecord manually. Since this is something that the DNSRecord/ManagedZone requires, it should be the responsibility of these resources to ensure the ownership is setup as excepted.
Why
It is expected that any DNSRecord will have an owner ref that references a ManagedZone to which it belongs. This is relied upon during ManagedZone deletion to remove owned DNSRecords, and also to trigger ManagedZone events on DNSRecord updates in order to update the record count in the zone.
Expected
kubectl get dnsrecord myapp.mn.hcpapps.net -n multi-cluster-gateways -o json | jq .metadata.ownerReferences
[
  {
    "apiVersion": "kuadrant.io/v1alpha1",
    "blockOwnerDeletion": true,
    "controller": true,
    "kind": "ManagedZone",
    "name": "mgc-dev-mz",
    "uid": "94cfbdd1-4ee9-45d3-8dbb-3df121616c44"
  }
]

kubectl tree managedzones mgc-dev-mz -n multi-cluster-gateways
NAMESPACE               NAME                              READY  REASON           AGE
multi-cluster-gateways  ManagedZone/mgc-dev-mz            True   ProviderSuccess  16h
multi-cluster-gateways  └─DNSRecord/myapp.mn.hcpapps.net  True   ProviderSuccess  24m

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 30 days since being marked as stale.


docs: fix formatting in artifacts.md

without leaving an empty line,
the "Example Structure:" would be part of the previous bulletpoint

Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] pre-commit Passed
[x] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/kind documentation

/ok-to-test

bump, can I get a /lgtm please?

/lgtm

Thank you @afrittoli 🚀


Solution Quality Evaluator

Implements endpoint for getting a lower bound for a problem, see #81

@zaibod Just the change needed to use a float instead of String for Bounds as we talked about then it's good to merge! :)

SonarQube just complains over an unused import for Optional in ProblemDto, everything else seems good! Thanks a lot for your work on the many iterations.


Subprojects in merge commands

This PR adds the ability to specify specific subprojects to deploy. This makes it possible to write things like
merge and deploy foo
merge and deploy foo, bar
merge and deploy foo, bar to environment
merge and deploy foo, bar on friday
Merge commits will include an additional line Deploy-Subprojects: with a value of either all, or a comma-separated list of the subprojects to deploy.
CC: @Riscky, the PR for this has changed to this new one

Taking over the deployment from @alex-mckenna
@OpsBotPrime take the wheel

Pull request approved for merge by @Riscky, rebasing now.

CI job :yellow_circle: started.


Webview Slower Than Accessing Via Web Browser

in same network & internet connection do open the link from PC browser at the same time open the webview with apps from android device & emulator but this time open the webview apps first than link in PC browser. result is the link in the PC browser load first while webview from apps still loading although we open it first it still load behind. different is very huge around 6-15 sec delay
Expected behavior:
the load time should be the same in browser PC and webview apps
Environment:

OS: Android
OS version: Android Emulator & Real device android version 11
react-native version: "0.63.4",
react-native-webview version: "^11.22.2",

I think it's the same here #2561
Can we find a way to improve performance?

same issue for me , any update
thanks

one solution : enable dom storage in react native webview and use webviews with cdns urls from backend its really as fast as in chrome browser

collapsable={false}
cacheEnabled={false}
cacheMode={'LOAD_NO_CACHE'}
domStorageEnabled={true}

i have tried this and improved webview performance not only latest devices but also every version of android devices

Thank @keerthipativinaykumar I'll try it

@keerthipativinaykumar How does collapsable={false} help? Couldn't find in API Reference

This solution doesn't work

Tried, does not seems to work as well.


creating vm / uninstall kubevirt fail

Hi,
Recently I installed kubevirt on my kubernetes cluster.
vanilla kubernetes and it's master is on VM, others are on baremetal.
and here's company proxy.
I installed below way,
export KUBEVIRT_VERSION=v0.32.0
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-operator.yaml
kubectl create configmap -n kubevirt kubevirt-config --from-literal debug.useEmulation=true
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-cr.yaml

and then, creating vm command failed.
$ kubectl apply -f https://raw.githubusercontent.com/kubevirt/demo/master/manifests/vm.yaml
Error from server (InternalError): Internal error occurred: failed calling webhook "kubevirt-validator.kubevirt.io": Post https://kubevirt-operator-webhook.kubevirt.svc:443/kubevirt-validate-delete?timeout=30s: x509: certificate signed by unknown authority

also when deleting cr.yaml for uninstall, there's same error.
$ kubectl delete -f https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-cr.yaml
Error from server (InternalError): error when deleting "https://github.com/kubevirt/kubevirt/releases/download/v0.33.0/kubevirt-cr.yaml": Internal error occurred: failed calling webhook "kubevirt-validator.kubevirt.io": Post https://kubevirt-operator-webhook.kubevirt.svc:443/kubevirt-validate-delete?timeout=30s: x509: certificate signed by unknown authority

when I use kubectl delete --force --grace-period=0, this also failed.
what is the problem and how can I fix it?

KubeVirt version (use virtctl version): 0.32.0
Kubernetes version (use kubectl version): 1.17.11
Cloud provider or hardware configuration: baremetal
OS (e.g. from /etc/os-release): ubuntu
Kernel (e.g. uname -a): 4.15

Seems the main issue is x509: certificate signed by unknown authority

@peter-maday
so how can I fix this? I can't delete, upgrade, create vm...

after remove finalizers: in CRD, I can remove kubevirt.


Move test_58_gfal2util to its correct position in the test sequence

See test run here: http://vdt.cs.wisc.edu/tests/20170926-1733/packages.html

Yeah, the tests are being skipped because they depend on bestman.


Allow one to share system prompts (assistants)

We need a better way to share prompts.

I need to share my prompts among my devices
I need to share prompts with other chatcraft users.

One lazy way to do this is to implement it similar to how we did function calling by storing them in github gists, dropping a link to gist into system prompt and replacing contents of system prompt with contents of link dynamically.

Deepset does it like this, it's kinda lame https://github.com/deepset-ai/prompthub/

This might be a more important feature than sharing convesations

One challenge of doing this well is making it easy to quickly understand what the system prompt is doing, without having to read and understand the entire thing.
I notice other tools using an avatar and anthropomorphizing the system prompt:

In class the other day, I showed the default ChatCraft system prompt, then made another that was a French speaking Basketball coach.  It would be neat if you could somehow package this personality and set of skills into an easily discoverable format that you can pick from with the UI.

I think a cool way to do this would be to support JSON metadata that describes an assistant, which can be stored in the db, stored in R2, posted on the web (e.g., gist) at some URL, etc.
Consider:
{
  "id": "some-unique-id",
  "name": "Senior Software Developer",
  "avatar": "https://image.com/path/to/image/to/use/for/assistant.jpg",
  "preferred_model": "openai/gpt-4-0613,
  "system_prompt": "I am a senior software developer, I follow these rules\n\n..."
  "functions": [
    "https://gist.github.com/humphd/74cf88283239c62f53caff5cddf4cfe5",
    "/**\n\nTakes a string and turns it into xyz...\n"
  ]
}

In the above, we define a custom assistant.  It includes:

id: a globally unique id, allowing for people to use the same name and not conflict
name: a human-readable name, which we would show in the UI.  It might be a title like "Senior Software Developer" or a name like "Carlos" or "DevBot" etc.
avatar: an image to use for the assistant's avatar in the UI
preferred_model: if possible, the model to use.  Some users won't have access to a given model, so this is merely a suggestion
system_prompt: the custom system prompt to use
functions: an optional list of functions that the model can choose to call.  These can be URLs or TypeScript/JavaScript strings.  NOTE: not all models can call functions

We could start by adding a class to support parsing these into something we can use, then add the ability to export an assistant from the current chat and get JSON, then allow sharing it, etc.

In #332, I'm proposing that we support ?assistant=<url>, which could point at the metadata for a custom JSON assistant.  We should make that work for the normal app as well as the embed case.

The new @mention thing that ChatGPT just shipped is interesting:

Imagine if you could install the following assistant and give it nickname like @superdev:
{
  "id": "some-unique-id",
  "name": "Senior Software Developer",
  "description": "A senior software developer who specializes in ...",
  "avatar": "https://image.com/path/to/image/to/use/for/assistant.jpg",
  "preferred_model": "openai/gpt-4-0613",
  "system_prompt": "I am a senior software developer, I follow these rules\n\n..."
  "functions": [
    "https://gist.github.com/humphd/74cf88283239c62f53caff5cddf4cfe5",
    "/**\n\nTakes a string and turns it into xyz...\n"
  ]
}

In the db we associate @superdev with this record, and when you include it at the start of your chat, we override the system prompt we send with the chat:
@superdev can you help me with this code ...

Later in the same chat, you ask @mathwizard to help you:
@mathwizard, what's the answer to this problem? ...

Maybe we could also allow these names to be globally available via a URL, so we look up to see if there is one of them in R2.  The only problem with that is naming collision among users.  But maybe we could do this for ChatCraft owned ones?

ooh. this would help with multimodel usecases too.  we could ask different models to chime in

tried prototyping this flow

I just did a summarization of youtube into json using a special prompt.

Realized that I now wanna use chatcraft coding system prompt and chatgpt3.5 to quickly and cheaply convert it to yaml

so i 1 switched the system prompt and 2 deleted message with youtube import.
this is really powerful. I think when we use @mention we should switch the rest of the convo to a custom model and prompt and provider represented by that model...so all messages after that go to that model.
where it gets interesting is that we then can define custom /export commands which are served by traditional rest apis... publish to blog or run command on linux type mentions

Right, my thinking is that you start out talking to one "assistant" and 3 messages in you can @mention some other assistant, and it switches the system prompt and model.  Switching provider is harder, because not everyone uses other providers.  Even requesting a specific model is going to fail in lots of cases if your provider doesn't support it--I think it has to be a hint vs. a requirement.
Do you see other things you think we need to add to this serialized format to support that?
{
  "id": "some-unique-id",
  "name": "Senior Software Developer",
  "description": "A senior software developer who specializes in ...",
  "avatar": "https://image.com/path/to/image/to/use/for/assistant.jpg",
  "preferred_model": "openai/gpt-4-0613",
  "system_prompt": "I am a senior software developer, I follow these rules\n\n..."
  "functions": [
    "https://gist.github.com/humphd/74cf88283239c62f53caff5cddf4cfe5",
    "/**\n\nTakes a string and turns it into xyz...\n"
  ]
}

If we use @ for mentioning an assistant, we might need to change @fn and @fn-url to use some other character.

where it gets interesting is that we then can define custom /export commands which are served by traditional rest apis... publish to blog or run command on linux type mentions

Would we do this at the message level or chat level or both?  Also we would need to solve auth for remote APIs.
A fast win for this, which wouldn't require more work, would be publish-to-gist if we solved https://github.com/tarasglek/chatcraft.org/issues/381.  You could also do a thing where you create a repo, write a Markdown or HTML and let GitHub Pages serve it to publish.

@taras and I discussed this today, and I wanted to capture some notes:

We'd love to be able to extract an "Assistant" from the current chat.  So maybe that means you click "Share" on the System Prompt, or it's via some other UI.  But the effect is that the system prompt is extracted and somehow in the UI you can set other things like the name, description, avatar, etc.  Taras suggested that the System Prompt Message at the top could be updated to be a more complete UI for doing this (e.g., when you click "Edit" on the System Prompt) we could give a more full featured form).
The thing you share (the JSON) can be namespaced by your user name, similar to how we do it now for chats.  So I might share an assistant named supermath which would be humphd/supermath, and someone else could pull it into their current chat by doing @humphd/supermath.
We might want to start with having the @ mentions of assistants only operate on the previous message in the chat.  The idea being: you're in a chat already, but you want to ask something of this new assistant, but you'll continue back with your regular chat afterward.  This raises the question: you do you start a chat with a give assistant vs. pulling one in?
We also discussed whether we could include some commands you can use to tell it to use more context.

There are lots of ideas in here that need to happen in smaller issues/PRs.

Huggingface is getting in on the action too https://twitter.com/xenovacom/status/1753436385367785604:


can't set min and max?

sorry I am chinese ,not good at english,may be read not good
rob.normal(0, 1.0)
see the doc ,I have see min and max ,but when I set min = 1 max = 8 ,it seens do not work, emm........it is can't set? need make it self ? only for  read?

Yes, min and max are only for reading. They tell you the minimum and maximum value the distribution may produce.
There is no way to truely generate a normal distribution who values are bound by a min and max. The best you can do is to either discard the number if outside the range, or clamp the value. For example
var r = Prob.normal(0, 1.0);

// Discard and point another
x = r();
while (x < 1 || x > 8) {
  x = r();
}

or
var r = Prob.normal(0, 1.0);

// Clamp the value
x = r();
if (x < 1) {
  x = 1;
} else if (x > 8) {
  x = 8;
}


Change default catalog from hive to system

Currently, the default catalog for creating connection string is set to
hive. This could be a problem if no catalog is specified in the connection
URL and then hive catalog is used even if it is not configured on the Trino
side.This leads to a connection error on Superset UI. To avoid this it is
better to use generic catalog such as 'system'.
Closes #13

@dungdm93 Please review this 🙏🏼

@aakashnand Good catch! +1

LGTM


New line / carriage return

Bug is back
https://github.com/Wikiki/bulma-tooltip/issues/34
change
white-space: pre
to
white-space: pre-line

several bugs, back to old bulma-tooltip

could you please elaborate so we will be able to fix them.

Hello, I would like to do it, but unfortunately I do not have the time to do detailed research. I'm back to the versions of Wikiki that have worked very well so far.

we'll investigate. thanks for your feedback

Still broken, I think you have a typo in the class "has-tooltipl-multiline". it should be "has-tooltip-multiline".


Support for Typed throws

Please add support for Typed throws as described in SE-0413.
For example:
func throwsAnything() throws(any Error) { ... }

Thank you.

This feature is introduced in #267 and #262 . Please try it.

Thanks for introducing  this feature! Would it be possible to make a new official release containing this change? Right now we're blocked from using mockolo from homebrew, because that version doesn't support typed throws yet.


Must use destructuring state assignment error for accessing variable state keys

I am trying to access variable key from my react state.
like: if (typeof this.state[field] === 'object'))
while doing so I am getting the error Must use destructuring state assignmenteslint(react/destructuring-assignment)
In this case i wont be able to de structure the state. Is this something frowned upon ?

const { [field]: something } = this.props;

Didn't knew we de-structure variable field like this as well.
Thanks @ljharb for the help.

@ljharb
Hi~ If I would like to write a component that just what this blog saying.
The draft input component has initial state with props, and the state using class fields syntax. How to   destruct it?
class EmailInput extends Component {
  state = { email: this.props.defaultEmail };

  handleChange = event => {
    this.setState({ email: event.target.value });
  };

  render() {
    return <input onChange={this.handleChange} value={this.state.email} />;
  }
}

Initial state with props is incorrect unless it’s also using getDerivedStateFromProps.
Functions should not go in class fields, so you want this:

class EmailInput extends Component {
  state = {};

  static getDerivedStateFromProps({ defaultEmail }) {
    return { email: defaultEmail };
  }

  handleChange = this.handleChange.bind(this);
  handleChange(event) {
    this.setState({ email: event.target.value });
  }

  render() {
    return <input onChange={this.handleChange} value={this.state.email} />;
  }
}

Wow, that's cool. Thanks for help! 👍

@ljharb "Functions should not go in class fields" why precisely?

@info-bit conceptually, own properties are for data; functions are not data; functions should be shared across all instances. also, you can't spy/mock out functions in fields.


large dataset problem

Hello
I'm using your source code for my current project and I have a problem with building FPHeaderTable for a large-scale real dataset named webdocs. I think because there are about 5M unique items in this dataset, the HeaderTable is not being made!!
My question is that how big datasets your code can manage and what should I do in order to build the HeaderTable?
Thanks in advance

Hello.
This project was my coding practice a few years ago when I was working on a CUDA related association rule mining task. However, I ended up using a different approach and never completed this project. So the program code must contain lots of bugs They are not even fully functional. Feel free to build on top of my work, but do not expect my code to work out-of-box.
Regarding the memory requirement, you will need to do your own calculations based on the size of the internal data structures used and the number of instances required to support your data input. Again, as I never finished this project I did not optimize memory footprint either.

On Oct 5, 2022, at 12:46 PM, LidaMsv @.***> wrote:
Hello
I'm using your source code for my current project and I have a problem with building FPHeaderTable for a large-scale real dataset named webdocs. I think because there are about 5M unique items in this dataset, the HeaderTable is not being made!!
My question is that how big datasets your code can manage and what should I do in order to build the HeaderTable?
Thanks in advance
—
Reply to this email directly, view it on GitHub https://github.com/yhf8377/cuda-fp-growth/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASEV53U6IK4DBR2SATFFMDWBWPERANCNFSM6AAAAAAQ5WISEI.
You are receiving this because you are subscribed to this thread.

Hello again.
Thank you for your answer. Now I know what I want from your code:)
Though, I have another question if you don't mind.
My question is that why did you transpose the constructed bitmap? What was the difference?
Did you need to transpose it in order to build the radix tree or you had another reason?
Thank you again for answering me.

Honestly, I don't remember...
There will be two ways of representing items in transactions. First is an "item" map where each row represents an item and the bits represent whether each transaction contains this item. For example, item A: 00100001 may indicate that transaction #0 and #5 contains item A. The other is a "transaction" map where each row is a transaction and the bits represent whether it contains a specific item. For example, transaction #0: 00010001 would indicate that transaction 0 contains item A and item E.
Item map will be useful when counting the frequency of a specific item set. For example, to count the frequency of item set A+B+C, you just bit-and the item map for A, B and C, then do a __popc() call across all bytes of the result (only when a transaction contains all items in the set would the resulting bit be 1; so the number of 1s is the frequency count of that item set).
I don't remember why I transposed the item map into transaction map. Maybe it is required by the algorithms described in the articles I referenced... I really don't remember.

Thank you for your complete explanation.
Actually, I found the answer in the last paper you referenced. And it was exactly required by the algorithm in that paper.
Thanks again for your time:)


Could you release the voxelization and evaluation on IOU?

Hi @justanhduc ,
The paper mentioned that you voxelized the point sets into a 32 × 32 × 32 grid and calculated the scores but I couldn't find the corresponding code here. Could you release the voxelization and evaluation on IOU?
Thank you.

Hi. I didn't put it here cuz it was in Tensorflow. I ported the code to pytorch here. Please check. Thanks.

Thanks very much.


Provide Links For Images Generated by Google's Bard AI

Hello,
It seems BardAI now supports image generation as per below snapshot. However the Bard-API only returns the alt-image-text for the generated image.
Is there a way to include the links of the generated images?

Thank you for bringing up this interesting issue. While there is a high possibility that it may not work, I will investigate it further.

Would really like it to have the links of generated images, maybe put a network interceptor to catch hold of these links?

Bard is a language model, not an image generation AI model. However, I have recently confirmed the addition of the image web search feature to Google Bard. As a temporary solution, it returns the links included in the response. Please note that this feature is temporary and is only deployed in the developer version. Please use it as follows.
pip install git+https://github.com/dsdanielpark/Bard-API.git

#pip install git+https://github.com/dsdanielpark/Bard-API.git
from bardapi import Bard
bard = Bard(token='xxxxxxxxxxx')
res = bard.get_answer("Find me an image of the main entrance of Stanford University.")
res['links']

Yes, from the images response list - it looks the the uri for generated image is : t0.gstatic.com/images
which could be appended in the response string.
Any timelines around which this feature is deployed to prod?

It is not desirable to continuously add specific functionalities to the developer deployment version. Therefore, we recommend post-processing and using the following approach instead.
token='xxxxxxxx'
bard = Bard(token=token)
link_list = bard.get_answer("Find me an image of the main entrance of Stanford University.")['links']
filtered_links = [link for link in link_list if "https://lh3.googleusercontent.com/" in link or "http://t0.gstatic.com/" in link]

print(filtered_links)

Thanks for your detailed response, just have one final query : Any timelines around which this feature is deployed to prod?

Please check this commit hash acbf3fba8453ea354a0b53e59230175a44500171

https://github.com/acheong08/Bard/compare/1.0.3...1.1.0
You can parse for images
if len(json_chat_data) >= 3:
            for img in json_chat_data[4][0][4]:
                images.add(img[0][0][0])

acheong08
images = set()
        if len(json_chat_data) >= 3:
            if len(json_chat_data[4][0]) >= 3:
                for img in json_chat_data[4][0][4]:
                    images.add(img[0][0][0])

Could you contribute by including this part and the part where "images" is the key?

chat_data = json.loads(resp.content.splitlines()[3])[0][2]
if not chat_data:
    return {"content": f"Google Bard encountered an error: {resp.content}."}
json_chat_data = json.loads(chat_data)
images = set()
if len(json_chat_data) >= 3:
    if len(json_chat_data[4][0]) >= 4:
        for img in json_chat_data[4][0][4]:
            images.add(img[0][0][0])
results = {
    "content": json_chat_data[0][0],
    "conversation_id": json_chat_data[1][0],
    "response_id": json_chat_data[1][1],
    "factualityQueries": json_chat_data[3],
    "textQuery": json_chat_data[2][0] if json_chat_data[2] is not None else "",
    "choices": [{"id": i[0], "content": i[1]} for i in json_chat_data[4]],
    "images": images,
}

acheong08
Thank you, then I will modify and commit.

Please check this commit hash acbf3fba8453ea354a0b53e59230175a44500171

Was looking to have this feature in the official pip package - 'bardapi'

Use developer version or you can install via github tag. Refere this CoCoder package. https://github.com/dsdanielpark/Co-Coder/blob/main/requirements.txt

Bard is a language model, not an image generation AI model. However, I have recently confirmed the addition of the image web search feature to Google Bard. As a temporary solution, it returns the links included in the response. Please note that this feature is temporary and is only deployed in the developer version. Please use it as follows.
pip install git+https://github.com/dsdanielpark/Bard-API.git

from bardapi import Bard
bard = Bard(token='xxxxxxxxxxx')
res = bard.get_answer("Find me an image of the main entrance of Stanford University.")
res['links']

Hi Daniel, this works in Google colab and gives the links, but doesn't work on Jupyter notebook; why so?

MohitSM18
There could be various reasons for the issue. If it continues to not work on your local Jupyter Notebook, please feel free to create a new issue. Thank you.


Ft/s3 c 1281 backblaze b2 backend part1 : config & fct 'Put'

Description
Enable CloudServer to write to Backblaze B2 buckets with the S3 API
Motivation and context
Following the 42 Paris hackathon, we were encouraged by both Scality and Backblaze to pursue this feature. We hope this enables even more MultiCloud Data Control for people who create value with data.
Checklist

[x] Added tests to cover changes
[x] Code conform with the style guide (Ran linter)
[x] Sign your work (will decide which contributor signs which commit during review)

Authors

@smoreno-v2
@jjourdai
@VinceMaestro

Thanks! This PR size good, it's digestable. I will do a round of review soon.


Add option to disable Interpolation

I've added an option to disable the Interpolation.
Main reasons:

the current Interpolation-Implementation stops working if you do not set EnvironmentVariables (see #92) ==> it is good to have the option to disable it completely
Interpolation adds complexity which is not needed in every setup ==> good to have the option to reduce complexity

It was way harder to achieve than expected, because the Interpolation is so deep inside the static Parsers.
Changing Assignment to be a method instead of a readonly field seems to be the least intrusive way.
There is also this test in EnvTests-->ParseInterpolationDisabledTest line 224. I think this is not the really desired result, but I do not see a way how to solve that.

Please explain why you think interpolation should be disabled. You are afraid that you might use interpolation in your .env when you don't mean to?
SetEnvVar = false does not provide interpolated values that come from the .env file but it should continue to work with env vars that were set in the env itself.
But this further points at: if you don't want interpolation, don't use it. You can escape $ in unquoted or double quoted values, and will not get interpolation in single quoted values ever.
Please elaborate on the use case.

Yes, the use case is that you just want to have plain env-file to be able to configure a service for local usage and don't bother with any side-effects.

But this further points at: if you don't want interpolation, don't use it. You can escape $ in unquoted or double quoted values, and will not get interpolation in single quoted values ever.

Sure, it is possible to escape $ or use singlequoted.
But then you have to have it in mind and can't just paste your values exactly as they are meant to be.
The main use cases I see are "complicated" values like passwords, where you do not want to check or change anything to enter the password in the env-file.
Passwords may contain ' and $, so depending on the form of the password you have the following options:

contains ' --> unquoted (escaping singeQuotes in singleQuoted values is not possible)
contains $ --> use singleQuotes or use unquoted and escape $
contains both --> use unquoted and escape $

Escaping values in a complicated value is quite a pain, because you create differences between the written and the resulting value. And imho it introduces hard to detect bugs.
==> the idea is to have the possibility to use env-Files "as plain and stupid as possible"
From my point of view that's the thing I want to achieve. All additional features are cool if you really need them, but in general I don't want to bother with additional complexity for a smart and easy local configuration only.
 Interpolation, updating (Process-)EnvironmentVariables etc. are nice to have, but not really necessary. I would not remove them from the solution of course, but the usage should be optional.

Anything that should not have interpolation should be single quoted. You haven't said (yet) that you want to disable utf char sequences as well \u1234 etc. Why do with just disabling $s? You should disable all special processing -- oh wait, you can, that's single quoted values. ;)

You also have a failing test, per the CI

That Test is a quite ugly thing... and it is related to the implementation of EnvVar-Usage.
If you execute the Test locally (single test) it works as expected. But if you concurrently execute other tests it will break.
But if you execute them all at once, it fails locally too.
It seems like a race-condition, which is quite reliable triggered with my additional Test-method if you execute all tests at once.
This has to be fixed of course.
I think I have to find a way how to separate the executions properly, or just duplicate the .env_embedded file and change some variable-names to remove concurrent keys.

You also have a failing test, per the CI

Solved now.

Having thought about this more: The way to disable interpolation is, as it is in normal shell scripting and so on, with single quotes. That is the path to use, and adding new options to do the same thing does not have a compelling argument here for me, not to justify this increase in complexity.
If you can find other .env libs in other langs that have such an option, I would consider it for ease of moving between languages for users. For now, no.

Also, if this was desirable, the solution would be to use the already purpose built ValueActual rather than adding _raw to ValueInterpolated. This would require having a swap for the Value Parser used https://github.com/tonerdo/dotnet-env/blob/18051317d2ddd87d2dc075c8a55e98cf35fce6e1/src/DotNetEnv/Parsers.cs#L236 such that there is the current Value still and then NonInterpolatedValue -- which would in turn go down to the lower parsers and remove the interpolation option from the UnquotedValueContents and DoubleQuotedValueContents -- and in the ParseDotenvFile func, you would replace Assignment with NonInterpolatedAssignment that would use the new form of Value. But then you'd have to ask hard questions about the other interpreted char sequences in those values as well: special chars / escaped utf codepoints, newlines, tabs, etc, etc. And then you've lost the point of double and unquoted values.
The way unquoted and double quoted work at present is how they work in shells, which is what people are accustomed to in other .env libs as well, to my knowledge (I've only used such libs in 2 or 3 other languages, so idk for sure, obv). Making these kinds of changes would be unnecessarily complicating things, to my perspective.


Kernel Interpolation usage

Hello,
I am going through ParCNet V2 code and it seems that the kernel interpolation introduced in the section Adaptability to multi-scale input of the paper is never used (at least in classification).
https://github.com/XuRuihan/ParCNetV2/blob/52683653a33177128e01935282d93dd79c06f0a5/models/parcnetv2.py#L73
Could you please tell me if it is useful ? Did you use it during training ? For downstream tasks ?
Thanks.

Yes, the kernel interpolation is useful when you turn on the interpolate. It makes the model invariant to resolution changes and benefits from multi-scale input.
In ImageNet classification, all the input has the same input resolution, thus it does not make any difference for this task.
For the downstream tasks, we found that in semantic segmentation, kernel interpolation reach high performance with single-scale testing, while cannot benefit from multi-scale testing. It is because interpolation treats the multi-scale inputs equivalently, thus there is no improvement. Given that the multi-scale testing is a common practice in semantic segmentation, we shut down this operation for a fair comparison. If you use multi-scale training and single-scale testing, we suggest interpolate=True to achieve a better results.


Insert image as background layer?

Apologies for asking a dumb question, but I didn't see what I wanted in the docs.  How can I read an image (PNG) and insert it as the background/bottommost layer of a PSD I've opened?  I need to do this for about 30 PSD files and really want to script the process.

Editing layer structure is not supported.


Host & Port configuration

Hi,
I'm having trouble setting up the bot using Python. Following the instructions in ReadMe :
pip install logbot-telegram
Then,
from logbot import Client
c = Client(token=mytoken, host=host, port=port)
c.send("Hello World")

mytoken  has been provided by BotFather.
Which host and port should I use to receive the message in Telegram ? Or am I missing a step ?
Thanks !

Hi,
You have to do one thing first, which is run the actual bot, it's explained in the Readme (https://github.com/apiad/logbot#setting-up-your-own) but basically its:

export TOKEN=<yourtoken>
python -m logbot

That will run the bot that will connect to Telegram and it will listen in localhost:6778 for the Client, which is what you run with the code you're showing. I used to have running on a public URL but it is down now.
Hope this helps, let me know if you need any clarification.
Cheers!

Thanks for the very quick answer !
Is it possible to store the token in a file of my project and not use the export option ?
Should I always start the bot (via python -m logbot) before running my script that contains the c.send("Hello World") part or is it a one-time thing ?
I'm saying all this trying to understand how it works, since my script is currently running on my PC but will eventually be running remotely from a Rasperry Pi.

Sure, don't be afraid to ask. I'm just happy someone is using this.
 However, you can turn it off if you want, it all depends on your computational constraints. In this case, since the only user will be you, and you know exactly when you want the bot to be online, I think it's the same. However, if you plan to have the bot listening on some public IP so that different people can log to it, leaving it up will be the way to go. It's very lightweight in any case so there is no need, I think, to turn it off. Whatever is simpler for you.
Regarding the environment variables, I, unfortunately, didn't add a CLI option, but what you can do is in the bash line do everything, like:
TOKEN=<yourtoken> PORT=<yourport> python -m logbot

This is a bash thing, not anything specifically related to logbot. If it makes it any easier for you I can simply add a --token ... option to the CLI, but it's not going to save you any extra typing from the previous form. I haven't thought of config files but I could add that as well. Let me know if this is something you would like to have.
Cheers.

Thanks for the reply, I'll be looking into it !


add functionality to set path of home directory

/etc/passwd contains for each user path of home directory. I think that good idea to get this value from /etc/passwd and to generate ansible playbook with this value

I did it here - b22a58ab1439acd28c9a15eb70bbab673f211382


updates.jmonkeyengine.org is down.

the update site is down. It's two days that I receive this error.
I'm using the Linux 64bit stable version.

Yes it has been down for a long time. Just  uncheck  them from Tools ->Plugins -> Settings  menu so netbeans don't check them.

Any prediction if or when they will be back?
Also the NBAndroid url is also wrong its
http://nbandroid.org/release81/updates/updates.xml
as explained in
https://bitbucket.org/nbandroid/nbandroid/wiki/Installation

I already tried to message some cloud provider but their response after 5 days was simply that I should open a stackexchange question and tag them...
The problem is that we do not want to setup a self-hosted update page any more, because as it happened, when they key members who organized the hosting, have the passwords, w/e, are unavailable, the site goes down again.
That is why we are looking for a simple file storage possibly with easy deploying through webdav or something and some OAUTH possibly with github.
So we are currently looking for all that and an open source plan for free, however Google Drive, Dropbox and other suggestions don't really provide an easy file tree access (meaning that the file structure is exposed in the URI)

An update repo with GitHub is not too hard for NetBeans platforms.
First, make a GitHub repo for the update repo. You will put all the update files in here: updates.xml, *.nbm, etc...
Second, in the updates.xml all files names need to have ?raw=true added i.e:
<module codenamebase="test.nb.plugin" distribution="test.nbm?raw=true" ...
and
<license name="AD9FBBC5" url="licenses/AD9FBBC5.license?raw=true"/>
Third, the update URL in NetBeans, in this case jMonkey, will be: https://github.com/jMonkeyEngine//blob//updates.xml?raw=true
I have used this method before and it worked fine for me, on the other hand I was working on a much smaller platform. Hope this helps.
~Trevor

This indeed helps, I am only thinking about how good git is for such things since we have the 100MiB Filesize limit and since the repository size grows dramatically when you can't diff files like binaries.
In addition to that we don't need previous revisions, so it might be a good idea to reset the master branch each new release? I don't know the consequences if you have checked out the repo, but no one should do that anyway.
And we might need a user so travis can push to git, not sure if there is something like an OAUTH key we also use for releases? mh

I do not see any reason why we could not just keep updating the master, and I think if a commit was done with the new files added the the old ones removed, even cloning the repo should not be a problem.
The user and OAUTH key I am not sure about.
I have a test repo setup for one of my applications right now, it is working really well, if there is something you would like me to test on it just let me know.
~Trevor

Found out how to make it even easier. If using https://raw.githubusercontent.com/<user>/<repo>/<branch>/updates.xml
Then you do NOT need to modify the updates.xml to put ?raw=true on the end.
For example, just uploading the files to a repo names SDKUpdateRepo:
https://raw.githubusercontent.com/jMonkeyEngine/SDKUpdateRepo/master/updates.xml
should work even better.

That actually sounds really good.

I do not see any reason why we could not just keep updating the master, and I think if a commit was done with the new files added the the old ones removed, even cloning the repo should not be a problem.

Technically the problem is that git always stores the whole history in it's repos, which is also why you can work offline completely. This however leads to a huge increase in size over time, even though it's hidden for the user.
For instance, try a du -sh .git in your current update repo. On the other hand we can work around that issue if we reset the repo every time. So we only need to ensure that our modules are smaller than 100MiB and I might give it a try on a private repo first

Does anyone want to look into this again? I think it is time to get updates working.


More straightforward usage

Currently these 3 steps are required to use hxcpp-debugger:

add -lib hxcpp-debugger
add -D HXCPP_DEBUGGER
add  new debugger.HaxeRemote(true, "localhost"); to the entry point

It would be nice if this could be reduced to just the first step.
Eliminating step 2 should be simple, either via an extraParams file that automatically defines HXCPP_DEBUGGER if the lib is included, or just by using the define that is added for the haxelib instead. I can't really think of a situtation where you would want to include the lib, but not define HXCPP_DEBUGGER?
The code needed could be injected via a macro somehow. @RealyUniqueName pointed out that alternatively, static var initialization could be abused for this.
There would still need to be a way to manually set the host IP somehow for remote debugging of course.
(discussed in haxe-dev, cc @Simn / @nadako)

Host IP could be set via compiler flag like -D DEBUG_HOST=<IP_ADDRESS>
And then get it in lib's code: var host = haxe.macro.Compiler.getDefine('DEBUG_HOST')

Sounds good! Not sure if HXCPP_DEBUG_HOST would be better.


add initContainers

@bluestreak01 we're blocked on CODEOWNERS :-( Can you please add @nwoolmer when you get the chance?


Why are the results of nvm use --lts and nvm use lts different

Operating system and version:
nvm debug output:

nvm --version: v0.39.7
$TERM_PROGRAM: iTerm.app
$SHELL: /bin/zsh
$SHLVL: 1
whoami: 'fathurrohman'
${HOME}: /Users/fathurrohman
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${HOME}/Development/flutter/bin:${HOME}/.deno/bin:${HOME}/.bun/bin:${HOME}/go/bin:${HOME}/.yarn/bin:${HOME}/.composer/vendor/bin:${HOME}/.pyenv/shims:${HOME}/.phpenv/shims:${HOME}/.phpenv/bin:${NVM_DIR}/versions/node/v18.19.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/Applications/iTerm.app/Contents/Resources/utilities
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.9 (x86_64-apple-darwin23.0)'
uname -a: 'Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103 arm64'
checksum binary: 'shasum'
OS version: macOS 14.4.1 23E224
awk: /usr/bin/awk, awk version 20200816
curl: /usr/bin/curl, curl 8.4.0 (x86_64-apple-darwin23.0) libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.58.0
wget: /opt/homebrew/bin/wget, GNU Wget 1.24.5 built on darwin23.2.0.
sed: /usr/bin/sed
cut: /usr/bin/cut
basename: /usr/bin/basename
rm: /bin/rm
mkdir: /bin/mkdir
xargs: /usr/bin/xargs
git: /usr/bin/git, git version 2.39.3 (Apple Git-146)
ls: grep:: No such file or directory
grep: grep: aliased to grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox} (grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}), grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
nvm current: v18.19.0
which node: ${NVM_DIR}/versions/node/v18.19.0/bin/node
which iojs: iojs not found
which npm: ${NVM_DIR}/versions/node/v18.19.0/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v18.19.0
npm root -g: ${NVM_DIR}/versions/node/v18.19.0/lib/node_modules

nvm ls output:

       v10.13.0
       v14.21.3
       v16.20.2
->     v18.19.0
       v20.10.0
       v20.13.1
        v21.6.1
default -> v18.19.0
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v21.6.1) (default)
stable -> 21.6 (-> v21.6.1) (default)
lts/* -> lts/iron (-> v20.13.1)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.21.3
lts/gallium -> v16.20.2
lts/hydrogen -> v18.20.3 (-> N/A)
lts/iron -> v20.13.1

How did you install nvm?

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

What steps did you perform?
None
What happened?
❯ nvm use lts
'N/A: version "lts" is not yet installed.

You need to run `nvm install lts` to install and use it.
❯ nvm install lts
Version 'lts' not found - try `nvm ls-remote` to browse available versions.
❯ nvm use --lts
Now using node v20.13.1 (npm v10.5.2)

What did you expect to happen?
❯ nvm use lts # same as `nvm use --lts`

Is there anything in any of your profile files that modifies the PATH?

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?

nvm use lts means use an alias called "lts", but none exists unless you created it.
To avoid a breaking change, I added nvm use --lts to allow for that. You can also nvm use lts/* or nvm use lts/argon etc (because aliases can't have /)


x86?

Could the build be modified for X86?

Actually PiPyOS was inspired by a project that does this. Have a look at: Intel BIOS BITS

Cool! Thanks! That with 3to2 should do what I'd need.
On Sun, Apr 19, 2020 at 4:13 AM rreilink<EMAIL_ADDRESS>wrote:

Actually PiPyOS was inspired by a project that does this. Have a look at: Intel
BIOS BITS https://biosbits.org/scripting/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rreilink/PiPyOS/issues/3#issuecomment-616106527, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AN54XPZTYPAMK2GRFMQ7BSDRNLMGPANCNFSM4MLP2FUQ
.

Does that mean I could write an OS in Python with BITS?
On Sun, Apr 19, 2020 at 8:14 AM Samuel Sloniker<EMAIL_ADDRESS>wrote:

Cool! Thanks! That with 3to2 should do what I'd need.
On Sun, Apr 19, 2020 at 4:13 AM rreilink<EMAIL_ADDRESS>wrote:

Actually PiPyOS was inspired by a project that does this. Have a look at: Intel
BIOS BITS https://biosbits.org/scripting/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rreilink/PiPyOS/issues/3#issuecomment-616106527, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AN54XPZTYPAMK2GRFMQ7BSDRNLMGPANCNFSM4MLP2FUQ
.


Session management

I'm, wondering if it would be possible to incorporate a Burp session management functionality. When I perform tests, I'm kicked out of the session by WAF. Since Burp already contains session management and is able to create a session again; would it be feasible to use this as well?
Thanks for this great tool:)

That is really outside the scope of the tool as it is just integration between Burp and Sqlmap.  The best way to do this is to configure sqlmap (through sqlipy) to proxy connections through Burp.  Then Burp will handle the sqlmap session.

That's great idea and it is working:) I just had to turn on "Proxy" in scope of Burp's session detection; and set proxy in SQLMapper to http://<IP_ADDRESS>:8081 and now it is working:) Thank you for advice:)


Pkeller/memmap profiler

Ticket
#4984
Problem description
Profiler is using the old L1 addressing scheme
What's changed
Make profiler use the mailbox struct to share its address between device and host
Checklist

[x] Post commit CI passes: https://github.com/tenstorrent/tt-metal/actions/runs/10619027890
[x] T3K Profiler: https://github.com/tenstorrent/tt-metal/actions/runs/10617775992
[x] Device Perf: https://github.com/tenstorrent/tt-metal/actions/runs/10637457757
[x] uBenchmark: https://github.com/tenstorrent/tt-metal/actions/runs/10617765919
[x] BH Post commit: https://github.com/tenstorrent/tt-metal/actions/runs/10637498175

@abhullar-tt the comments are all spot on. They all relate to what is coming next. Plan was to follow up this PR with switching the Buffers to structs.
For the size magic numbers you mentioned, the will be extracted form struct size and many of the constexpr will be removed. With the remaining ones staying in profiler code.
I am starting to think maybe I should just switch to structs in the same PR.

@abhullar-tt the comments are all spot on. They all relate to what is coming next. The plan was to follow up this PR with switching the buffers to structs.
For the size magic numbers you mentioned, they will be extracted form struct sizes and many of the constexpr will be removed. With the remaining ones staying in profiler code.
I am starting to think maybe I should just switch to structs in the same PR and address all these issues.

ah okay, that makes sense. I think its okay to do this in a follow up PR. Can you also run BH post commit?

As per conversation with @abhullar-tt different padding sizes depending on the device (BH vs GS/WH) needs to be added to the mailbox struct to be PICe/DRAM aligned.
Different size padding can come in similar to https://github.com/tenstorrent/tt-metal/blob/84f944d1f5e733f0ab060e62600574a4aaefa279/tt_metal/impl/dispatch/cq_commands.hpp#L287


Feature request: jumpToDate & first available date

When enabling/disabling dates, it would be helpful to be able to call jumpToDate to jump to the first date available for picking. It could be a special value to be passed to that method, perhaps?

Hello,
enable and disable options can be complex, including multiple functions and to find the first available date could take much longer than anticipated.
If you need such functionality, just hook into onReady and do a jumpToDate yourself


Ref count optimizations and some bug fixes

This PR switches to apply ref count changes only to the outer container and not the inner items unless the ref count changes are due to an assignment to a mutable variable. The reasoning is that I believe it is not possible for an inner item to ever go out of scope earlier than the container unless it is assigned to a mutable variable somewhere.
This PR makes the adjustment in https://github.com/microsoft/qsharp-compiler/pull/859 unnecessary (i.e. incorrect), and fixes https://github.com/microsoft/qsharp-compiler/issues/970. I believe it may also possibly fix some of https://github.com/microsoft/qsharp-compiler/issues/981 (tbd, I think there are possibly multiple issues there).

The test QIR looks good and the logic is sound, so approving. We will have to rely on manual testing for runtime behavior for now.

Yes, I did some manual validation locally, but of course not nearly as extensive as a proper CI setup should be - let's push to get the full CI up and running.

Very briefly outlining the issue that this PR ran into and that I overlooked initially:
In order to ensure that a value stays alive when you return it, the ref counts for e.g. tuples and their items is 1 (so far so good), and the idea is that the calling function then releases them recursively. That is implemented this way with this PR and ok so far. The issue now is when we have a copy-and-update expression involving that. If that's the case, then we run into the same issue as described in https://github.com/microsoft/qsharp-compiler/pull/859; I had removed the adjustment introduced in 859, because I had thought it would no longer be necessary (or correct for that matter), which is incorrect.


Change from react-native to npx and update tests

Resolve #121

Codecov Report

Merging #128 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #128   +/-   ##
=======================================
  Coverage   92.92%   92.92%
=======================================
  Files           8        8
  Lines         664      664
  Branches      125      125
=======================================
  Hits          617      617
  Misses         43       43
  Partials        4        4

Impacted Files
Coverage Δ

commands/build.js
87.9% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Please make sure you update the Readme.md file with instructions needed to setup npx and react-native

I updated documentation, npx is hidden in the code and used by magic-script-cli underneath so there is nothing more to update in documentation. Please review again @kpiascik


thanks for the good work ive rigged it up to be a cool web chatroom backround

:)

btw could you help me make this smoother https://github.com/coder580/fire

smoother like higher frame rate, or smoother like less intense bursts?
On Sun, Apr 21, 2019 at 10:23 PM coder580<EMAIL_ADDRESS>wrote:

btw could you help me make this smoother https://github.com/coder580/fire
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PavelDoGreat/WebGL-Fluid-Simulation/issues/4#issuecomment-485328573,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNEHGVZBIXXMRURNBC4L4TPRVDVXANCNFSM4F7U3UFQ
.

Just wanted to drop buy and say. WOW this is amazing


Fix Puppet Deprecation Warnings

Currently, every Puppet run throws two warnings saying that Puppet is
using modulepath and manifestdir which are deprecated. This is
primarily because Puppetlabs is moving towards the use of Directory
Environments.
This patch disables the default per environment manifests and sets up
globals for modules and manifests pointing to their corresponding
overrides directory.

@alokjani Can you please fix spec tests?

@alokjani - I'm really glad you picked this up. I was kind of hoping that someone would take it upon themselves to figure out how to get rid of these annoying deprecation warnings :)

@alokjani it looks like you accidentally modified the formatting of some tests. Please double check your pull requests to make sure that only the expected files are modified

@hkumarmk I've fixed the spec tests to pass.
@bodepd thanks for pointing that out. I've corrected the formatting.

please test this

please test this

please test this

@alokjani please dont run the tests right now... there are some network issues going on with hp cloud and new vms are getting affected

by mistake i clicked the close button :)

please test this

please test this

please test this

looks like the tests are going to pass, as soon as they do, I've reviewed the docs about dynamic environment, reviewed the configuration of puppet.conf on the system, and the fact that those annoying messages are gone. Great work!

Build #595 is green finally. Thanks!

@alokjani you can also see that in the pull request


@conda-forge-admin, please add user @jgrss

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @jgrss in conda-forge/geowombat-feedstock#21.


bug: awk doesn`t work

command: echo -e "Um\tDois\tTrês\nQuatro\tCinco\tSeis" | awk '{print $1}'

@carlosrocha-dev can you review this bug, echo -e it not in PDF rules`


_includes/head.html extra '/'

I'm building a site template for my university classes. I find that when I deploy the site to Github pages, style.css is 404 and the URL is wrong, ignoring my baseurl. Perhaps minima's head.html has a leading '/' it shouldn't have? Works ok if I copy minima's head.html into my _includes/ and remove the leading '/' on the URL to style.css

Is this ticket still relevant, @phpeterson-usf?
Everything seems to work as expected..

Hi @ashmaroli, are you saying that it's expected that I need to copy minima's _includes/head.html into my _includes/ and remove the leading '/' from the style.css URL? I'm new to jekyll but that seemed like an odd solution to getting 404 on style.css due to missing baseurl. I could back out my "fix" if that helps show you what I mean.

are you saying that it's expected that I need to copy minima's _includes/head.html into my _includes/ and remove the leading '/' from the style.css URL?

No. I'm saying that the leading slash needn't be removed at all.
And your site should work as expected irrespective of the leading slash.

I could back out my "fix" if that helps show you what I mean.

That would be great.

Tried unsuccessfully to repro. Sorry to distract, but appreciate the work on Jekyll and Minima.


add Dockerfile and docker docs usage

Nowadays a lot of people uses docker to install and run tools.
In my case, I didn't want to install conda and the rest of dependencies risking to mess with other packages installations. I prefer to use isolated environments with containers.
Here I add a Dockerfile and instructions of how to run DeepSVR with docker.
Hope you find it helpful.

Love it! Thank you for your contribution

I'd like to second @bainscou's comment. It's pretty awesome to see someone build out a docker container, clean up the README, and bring it all back as a PR.
👍

Glad you liked it, I'm happy to contribute. Kudos for this great tool, and making it available.
I'm trying it and I like the approach you take. Hope to give you some feedback in a couple of days.


How do i install the VerizonCraft

Ive tried running the scripts but it isnt working... I need to know how.

This repo is simply a clone of the original Verizon craft repo. I've never got this running and simply preserve it here, in case someone knows java well enough, and has the motivation to fix up the missing links.


Unable to use Siri turn on robot cleaner after update plugin

Hi the plugin was working perfectly in the last version. However, after I update the plugin, there are new additional actions available and I was unable to use Siri to turn on robot cleaner.
I only got response saying that Siri couldn't find device in home app. I only use plugin to turn on and off robot cleaner. I try moving other actions to different room as I don't need them but everything just end up moving altogether including turn on and off option.  Any thought on this?
Below are my setting
{
"name": "Robot Cleaner",
"ip": "192.168.x.x",
"token": "xxxxxxx",
"actionButtons": false,
"propertyControl": false
}

Just found out that I could disable other actions by adding "modeControl": false. Now all the option has disappeared.
However, I still couldn't use Siri to toggle the robot cleaner. It might be the sensor that causing this issue. Is there anyway I could disable the sensor?

Please make sure that you tell Siri the exact name of the switch which you are trying to turn on/off. The sensor or other switches has absolutely nothing to do with your issue. You can also rename the switch and then tell Siri the name of you find it difficult to speak speak out the name.

Hi Marcin,
I’ve been calling the exact name of the switch and I even try changing the name and type of switch to fan but still doesn’t work.
I know it sounds bizarre and the new sensor shouldn’t effect Siri functionality but it’s the only thing that’s different from previous version which worked perfectly fine.
Anyway, thanks for your hard work 🙏🏻!
On 24 Mar 2022, at 12:50, Marcin @.***> wrote:

Please make sure that you tell Siri the exact name of the switch which you are trying to turn on/off. The sensor or other switches has absolutely nothing to do with your issue. You can also rename the switch and then tell Siri the name of you find it difficult to speak speak out the name.
—
Reply to this email directly, view it on GitHubhttps://github.com/merdok/homebridge-miot/issues/246#issuecomment-1077243950, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADU6IYCFD3E33KXLIY3JTILVBP7BDANCNFSM5RLGL3SQ.
You are receiving this because you authored the thread.Message ID: @.***>

I have also the sensor and it does not affect Siri in any way. I can control my vacuum cleaner with Siri without any problems. Again, naming is here very important especially when you have your language other then English, in that it is recommended to use a name using your native language.

Oh I just found out that the vacuum cleaner and its sensor have the same name. Hence why Siri couldn't figure out which device I was referring to. I changed the sensor name and things are now back to normal!
Thanks a lot. It's naming issue.


How to find logs in EC2 deploy

Hi,
I'm trying to figure out where the backend is being run from when it is deployed to EC2. I'd like to be able to view the output logs and other files, but I can't figure out what the directory for the deploy is on the EC2 instance.

Thanks! That's what I was looking for :)


v1.0.4

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@d8bfb07). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #158   +/-   ##
=======================================
  Coverage        ?   81.30%
=======================================
  Files           ?      355
  Lines           ?     3321
  Branches        ?      493
=======================================
  Hits            ?     2700
  Misses          ?      620
  Partials        ?        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Bump Function API versions

Our discount function templates and samples were still referencing 2022-07. This PR updates them to reference 2023-01, which should be safe to use now for Functions.
As part of this, I updated the schema.graphql files. I did this by running shopify app generate schema in the sample app function directories. Then I manually copied over the product, shipping, and order schemas to the discount templates. Please help me double check that I didn't accidentally copy the wrong contents to the files 🙏
I 🎩 the discount sample app, but I don't know how to 🎩 the templates. What's the best way to do that?
Edit: I ran npm run expand-liquid and the outputted TOML files look fine to me.

Yeah I did 😄 The only 2022-07 reference I could find (outside of GraphQL files) is for shipping-rates-consolidation. I'm not sure if that should be updated too.

Ignore that for now. We don't own these samples, it's fine for us to update discounts here but going forward we do not own this sample code.

Okay, sounds good!


risc-v is not supported

Can you support RISC-V chip + Linux operating system?

Thanks for the issue! Electron itself doesn't support RISC-V (Node.js doesn't seem to support it either, see https://github.com/nodejs/build/issues/2876), so we don't plan to support that architecture at the moment.


DB Options - DBNull error if VLFCount is NULL

If VLFCount is NULL, an InvalidCastException occurs when viewing detail.
System.InvalidCastException: Object cannot be cast from DBNull to other types.

Included in 2.37.0 🎉


Add support for metric post-proc functions

This allows us to perform simpler operations on end data, such as creating cumulative charts.
REF: https://github.com/cortezaproject/corteza-webapp-compose/pull/182

where are we with this?

Included with https://github.com/cortezaproject/corteza-js/pull/13


A11y_AzureToolsStorageExplorer_SASGenerate_Screenreader:Unnecessary table is read when the focus is on the "Access policy" combo box.

" Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing aster and easier.”
GitHubTags: #A11y_AzureToolsStorageExplorer; #A11yMAS; #A11YTCS; #DesktopApp; #MAS1.3.1; #NVDA; Win32;
Environment Details:
Application Name: Azure Tools Storage Explorer
Application Version: 1.10.0
Windows10
Repro Steps:

Launch Storage Explorer
Navigate to "Open Connect dialog" pane and Sign in to Azure.
Go to "Manage Accounts" pane and Select the subscriptions you will use. Once selected, click on "Apply" button.
Navigate to "Blob Containers" of the selected subscription, right click and hit enter on "Create Blob container" to Create a new Blob container.
Once completed, Navigate to "Upload" button and Upload a blob/file by using  "Upload Files" control.
Blob gets uploaded, right click on blob and select "Get Shared Access Signature" control and hit enter
Start NVDA and navigate using the tab key till the "Access policy" combo box.
Observe the NVDA readings.

Actual:
Unnecessary table is read when the focus is on the "Access policy" combo box.
Expected:
Screen reader must only read the "Access policy" combo box and it should not read the table unnecessary.
User Impact:
Screen readers user gets confused if the if the table is read when the focus is on the combo box.
Recommendation:
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
MAS Reference:
MAS1.3.1:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4}
Attachment for Reference:
1915_A11y_AzureToolsStorageExplorer_SharedAccessSignature_Screenreader.pptx

Verified, but the focus is not on the Access Policy combo box when "row 1, column " is read out. I think it's reading this because we're using CSS tables (display: table). We should switch to CSS grids.

Approved for exclusion as low impact.

GithubTags:#Closed;

GitHubTags:#BM-TCS-StorageExplorer-Win32-Sep2019;


Update sbt-http4s-org to 0.13.1

Updates org.http4s:sbt-http4s-org from 0.2.1 to 0.13.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s", artifactId = "sbt-http4s-org" } ]

labels: sbt-plugin-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #176.


return data type not clear

"Returns character data"
this is not very specific - can you please update the documentation for the STUFF function to be more clear about which result data type (varchar/nvarchar/text, length?) is returned by this function in all possible execution paths?

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

ID: d6b3f468-5782-d8f1-089f-59527367cdd6
Version Independent ID: 60885f1b-5125-f2c4-c3d3-1ccd65e0859b
Content: STUFF (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/stuff-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@mariomuja Thank you for the feedback, assigning this to the author for comment.

@mariomuja Thanks for the note.
We're planning a documentation update to clarify this.
Internally, we reference (1648827).


provide createMarker()

May I ask for a central createMarker() function to create an rviz Marker given a specific marker type?
This functionality was already coded twice in rviz itself and - as I need it in an external project now - I would go for another copy otherwise.
This PR provides the requested functionality to create markers based on the known marker types in visualization_msgs::Marker at the core location, which knows about all these types.

@dhood I applied the requested changes, but I face some unrelated problems building now. Was there
In file included from /opt/ros/kinetic/include/pluginlib/class_loader.h:35:0,
                 from /homes/rhaschke/src/ros/src/rviz/src/rviz/pluginlib_factory.h:40,
                 from /homes/rhaschke/src/ros/src/rviz/src/rviz/view_manager.h:36,
                 from view_manager.sip:8:
/opt/ros/kinetic/include/pluginlib/./class_loader.hpp:57:46: error: ‘UniquePtr’ in ‘class class_loader::ClassLoader’ does not name a template type
 using UniquePtr = class_loader::ClassLoader::UniquePtr<T>;

Was there a recent change to class_loader?

A UniquePtr interface has been added for platforms supporting c++11 by default. But that was a while ago so I dont expect that to be the cause of the problem here. As the 2 PR jobs passed my guess is that there is something different between your setup and the farm. There have been some changes in pluginlib recently but your console output seems the include the latest headers so I'm not sure what is different between your setup and the buildfarm...

Rebuilding my whole workspace solved my local build issues. Tests succeeded.

thanks!


Update SQKFetchedTableViewController for iOS 8

UISearchDisplayController has been deprecated in favour of UISearchController.

See branch https://github.com/3squared/SQKDataKit/tree/search-controller-ios8
If we can figure out how to do compatibility, it could be merged.

@djyates Currently rewriting in Swift with UISearchController.


Completele out-of-date? .. Or?

With Ubuntu 14.04 / node v5.12 (also tried v4 & v6), running
vue init webpack my-app
cd my-app & npm install
gives:
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated<EMAIL_ADDRESS>cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

And below the folder-tree:
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>
And when trying to run:
npm run dev

><EMAIL_ADDRESS>dev /home/tom/Projects/QRespi/dev/my-app
> node build/dev-server.js

events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::8080
    at Object.exports._errnoException (util.js:893:11)
    at exports._exceptionWithHostPort (util.js:916:20)
    at Server.__dirname.Server.Server._listen2 (net.js:1246:14)
    at listen (net.js:1282:10)
    at Server.__dirname.Server.Server.listen (net.js:1378:5)
    at EventEmitter.listen (/home/tom/Projects/QRespi/dev/my-app/node_modules/express/lib/application.js:617:24)
    at Object.<anonymous> (/home/tom/Projects/QRespi/dev/my-app/build/dev-server.js:59:22)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:148:18)
    at node.js:405:3

npm ERR! Linux 3.13.0-92-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>dev: `node build/dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script 'node build/dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the my-app package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build/dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs my-app
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls my-app
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/tom/Projects/QRespi/dev/my-app/npm-debug.log

Should we not use this template anymore? I am a vue- newbie... missing something?

We do have some dependencies that we'd like to update 1-by-1 soon, but your problem is unrelated to them. The vital line is:
Error: listen EADDRINUSE :::8080

That means another application on your system is already bound to port 8080. I don't remember if this also works on Linux, but on OS X, I usually run lsof -iTCP -sTCP:LISTEN -n -P and it'll give you a list of all the processes bound to ports. Find the one that's bound to 8080 then kill -9 PROCESS_PID (replacing PROCESS_PID with the actual PID of the process).

Excellent. Thank you. All the deprecation warnings put on the wrong foot.
Indeed  lsof -i :8080 showed that I had syncthing-gui running on that port. Setting that one to different port and now... Vue welcomes me ;)
Thanks !


.Net: New Feature: Add missing optional parameter responseMimeType to GeminiPromptExecutionSettings to allow for valid JSON output

name: Add missing optional parameter responseMimeType to GeminiPromptExecutionSettings
about:  The optional API parameter responseMimeType is missing from the GeminiPromptExecutionSettings which is preventing the ability to have valid JSON responses returned from requests to Gemini (similar to OpenAI's response_format: "json_object"). This allows you to set the appropriate response type to avoid unintended behaviours.

Suggested Property:
[JsonPropertyName("responseMimeType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ResponseMimeType { get; set; }

Available values are:

application/json: JSON response in the candidates.
text/plain (default): Plain text output.
text/x.enum: For classification tasks, output an enum value as defined in the response schema.

Google documentation:
https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1/GenerationConfig
https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference
Ideally the responseSchema property should also be incorporated to allow for "controlled generation", as Google call it (the same as Structured Output with OpenAI), but that's a much larger implementation. Adding responseMimeType would be a great start and seems like a low handing fruit, I may be wrong though... 🤔 It looks like this has been added on the Python version already.

Hi @markwallace-microsoft, @moonbox3, I will work on this and raise PR soon. :)


Generate differentiated error codes for buffer oob checking

This allows the GPU-AV layer to differentiate between errors with
uniform buffers versus storage buffers and map these to the relevant
VUIDs.

@dnovillo Can someone at Google please review?

@dnovillo Can someone at Google please review?

@greg-lunarg I'll review today.

@greg-lunarg I'll review today.

@dnovillo I think I have now addressed all your concerns. Please have another look!

@dnovillo I think I have now addressed all your concerns. Please have another look!

I'm going to revert this as it breaks the validation layers by removing kInstErrorBindlessBuffOOB.

I'm going to revert this as it breaks the validation layers by removing kInstErrorBindlessBuffOOB.

@dj2 FWIW, even if we undeleted the old error code, this version is only generating the new error codes, so the layer would still not work. It is not correct to build the layers with any version of glslang and spirv-tools not specified through known-good.

@dj2 FWIW, even if we undeleted the old error code, this version is only generating the new error codes, so the layer would still not work. It is not correct to build the layers with any version of glslang and spirv-tools not specified through known-good.


Rename *Reducers.js files (plural) to *Reducer.js (singular).

While each reducer file does have multiple functions that fit the signature of a 'reducer', which is (state, action) => state, each file only exports one function that's utilized elsewhere and invoked in unit tests.

@borisyankov Yeah, that's exactly what I've acknowledged in the first comment :)
To elaborate a bit more -
Staying with flagsReducers; messageFetchComplete, eventNewMessage, eventUpdateMessageFlags, and markMessagesRead are specific to actions, and I think it makes more sense to think of entire flagsReducers module in terms of its specific piece of state.
And that fits with the fact that these files only export a single reducer. So in terms the interface that the module presents, when a new developer or contributor looks at the file for the first time, the singular reducer would better communicate what's provided.

I don't think we ever follow the mantra the name says what we export'. I think you just invented that to strengthen your case :) For example, the file reducers.js`, exports a single root reducer, but contains reducers.

The idea of a module as an interface isn't new.

Here is my view:

calling something flagsReducer is correct, as it exports a combined single reducer
calling the same thing flagsReducers is also correct, as it contains reducers on flags state
renaming from one to the other is not correct, as it adds complexity to tracking history and non-zero effort for no real benefit

I agree with @jackrzhang that these modules each feel like they're really about the single reducer that it exports, and that maintains a certain subtree of the state. The helper functions like eventNewMessage feel like implementation details, and not the point of the module. Which has caused the plurals in the names to not feel right to me.
I'd actually go further -- I don't think those helper functions are properly called "reducers". They don't follow the protocol that Redux expects of a reducer, in a couple of ways:

Given an action they don't understand, they don't do something reasonable like return the unmodified state -- usually they'll just blow up.
When passed no state at all, they don't return the desired initial state; they'll start from undefined, which neither they nor their selectors accept as a valid state.

Effectively, they count on the exported function at the bottom of the module to handle these essential responsibilities of a Redux reducer for them, and give them a more narrowly focused task. So in fact each of these modules contains just one actual Redux reducer.

I don't agree that there's no benefit in fixing these names; as they are, I think the names contribute to confusion about how Redux really works, which is a real cost.
A reason I'd hesitate to go and sweep through renaming them all right now is that I have some other ideas for how we might better organize our Redux code; and as Boris says, there is a cost to renames that affects reading the history, so it's better to move a given chunk of code once than twice.
I spent an afternoon last month prototyping a version of those ideas, but haven't gone back and polished it up. I'll rebase and start a chat discussion with it, rough as it is.

Given an action they don't understand, they don't do something reasonable like return the unmodified state -- ...
When passed no state at all, they don't return the desired initial state; ...

Yeah, I had also thought of these points; they make clear that the other functions aren't Redux reducers.
For reference, the chat discussion is the #mobile-team stream and topic redux.

I’m on mobile now, but I believe the changes described in this PR have been made. @gnprice, it sounds like there are some architectural changes you’re considering in https://github.com/zulip/zulip-mobile/issues/3016#issuecomment-429029878; if they’re still relevant, maybe they could get their own issue and this one could be closed?

Indeed, thanks!

If the reorganization idea is still relevant, is it being tracked?

Looks like I expanded on that idea here (thanks to Jack for linking to it above). The prototype branch is here:
https://github.com/zulip/zulip-mobile/compare/master...gnprice:redux (permalink)
Some of those ideas, I later completed systematically and merged:

organizing and documenting the types in our Redux state, now in src/reduxTypes.js, circa cc945867a
inlining the many tiny action handler functions into reducers, in the series around f20c478e5

The major thing that's still open is:

For a lot of parts of our state tree, the internal details about that data structure are spread across three places: a fooReducer.js, a fooSelectors.js, and a type FooState in reduxTypes.js. I'd like to reorganize so that code that cares about the internal details of state.foo is all in one place, perhaps fooState.js.
This can mean less flipping back and forth to understand that code. It also helps make it possible to encapsulate those details, i.e. ensure there aren't miscellaneous other bits of code around the app that secretly embed assumptions about that data structure's internals.

There's also a minor thing I see looking back at that branch:

In preparing the branch, I experimented with using WebStorm, and so it contains a draft WebStorm config.
My hope was that WebStorm would provide refactoring features, especially for these operations like moving things between files and updating all the imports that refer to them, that in VS Code are broken for Flow codebases. I guess I ended up turning to commands like perl -i -0pe 's/.../.../g' src/**/*.js instead; see discussion just today on #learning.
It's still possible WebStorm would be useful to use sometimes. If so, that branch's draft config might be a helpful starting point.

OK, filed those two pieces as #3934 and #3933. I don't think they're especially a priority to go and do right now, but those make the background handy to find when they come up. And, closing!


Unable to apply some style properties to Yorkie-UI component

What happened:
After applying background color and border to the Yorkie-UI component, the styles are not being applied as expected. The class is being applied correctly, but upon inspecting the CSS, it seems that there is no corresponding CSS for the class.
What you expected to happen:
Expected the background color and border to be applied to the Yorkie-UI component.
How to reproduce it (as minimally and precisely as possible):

Apply a background color and border to a Yorkie-UI component.
Verify that the styles are not being applied correctly.

Anything else we need to know?:

Environment:

Operating system: ALL
Browser and version: ALL
Yorkie version (use yorkie version): ALL

hi @devleejb
Because CSS property names will be abbreviated, you can refer to this section: https://yorkie.dev/yorkie-ui/?path=/docs/config-props--docs#short-props
However, for the border, you must declare all its individual properties in full. I will check it color now.
<Box maxW="sm" borderWidth="1px" borderRadius="lg" borderColor='border.default'>
Hello
</Box>

Hi, @vitran12.
Padding isn't applied too.

In grid, 2 columns don't work.

Currently, we are reorganizing the structure, so it would be a good to reissue later since it has been stalled.


Add new code of conduct file

Description
Add new CODE_OF_CONDUCT.md file which is standard file. You can refer sample code of conduct files.
PR requirement:

star this repo to make it cooler
add issue number in PR description (closes issue #_)

Can you please share sample code of conduct files?

@VyjayantiN , you can refer here - https://github.com/jsvigneshkanna/tailwind_ui_components

Done in PR - #2

It did not count to hacktoberfest 2022


Add GitHub token

Summary
Travis was missing the GitHub token to make releases.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: lpatino10:x: germanattanasioYou have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

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

@@         Coverage Diff          @@
##           master   #35   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files           1     1
  Lines         150   150
  Branches       11    11
====================================
  Misses        150   150

Continue to review full report at Codecov.

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


Max reachable data rate?

Hi! I am currently working on a project using the raspberry pi as a transmitter and one arduino as receiver.
So far, using the test.c code, I have achieved to properly send IR signals at a 40bps by running test.c code in a loop .
Since I am interested in performance measurements, I was wondering what could be the maximum sending data rate? Is it possible to be higher than 40bps?

I might be wrong, but given the carrier frequency of 38Khz and the typical protocols used (such as NEC), I don't think you can go any faster. The protocol dictates specific timings for representing a 0 vs. a 1.
But if you're not following a protocol and just want to send bits out as fast as possible, I'm sure you could go faster. If you look at the pigpio library, it seems you can be accurate down to a few microseconds. But nothing you try to communicate with will work properly in this case unless you design the receiving hardware yourself.

Hey @bschwind , thanks for answering. I think what you suggest makes a lot of sense

But nothing you try to communicate with will work properly in this case unless you design the receiving hardware yourself.

Indeed, the success of comunications depends also on the receiving hardware. I think the TSDP series from Vishay could be a good commercial receiver to start working on with.

(Source).
I will look into pigpio library and try to improve that data rate. I will work on it and if I come with a solution for achieve higher data rates, I will let you know and maybe I can make a PR  and add a new funcionality it to the ir-slinger wrapper.


Clarification about custom fonts

I'm not sure how I can add and use custom fonts:

why is the font .ttf file not enough?
where do I get a .map file for my font?
how to export the font so it will be "unicode-compatible"?

I'm interested in using DejaVuSansCondensed.ttf from Dejavu font distribution.
PS: the project is awesome! you've done a great work!

OK.
I found the.map files in font/ dir (surprisingly).
Is there a good way to support unicode? Any workaround to work with chinese, cyrrilic, hebrew fonts?

You have identified gofpdf's principal shortcoming. Since it is a fairly straightforward port of fpdf, it inherits that legacy project's use of code page fonts. The practical limitation is that you will be restricted to fewer than 256 glyphs per font, in particular the ones that you have a map for. This regrettably excludes languages with more than that many glyphs.
I would definitely like to support Unicode fonts directly, but for now you need to jump through some hoops. Here is an example that use code page 1251, one that supports Cyrillic:
	cd makefont
	go build
	cd ../font
	# Copy from wherever
	cp /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf \
	DejaVuSansCondensed-1251.ttf
	./makefont/makefont --embed --enc=cp1251.map DejaVuSansCondensed-1251.ttf

This should produce DejaVuSansCondensed-1251.json and DejaVuSansCondensed-1251.z.

Thanks for the detailed answer.
I have a legacy PHP code using tcpdf for PDF generation. Since the core of our application is written in golang, I looked for a good candidate to replace tcpdf, so I can port the PHP code to golang. gofpdf looks as a perfect candidate, it's simple, straightforward and its API is similar to tcpf's one (at least for the functionality needed by us). The only problem with gofpdf is that it lacks the unicode support, which is crucial for us. I don't have much time now, so I'm going to leave the idea of porting it to golang, and I'm going to integrate the legacy PHP code into the golang app.
Anyway, do you think it is a big project to bring the unicode support to gofpdf?

There are at least two issues that tcpdf must have solved (I haven't examined that library).

Change all occurrences of 256-element code page arrays to maps keyed by glyph name or code point
Find a way to embed only the used glyphs, since including full Unicode fonts would result in unacceptably large PDFs

It would be nice to support the newer font formats (svg, woof, eot) in addition to otf and ttf.
Any insights appreciated!

This is a modified version of FPDF that supports Unicode fonts, including subsetting. Maybe it provides a direction? http://www.fpdf.org/en/script/script92.php

Thanks for link -- I will investigate that.

Just to clarify, does this code:
pdf := gofpdf.New("P", "mm", "A4", "/path/to/font")
    pdf.AddFont("DejaVuSansCondensed-1251", "", "DejaVuSansCondensed-1251.json")
    fontSize := 16.0
    pdf.SetFont("DejaVuSansCondensed-1251", "", fontSize) // Match name from AddFont()
    // Make the appropriate code page translator
    tr := pdf.UnicodeTranslatorFromDescriptor("cp1251")
    str := tr("Съешь же ещё этих мягких французских булок, да выпей чаю.")

work for Chinese, Korean, or Japanese fonts?

@vtirta

Just to clarify, does this code ... work for Chinese, Korean, or Japanese fonts?

How I wish it did. However, for reasons explained in previous comments, gofpdf currently only supports fonts that have a code page, that is, ones that have 256 or fewer glyphs. This is gofpdf's biggest shortcoming.


Add landing page to bikespace-v2 repo

Continuing on the path for a monorepo, add the https://github.com/bikespace/bikespace-website into bikespace-v2 repo

closed by #79


Automatically download the SDK

Automatically download the SDK as part of the build script; if we are unable to find the SDK locally.

There is no point in downloading SDK. The libraries that comes with SDK are import libraries that dynamically loads the LogitechLcd.dll that comes with the Logitech Gaming Software. We should link directly that instead.


Add a citation file for evolution

Since Evolution is meant to be used in transportation research, it would be helpful to provide facilities to cite the project,
See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files

Good idea.


Fix CI on main

Current main branch has a weird mypy error. This PR tries to solve it.
📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed
[x] Branch name follows type/descript (e.g. feature/add-llm-agents)
[x] Ready for code review

ℹ Additional Information

@XuhuiZhou Please review and merge PR to fix the current mypy error on main.


[ERROR] cannot 230502 get wod article.

Status Code : 504

Cannot open wod page "https://www.crossfit.com/230502".

now can access to "https://www.crossfit.com/230502"


ENH: Add Image Text. Modify path links for tools.

This first PR is for comments. This was a little more difficult than I imagined, requiring sending the display to the new ImageTextBox tool and housekeeping was a bit of a bear to sort out.
Once we work out the details, I'll build this into plot_grid as well. That should be reasonably simple.

I see no major changes, have you upload all files?

Oh man, sorry. I forgot to add the main file to the commit! Should be in there now.

Ok, now it is there. I plan to see this in the weekend

Great, thanks @gamaanderson

If you agree with the naming, I'll merge so we can move forward again. Sorry for the delay and thanks for your comments and patience!

Yes, I'm ok with the naming. But there are still issues with _rebuild_entry and _init_entries (as comment 2 day ago). Make sure you also get those. If you have not the time to work on that, I can make the code alteration my self.

I think the latest commits address everything. If anything is outstanding let me know and I'll fix it up.

plot_radar.py in line 319 still importing from display, not image_text, otherwise this is good to merge

Thanks, that did it!


Feat: add usePermission

@gelove I believe you didn't want to close this PR?

@streamich  I just want to recommit this PR ^_^