nvcc tries to use gcc-6

Hi there, thanks very much for the repo. I am on Ubuntu 16.04 with CUDA 8.0 and CUDNN 6.0.
I've been trying to compile the shared library but it seems that nvcc is trying to use gcc-6 which it is not compatible with. I've created the following symlinks but this did not fix the issue:
/opt/cuda -> /usr/local/cuda
/usr/bin/gcc-5 -> /usr/local/cuda/bin/gcc
/usr/bin/gcc-5 -> /usr/local/cuda/bin/g++

The plain gcc binary is 5.4:
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

After removing gcc-6 and g++-6 from my system, the bazel configure step prompts me:
Invalid gcc path. /usr/bin/gcc-6 cannot be found
Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc-5]:

Can we force bazel to always ask which version of gcc to use for host compiler?

$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

the gcc binary is definitely the right version too

After removing gcc-6 and g++-6 from my system, the bazel configure step prompts me:
Invalid gcc path. /usr/bin/gcc-6 cannot be found
Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc-5]:

I changed gcc-6 to gcc-5 in tensorflow_cc/cmake/build_tensorflow.sh to fix this issue. I actually needed to also make a change to the tensorflow source code in cuda/cuda_dnn.cc to remove a _v6 function to a different block in order to get the code to compile. However, I am now running into the same error as https://github.com/FloopCZ/tensorflow_cc/issues/23.

Thank you for the info, changing build files is also an option. Other option should be a fresh CUDA driver from Nvidia website, which (I believe) supports g++-6 out of the box.


WFLY-10917 Server fails to shutdown when using JGroups encryption

https://issues.jboss.org/browse/WFLY-10917

Other than my CancellationException question above, this looks good. If Paul answers he's fine re: the CancellationException, please regard this as an approval, in case I don't come back in a timely manner.

I re-run the scenario where the issue was detected and the issue is fixed now.


Add more sorting Algorithms

more sorting algorithms could be added

How about selection sort?

Selection Sort, Insertion Sort, Merge Sort, and Heap Sort are few of the staple sorting algorithms that you are missing :)

I would like to work on this issue.

#2 checks out


Map: Is it a Function or Class?

Both the ES6 source and immutable.js.flow declare Map as a class, and presumably sub-class-able.
However immutable.d.ts declares it as a module/function/interface, preventing sub-classing from it.
I'm using TS, and would like to sub-class Map.
Is Map not meant to be sub-class-able, or is the TS declaration incorrect?

I looking to do the same as @papercuptech. Sub-classing is my biggest issue with Immutable.js. We had to implement Records everywhere to get typing information but I could still not sub-class from a parent record.
const parentRecord = Record {a:1,b:2}
class Parent extends parentRecord{
a:number;
b:number;
constructor(a:number,b:number){
    super(
        {a:a,b:b}
    )
  }
}

Now I want to extend this Parent class:
const childRecord = Record {c:1,d:2}
class ChildClass extends Parent{
c:number;
d:number;
constructor(a:number,b:number,c:number,d:number){
    super(
        {a:a,
        b:b,
        c:c,
        d:d
      }
    )
  }
}

This obviously doesn't work but you can see what I'm getting at. Given it appears you are refactoring all this new code for Typescript what do you recommend moving forward for developers who want to use an immutable type but need to create a class hierarchy and get dot notation intellisense.

Immutable.js doesn't support subclassing of Maps, Lists, and other collection types. The type constructors are functions (they don't need be called with new). The TS declarations are correct, the flow definitions are incorrect in this particular way but using the class definition made other desirable behaviors work with the flow checker.
Records can be sub-classed as a means of adding additional methods to the prototype, however subclasses cannot add new fields to the Record store and cannot perform work in a constructor (since every "mutation" results in the construction of a new Record). I typically recommend against subclassing Records and instead favor general purpose functions which accept the records as arguments - this approach is easier to type check, easier to scale in a codebase, and is more performant at runtime.

Part of the confusion is the source text which was written before ES6/ES2015 was finished. It is using a non-compliant class transform which converts back to a prototypal function constructor

@leebyron Got it. I just want to give my thoughts on this if that's OK. I believe I understand (I may not) that we have separate programming styles here with functional and object oriented. Although libraries such as this one have revealed an alternate reality to me which is we instead work on spectrum and you can incorporate each style into your code. With that being said I personally don't see the value of Immutable.js as a functional programming library (you may not either) but instead an awesome library that prevents me from passing all my objects by reference and tearing out all my hair :) I may be missing the point but that is the beauty I see here. This is why I get confused by your answer because to me I'm inches away from reducing massive amounts of my typescript code if I could inherit class properties while maintaining immutability. Now you may say that last sentence is impossible given the inherent mutation that I'm asking for but then you have to ask yourself what do developers like myself do? Is the answer to code in a functional style? Maybe but I believe the unexpected popularity of your Records type as you noted in your 2016 road map document is likely due to a number of the reasons I pointed out above.

@leebyron

I typically recommend against subclassing [Thing] and instead favor general purpose functions which accept the [things] as arguments

Looking at Immutable-js source, it seems to be organized by kinds of things (Collection, Map, Set, etc.) hierarchically related, as indicated by the names of files and their contents, and then within by explicit class declarations, and in some cases with several levels of derivation, almost exactly precisely like what is called an "Object Oriented" organization. Why does Immutable get to do the very thing you recommend against?

this approach is easier to type check, easier to scale in a codebase, and is more performant at runtime.

Can you provide a link to research that shows this to be more than hyperbole or anecdotal?
...as it implies, given this interface:
interface IThing {
  attribute: string
  useAttribute: () => string
}

...that this:
class Thing implements IThing {
  attribute: string
  useAttribute() {return this.attribute + ' used'}
}

const thing = new Thing()
thing.a = 'Hello'
const used = thing.useAttribute()

is somehow harder to type check, prevents organizing many functions over a shared structure, and performs materially slower than:
function useAttribute(thing: IThing) {
  return thing.a + ' used'
}

const thing: IThing = {}
thing.a = 'Hello'
const used = useAttribute(thing)

TS at least, easily type checks both, and provides mechanisms to 'scale' code for a type across files (namespaces). With JIT optimizations, practically speaking, there's no difference in call overhead. This seems, on the face of it, to fly counter to your claim.
I've often experienced, in projects using the later approach, that they regularly don't explicitly define IThing (and all the related IOtherThings), and instead encourage the inherent schema of the graph of data for the particular problem domain, be implicit within how function's operate on the graph. This usually comes along with lots of type-related functions spread across disparate files. All this makes it quite a bit easier to end up with code harder to maintain (i.e. for others to grok and change), and can inhibit useful tooling features like intellisense and type checking.
@dsm0880 The implementation of Record is rather straight forward and small. We copied and tweaked to provide a typed Immutable Record (Model) to fit our needs. Along with a decorator, we get to use like so:
class Model {
  //plagiarized and tweaked Record

  changed: Model = this
  hasChanged() {return this !== this.changed}
}

function property(prototype: object, name: string) {
  Object.defineProperty(object, name) {
    get: function() {return this.changed.get(name)}
    set: function(v) {this.changed = this.changed.set(name, v)}
  }
}

class Thing extends Model {
  @property firstName: string
  @property lastName: string
  @property title = 'Unknown'

  constructor(firstName: string, lastName: string, title?: string) {
    this.firstName = firstName
    this.lastName = lastName
    this.title = title || this.title
  }
}

let thing = new Thing('john', 'doe')
thing.firstName = 'Does this'
thing.lastName = 'Work?'

if(thing.hasChanged())
  thing = thing.changed
  //;i.e. can be used to 'change' a thing in a redux action,
  //but only update the store in the companion reducer (by
  //the reducer returning thing.changed); its a handy optimization


Feature/6470115 metric cluster version

Emits cluster version metric in monitoring.
Includes a script to watch monitor output. This gets around the multiplexing issue the previously suggested netcat method had.

Closed in favour of PR 334


Apps that watch the fileActivityStream are affected by the live-reload mechanism

Operation System: all
Beaker Version: 0.7.3
For apps, that watch for the "fileActivityStream" themselfs, the "live-reload" button is contra productive, because it auto-reloads the site which may not need to be reloaded. The app will handle it.
There should be a possibility for an app, to disable the live reload button, or beaker may detect the API calls and disable or hide it.

I'm not sure the browser needs to force the button to disable. The user can just not use live-reloading in that case, right?

Is it possible, that the app can see, if the live-reload mechanism is enabled? So we can react to to the setting in a sensible way. eg: tell the user, what to do?

