Intention of highlighted property

Clicking a cell (mouse down) triggers setting highlighted to true while pressed and to false when released. This standard Cocoa behavior is overridden by setting the highlight state manually.
What is highlighting of a tab bar intended to do? Should highlighting the tab bar equal focusing it? (That's kind of the status quo.) -- I'd favor "no" and not set the highlighted state at all.
Similarly, TabButtonCells's default behavior (highlight while mouse down) seems to make a lot of more sense visually than permanent highlights.

So I suggest: dropping the manual highlight switches. Leave the TabButtonCells in their default (unboldened) state. Highlight (embolden) on click. When selected, use isSelected to make bold, too (later depending on the style).
If that's okay with you, I'd change that. If you have different plans, I can take care of them, too.

That's ok with me. It's probably something historical coming from LITabControl. When writing the Swift code I couldn't remember why we were bothering having a different highlight code path. Getting rid of useless code is usually something good.
The only thing that's important for a tab is to be selected or not, and for the whole tab control, to be highlighted or not.
Thus, I should have some impact on the number of custom colors, doesn't it?

So a TabButtonCell basically depends on these two things instead:

is the cell selected? (isSelected)

different background color
different text settings (color, font)

is its tab bar highlighted? (I'd introduce a custom permanentHighlight for that)

different background color (active/inactive)

Did I miss something you'd need?
I personally don't really like that a tab bar can get "unfocused" (like the bottom pane when you start the demo). If you have two tab bars, sure, that'll matter. But which app does have two tab bars in production, really? I'd favor all-time consistent styling instead: after all, one tab is supposed to be active for whatever content you're looking at at the time.

I do plan to have a pro app in production with multiple tab bars, because I'll combine KPCTabsControl with this: KPCSplitPanes.
But I agree that would be nice to make sure a tab bar couldn't be "unfocused". Maybe by providing same background colors by default?

I've finally removed entirely the 'highlight' feature, which is very specific, and could be implemented in the client code with the change of the background color.


Stop parameters and tags name from lowercasing

Why can't I have parameters and tags names with uppercase letters?
    <notes>
        <clever-control longParamName="Control 1" />
        <clever-control longParamName="Control 2" />
    </notes>
    <clever-control>

{opts.longParamName} - {opts.longparamname}

    </clever-control>

http://jsfiddle.net/nns2009/bejgtk83/1/
In such a case the properly named parameter (opts.longParamName) is ignored while the lowercased one (opts.longparamname) is rendered. After lowercasization longparametername became much less readable.
Tags that have at least one uppercase letter aren't rendered at all: http://jsfiddle.net/nns2009/bejgtk83/2/
And as I noted in #514, in both cases there is no single error alert so you get no idea what's wrong.

It seems that attributes are lowercased by the browser, and it's part of the spec.
You can use dash-separated attributes:
{ opts['long-param-name'] }
, or maybe camelize them on update:
function camlize (tag) {
  Object.keys(tag.opts).forEach(opt => {
    var k = opt.split('-').map(str => s[0].toUpperCase() + s.slice(1)).join('')
    tag.opts[k] = tag.opts[opt]
  })
}

<clever>

{ opts.longParamName }

</clever>

@eyy Thanks for your explanation. This is not really a riot issue


new release

Hey @luin, when is the next release planned? We would like to use some of the newly released features

Just released v1.15.0 :rocket:


useAsync with deferFn calls run with stale props if component rerendering

If my deferFn is defined outside of my component (which uses useAsync), the props parameter is stale after the second render of the Child component if the props of the Parent component change.
If the deferFn is declared inside the component everything works as expected.
Here is a codeSandbox that shows the issue:
https://codesandbox.io/s/react-async-stale-props-lq141
(Clicking 2 times of 'Click me twice' & after that on the Start run() button, the console will show the stale props.)
Interestingly enough if i change the options parameter inside useAsync.js to prevOptions.current everything works as expected. After the second render if the Parent props change, options has stale props from the previous render and prevOptions.current has the correct ones.
//options -> stale, prevOptions.current -> correct ones
return start(() => deferFn(args, options, abortController.current)).then(handleResolve(counter.current), handleReject(counter.current));

Thanks for reporting. I've setup a unit test which confirms this behavior. The issue is with useMemo around the returned value object. It doesn't recalculate on all props, only on a few specific ones. Changes to user-defined props such as id in your case do not trigger a recalculation of the memoized value, which makes it return an old version of run with an old props object in its closure. Unfortunately I can't simply pass props as a useMemo trigger, because that would be the same as omitting useMemo altogether. I'm now thinking of storing props in a ref and have run use that value. Because it's a mutable reference it would always point to the same (updated) value.

Released in v6.0.7
Thanks again for reporting, and for providing a reproduction scenario!


Bug Report: GetThreadContext failed message when running the "haxelib run lime rebuild extension-webm windows" command

I have tried uninstalling, reinstalling, resetting, even turning off antivirus just in case. Nothing is fixing it. I am using the newest version of Kade Engine. It never seems to fail at the same part. I cannot compile it, as it says it is missing the extension-webm file

it's not haxelib run lime rebuild extension-webm windows. it's lime rebuild extension-webm windows.

it's not haxelib run lime rebuild extension-webm windows, it's lime rebuild extension-webm windows.

even though it should do literally the same thing

it's not haxelib run lime rebuild extension-webm windows, it's lime rebuild extension-webm windows.

even though it should do literally the same thing

whatghtgh


add label with version and git commit

add labels to the container image to hold the version and the git commit from which the binary was built

I could give it a try, if that is ok

I could give it a try, if that is ok

go for it!


Introduction

My Introduction
A small heads up before you begin typing, never mention your name in combination with your HvA student number in public.
Name
Isabel Mik
Class
VID 1
About me
I like cats.
Goals
I want to learn how to create animations with code and become more familiar with code in general. Code kind of scares me.
Skill level
Barely a beginner.
GitHub username
https://github.com/FlappyNarwal
GitHub repository
https://github.com/FlappyNarwal/WebAnimation

🎉 Thanks Isabel!


refactor: private cluster host agent without go templates

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

ado issues, seems like arm was fine but rerunning for sanity


Word Type Search

On jisho.org, it is possible to see the 'type' of word, for example, suru verb, godan verb etc. In the future would it be possible to get that information via the unofficial jisho api?  I also now Jisho has a lot of information about inflection,  being able to get that information would be super cool too.

Hi, I'll see if I can add that information when I have some time 👍

Thanks! :)

I added a new scrapeForPhrase function to master that can get you the word type among other things. I need to test it a bit more and write documentation before I push a new version to NPM, but if you want to try it out now you can do npm install https://github.com/mistval/unofficial-jisho-api to install the master branch.
console.log(JSON.stringify(await jisho.scrapeForPhrase(phrase), null, 2)) returns the following:
{
  "found": true,
  "tags": [
    "Common word",
    "JLPT N5"
  ],
  "meanings": [
    {
      "seeAlsoTerms": [],
      "sentences": [],
      "meaning": "slowly; at ease; restful",
      "supplemental": [
        "Onomatopoeic or mimetic word"
      ],
      "meaningAbstract": "",
      "meaningTags": [
        "adverb",
        "noun",
        "suru verb",
        "adverb taking the 'to' particle"
      ]
    }
  ],
  "query": "ゆっくり",
  "uri": "https://jisho.org/word/%E3%82%86%E3%81%A3%E3%81%8F%E3%82%8A"
}

The word type is in the "meaningTags" fields, it's the same as in the entry on Jisho.org.
As for the inflections, those are actually conjugated by JavaScript in the browser (here), so I'd have to do something like use Puppeteer to execute that code, I'll look into that some other time if I get a chance.

New version 1.2.0 on NPM has the above mentioned scrapeForPhrase function. Please see the README or jsdocs for more info.

Wow, thanks! This is super cool.


maze generation in python visuals

Hi Mike, I have a question regarding visualization in python of your maze generation with a* start algoritm.
Is there a way to visualize the maze being solved in real time (i.e. show the grid with the openset and the close set)?
I worked something out using graphics.py and in the past I used pygame. However somehow it was very taxing on the process.'
What package do you recon is best to use for real time visualisation in python?
Greetings Roel

Hi Roel,
Sorry for the slow reply - much work to be getting on with! I don't see why you could do this, essentially you'd have to have the solve function report back some information each iteration. E.g. currently explored nodes, nodes in the queue, etc. The code to visualise is a bit simple in my implementation, so it only copies the original image, then draws over the path as a list of points. Doing that every iteration would be quite slow.
OpenCV has some pretty good gui stuff, and works nicely in python. Doing this efficiently will involve holding onto information from the previous frame, so that you can "undo" the last render before drawing on the next one. A simple first implementation could just create the image from scratch each time. You may not need to run in real time, as that'd be too quick to see anyway, so you could just output to a file and then turn the images into a video at the end.

Hi Mike,
sorry for my late reply as well. Many thanks for your answer.
As I am not a skilled programmer it took me a while to illustrate my point.
I just did a very simple implementation of the algo you showed. However my visualisation is getting slower with every iteration.
Probably my lack of understanding python graphics. Keep up the good work and videos'
Best Regards,
Roel
AStar_temp.py.txt
graphics.py.txt


Accept dots in the TSIG key names

Closes #58
Signed-off-by: Stephan Austermühle<EMAIL_ADDRESS>

Thank you very much!


Finished amperes task

After looking at this, I think this issue was also solved by #227

Since I have merged #227 I will close this pull request


[Event Request] Table 38 - Purchase Header - OnHasDifferentBuyFromAddress

Hi,
Would it be possible to get the OnHasDifferentBuyFromAddress event in Table 38 (Purchase Header), like this:
local procedure HasDifferentBuyFromAddress(Vendor: Record Vendor): Boolean
  //*****START
  var
        IsHandled: Boolean;
        Result: Boolean;
    begin
        OnHasDifferentBuyFromAddress(Rec, Vendor, IsHandled, Result);
        if IsHandled then
            exit(Result);
  //*****END

        exit(("Buy-from Address" <> Vendor.Address) or
          ("Buy-from Address 2" <> Vendor."Address 2") or
          ("Buy-from City" <> Vendor.City) or
          ("Buy-from Country/Region Code" <> Vendor."Country/Region Code") or
          ("Buy-from County" <> Vendor.County) or
          ("Buy-from Post Code" <> Vendor."Post Code") or
          ("Buy-from Contact" <> Vendor.Contact));
    end;

[IntegrationEvent(false, false)]
    local procedure OnHasDifferentBuyFromAddress(var PurchaseHeader: Record "Purchase Header"; Vendor: Record Vendor; var IsHandled: Boolean; var Result: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Export command generators

Clear and concise description of the problem
Export i.e. yarnInstall(packages: string[])
which would generate yarn install foo, and a generic install(pm: PackageManager, packages: string [])
Suggested solution
Simply extract and export internal functionality
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Why u use install(pm: PackageManager, packages: string []) instead of ni packageA packageB...? The latter command is more concise.


Fix timestamp corrector intermediate overflow

Relevant lines start here. Rest is mostly formatting and avoiding int to uint casts.
We have observed an overflow for the returned local time (I don't remember which part was causing the overflow). The interpolation operation should be done with floating point operations anyway.

Can one of the admins verify this patch?

add to whitelist

@HannesSommer Do you know why Mac-Mini and Jenkins don't get along?

No :(. Unfortunately something must have changed with the boost or compiler. I've made a personal todo to investigate that later. I would merge this anyway because the problem is pretty clearly unrelated.
Good to merge from your side?

Yes. Thanks!


Update config.yml

Formatting and removing redundant stuff

Coverage remained the same at 99.197% when pulling 6dd7c4be502a6b588b83ed0182e4da7fc7773d3e on circleci-config-formatting into e884ee7b10c1ee2479af107f9f4dc1e614c023d5 on master.


Moved run_all_in_graph_and_eager_mode in basic decoder

cc @gabrieldemarmiesse. Dividing into several parts since it's large, and not sure if removing use_gpu is a good idea. The reason is using gpu seems not helping a lot in LSTM, only if it's self-attention(transformer) based. May need your suggestions.

About the use of gpu for testing going forward, unless we're testing some code with a custom op, we need a strong reason to run in both cpu and gpu mode.


Fix actions

Fixes #5

@knownasilya thanks so much!
Two things quickly:

Could you clean up the slideAction = this.get('slide') on line 40 as well please?
Why the Ember.run() wrappers? Just curious and looking to learn on this one.

Before we get this merged, lets have a chat through the API in #5.

Ember.run prevents unwanted behavior and missed event triggers, since Ember manages when things happen. Since these are events in an external library, the callbacks are not handled automatically by the runloop.
That slideAction check is necessary to make sure to now throw errors in the console if the user hasn't set a slide='mySlideAction'.

@knownasilya thanks for your contribution! Just published 0.4.1 as a fix.


Add SHA-3 cryptographic hash implementation with tests

Provides a new sha3 module along with a Digest implementation. This closes #10 @DaGenix

Thanks! This is great! Sorry for taking so long to get back to you.


Localize

Hi, I'm trying to translate Mafia DE to Arabic and I extracted sds to xml and translated the file but when I click import it shows me an error "Object reference not set to an instance of an object" but if I import the original XML it will import without any problem, so what I have to do?
Sorry for bad English, I think.

Need more information - which SDS are you trying to edit? Is this an XBin file, or something different?

Need more information - which SDS are you trying to edit? Is this an XBin file, or something different?

Yes, it's XBin file name is "Stringtable_en_common_group.XBin"

Can you please send me the file you are attempting to import into the Xbin editor?

https://www.mediafire.com/file/hxpdcuktol59rcl/stringtable_en_common_group.xml/file

Your XML appears to be using the old format, which is no longer supported. You need to export a new XML using version 2.28.

I will try with the old version

Please use 2.28 and re-export the XML

What about the translated strings?

OK, thank you so much.

It did'nt work, I copied the codes from the new one to the old and it did'nt work, I tried to fix it but i fail
Here's the file :
stringtable_en_common_group.txt
just change it to XML.

You have broken the XML format. Just change the element "Content" and nothing else. Do you change any "LocalisableString" eleemnts.

Wich content you mean? this  or this ? and change it to what?

You only need to edit these lines. You do not need to edit LocalisableString

OK, you mean to delete / ? or what.

You have to make sure that the LocalisableString is in exactly the same format as above. If it as a "/" at the end, then remove it.

But / is in the start in content and LocalisableString

Can you do it for me?

What do you want me to do?

import the file 😅

I can provide you an example, but i'm not doing it for you

OK

So now what I have to do?

The XML entries should look like this. Look very carefully.
<LocalisableString StringID="63039103238888">
      <Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>
</LocalisableString>

This is wrong:
<LocalisableString StringID="63039103238888" Name="0" />
      <Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>
</LocalisableString>

It's wrong because:

The name attribute in LocalisableString is not required and will crash MafiaToolkit.
The slash at the end of LocalisableString is not required because the element ends after <Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content> LocalisableString should wrap the  element.

Do you mean the missing indentations? That can be solved on your end. Both images look fine to me.

OK

Can you show me a picture of the XML and editor

Did you repack the sds?

Did you repack the sds?

No

Can you show me a picture of the XML and editor

You mean the XML file and mafia toolkit?

Did you repack the sds?

I exported it after I imported it and it's the same

Repack it after you edit the xbin...

OK

It worked without repack, the translated strings is not of the ones in mafia toolkit, Thank You.

I translated some strings now and then import, it has been changed but the other ones didn't.

Did you use the same XML when translating the other strings?

Did you use the same XML when translating the other strings?

I noticed right now it wasn't the same 🤕

You don't have to export once you have made the changes. You can reuse the same XML.

😅 😅 😅 😅 😅

stringtable_en_common_group.txt

Broken on line 1771.

The XML entries should look like this. Look very carefully.
<LocalisableString StringID="63039103238888">
      <Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>
</LocalisableString>

This is wrong:
<LocalisableString StringID="63039103238888" Name="0" />
      <Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>
</LocalisableString>

It's wrong because:
1. The name attribute in LocalisableString is not required and will crash MafiaToolkit, so it should be removed.

2. The slash at the end of LocalisableString is not required because the element ends after `<Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>` LocalisableString should wrap the  element.

Exactly the same issue as this.

Can you please fix it for me? 🙏

This is a really obvious fix. Please study very carefully, so you can fix it yourself in the future.
    <LocalisableString StringID="405500523941933717">
      <Content Type="String">Desk Guard</Content>
    </LocalisableString>

See that i've simply removed the end part of the LocalisableString element. I am close to closing this issue, because I believe this to be user error rather than toolkit error.

Thank you so much, I fixed it.


Sarama client consumes very high CPU compared to Java client while producing messages in a tight loop

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: 1.10.1 (the issue is observed in older versions as well)
Kafka Version: <IP_ADDRESS>
Go Version: 1.6.3
Configuration
Sarama:
saramaConfig.Producer.Flush.Frequency = 100 * time.Millisecond
saramaConfig.Producer.Flush.Bytes = 10485760
saramaConfig.Producer.RequiredAcks = sarama.WaitForLocal
Kafka:
num.network.threads=8
num.io.threads=8
socket.send.buffer.bytes=1048576
socket.receive.buffer.bytes=1048576
socket.request.max.bytes=104857600
queued.max.requests=500
fetch.purgatory.purge.interval.requests=100
producer.purgatory.purge.interval.requests=100
num.replica.fetchers=8
replica.fetch.max.bytes=1048576
replica.fetch.wait.max.ms=500
replica.high.watermark.checkpoint.interval.ms=5000
replica.socket.timeout.ms=3000
replica.socket.receive.buffer.bytes=1048576
replica.lag.time.max.ms=10000
controller.socket.timeout.ms=3000
controller.message.queue.size=10
min.insync.replicas=2
message.max.bytes=1000000
auto.create.topics.enable=true
log.index.interval.bytes=4096
log.index.size.max.bytes=10485760
log.flush.interval.ms=10000
log.flush.interval.messages=100000
log.flush.scheduler.interval.ms=5000
log.retention.hours=2
log.retention.bytes=1073741824
log.segment.bytes=1073741824
log.retention.check.interval.ms=300000
log.roll.hours=24
log.cleaner.enable=true
zookeeper.sync.time.ms=2000
zookeeper.connection.timeout.ms=6000
zookeeper.session.timeout.ms=6000
Problem Description
I am comparing the performance of Sarama client Vs Java client for the Async producer message rate. My tests are done on 4 high end servers with 32 cores and 256G RAM and 4G bonded network.
3 and Kafka and Zookeeper instances are running on 3 servers and the clients are run from 4th server.
The test code creates an Async producer and starts sending messages in a tight loop. Another thread in the test application prints the rate at which the messages are sent. So its a simple test to see how fast we can send messages to Kafka.
The test scenarios include various number of partitions, and number of send threads in the test application.
Sarama seems to provide a much better send rate compared to Java client and it uses way less memory. But the CPU utilization of Sarama client is way too higher than the Java client. So I wanted to know if it due to some configuration issue or if its a bug. Below is the comparison of Java client Vs Go client under various scenarios:

The producer settings are as below:
Java client has batch.size=5000 and flush.frequency=1 second.
The numbers shown in the picture for Go client are when we set same setting for Sarama as well as when the settings are: saramaConfig.Producer.Flush.Frequency = 100 * time.Millisecond and saramaConfig.Producer.Flush.Bytes = 10485760.
The best setting indicates the latter case with Flush.Bytes=10485760

So I wanted to know if it due to some configuration issue or if its a bug

I have no idea. It wouldn't surprise me if there is room for optimization somewhere, but it also wouldn't surprise me if this is just a function of Go's garbage-collector or something.
If you wanted to profile, Go has some very good tooling around that (https://blog.golang.org/profiling-go-programs). If you find something in Sarama that is consuming more CPU then it should I will definitely try to fix it, but without more specific information there isn't much I can do.


Overlay driver should assign interface mac based on the IP

After a container restart sometimes the same IP that was assigned before gets assigned. But the mac is randomly generated. So other containers in the same overlay will have a connectivity issue till a new ARP gets generated.
Closes #395
Signed-off-by: Santhosh Manohar<EMAIL_ADDRESS>

LGTM

LGTM


Create new generator that makes the /client type install

When react_on_rails updated to webpacker, we simplified the generator to not build any webpack configuration.
Reasons to offer a /client type install:

The /client type install is recommended (see README.md)
With Webpack v4, the webpack setup is much simpler.

Is anybody interested in working on this with me?

Is this still open?

#1185


Added DocumentationResult to PacketType enum

Added DocumentationResults and Documentation PacketType enum values that aid in the development of the Lean documentation server for QuantConnect.com

See #667


Remove unused single quote shorthand

This was left over from #1614 when we moved primes to be their own element, they weren't removed from the shorthand table in the ast.

Thanks!


How about to set map center

Hello, developer. First of all, thank you for developing such a user-friendly plugin. However, I have met some problems in specific use, and I hope you can answer them. I want to set the center position of the map, but I don't know how to operate it. When I read the development document, I found that the description in this part is not clear. I hope you can tell me how to set it.

Hello
You should be able tochange the center of the map by moving the MapView object around.
var map = new MapView(MapView.PLANAR, provider);
map.position.set(1,2,3);
scene.add(map);

I'm sorry ,maybe I didn't make it clear what I was trying to say. my idea is that I think this is some latitude,for example latitude 132, 30 longitude is the center of the map, but I didn't find that function.

Hello
The default display of global map, but I just want to see the map of the Pacific Ocean, what should I do, looking forward to your reply。Thank you。

My guess is that your question might be: "How do make my scene rotate around a coordinate?" ...???
I am using geothree + openstreetmap and I'm moving my camera target to the coordinate instead of moving around the map.
In order to convert a WGS84 coordinate to a camera target vector that works in geothree you do this:
let longitude = 11.234;
let latitude = 55.1234
let coords = GEOTHREE.UnitsUtils.datumsToSpherical(latitude, longitude);
and to make your camera look/orbit around this point:
let camera_target = new THREE.Vector3(coords.x, y, -coords.y);
yourcamera.target = camera_target;
yourcamera.update()


Installation

Hi, I recently tried to do
pip install osmnx

on my mac M1
And got this error:
Requirement already satisfied: numpy>=1.21 in /Users/ishaanjolly/miniforge3/lib/python3.9/site-packages (from osmnx) (1.22.3)
Collecting pyproj>=3.2
  Using cached pyproj-3.3.1.tar.gz (219 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      proj executable not found. Please set the PROJ_DIR variable. For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I was wondering if someone could assist me with the same.
Thanks!

Hi, I recently tried to do
pip install osmnx

Thanks for using OSMnx. Please re-read the documented installation instructions to resolve this problem.


Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory

Transcribe:   0%|          | 0/4240.94 [00:00<?, ?sec/s]Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory
I am trying to run faster whisper on CUDA but i am getting this error,, any idea whats going wrong?

See https://github.com/SYSTRAN/faster-whisper/issues/516.


New package: Tries v0.1.0

Registering package: Tries
Repository: https://github.com/gkappler/Tries.jl
Created by: @gkappler
Version: v0.1.0
Commit: 6a8b315ce8ee46a5447b869f0a691a25a8793774
Reviewed by: @gkappler
Reference: https://github.com/gkappler/Tries.jl/commit/6a8b315ce8ee46a5447b869f0a691a25a8793774#commitcomment-39361540

Superseded by #15153.


Overlapping grids with MFEM

This PR introduces MFEM-MFEM coupling for overlapping grids using FindPointsGSLIB. This PR  will provide:

[ ] serial version of ex1 (see snapshot below)
[x]  parallel version of ex1 (see snapshot below)
[x] support for arbitrary number of overlapping grids in parallel
[x] example of different physics in different domains

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1462
@kmittal2
@tzanio
@jandrej + @psocratis + @jamiebramwell + @rcarson3
02/19/21
⌛due 03/05/21
⌛due 03/12/21

It might be worth mentioning somewhere that this requires gslib 1.0.7, my older installation of 1.0.5 was not sufficient.

@jandrej, @jamiebramwell and @rcarson3 can you check if your comments were addressed (and approve)?

Codecov Report

Merging #1462 (19c44a7) into master (3c407eb) will increase coverage by 0.32%.
The diff coverage is 76.92%.

:exclamation: Current head 19c44a7 differs from pull request most recent head edb13ee. Consider uploading reports for the commit edb13ee to get more accurate results

@@            Coverage Diff             @@
##           master    #1462      +/-   ##
==========================================
+ Coverage   61.09%   61.41%   +0.32%
==========================================
  Files         381      394      +13
  Lines      111066   114624    +3558
==========================================
+ Hits        67854    70398    +2544
- Misses      43212    44226    +1014

Impacted Files
Coverage Δ

fem/pbilinearform.cpp
64.13% <0.00%> (-0.51%)
:arrow_down:

fem/pbilinearform.hpp
70.37% <ø> (+3.70%)
:arrow_up:

miniapps/navier/ortho_solver.hpp
100.00% <ø> (ø)

miniapps/navier/navier_solver.cpp
91.56% <85.71%> (-0.29%)
:arrow_down:

miniapps/navier/ortho_solver.cpp
100.00% <100.00%> (ø)

miniapps/navier/navier_solver.hpp
30.00% <0.00%> (-70.00%)
:arrow_down:

general/gecko.hpp
50.65% <0.00%> (-43.32%)
:arrow_down:

mesh/segment.hpp
57.14% <0.00%> (-42.86%)
:arrow_down:

fem/fe.hpp
60.72% <0.00%> (-31.59%)
:arrow_down:

fem/coefficient.hpp
62.99% <0.00%> (-30.19%)
:arrow_down:

... and 310 more

Continue to review full report at Codecov.

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

Merged in next for testing...


bugfix: Set permissions for GITHUB_TOKEN

Copy paste example return:
Run<EMAIL_ADDRESS>repoName: imager pull_number: 559 owner: kdosiodjinud sha: ad4[1](https://github.com/kdosiodjinud/imager/actions/runs/7770695067/job/21191172238#step:3:1)65ae[9](https://github.com/kdosiodjinud/imager/actions/runs/7770695067/job/21191172238#step:3:10)3a8abe211b7d5bc4873b2af96a511d3
(node:1639) ExperimentalWarning: Fetch is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Error: HttpError: Resource not accessible by integration
    at /home/runner/work/_actions/gvasilei/AutoReviewer/0.4/webpack:/typescript-action/node_modules/@octokit/request/dist-node/index.js:86:1
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: Resource not accessible by integration

Setting these permissions fixes it :)

Hey @kdosiodjinud, thanks a lot for spotting this :)


Resolves the merge conflicts for #408

hopefully everything still works.
it would be really cool if this pr and #408 would be merge soon :)

maybe there is a better way than this 🤔


Opacity setting not applied

Which operating system does the issue occur on?
Linux -- Ubuntu 19.04 dev
If on linux, are you using X11 or Wayland? X11
This issue might be more question on how to debug this rather than there is an actual issue. Recently I updated alacritty to the latest master (dbce674d7012fe09b3ab9ac0aeeb1c748bb7afce) and install using cargo deb --install. My opacity setting is no longer being applied. I have also recently gotten an external gpu and have been messing with the gpu drivers (switching between nvidia versions and nouveau) so I'm not necessarily convinced this is an issue with the latest Alacritty. When running under sway window manager the opacity works, but under gnome (3.32) on X11 the opacity setting does not.
I have tried running alacritty with the -vvv option but haven't seen any errors or logs that seem relevant. I'm still learning about how all the pieces work together recently switching over from mac to linux so I'm not sure where to look next for why the opacity is not working.

I'm not aware of an isuse with opacity on Linux. The only two things that are commonly issues with this is that people think it's a transparency (not opacity, which is the opposite) setting and that no compositor is running.
I'd expect GNOME on X11 to be running a compositor by default, however making sure that compositing is working properly is probably your best bet.
There's likely no logging in Alacritty's output because Alacritty doesn't run into any issues. If Alacritty attempts to render a transparent window and there is no issue, but the window manager doesn't render it with transparency, there's little Alacritty can do since it doesn't know anything about that.

After updating alacritty I had similar issues, now transparency doesn't work. I am using xcompmgr as the compositor, and all the settings are the same than before updating alacritty.

I've verified myself with compton and i3 and I can not reproduce this issue. Transparency works as expected.
I'm curious if a fully transparent window with background_opacity: 0 will have a black background or if it will have the background set in the colors section?

I tried with compton just in case, and still transparency doesn't work on alacritty. When opacity is set to 0 it seems that alacritty only displays a black background

Update, I don't have this problem with version 0.2.9

Update2: Seems that the commit which introduced the problem was "0f96a62"

I am also experiencing this issue, after upgrading to 0.3.0.
The background_opacity setting does change the background, but just the shade (0.0 is plain black, 1.0 is the set color)

i3 with compton, on 0.3.0-rc1 (latest ebuild)

Now that is interesting, it's pretty much the same system I've just tested it on and things worked great.
Could you share some more system information (especially GPU+drivers and kernel version)?

Also would be interesting to have this re-tested with latest master since this bumps the Glutin version.

$ uname -a
Linux fliife-computer 5.0.7-gentoo #1 SMP Sat Apr 6 22:12:52 CEST 2019 x86_64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz GenuineIntel GNU/Linux

I use the kernel driver for intel graphics (integrated gpu)
I'll try with master and see if things change

Master does seem to fix the issue, though I'm not entirely sure (when I run target/debug/alacritty --version, it returns alacritty 0.2.9).
I've seen the ebuild for 0.3.0 which uses sed to replace version number, so I'm guessing someone just forgot to bumb the version number somewhere ? Or am I going the wrong way about this ?

The version number usually stays the same until the next release is made, so that's intentional.
I would have expected you to run maybe Nvidia since that's the most likely to show difficulties, but I guess you're running mesa too then.
Note that I'm running amdgpu with mesa on Archlinux and everything's working for me.
I'd be interested in getting some more hardware information from everyone who can reproduce this issue, including kernel version, gpu driver, glxinfo output and compositor/WM. Maybe that can give us some hints.
Since this was apparently caused by an upstream change, I've also reported the issue upstream here:
https://github.com/tomaka/winit/issues/832
If anyone here is willing to bisect winit to check where this issue might be coming from, that would be very helpful. It might be a bit laborious but would hopefully give us a pretty good idea of what caused this. If someone is interested and needs help, please let me know. If someone found the bad commit, please report it to the upstream issue.

Here is my glxinfo output

Same for me, with master it seems to work fine. I'm using Gentoo, Linux 5.0.5, nvidia, xcompmgr and dwm. Here is my glxinfo http://dpaste.com/1EVK7XQ

Oh I totally misunderstood @FliiFe and thought he said master does not fix the issue, oops.
Looks like the issue is resolved then.

Still cannot apply opacity since alacritty 0.3.0
OS: Arch Linux
WM: kwin5
GPU driver: xf86-video-radeon
Tried both glutin 0.21.0-rc1 and 0.21.0-rc2 (changing PossiblyCurrentContext to PossiblyCurrent)

My glxinfo is pasted here: https://fars.ee/5J07

I've reopened the upstream issue: https://github.com/tomaka/winit/issues/832

The same problem is also reproduced on my another PC with Intel integrated GPU.
OS: Arch Linux
WM & Compositor: kwin5
Mesa: 19.0.1-2
GPU driver: modesetting DDX with i965 kernel driver
glxinfo: https://fars.ee/YoO6
On this Intel machine, I did a git bisect on the commit history of alacritty. the last good commit (that can show transparency) is cd8d537bed98559ed49c1465db84ecec5393119f and the first bad commit (that shows total opacity) is 6757acbb824e8be9968529a66e9a75a0a2ea2f5d .

Reverting glutin to "bsd-build-fix" branch can also fix the issue on my intel PC.
Here is a full diff for reverting glutin: https://fars.ee/ktHw/diff

I am also affected after upgrade to 0.3. Reducing background_opacity only makes background darker, but wallpaper behind it is not visible
OS: ArchLinux
WM: i3 + compton
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
	Subsystem: Lenovo UHD Graphics 630 (Mobile)
	Kernel driver in use: i915

I'm also having that problem with the current alacritty master (aac62ce5acd2ef4d05a54bc13b7cf30c30f129b2).
Infos about my system:

Fully up-to-date Arch Linux x86_64
Linux Kernel: 5.0.7
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
GPU: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
i3 version 4.16.1 (2019-01-27
xcompmgr v1.1.8
Xorg 1.20.4
glxinfo: https://gist.github.com/stfnm/f1d43f31f79731d6688c24cee9aeef59

I'm running master (alacritty --version is 0.3.0) and also have lost opacity. Xubuntu 18.04, 4.15.0-47-generic, rustc --version is rustc 1.34.0 (91856ed52 2019-04-10)

farseerfc is pretty much right. I basically reverted the glutin version change at 6757acbb824e8be9968529a66e9a75a0a2ea2f5d and 56fea343ff94b23aa94f8756643c015f20517e8f. Opacity works after that. :\
diff here:
diff --git a/Cargo.toml b/Cargo.toml
index d1ad1bc..f410e74 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -42,7 +42,7 @@ clap = "2"
 fnv = "1"
 unicode-width = "0.1"
 arraydeque = "0.4"
-glutin = { version = "0.21.0-rc2", features = ["icon_loading"] }
+glutin = { git = "https://github.com/chrisduerr/glutin", branch = "bsd-build-fix", features = ["icon_loading"] }
 env_logger = "0.6.0"
 base64 = "0.10.0"
 static_assertions = "0.3.0"
diff --git a/src/window.rs b/src/window.rs
index b471bbd..14316bb 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -21,8 +21,8 @@ use glutin::os::unix::EventsLoopExt;
 #[cfg(windows)]
 use glutin::Icon;
 use glutin::{
-    self, ContextBuilder, ControlFlow, Event, EventsLoop, MouseCursor, PossiblyCurrent,
-    WindowBuilder,
+    self, ContextBuilder, ContextTrait, ControlFlow, Event, EventsLoop, MouseCursor,
+    PossiblyCurrentContext, PossiblyCurrentContextTrait, WindowBuilder,
 };
 #[cfg(windows)]
 use image::ImageFormat;
@@ -54,7 +54,7 @@ type Result<T> = ::std::result::Result<T, Error>;
 /// Wraps the underlying windowing library to provide a stable API in Alacritty
 pub struct Window {
     event_loop: EventsLoop,
-    windowed_context: glutin::WindowedContext<PossiblyCurrent>,
+    windowed_context: glutin::WindowedContext<PossiblyCurrentContext>,
     mouse_visible: bool,

     /// Whether or not the window is the focused window.
@@ -120,7 +120,7 @@ fn create_gl_window(
     event_loop: &EventsLoop,
     srgb: bool,
     dimensions: Option<LogicalSize>,
-) -> Result<glutin::WindowedContext<PossiblyCurrent>> {
+) -> Result<glutin::WindowedContext<PossiblyCurrentContext>> {
     if let Some(dimensions) = dimensions {
         window = window.with_dimensions(dimensions);
     }

I'm otherwise unsure of the implications of this change. Will void warranty.

Lost opacity with 0.3.0 running Nvidia dedicated card through Intel integrated graphics.
glxinfo

Relevant NixOS config
services.xserver.videoDrivers = [ "nvidia" ];

hardware.nvidia = {
  modesetting.enable = true;

  optimus_prime = {
    enable = true;
    nvidiaBusId = "PCI:1:0:0";
    intelBusId  = "PCI:0:2:0";
  };
};

I'm having the same problem. Running 0.3.2 + Compton + awesome on Gentoo. I first noticed the problem on 0.3.0.

Same problem on Void Linux, seems to be independent of the OS.
Void Linux, Compton, i3, nVidia proprietary drivers, glxinfo

After discussing with my friend who use a nvidia driver and compton+i3, I think my previous description need some clarification.
There might be 2 separate phenomenon here with regards to transparency / opacity of the background color:

Starting before 0.3.x, around 0.2.x, alacritty on nvidia + compton has a total transparent background. i.e. alacritty always behave as if background_opacity is set to "0.0". The texts are still in full opacity, therefore not readable. This behavior is NOT reproducible on kwin5_x11, where kwin5_x11 correctly shows a semi-transparent background color according to background_opacity option value.
Starting from 0.3.0 (with glutin switching to upstream branch), alacritty lost the ability of showing semi-transparent background. i.e. alacritty always behave as if background_opacity is set to "1.0". This behavior is occurring regardless of the compositor (kwin or compton) and the GPU driver (intel or nvidia) in use.

Switching glutin back to "bsd-build-fix" on 0.3.0 and above will solve the second issue, with the first issue remaining.
Also here is an updated patch to revert glutin on 0.3.2: https://fars.ee/uHas/diff

After the continued discussion here I've decided to retest this on my system and it looks like it's broken for me too. I originally thought this would just affect a few systems with specific configuration, but it looks like after the upstream 'fix' things got much worse and now all X11 systems are affected. It looks like I must have mixed up some branches when testing.
I've updated the upstream issue to represent that, I'll try to get to the bottom of this.

I'm having the same problem in Xmonad + Compton on ubuntu 19.4

I'm having this problem with xcompmgr + i3 on Fedora 29.

I'm getting crashes on alacritty start-up when transparency patch is applied.
Here is the patch mentioned: https://git.archlinux.org/svntogit/community.git/plain/trunk/fix-transparency-0.3.2.patch?h=packages/alacritty
Please not the glutin downgrade.
My system is Arch Linux x86_64, Xfce, older 340.xxx Nvidia drivers.
I'm attaching glxinfo output and the backtrace.
The package works for me without transparency patch applied. Since I don't really care about this thing, I'm happy. However, if I can assist you with debugging/testing it, please let me know.
glxinfo.txt
alacritty.log

Also getting this issue on

Ubuntu 14.04.06
kernel (doesn't really matter) but currently 5.0.17
X.Org version: 1.15.1

0.2.9 works fine.

Same problem with bspwm + compton on Fedora 30 (Xorg version 1.20.4)

Still the same with:

Ubuntu 18.04
X.Org version: 1.20.1
nvidia drivers 430.26

707f429

#2438 pull request mentioned above, solves opacity for me.

@geocool I can confirm it works for me as well :)

This has been resolved in the EventLoop 2 branch for a long time and is planned to land in 0.3.4 (the next release). Locking this thread to keep the +1 'spam' to a minimum.


Farnell scrap module freeze process

Every time that I scrap for prices using the farnell module the process still freeze in 0%, not going on or give me some error. I don't now if is a error in the scrap module or it just need to be updated to some web page change.
To work around this issue I am using --include digikey mouser rs tme newark or --exclude farnell.

I have the same problem with Farnell right now.

Quick observations:
Setting User-agent to a newer browser and adding the following headers helps:
    req.add_header('Accept', 'text/html')
    req.add_header('Cookie', 'foo=bar')

However, I'm not able to find a good database of User-agent strings to update the current one. THe one I successfully used to access Farnell using KiCost was Chrome/62.0.3202.94, the newest one at http://www.useragentstring.com/pages/useragentstring.php?name=Chrome is Chrome/41.0.2228.0.

This one looks good: https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
PR in a few minutes...


Navier–Stokes equation

Hello, thank you for your great work. I have a question about Navier–Stokes equation. In papers (https://arxiv.org/pdf/2010.08895.pdf and https://arxiv.org/abs/2111.03794) you give us equation for vorticity as:
$\omega = \nabla \times u$ and you wrote that $\omega \in L^2_{per}((0, l)^2, R)$, but If I understand $\nabla \times u$ is $rot (u)$ that means that $\omega$ is vector but you state that  $\omega \in L^2_{per}((0, l)^2, R)$ i.e. $\omega$ is scalar function. Can you explain in more detail, what exactly $\omega$ is?

you are working in $\mathbf{R}^2$ so the $rot(u)$ will have only $z$ component so there is no need to consider $\omega$ as vector, so $\omega = \omega_z$. I got this


MF1

Hello,
I am using this module, I can communicate with this using json command.
When a user is detected, it shows some Chinese font image.
We want this image in English. Please help us to change this.
And how can I use MIC and Speaker in it, can it be used with json command?
Thank you

you can use this script to pack your self picture. the picture must have same Resolution.

Where is the script.?


Device Request - [Door / Window sensor] - [Tuya] / [TS0203 _TZ3000_au2o5e6q]

Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device.

Device Information

Device Name: Provide the name of the device
Device Model: Provide the model number or identifier
Device Description: Describe in short the functionality of the device
Link to device image: Provide the URL to an image/photo of the device

Device Interview
{
    ["Paste the device interview information here"]
}

Additional Comments:

Note: Provide any other relevant information or requests related to the device. Link to where you bought the device can be of help

How to interview a device

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want to be added. Thank you for your contribution!

Hi @Fluksi, without an interview I have no idea what driver to use..

Hi Johan,
Please see below.
"ids": { "modelId": "TS0203", "manufacturerName": "_TZ3000_au2o5e6q" }, "endpoints": { "endpointDescriptors": [ { "endpointId": 1, "applicationProfileId": 260, "applicationDeviceId": 1026, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 1, 3, 1280, 0 ], "outputClusters": [ 3, 4, 5, 6, 8, 4096, 25, 10 ] } ], "endpoints": { "1": { "clusters": { "powerConfiguration": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 32, "name": "batteryVoltage", "value": 30, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 33, "name": "batteryPercentageRemaining", "value": 200, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ] }, "identify": { "attributes": [] }, "iasZone": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "name": "zoneState", "value": "notEnrolled", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 1, "name": "zoneType", "value": "contactSwitch", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 2, "name": "zoneStatus", "value": { "type": "Buffer", "data": [ 1, 0 ] }, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "writable", "reportable" ], "id": 16, "name": "iasCIEAddress", "value": "00:12:4b:00:21:12:2e:1c", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 17, "name": "zoneId", "value": 255, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ] }, "basic": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "name": "zclVersion", "value": 3 }, { "acl": [ "readable", "reportable" ], "id": 1, "name": "appVersion", "value": 70 }, { "acl": [ "readable", "reportable" ], "id": 2, "name": "stackVersion", "value": 0 }, { "acl": [ "readable", "reportable" ], "id": 3, "name": "hwVersion", "value": 1 }, { "acl": [ "readable", "reportable" ], "id": 4, "name": "manufacturerName", "value": "_TZ3000_au2o5e6q" }, { "acl": [ "readable", "reportable" ], "id": 5, "name": "modelId", "value": "TS0203" }, { "acl": [ "readable", "reportable" ], "id": 6, "name": "dateCode", "value": "" }, { "acl": [ "readable", "reportable" ], "id": 7, "name": "powerSource", "value": "battery" }, { "acl": [ "readable", "writable", "reportable" ], "id": 65502 }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 2 }, { "acl": [ "readable", "reportable" ], "id": 65534, "name": "attributeReportingStatus", "value": "PENDING" }, { "acl": [ "readable", "reportable" ], "id": 65506 }, { "acl": [ "readable", "reportable" ], "id": 65507 } ] } }, "bindings": { "identify": { "attributes": [] }, "groups": { "attributes": [ { "acl": [ "readable" ], "id": 0, "name": "nameSupport", "value": { "type": "Buffer", "data": [ 0 ] } }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 2 } ] }, "scenes": { "attributes": [ { "acl": [ "readable" ], "id": 0 }, { "acl": [ "readable" ], "id": 1 }, { "acl": [ "readable" ], "id": 2 }, { "acl": [ "readable" ], "id": 3 }, { "acl": [ "readable" ], "id": 4 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 2 } ] }, "onOff": { "attributes": [ { "acl": [ "readable" ], "id": 0, "name": "onOff", "value": false }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 2 } ] }, "levelControl": { "attributes": [ { "acl": [ "readable", "writable" ], "id": 0, "name": "currentLevel", "value": 0 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ] }, "touchlink": { "attributes": [] }, "ota": {}, "time": {} } } } }
Sorry, this is my first time requesting to add an device.
Awsome work from your side here 🙂
Mvh/Best regards
Espen Fosse

