[GSSoC'23]: Black Jack

This card game consists of 2 players; one player has 2 cards and the other player(dealer) has 3 cards (with one card hidden), and the dealer must draw a card until they get a sum of at least 17.
There are 2 cases of deciding a winner:

The player (not the dealer) has a sum of cards below 21 then if the sum of cards for the dealer is above 21 then; the player wins.
If the player has a sum of cards above 21 then no matter what the dealer has; the player loses.

Kindly assign me this issue.

@raj03kumar I have almost completed this game. Can you please assign me this issue I'll submit the same by tomorrow morning.

Good to know. Kindly follow all the guidelines and happy coding Anushka... !!!

I am making this using HTML, CSS and Javascript

I am making this using HTML, CSS and Javascript

Use react framework and go through contributing.md for successful merge.

Then can I complete it by next week or so?

I actually completed that almost so. So now since I have to make it from scratch it will take time. But I really want to contribute. So give me some time, I'll definitely complete it and will make a really good pr for sure.

I actually completed that almost so. So now since I have to make it from scratch it will take time. But I really want to contribute. So give me some time, I'll definitely complete it and will make a really good pr for sure.

No Issues Anushka. Since you have lot's of task we will extend your time to your preference but don't stretch it for long. Get all things done till the first week of June.

Hello @raj03kumar, I would like to request your attention regarding this issue. I have successfully completed the task and submitted a pull request. Kindly review it and consider assigning it to me under the GGSOC'23 project. Thank you!


Param with bounds should default to lower bound

import param
class Test(param.Parameterized):

    fps = param.Integer(
        bounds=(1, None),
        doc="The number of frames per second to use for the output.",
    )

Test()

ValueError: Integer parameter 'fps' must be at least 1, not 0.

I'm not sure. What should this default to?
class Test(param.Parameterized):
    fps = param.Integer(bounds=(None, -1))

I don't think most people would have a strong expectation about what the default would be in either of those cases, so I'd recommend to users that they specify the default explicitly for clarity.
Still, having defaults be automatic is convenient, especially in a notebook context for quick exploratory mini-apps. My gut preference would be to take the midpoint of the two bounds (as the "most typical" value), or if there's only one specified, take that one. But I believe the current practice is to take the lower bound (alas!), so I guess taking the lower bound (if present) and then falling back to the upper bound (if present) is the best we could do.
All that's to say is that I don't object to this proposal, but I also wouldn't mind if other people want to mark it wontfix.

If it's marked as wontfix I think it should not default to 0 outside the bounds of fps.

If I could choose I'd prefer Param not to set any default values at all, for all Parameters, so I'm not going to advocate for automatically computing smart default values 🙃
But if you want to go down that route, you'll have to define how this new logic behaves in a class inheritance scenario:
import param

class A(param.Parameterized):
    fps = param.Integer(bounds=(1, None))

class B(A):
    fps = param.Integer(bounds=(10, 20))

a = A()
b = B()
print(a, b)  # ?

My first instinct is 1 and 10.

My first instinct is 1 and 10, but I don't mind it being wontfix, as long as the default is None (right now it's 0 if I recall).

In principle I'm in full agreement but in practice this is a extremely difficult change to make because many users may implicitly be depending on the default being there.

Maybe the most conservative approach is to raise an explicit error when the computed default is invalid for the range, telling the user they need to set an appropriate default.


Scout wont connect to my SASS files please help!

This comes up on Scout.app when I attempt to configure my files..
Dear developers making use of FSSM in your projects, be taking place in the new shared guard/listen project. Please let us know if you need help transitioning! ^_^b - Travis Tilley >>> Compass is polling for changes. Press Ctrl-C to Stop.
What do I do?

Issue resolved. Closing issue. Download the latest version of Scout-App.

Scout-App.io


Add Compress with UPX action

Please move this to the bottom of the list, and then we can merge, thanks!

@sdras Done :)

Awesome, thanks!


Chore/export ts config

This adds the TsConfigInfo as provider to the public rules interface, which allows downstream rules to reuse the output of ts_config.
For reference there is a parallel PR in rules_nodejs: https://github.com/bazelbuild/rules_nodejs/pull/3578#issue-1406456330

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Connor McEntee seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@sallustfire can you update the docs as well? See the CI error...

@jbedard Ok, regenerated the docs, passes locally for me.


[dx12] fix shader stage string UB

Fixes UB in dx12's compile_shader: the formatted string was dropped before the pointer was used.

bors r+


Typos in Source Code Video questions

Challenge Name

Video: Source Code
Issue Description

In this lines it should be "compiled" and "interpreted" respectively.
Browser Information

Browser Name, Version: Firefox
Operating System: Ubuntu 16
Mobile, Desktop, or Tablet: Desktop

Your Code

Screenshot

Probably a good one for first-timers-only :grinning:

It seems from the description (eg "Javascript, however, and other interpreter languages...") and some quick searches that these terms are used as intended.

I even asked in Gitter because I'm not native in English and the campers told me it should be "compiled" and "interpreted" that's why I created it, but if that's how it was planned it's ok.

I think we should change this:
- Javascript is a compiler language
+ JavaScript is a compiled language
- Javascript is an interpreter language
+ Javascript is an interpreted language

Exactly @atjonathan

@atjonathan I agree and tweaking it a little further to make sure the "JavaScript" is stylized correctly:
- Javascript is a compiler language
+ JavaScript is a compiled language
- Javascript is an interpreter language
+ JavaScript is an interpreted language

To contributors, please first read the contributing guidelines before taking care of this issue. And feel free to visit the Contributors Help chat room if you have any questions about helping. We're there to help.


Where to import ChatMessageHistory?

ModuleNotFoundError: No module named 'langchain.memory'

we recently reorg'd the imports, see https://langchain.readthedocs.io/en/latest/modules/memory/how_to_guides.html

Hello, I have also encountered this problem. I the tried an example in the link you provided but I'm still not sure how to fix it. Can you help me?
from langchain.memory import ConversationBufferMemory
ModuleNotFoundError: No module named 'langchain.memory
from langchain.schema import Memory
ImportError: cannot import name 'Memory' from 'langchain.schema'

hi @hwchase17 , the document you posted still have code like following, but doesn't work
from langchain.memory import ConversationBufferMemory

@lianqiao
pip install langchain[all]
https://langchain.readthedocs.io/en/latest/reference/installation.html

from langchain_community.chat_message_histories.in_memory import ChatMessageHistory


task: add OpenAPI spec validation as part of npm test

Three steps:

Add the package.json line(s) https://github.com/adobe/adobeio-cna-core-campaign-standard/blob/45c9cf1ae2cb0b262b637dcb21c13275d2b74cc9/package.json#L9
Add the script and modify as needed https://github.com/adobe/adobeio-cna-core-campaign-standard/blob/45c9cf1ae2cb0b262b637dcb21c13275d2b74cc9/bin/validate_spec.js
npm install --save-dev openapi-schema-validator

closed by #36


[stable/traefik] HorizontalPodAutoscaler

What this PR does / why we need it:
Adds an HorizontalPodAutoscaler option targeting the Deployment
Which issue this PR fixes
No known issue
Special notes for your reviewer:
Modeled after stable/nginx-ingress but decided to read the whole "metrics" definition as yaml from values instead of restrict them to cpu and memory.
Also bumped the version to the next minor version given that introduces a new API.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign dtomcej

/approved

/lgtm


Updated: double-commander 0.9.2

Newer version of double-commander (0.9.6) is now available in master.


expose logs outside of container

nginx/postgres logs

Updated Files
https://github.com/WHOIGit/photic/pull/221


Kong  working flow ，(preserve_host=true)

user request kongserver LB
2.Kongserver through pre-configured API records to request the actual node
3.Kongserver returns to the user

My guess is correct？
thanks！

the same working flow as normal nginx

request:  client -> kong(openresty/nginx) -> realserver
response:  realserver -> kong(openresty/nginx) -> client

it has no relationship with preserve_host arg which decides whether keeping Host header in http request.

preserve_host=true  ,  What is the function?
thanks!

when nginx forwarding request mock.domain to real server, e.g. node-01.xxx, the header Host will be node-01.xxx by default, while some real server or next proxy requires that header Host=mock.domain strictly for filtering or other purpose. preserve_host solves that problem.

OK, thank  you！


RC values: VoiceControl and 2. PowerOn?

Hello,
I catched this really nice addon. In terms of remote control values, I am wondering if

the voice button (between Home and Settings)
the 2nd power button on upper right
can be configured as well?
I am using an 8500 nano (2020) with webOS 4.5

Hi,
so you can check all the possible RC values here: https://github.com/merdok/homebridge-webos-tv#remote-control-values
I did jailbreak my TV and fetched the values from the TV itself so i do not think that there are any more possible values, unless i missed some files on the TV...

Hi @merdok. I already checked your list before. But the hint with the official app is a good one: both buttons are not included. A pity, but that‘s life. Thanks for you work!


hardware: Add 3D printed case lid

This is a counterpart to @gregdavill's base, and is a decent friction fit but also has room for magnets above the mounting holes to keep it in place.
Printed and tested on my revC1, but there's a fair amount of room around the USB connector so hopefully will work unmodified with USB C :)
The f3z is an archive of the fusion 360 files, extended from Greg's. It also includes an imported STEP of the Glasgow itself which is used in the design, though it's missing a few components. (I think maybe some are missing STEP files...)

Thanks!


Feature: signal vegeta to increase/decrease attack rate