I have found this to be an annoyance too. Maybe worth considering an app permission to signal to beaker in order to prevent a live reload for that specific change detection. In my case, if the app is in a certain state, the reload effectively causes the state to be lost, whereas in other cases the live reload works as intended to give user updated info. But I suppose app designers can work-around this if it should not be the concern of the browser. Still an interesting thought to let an app talk to Beaker in this way.


:bug: Reset does not work on physical hardware (INTEL NUC as Example)

Kairos version:
1.5,1.6,2.0
CPU architecture, OS, and Version:
x86 12 Generation Intel.  OS version does not matter.  The result is the same.
Describe the bug
When sending a node to reset, the node never comes back online.  It simply sits at a blank screen.  The node boots into recovery, but the reset command is never applied.
To Reproduce
Load an Intel NUC and send it to reset.
Expected behavior
The Node should reset back to the original state.

on real hardware works here - I guess this is just specific to a custom setup? Can you provide more informations, like:

cloud config used for the installation
steps to reproduce (how did you triggered the reset? with Kubernetes? manually?)
Is this EFI or MBR installations? is that using UEFI and the shim?

Thanks!

The error on the image comes exactly from here: https://github.com/kairos-io/elemental-cli/blob/main/pkg/config/config.go#L382
That only triggers if the efi dir exists in the current system: https://github.com/kairos-io/elemental-cli/blob/main/pkg/config/config.go#L367
The dir that its being check its /sys/firmware/efi which is mounted by default if we are on an efi system (booted via efi) and its done by the kernel: https://renenyffenegger.ch/notes/Linux/fhs/sys/firmware/efi/index
The only way that can happen is, if the machine is EFI but it was installed with bios?? When installing in bios mode, the efi partition WONT be created but the system will still have the efi directory. But AFAIK you should not be able to boot in EFI mode with bios....
@3pings is the machine booting in one of those mixed modes where it tries EFI and fallbacks to legacy? That may be able to create this situation.
Is it possible to get a lsblk/blkid of the machine to see the actual partitions?

as discussed in the chat: could be likely that IF the config is with fast enabled, then it might not give enough time for user data to finish pulling in the background, thus elemental cannot access partitions.
In any case, we should wait user-data, as we do in the installation for the same reason: https://github.com/kairos-io/kairos/blob/1852c658ff7c4eb85c7369b5bc8735d25eaba666/internal/agent/install.go#L121

@3pings can you confirm that the cloud-config you are using has the fast flag enabled? https://github.com/kairos-io/kairos/blob/1852c658ff7c4eb85c7369b5bc8735d25eaba666/internal/agent/config.go#L27

It was confirmed that the fastoption was used so it looks like something has the disk open while reset is working which makes elemental not able to open the disk.
Waiting for reports that if removing the fast key makes it work, in which case we should:

open an issue to test the fast option
open an issue to make elemental-cli NOT return an empty partition list if it cant open the disk, but instead FAIL with a proper error or at least LOG that error properly so the issue is visible. Also adding a retry in there would be nice.

Im wondering if the linuxkit/metadata issue that kept the disks open is the culprit. After all Im not sure the fix was in by the time we cut 2.0.0-alpha1
@3pings Can you check what elemental version is being used in those systems? elemental-cli version --long should give the full version commit included

fast is confirmed that was used, looks like we need to https://github.com/kairos-io/kairos/blob/1852c658ff7c4eb85c7369b5bc8735d25eaba666/internal/agent/install.go#L121 as well during reset


dond to support time-dependence measurements (perhaps with ElapsedTimeParameter)

something like
etp = ElapsedTimeParameter()
dond(etp, stuff_to_sweep_and_measure_here, ...)

first of all, ElapsedTimeParameter does not have a set method, so it can't be used in dond as an independent parameter. Secondly, the ask is to run a measurement until elapsed time is more than a specified value (e.g. until elapsed time is more than 10 minutes).
One quick workaround would be to use a dummy parameter as the doNd set parameter and include the ElapsedTimeParameter in the list of meas_params.
Originally requested by @guenp @samantha-ho

Thanks @astafan8 for creating this issue!
The reason why I initially thought it would be great for dond to support time as a parameter is because in the users' mind, time is just another dimension along which we want to measure a set of parameters or rasters. I'm not fixated on using dond for this if it is not within the package's design principles, but the convenience of being able to set up a measurement with dond, then decide "What if I monitor this thing over time"? and only having to make a small change will be great to be able to cover somehow.

Another request for this just came in: for every value of an outer parameter, measure some other parameter as a function of time by acquiring a value every 10 seconds for 5 minutes. I suggested the following solution (i'll come back with updates on how this worked):
elapsed_time_param = ElapsedTimeParameter(...)

some_outer_sweep = LinSweep(
    ...,
    # reset the elapsed time parameter
    # for every new value of this sweep
    post_actions = (elapsed_time.reset,),
)

time_sweep = LinSweep(
    elapsed_time_param,
    start=0,  # value does not matter
    stop=5,  # 5 minutes, value does not matter
    num_points=5*60/10,  # 5 mins / 10 seconds, number of points matter
    delay=10,  # seconds; this is what "sweeps" the time
    get_after_set=True,  # thanks to #4759
)

dond(some_outer_sweep, time_sweep, measure_something_param, ...)

@astafan8, this issue just came up again. This is the workaround that @ThorvaldLarsen came up with:
time_param = ElapsedTimeParameter('time')
time_param._settable = True
time_param.set = lambda x: None
time_sweep = LinSweep(time_param, 1, 1000, 1000, 0, get_after_set=True)

time_param.reset_clock()
ds, _, _ = dond(time_sweep, *params_to_measure)

This solution is not ideal because we have to pick the number of repetitions based on how long we want the measurement to run, instead of just specifying "please measure for 10 minutes".
We were wondering if it might make sense to implement something like this that behaves more like a while loop:
time_param = ElapsedTimeParameter('time')
time_sweep = TimeSweep(time_param, start=0, stop=10*60, delay=0)
ds, _, _ = dond(time_sweep , *params_to_measure)

Now that they're released, it makes more sense to use the datasaver_builder and dond_into extension than try to make this work in the base dond method.
In rough pseudocode, it would look like this:
time_param = ElapsedTimeParameter('time')
with datasaver_builder(dataset_definition) as datasavers:
  while time_param < start_time + duration:
    dond_into(datasavers[0], *params_to_meaure, additional_setpoints=(time_param,))
    time.sleep(delay)
  ds = datasavers[0].dataset


Production alerts now include some request details.

This adds some basic request info to the production system error alerts. The actual information added is pretty small now; this change is mainly intended to create a place to easily add things to the reports as we realize what we really need to run down production errors.

This, by the way, should close #238.


feat: Add confirm step type

Closes #953
Provides functionality to allow prompts with confirmation before proceeding with the remainder of the workflow.
Dry-run functionality will simply print a message saying that it will prompt the users with the message provided in the knope.toml configuration.

[ ] Refactor confirm function to make testing easier
[ ] Add unit tests
[x] Add documentation for confirm step type
[x] Add auto-confirmation functionality (-y in the CLI)
[x] Add documentation for -y flag

@dbanty Would it be wise to wait until #920 is merged until adding any unit tests into this one? The core functionality is there, just tests currently missing

#920 might be in limbo for a little bit—it's powering a new feature for the GitHub bot, but I don't have time to finish the feature for a few weeks 😓.


Arm64 arch build is commented

By looking at the .drone.yml file, the Arm64 build is commented. It was added by @ibuildthecloud almost
six months ago, but it's not clear the reasons why it is not used at the moment. It is maybe an untested build or perhaps a non-working build? As a user of the now-deceased k3os, I would like to use the RancherOS v2 for my RPIs.
Would you need any help with testing it out?
OT: This message should have been more appropriate for a Slack channel, but it seems I cannot access the Slack workspace rancher-users w/o an invitation.

drone is for continuous rebuilds and replaced by github actions currently.
We certainly would welcome help for ARM support. We just don't know where to begin :-/
Btw, I sent you an invite to rancher-users Slack :wink:

Closing for now since we don't use drone currently.

Thanks, @kkaempf, for the fast reaction, and thanks for the invitation.

Also you might be interested in https://github.com/rancher-sandbox/cOS-toolkit/issues/1138 as it is directly related to the subject

Grazie @mudler 😉
Any reasons why os2 is under two different orgs? For the arm64 support where the discussions should go on, https://github.com/rancher/os2/issues/16 or under the rander-sandbox gh org?

@mazzy89 rancher-sandbox is the most current up to date, so discussions should go under there. There is currently a card for arm support for os2 but somehow is under cos-toolkit. Bit of a mess currently :) https://github.com/rancher-sandbox/cOS-toolkit/issues/1138