From: Johan Bendz @.>
Sent: 10 September 2024 21:32
To: JohanBendz/com.tuya.zigbee @.>
Cc: Fluksi @.>; Mention @.>
Subject: Re: [JohanBendz/com.tuya.zigbee] Device Request - [Door / Window sensor] - [Tuya] / [TS0203 _TZ3000_au2o5e6q] (Issue #938)
Hi @Fluksihttps://github.com/Fluksi, without an interview I have no idea what driver to use..
—
Reply to this email directly, view it on GitHubhttps://github.com/JohanBendz/com.tuya.zigbee/issues/938#issuecomment-2341861533, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLE3NDAXRM3PAHQNQU7JIJ3ZV5CNZAVCNFSM6AAAAABN45URU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRHA3DCNJTGM.
You are receiving this because you were mentioned.Message ID: @.***>


Run client crossdock integration tests with all-in-one instead of Cassandra

Client crossdock integration tests often fail because we have to wait too long for Cassandra, while specifically having a persistent storage is not relevant for those tests.
@Falco20019 wrote an awesome fix in jaegertracing/jaeger-client-csharp#152 to use all-in-one for all Jaeger backend components, which makes the test run much faster and hopefully more reliably. I've already applied that fix to Node.js client.

[x] Node.js https://github.com/jaegertracing/jaeger-client-node/pull/375
[x] Go https://github.com/jaegertracing/jaeger-client-go/pull/420
[x] Java https://github.com/jaegertracing/jaeger-client-java/pull/654
[x] Python https://github.com/jaegertracing/jaeger-client-python/pull/255

It seems C++ client does not currently use crossdock, so this can be closed.


Assemble local mortar matrices

Given segmentation, calculate D and [M1, M2, ..., Mn] master side matrices.

Coverage increased (+12.6%) to 53.947% when pulling ae717642d2278ed27aefe7bb35430316ba6543fe on assebly into aca28099a9b82b2a6c328afbe22963dd045b8032 on master.


Optimize code

còn một số cái chưa validate:

phases_limit_per_user
whitelist
staked_token
reward_token

Codecov Report
Patch coverage: 57.14% and project coverage change: -0.95% :warning:

Comparison is base (e752a75) 84.82% compared to head (d315481) 83.88%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   84.82%   83.88%   -0.95%
==========================================
  Files           6        6
  Lines         290      273      -17
==========================================
- Hits          246      229      -17
  Misses         44       44

Files Changed
Coverage Δ

contracts/halo-farm/src/execute.rs
84.97% <0.00%> (ø)

contracts/halo-farm/src/contract.rs
89.28% <50.00%> (-6.72%)
:arrow_down:

contracts/halo-farm-factory/src/contract.rs
68.75% <100.00%> (-5.88%)
:arrow_down:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Compatibility

I've "added" a compatibility mode for other GL2 users like me, and fixed a small problem the implementation had with InputText boxes, and it now defaults to UTF-8, like the ImGui internals do!
There's also a third file; a config header containing the macros to fiddle with my changes. They're justified in the base implementation header.

Looks okay to me.


Changed spaces to tabs to avoid TabError Exception

fixed in commit https://github.com/Ruthenic/yadiscord-bot/commit/26d689ca529948fe541e9781553cfe808ab5a54d


Target remote Incus host

I want to allow this project to target an Incus host, such as a remote host, that is not expected to be on the localhost of the system I'm running the commands from.
Allow Terraform/OpenTofu to target remote host

creation of variables to use and defaults that can easily be overridden
removal of hard coded values in modules to allow for variable overrides for hosts that need different values
separation of incus provider into it's own file where connection details are specified
.opentofu-version file of version tested/used that can be automatically loaded with tenv
updated README with additional guidance for getting started

The changes here relating to using Terraform/OpenTofu to target remote host are complete and worked fine when I tested this locally on my systems, though I intend to continue adding to this the pull request to include the changes needed for the Ansible portion as well (which is why I set the status to draft).
When I initially tried to run an Ansible deploy referencing the hosts.yaml.example to install a ceph and ovn cluster on (server01, server02, server03, server04, server05) I found that ceph did not want to install on Ubuntu 24.04 due to no available package for the reef or squid releases on the noble dist (https://download.ceph.com/debian-reef/dists/). I tried switching the VMs back to an older distro images:ubuntu/22.04 and got it installed, but ran into some other issue further down the playbook execution that I still need some time to investigate and resolve.

After getting this all working, I destroyed it and replayed all the steps from start to finish to test it.
Destroy existing test cluster:
rm -r ansible/data/ceph/*
rm -r ansible/data/lvmcluster/*
rm -r ansible/data/ovn/*
cd terraform
tofu destroy

Create new test cluster:
# Create VMs for test cluster
cd terraform
tofu apply -target=module.baremetal

# Display new test cluster VMs
incus list --project dev-incus-deploy

# Configure test cluster (ceph/ovn/incus)
cd ansible
ansible-playbook deploy.yaml --diff

Create some test instances on the new test cluster:
# Open a shell on one of the Incus cluster nodes
incus exec --project dev-incus-deploy server01 bash

# List all instances
incus list

# Launch a system container
incus launch images:ubuntu/22.04 ubuntu-container

# Launch a virtual machine
incus launch images:ubuntu/22.04 ubuntu-vm --vm

# Launch an application container
incus remote add oci-docker https://docker.io --protocol=oci
incus launch oci-docker:hello-world --ephemeral --console
incus launch oci-docker:nginx nginx-app-container

@mkbrechtel This is the work I referenced that I needed to allow Terraform and Ansible to target Incus running from a remote system.

Running the ceph commands on the remote host like this with the correct version of the ceph tools should help resolve some of the challenges reported on issue #11


Replace ToolBar with PreferredSizeWidget

TL;DR
As per SOLID principles, MacOsScaffold's toolBar should be a PreferredSizeWidget.
The longer story.
Hello guys, hope you are well. I was going to write an app for MacOS. I have adopted this amazing library.
However, I have hit a wall with this scenario:
My MainScreen contains a MacOsScaffold, which contains a ToolBar and many children:
MacosScaffold(
    toolBar: const ToolBar(),
    children: [
        ...
    ],
);

My ToolBar has many options, conditions and buttons, so I would like to create a separate Widget to deal with those.
However, the MacosScaffold doesn't accept anything else that is not a ToolBar.
Other frameworks (e.g. Material) accepts a PreferredSizeWidget, which allows me to write
import 'package:macos_ui/macos_ui.dart'; //kToolbarHeight is now publicly available!

class MyToolbar extends StatelessWidget implements PreferredSizeWidget {
    @override
    Widget build(BuildContext context) {
        return ToolBar(
            actions: [
                ...
            ],
        )
    }

    @override
    Size get preferredSize => const Size.fromHeight(kToolbarHeight);
}

And this solves my problem.
BONUS: this respect's Flutter's phylosophy of composition over inheritance.
Pre-launch Checklist

[x] I have incremented the package version as appropriate and updated CHANGELOG.md with my changes
[x] I have added/updated relevant documentation
[x] I have run "optimize/organize imports" on all changed files
[x] I have addressed all analyzer warnings as best I could

Hello @Otacon and thanks for this PR. I apologize for my lateness in reviewing it.
Does this change hold any implications for SliverToolBar?

@Otacon checking in


Parsing fails when system name contains unicode character

Another case I found when browsing the VASP entries in our Oasis with failed parsing.
I have actually no idea what this is (this specific character looks like unicode control code for line feed) and how the user managed to get it there(some sort of copy-paste?). See the attached INCAR and first 100 lines of vasprun.xml (the file itself is 75MB big, but I can provide it if needed). So in theory it might be inproper INCAR (it is probably supposed to be ASCII only?), but VASP itself does not complain, its just the xml parsing which fails with:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 12, column 45

the problematic line is
<i type="string" name="SYSTEM"> C-B-Fe-Mo-P</i>
I found just few cases like this so feel free to close as invalid if you feel this is something the parser can't reasonably handle.
files.zip

There are two ways to solve. We either fix the encoding of the file (assuming that it can be written as utf-8 which turns out to be valid xml). Or we make the XML parser deal with the bad encoding.
NOMAD tries to fix the file encoding, if it things it is not utf-8, but there is some guess work involved. Obviously, its not working in this case. Maybe we can improve this based on the given example.
I assume it is failing completely? Or is it producing results and just giving you an error in the logs? We tried to make the parser as generous as possible. Maybe we can do some more. I'll have a look at the provided example.
Ideally, users would fix the encoding before upload. Lets say, you know know what encoding is used on the INCAR (e.g. latin-1).  Now vasp simply copies the non uft-8 encoded characters into the .xml byte by byte. Maybe you can transcode the xml from what ever non utf-8 encoding (e.g. latin-1) into utf-8. This might turn the character into a character that would be legal XML. All assuming that this is actually just a file encoding problem.

I assume it is failing completely? Or is it producing results and just giving you an error in the logs? We tried to make the parser as generous as possible. Maybe we can do some more. I'll have a look at the provided example.

The archive is almost completely empty, except for the program name, version, basis set type (just the stuff which is in the xml before the bad character), so it looks like it just fails when it gets to it.

Ideally, users would fix the encoding before upload. Lets say, you know know what encoding is used on the INCAR (e.g. latin-1). Now vasp simply copies the non uft-8 encoded characters into the .xml byte by byte. Maybe you can transcode the xml from what ever non utf-8 encoding (e.g. latin-1) into utf-8. This might turn the character into a character that would be legal XML. All assuming that this is actually just a file encoding problem.

Let me know if you need a full example.

I added a filter for non legal xml 1.0 characters. It basically removes all illegal characters. I am not yet sure about the performance implication, because I have to decode, re, encode the stream. It still need to convince python xml.sax to consume text io right away. Anyhow, if you want to give it a spin in the mean time, its on branch remove-illegal-xml-characters

The remove-illegal-xml-characters branch makes it work fine here. Let me know if you need more testing (or some performance comparisons).


Question on a different result between ovito and asap implementation

Dear Dr, Peter Larsen,
I appreciate for developing the polyhedral template matching algorithm, which works well at finite temperature.
Using the algorithm, the local environment of a solid structure was analyzed. Interestingly, ovito and asap implemtation gave different results, and the difference of frequency was around 3 % of total atoms. (Anyway 3 % is a small value.)
Could you please confirm which value is better?
The sturcture is bcc titanium at temperature where bcc titanium is unstable, but hcp titanium is stable. Note that at the temperature where bcc titanium is stable, the proportion of atoms marked as hcp increases, probably because temperature is high.
Do you think that these atoms marked as hcp structures are significant?
The same rmse_max of 0.2 was used. Is there another parameter that should be adjusted?

asap implementation using python

asap3.version
'3.12.8'
Type   frequency (max 1): (total 128 atoms)
bcc   0.867
hcp   0.102
fcc   0.016
none   0.016

ovito implementation using ovito gui version 3.7.5 (both free and pro version):
Type   frequency (max 1):
bcc  0.898
hcp  0.086
fcc  0.016
none 0.000

Attached is structure file.
bcc_Ti.zip
Because I do not know how to use this repository directly, asap and ovito are used.
The code for asap follows and is attached:
get_local_structure_asap.zip
#!/usr/bin/env python3
# polyhedral template matching. Is the local structure bcc or hcp or others?

import os
import numpy as np
from asap3.analysis import PTM
from ase.visualize import view
from ase.io import read

# Ref.: https://wiki.fysik.dtu.dk/asap/Local%20crystalline%20order

# for polyhedral template matching method
rmsd_max = 0.2  # Ang

visualize = False
# visualize = True

# VERBOSE = True
VERBOSE = False

def analyze_polyhedral_template_matching(atoms):
    ptmdata = PTM(atoms, rmsd_max=rmsd_max)
    num_atoms = len(atoms)
    # get unique structures and counts
    structures, counts = np.unique(ptmdata['structure'], return_counts=True)
    frequency = counts / num_atoms
    # Flip so that most frequent structure comes first.
    structures = np.flip(structures)
    frequency = np.flip(frequency)

    # print('Type 0 = none; 1 = FCC; 2 = HCP; 3 = BCC; 4 = Icosahedral; 5 = SC.')
    structures = structures.tolist()
    for index, value in enumerate(structures):
        if value == 0:
            structures[index] = 'none'
        elif value == 1:
            structures[index] = 'fcc'
        elif value == 2:
            structures[index] = 'hcp'
        elif value == 3:
           structures[index] = 'bcc'
        elif value == 4:
            structures[index] = 'icosahedral'
        elif value == 5:
            structures[index] = 'sc'

    print('  Type   frequency (max 1):')
    for index, value in enumerate(structures):
        print(f'  {structures[index]}   {frequency[index]:.3f}')

    if visualize:
        atoms.set_tags(ptmdata['structure'])
        view(atoms)

        # menu -> view, colors -> by tag
        # 3: bcc

print('The result of polyhedral template matching follows. \n')

atoms = read('bcc_Ti.cfg')
analyze_polyhedral_template_matching(atoms)

Hi @jjhjm17.
Thank you for raising this issue. ASAP uses an older version of PTM. The version in OVITO has had a lot of updates and bugfixes so I would use that one.
I will try to update the PTM version in ASAP at some point so that there are no discrepancies between them.

I will try to update the PTM version in ASAP at some point so that there are no discrepancies between them.

Hi @pmla ,
I give it a try soon(ish).  I am sure you have made a lot of improvements in the meantime.  There are some hacks involved in merging the code with Asap, I think I have a recipe somewhere....
/Jakob

Dear @pmla and @schiotz,
thank you very much for the reply, that ovito version is the newer version. Because the small difference is expected and is coming from bug fixes, the difference is acceptable for the purpose of analysis, at least for me. For analysis, both values agree closely within 5 % (a small value) and both versions are basically supported by publication, so for me it is sufficient.
Thank you very much!


[JavaScript] Highlight function parameters

Did this extension solves this problem ? https://github.com/microsoft/vscode/issues/69824

Yes, sure:

Making this screenshot, I've found a bug in TypeScript and Javascript highlighting. It'll be fixed in tomorrow's release.

Oh Jesus! Thank you, finally I will be able move to VSCode after this update
Спасибо Евгений ! ;)

Не за что )))

Hello @B2o5T , I've published the new version.
You can install it as usual. TypeScript and JavaScript are fixed.

Hi @EvgeniyPeshkov, I have installed 0.2.7 version. But I don't see any changes, did I miss something?

I expected to see function parameters have a different color than variables as in WebStorm

Oh... It seems I've misled you. Look at the very first answer. I thought you wanted all variables to be highlighted the same way. It's exactly what {Syntax Highlighter} does. But you were asking about all appearances of function's parameter to be highlighted not the same way as local variables.
I'm afraid tree-sitter cannot handle this. Being just syntax analyzer, it doesn't track source of underling terms, it's task for language servers. Main idea behind {Syntax Highlighter} is to provide consistent, calm and neat colorization. Therefore we highlight all variables the same way, either they're local, global, static, members or parameters.
I'm very sorry for this misunderstanding.


Create MoM-07-09-2023.md

What type of PR is this?

documentation
subproject management

What this PR does / why we need it:
Minutes for meeting of 7th September 2023
Which issue(s) this PR fixes:
N/A
Special notes for reviewers:
None
Changelog input
 release-note
 - Minutes for meeting of 7th September 2023

Additional documentation
None
docs

LGTM


Files in /static directory cannot contain space?

What the title says.

I'm not aware of any such limitation. If it doesn't work it's a bug. Doesn't it work for you?

I think it's a quicksilver bug. Closing this issue.

Fixed in 0.6.22


fix: debug logging for node-workspaces plugin

When running as a GH action, there are times when the plugin does not
set the version correctly on a package. Specifically, if a package is
getting a version bump only because at least one dependency is version
bumping then we see that it only gets a "patch" bump even if there is a
specific releaseAs config key set for that package.
When I try to reproduce this running the cli locally on my mac laptop
the problem disappears.

There's some Heisenberg business going on here. With this change in place running as an Action (from https://github.com/google-github-actions/release-please-action/tree/joeldodge-debug-node-workspaces) the issue doesn't occur. Observing it seems to be affecting it :-( (more likely I'm missing some other subtle change).
@bcoe I think it would be good to get this one in - it provides more visibility in general to the behavior of the node-workspace plugin. If the problem crops up again I'll have better info to troubleshoot it


Removed default values for token and loglevel

Pulling random environment variables with names like "token" as default is probably worse than just having people specify it in the constructor.

LGTM


W3D2_T1_Appendix

Added an appendix for the derivation of lambda (eigenvalue) in one 1D system.

closing as stale


What does colorClickableText do?

I don't see that color anywhere in my text.
It doesn't change the color of 'trimCollapsedText'.
I have to set moreStyle if I want to change 'trimCollapsedText' (not sure why it's called moreStyle if it affects 'trimCollapsedText'. I'd expect it to be called trimCollapsedTextStyle or something similar.

that's just the color of the trim collapsed text and trim expanded text.

colorClickableText doesn't seem to do anything:

And it doesn't accept a TextStyle because it's type is Color, not TextStyle

I tested #35 locally and it works. Can we merge #35?

Fixed in 3.0.0


Add unit test for api

Coverage increased (+2.8%) to 49.307% when pulling f9053182036ee6227f0619430ef8754e31570528 on PengYiOfOpenSDS:PengYi into 7a7b9d76457672c99271c8a005c9e4d761e9dee9 on opensds:development.


Created op to add fields to structtype

fixes #30

Coverage remained the same at 100.0% when pulling 3821cbc14337faa537f396c3a3e1982ebcc08860 on feature/30 into 6e634517a9cc381e72110489d2f4a09efb76d694 on master.

Coverage remained the same at 100.0% when pulling 3821cbc14337faa537f396c3a3e1982ebcc08860 on feature/30 into 6e634517a9cc381e72110489d2f4a09efb76d694 on master.


Bugfix: network high cpu usage

Bugfix for network high cpu usage.
Issue: #426

tips: You can use [skip travis]


Would WASM be feasible for Omni?

I'm not sure if you've ever looked into the subject, but Omni in the browser would be amazing.
Either way, Omni is awesome!!  Thank you for such an incredible tool!

Hello!
Thanks for the kind words and sorry for the late reply, the Github notifications don't really work that well with my computer, apparently :)
WASM compilation is definitely one of the big features that I'd like to have. I don't think it would be that difficult to have a prototype up and running: considering that Omni compiles down to C, the next step would be to compile this code with WASM support.
Unfortunately Omni is a one man project, and there are a lot of things yet to be implemented before I take a look at WASM compilation

I think as well, WASM for audio is still open to some changes and improvements to ergonomics. As it stands, you cannot load WASM code in a worklet yet and have to pass wasm as an array through a port. It's kind of a sloppy and doesn't feel that great.


Feat: created Pattern1 in C language

Related Issue
Closes: #142
Coded the Pattern1 in C language, user can set the number of rows for the pattern via input. Tested and working ✅
Screenshots (if any) 📸

@Alkaison if you like this repo please give it a star ⭐


[Doc Improvement][update add incoming webhook][2473207]

Adding sample code

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/webhooks-and-connectors/how-to/add-incoming-webhook.md
93
4
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 13337b8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/add-incoming-webhook.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/webhooks-and-connectors/how-to/add-incoming-webhook.md
95
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 4131d13:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/add-incoming-webhook.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Doesn't seem to work

When I run it on windows, it seems to just open then instant close. Log into PoE and no RPC on Discord.

Try running it from cmd/powershell/terminal.

Running into this error.

See harmonyland/discord_rpc#13


⚠ Bofrost.be has degraded performance

In c50d3c1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1607 ms

Resolved: Bofrost.be performance has improved in cb13668.


What does --follow-local-imports do?

In my last issue, I noted that I just tried out findpydeps on one of my work repos, using a command line like this:
findpydeps  -i .  --blocks  --functions  --follow-local-imports  --removal-policy 0  --strict  --no-header  > ./requirements_from_findpydeps.txt
I think that I understand exactly what these options do:
--blocks  --functions
they tell findpydeps  to include imports that are locally defined inside blocks and functions (in addition to always including imports at the start of your module).
But what exactly does that
--follow-local-imports
option do?
From your home page, or from using its --help option, I am aware of the brief description:
follow imports for local files
But I still have no idea what it does.
Is it related to the local imports that I am already specifying in
--blocks  --functions
?
Or is it something totally different?

If I remember correctly, this option is used when you scan a file (e.g. findpydeps -i main.py). The main.py file may import other local files (not libraries), which themselves import libraries. The --follow-local-imports option enables findpydeps to also scan those imported local files for content. Does that make sense ?


Interactive prompting of init project command (DAT-8804)

Environment
Liquibase Version:
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
Liquibase Extension(s) & Version:
Database Vendor & Version:
Operating System Type & Version:
Pull Request Type

[ ] Bug fix (non-breaking change which fixes an issue.)
[ ] Enhancement/New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
A clear and concise description of the issue being addressed.  Additional guidance here.

Describe the actual problematic behavior.
Ensure private information is redacted.

Steps To Reproduce
List the steps to reproduce the behavior.

Please be precise and ensure private information is redacted
Include things like

Files used - sql scripts, changelog file(s), property file(s), config files, POM Files
Exact commands used - CLI, maven, gradle, spring boot, servlet, etc.

Actual Behavior
A clear and concise description of what happens in the software before this pull request.

Include console output if relevant
Include log files if available.

Expected/Desired Behavior
A clear and concise description of what happens in the software after this pull request.
Screenshots (if appropriate)
If applicable, add screenshots to help explain your problem.
Additional Context
Add any other context about the problem here.
Fast Track PR Acceptance Checklist:

[ ] Build is successful and all new and existing tests pass
[ ] Added Unit Test(s)
[ ] Added Integration Test(s)
[ ] Added Test Harness Test(s)
[ ] Documentation Updated

Need Help?
Come chat with us on our discord channel

Outcomes of meeting:

Move prompting logic out of global spot to init project specific spot
Need to do more analysis and planning when we handle interactive prompting application-wide
Deferring the design discussion for an interactive prompting API to a later date


Possible to parse the version states in Paper Trail to return a single column?

Ideally, I would like to iterate through the versions to get a history of a column, say... price. I do not believe that meets the intention perfectly of this software, but it is quite close.
In my model I have
has_paper_trail :only => [:price]

And in the console I would like to do something like
widget.versions[1][:object][:price]

On an each block in Rails I'd have something like:
<% @account.versions.each do | version | %>

<%= version[:price] %>

<% end %>

Am I overlooking a way do this and have it return plain text, or is this not what the Gem was designed for?
Regardless, even as a new backend person I appreciate the functionality this gives to rollback states. Very cool and impressive. Thanks for the great gem.

Is there an alternative to this?
my_model.history_from_audits_for(:name)
=> [{changes: {name: "Arglebargle"}, changed_at: 2015-05-13 15:28:22 -0700},
{changes: {name: "Baz"}, changed_at: 2014-05-13 15:28:22 -0700},
{changes: {name: "Foo"}, changed_at: 2013-05-13 15:28:22 -0700}]

Skip non changed versions

There are currently four ways to query the history of a particular attribute.

If you are using [postgres json/b columns][1] you can query the history of a specific attribute with the -> operator. This is the most efficient.
select object->'name'
from versions
where item_type = 'User'
  and item_id = ?
  and object->'name' is not null;

2. If you are storing [JSON in a text column][2], you can use the same query if you cast `object::json`, though it is less efficient.
3. If you are storing YAML in a text column (the default) you may want to use a [metadata column][4], [as Ben described above][3].
4. Finally, if you're not able to add a metadata column, you could use ruby to parse the records. This would be, by far, the lease efficient.

As you can see, it is possible to query the history of a particular attribute no matter how it is serialized. So, if someone wants to add this feature to `PaperTrail::RecordTrail`, I'd be happy to review a PR.

[1]: https://github.com/airblade/paper_trail/#postgresql-json-column-type-support
[2]: https://github.com/airblade/paper_trail/#6b-custom-serializer
[3]: https://github.com/airblade/paper_trail/issues/300#issuecomment-29215510
[4]: https://github.com/airblade/paper_trail/#4c-storing-metadata

Great,
Thank you!


Port the command line installer to MacOs (no GPU)

Create a MacOs release
Document the install procedure in the wordslab.org website


Con 2763 20221208 update cvc workflow

Updated cvc workflow:

Staging images is now done using cvc stage-image
Images are uploaded using cvc upload-images, which also preferentially adds new frame data to index.json
Adds new unstage-image command, which will unstage an image, given its full path
JSONL is now validated "in-place", rather than concatenated into a single index.json file.

File Changes:
.gitignore

Now ignores .vscode/ directory

FLIR/conservator/cli/cvc.py

Renamed commands, added new unstage-image command

FLIR/conservator/jsonl_to_index_json.py

Removed module, no longer needed

FLIR/conservator/local_dataset.py

Refactored code to prefer using index.json rather than jsonl files; added method to check for error in index.json

docs/usage/cvc_guide.rst

Updated docs to reflect updates

examples/create_dataset_frames.py

Removed x-amz-meta-originalfilename field in upload, no longer used (and actually causes an error now)

test/integration/test_cvc.py
test/integration/test_local_dataset.py

Refactored test cases to work with new updates

[JIRA Task]

From a UX perspective, it may be friendlier to users to at least keep around the add and upload commands, even if they only print a message about the new usage.  Also FYI, looking at the Conservator help page (at https://www.flirconservator.com/help#cvcOperationsForConservator), I see that it mentions the conservator add and conservator upload commands there.

@rlc2 Please don't merge this until it has a second review, ideally from @filitchp

One minor initial comment is that the CLI help seems to cut off the description of the command very early so it reads like this:
Commands:
  add              The add command has been deprecated in favor of...

While it does read just fine when you do cvc add --help an alternative could be:
Commands:
  add              Deprecated. Please use stage-image instead.

I noticed that stage-image by itself does not return anything. Should there be a message with some usage hints in that case?
$ cvc stage-image
$ cvc status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
No images staged.

It's not possible to stage the original tiffs?
$ cvc stage-image analyticsData/video-DjiiGLnXpniWFj9ah-frame-000150-k3atrAjQSLGYYq2MM.tiff
ERROR:FLIR.conservator.local_dataset:'analyticsData/video-DjiiGLnXpniWFj9ah-frame-000150-k3atrAjQSLGYYq2MM.tiff' is not a JPEG

It's not possible to stage the original tiffs?
$ cvc stage-image analyticsData/video-DjiiGLnXpniWFj9ah-frame-000150-k3atrAjQSLGYYq2MM.tiff
ERROR:FLIR.conservator.local_dataset:'analyticsData/video-DjiiGLnXpniWFj9ah-frame-000150-k3atrAjQSLGYYq2MM.tiff' is not a JPEG

CVC has never supported image formats other than JPEG.

@filitchp If you have change requests, could you mark your review as "Changes Requested" instead of "Approved", please?

@filitchp Can you take another look at this PR, please?

@rlc2 @SJLC Since Paul approved, I think we're good to merge this PR.


Update deleteMessage to allow admins to remove group messages for all users

Hi, thank for your commit @jorgerafael95
I made a fix for prevent errors in chat when is not groups chats, and open a new PR with your commit and my fix.
https://github.com/wppconnect-team/wa-js/pull/2368


issue with ionic beta 14

Getting this error after upgrading to ionic beta 14:
Error: [$compile:multidir] Multiple directives [ngController, tdCard] asking for new/isolated scope on:
<td-card ng-repeat="post in data.posts" on-destroy="cardDestroyed($index)" on-transition-left="cardTransitionedLeft($index)" on-transition-right="cardTransitionedRight($index)" ng-controller="CardCtrl">

@mlynch Can you look at this issue as soon as humanly possible?

My workaround was to remove the ng-controller and take the CardCtrl contents and place them in my view controller.   The only issue I have found with that is the ability to obtain the swipe card using the TDCardDelegate.

+1


Allow HTTPoison opts to be provided for REST GET requests

Previously, we were not allowing any HTTP options to be forwarded down to the underlying HTTP adapter. This fixes that.

Codecov Report

Merging #386 (7541540) into master (572d003) will increase coverage by 0.04%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
+ Coverage   77.06%   77.11%   +0.04%
==========================================
  Files          33       33
  Lines         484      485       +1
==========================================
+ Hits          373      374       +1
  Misses        111      111

Impacted Files
Coverage Δ

lib/shopify_api/rest.ex
93.33% <75.00%> (ø)

lib/shopify_api/rest/request.ex
70.58% <100.00%> (+0.58%)
:arrow_up:

Continue to review full report at Codecov.

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


should the site link back to this repo?

I wanted suggest a change, but had to google for contact info (like a caveman ;) ).
Was really happy to see it being a repo, so sent the PR, but I'm still wondering if the choice to not link here is intentional.

Closed in #9 🥳


Some links in the GH pages documentation are dead

Bug Report
In https://symphony-bdk-java.finos.org/datafeed.html (or https://github.com/finos/symphony-bdk-java/blob/main/docs/activity-api.md) most of the external links are invalid following the revamp of the Symphony developers documentation. Links all redirect to the home page of the Symphony developers documentation.
https://symphony-bdk-java.finos.org/symphony-bdk-examples/bdk-multi-instances-example leads to 404 error.
Expected result
External links in the documentation should be up to date

Hello @symphony-elias can I take a look into it?

Hello @symphony-elias can I take a look into it?

Hello @RanabirChakraborty of course! Feel free to open a PR referencing this issue


Trigger waypoints script at pace 'done'.

I have pace.js loading effect and waypoints animations.
PROBLEM: Animations are being made the same time pace.js is loading my page.
GOAL: I'm trying to fire waypoints animations, after pace.js is done.
How I'm trying to achieve it is with:
http://pastebin.com/DSdZScK4

Found the solution, should do this: http://pastebin.com/LBZB94za . For everyone who might have the same problem.


magic dimension names in methods

The tracks layer (which looks really cool!) has some references to "time" in documentation and some methods, e.g. https://github.com/napari/napari/blob/master/napari/layers/tracks/tracks.py#L312 Would it make sense for napari to adopt a policy of not doing this? I think it's always a mistake for a domain-agnostic tool to start carrying around assumptions about what array axes mean.

Would it make sense for napari to adopt a policy of not doing this? I think it's always a mistake for a domain-agnostic tool to start carrying around assumptions about what array axes mean.

Yeah, we might want to change that one!
I've been thinking that a lot of the machinery in the tracks layer could be used for things like rendering branching neurons - see discussion in #693 a while ago, in which case definitely dropping that makes sense.
Are you using tracks for something beyond the traditional tracking examples we've seen so far @d-v-b?
@jni @quantumjot @kevinyamauchi - we could try and change this before 0.4.0, or wait till later, curious what others think.

I don't have any particular use for the tracks layer at the moment but I can think of a lot of uses for a graph layer in EM connectomics, and there's no time axis there :)

@d-v-b yeah, my goal was always to extract some of the logic from Tracks into a more generic Graph layer. I think there's a lot of things that need to be changed though. For example, are "tracklets" (non-branching paths) a useful concept to keep in a generic Graph layer? Or do they just complicate the logic?
I don't think we should hold off on releasing because of this — Tracks is already insanely useful and we should get it out there for people to use. Originally Image, Volume, and Pyramid were all different layers before @sofroniewn joined them (still one of my favourite efforts in the history of napari @sofroniewn! 😅), and I think we can follow a similar path here.
As a side note @AbigailMcGovern ran into the limitation that Tracks are not actually nD, which violates one of our founding principles. 😄 Again, I think we press on and fix this in the 0.4 series.

Ok, moving this to 0.4 instead of 0.4.0 as agreed no need to hold up release, but we can continue to improve with time

Interesting discussion! A more general Graph layer would be really cool. Couple of extra thoughts:

The concept of time in Tracks could be replaced with index to make it application agnostic but retain the ordering of the data.
For other applications, like rendering branching neurons, you could modify the shader to use all of the non displayed dimensions and then do the nD slicing directly (within a user defined window, similar to tail_length) in the shader. At the moment, this is only done with the existing time dimension.  I can see quite a few advantages to this approach, and it would make the layer much more general than just Tracks.

Interesting discussion! A more general Graph layer would be really cool. Couple of extra thoughts:

I really like the idea that's been proposed. I might start by making a new layer Graph that is strictly more general, and then we could alias Tracks for that at some point, possibly with some special casing, but that would let us experiment with the more general while maintaining the current behavior.
@adamltyson might be interested in this too. It might also be a way to resolve #1334 on visualizing a 3D path in 2D


The cheats dont work

i tried to add tokens but it didnt do anything

it baroken

paste the code from the .js file in to this website:
https://skalman.github.io/UglifyJS-online/
it will minify the code. Paste this code into a bookmark with the prefix "javascript:" (ex. javascript:minified_code_goes_here)
click on the bookmark when you want to use it and it should work


Preserve Enhanced Stereochemistry information through reactions

Description:
It would be useful to be able to preserve enhanced/extended/relative stereochemistry through reactions. This should include proper invalidation of enhanced stereochemistry when required.
I'm actively working on this.
The difficult bit here is basically "when should enhanced stereochemistry information be copied from reactants to products"?
I think that a stereogroup should be copied from reactant to product if:

All atoms in the stereogroup end up in the same molecule in the product
No atom in the stereogroup changed number of connections
All atoms in the stereogroup have defined stereochemistry in the product
If a reactant is duplicated in the product, these should be considered separate stereo groups.

I don't have any sourcing for these intuitions, and so am flexible about the copying rules.
I'm actively working on this.

oooh, also:

All atoms in the stereogroup have defined stereochmistry in the product

I've changed my understanding here. I think that all StereoGroup atoms for which stereochemistry is not explicitly created or destroyed in the reaction should be in a StereoGroup in the product.


Update repository pages

Resolved / Related Issues

Closes #26
Closes #31
Marge commit https://github.com/fluenthub-uwp/FluentHub/commit/c071b1be2f4e92193956017363fa6c3feeb6ff16

Details of Changes
None yet
Objective

[ ] View all contents in repository
[x] Add repository's issue page
[ ] Add repository's PR page
[x] Add label control (such as issue label, pro plan label, or comments count label)
[ ] Add status label control(Open or Close or Marge).

Validation
How did you test these changes?

[x] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)

I want you to marge this commit https://github.com/fluenthub-uwp/FluentHub/commit/c071b1be2f4e92193956017363fa6c3feeb6ff16. but you can right now, can I marge this?

I need to take a look to that commit another time and see how can i do it now. Today (for me) i won't be able to code :( By the moment it's good to keep the flyout that we have.

Nicee!

hmm it may be not yet.
We have to reach our objective.

Objective

[ ] View all contents in repository
[x] Add repository's issue page
[ ] Add repository's PR page
[x] Add label control (such as issue label, pro plan label, or comments count label)
[ ] Add status label control(Open or Close or Marge).

OK marge this. I'll open another PR.

Ok, no problem! May i'll be working this night (yours 6:00 PM)


How can I exec host command when deploying the clab?

I want to exec command to configure the route to the container in host when starting the lab. Is there any way to define the commands in the yml file?

Not in the yml file. You will have to create a shell script that adds that route before or after calling the 'containerlab deploy'

Yes there is. Simply add a node of kind "host" and use the exec parameter.
If it is about the network configuration you can also spin up a container of kind linux and and set the namespace for this container to the host namespace and adjust the networking via the container. (https://containerlab.dev/manual/nodes/#network-mode)
BTW @hellt we seem to be missing a host kind documentation entry.

@steiler did you try that?
Iirc exec is not implemented for host kind

Yes I had used this before. If it is no longer working then we broke something.
It might not be implemented specifically via the host kind, but the host namespace identifier "__host" or so it was, is used in the Network namespace library. AFAIR

WARN[0000] Exec operation is not implemented for kind "host"

``> WARN[0000] Exec operation is not implemented for kind "host" Let me double check if we can delegate to default_node and remove the warning.
Ok, we must have changed stuff, running this via node "host" won't work. I'll reimplement that.
But anyways, this will work
  l2:
      kind: linux
      image: alpine:latest
      network-mode: host
      exec:
        - ip r
        - ip l

Exec on host kind implemented in PR #1481


cigien: Watch sibinfotech.com

cigien requests the watch of the watch_keyword sibinfotech\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sibinfotech\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

sibinfotech\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

Approved by tripleee in Charcoal HQ


Connector Inputs & Outputs

Closes #95
Closes #101

Adds Connector Inputs & Outputs in case connector is the implementation type. The properties are the same as for normal inputs & outputs.

According to #95 I also updated the order of the different inputs & outputs group.
a) group per input (first) and output (second)
b) order from global properties (propagation) to more specific (mappings)
Here is an example for call activities

That's ready for review now.


feat(headless): added insight user actions state and controller

Added a controller for fetching and managing user actions from the customer-service-api
The API is still WIP so this can't be merged yet but it's a big PR so the more time we have to review the better.
There's a year old design doc here that simply lists the attributes of the controller and state added.
Example Quantic Component:

Still missing analytics

maybe i am missing something as I dont know deeply the project yet, but the code seems good for me! clean and clear 👍 (just didn t see cypress tests, is there a need of any ? )

Thanks for reviewing! No Headless has no cypress tests as there is no visual component to it. It's purely business logic and we only do unit tests.