Would be great if vegeta could receive signals (TTIN/TTOU)[http://unicorn.bogomips.org/SIGNALS.html] to increase rate during the attack.
This could be used to simulate traffic waves.

How about this feature now? It sounds really useful

Solution from @tsenart.
https://github.com/bbc/FOSS-Load-Tools/blob/master/vegeta/vegeta.md#ramp-up
I think either @tsenart is too busy with something else or is just happy with his work the way it is. Probably a bit of both. Vegeta is solid basic URL basher which I think was it's intention. Speak to me privately if you are not happy with this solution. My email is on my profile.

One could also expand on the mentioned solution with the distributed vegeta attack method https://github.com/tsenart/vegeta#usage-distributed-attacks, although it doesn't have to be implemented exactly like that example but taking that similar approach.

Ramp-up is easily doable with a little shell script. This is a documentation problem. See: https://github.com/tsenart/vegeta/issues/304


[CodeCompletion] Analyze the parent of initializer

For Initializer decl context, type context analyzer should look into its parent context because that might constrain initializer's type.
rdar://problem/48208253

@swift-ci Please smoke test

@swift-ci Please smoke test OS X platform

@swift-ci Please smoke test

@swift-ci Please smoke test OS X platform


Plans to continue support of the MinimumEigensolver qiskit plugin?

Hi,
I was wondering what the current state of this repository is in. It has not had any updates in 3 years, yet, it has not been deleted nor archived.
Is there any interest to revitalize this plugin so that one could leverage qiskit application algorithms on the Leap hybrid solver or D-Wave QPU?
Has a qiskit plugin feature been implemented elsewhere? Or why is there no general interest anymore to maintain this feature?
I would very much need a plugin like this, and if there is a collective interest to update this repo to adhere to the latest qiskit changes, I could start on implementing the required changes.
Regards,

Hi @willeagren, since DWaveMinimumEigensolver is just a thin wrapper of Ocean's sampler interface to D-Wave's QPUs, you can always use Ocean directly (as I'm sure you know).
To use it from (the latest) Qiskit, the plugin will have to be updated, that's correct. We don't have a timeline for that, but we welcome PRs, and are happy to assist if needed. Thanks! :rocket:

Hi @randomir, thanks for the quick reply! :smile:
Essentially I am mainly interested in defining a Quadratic Program through qiskit, and then find the ground state of the defined QP (ising problem) through the qiskit MinimumEigenOptimizer; but running on one if the D-Wave QPUs.
If there is an interest from you (D-Wave) to update this repo, I could start on a PR.
Also, I am quite fond of using the QP class from qiskit, as you can generate it from other application problems (e.g. Optimization or Estimation Applications found in qiskit_finance). And I'm sure that others might also prefer approaching quantum computing from that angle.
Thus, I would suggest that the DWaveMinimumEigensolver class would be extended with a method similar to _operator_to_bqm but instead takes in the already defined QP from qiskit. It could be named _qp_to_bqm. Similarly, one could add a property getter/setter for the quadratic program, just as for operator. I think this would complement the interface of the class quite well.
Please let me know if this sounds like something worthwile implementing/doing and I'll get started with it. :star:
Kind regards,

In principal, building an Ocean ConstrainedQuadraticModel from a QuadraticProgram should be very straightforward, and would likely provide a cleaner interface, because it would allow folks to bypass the binarization step.

To expand, the overall flow would look (something like)
import dimod

from dwave.system import LeapHybridCQMSampler
from qiskit_optimization import QuadraticProgram

qp = <generate QuadraticProgram here>

cqm = dimod.ConstrainedQuadraticModel.from_qiskit_qp(qp)

solutions = LeapHybridCQMSampler().sample_cqm(cqm)

# convert the solutions back into qiskit form

Hey @willeagren, I all you're actually only interested in solving the Qiskit-generated/constructed QP, then what @arcondello suggests looks like a much cleaner way to go.

Hi @arcondello, thanks for the help! :)
It looks more or less what I was able to hack together myself today as a solution to the original posted issue "I would very much need a plugin like this," and as you mention @randomir it solves the issues with solving the QP.
But I think some of my initial questions are still relevant for this repo, such as, whether or not there is an interest to update the DWaveMinimumEigensolver to work with most recent version of qiskit? If there is an interest to implement a more complete api?
Perhaps the repo should be archived? I'm sure others might stumble upon this repo when searching for Ocean + Qiskit compatible functionality, just like I did, and archiving it and referring people to more suitable information could be wise.
Regards,

Thanks @willeagren, these are valid questions/comments. We will assess internally how best to proceed. Thanks!


Why my prompt is so ugly?

My prompt is like this:
and yours:

For posterity: my prompt was missing the glyphs (as in OP's screenshot) and I fixed it via installing the powerline fonts:
# clone
git clone https://github.com/powerline/fonts.git
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts

Since I am using iTerm 2, I had to choose one of the Powerline fonts in iTerm's Preferences > Profiles > Text
Source: https://github.com/powerline/fonts


Add advanced filtering to excludedEvents

Commit message pretty much says it all. This change allows users to add an object into the excludedEvents array in the calendar module. This allows for more control over which events get excluded from the calendar. The updates I made to the README felt a little wonky, so it's understandable if you think those should be fixed.

Not 100% sure, but I think the node 5.1 build failure might be a travis error. I haven't used travis ci much so I don't know how to retrigger the build.

Just realized I accidentally made this pr to the master branch, rather than development. Closing this pr.


Added support for s390x

Added support s390x.

Added to my queue.  @guirish @chakravarthy392 Are you on our calico users slack?  There's a calico-dev channel there where the developers coordinate (particularly the multi-arch work).


How to use with dry-data?

I'm really lost on this because all documentation have been quite confusing as it explains individual parts but not how everything works together.
Basically I'm looking for some full example from table creation till data insertion.
So for example I've this
class User < Dry::Data::Struct
  attribute :id, Types::Int
  attribute :name, Types::String
  attribute :email, Types::String
end

class Post < Dry::Data::Struct
  attribute :id, Types::Int
  attribute :user, User
  attribute :text, Types::String
end

and since I'm using ROM as abstraction it should be possible to easily reuse this for persistence (not recreate attributes again for ROM) and automatically create tables and easily insert data by passing instances of these.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30267868-how-to-use-with-dry-data?utm_campaign=plugin&utm_content=tracker%2F8353094&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8353094&utm_medium=issues&utm_source=github).

This type of functionality is not done yet, hence there are no docs. I'm working on schema support for relations that will use dry-data API, from that we can infer things like automatic commands and schema migrations. I actually plan to provide auto-migration API too, like we had in DataMapper.
For now, please stay tuned, I'm doing my best to push this forward but I'm working on multiple projects simultaneously (rom-, dry- and rodakase...) so it's going pretty slow.


[SPARK-45223][PYTHON][DOCS] Refine docstring of Column.when

What changes were proposed in this pull request?
This PR proposes to improve the docstring of Column.when.
Why are the changes needed?
For end users, and better usability of PySpark.
Does this PR introduce any user-facing change?
Yes, it fixes the user facing documentation.
How was this patch tested?
Manually tested.
Was this patch authored or co-authored using generative AI tooling?
No.

Could you re-trigger the failed pipeline?

Merged to master.


Remove space between SVG icon and label in panel

Some of these have a space between </svg> and . Need to remove to display properly (this is my fault):
<svg class="icon icon-hiking"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="icons/defs.svg#icon-hiking"></use></svg> Hiking
should be:
<svg class="icon icon-hiking"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="icons/defs.svg#icon-hiking"></use></svg>Hiking

I think I got them all. Let me know if you still find any.

Closing this for now. @versatilehuman please reopen if you find any more.


Removed Inconsistency in documentation for ProjectCardOptions(#696)

Fixes #696
Inconsistent documentation was found in file github/projects.go
Edited the doc line to match the Github docs.

Check CLA

Couldn't sign CLA.Have to change email address in commit to a google email address.Closing this issue and submiting another pull request with updated email ID.


Log entries divided by Containerd into separate lines aren't parsed by fluent bit

Describe the bug
I use EKS log source with fluent bit DaemonSet config generated by centralized-logging-with-opensearch v1.0.1.
Sometimes my JSON log entries exceed containerd limit for log lines and I can see under /var/log/containers/* how such logs are divided into multiple lines by containerd.
This is mostly relevant to important entries of ERROR level as they contain long stack traces from java/spring based apps.
While I see ConfigMap with  dedicated support for containerd it doesn't seem to be able to parse such divided multiline JSON entries and I ended up with some logs missing in OpenSearch and alerts.
Expected Behavior
Fluent bit configuration should be updated to aggregate such divided log entries to original parseable JSON.
Current Behavior
Log entries are missing in OpenSearch and Alerts.
Reproduction Steps
Log JSON entry which exceeds containerd limit (~16Kb) and verify that log entry didn't get to OpenSearch.
Possible Solution
Parsing JSON log message issue with Fluent Bit and containerd (CRI) logging format
Additional Information/Context
No response
Solution Version
v1.0.1
AWS Region. e.g., us-east-1
No response
Other information
No response

Hi, @gnom7 you could try to manually edit the config generated by centralized-logging-with-opensearch and update the parser of the cri tail input to multiline.parse as the solution provided by https://github.com/fluent/fluent-bit/issues/7218.

2023-10-13T12:08:57.793210196Z stdout P {"@timestamp":"2023-10-13T12:08:57.791Z","ecs.version":"1.2.0","log.level":"ERROR","message":{"simpleMessage":"Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is ***\n\tat org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)\n\tat org.apache.tomcat.util.threads.ThreadPoo
2023-10-13T12:08:57.793233876Z stdout F lExecutor$Worker.run(ThreadPoolExecutor.java:659)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\n"}

I replaced part of the log with ***, but this should make any difference, total log size of this two line are ~17Kb.
Sure will try to update that fluent bit config myself, still wanted to share this info/bug report.


[vue3.x] Errors during type checking because of default export in index.d.ts

Describe the bug
We are using this component in our design system library and ran into type errors in our own repo and in our consumer repos that we traced back to this line.
https://github.com/NightCatSama/vue-slider-component/blob/061e4f4afeb103d9727b58d1fabca486809472e7/lib/typings/index.d.ts#L78
In short, importing a Vue component in a .d.ts file did not allow that file to be excluded from type checking with vue-tsc, and we saw errors like this one.
> npx vue-tsc --project tsconfig.gen-dts.json --noEmit

node_modules/vue-slider-component/lib/utils/control.ts:554:22 - error TS6133: 'pos' is declared but its value is never read.

554     dotsPos.forEach((pos, i) => {
                         ~~~

Found 1 error in node_modules/vue-slider-component/lib/utils/control.ts:554

In our library, we fixed this issue by overriding index.d.ts with our own vue-slider-component.d.ts file that exports the type  Vue.ComponentOptions<Vue> as the default export rather than the component itself. https://012.vuejs.org/api/options.html
import Vue from 'vue';

declare module 'vue-slider-component' {
    export default Vue.ComponentOptions<Vue>;

   ... everything else from lib/typings/index.d.ts
}

In tsconfig.json:
"compilerOptions": {
   ...
    "paths": {
        "vue-slider-component": ["./src/types/vue-slider-component.d.ts"]
    }
}

If this is an issue for anyone else, I would recommend updating this export in the .d.ts file to export a Vue component type rather than the component instance. Since this is a small change, I'm happy to open this PR if it is helpful.
Environment (If you feel unrelated, please delete the block)

OS & Version: macOS
Vue version: v3.2.0
Component Version: v4.1.0-beta.7

我遇到同样的问题
node_modules/vue-slider-component/lib/utils/control.ts:554:22 - error TS6133: 'pos' is declared but its value is never read.
554     dotsPos.forEach((pos,i) => {
~~~
src/views/schedule/components/addOrEditModal.vue:258:33 - error TS6133: 'rule' is declared but its value is never read.


Added a requirements.txt file

This adds a requirements.txt file to the project, so that users can just use a pip install requirements.txt to install all the dependencies for the project.

I generated this using a fresh virtual environment and then doing pip freeze. I think this is the appropriate way of doing, although yours would probably work just as well!

This is not. If you need just to update dependencies, you'll have a problem to guess what really do you need to update and what you shouldn't.

Actually, it's not such a bad idea to pin the dependencies as well. Let's say you have lxml==4.2.5 which depends on somepackage. When you wrote the code, somepackage was at 5.1.2 and lxml ran fine with somepackage==5.1.2. Now, when somepackage was updated to 5.1.3, it might happen that lxml ends up breaking. If you had pinned both lxml and somepackage, you'd have a set of dependencies that is known to work together.


How do I code what view controller is linked to the continue button?

Hi, I didn't see in the documentation or the example a guide on how to link up the continue button to link the click action to another view controller did I miss something?
Also it would seem you would want to run this in a first run situation, do you have a preferred method of detecting first run and launching SwiftyOnboard?

I want to know the answer of your question

Here's a quick way of linking up that continue button with an action to take you to another ViewController
    @objc func handleContinue(sender: UIButton) {
        let index = sender.tag
        if index == 2 {
           //Replace the '2' with the amount of onboarding screens that you have - 1
           //Perform your segue
            return
        }
        swiftyOnboard?.goToPage(index: index + 1, animated: true)
    }

Also it would seem you would want to run this in a first run situation, do you have a preferred method of detecting first run and launching SwiftyOnboard?

This is my approach:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        if isFirstLaunch() {
        //Do whatever you need to do on first launch
        }
        return true
    }

func isFirstLaunch() -> Bool {
        let hasLaunched = UserDefaults.standard.bool(forKey: "appHasLaunched")

        if !hasLaunched {
            //First Launch
            UserDefaults.standard.set(true, forKey: "appHasLaunched")
            return true
        } else {
            //It's not first Launch
            return false
        }
    }


Using a secret

Hello,
Given that TOTP needs a shared secret string, how will you generate the code using your library starting from a string?  I am planning to embed your library in an app where the user will have  another TOTP compliant app to generate the user code that will be compared against the TOTP created by your library.  In your example usage you start with a random key.
Any chance you could create an example that starts with a string as a shared secret?
thanks

Any chance you could create an example that starts with a string as a shared secret?

Flatly, no. Sorry. Key management is a Serious Security Topic™, and I don't want to do anything that could be construed as giving out security advice. If you're just asking "how do I turn persisted data into a key using Java," you might start your research with the SecretKeyFactory interface.


Upgrade upstream to 3.4.1

Coverage remained the same at 94.454% when pulling 8da62f014a66b12603175693816b56dcfb2a6818 on 3_4_1 into e9b7421798c03f922e10ce440629520074efd90e on master.


Add distributed lock to discover hosts

refs:

https://gerrit.mcp.mirantis.com/c/packaging/sources/nova/+/199367

we have discover_hosts_in_cells_interval set to 2 min by default, and at same time we start discovery job each time number of computes is changed in daemonset. I wondered if we can fix code in discover_cells mechanism so concurrent runs of nova-manage cell_v2 discover_hosts and periodic tasks do not lead to failures in scheduling

periodics: https://github.com/openstack/nova/blob/master/nova/scheduler/manager.py#L113
host_mapping_obj.discover_hosts uses https://github.com/openstack/nova/blob/master/nova/objects/host_mapping.py#L248 ?
CLI: https://docs.openstack.org/nova/latest/cli/nova-manage.html#cell-v2-discover-hosts

RFE proposed: https://bugs.launchpad.net/nova/+bug/2089386

Meeting: https://meetings.opendev.org/meetings/nova/2024/nova.2024-11-26-16.00.log.html
(scroll down to "#topic Open discussion")

Spec: https://review.opendev.org/c/openstack/nova-specs/+/936389

<sean-k-mooney> where as we ahve dicussed how to remove tooz form teh code base
<sean-k-mooney> at least twice in the last year or two
...
<sean-k-mooney> the main concern with tooz by the way is its overall mantance
...
<s3rj1k> btw, is there a formal doc on tooz deprecation?
<sean-k-mooney> its not deprecated as a lib
<sean-k-mooney> so the only usage of it in nova is the ironic driver and we deprecated the fature that uses it in that
<s3rj1k> so for nova removal in this case
<sean-k-mooney> currently the ironic drivcer can use manual sharding or a dynmic hashring(provided by tooz)
<sean-k-mooney> the dynmaic hash ring is deprecated for removal which would have removed tooz as a side effect


XCORNER-44 product options should change image

On product option change, fetch variants and their images, filter the selected options and return the correct image to replace with on the main image element

@aleksandraworhacz Can you please review again?


Refactor trigger create using new utility methods to factor out printing of the feed action result

Add a method for working with parameters and annotations, and creating the feed life cycle event.
This is intended as an incremental change that is mostly semantic preserving. Because of the extent of refactoring needed, I staged all the commits incrementally and each is logically complete.
This PR builds of #319 and adds 3 new commits. The commits are all grouped for ease of reviewing.
Part of #314.

@csantanapr @dubee @houshengbo @mdeuser @pritidesai may I get one of you to look at this and approve a review 🙏 ?

@houshengbo @dubee this is now rebased to pick up #319.


feat: Add resource tracking [DEV-3395]

Here:

Add resource tracking for credential, resource and credential-status actions
Add base for future trackings
fix small error (make updatedAt as Nullable)

Task linked: DEV-3395 Add resource creation tracking


Archive single PDF document

Fixes #1053

I have mixed feelings about committing generated binary files - perhaps they're better stored in s3 somewhere?

I have mixed feelings about committing generated binary files - perhaps they're better stored in s3 somewhere?

That's an excellent point – I think nobody likes cloning huge git repos. S3 is likely a better option.


Negative Zoom Level Display Bug

Currently, on v0.5.0 there's a fairly confusing display bug at negative zoom levels. See attached screengrab at zoom level -1. It appears that the calendar is resizing itself one column too short relative to the rest of the calendar.

FWIW, I cant reproduce this with 0.5.5. I assume this was fixed by ca0a6b105c1f49553e27b87739471f64d12cabfa and this issue can be closed.

@Florian-R great to hear, thanks.


Fixed Lua diagnostic nits

Renderer#blur was passed variance, but function did not have parameter for it. Added parameter to function header.
ContextEntries.getContextEntry() has no parameters defined. Remove passing parameters at the call sites.
CommandControl:setActionEntry() - Removed dupe code by bringing logic before conditional.
CommandControl:drawUnitRect uses self.camera directly, function does not take camera parameter, so remove call site redundant passing.
WingsTie function does not take bodyAABB, so remove from callsite.
Quickstart app was ignoring user config settings. Added documentation to explain why.

All of these look fine, and I'm ready to approved, except for Quickstart.lua. I'm the one who modified it so that it temporarily does not use the settings defined in user.ini.
The reason for this is that we essentially have three apps we're keeping current: LTheoryRedux (the main game), TestEcon (specifically for quick testing of economy code changes), and Quickstart (formerly LTheory.lua; which is specifically for quick testing of spaceflight/dogfighting/HUD code changes).
Quickstart becomes less quick if we have to remember to save & restore the original user.ini values after doing quick spaceflight testing. By disabling that feature for now, it's possible to very quickly modify the numbers of asteroid fields and stations and ships (escort and economic) by simply editing those control values in App.lua, and without disrupting the more stable values in user.ini for testing the full LTheoryRedux code.
Please revert your changes to Quickstart.lua, and I'll approve this PR.
Note: If you'd like to add a comment to Quickstart.lua to include my explanation of why reading values from user.ini is temporarily disabled, that's fine. (And I should have done that myself already.)

Reverted Quickstart.lua changes and added documentation. Please take another look @Flatfingers :D


Subscribes get lost before a connection is established

def main(args: Array[String]): Unit = {
  val client = Redis().subscriber
  Thread.sleep(3000)
  client.subscribe("topic") {
    case _ => println("got message")
  }
}

Removing the Thread.sleep() means we no longer see the println. Instead the following shows up in the logs:
2015-01-23 17:07:09,660 DEBUG scredis.io.SubscriberListenerActor - Received data: *3\r\n$7\r\nmessage\r\n$5\r\ntopic\r\n$6\r\nafsadf\r\n
2015-01-23 17:07:09,663 DEBUG scredis.io.DecoderActor - Received unregistered PubSubMessage: Message(channel=topic, message=afsadf)

This issue has been reported here and was fixed in 2.0.6.
What version of scredis are you using? If you are using a version prior to 2.0.6 then upgrading to 2.0.6 will fix the issue.

Thanks, upgrading to 2.0.6 solved the problem!


Power toys Run not working

Microsoft PowerToys version
0.35.0
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
You activate it you press the shortcout nothing haooens you restart the app and you look at settings and it disabled
✔ Expected Behavior
It expected to open the search bar when pressing the shortcout
❌ Actual Behavior
It doesnt open the search bar
Other Software
No response

Hi there - I'm not a developer for Powertoys, but I've been following the same bug for a little while here:
https://github.com/microsoft/PowerToys/issues/10400 - Thanks to a lot of help in this thread, I found that I got it working again by:

Turning off "Always run as administrator" in Powertoys settings
Exiting powertoys in system tray
Setting powertoys manually to run without Admin (rightclick powertoys.exe and untick "Run this program as an Administrator") , I've put a screenshot with this comment in case my description is nonsensical! :)
Starting powertoys again

I hope this helps, good luck :)

Thanks it worked


Map component

@gliechtenstein Here's what I've put together for the map component. I don't remember if you wanted to merge this now and separate to an extension later, or just wait to do it in an extension first.
I had to add an OnItemTouchListener to the RecyclerView in order to intercept touch events but I tried to do it in a way that keeps most of the code in the component fle, and extensions should be able to take advantage of it too.
One thing I was not able to get working is rounded corners. The current technique for rounded corners does not work. I have some proof of concept code to get it working a different way, but you have to specify the background color for the rounded corner shape (can't just be transparent) and it wouldn't work with a camera background... Let me know if you want to see that

For #31

@brad Awesome, finally! this is great!
Because this involves permissions and API keys and such, I think it would be a perfect first demo extension for components.
Right now we're nearing the release of phase 1, which supports actions as extensions, but I think once we get the phase 1 out, the phase 2 of supporting components would be fairly easy.
I'll keep this open and keep you posted on this, thank you!

@gliechtenstein Sounds good!

@brad Decided to just go ahead and merge this in (as well as implement rest of the core modules) independently from the extension manager because trying to solve two problems at once has been slowing us down for both the extension manager AND the core features such as this one.
Anyway, I've been playing with this today and I think it's good to go.
But I have just one thing: I know putting the api key inside strings.xml and referencing it from AndroidManifest.xml is the way Google recommends, but I don't think it's ideal that people have to add the API key in strings.xml AND go to AndroidManifest.xml and update the line as well. Can we just let people hardcode it straight to AndroidManifest.xml?
I'm thinking along the lines of:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.jasonette.seed">
    <application
        android:name=".Launcher.Launcher"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".Core.JasonViewActivity" android:windowSoftInputMode="adjustResize" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <!--<meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR GOOGLE MAPS API KEY HERE"/>-->
    </application>
    <uses-permission android:name="android.permission.INTERNET" />
</manifest>

(Note how I commented out the meta-data line, and the value says "Your google maps api key here", and it's no longer referencing strings.xml)
And then from strings.xml get rid of this part altogether:
<string name="google_maps_key" translatable="false" templateMergeStrategy="preserve">
  YOUR_API_KEY
</string>

This way when we document this we can tell people "Just open AndroidManifest.xml and uncomment the google maps line and add your API key there."
What do you think?

@gliechtenstein Yes, I think that's a great point and that should work fine.

Finally merged it. So sorry for the delay, was thinking about some little things about AndroidManifest and took some time :)
Anyway thanks for the feature! One step closer to feature parity with iOS :)

Cool! :+1: Thanks Ethan


Default version of Node.js in Gatsby Cloud to v14.

On Wednesday, September 29, Gatsby will be updating the default version of Node.js in Gatsby Cloud to v14. If you already have a Node.js version set for your sites in Gatsby Cloud, either via an .nvmrc file or using the NODE_VERSION environment variable, no action is required on your part.
All our Gatsby sites are set to Node 12. via a .nvmrc file.  We assume this change should be backwards compatible, but I we want to confirm if we need to consider bumping to node 14 to ensure nothing breaks on our sites.
Acceptance Criteria

[ ] Confirm with Gatsby if staying on Node 12 will be an issue
[ ] IF NO, then prioritize this for a later date
[ ] IF YES, test upgrading to node 14 on OSS site
[ ] IF YES, test upgrading to node 14 on DEV site
[ ] IF YES, test upgrading to node 14 on DOCS site
[ ] Report findings

Response from Gatsby
Yes, if you have an .nvmrc file, Gatsby Cloud will honor that.  The Node 14 default version only kicks in if:

- no .nvmrc file
- no NODE_VERSION environment variable
- no 'version 2' lockfile generated by Node 16+


Replace sync.Mutex with sync.Locker to allow different locks

Once kpod is allowed to create and modify pods & containers, we will need to be able to lock shared state to prevent the two from trampling each other. This PR begins the process of allowing file-based locks to enable this.

Can you also switch over the other locks that we have to the Locker interface?

@mrunalp I swapped container locking over. There are three remaining locks I didn't touch:

The server update lock - I don't think this needs to be on-disk, this is to prevent in-process races
The OCI memory_store lock - it's an RWMutex, which doesn't map directly to a sync.Locker. Could make this a regular mutex, potentially at the cost of performance? Can swap this over if we're OK with this
The lock for network namespaces. I think those are going to need a separate rework to safely be moved over to disk.

@mheon Let us get these in and then we can handle the others in follow-on PRs. Thanks!

@runcom PTAL

LGTM


[SPARK-13327][SPARKR] Added parameter validations for colnames<-

Test build #51373 has started for PR 11220 at commit e8c6415.

Test build #51373 has finished for PR 11220 at commit e8c6415.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51373/
Test PASSed.

Jenkins, retest please

Test build #51676 has started for PR 11220 at commit 07e541b.

Test build #51676 has finished for PR 11220 at commit 07e541b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51676/
Test PASSed.

LGTM

LGTM. Merging this.

Thanks, @shivaram!


feat: support for tokio-console

Adds --tokio-console boolean cli arg to neptune-core.
When this flag is present, logging is configured to emit tokio tracing information and send it to localhost:6669 for processing by tokio-console.
This requires building tokio with the tokio_unstable build flag. This is specified in the new .cargo/config.toml
see: https://github.com/tokio-rs/console
Here's a screenshot of the resources view:

I have my doubts that it will move out of unstable any time soon.   I'm viewing this as a temporary thing and maybe we disable or remove it or improve build configurability before mainnet.


Write Clean Energy research summary

We need to write a summary of our efforts in 'Clean Energy Materials', and add a pretty picture and such. Assigning to @wesleybeckner on account of his volunteering.
Please open a new feature branch (named something like clean-energy), and add a description and a representative image to the following section of code:

Add the image to the images folder, and update the src url to display the new piccccc! Comment on this issue with any questions :)

Addressed by #19


Fix docs

Hi team, while looking at the documentation here I found some very minor typos and broken links so I took the opportunity to fix them if you agree.

Changes proposed

[x] Fix minor typos (first commit);
[x] Fix broken links (second commit);

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

@lampajr looks really good, thanks! Can you squash to one commit please?

@lampajr looks really good, thanks! Can you squash to one commit please?

Thanks @stalep , done :heavy_check_mark:


Using WebGL 2 by default

Overview
CesiumJS has been powered by WebGL 1 since the very beginning, and while support for WebGL 2 was added in 2015, as of version 1.99, CesiumJS defaults to running in a WebGL 1 context to ensure compatibility on as wide a range of devices as possible. However, given WebGL 2’s maturity and near universal support, we’re planning on switching to WebGL 2 by default. On platforms where WebGL 2 is not available, we will fallback to WebGL 1 with extensions.
Scope of Changes
On an API level, WebGL 2 is very similar to WebGL 1, however, there are a few major differences:

Shaders must be written in GLSL ES 300 instead of GLSL ES 100. This will require a rewrite of all CesiumJS shaders. If your application uses custom shaders or materials, they will have to be updated too.
Several extensions, such as ANGLE_instanced_arrays and OES_texture_float are part of the standard, so they’ll only need to be checked for when running in WebGL 1 compatibility mode.

We don’t plan on doing a complete overhaul and adopting features like uniform buffer objects immediately. The current effort is primarily targeting compliance with the WebGL 2 spec and providing an efficient fallback method to WebGL 1 where needed. In time, we see a lot of potential in using all that WebGL 2 has to offer for delivering new features and a better user experience, such as:

Enabling MSAA by default, resulting in improved visual quality
Optimizing picking
3D textures for voxels and clouds

If your application already uses WebGL 2 with CesiumJS, then this change should result in better performance since we will no longer have to manually upgrade shaders from GLSL ES 100 to GLSL ES 300 at runtime.
We would like to hear any thoughts or concerns you may have regarding this change.

nice

Just providing an update here: the PR to enable WebGL 2 by default is ready for testing. Please try it out and let us know if you run into any issues.


Two pull requests. After merging the first one,  merging the second one won't create release pull request

TL;DR
There are two pull requests pending for approval.  Each of them has conventional commit messages (fix:xxx).  Merging of second one won't create a release pull request after the first one has been merged.
Expected behavior

Create a branch A based on latest main branch, make some changes with commit comment “fix:A”, then create a pull request A to merge the changes in branch A into main branch.

Create a branch B based on latest main branch, make some changes with commit comment to “fix:B”, then create a pull request B to merge the changes in branch B into main branch.

Merge pull request A into main branch,  the changes in pull request A is successfully merged into main branch and a new release A is cut.

Merge pull request B into main branch,  the changes in pull request B is successfully merged into main branch and a new release pull request is created.

Observed behavior

Merge pull request B into main branch,  the changes in pull request B is successfully merged into main branch and no new release pull request is created and following log is displayed:

❯ targetBranch: main
❯ commit could not be parsed: 9f7c798637181f4ea10624b1f9ef8ae57028e236 Merge pull request #159 from
customer/testbranch
❯ commits: 0
✔ Considering: 0 commits
✔ No commits for path: ., skipping
Action YAML
- name: Create pull request
        id: create_pr
        uses: google-github-actions/release-please-action@v3
        with:
          release-type: simple
          default-branch: main
          monorepo-tags: true
          component: main
          labels: |
            autorelease: pending
            automerge

      - name: Approve pull request 1
        id: approve_pr_1
        uses: hmarr/auto-approve-action@v3
        with:
          github-token: token1
          pull-request-number: ${{ fromJson(steps.create_pr.outputs.pr).number }}

      - name: Merge pull Request
        id: merge_pr
        uses<EMAIL_ADDRESS>        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          PULL_REQUEST: ${{ steps.create_pr.outputs.pr && fromJson(steps.create_pr.outputs.pr).number }}
          UPDATE_METHOD: merge

      - name: Release Version
        uses: google-github-actions/release-please-action@v3
        with:
          release-type: simple
          default-branch: main
          monorepo-tags: true
          component: main
          token: token1

Log output
No response
Additional information
No response

What does the commit history look like on the main branch? Any PR title is actually irrelevant to what release-please looks at in the release.
It looks like you are using plain merges which is not advised (see https://github.com/googleapis/release-please#linear-git-commit-history-use-squash-merge).
Please re-open with additional information otherwise, we are just speculating.

What does the commit history look like on the main branch? Any PR title is actually irrelevant to what release-please looks at in the release.
It looks like you are using plain merges which is not advised (see https://github.com/googleapis/release-please#linear-git-commit-history-use-squash-merge).
Please re-open with additional information otherwise, we are just speculating.

Below is the commit history of main branch:

And following is the output of google-github-actions/release-please-action@v3:
Run google-github-actions/release-please-action@v3
✔ Looking for latest release on branch: main with prefix: main
❯ Fetching merge commits on branch main with cursor: undefined
❯ Found latest release pull request: 92 version: 1.1.13
❯ Fetching releases with cursor undefined
❯ found release for main Version {
major: 1,
minor: 1,
patch: 13,
preRelease: undefined,
build: undefined
}
❯ found release for main Version {
major: 1,
minor: 1,
patch: 12,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 11,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 10,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 9,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 8,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 7,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 6,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 5,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 4,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 3,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 2,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 1,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 0,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 7,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 6,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 5,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 4,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 3,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 2,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 1,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found 2 possible releases. [
Version {
major: 1,
minor: 1,
patch: 13,
preRelease: undefined,
build: undefined
},
Version {
major: 1,
minor: 1,
patch: 13,
preRelease: undefined,
build: undefined
}
]
✔ Building releases
✔ Building strategies by path
❯ .: simple
✔ Looking for latest release on branch: main with prefix: main
❯ Fetching merge commits on branch main with cursor: undefined
❯ Found latest release pull request: 92 version: 1.1.13
❯ Fetching releases with cursor undefined
❯ found release for main Version {
major: 1,
minor: 1,
patch: 13,
preRelease: undefined,
build: undefined
}
❯ found release for main Version {
major: 1,
minor: 1,
patch: 12,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 11,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 10,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 9,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 8,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 7,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 6,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 5,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 4,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 3,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 2,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 1,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 1,
patch: 0,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 7,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 6,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 5,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 4,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 3,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 2,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found release for main Version {
major: 1,
minor: 0,
patch: 1,
preRelease: undefined,
build: undefined
}
❯ SHA not found in recent commits to branch main, skipping
❯ found 2 possible releases. [
Version {
major: 1,
minor: 1,
patch: 13,
preRelease: undefined,
build: undefined
},
Version {
major: 1,
minor: 1,
patch: 13,
preRelease: undefined,
build: undefined
}
]
✔ Building pull requests
✔ Building strategies by path
❯ .: simple
✔ Collecting release commit SHAs
❯ release search depth: 400
❯ Fetching releases with cursor undefined
❯ Found release for path ., main-v1.1.13
❯ release for path: ., version: 1.1.13, sha: af5166bad3b9c71986e48e213ecb0d8ee9647259
✔ Collecting commits since all latest releases
❯ commit search depth: 500
❯ Set(1) { 'af5166bad3b9c71986e48e213ecb0d8ee9647259' }
❯ Fetching merge commits on branch main with cursor: undefined
❯ Backfilling file list for commit: 19a256ea1bed10646fa1379986e4d529ab0b1065
❯ Found 2 files
❯ Backfilling file list for commit: 54fbfd7d2e18e86c1386ffe52ba1a552d2ce7fc9
❯ Found 1 files
❯ Backfilling file list for commit: 2ca36a3881cf220e6d82dff71d2003c8d042263c
❯ Found 1 files
❯ Backfilling file list for commit: d1ce154208a736c8ba7b06de57d6c753ee4a3aa3
❯ Found 1 files
❯ Backfilling file list for commit: 28b92fb09e5bef20ba21f47baa9ae30a4a1ab4ec
❯ Found 1 files
❯ Backfilling file list for commit: 770fed5103afd3a7308c10c6b00aee6a3610d4ac
❯ Found 2 files
❯ Backfilling file list for commit: 8dd85e12ca05eb4e350ab728e4c4ed41e44e3087
❯ Found 1 files
❯ Backfilling file list for commit: 748df90567689a1ab6d484896bfdaa60674ed2c8
❯ Found 1 files
❯ Backfilling file list for commit: fd17191bdc9b0aba54e0300ac8870cf0f3c2bdb5
❯ Found 1 files
❯ Backfilling file list for commit: 86568b84b8dd554e5973ad91c047fbc98686f3e5
❯ Found 1 files
❯ Backfilling file list for commit: 3e2c3c74e1987d4a98389201310ea0e3a3d368b7
❯ Found 1 files
❯ Backfilling file list for commit: b8dfc66ef7fab82016b211b97e5245120a5738bf
❯ Found 1 files
❯ Backfilling file list for commit: 98052a6055f9fbdd2596f1d683efc297ebec9c98
❯ Found 1 files
❯ Backfilling file list for commit: 5ba5043d8c866a6b6fe91c3e554787dbe2f38031
❯ Found 2 files
❯ Backfilling file list for commit: 8143b12fa175e0edd9cd93c86534f537adc5e51d
❯ Found 1 files
❯ Backfilling file list for commit: cb30bf857f678549943647426bb2d84aaf01efdf
❯ Found 1 files
❯ Backfilling file list for commit: f1a39c35dd4a63fae8618585e1e7f74953b8e3bc
❯ Found 4 files
✔ Splitting 1 commits by path
✔ Building candidate release pull request for path: .
❯ type: simple
❯ targetBranch: main
❯ commits: 1
✔ Considering: 1 commits
❯ component: main
❯ pull request title pattern: undefined
✔ No user facing commits found since af5166bad3b9c71986e48e213ecb0d8ee9647259 - skipping

@chingor13: I added comment, can you take a look?

Any updates on this?

I'm also having the same issue and have created a repo and issue to help illustrate the issue in a straightforward and simple way, including a recording of the issue in action; https://github.com/googleapis/release-please-action/issues/998

I did the same what @chingor13 suggested and it worked well for me.
While merging(approving) the PR, use SQUASH AND MERGE instead of using MERGE PULL REQUEST.

I appreciate the recommendation, @romeshqubits, but it is not a requirement based on the documentation. In my opinion, release automation tools should not dictate the method in which a team chooses to handle their commit strategy. I want full audit trails, history, and metadata; squashing limits that.
Since reporting this issue, https://github.com/googleapis/release-please-action/issues/998, I have moved onto semantic-release. semantic-release has worked reliably in all of my testing and does not fail due to the issue explained initially, or the issue I reported.
CC: @chingor13


Request : Share button for tile

Hi, could you add this feature for tile please ?

if possible on the bottom left of tile HUD since the right is pretty busy with other modules

Hi,
This is now implemented with: 0.0.49


Clarify application of Type attribute throughout model

https://github.com/ga4gh/gks-common/blob/05ba1bffd042122aad01f3be0cca9c23ecd8549f/schema/gks-common/core-source.yaml#L94C7-L97C42
Why does Extension have a type attribute but nothing else does?  Let's clarify how we are applying the type attribute across GKS schemas for clarity.

See also issue #5 - and comments therein.

The answer is 'No'. Since Extension does not inherit from Entity.  Only Entity subtypes are required to have a type field unless someone has an argument to present otherwise.


Provide error message regarding extensions for the gallery

made changes suggested by @ewpatton, to solve the issue #2725.

Can one of the admins verify this patch?

@arduino-monkey When you have a chance, can you merge master into this branch and resolve the conflicts? I'd like to merge this for the next release.

@AppInventorWorkerBee ok to test


Application Icon

It might not be important but I created something like this.
https://www.dropbox.com/s/z33yfpxf4ppdzvo/icon_512x512%402x.png?dl=0

:+1:
I think you should create pull request for this.

@mzgnr are you kidding me? It is very important, and I like it! I agree with @G07cha, please create a pull request and also please make an icns icon, if you have time. Otherwise, I'll do that. Thank you for the contribution.

@shockone I'm glad you like it. I'll work on it and create a pull request today :)

New icon design : https://www.dropbox.com/s/9budqtze1b4bqh7/blackscreen2.png?dl=0
first one or this one ? Do you have any suggestions ?

I like the second.

I like it more too. I'm focusing on it then.

This article might be useful. https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/Designing.html#//apple_ref/doc/uid/20000957-CH87-SW1

I like the second one more. A suggestion: even though the prompt is in the middle, visually it appears closer to the left due to the lighter right side.

@shockone I'm trying to fix that issue.

How about now ? https://www.dropbox.com/s/6azzqev4ksi7pl9/test2.png?dl=0 I think its better.

Much better, update pull request

Fixed in #69

Should we also update organization logo?

I don't know what is the best resolution for the logo. But here it is https://www.dropbox.com/s/kulm3v43srefor7/github-logo.png?dl=0

@G07cha, I'll update it in the evening.

Don't miss my last comment :smile:

I won't. Thanks.

I'm reopening issue because, organisations profile picture has not been updated yet.

Thanks for attention to this, @mzgnr.

@mzgnr, sorry about that. Updated.


update to minimise API changes to casper-types

This PR mainly adds #[non_exhaustive] to error enums in the casper-types crate in order to avoid new variants in these causing breaking changes in the future.
Closes #3070

bors merge


Add intent telemetry

closes: https://linear.app/sourcegraph/issue/AI-298/log-telemetry-for-one-box-clicks
Add telemetry events for onebox as per the linear issue requirements.
Test plan
Check if the telemetry events are triggered for the following

expand and collapse context files accordion for both search and chat intents
click on search results and context files
switch intent from response.

Changelog

FYI - @thenamankumar I already have telemetry defined for what users manually pick as their intent: https://linear.app/sourcegraph/issue/SRCH-1028/log-telemetry-of-the-output-of-the-intent-detection-model-with-each

Hey @thenamankumar, if possible, let's wait to merge this until we have an answer from this dicussion.

@akalia25 sure, I'll wait for the discussion to conclude before I merge this.


Other: 对接wechaty微信和whatsapp问题已解决，有需要可以私聊我

Please make sure you have read the Wechaty Puppet Service from Wechaty Official Website before you continue writting this issue.
Question
踩坑一系列wechaty和puppet问题，终于部署运行正常

请文有可以把企业微信账号变成机器人的例子吗

close due to off-topic

We have a Wechaty Discord server for non-issue-related conversations.
Join at https://discord.gg/7q8NBZbQzt


freetype/harfbuzz may conflict with os bundled libs

Not sure if this is still alive but on an android 4.4.2 kitkat, panda3d causes this error
back (most recent call last):
File "", line 1, in
ImportError: dlopen failed: could not load library "libpanda.so" needed by "core.cpython-37m.so"; caused by could not load library "libpandaexpress.so" needed by "libpanda.so"; caused by could not load library "libandroid.so" needed by "libpandaexpress.so"; caused by could not load library "libandroid_runtime.so" needed by "libandroid.so"; caused by cannot locate symbol "hb_utf16_script_run_next" referenced by "libandroid_runtime.so"...

This is fully alive, but i currently don't have time to adjust to python 3.7 final, also loading panda3d need a dynamic linker script in panda3d/init.py ( it's hacky I may have forgot to bundle it). Does python3 work fine on its own ? Also please understand i can only fully support H3Droid "out-of-the-box". But If you are willing to test on other platform i'll try to do my best and send you some panda3d test code.

The problem seems to stem from that there is another libharfbuzz.so with different functions in the /system/lib directory. The libharfbuzz.so seems similar in byte code to another libharfbuzz_ng.so in the same directory but contains less functions. I'm considering either recompiling or just patching elf.

Problem solved by renaming the bundled libharfbuzz and patching libpanda to reference it. I think we can close this issue. In the future, we might have to compile panda3d with the new renamed harfbuzz ie "harfburz".

dynamic loading of libraries is now properly fixed, maybe not for python modules i think that's ouside pydk scope of work.


Hidden GameObjects and Components via Attribute

As described here, users might want to hide certain objects from the Scene tree view and similar views. Consider implementing this.

To avoid the issue described in @AdamsLair answer to the post, instead of having a specific Debug mode maybe it could be easier to implement a "Show Hidden objects" button as well.

Things to do:

Add a new EditorHintFlag for objects that are considered internal and thus won't be displayed in editor views by default, such as the Scene View or Project View.
Have Scene View and Project View check for this.

Potentially by adding a new bool property to their tree view items, which states whether it's an internal object.
Then, filter the displayed items accordingly.

Add a setting to these views which allows to toggle the display of internal / hidden objects.

Potentially something like the "debug mode" of the already existing PropertyGrid.
Make it a neat toggle button in their toolbar and add an icon.
The toggle state should also be serialized.

Hey Adam! I'm trying to give it a go, but I can't figure out how to apply two filters at the same time on the SceneView. Here is my actual code:
https://github.com/RockyTV/duality/commit/56f197e493629750c5e4b6495dc14dda46727cf4
For me, it should work, but it simply does not. Is there anything wrong?

Could be a logic issue. Set a breakpoint in the line that determines the visibility state of an item (isVisible = ...) and check what happens, maybe split it into more lines to see the details of it.
Also, the code in objectModel_IsNodeVisible is only executed as long as the method is assigned to the tree models NodeFilter here, which is only the case as long as you've entered text into the filter box of the Scene View.

After messing around for a while, and fixing the breakpoint (it was not being hit), I figured that the current code to get the EditorHintFlagsAttribute does not work on objectModel_IsNodeVisible:
EditorHintFlagsAttribute editorHintFlags = obj.GetType().GetAttributesCached<EditorHintFlagsAttribute>().FirstOrDefault();
That might be the reason why hidden objects were shown even when the button wasn't checked.

That method should work as expected though, it's comparatively well tested. Anyway, I'll take a look when I get around to it.

The problem I've found is to cast object to Component, or Node, or anything else. It is quite tricky, and if we figure out how to get this working on the SceneView, we can use the same code on ProjectView (IMO).

Could we just use the existing MemberFlags.Invisible? It is already used in a few places (CamView and SceneView for example) to hide types.

I'm not sure the EditorHintFlags attribute is allowed to be applied to a type, but if it is, we should definitely re-use that flag.

What would Project View display that could be filtered this way? I don't see how this attribute could be applied to GameObjects/Prefabs, and I

Good point. Since a per-type attribute can only be applied to component types, there is no way to hide an entire GameObject. The current proposal on how to address this issue may already fall flat there. Do you have an idea how to address this instead?

If the display of hidden items is turned on, should text filtering still be applied? I'm thinking yes but just want to check.

Yep, it should still be applied independently 👍

Also, how does this setting interact with the debug mode of the Object Inspector? I would think that hidden components would be hidden from the inspector unless debug mode is active, but what is kind of annoying then is that the user has two options they must toggle to reveal a component completely. It'd be nice if it was one option that affected both displays, but I am not sure how we would unify those right now.

Hiding an object prevents it from being selected - however, once it is selected, I think there should be no difference whether it is hidden or not.

Overall, I must say I'm no longer sure a hide option would be an overall win. There are very very few objects where hiding them is good for the user, and even for them, it removes a bit of potential knowledge and understanding, replacing it with "magic". This may not be a good thing to do in the first place - so unless there is a specific use case that we would enable with implementing this feature, I'd probably close this issue instead and let it rest.
Thoughts on this?

That being said, I do wonder if it is potentially more trouble than it is worth. It can be confusing and it is a very minor convenience generally.

As they say, it's easier to add new features than remove existing ones. I'll close this for now. Would be willing to re-open if it comes up again with a solid case.

Note that getting this to work for components has been very little code (~30 lines) and I have it working in the scene view and in the object inspector.

If you have a partially working solution, feel free to link the commit or branch so we can get a quick start should we decide to pick this up again at some point.

Partial implementation here. Components decorated with [EditorHintFlags(MemberFlags.Invisible)] are not shown in the scene view or the inspector unless "Show Hidden Items" or "debug mode" are toggled in those views.


Modified: calculator.sh

resolved   #12
Please guys can you review these changes

Regarding the issue that was open.
That if a user gives a wrong mathematical operator that is not among the defined operators, the program should still run to ask them for the right operator. This issue has been resolved.
And I have also added some new lines of code to make the program run smoothly because I found some bugs in it.

close #12


Update metadata json files

Currently all those stanford wrappers accept what they supposed to produce
(e.g.> NER takes NE and returns NE, Parsers take tree returns tree)

waiting for org.lappsgrid.annotations issue to be resolved


Filter test(s) with --filter (-f)

Adds support for a --filter CLI flag to run a single test by its fully qualified name as described in #51.

Still planning to add test cases, just need to first familiarize myself with testing a test framework 😄

the filtering should be a subsequent step after the regular loading process: aka load everything, then filter; as opposed to branching logic from the start on whether the user is filtering or not. Thoughts?

That makes sense. I think the only downside there is a potential performance hit due to eagerly loading all test suites even though the program knows from the beginning that not all will be required. From an implementation standpoint, wouldn't this still require passing the filter argument down through CLI => Runner => etc.?

I think my expectation would be that Runner.runAll() would filter which suites to run TestSuiteRunner.runSuite() on, and then TestSuiteRunner.runSuite() would filter which tests to pass to TestSuiteRunner.runTests() for a given suite.
I don't believe performance will be affected too much since all suites will need to be loaded regardless, in order to analyze the class names.

Thanks for digging into this, @evan-cohen -- our conversation allowed the details to be fleshed out and understood a little better, and this feature was just released as v1.1.0.


Create a CSV file by bot and send to user C# BotFramework SDK3

I'm sorry this is a "How to" question.
Bot Info

SDK Platform:  .NET
SDK Version:  SDK 3
Active Channels: MS Teams and Teams

As the title, I want to create a  CSV file which saved the information from the conversation and send to user.
I'm thinking send a file to user in the channel with a download button Or Copy the users Desktop.
But I don't know how to do it either way.

This helped me solved the problems


Why does crouton want me to do a recovery.

Whenever I make or update a chroot, I get this message:
WARNING: Your rootfs is writable. Signed boot verification cannot be enabled.
If this is a surprise to you, you should do a full system recovery via USB.

Why do you have this message?

Most likely because rootfs verification was removed making the root file system read-writable by one of a few different methods.

'Debugging Features' was selected when the account was setup.
The script /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification... may have been triggered by running it directly or using another script that invokes it.

The simplest way to reset it is to do a Chrome OS Recovery but that, unfortunately, will wipe out all user data including any chroot(s) you have installed and reformat all the partitions on your Chromebook - a pretty drastic step.

You can still run your chroot(s) with rootfs verificaiton removed, it's just more dangerous having your Chromebook in this state since anything can now be altered.

I ran the make_dev_ssd.sh script, I'm just wondering why crouton warns me.

If this is a surprise to you, you should do a full system recovery via USB.

So if it's not a surprise to you, you don't need to take any action.
'crouton' checks if it's safe to enable boot signing verification. If it's not safe, it's been known to brick the system so 'crouton' will warn you about this. If it is safe, then 'crouton' will also turn off usb & legacy booting.


Add generic function calling support for any open model.

Function Calling for Any Open Model
Based on the work in the post Beating GPT-4 with Open Models where we implement function calling for a variety of open models using Outlines, it should be possible to generalize this into a generic method for applying function calling to any open model. This could be a huge win for both Outlines and open models in general since it creates a universal function calling interface regardless of the FC specific fine tuning (as an aside, it looks like FC via structured generation works better than FC via finetuning).
Implementation details can be found in this gorilla/BFCL fork but I'll be doing a more detailed write up soon and cleaning up that code a bit. Currently I'm only supporting single function calling, but this should be fairly straight forward to extend to multiple functions.
Interface
I propose we provide (at least) two major interfaces for function calling applied to arbitrary models.

Replicate the standard OpenAI "tool" format
Implement the very cool, "Python types" interface from Claudette that Jeremy Howard calls out in this tweet.

Basic Implementation
For reference, we currently are able to transform a function in the BFCL format like this:
{
    "name": "calculate_triangle_area",
    "description": "Calculate the area of a triangle given its base and height.",
    "parameters": {
        "type": "dict",
        "properties": {
            "base": {
                "type": "integer",
                "description": "The base of the triangle."
            },
            "height": {
                "type": "integer",
                "description": "The height of the triangle."
            },
            "unit": {
                "type": "string",
                "description": "The unit of measure (defaults to 'units' if not specified)"
            }
        },
        "required": [
            "base",
            "height"
        ]
    }
}

Into a regular expression that constrains the model output to produce a function call similar to this:
[calculate_triangle_area(base=10, height=5)]
Using this function to build the regex for this particular function call (full details can be found here):
def build_fc_regex(function_data):
    out_re = r'\[\{"name": "' + function_data["name"] + '", "arguments": \{'
    args_part  = ", ".join([
        f'"{arg}": '+type_to_regex(value)
        for arg, value in _cast_to_openai_type(
            function_data['parameters']['properties'],
            GORILLA_TO_OPENAPI,
            "simple").items()
        # do any of the examples use the option parameter?
        # Easy enough to add in!
        if arg in function_data['parameters']['required']
    ])
    optional_part = "".join([
        f'(, "{arg}": '+type_to_regex(value) + r')?'
        for arg, value in _cast_to_openai_type(
            function_data['parameters']['properties'],
            GORILLA_TO_OPENAPI,
            "simple").items()
        if not (arg in function_data['parameters']['required'])
    ])
    return out_re+args_part+optional_part+"}}]"

Ideally we would change this interface quite a bit, but this is just to give a sense of the basic logic behind implementing-function-calling-as-structured-generation
Lots more to add to this, but wanted to get some notes down while they're still in my head.

The "Python types" interface looks really clean and simple. However, it seems to me that using this approach to handle "complex" function schemas (e.g., functions with parameters which are objects) is not easy. I wish to hear more wisdom from you!


error after fresh install

hey,
i get  error after i followed the getting started guide.
it cannot connect to the mongo db:
/home/user/sources/hashbrown-cms/node_modules/bluebird/js/release/async.js:61
        fn = function () { throw arg; };
                           ^

Error: MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED <IP_ADDRESS>:27017]
    at MongoClient.connect (/home/user/sources/hashbrown-cms/src/Server/Helpers/DatabaseHelper.js:236:28)
    at connectCallback (/home/user/sources/hashbrown-cms/node_modules/mongodb/lib/mongo_client.js:507:5)
    at /home/user/sources/hashbrown-cms/node_modules/mongodb/lib/mongo_client.js:414:11
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)

then i created the config directory and in that a database.cfg which contains only that:
{
   "url":"<IP_ADDRESS>"
}

then hashbrown can connect to the mongodb, but then it says database config already exists.
node version : 8.11.1

This is a problem with the init setup flow. You can get around it by either using MongoDB on localhost (same server as HashBrown app) or by using the commandline to create your first admin account instead of using the UI.
node hashbrown.js create-user u=<USERNAME> p=<PASSWORD> admin=true

@mrzapp i created a admin user as you said, but i still get the same error. Also i always get redirect to the setup url where this error occurs.
Anything else i can do execpt of the installation of on my local machine? i would like to use a docker container for that.
thanks

@traskat I created a new release (v1.0.6) with an example using docker-compose. The database config error is fixed too.

@traskat It's worth noting that this breaks the backup system, as the node container cannot directly invoke the "mongodump" and "mongorestore" commands.
I will have to find a solution for that.

@mrzapp couldn't you just take a nodejs module for that? something like that
https://github.com/hex7c0/mongodb-backup

@traskat that's interesting, I'll dive into that module


Drop pointer for task list name

What changed?

Why?

How did you test it?

Potential risks

Coverage decreased (-0.007%) to 61.665% when pulling f7ebfd18a81c5f020ba2e04a814250308ca7c2ee on vytautas-karpavicius:drop-ptr-task-list-name into b32559a1a5f29859fc930458afca00a9a7d7e946 on uber:master.

Coverage decreased (-0.007%) to 61.665% when pulling f7ebfd18a81c5f020ba2e04a814250308ca7c2ee on vytautas-karpavicius:drop-ptr-task-list-name into b32559a1a5f29859fc930458afca00a9a7d7e946 on uber:master.


No data when retrieving DNase-seq/Bone data sets

Hi,
I find your tool really helpful for retrieving publicly available data sets.
I work with bone traits and I was thrilled when I found that there are a few data set for DNase-seq in bone cells.
For some reason, when I selected the DNase-seq/Bone data sets and clickled download BED file, the file I got has no information in it.
Would you help check if there is something wrong with the way these data sets are retrieved?
Thank you very much!

Hi,
As you may know already, you can keyword-search for DNase-seq data in Bone-related cells by clicking on “Find an experiment > Keyword search” displayed on the top right of the home page of ChIP-Atlas, by which you can find 11 and 3 experiments of  DNase-seq data of Bone in human and mice, respectively.
While human data have substantial number of peaks, mice data have no peaks.
When I browse BigWig files for these mice data, I found that the alignments are much flat in genome-wide, and this is why these data have no peaks and BED files are empty.
Best,
Shinya

2019/03/14 22:23、kchanpai<EMAIL_ADDRESS>Hi,
I find your tool really helpful for retrieving publicly available data sets.
I work with bone traits and I was thrilled when I found that there are a few data set for DNase-seq in bone cells.
For some reason, when I selected the DNase-seq/Bone data sets and clickled download BED file, the file I got has no information in it.
Would you help check if there is something wrong with the way these data sets are retrieved?
Thank you very much!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/inutano/chip-atlas/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AMehTS0bELk0ip4GV9RtQ5a2oTiBj41Bks5vWk1igaJpZM4b0Ie4.

Hi,
Thank you so much for the clarification! I forgot to mention that I work with data from mice and what you explained makes total sense.
I appreciated your response.
Thank you!


Cant install vknplayer

When installing app from npm package or sources get same error (raspberry PI 1 B+)
npm-debug.log
Error:
make: Leaving directory '/home/pi/node_modules/vknplayer/node_modules/lame/build'
npm ERR! Linux 3.18.14+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "vknplayer"
npm ERR! node v0.12.6
npm ERR! npm  v2.11.2
npm ERR! path /home/pi/node_modules/vknplayer/node_modules/nclosure/bin\closure.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! enoent ENOENT, chmod '/home/pi/node_modules/vknplayer/node_modules/nclosure/bin\closure.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/npm-debug.log

oops.. node v0.10.x need

Yes, downgrading to 0.10.36 fixed this problem. Thanks!

good :smile_cat:


Better reporting of error with enumerated data type in database

Here's the issue:

I have an enumerated data type in Postgres

banking=> \dT+ accounttype
                                         List of data types
 Schema |    Name     | Internal name | Size | Elements |  Owner   | Access privileges | Description
--------+-------------+---------------+------+----------+----------+-------------------+-------------
 public | accounttype | accounttype   | 4    | Checking+| postgres |                   |
        |             |               |      | Savings  |          |                   |

Here's the codec that I defined in Scala ..

val accountType = enum(AccountType, Type("accountType"))

Here's a sample decoder that uses it ..

val decoder: Decoder[Account] =
    (varchar ~ varchar ~ accountType ~ numeric ~ timestamp ~ timestamp.opt ~ numeric).map {
      case no ~ nm ~ tp ~ ri ~ dp ~ dc ~ bl =>
        tp match {
          case Checking =>
            CheckingAccount(AccountNo(no), AccountName(nm), Option(dp), dc, Balance(USD(bl)))
          case Savings =>
            SavingsAccount(AccountNo(no), AccountName(nm), ri, Option(dp), dc, Balance(USD(bl)))
        }
    }

and here's the query ..

val selectByAccountNo: Query[AccountNo, Account] =
    sql"""
        SELECT a.no, a.name, a.type, a.rateOfInterest, a.dateOfOpen, a.dateOfClose, a.balance
        FROM accounts AS a
        WHERE a.no = ${varchar.cimap[AccountNo]}
       """.query(decoder)

The 3rd column a.type is the enum typed column. When I execute this query, I get an UnknownOidException for the enum ..

The actual and asserted output columns are
[error] 🔥
[error] 🔥    no              varchar    ->  varchar
[error] 🔥    name            varchar    ->  varchar
[error] 🔥    type            16434      ->  accountType  ── unknown type oid
[error] 🔥    rateofinterest  numeric    ->  numeric
[error] 🔥    dateofopen      timestamp  ->  timestamp
[error] 🔥    dateofclose     timestamp  ->  timestamp
[error] 🔥    balance         numeric    ->  numeric

@tpolecat suggested on gitter the following ..

Pass strategy = Typer.Strategy.SearchPath as another named argument when you specify all your session properties.
This is an optimization … if you're using built-in types only then it doesn't have to consult the system tables to get type metadata.

However it would be good to have this suggestion included as part of the error message.

There are a pair of related exceptions, both poorly named.

UnknownTypeException for parameters, where we know the Type but not the oid.
UnknownOidException for row descriptions, where we know the oid but not the Type.

The Typer maps between these, and when it's unable to do so you get one error or the other. In any case this wording is better for the first error. Still need to do the second.


no reply to empty reply

setting reply instead of null in action reply and renaming no reply to empty reply
test passing
akkaserverless-framework integration test passing with PR https://github.com/lightbend/akkaserverless-framework/pull/1205
References akkaserverless-java-sdk/issues/718

(but needs the proxy with TCK updates released)

This needs to be retargeted to the main branch.

retargeting to main branch


Use newer version of fluent-plugin-cloudwatch-logs

By bumping the version we get rid of this problem.

thanks


when bash scripts/run.sh

FileNotFoundError: [Errno 2] No such file or directory: './tmp/cartpole/cartpole-swingup-06-22-im84-b128-s202969-pixel/args.json'

Because the os.mkdir is similar with the command mkdir in the shell.
If you haven't created the tmp  directory before, the command mkdir ./tmp/cartpole/ will exit with an error .


New package: JupyterPlutoConverter v0.1.0

Registering package: JupyterPlutoConverter
Repository: https://github.com/adrhill/JupyterPlutoConverter.jl
Created by: @adrhill
Version: v0.1.0
Commit: c61589dc15846a5cfc20eda2e4acff338e1ad09c
Reviewed by: @adrhill
Reference: https://github.com/adrhill/JupyterPlutoConverter.jl/commit/c61589dc15846a5cfc20eda2e4acff338e1ad09c#commitcomment-101631034
Description: Jupyter notebook to Pluto converter.

The following guidelines were not met:

Package name starts with "Ju".

If you do not want to fix the AutoMerge issues, please post a comment explaining why you would like this pull request to be manually merged.

"Ju" doesn't refer to Julia, but to Jupyter Notebooks which this package converts to Pluto notebooks.

Bump

Ju in Jupyter refers to Julia thought so technically... :D


local_dataflow_boost_small_vector fails to build with Boost 1.70

Build logs from rostam. I'm guessing this has to do with the default Allocator for small_vector being void in 1.70 (see here). I'm hoping those more knowledgeable will find the fix trivial...

How much more incompatible can one make a container? Grrr.

I opened another issue (#3871) to keep track of the actual issue that caused this.


bugfix/UNR-3289/Fix spatial commands on workers on native windows

When working on native windows (such as cmd), echo wasn't found in the path and the commands failed.
This PR ensures the modified commands work on native windows while still working using unix toolings (cmdler for instance)

This solution is a trade-off between Mac and Window:
Will work anyway: Cmdler, Git Bash and other Unix tooling based terminals
Worked and won't work anymore: MacOS
Will now work: Powershell and Windows cmd prompt
To keep in mind, those commands are highlighting a No-Op
"steps": [{"name": "No-op", "command": "echo", "arguments": ["No-op."]}]
The command field directly calls the specified key in the path, so we can't inject any conditional statement on the OS here (or anything that is not on the path, so for instance even cmd /k echo won't work as it's not in the path). The json tree used has a rigid structure and it doesn't seem to accept windows or macos conditions on the build commands.

I thought echo was a supported binary in windows? Does it not mesh well with how spatial calls these?

@improbable-danny : I thought echo was a supported binary in windows? Does it not mesh well with how spatial calls these?

When running on master spatial worker codegen on Powershell and command prompt I get this :
PS C:\dev\UnrealEngine\Samples\UnrealGDKExampleProject\spatial> spatial worker codegen                                                                                Running task 'codegen' for 'DeploymentManager'                                                                                [1/1] > Codegen ** Load Unity to generate code **                                                                                Encountered an error running command: 'echo' with arguments 'No-op.': exec: "echo": executable file not found in %PATH%

This seems to depend on the Windows setup though, as Jessica doesn't have the same issue

yeah I thought as well that echo would work. but it seems like it's not completely supported by default :(


CLI: snark worker parallelism flag

Exposes -snark-worker-parallelism flag in the CLI to allow
This has two benefits:

Allows node operator to limit the parallelism of their snark worker without affecting their block production (my understanding is that both are affected by OMP_NUM_THREADS?)
Allows setting OMP_NUM_THREADS in the daemon.json config, which will allow you to set this when running coda as a service.

I still need to figure out a way to determine whether this works... open to suggestions

I still need to figure out a way to determine whether this works... open to suggestions

Run in demo mode. Set to omp threads to 1 and look at your activity monitor. Then set to 8 and look at your activity monitor. Expect a difference!

It's a little tricky to get a definite answer the way suggested by @bkase, but short of printing omp_get_max_threads() in the C code, not sure what's better.
That said, I ran the demo container with -snark-worker-parallelism 1, waited a while for my fans to spin up, then ran ps -o thcount <snark worker pid>, which gave 9.
I then ran with -snark-worker-parallelism 8, and ran the ps command again, which gave 25 this time.
Not exactly science but seems more or less expected?
It's hard to assess from looking at the activity monitor alone as the block producer still uses all available threads (by design), makes a block during every slot, and doesn't have many transactions to snark.


add now page with dashboard

This pull request includes several changes to the app and components directories, primarily focusing on updating the Dashboard component, adding new API routes, and modifying layout and navigation elements. The most important changes include renaming and updating the GithubViz component to Dashboard, adding new API routes for analytics and playcount data, and updating the layout and navigation to accommodate these changes.
Component Updates:

components/GithubViz.tsx was renamed to components/Dashboard.tsx and updated to include additional data (pageviews and playcount) and new icons. [1] [2] [3] [4] [5] [6] [7] [8] [9]

API Routes:

Added a new API route app/api/analytics/route.js to fetch analytics data from the Umami API.
Added a new API route app/api/playcount/route.js to fetch playcount data from the Last.fm API.
Added a new function getPlaycount in lib/spotify.ts to support the new playcount API route.

Layout and Navigation:

Removed the GithubDashboard component from app/about/page.tsx and updated the layout in app/layout.tsx to accommodate the new Dashboard component. [1] [2] [3]
Added a new navigation item "Now" with an associated icon in components/Navbar.tsx. [1] [2] [3] [4] [5]

New Page:

Created a new page app/now/page.tsx that uses the updated Dashboard component.


Include progressCallback to the usage example

As a follow-up for:

https://github.com/ngxson/wllama/pull/13

I suggest adding the progressCallback to the main example for it being an important feature.

Updated. What do you think?

Cool, thank you!


Add zazu-battery to the plugin page

zazu-battery shows information about your battery.

@danielbayerlein since this is mac-specific would a better name be zazu-mac-battery ? Similar to zazu-mac-vpn plugin.

@blainesch At the moment only macOS is implemented. You can easily integrate other operating systems, see https://github.com/danielbayerlein/zazu-battery/blob/master/src/index.js#L6.

Fair enough!

@blainesch Thank you 😉


eye detection example

I am after a valid example of your objectdetect.js to detect eyes in a face ROI. I have succeeded to detect one eye and integrate into the image example. I would like to detect eyes within the face being detected, can it be done?
this will detect the face and one eye, what do I nee to do to make it detect 2 eyes in a face region, can I make it work with many faces at the same time?
on openCV C++ I did manage, but in JS I am having hard time, can u help?

It can be done, but not yet with the jQuery plugin. I think that adding an option called "selection" that allows to restrict the search window might be the answer to your question.

Is there any such option of providing 'selection' in js (without jquery)?
Also I can't find any reference to the functions used in example, any links on that will be very helpful.


feat: export organization members

What does this PR do?
This PR introduces an endpoint that enables the export of organisation members to a CSV file. The endpoint will generate a CSV file containing details of all members in an organisation, including their ID, name, email, and role.
How to Test
Export Organisation Members to CSV:

Use the endpoint GET /api/v1/organisations/:org_id/members/export to export members of an organisation by their organisation ID.

Verify CSV Export:

Check if the CSV file is created with the expected headers (ID, Name, Email, Role) and member data.
Ensure that the file is downloadable and the data matches the organisation members' details in the database.

Edge Cases

Test whether the organisation exists before attempting to export members.
Test the behaviour of the system when trying to export members from an organisation that does not exist.
Test the export functionality for an organisation with no members.

Checklist

Implementing the /api/v1/organisations/:org_id/members/export endpoint for exporting members to a CSV file.
Validating the org_id parameter to ensure it refers to an existing organisation.
Using the csv-writer module to generate the CSV file.
Writing tests to validate the CSV export functionality and edge cases.

Fix your conflicts

@TheCodeGhinux i resolved it now.

@Cobidex i used the pipeline, and removed the console.error with logger, and also i added parsing uuid.