bash-it themes must not set the TERM variable

The used terminal emulator (urxvt, xterm, ...) is responsible to set this variable correctly. If the bash-it theme overrides this setting some applications behave unexpected, because they use the wrong escape sequences. Setting the TERM variable manually inside scripts is bad practice and shall be avoided.
See also https://unix.stackexchange.com/questions/108410/is-it-correct-to-set-the-term-variable-manually

Thanks!


Sonarqube XML file replacement

Hi Team,
Actually recently we have done with setup of Sonarqube enterprise version and we are planning to use Mule SonarQube Plugin (GitHub - mulesoft-catalyst/mule-sonarqube-plugin: The Mule SonarQube Plugin provides the capability to do code inspecting and taking project metrics from a mule project using SonarQube.) for our mule soft projects ,
And when I looked at the plugin setup we have observed that As the plugin inspects xml files and SonarQube already comes with an XML plugin, you have to modify this behavior so only one plugin inspects xml files. For that reason, you have to remove the xml extension from it.
As of now we have already scanned Javascript / HTML and other language projects and we might scan java projects also which will have xml files ,
Now the question I have regarding the above changes are
Is it OK to remove the prebuilt XML plugin and use the custom XML plugin or do we have any limitations in using the custom XML plugin instead of pre built XML plugin
Even if we use custom XML plugin , I hope there wont be any issues regarding the XML files that needs to be scanned for all other projects wherever required.
It would be helpful for us to provide some guidance regarding this as this will help us to decide on that whether to go ahead with this plugin or not?
Please let me know if you need any additional details

I have similar questions. We have multiple teams using our SonarQube instance. Mulesoft uses XML files but so do many other platforms like Salesforce. Will using the plugin limit or change the results those teams are expecting? Is this documented anywhere?


suggest a .gitignore file

A starter/suggested .gitattributes file is suggested in #46. A starter .gitignore file would also be helpful. Useful decisions I'm aware of so far:
DO ignore data files
DO ignore .remake/
DO NOT ignore .ind files
DO NOT ignore files in build/status
DO ignore task remake files
DO NOT ignore the main remake files (anything not automatically generated)

However, sometimes it could be appropriate to DO ignore .ind and build/status files  when those files describe actions that should only ever need to happen on, or be relied on by, one computer. For example, .ind and build/status files describing downloads of huge files (e.g., NLDAS data cubes) that will then be subsetted to much smaller files before being shared with collaborators.


Bump Stack version to LTS 7.1

After cloning the repo, I got the following error before bumping to the latest
LTS:
uio-imac-03:cassava-megaparsec justin$ stack build
Populated index cache.
While constructing the BuildPlan the following exceptions were encountered:

--  Failure when adding dependencies:
      megaparsec: needed (>=5.0 && <6.0), 4.4.0 found (latest applicable is 5.0.1)
    needed for package cassava-megaparsec-0.1.0

Bumping the Stack LTS to the latest version fixed the error for me.

Good catch. We could as well add megaparsec to extra-deps, but the new LTS is even better. LGTM


[WIP] generate

🇬🇦 do no merge 🇬🇦
fixes #373

[ ] todo: respect noinstall
[x] todo: lookup version of latest
[x] docs
[ ] tests

this is still a WIP since i need to sort the testing but i'd love some feedback on the approach. additionally @alexcrichton if you rebase your #625 i think you can take advantage of some of the refactoring i've done here

To bikeshed a little bit, if we ignore backwards compatibility and that wasm-pack init was historically a subcommand, would be perhaps best named as wasm-pack init or wasm-pack new? This seems akin to cargo new and cargo init to me (which arguably both should take template parameters)

@alexcrichton i honestly had the same feeling when i was making this PR, new and init seem better and are a lot easier to type.
i think init has been deprecated for a lot of cycles at this point. i'd be open to replacing it, or we can go with new.

I think I'd vote for new over init since it's creating directories rather than initializing pre-existing ones (sorta like cargo new/init), but I'm not sure how much precedent there is for that distinction honestly

One recommendation I might have for testing comes from Cargo's test suite which is to use local file paths to git repositories. The general idea would be to make a builder-style API which creates a bunch of files in a directory, and then has a build() method which writes it all out and then turns it into a git repository with one commit as well. The result of build() could then be a Url which is actually just a file path, and then wasm-pack generate is invoked with that URL to ensure that it basically calls cargo generate and the right results show up (pass in a few different names, etc)
The various git helpers for Cargo are located in https://github.com/rust-lang/cargo/blob/master/tests/testsuite/support/git.rs and largely rely on git2, but using the CLI here would probably also be fine.

@ashleygwilliams About the tests I agree with you that some more test would be nice to have. However, I think we can add those afterwards. Let's get this PR merged first.


codes and symbols appears after clicking on android back button

Dears,
Kindly i need your usual support, regarding to the android back button.
After i added the Cordova encryption plugin when the user click on the android back button he got an error blank page with some symbols and cods. check the below picture.

Have you solved it @burhan059 ? seems to me like some java file is not compiling (that gibberish you see is an actual encrypted source code that the plugin isn't translating). I would try to upgrade my Java version and and/or migrating the code to a fresh Ionic proyect.

when I build app by cocoon.io server after splash screen show off, it appear error like your picture attacked. By the way, this feature is cool thing I waiting to update.

Im having the same issue. Successfully encrypts the codes but failed to decrypt once installed on device.

For me, I had a similar issue with back button.
I'm using angularJs with Cordova 6.3.0
what fixed this for me to encrypt everything except index.html
i did so by adding the following section in the plugin.xml
 <exclude>
        <file regex="index\.html$"/>
    </exclude>


Link for data not correct

I'm trying to download the cons_loc_pathway files and it gives the link [https://bbp.epfl.ch/nmc-portal/downloads], but that link just takes me to [https://bbp.epfl.ch/nmc-portal/welcome.html]. I found https://bbp.epfl.ch/nmc-portal/downloads.html page but it's unclear to me exactly what I have to download.

Revised location for downloads, explained what to download and where.


Study the feasibility of not altering gbenchmark

All current benchmarks and lib/gbenchmark are unchanged.
The following changes were make to Makefile:

Added libgbenchmarkX to create library
Added libponyrt.benchmarkX to create executable
Added external.deps which is list external dependencies
Added fetch.external.deps to fetch external dependencies
Added $(libgbenchmarkX.dir): target which fetchedd google/benchmark.git
Added ifdef $(1).srcdir to give the ability to point to specific
directories for source files.

Copied benchmark/* to benchmarkX/.
Updated benchmarkX/README.md.
Deleted benchmarkX/libponyc as it has no real tests that aren't
in libponyrt/.
Copied lib/benchmark/gbenchmark_main.cc to benchmarkX/gbench_mark.cc.
Instead of fetching external dependencies when building we can also
consider using git submodule or subtrees.

My first conclusion is that using an unaltered google/benchmark seems fine. As it turns out I couldn't get the fetching of google/benchmark to work so I just manually cloned google/benchmark into lib/gbenchmark and then removed lib/gbenchmark/.git and commited that.
Next I'm going to modify wscript and have it create libgbenchmarkX.a and libponyrt.benchmarksX for Windows.
Based on @SeanTAllen comment, submodules are a no go. Not a problem for me, do people have an opinion on using subtree or suggest another solution. If nothing else we can just periodically do something like:
rm -rf lib/gbenchmark
git clone git@github.com:google/benchmark lib/gbenchmark
rm -rf lib/gbenchmark/.git
git add lib/gbenchmark
git commit -m "Update gbenchmark to xxxx"

Here are some links on subtrees:
google search git subtree tutorials
A why subtree article
A subtree tutorial

I'd like to suggest we use subtree's for managing the content of our lib/. I followed the workflow defined in this article and it went smoothly and was fairly straight forward.
The good thing is that devs that don't need to update the libs have exactly the same workflow as now, no differences at all. We'll need some doc's and at a minimum I'll create lib/README.md and I think we should add another file named something like lib/See_README.md_before_modifying_this_dirs_content. This way it should be obvious to everyone the content is somewhat special.
You can actually make modifications to this subtrees exactly as you normally would. The only time you need to use the subtree commands is when you want to update the subtree from upstream to get a newer version or "split" out the local modifications for upstreaming.
So my next step will be to create the README.md and the See_README.md file.
Comments and suggestions welcome.

Closing, see #2599


The Select or Dropdowns don't get triggered when using React Library

What platform were you using when you found the bug?

React Flow / Svelte Flow version:  React
Browser and version: Chrome
OS and version: Window 10

Live code example
No response
Describe the Bug
The Select or Drop downs don't get triggered on click. They seems to have disconnected with the event listeners. I have tried this with Material UI and Ant UI. It if failing for both. They work just fine outside of the "Nodes".
I first noticed it when using it in combination with @rjsf package on Material UI  skin. Later isolted it just for material, doesn't work.
  <Select
    defaultValue="lucy"
    style={{
      width: 120,
    }}
    onChange={handleChange}
    options={[
      {
        value: 'jack',
        label: 'Jack',
      },
      {
        value: 'lucy',
        label: 'Lucy',
      },
      {
        value: 'Yiminghe',
        label: 'yiminghe',
      },
      {
        value: 'disabled',
        label: 'Disabled',
        disabled: true,
      },
    ]}
  />

In Ant UI the click is immediately reset. But in material UI is doesn't reset but doesn't show either.
Steps to reproduce the bug or issue
Add Material UI v5 or Ant UI latest and add <Select/> within the node.
Expected behavior
The clicks are supposed to be triggered
Screenshots or Videos
NA
Additional context
No response

wrote a custom select without any library it works. But the issue remains.
const CustomSelect = ({ options, label, onChange }) => {
  const [selectedValue, setSelectedValue] = useState("");

  const handleChange = (event) => {
    const value = event.target.value;
    setSelectedValue(value);
    if (onChange) {
      onChange(value);
    }
  };

  return (

      {label}
      <select className="custom-select" value={selectedValue} onChange={handleChange}>
        <option value="" disabled>
          Select an option
        </option>
        {options.map((option, index) => (
          <option key={index} value={option.value}>
            {option.label}
          </option>
        ))}
      </select>

  );
};

You need to add the nodrag nopan classNames to the select element.

Thanks a lot for the resolution. It works!
Please add common issues or best practices on the site for better debugging. Cheers!

You need to add the nodrag nopan classNames to the select element.

Wow, I did not expect that to work! 🙏
(For @mui components I added the classes to the ListItemButton component)


adding asset extensions (cip14 - asset fingerprint)

based on https://cips.cardano.org/cips/cip14/


Support for Apple Push Notification Service

The APNS platform uses the Apple Push Notification service (APNS) to deliver
notifications from Home Assistant.
To use the APNS service you will need an apple developer account
and you will need to create an App to receive push notifications.
For more information see the apple developer documentation.
Sample Configuration:
notify:
  platform: apns
  name: doorbell_app
  sandbox: true
  cert_file: doorbell_app.pem

Configuration Variables:
name: The name of the app.
sandbox: If true notifications will be sent to the sandbox (test) notification service.
cert_file: The certificate to use to authenticate with the APNS service.
Usage:
The APNS platform will register two services, notify/[app_name] and apns/[app_name].
apns/app_name:
This service will register device id's with home assistant. In order to receive a notification a device must be registered. The app on the device can use this service to send its id during startup, the id will be stored in the [app_name]_apns.yaml.
See didRegisterForRemoteNotificationsWithDeviceToken in the apple developer documentation for more information.
notify/app_name
This service will send messages to a registered device. The following parameters can be used:
message: The message to send
target: The desired state of the device, only devices that match the state will receive messages. To enable state tracking a registered device must have a device_tracking_id added to the [app_name]_apns.yaml file. If this id matches a device in known_devices.yaml its state will be tracked.
data:
badge: The number to display as the badge of the app.
sound: The name of a sound file in the app bundle or in the Library/Sounds folder.
category: Provide this key with a string value that represents the identifier property of the UIMutableUserNotificationCategory
content_available: Provide this key with a value of 1 to indicate that new content is available.

@sam-io What's the use case here? I assume you are writing an iOS app for Home Assistant? I've already started working on one and have gotten pretty far on it, but it is lacking in UI. It even has support for device tracking and super advanced push notifications with actions.

@robbiet480 it's just about notifications to an iOS app. I'm not writing a specific app for home assistant. I have written a simple app that will play a sound and notify me when someone rings my doorbell, I'm only distributing the app to people in my house so it's not published on the App Store or anything. I then wrote this extension to home assistant to allow me to send the app notifications.

@sam-io You may want to try out the HA iOS app, since it has push support and allows you to upload custom push notification sounds to use (as well as comes with a ton of sounds by default).
Anyway, cool! Go ahead and fix up everything that @balloobbot caught and then I can take a look.

still rooting for a notification platform using iCloud messages... it can push a message with sound regardless of mute setting on the phone. It also uses what could be considered a more stable service than APNS. But for now I use @robbiet480 's iOS app and it's great!

Cool I will check out the app, didn't even know it existed, where can I get hold of it?
I have fixed up the issues but it looks like the CI build is failing because it can't load the module dependency, what have I missed?

Look at requirements, there is also a script to generate the requirements_all.txt file
A quick note on all the documentation, can you rather move it to the homeassistant.io project?

@sam-io Sign up for beta testing the app here. Looking for contributors too, especially on the UI side!

@kellerza thanks, that's what the problem was, I had the requirements defined at some point but must have deleted while moving some code around. Anyway, I can't re-run the script at the moment because I'm away from my computer for a week so I will have to pick it up, and the documentation when I get back. Thanks for the help so far.

Ok, docs are done (see https://github.com/home-assistant/home-assistant.github.io/pull/905), anything else I need to do?

@robbiet480 would be the ideal person to comment here.
Quickly looking at it I would suggest removing the docs in line 2-70 and just put a link to the docs [example in any component]

Anything else you want me to do with this to get it merged?

@robbiet480

The new HTTP 2.0 based APNS should be used, the prior version (using the apns library) has some drawbacks for reliability. It's also quite a bit simpler, here's one we made for our push service: https://github.com/mozilla-services/autopush/blob/master/autopush/router/apns2.py

@bbangert I've changed it to use a library that uses the new http/2 api

@sam-io I'm unsure how so many commits got into this PR. Can you please open a new PR against the latest version of master with your changes? Thanks!


Auto build dist

Push dist changes back to a PR if out of date.
This is a nice opportunity to prototype how this mechanism could work elsewhere too.

One slightly odd behaviour I can't quite explain right now is why the commit that was pushed by pulumi-bot isn't then re-tested.
Perhaps there's something about using the built-in token that github detects and disables triggering workflows for the pushed commit to avoid infinite loops?

One slightly odd behaviour I can't quite explain right now is why the commit that was pushed by pulumi-bot isn't then re-tested.
Perhaps there's something about using the built-in token that github detects and disables triggering workflows for the pushed commit to avoid infinite loops?

I think this needs to be fixed before merging. Could the job kick off an explicit workflow run?


lint unsigned_negation has been removed

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


Program To check if a Binary Tree is a Binary Search Tree in C

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
YES!!
Motivation
(Please outline the motivation for the proposal.)
Given a Binary Tree, we need to find whether the given tree is a Binary Search Tree
Pitch
(Please explain why this feature should be implemented and how it would be used.)
For example:

The above tree is a Binary Search Tree

Is not a binary Search Tree, since the position of 6 is invalid

/assign


Auto Translate text

Is there a way to put Auto translate text into the text field?

No, auto-translate uses unique shift-JIS escape codes and is not compatible with the text format used by imgui.  I've considered a few solutions to this, perhaps the most feasible would be a seperate addon that watches for text in a specific format, such as enclosed in double brackets: [[Please invite me.]] and automatically converts it to the shift-jis.  I'll leave the issue open as a reminder, but it isn't something that will be built directly into tHotBar and probably will not be in the immediate future.

Ok, thank you

Another user has created an addon of this nature, you can access it at:
https://github.com/m4thmatic/translataru/


[Feature request] Drag and drop pre-written stunts from compendium to actor.

Drag and drop pre-written stunts from compendium to actor.

@Grottmastaren Doesn't that work already? As all stunts are items, that should already work

I am able to drag stunts onto an actor sheet it the current version of FateX (0.13.0).
One slightly awkward thing is that stunts can only be dragged into the items panel of the main Foundry interface when the sheet is in edit mode. When the sheet isn't in edit mode, all pointer events are disabled, so we can't perform the drag. None of this affects dragging to the sheet, however.
This is also true for skills, aspects, consequences, extras, etc.

I have no problem getting this to work. Perhaps it's been addressed and it should be marked as closed.


Remove UpdateCommand interface from command store

What this PR does / why we need it:
Just as we do on PR #3201
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/rebase


Wrong classname when using slf4j inside a wrapper and logging via LoggingEventBuilder

I am using the kotlin-logging library which is basically a wrapper around slf4j tailored for kotlin. (Original issue kotlin-logging-416).
When logging using the LoggingEventBuilder and setting the CallerBoundary accordingly it prints the wrong classname.
package my.pkg;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.spi.CallerBoundaryAware;

public class Example {
    private static final LoggingWrapper wrapper = new LoggingWrapper();

    public static void main(String[] args) {
        wrapper.logWithEvent("hello");
    }
}

class LoggingWrapper {
    private Logger underlyingLogger = LoggerFactory.getLogger("anything");

    public void logWithEvent(String msg) {
        var builder = underlyingLogger.atInfo();
        // setting the caller boundary to LoggingWrapper
        if(builder instanceof CallerBoundaryAware)
            ((CallerBoundaryAware) builder).setCallerBoundary(LoggingWrapper.class.getName());
        builder.log(msg);
    }
}

Running the given example I expect the following output:
Apr. 06, 2024 6:28:12 AM my.pkg.Example main
INFORMATION: hello

However following is printed:
Apr. 06, 2024 6:28:12 AM my.pkg.LoggingWrapper logWithEvent
INFORMATION: hello

Checkout the example: example.zip

Linked to SLF4J-601 jira issue

Fixed in commit 3386517ad6

@ceki Thank you for the fix, I could verify it's working.
My full name is Moritz Waser.
Issue can be closed :)

@ceki Thank you for the fix, I could verify it's working properly.
My full name is Moritz Waser.

fixed in version 2.0.13

I added  your name in https://www.slf4j.org/news.html#2.0.13
By the way, compliments on your PR. Excellent work.

thank you :)


MACNet configuration

@rosinality Hi, since the original MACnet code supports multiple configurations, I wanted to make sure that does your code offers full support for original macnet's functionality or not?

This implementation supports self attention/memory gate variant of write units.


Pin xarray to a compatible version.

Since https://github.com/pydata/xarray/pull/5065/ has been merged it would be helpful to pin xarray to the Github master branch in requirements.txt in the interim until the safe_chunks functionality is in release.  Currently installing pangeo_forge in the image for our Dask workers requires special install ordering to avoid pangeo-forge potentially using a cached xarray version.

would be helpful to pin xarray to the Github master branch in requirements.txt

Definitely! Could you make a PR?

Let me know if you need any advice on how to make the PR for this.


[tf] Increase sleep before initialising Vault

Sometimes Vault isn't ready and initialisation fails.

I guess if the issue persists we'll want to do some sort of while loop here

Yeah, although currently if Vault is already initialised then this is expected to fail.

I wonder if we should consider using the vault binary directly.

What do you mean?

@bors-libra r=davidiw

:pushpin: Commit 8b389d1 has been approved by davidiw

:hourglass: Testing commit 8b389d1756cad6c3afed2764d4a504dfbf07ae9d with merge a2c066cfd90a31c66a4cc531c059a0b37206f16d...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing a2c066cfd90a31c66a4cc531c059a0b37206f16d to master...


error

TtoZ --t_stat_map=$t_stat_nii --dof=$dof --output_nii=$output_nii
error occured, is there a fix way?
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/TtoZ", line 33, in
sys.exit(load_entry_point('TtoZ==0.1.2', 'console_scripts', 'TtoZ')())
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/TtoZ", line 25, in importlib_load_entry_point
return next(matches).load()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/metadata.py", line 86, in load
module = import_module(match.group('module'))
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 846, in exec_module
File "", line 983, in get_code
File "", line 913, in source_to_code
File "", line 228, in _call_with_frames_removed
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/TtoZ/scripts.py", line 31
print "Converting map %s to Z-Scores..." %(args.t_stat_map)
^
SyntaxError: invalid syntax

Absolutely! Could you please test the branch with the fix here? https://github.com/vsoch/TtoZ/pull/5


Provide target-cpu and target-features to buildscripts

As far as I can see there is no reliable way for a buildscript to determine the value of target-cpu and target-features. Could we add and env-flag for Cargo to provide the values that will be used when the final crate is compiled for the target platform?
Downstream feature request from here

Going to close since supporting target-cpu is tracked in rustc.


How to change the color of vertical lines (located on the left side along the code changes)?

Extension version: v0.62.0
VSCode Version: 1.77.0
OS: Ubuntu 18.04.6 LTS

Steps to Reproduce:

Draft a PR on GitHub.
Check out that PR/branch locally.
Open that one in VSCode.
Earlier, there used to be a bright white line on the left side along the code changes. However, now I noticed there is a very faint and easy-to-miss gray line. (I was about to create an issue stating that the white line got disappeared. But then I noticed that gray line)

e.g.

So, mine is more of a question: how can I change the color of that line back to bright white so that I can easily see the changes on checked-out PRs?

You can add a color customization in your settings for your theme. For example, this is what I have for the theme I use, "One Dark Pro":
	"workbench.colorCustomizations": {
		"[One Dark Pro]": {
			"editorGutter.commentRangeForeground": "#202025",
		}
	},

It worked (even without specifying "[One Dark Pro]")!
Thank you so much @alexr00 :pray:


fix socket_timeout argument + minor typing fixes

This diff fixes a bug related to socket_timeout parameter.
Without this fix attempt to set socket_timeout any value other than 0 results into following error:
Traceback (most recent call last):   File "aioredis/connection.py", line 654, in connect   File "aioredis/connection.py", line 700, in _connect   File "/usr/local/lib/python3.8/asyncio/trsock.py", line 188, in settimeout     raise ValueError( ValueError: settimeout(): only 0 timeout is allowed on transport sockets

I'd ask for additional test cases, but obviously that's a bit hard with these parameters. It LGTM, but second opinion.

Fixes #951


Weird Thaumonomicon behaviour in Bismuth Projection

Describe the bug:
When clicking on the bookmarks on the right in Bush Alchemy Specialization: Bismuth Projection, the first 5 (up to silver) work well, but when I click on osmium it opens a completely blank page (look at screenshot) and when I click on mithril it opens the page for osmium and to open the mithril page I have to click below the mithril bookmark. It seems that the clickable boxes are shifted downwards.
To Reproduce:

Install Planar Artifice + dependencies and Metallurgy 4: Reforged for the different metals
In creative mode, give yourself the needed research or "/tc research @p all"
Go into Thaumonomicon, into Planar Artifice tab and enter Bush Alchemy Specialization: Bismuth Projection
Try clicking on osmium and mithril bookmarks

Expected behavior:
When I click on osmium or mithril it would show the correct page.
Screenshots:

metallurgy... i have not thought of this. i will look into it


Fix WeakRef::RefError

I assume that checking #weakref_alive? is not a strong guarantee that the ref is alive. Perhaps the ref dies after the call, but before it’s accessed?
Needs more rigorous (load) testing.
Fixes #863.

Load testing shows that this is fine.


POC modeling

Set up schema and database migrations necessary to configure the database and code to have the following models:

User

id, email address, name, password (hashed securely), org, is_admin, is_super_admin

Organization

id, name, slug (for urls), contact phone number
v0.2: logo, other public health info

Permission

id, expiration (default 5 minutes after creation), matching key, org

Passwords must be securely hashed using bcrypt or better. We must not reinvent this, but must use a well known and trusted library for this.

Firebase auth handles the security. Schema is not required for firebase. Data migrations necessary translates to firebase scripts which have been written.


Blop.wav not reproducing on Firefox

Hi! It's me again.
After I spent some more time with the chat, I noticed that the "blop" sound wouldn't play on Firefox.
After some digging, I found that Firefox can't reproduce WAV files encoded with more than 16 bits, so I re-encoded the blop.wav file to 16 bits, and it now works properly.
Another issue I found with the sound is that the chat.js file wasn't properly loaded by Firefox, because the speechToText variable is only defined on Chrome, so I added a definition check for that and everything is running nicely! Again, I'm about to add a pull request to this issue so you can check it and merge.
Cheers!

That's true, I guess I need to do more testing huh? Thank you once again for your contributions, those are always welcome and appreciated!


Bump binary-search-bounds v2 in matrix-camera-controller

cc: https://github.com/plotly/plotly.js/issues/897

@mikolalysenko would you please review this PR?


Addition of sidebar feature for logged in users

Added sidebar, revised some of the position of the code

Mantap kali


[STY] apply the new black

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7de4f73) 92.40% compared to head (e7cc0e6) 92.40%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   92.40%   92.40%
=======================================
  Files          11       11
  Lines         487      487
=======================================
  Hits          450      450
  Misses         37       37

Files
Coverage Δ

giga_connectome/logger.py
100.00% <ø> (ø)

giga_connectome/methods.py
100.00% <ø> (ø)

giga_connectome/utils.py
94.66% <ø> (ø)

giga_connectome/workflow.py
90.38% <ø> (ø)


Update dependencies and fix test issues

Relock dependencies
Fix compatibility issues with pytest-asyncio 0.19.0

@garryod only in a couple of cases, have updated


RAW DATASET

Thanks for your dataset.
I have downloaded the object_dataset (OBJ_BG) in your raw dataset to my server and also converted the bin file to txt file with each line of the file representing a single point in comma-separated format.
For the scene0054_00_00041.bin in bag class, the txt file is like

According to your explanation in GitHub, we find that the penultimate column is for instance_label, which will appear with different values of 25 and 54?  I think all the points in the file have the same instance label. Also, 1 and 37 appear in the last column, I think it is a little strange.
Could you please share your experience in processing the dataset and give me a hand?
Thanks,

Hi @huacong , can I know how did u converted the bin file to txt file?
Thanks.


raftstore: reduce read snap file times

When applying snapshot, validation will read the whole file at first, and read from the beginning again to copy the data into rocksdb. This pr combines these two steps and just reads the file once.
@siddontang @hhkbp2 PTAL

Please merge the master.

LGTM

PTAL @hhkbp2

Rest LGTM

Ping @BusyJay

PTAL

LGTM


maxWidth option

Include maxWidth option so overflowing text doesn't exceed the specified width.
I'm thinking of possibly using the maxWidth option of Canvas.fillText at  https://github.com/RagingLink/text2png/blob/d94c8e1cd40368fb78b53d45a56b299d0226b67c/index.js#L153.
If this option doesn't work/produce the desired result I'll probably look at:
ctx.measureText() at:
https://github.com/RagingLink/text2png/blob/d94c8e1cd40368fb78b53d45a56b299d0226b67c/index.js#L52
And/or canvas.width and canvas.height at:
https://github.com/RagingLink/text2png/blob/d94c8e1cd40368fb78b53d45a56b299d0226b67c/index.js#L76-L88

Added in commit https://github.com/RagingLink/text2png/commit/02836fc9bc74600a6509242276f657dde881a55a


Support for images, or column_config

How hard would it be to allow images, in whatever format you prefer? Could be URL, or data.
Look like the assumption here: https://github.com/songjinghe/streamlit-table-select-cell/blob/master/st_table_select_cell/frontend/src/TableSelectCell.tsx#L119
is that everything is a string.
Would be great to support some of column_config which go a long ways to make it compatible with st.dataframe() and st.data_editor(). I can help.

The column config is made up of a JSON object with structure like:
{
  "Image Column": {"label":null,"width":null,"help":null,"type_config":{"type":"image"}},
  ...
}

The main part I am interested in is the type.

as #3 says, It would be very good, if the function of this plugin are implemented in st.dataframe. emmm... it seems that this feature has been discussed a lot. Developers of streamlit discribe the reason why they do not provide such function for st.dataframe. https://github.com/streamlit/streamlit/issues/6781#issuecomment-2228507080
but Someone has already make it: https://github.com/streamlit/streamlit/issues/6781#issuecomment-2462021915
try it and get some feedback here.

also, it would be nice if you provide pull requests (adding features you want).

Thanks for your open source!
The code above ("someone already made it") doesn't actually get that information back to Python, so isn't usable.
I found a solution by creating my own HTML and wrapping with st-click-detector.


renovate: group golangci-lint updates

Currently, the golangci-lint update does not contain the update in the GH action files. The reason is a packageRule which combines and schedules all GH action version updates.
This commit introduces the necessary grouping packageRule which combines all golangci-lint updates over all files.
Being further down in the list of package rules, this one gets selected.
the result of a dry-run results in the following result
DEBUG: 2 file(s) to commit (repository=mhofstetter/cilium, baseBranch=master, branch=renovate/master-golangci-lint)
 INFO: DRY-RUN: Would commit files to branch renovate/master-golangci-lint (repository=mhofstetter/cilium, baseBranch=master, branch=renovate/master-golangci-lint)

Initial PR: https://github.com/cilium/cilium/pull/24664
Automated Renovate PR (with missing update in GH action): https://github.com/cilium/cilium/pull/24682

error in travis seems to be a flake -> filed a CI flake issue.
adding label ready-to-merge as this change doesn't need additional tests.


Civhacks promo + redirects

Create a RedirectLink object that opens the site in the url, ie berkeleytime.com/redirect?site=civhacks.
We open the url corresponding to this key in a map of allowedRedirects to prevent the possible attack where someone injects spam urls and has our website open them.

logs for /civhacks and /civhacks-register working


Release v2.0.4

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description


HA event on HUE entertaiment start

 is a comment.
You will see these throughout the issue template. Make sure you do not type your comments
between these characters or we will not be able to see what you wrote!

4. Links
To create a hyperlink, type the [text you want to link](followed by the url in parenthesis)
-->
Is your feature request related to a problem? Please describe.

Describe the feature that you would like to be added

I think it would be nice to send some HA event ( or something other ? ) when entertaiment starts. It could be used to prepare lights for increased traffic ( for example in yeelight, turn on music mode, no limit for changes per minute then ). Maybe also react on it somehow ( turning off other lights etc ? ).
Describe alternatives you've considered

Doing automation that would turn on docker with emulated hue, and start music_mode for yeelights I would like to use with hue
Describe your use case for this feature

Additional context

Thanks for great addon !

I believe that music_mode for yeelights is a config option that is either always on or always off for HA. Emulated Hue should always be on otherwise you wouldn't be able to start entertainment mode in the first place. Perhaps the only real use case is using it as an automation to turn off other lights, but this would be a pretty low priority enhancement if that is the case since the use cases are extremely limited.

I believe that music_mode for yeelights is a config option that is either always on or always off for HA. Emulated Hue should always be on otherwise you wouldn't be able to start entertainment mode in the first place. Perhaps the only real use case is using it as an automation to turn off other lights, but this would be a pretty low priority enhancement if that is the case since the use cases are extremely limited.

Thanks for answer. I've made PR with service to enable / disable yeelight music mode on demand ( https://github.com/home-assistant/core/pull/44533 ). Yes I image emulated hue to be on all of the time. When amilight+hue is turned off on tv. It doesn't do anything, when turned on ( on tv ). It starts lights control ( entartaiment mode start in emulated hue, as I saw in logs ). In this case it would be good to do some setup on demand ( at least enable music mode in yeelight case ).

Thanks for answer. I've made PR with service to enable / disable yeelight music mode on demand ( https://github.com/home-assistant/core/pull/44533 ). Yes I image emulated hue to be on all of the time. When amilight+hue is turned off on tv. It doesn't do anything, when turned on ( on tv ). It starts lights control ( entartaiment mode start in emulated hue, as I saw in logs ). In this case it would be good to do some setup on demand ( at least enable music mode in yeelight case ).

I see then. Will look into this eventually, but its likely on the bottom of the to-do list. Feel free to make a PR if you do implement it yourself though!

I see then. Will look into this eventually, but its likely on the bottom of the to-do list. Feel free to make a PR if you do implement it yourself though!

Sending a small event is a small addition that we can add but first we'll have to do the refactor of the logic or else we will end up mad with all new features ;-)

Sending a small event is a small addition that we can add but first we'll have to do the refactor of the logic or else we will end up mad with all new features ;-)

BTW, Yeelight won't work with entertainment until #80 is resolved.

BTW, Yeelight won't work with entertainment until #80 is resolved.

adding an event required a change in the HA library so instead I've added a binary sensor binary_sensor.emulated_hue_entertainment_active
will be available in next release

adding an event required a change in the HA library so instead I've added a binary sensor binary_sensor.emulated_hue_entertainment_active
will be available in next release

Great thanks !

Great thanks !


OWLTools-Runner should build a single executable file

The OWLTools-Runner builds an executable jar for the owltools shell script. When tools or people need access to owltools, we also need to pass around the jar. The maven or make build should make a single executable file so we only need the one file to be passed around.
We can do this by utilizing the fact that jars are in fact zips, and zips can be prepended with arbitrary data. So we can make the shell script owltools prepended to the executable jar and have the script execute itself.
This will improve portability.

As long as the versioning flags can be passed through for the self-report.

What are the versioning flags for the self-report? Any command line args/options just get forwarded directly to the jar execution.

If they are all passed back, no issues at all.

Like that?

That is correct. As we bundle the owlools jar into various projects for version locking and distribution, this feature has been critical in debugging.

There are some hiccups with this at the moment. I'll be adding more commits with time.

Shall we close this?
It looks like this is also fixed
https://build.berkeleybop.org/job/owltools/configure
so downstream consumers should be fine (many ontology travis jobs will try and grab an extra redundant jar, but this is harmless)

I still have access to the jars under target/, so I'm good there. I'll switch to the executable later on.
If we're going with actual tagged/branched versions and releases, it would be nice if that reported in the verion self-report.

Yeah, we can probably close this. And yeah, I made sure the owltools job
was fixed.
On Fri, Mar 10, 2017 at 6:15 PM, kltm<EMAIL_ADDRESS>wrote:

I still have access to the jars under target/, so I'm good there. I'll
switch to the executable later on.
If we're going with actual tagged/branched versions and releases, it would
be nice if that reported in the verion self-report.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/owlcollab/owltools/issues/173#issuecomment-285834067,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWzW1Xrstt8rwVVZQ_o_-HRwii8JAfWks5rkgO-gaJpZM4MOoFf
.


Fix overshoot on regroup

Fix inverted regroup movement bug

Due to the ident taking ~0.3s need to change to a fixed version with preset speeds


Moving appplatform (9) resources to v1beta1 version

Moving 9 resources to v1beta1

[ ] azurerm_spring_cloud_api_portal
[ ] azurerm_spring_cloud_build_deployment
[ ] azurerm_spring_cloud_build_pack_binding
[ ] azurerm_spring_cloud_builder
[ ] azurerm_spring_cloud_configuration_service
[ ] azurerm_spring_cloud_container_deployment
[ ] azurerm_spring_cloud_gateway
[ ] azurerm_spring_cloud_gateway_custom_domain
[ ] azurerm_spring_cloud_gateway_route_config

Require version bump as above listed resources require sku_name = "E0" which is set for azurerm_spring_cloud_service. For current version only S0 and B0 sku_name's supported.
message: 'apply failed: updating config server for Spring Cloud Service: (Spring
      Name "spring-svc" / Resource Group "spring-group"): appplatform.ConfigServersClient#UpdatePut:
      Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest"
      Message="Feature ConfigServer is not supported in Sku E0 for API version 2022-03-01-preview.": '
    reason: ApplyFailure
    status: "False"
    type: LastAsyncOperation


Premium Links

Hello,
On the recent notification of teams maintenance in China it mentions premium links and then links to this page.  There is neither a description of Premium links for China ISP's or Microsoft's own premium links on this page.  Also the legal ramifications of this page are questionable and while pointed out I don't think they are clear enough.

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

ID: 09ac777d-0337-270d-288b-d6d107ff3d94
Version Independent ID: 09fe83c2-47e0-1452-d0f6-58bf1bca3595
Content: Microsoft 365 global tenant performance optimization for China users - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/microsoft-365-networking-china.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@TinaMcN Kindly help. Thanks

@yogkumgit, I have moved to a new project and @MartinOersted has taken over and should be able to help with this.

@MartinOersted Kindly help. Thanks

@yogkumgit I have asked the content owners to take a look. This does not look like a loc bug. The issue based on the description seems to be with the content itself. @kelleyvice-msft can you please have a look at this?

@mbhmirc - thanks for reaching out. Looking this over, it sounds like there was a link to the page Microsoft 365 global tenant performance optimization for China users - Microsoft 365 Enterprise | Microsoft Learn from some kind of Teams maintenance notification. I need to know where that notification came from and ideally have a copy of it in order to understand who I need to contact to correct the problem.
Also, can you elaborate on your concerns about the legal ramifications of the page? What needs to be clarified in your opinion?
Thanks, Kelley

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Trade envs interface should be same?

FinRL is a good project, but the envs inside is not.
I have some ideas for design Envs:

Create a single trade env objects. thus other project same to use.
All envs parameter should be same if then mean for one things. thus when make is easy to replace a new one. Have a basic env class is a choose.
Reward design is a importance thing for RL learning. It's possible to have a reward options for a env? Such as reward end assets rate or  float gain for every step, only reward when have sell action and so on.
better to extend markets such as futures ,options, if have a basic env class

Just as some ideas for your reading.

Would you like to have a look at a set of environments at NeoFinRL: https://github.com/AI4Finance-LLC/NeoFinRL/tree/main/neo_finrl
Be happy to hear your coments.


Add libxml2 v2.9.7

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3091
https://travis-ci.org/ingenue/hunter/builds/317935977?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3092
https://travis-ci.org/ingenue/hunter/builds/317937887?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.202


[Bug Fix] "tooltip is not a function" in analytics V2

Addresses: https://github.com/restarone/violet_rails/issues/1609
Demo Clip
https://github.com/restarone/violet_rails/assets/25191509/1adc7ae1-2596-4ffc-92db-cf6f36bf6356

Pending UAT on the review app, there are too many changes to merge directly to staging

LGTM on mobile,

Will approve after testing on desktop, and checking the JS console

The file dropdown only works when in the web settings view because ujs is being loaded twice. Once that issue is fixed, this PR is good to go @Pralish @alis-khadka

New Demo Clip
https://github.com/restarone/violet_rails/assets/25191509/b7e2f622-75b1-46da-8f19-8cab46abd904

functionality is broken on first visit (eg: file expansion), it only works after refreshing the page. Indicative of Javascript being loaded incorrectly or multiple times

@donrestarone
This is ready for review.
PS: Not sure why the github action for test cases is not running.


Suggested update to workflow for differential-isoform-expression

https://github.com/galaxyproject/training-material/blob/main/topics/transcriptomics/tutorials/differential-isoform-expression/tutorial.md
Hi all -- The workflow in this tutorial doesn't play well with the tutorial data. It requires that the student has a list of the element identifiers for the control samples as a distinct input text list, and that list isn't included in the workflow datasets, plus I think it would be better as a derived filter list, the same as the hands-on.
What I changed: Since the workflow already includes simple inputs for the factor level naming, those can be reused in the regular expression filtering of element identifiers (for the collection splitting step) with the addition of just two tools and tiny related changes. All of those mirror the hands-on tools/steps.

I've created a sample modified version of the workflow with those adjustments.

Input data https://usegalaxy.eu/u/jenj/h/gtn-differential-isoform-expression
Workflow output https://usegalaxy.eu/u/jenj/h/genome-wide-alternative-splicing-analysis-human-modified-for-gtn
Workflow https://usegalaxy.eu/u/jenj/w/genome-wide-alternative-splicing-analysis-human

While this tutorial is labeled as advanced, it assumes quite a bit of knowledge about Galaxy and workflow editing to get it to work. I think we should update it unless there is some other use of it where the proposed changes would conflict (?).
Overall -- we could consider using group tags to filter, instead of the whole "filter list identifiers by the way the fastq files are named". It makes the workflow very specific to the tutorial, and not as reusable. Scientist are more likely to have files without custom naming, or even SRR identifiers. Maybe upload the control + treat collections, give them group tags, merge together for some of the processing, then split for other processing. I can help if we want to do this.
Thoughts? ping @pavanvidem @gallardoalba @lldelisle

Thanks Jen, I will have a look when I will update the tutorial in 10 days.

Great, thank you, this is such an impressive tutorial! Seems to be getting more attention in general Q&A, too, so polishing a bit would be excellent. :)

Solved in #5282


Project doesn't install anything

Please add the install target.
The executable atta throws exception when run alone, so it probably expects some other files.

Thank you, I just updated the atta AUR package to generate the atta executable.

But installation is supposed to be done 100% from inside of the project. The atta AUR port shouldn't run the install command.

Oh, thanks for letting me know, I really appreciate it. Sorry about that, I just started with cmake and AUR packages... I'm going to reopen this issue and study more about it.
I recreated the cmake file and the pkgbuild file in the past few days, if you find something strange there, please tell me.
Thanks!

Hi, now the project is installing the atta and atta_test executables. I'm closing this issue, if you find anything wrong with the new build, please let me know. Thank you!


Removed Warning in the lstm.cc file

Removed 3 warning from the lstm.cc file

Nagging Reviewer @miaout17, @suharshs: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @miaout17, @suharshs: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 29 days with no activity and the awaiting review label has been applied.


Replace use of omega with lia for Coq 8.14 #13741

For https://github.com/coq/coq/pull/13741

You should probably start coq-master instead.

@Zimmi48 It seems that the build is confusingly based on coq-8.11 rather than master.  I got 132 commits when I submitted the change on top of master.  And the 8.11 seems fragile/broken.  WDYT?

Note that I wrote coq-master not master.

I don't see a coq-master branch.
jfehrle@LAPTOP-LB5T3R83:/home/proj/coq/_build_ci/metacoq$ git branch
  coq-8.11
* master

jfehrle@LAPTOP-LB5T3R83:/home/proj/coq/_build_ci/metacoq$ git remote -v
origin  https://github.com/MetaCoq/metacoq (fetch)
origin  https://github.com/MetaCoq/metacoq (push)

jfehrle@LAPTOP-LB5T3R83:/home/proj/coq/_build_ci/metacoq$ git fetch origin coq-master
fatal: Couldn't find remote ref coq-master

OK, sorry then I got confused with another project. The right target for this branch is indeed master (this is the branch tracked by Coq). The reason for the strange behavior you got was probably that you have built your PR against the default branch for this project, which was coq-8.11. Anyway, it's also fine to target coq-8.11 if a maintainer then merges this over in master.

The 8.11 branch is no longer maintained. I think you should be able to just cherry-pick this on top of master.

I'm closing this PR since it was superseded by the already merged #548.

Right! Didn't follow that :)


Does not work with Chefdk 0.10.0

Having updated to the latest and greatest ChefDK Knife Block is no longer working...
$ knife block list
FATAL: Cannot find subcommand for: 'block list'
Available subcommands: (for details, knife SUB-COMMAND --help)
Running on 10.11.2 with the below Chef versions:
Chef Development Kit Version: 0.10.0
chef-client version: 12.6.0
berks version: 4.0.1
kitchen version: 1.4.2

Hey @thomasriley , I tend to not use the whole ChefDK package - I will try to reproduce though. Can you give details your platform/distro?
Thanks, BG

When i installed knife-block via "chef gem install knife-block", i got the same error "FATAL: Cannot find subcommand for: 'block list'". And i'm running command on MacOS.
Then i install it by "gem install knife-block". It works. I can list chef servers.


Internal & External Tap IDs don't match

The internal tap IDs (0-8) and the tap IDs as displayed in the interface (1-9) don't match

The issue with this is that KegScreen tracks/presents the internal tap ID to users which will be off by one vs. the IDs the user would see in the Keg Cop interface.
My preference would be to switch to use the "external" tap ID everywhere (internally) in Keg Cop - but if you want to tag this as "wontfix" I can hardcode the off-by-one shift in the relevant KegScreen screens/functions.

What ever happened to separating business and data functions?  😀

Not against this but I'm not sure where it will end.  Is it only the hashes that mess you up?  Or is it that /api/v1/config/taps/ is zero-based?  I'd prefer to leave the "data" in close correlation to the actual internal (zero-based" arrays, but if there are display portions that are causing confusion we can talk about how best to handle that.
My thinking was if someone used KegScreen, they could name them whatever they want.  I could add a "tap name" field I guess to be pushed by KegScreen?

As an example -
I currently don’t cache/support updating PPU inside the KegScreen interface. When the user wants to calibrate the sensor/update PPU I link them to the Keg Cop interface’s calibration workflow. Inside KegScreen, the user would see that they are viewing/updating “Keezer - Tap 0” but in the Keg Cop interface they would need to select to calibrate “Tap 1”.
My thought is that the most straightforward/long-lasting fix would be to swap the zero-based index everywhere inside Keg Cop for the one-based index being displayed, but I can also alternatively change the function that generates the tap name to just add 1 to the tap number inside KegScreen.

Changing an index in C++ to be 1-based would be a headache waiting to happen.  What do you think about adding a "name" field to the data for the meter?

@thorrak did you have an opinion here?

I don't have an opinion, other than to lock down something. I think I finished the missing pieces of your "external tap ID label" support in #12 , but didn't go through and test it. If that's the route you want to take with this, I'm fine consuming that and having the user refer to that when linking Keg Cop taps to KegScreen taps.

Well, let's assume we did till someone tells us it's broken :)

Well, let's assume we did till someone tells us it's broken :)

I MEAN. The someone here is me, soooo....

I guess we do need a way to assign them.  They should probably default to index + 1 and allow them to be set to custom numbers.

Does the solution I suggested in #18 solve this too?

Does the solution I suggested in #18 solve this too?

I don't think so. I thought where we landed was that there needed to be some kind of configurable key that existed internal to Keg Cop that would be provided in each of the reports and could be used to link those reports to KegScreen tap IDs. Controller ID + Keg Cop tap ID is fine, but I need a way to either definitively derive the Keg Cop internal tap ID (and controller ID) for providing data back to Keg Cop from KegScreen or have some kind of key that KegScreen can provide that will let Keg Cop do the derivation.

I'm calling this fixed with taps[n].label.  You good with that?
{
  "imperial": true,
  "taps": [
    {
      "tapid": 0,
      "label": 1,
      "pin": 4,
      "ppu": 21120,
      "name": "Pudswiller Doors",
      "capacity": 5,
      "remaining": 4.2,
      "taplistioTap": 0,
      "active": true,
      "calibrating": false
    }


Don't emit keypath descriptors for unsupported cases involving variadic generics [5.9]

Description: In a resilient module, properties accessible by keypath have an associated descriptor which references getter and setter thunks. When the property's type is a variadic function type, we can't emit these getter and setter thunks because we haven't implemented support for this yet (https://github.com/apple/swift/pull/67368). As a temporary fix, just don't emit a resilient keypath descriptor which effectively prevents these properties from being accessed by keypath. Also, fix another crash when the property's type is a variadic nominal type. We can support this in the current design, but it was hitting an unimplemented case in type lowering.

Scope of the issue: Just declaring a property of type (repeat each T) -> () or G<repeat each T> where G is a variadic nominal would trigger these crashes when building with -enable-library-evolution.

Reviewed by: @rjmccall

Radar: rdar://112474421

@swift-ci Please test

@swift-ci Please test


Everybody Votes Channel RiiConnect24 Results Lead to Dead Page

Under https://www.wiilink24.com/extras/vote, the RiiConnect24 link leads to https://vt.wii.rc24.xyz/. This appears to be a dead page as it has expired certificates, and bypassing warnings leads to a dead page with a generic Invalid Request.

Hello, a new website is currently being made. The old URL will redirect to the new one when we release it.


[BUG] Is swap meant to be in libcpp?

Describe the bug
I am trying to use c++'s swap function to swap two elements in a vector efficiently. However, I keep getting an error when building the file. For example, I see in this online file that libcpp.algorithm cimport swap should work. Is this an issue w/ this particular version?
I think(?) this is a bug, so wasn't sure if it was appropriate for the mailing list. Lmk if you need more information though.
To Reproduce
Code to reproduce the behaviour:
from libcpp.algorithm cimport swap

cdef void do_something():
        # construct an array to sample from mTry x n_features set of indices
        cdef vector[SIZE_t] indices_to_sample = vector[SIZE_t](max_features * n_non_zeros)
        cdef SIZE_t n = indices_to_sample.size()
        for i in range(0, n):
            indices_to_sample.push_back(i)

        cdef SIZE_t j
        cdef int* T1
        cdef int* T2
        for i in range(0, n):
            j = rand_int(0, n - i, random_state)
            swap(&indices_to_sample[i], &indices_to_sample[j])

I build it and I get the following error:
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  from libc.stdlib cimport free
  from libc.stdlib cimport qsort
  from libc.string cimport memcpy
  from libc.string cimport memset
  from libcpp.vector cimport vector
  from libcpp.algorithm cimport Swap
  ^
  ------------------------------------------------------------

  sklearn/tree/_oblique_splitter.pyx:20:0: 'libcpp/algorithm/Swap.pxd' not found

Expected behavior
I would've thought it is in Cython...
Environment (please complete the following information):

OS: macOS
Python version 3.8.12
Cython version 0.29.28

(sklearn-dev) adam2392@adams-mbp scikit-learn % cython --version
Cython version 0.29.28

Additional context
Add any other context about the problem here.

It seems to have been added in https://github.com/cython/cython/commit/008bc53c45d1131d0eedf5c1fe276f5808911681 (i.e. master branch only)
As ever, the pxd files in Cython don't do anything that you can't do yourself in a cdef extern, so just copy that one line if you need it