is flchart support x axis as datetime and y axis double?

** Don't make a duplicate issue.
You can search in issues to make sure there isn't any already opened issue with your concern.
Is your feature request relasted to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Please consider reading the documentation before posting an issue and providing actual information in your issue.
To answer your question: yes you can accieve it, by using the getTitles method of the SideTitles to customize the axis descriptions.


Refactor: Construct regex with player name

Per comment https://github.com/quisquous/cactbot/pull/2834#discussion_r625482611
and change a little bit in the array initialization, to improve a little bit readability.

Thanks! That's really nice cleanup!


Use both GPU and CPU when batch converting?

The Intel integrated graphics on my lowly dual core desktop Intel Haswell processor takes around 45 seconds to apply 2x-scaling and low noise reduction to a 960x544 image.
Interestingly though, setting snowshell to use my CPU results in the exact same process also taking around 45 seconds (albiet with my CPU overclocked to 4.6GHz), and task manager confirms that it's very much using my CPU instead.
I then got the idea to launch two instances of snowshell, one window set to use the GPU and the other set to use the CPU.  Sure enough, it was able to then complete two 960x544 images with the same 2x scaling + low noise reduction in only around 50 seconds or so which is nearly half of the time it would take if snowshell tried processing the same two images only through the GPU or only through the CPU.
So wouldn't it make sense if snowshell had a built-in option to use both the CPU and the GPU when specifically converting multiple files?  Now obviously it can't use the GPU and CPU at the same time for a single image, but this way would at least let it process two files at once rather than a single file at a time.
Also ideally it shouldn't just split the allocation evenly (that is, half goes to the GPU and half goes to the CPU) since that would be no good when using a GPU that is vastly faster than your CPU or vice-versa.  Therefore it'd probably be best to just treat it as one single queue of files to convert for both the CPU and GPU and simply allocates the next image in the queue to whichever processor finishes first and is ready for another image.
...I did however notice that snowshell does give ever so slightly different results depending on whether the image is processed through the CPU or GPU, but this may only be a difference mathematically and not to a level that any human could actually notice since I discovered this difference via Paint.NET's "difference" layer properties setting rather than by actually looking at the results and the difference may be impossible to actually spot visually anyway.

Using CPU and GPU in same set of batch processing is usually takes more time than using only GPU. It is only useful on non GPU device. There is no way to expect converting time so it cannot divide converting set in efficient. As you said, you can just use open two snowshell and converting manually if you want to convert but you should know that it looks faster but actually GPU mode also need CPU and RAM resource so GPU conversion speed will be decrease due to CPU mode conversion. It could be faster if CPU mode speed is similar but usually not.

It could be faster if CPU mode speed is similar but usually not.

I reckon it could be a case of that the iGPU on my Pentium is so woeful that the amount of CPU it actually needs is minimal.
I mean, the time it took was around 50 seconds rather than the 45 it took when doing things separately, so this does imply that GPU does use the CPU at least a little bit.
As for there being no way to expect converting time, this isn't really what I was getting at.  I was basically thinking of how foobar2000's batch conversion works on a dual core CPU where it simply starts with the first two files (one file per core) and then, as soon as one of those two are finished, then said vacant core is then given whatever the next unconverted file is for processing.

For the average user, running waifu2x on GPU massively outpaces the speed of running it on a CPU. My CPU (an R5 2600- a relatively powerful CPU) converted a particular file in about 1 hour, albeit on Caffe - converting the same file at a higher scale on my GPU (V64) takes mere seconds. For the average user, it is highly likely that the GPU will have finished all its conversions by the time the CPU finishes one image- it's just a fact that neural nets are innately more parallel, and so will run much faster on a GPU than a CPU. The average midrange GPU has 640 CUs- compared to a CPUs average of 4.

My CPU (an R5 2600- a relatively powerful CPU) converted a particular file in about 1 hour, albeit on Caffe

Bloody nora, just how large of an image was this?  As I said, I was converting 960x544 images to 1920x1088 in only 45 seconds on a mere 2core/2thread desktop Haswell (albeit overclocked to 4.6GHz).
...unless maybe Caffe hits major diminishing returns in terms of multi-threaded capability?  I mean, your Zen+ does have single-threaded performance that would be less than my Haswell (though certainly not by much!)

The average midrange GPU has 640 CUs- compared to a CPUs average of 4.

You can't compare shaders to CPU cores as each individual CPU core is vastly more powerful than a single GPU shader.  If you had a CPU with just as many cores, then it could be able to run considerably faster than a GPU with the same amount of shaders.

I'd just like to mention that a user on the waifu2x-converter-cpp github issue tracker suggested the same thing, and they state that their 8-core CPU (exact CPU model unknown) apparently is able to run at about half the speed of their GPU allowing for a 50% faster conversion time (the user mathed wrong and stated 33% faster).

One idea I just had regarding what to do when using both GPU and CPU and one processor is substantially slower is that, once the faster processor has finished all other images and the slower processor is still trying to finish, instead have the faster processor also start converting the same image that the slower processor is currently trying to finish.
Then once either processor finishes, simply automatically terminate and discard the conversion that was still going on the remaining processor.
So for example, if your GPU is 5x faster than your CPU and it takes a 1 minute to convert single image on your GPU but 5 minutes to convert a single image on your CPU, then even if the CPU is half-way done with the last image and the GPU finishes all of its images, it would still be faster if the GPU then starts converting the same image that the CPU was in the middle of converting and then, once the GPU is done, the CPU's conversion process is canceled.
A key point of this method is that it does discriminate whether the CPU or the GPU is the faster processor which can be key in more server and/or offline video rendering style PCs that tend to have highly multi-core CPUs sometimes not even paired with a discrete GPU at all.  Also there's that upcoming 64core Threadripper 3990X (as if the current 32core 3970X wasn't enough of a beast).

Sorry, Snowshell cannot control it. It is technical area, Since waifu2x is not stand-alone program so this program cannot know PC has CPU only or also GPU. It is main problem.
You keep saying foobar2000 as example, foobar2000 is "standalone" program that actually waifu2x is additional plugin which is plugin make fit to foobar. so foobar can just give api and maker should fit standard.
Snowshell is not like that, snowshell need to obey rule of each converter which is various processor control option so only snowshell can is force CPU or not (actually if you choose GPU it only works as default option of each converter. Snowshell does not know GPU is exist or not)
I wont implement this because controling with GPU/CPU is not a thing thing that shell do. shell only supports command control.
If you want pararel processing ask each converters programmer to support it.
You should know it is foobar's plugin's multiple GPU supports also controled by "plugin" not foobar. which means in Snowshell case, It should supported by "each converter" not "Snowshell"


Util functions for working with multiple databases

Here is my current and proposed util function to work with both local and cloud KV databases:
const env = await load();
Deno.env.set("DENO_KV_ACCESS_TOKEN", env["DENO_KV_ACCESS_TOKEN"]);
const mapKV = new Map();
mapKV.set("Cloud", await Deno.openKv(env["LOCATION"]));
mapKV.set("Local", await Deno.openKv());

type KvName = "Cloud" | "Local"
type MapKV = Map<KvName, Deno.Kv>;
type TableName ="Table 1" | "Table 2" | "Table 3";
type CountMap = Map<TableName, number>;

export async function kvGet(key: Deno.KvKey, mapKV: MapKV) {
  for (const [_kvName, kv] of mapKV) {
    await kv.get(key);
  }
}

export async function kvSet(key: Deno.KvKey, value: any, mapKV: MapKV) {
  for (const [_kvName, kv] of mapKV) {
    await kv.set(key, value);
  }
}

export async function kvDelete(key: Deno.KvKey, mapKV: MapKV) {
  for (const [_kvName, kv] of mapKV) {
    await kv.delete(key);
  }
}

export async function kvGetCount(tableName: TableName, kv: Deno.Kv) {
  const countMap = (await kv.get(["Counts of all tables"])).value as CountMap;
  return countMap.get(tableName) || 0;
}

export async function kvSetValueAndCount(key: Deno.KvKey, value: any, tableName: TableName, mapKV: MapKV) {
  for (const [_kvName, kv] of mapKV) {
    await kv.set(key, value);
    const countMap = (await kv.get(["Counts of all tables"])).value as CountMap;
    const currentCount = countMap.get(tableName) || 0;
    countMap.set(tableName, currentCount + 1);
    await kv.set(["Counts of all tables"], countMap);
  }
}

Do you think it's suitable for this repo?

I'm unclear on the purpose of setting values in both local and cloud at the same time?
Other points:

Your kvGet() function doesn't return anything.
The kvSetValueAndCount isn't atomic.  Let's say the count is 0 for all tables.  You could have a situation where two requests both get the CountMap for the same TableName before updating it, both set-value-and-update-count, but now your table count is 1, but the table has two values on it.

Maybe it's because I'm a noob and haven't figured out a better way for this. It's for testing purpose. Sometimes my data has a significant change, and I want to test in local before updating to the cloud. By making the mapKv map, I can turn on and off which database I want to push by simply commenting or uncommenting these lines:
mapKV.set("Cloud", await Deno.openKv(env["LOCATION"]));
mapKV.set("Local", await Deno.openKv());

Is that clearer?
Thanks for your other feedback. I've fixed the kvGet(). As for the kvSetValueAndCount, you are talking about a table of a database has duplicated updates from both database setting, right? I'm not sure why that is the case.


hello bro

If you finish  can finishe :) i have offer for y

You can send a mail to<EMAIL_ADDRESS>:)


Updating Logo, Description and decimals

I'm submitting a ...
[ ] bug report
[X] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Trying to update Logo, Description and decimals.
Pull request is successful however getting an automerge error:
unsupported file modified: /dev/null

Can someone help or advise?

please leave the PR open and link it here (i see you closed #16660)

Hi,
Have just reopened the pull request
On Tue, 1 Feb 2022, 17:39 keone, @.***> wrote:

please leave the PR open and link it here (i see you closed #16660
https://github.com/solana-labs/token-list/pull/16660)
—
Reply to this email directly, view it on GitHub
https://github.com/solana-labs/token-list/issues/16676#issuecomment-1027111826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKP7DBTWTCE4KYN3I3O2K3UZALFPANCNFSM5NJIN6WA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Have just re-opened this
Thankyou for the help in advance btw

https://github.com/solana-labs/token-list/pull/16660

merged
fyi, decimals on F6ZyzgtCU37NgFGTKYfdBy7BKwzxNZVBDkB68v9Qp1ch looks to be 9 (you changed it to 0 here)

Oh wow,
Was that really the error 😳
I was looking through it the entire time thinking there's nothing wrong
with that...
Haha, thankyou so so much for the help!
Would I need to go back in and amend this?
On Tue, 1 Feb 2022, 18:21 keone, @.***> wrote:

merged
fyi, decimals on F6ZyzgtCU37NgFGTKYfdBy7BKwzxNZVBDkB68v9Qp1ch looks to be
9 (you changed it to 0 here)
—
Reply to this email directly, view it on GitHub
https://github.com/solana-labs/token-list/issues/16676#issuecomment-1027150237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKP7DGBXIETXWNRSXO34IDUZAQCVANCNFSM5NJIN6WA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

no it was blocking because you were modifying existing entries; those need manual approval until team builds more automation
the decimals thing is just something i noticed.  it probably doesnt matter, apps generally use on chain data for that
if you want to fix the decimals, file another PR and link it

Hey thankyou for merging this for me.
Does this mean the changes will take effect?
I was trying to update the name, symbol and logo and of course the decimals
too.
Doesn't matter about decimals but the logo picture and symbol does.
On Tue, 1 Feb 2022, 18:27 keone, @.***> wrote:

no it was blocking because you were modifying existing entries; those need
manual approval until team builds more automation
the decimals thing is just something i noticed. it probably doesnt matter,
apps generally use on chain data for that
if you want to fix the decimals, file another PR and link it
—
Reply to this email directly, view it on GitHub
https://github.com/solana-labs/token-list/issues/16676#issuecomment-1027155207,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKP7DDABJSZOKHMHTCEL5LUZAQYFANCNFSM5NJIN6WA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Just checked, Thankyou so much for the help!


Certbot cronjob not installed after moving certbot from apt to pip

Certbot cronjob not installed after moving certbot from apt to pip
Cronjob file path: /etc/cron.d/certbot
Cronjob file content:
# /etc/cron.d/certbot: crontab entries for the certbot package
#
# Upstream recommends attempting renewal twice a day
#
# Eventually, this will be an opportunity to validate certificates
# haven't been revoked, etc.  Renewal will only occur if expiration
# is within 30 days.
#
# Important Note!  This cronjob will NOT be executed if you are
# running systemd as your init system.  If you are running systemd,
# the cronjob.timer function takes precedence over this cronjob.  For
# more details, see the systemd.timer manpage, or use systemctl show
# certbot.timer.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew

This cron job only runs certbot renew, and because threebot can run certbot to:

Fetch and install the certificate by doing certbot run
Or only install the certificate if cert paths are set by doing certbot install

In the second case, certbot won't manage this certificate and doing certbot certificates won't list it, hence certbot renew won't renew it.
IMO, we add a job for a script which ensures certbot manages this certificate, otherwise, it should run certbot run to fetch a new one that can be renewed later.


[NETSDKE2E]With SDK 8.0.100-preview.6.23320.4 installed, warning NU1901: Package 'NuGet.Commands' 4.0.0 has a known low severity vulnerability, https://github.com/advisories/GHSA-3885-8gqc-3wpf occurred when Package Downgrades as Errors on Windows11 ARM64.

Environment data
dotnet --info output:
.NET SDK:
Version:   8.0.100-preview.6.23320.4
Commit:    a597bdf439
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22621
OS Platform: Windows
RID:         win10-arm64
Base Path:   C:\Program Files\dotnet\sdk\8.0.100-preview.6.23320.4\
.NET workloads installed:
There are no installed workloads to display.
Host:
Version:      8.0.0-preview.6.23316.3
Architecture: arm64
Commit:       76da696f3f
.NET SDKs installed:
8.0.100-preview.6.23320.4 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0-preview.6.23316.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0-preview.6.23316.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.0-preview.6.23316.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
VS Code version: 1.79.2
C# Extension version: 1.25.9
OmniSharp log

Steps to reproduce

Install SDK: 8.0.100-preview.6.23320.4 from https://github.com/dotnet/installer on windows11 ARM64 OS
Create a new .NET 8 console app and open it in VSCode
Add some Package Reference pairs that trigger a package downgrade warning.
E.g.

Expected  behavior
This should produce NU1605 Errors and no warning.
Actual behavior
There is a warning NU1901: Package 'NuGet.Commands' 4.0.0 has a known low severity vulnerability, https://github.com/advisories/GHSA-3885-8gqc-3wpf produced.

This issue does not repro on Monterey(12.6.6) M1.

This doesn't seem like a bug - there is a security advisory for the version of Nuget.Commands that is being used.  Using one of the versions listed in https://github.com/advisories/GHSA-3885-8gqc-3wpf should resolve the problem (for example, 4.9.5 instead of 4.0.0).


HIVE-24087 FK side join elimination in presence of PK-FK constraint

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Apart from the tests mentioned above, we should add a test where the aggregate contains a SUM to see whether that works correctly too (that's the pattern seen in the original query).

@jcamachor Thanks for the suggestions. I will add all three tests (and yes all of these cases are expected to trigger the rewrite)


fix to issue #48 Support 32-bit RHEL/CentOS

I've tested this on my (own Pentium III server haha) two character deletion.

:+1:


Changes to messengerbot.py file

Tesing using ngrok and it works like a charm
Nikolas

👍 Wouldn't hurt to merge this


issue with cronline "52 0 * * *" on Ruby 2.2.2p95 x64

16:54 bosnia: jmettraux, you around?
16:55 bosnia: I idle all the time so respond when you can. getting ArgumentError:
  not a valid cronline : '52 0 * * *'
16:56 bosnia: I fresh installed my OS and am using ruby 2.2.2p95 x64
  and rufus-scheduler 3.1.2
16:56 bosnia: Same code worked on previous win8.1 install, not working now.
...
09:31 bosnia: Downgrading to 3.0.9 fixed

Seems this issue is limited to "mingw" Ruby "distributions".
Moving work to https://github.com/jmettraux/rufus-scheduler/issues/166


safari 16 lqip stopped working, only low quality image is showing

Describe the bug
With the new release of safari 16 LQIP stopped working on our site, only low quality image is shown until you refresh the page.
To Reproduce
Open latest safari and browse through the following URLs:

Seezona sale
Seezona clothing

Steps to reproduce the behavior:

Open the URL with the product list and scroll the page,
You will see that some of the images does not load and only low quality version is shown.

What is the expected behavior:
We should see LQIP working as usual
What happened instead:
LQIP is not working
In what environment (browser/device etc.) does this bug happen/not happen:
Happen in Safari 16 176<IP_ADDRESS>.10, works as expected in Chrome 106.0.5249.119
Keywords help others to find this issue:
LQIP safari 16 not working

Do you still have this problem？

I can reproduce this for version 5.3.2.


Allow screenshots for pages with forced JS redirections #16

#16  This a fix for Nightmare JS to allow making screenshots when the website forces a JavaScript redirection
The solution is simple:

ignore-certificate-errors
whenever the error is caught, we're just forcing it to continue anyway:

.catch(function (err) { return n.screenshot().then().catch(); });

Executing n.end(); when everything is finished:

.catch(function (err) { .... }).finally(() => { return n.end() });

Hey @TahaBoulehmi, thank you for your time put into the project.
I've looked into the changes and they look good.

I've published the changes on npm under version 0.2.3


Refactorizacion 3: hexo-master/hexo-master/lib/extend/tag.ts

Refactorizacion 3: Group parts of the regex together to make the intended operator precedence explicit.

File: hexo-master/hexo-master/lib/extend/tag.ts

Extract variable: Link: https://sonarcloud.io/project/issues?impactSeverities=MEDIUM&issueStatuses=OPEN%2CCONFIRMED&id=MarlonHerrera01_Clone-HEXO&open=AZHciDLvl0kdtHMF8qff


Redirection operator > should not be hardcoded to files

Summary of the new feature / enhancement
Currently, > will internally call Out-File.  Instead, it should probably call Out-Provider (or something like that) so that any provider can participate: 1 > variable:a.
Proposed technical implementation details (optional)
If a provider path isn't provided, default to filesystem

One can simply pipe through Set-Variable if you want that
PS>  'foo' | Set-Variable 'bar'
PS> echo $bar
foo

No?

That works for output (or STDOUT), but we don't have 2| for error stream so you have to use 2> which only writes to files currently.  Although we have https://github.com/PowerShell/PowerShell/pull/20381 which would allow redirection to a variable and during that code review I thought of this.

so you have to use 2> which only writes to files currently

If you use *>&1 you can filter for ErrorRecord in the success output. Example.

so you have to use 2> which only writes to files currently

If you use *>&1 you can filter for ErrorRecord in the success output. Example.

Yes, but sometimes you want foo 2>variable:stderr >variable:stdout
There's also https://github.com/PowerShell/PowerShell/pull/21565 for those that want tee-object for errors

I agree this would be great to have, I currently use the following to capture stdout/stderr as separate vars
$stdout = $null
$stderr = & { my.exe | Set-Variable -Name stdout } 2>&1 | ForEach-Object ToString

The ForEach-Object ToString is only needed for WinPS to capture stderr as a string and not the ErrorRecords in the stream. Having a way to do it directly with redirection would be really nice as I can avoid the above complexity.

@jborean93, the more succinct cross-edition formulation of your code is:
$stdout, [string[]] $stderr = (my.exe 2>&1).Where({ $_ -is [string] }, 'Split')

What #20381 now enables:
my.exe 1> variable:stdout 2> variable:stderr

Alternatively:
$stdout = my.exe 2> variable:stderr

That is, #20381 is sufficient for targeting variables via redirections, via the variable: drive.
The issue at hand is about  generalizing this approach, allowing any provider's items as the target.


Data Science with Python : Clustering of Countries #5390

Description 📜
Made a Audio presentation.
Fixes #5390

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Datascience with Python

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@prathimacode-hub , Mam can you please evaluate.


server: add basic cluster bootstrap mechanism based on zookeeper

Moved to https://github.com/hstreamdb/server-cluster-demo.


Script - Deploy IPv6 dual stack web application in Azure virtual network

#sign-off

#sign-off

This is great, thank you!

@sptramer Thank you!


Maps moiré effect

Description
Our objects have a moiré effect on certain maps. It is the same with glb and gltf.
Is there a solution for this?
Live Demo
https://framework.tv/leistungen/digital/webar-obi-uebergabedaten/
Browser Affected

[ X] Chrome
[ ] Edge
[ X] Firefox
[ ] Helios
[ ] IE
[ X] Safari

OS
<

[ ] Android
[ X] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

Looks like incorrectly generated mipmaps to me?

I believe I fixed that in #880, which is slated to be released imminently in 0.8 (we're just finishing up a few bug fixes at the moment). Can you try master and see if it's improved?

@elalish I took the well-known route to installation because I don't know exactly how to use master. We got the problem under control by deleting all maps (normal, metallic, AO) and reducing the contrast of the diffuse map by approx. 70%.
At usdz we kept all maps.
Thanks for your help

@Sbstnlhmchr Oh my, please don't delete all your maps! We just released 0.8 yesterday, so that should make it much easier to test. If any rendering problems remain, please let me know!

@elalish we are also having this issue. It wasn't apparent to me right away but it amplifies when using multiple models on a single page.
our models are using the obj2gltf tool by cesium.
I filed a bug report there:
https://github.com/CesiumGS/obj2gltf/issues/239

@elalish got a reply from obj2gltf developer:

would that work?

Yes, removing the default would be ideal. Technically that's not letting
the engine decide, as the glTF spec specifies which default the engines
must use. However, they chose that default with input from the engines, as
we know anything other than LINEAR_MIPMAP_LINEAR results in significant
rendering artifacts. The performance difference from this is small since it
is handled in hardware anyway.
Thanks,
-Emmett
On Sun, May 3, 2020 at 6:41 PM Markus Lanxinger<EMAIL_ADDRESS>wrote:

@elalish https://github.com/elalish got a reply from obj2gltf developer:
[image: image]
https://user-images.githubusercontent.com/20549552/80931297-70f29b00-8deb-11ea-90c9-62110cd65bc7.png
would that work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/model-viewer/issues/936#issuecomment-623223376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMS2LDGUWICY2L6V5CLPV3RPYMN7ANCNFSM4J4IGDLA
.

thank you @elalish


Adds ability to set a pre-existing token in the object

Previously, the session object only allowed for the creation of new
tokens when using it. This prevented systems like Ansible from storing
tokens in cookies for "later" authentication.
This patch adds the ability to specify a token that you have previously
cached. This can be done when instantiating the session object, or
afterwards by setting the known token via the token property of the
session object

👍


Rename modeling exercise server routes to follow REST guidelines

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I added multiple integration tests (Spring) related to the features
[x] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.
[x] Client: I added multiple integration tests (Jest) related to the features
[x] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[x] Client: I documented the TypeScript code using JSDoc style.
[x] ~Client: I added multiple screenshots/screencasts of my UI changes~
[x] Client: I translated all the newly inserted strings into German and English

Motivation and Context

We want to be consistent in naming our REST Endpoints. The changed endpoints didn't follow our REST Guidelines.
Description

The changes reflects the table of REST routes https://confluence.ase.in.tum.de/pages/viewpage.action?pageId=30016376
Changed routes in this PR:

GET modeling-editor/{participationId} -> participations/{participationId}/latest-submission
PUT modeling-submissions/{submissionId}/feedback -> modelling-submissions/{submissionId}/assessment
PUT exercise/{exerciseId}/submission/{submissionId}/modelingExampleAssessment -> modeling-submissions/{submissionId}/example-assessment
GET modeling-submissions/{submissionId}/result -> modeling-submissions/{submissionId}/assessment
PUT modeling-exercises -> modeling-exercises/{exerciseId}

Test Coverage
Thanks to @madwau all the REST endpoints (Modeling assessment, submission and exercise)  are covered with tests, I adjusted the tests to target renamed endpoints and further improved the test coverage.

Steps for Testing

Log in to Artemis
Navigate to Course Administration
Create and start modeling exercise with example assessment
Check that as an instructor you can update it.
Participate and submit a solution as a student.
Assess this exercise as a tutor.

@maxr96 please note: due to the recent critical bugs and problems in your changes, we need full test coverage of all changed files in the server and in the client, otherwise we need to decline this PR. Please have a look into the coverage reports and make sure all changed files are fully covered in the tests. If this is not the case, please add new tests to cover everything!
Please document this by uploading a screenshot of the coverage report to the PR.

I added test coverage reports for the files I changed. The lines that I changed in this PR are covered with the existing tests.

please fix the merge conflicts and make sure to further increase the test coverage, also the one for the changed client files!

@maxr96 Can you resolve the merge conflicts here?

Thank you for checking my PR @madwau and @ungaralex . I resolved the merge conflicts and applied the comments. I also increased the test coverage for ModelingSubmissionResource from 93% to 97% and ModelingExerciseResource from 93% to 96%. Can you check the PR again please?

@maxr96 this is still not 100%. Again, we only invest time in this PR, if you can make sure that really ALL functionality related to your changes is fully tested on the client and server!

Hi Maksym, thanks for your contribution. I experienced the following unexpected behavior:
* I am not able to create an example solution for a modeling exercise and get the following console error
  (same with example submission)
  ![image](https://user-images.githubusercontent.com/50635005/76664125-91d50780-6583-11ea-8d86-ee5ec12cc959.png)
  Could you please fix this? Thanks.

Hi @HanyaElhashemy , thank you for checking my PR and reporting the issue. I checked that my changes did not cause this bug, as on the latest version of development branch I experience the same issue. However, I will investigate it and check how it can be fixed.

UPDATE: I managed to solve the issue with modeling example solution and submission. Turns out that ArtemisModelingExerciseManagementModule was simply not imported into the CourseManagementModule. I also fixed back button routes for this components. Can you please chek my PR again @HanyaElhashemy ?

As requested I removed the ids in ModelingSubmission and ModelingExercise resources PUT endpoints


EPUB image not show

See images below:

Duplicate of this?

https://github.com/riscv/riscv-isa-manual/issues/1607

I tried Moon+ and ReadEra on Android and neither displayed the images in the section cited above.

Yes, it's seems to be duplicated.


make platinum easier to see (add green stripes)

This is a handy extension. Unfortunately, when I tried to use it I found it hard to see the difference between platinum and silver when scanning search results. So I figured I'd contribute a candidate fix, although feel free to throw away my actual fix CSS & come up with a better idea that solves the underlying problem.
Basically I wanted to keep the existing platinum color, but also add something else to make it more visually distinct, so I said "idk, stripes?" I found this & basically stole it: https://css-tricks.com/stripes-css/.
Arguably it looks kind of ugly and slightly reduces readability (I'm not really a CSS guy). But it does make it easier to notice platinum results in search

Hello! Sorry for the slow response.
I'd love to add something to make it easier for people who have an issue distinguishing the colors. I originally thought to make the colors more vibrant for platinum-rated games, but I wanted to keep the original ProtonDB colors for each rank. But I will brainstorm some ideas for a fix and keep you updated. Currently, I'm thinking about giving platinum a shining effect or something to differentiate it from others since it is the highest rating.
The green lines may be a bit much but I really appreciate the feedback and I will get out an update for it asap.


mercurial: 5.3 -> 5.3.1

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mercurial/versions.
meta.description for mercurial is: "A fast, lightweight SCM system for very large distributed projects"
meta.homepage for mercurial is: "https://www.mercurial-scm.org"
Updates performed:

Version update
Quoted meta.homepage for RFC 45

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.3.1 with grep in /nix/store/c6b8swwvwwgcln7jl4hya1jnrbq9zr4q-mercurial-5.3.1

directory tree listing: https://gist.github.com/d7a3df1faa00a5b1ee840dba3e0a928d

du listing: https://gist.github.com/1c05b459399488842bdb172638c1093a

Rebuild report (if merged into master) (click to expand)

80 total rebuild path(s)
21 package rebuild(s)
21 x86_64-linux rebuild(s)
21 i686-linux rebuild(s)
20 x86_64-darwin rebuild(s)
18 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
cabal2nix
dep2nix
devpi-client
gitAndTools.git-fast-export
gitAndTools.git-remote-hg
gitAndTools.gitFastExport
hound
hydra
mbed-cli
mercurial
mercurialFull
nbstripout
nix-prefetch-hg
nix-prefetch-scripts
nix-update-source
python27Packages.hglib
python27Packages.hgsvn
python37Packages.hglib
python38Packages.hglib
reposurgeon
sourcehut.hgsrht

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c6b8swwvwwgcln7jl4hya1jnrbq9zr4q-mercurial-5.3.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mercurial https://github.com/r-ryantm/nixpkgs/archive/b19d822a989198f124a7f0683649ab0110b44123.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c6b8swwvwwgcln7jl4hya1jnrbq9zr4q-mercurial-5.3.1
ls -la /nix/store/c6b8swwvwwgcln7jl4hya1jnrbq9zr4q-mercurial-5.3.1/bin

cc @edolstra for testing.

pushed ea18da4bc431240aaef756635688f4bfc30a1619


chore: add react-router to react sample project

I added react-router to the app, and created separate pages for the recommendation and standalone search box samples.
https://coveord.atlassian.net/browse/KIT-822

I think this change would be more useful to devs at Coveo who extend the project with samples for new use-cases. I felt placing standalone and recommendations on under separate routes was clearer, compared to having everything on one page.


Fix OSL compiler assert when indexing into closure type

Minor issue, when compiling this shader with oslc or an application embedding the OSL compiler it crashes:
shader test()
{
    closure color A;
    A[0] = 0;
}

src/include/osl_pvt.h:314: failed assertion '! is_closure() && "Don't call this if it could be a closure"'

From: https://developer.blender.org/T49016

LGTM!


Added new $name parameter to the Fields constructor to correct null names on postTypes

Replaced with better implementation #23


Editor sometimes crashes when I change image.

Godot version:

Godot 3.1.2-devel (e802da4)
OS/device including version:

MacOSX 10.13.6
Issue description:

I'm preparing my textures for pvrtc conversion. I extend some textures to square and make atlas textures in my scenes to use the part of this square.
Sometimes the editor doesn't show preview of changed image. When I do something with it (for example use it as atlas texture) the editor crashes with this log:
handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] 1   libsystem_platform.dylib            0x00007fff7686af5a _sigtramp + 26
[2] 2   ???                                 0x000070000503f810 0x0 +<PHONE_NUMBER>57104
[3] Image::get_rect(Rect2 const&) const (in godot.osx.tools.64) (image.cpp:1915)
[4] EditorTexturePreviewPlugin::generate(Ref<Resource> const&, Vector2) const (in godot.osx.tools.64) (editor_preview_plugins.cpp:101)
[5] EditorResourcePreview::_generate_preview(Ref<ImageTexture>&, Ref<ImageTexture>&, EditorResourcePreview::QueueItem const&, String const&) (in godot.osx.tools.64) (editor_resource_preview.cpp:151)
[6] EditorResourcePreview::_thread() (in godot.osx.tools.64) (editor_resource_preview.cpp:224)
[7] EditorResourcePreview::_thread_func(void*) (in godot.osx.tools.64) (editor_resource_preview.cpp:94)
[8] ThreadPosix::thread_callback(void*) (in godot.osx.tools.64) (thread_posix.cpp:76)
[9] 9   libsystem_pthread.dylib             0x00007fff76874661 _pthread_body + 340
[10] 10  libsystem_pthread.dylib             0x00007fff7687450d _pthread_body + 0
[11] 11  libsystem_pthread.dylib             0x00007fff76873bf9 thread_start + 13
-- END OF BACKTRACE --

Steps to reproduce:
Minimal reproduction project:

A minimal reproduction project or detailed reliable reproduction steps would be nice.

It's not easy to find reproduction steps queue. For example, now I reimport 8 textures (with pvrtc encoding). Editor complete importing without errors, when it shows preview for changed textures. And after several minutes it crashes (I did'n do anything with godot, I only waited for importing and then I edit some code in my external editor)

I'm having the same issue. Sometimes it crashes, sometimes it doesn't. Now I'm trying to open the same project cloned in a different computer and it always crashes on reimport with the following error:
Using GLES3 video driver
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
WASAPI: wFormatTag = 65534
WASAPI: nChannels = 2
WASAPI: nSamplesPerSec = 48000
WASAPI: nAvgBytesPerSec = 384000
WASAPI: nBlockAlign = 8
WASAPI: wBitsPerSample = 32
WASAPI: cbSize = 22
WASAPI: detected 2 channels
WASAPI: audio buffer frames: 1962 calculated latency: 44ms
CORE API HASH: -7323055289690356460
EDITOR API HASH:<PHONE_NUMBER>216891413
Loading resource: C:\Users/lisan/AppData/Roaming/Godot/editor_settings-3.tres
EditorSettings: Load OK!
EditorSettings: Save OK!
Loaded builtin certs
Editing project: C:/Users/lisan/Documents/GitHub/button-city/src (C:::Users::lisan::Documents::GitHub::button-city::src)
EditorSettings: Save OK!

C:\Users\lisan\Documents\Godot>OpenGL ES 2.0 Renderer: GeForce GTX 1050/PCIe/SSE2
Assertion failed!

Program: C:\Users\lisan\Documents\Godot\Godot_v3.1.1-stable_win64.exe
File: thirdparty/pvrtccompressor/PvrTcEncoder.cpp, Line 388

Expression: bitmap.GetBitmapWidth() == bitmap.GetBitmapHeight()

It seems it crashes when trying to import a file called cyan_building.png with the following settings in it's companion .import file
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/cyan_building.png-44dd14dd42e8d0aa94f0e3a26003ae41.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://textures/cyan_building.png"
dest_files=[ "res://.import/cyan_building.png-44dd14dd42e8d0aa94f0e3a26003ae41.stex" ]

[params]

compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

I'll attach the files generated in the .import folder
dotimport.zip

Forgot to add the actual file. It is a square image and a power of 2

I've tested this with 3.1-beta3 and 3.1.1-stable and it crashes with the same error as in the latest 3.2 from Calinous daily builds.

This is the png file in question. As you can see. It is not square, which seems to be triggering the assertion in question. As you can see it is not square and that seems to be failing an assertion in PvrTcEncoder.cpp which is taking down the whole engine.

@noidexe Your issue already fixed by https://github.com/godotengine/godot/pull/28563
It will be in version 3.1.2 and in 3.2


Is it possible to use multiple dates and ranges in combination? Similar to this

Short answer: no.
Long answer: You can essentially build any functionality you want on top of react-infinite-calendar by using the exported Calendar primitive and creating your own higher-order-component that enhances the base component.
This is how all of the different variations work, see withDateSelection, withMultipleDates, withRange.
If you come up with something that could be shared back with the rest of the community, feel free to send a PR to that effect.


Read stdout/err in block() so that the output is consumed

Fixes #14

@nateprewitt good catch! Added an else block

@nateprewitt updated the condition + added comment for better parity with out()


feat(secrets): add Doppler adapter

Doppler organizes secrets in "projects" (like my-awesome-project) and "configs" (like prod, stg, etc.), so the pattern project/config is required when defining the --account option.
Doppler does not have a concept of folders, so using --from option or FOLDER/SECRET pattern is not supported and will raise an error.
Initially, I was thinking of using the --from option to define the Doppler "config", but this would require a much larger change in how secrets are "folderized", so not allowing to use that option and parsing --account=project/config accordingly seemed like a better approach for now.
Site documentation PR: https://github.com/basecamp/kamal-site/pull/134

Oh, could we also implement the check_dependencies! method that was recently added. It should give a nice error message if doppler is not installed.

Thanks for the review @djmb!! I'll fix the points that you brought up and update the PR later today.

@djmb PR updated. Also added support for ENV["DOPPLER_TOKEN"], based on https://github.com/basecamp/kamal/pull/1183

Hey @mrbongiolo - this has been released now in Kamal 2.4.0. Could you update the docs PR and then I'll merge that?

Nice @djmb !! The doc PR is updated, it just requires an approval for merging. Or is there something missing?

No all good then, there were some merge conflicts but I've resolved them and merged the PR 👍


Add support for navigation settings

In particular managed navigation settings

Added with schema 201605 and August release of the engine.


SPIKE: Rebuild the platform in another region

User Story
In case of a disaster, we want to be confident that we can completely rebuild the platform in another region.
User Type(s)

Value

Questions / Assumptions / Hypothesis

Definition of done

[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green
[ ] UR test OR added to continual research plan

Reference
How to write good user stories

Lets add some more information, including any limitations etc

Tickets Raised
https://github.com/ministryofjustice/modernisation-platform/issues/5503
https://github.com/ministryofjustice/modernisation-platform/issues/5501
THERE WILL BE MORE but these need to happen first.


add license

I assume your intent is to make this project open source, but without a license this code is under your copyright, and therefore is source-available, not open source. Thus I can't legally fork it and submit changes.
If you want to make it open source, you need to adopt a license from https://choosealicense.com/ (if that was your intent).
At least in the rust community, the MIT license is very common. Or dual licensing with MIT + Apache 2.0.

Great point - I've added the MIT license in d9cd68c


improve pr ci workflow

remove redundant jobs
test before build for better dev cycle
beef up x86_64 linux machines for faster test and build

@pat-trunk-io (@gnalh ?) I don't have permission to change the required checks for this repo. Can we remove the requirements for "Unit Tests*" jobs? The "Build*" jobs already test

@pat-trunk-io (@gnalh ?) I don't have permission to change the required checks for this repo. Can we remove the requirements for "Unit Tests*" jobs? The "Build*" jobs already test

I don't have them either.

@EliSchleifer perms for this repo?

Done


Crash - Dungeons Mobs' Geomancer Crashes When Summoning Bombs/Walls

crash-2022-01-30_16.01.56-server.txt

Same issue as #3, 1.18.1 has more clear logging, though.


Add map, flatMap and extractingValue to OptionalAssert (#751, #748)

Check List:

Fixes #751, #748
Unit tests : YES
Javadoc with a code example (API only) : YES

Implementation is a little bit different from what was originally proposed at #751. flatMap and map don't throw AssertionError if actual optional is empty. From my point of view it would be more expected behavior. As map() doesn't extract mapped value, have added extractingValue() method as it was proposed at #748.

Sweet, will review it this we.

Thanks @fiery-phoenix !
I have modified a bit your PR, I have left out extractingValue() as I'm not sure it is totally useful (waiting for feedback on that) and I have added support for soft assertions (a tricky part of AssertJ code).

Ok, thank you!


chore/printer: update space to allow new plugin names

As the number of plugins will grow (upgrade, artifacts collector), this change will allow more space on the status table to fit new names:
Wed, 09 Nov 2022 13:29:17 -03> Global Status: running
JOB_NAME                           | STATUS     | RESULTS    | PROGRESS                  | MESSAGE
01-openshift-cluster-upgrade       | running    |            | 0/0 (0 failures)          | status=Working towards 4.11.12: 640 of 803 done (79% complete), waiting on service-ca
10-openshift-kube-conformance      | running    |            | 0/352 (0 failures)        | status=waiting-for=01-openshift-cluster-upgrade=(0/0/0)=[99/100]
20-openshift-conformance-validated | running    |            | 0/3487 (0 failures)       | status=blocked-by=10-openshift-kube-conformance=(0/-352/0)=[0/100]
99-openshift-artifacts-collector   | running    |            | 0/0 (0 failures)          | status=blocked-by=20-openshift-conformance-validated=(0/-3487/0)=[0/100]

/lgtm


Add Tankerkönig API Exporter

Updated https://github.com/lukasmalkmus/tankerkoenig_exporter recently and thought why not add it to the docs.
@brian-brazil

Ups, did the edit online, will fix.

Fixed.

Thanks for sharing. You're taking a secret on the command line, which isn't secure. Could you move that elsewhere?
The exporter will be simpler and more correct if you use ConstMetrics rather than direct instrumentation.

Thanks for sharing. You're taking a secret on the command line, which isn't secure. Could you move that elsewhere?

What is recommended here? Environment?

The exporter will be simpler and more correct if you use ConstMetrics rather than direct instrumentation.

Alright, will address.

What is recommended instead? Environment variables for secrets?

Files are best, but the important thing is that it's not on the command line.

Finally had a few mins to fix. Transitioned to direct instrumentation and read Token from environment instead of command line.
Cheers.

Your docker example still has the token on the command line.

Ups, resolved.

Thanks!


mac failed to load comfyui workflow editor

When I tried to install Stable Swarm ui today, everything went smoothly as per the process. However, when I opened it, I found that the workflow editor couldn't load. I tried to modify the backend path but it didn't work. I am using an M1 Mac.

13:52:13.190 [Init] === StableSwarmUI v<IP_ADDRESS> Starting ===
13:52:13.212 [Init] Prepping extension: StableSwarmUI.Builtin_StabilityAPIExtension.StabilityAPIExtension...
13:52:13.218 [Init] Prepping extension: StableSwarmUI.Builtin_ScorersExtension.ScorersExtension...
13:52:13.218 [Init] Prepping extension: StableSwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
13:52:13.218 [Init] Prepping extension: StableSwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
13:52:13.218 [Init] Prepping extension: StableSwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
13:52:13.218 [Init] Prepping extension: StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
13:52:13.219 [Init] Prepping extension: StableSwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
13:52:13.232 [Init] Parsing command line...
13:52:13.232 [Init] Loading settings file...
13:52:13.248 [Init] Re-saving settings file...
13:52:13.257 [Init] Applying command line settings...
13:52:13.268 [Init] Prepping options...
13:52:13.355 [Init] Loading models list...
13:52:13.384 [Init] Loading backends...
13:52:13.384 [Init] Loading backends from file...
13:52:13.390 [Init] Prepping API...
13:52:13.390 [Init] Initializing backend #2 - ComfyUI Self-Starting...
13:52:13.390 [Init] Backend request handler loop ready...
13:52:13.391 [Init] Prepping webserver...
13:52:13.581 [Init] Scan for web extensions...
13:52:13.584 [Init] Readying extensions for launch...
13:52:13.584 [Init] Launching server...
13:52:13.584 [Init] Starting webserver on http://localhost:7801
13:52:13.644 [Init] Program is running.
13:52:14.145 [Init] Launch web browser...
已经是最新的。

ComfyUI-2 on port 7821 error: OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://openmp.llvm.org/

https://github.com/Stability-AI/StableSwarmUI/issues/267#issuecomment-2012614802


Disabled #ifdef section is orange

and have you...

[X] I updated to the latest spin2 version available
[X] I have restarted VSCode and the problem still exists

Version of Spin2 Language Server VScode Extension with the issue
the new one
Is this a regression?
Yes. This used to work, but now it doesn't.
Hardware, Operating System, Operating System version, VSCode version
[insert the funny here]
Description of problem
An attempt seems to have been made at greying out the disabled #ifdef sections. Unfortunately, it gives everythng the orange color normally used for strings:

This working correctly in the C++ extension:

Additional information
No response

(there don't appear to be any special scopes created by the C++ extension, so it must be doing something else to lower the opacity)

wow... my apologies!   ;-)
Ok, a couple of things.  My bad for not thinking about other themes and how they'd interpret things.
Please help me with two things:

Tell me exactly which C++ extension you are using, and I'll go wander the source code to see how they are doing it.
tell me exactly which theme you are using so I can see how I'm triggering the orange.

At this point, I don't know if I can runtime affect colors so in my own themes I was planning on a 2nd dimmer full-color palette which would be selected by the attribute that I'm currently using to select the single grey color (well in my themes it's grey ;-)
Maybe the C++ code investigation will show that there is another possible way to do this.

They do it like this, apparently: https://github.com/microsoft/vscode-cpptools/blob/92a049479608f02f284e6c2c7e37be196dccd1ab/Extension/src/LanguageServer/client.ts#L2630

Also, something I notice is that sometimes large sections of the file turn orange for no apparent reason. It seems to never clear which lines should be disabled when editing the file. But sometimes it also happens without having made large edits

Sigh.... good to know...
I found problems with how they were doing the coloring... I'm still investigating if it's possible to use their technique.


yum and yum-utils have been removed, need to replace these

yum and yum-utils have been removed from the image because they relied on python 2. We need to replace the Oracle client install with different steps.
It looks like they can be downloaded directly now and converted which wasn't an option 2 years ago.

This will be QA'd just be seeing if the app can connect to Oracle. If it can't most things like viewing students and classes won't work.

tested the Oracle connection with Student Explorer test server


fix: rename package to match directory name

Hi @zaibon ! thanks for the PR.
I was wondering.. is there a specific reason for this change?
As far as I can see the user has to use a proper name to import the module:
import (
	"testing"

	"github.com/edoardottt/depsdev/pkg/client"
	def "github.com/edoardottt/depsdev/pkg/depsdev/definitions"
	"github.com/stretchr/testify/require"
)

See https://github.com/edoardottt/depsdev/blob/devel/pkg/depsdev/v3/api_internal_test.go#L21
How this will change?
thanks :)

Usually, the name of you package follow the name of the directory where it lives. It's not mandatory, but that's what you usually see.
At the moment, because both package are called depsdev. you cannot import both "github.com/edoardottt/depsdev/pkg/depsdev/v3" and "github.com/edoardottt/depsdev/pkg/depsdev/v3/definitions" without using a renamed import.
Actually, now that I'm looking at it. the package located at "github.com/edoardottt/depsdev/pkg/depsdev/v3" is also called depsdev. I've never seen an organization like this before.

I've never seen an organization like this before.

Suggest what you think it'd the best option :) I'm all ears!
I renamed the packages in a rush cuz I wanted to fit v3 and v3alpha in the same place.

I renamed the packages in a rush cuz I wanted to fit v3 and v3alpha in the same place.

Ok, I understand where this comes from now.
I've had a look at the code in the V3 and V3Alpha package, and at the moment the only difference seems to be the base path used when creating the APIV3 or APIV3alpha struct. There is no change nor in the logic or the types used to read the responses.
So what I would do is, get rid of the V3 and V3Alpha directory and move the code into the depsdev directory itself.
Then, to still allow to have both version supported, just declare 2 constructors. Something like
type API struct {
	client *client.Client
}

// NewV3AlphaAPI creates and returns a V3Alpha API object.
func NewV3AlphaAPI() *API {
	return &API{
		client: client.New(V3AlphaBasePath),
	}
}

// NewV3API creates and returns a V3 API object.
func NewV3API() *API {
	return &API{
		client: client.New(V3BasePath),
	}
}

This would allow you to still be able to instantiate a client for any version of the API you want to reach, but without all the duplicate code.
Regarding the imports, now that all the code lives in the depsdev directory, we can keep the package depsdev like it was, since now it would match the directory name also.

for now there is no difference, but the plan is to implement some methods only for the alpha version, check the issues. eventually they will be added to the stable version too (V3) but for now they aren't available.
also, the Google team said that these should be maintained as two separate packages (https://github.com/google/deps.dev/issues/76).

Ok, these things are bound to diverse at some point, that make sense. So let's forget this PR altogether, it doesn't really solve anything then.

fine @zaibon :) If you want to contribute...every contribution is more than welcome!


Longest Palindromic Subsequence

Problem Link
https://leetcode.com/problems/longest-palindromic-subsequence/
Coding platform
Leetcode
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Additional context (OPTIONAL)
I want to solve it in Java

I would like to do this in C++.

I will do it in python

Hi @Nivedita967
I would like to solve it in C. Please assign it to me.

Hi @Nivedita967
I would like to solve it in C. Please assign it to me.

Sure @abhinav5481


We don't need to wrap fractions when multiplying or adding in Latexise

Looks like this has been fixed as seen in LaTeX tests.


Add support for JSON Schema structured output

Ollama has introduced support for structuring responses as defined by a JSON Schema.
I'm starting this as a draft PR in case anyone has early opinion on direction as I am exploring options.
~Right now I'm adding everything represented as a JSONObject, but it could be neat to look into:~
~1) accepting serializable classes or records as a format type~
~2) doing the conversion to json schema in-class so the user doesn't have to care~
~3) sending that JSON Schema to Ollama~
~4) providing the user a response de-serialized to their chosen class.~
Update: Changed my approach, I'm currently investigating the following path:

Generate a JSON Schema from a provided Java class
Send that JSON Schema along in the generate request to Ollama (JSON Schema is the format they support)
Deserialize the Ollama response to the chosen Java class via new getStructuredResponse() method, preserving existing contracts.

Update 2: This is working and I am actively using it in my own repository (via Kotlin)
internal inline fun <reified T> getStructuredResponse(
    system: TwitchChatMessage?,
    message: TwitchChatMessage,
): T? {
    val fullResponse =
        ollamaAPI.chat(
            OllamaChatRequestBuilder
                .getInstance(MODEL)
                .withMessages(
                    system?.let {
                        mutableListOf(
                            OllamaChatMessage(OllamaChatMessageRole.SYSTEM, it.content),
                        )
                    } ?: mutableListOf(),
                )
                .withMessage(
                    OllamaChatMessageRole.getRole(message.role),
                    message.content,
                )
                .withOptions(OptionsBuilder().setNumCtx(FULL_CONTEXT_LENGTH).build())
                .withResponseClass(T::class.java)
                .build(),
        )

    val textResponse = fullResponse.response
    val structuredResponse = fullResponse.getStructuredResponse<T>()

Which is then used later on...
currentQuestion = getStructuredResponse<Trivia?>(modifiedSystemPrompt, question)

With trivia being the kotlin equivalent of a java record
data class Trivia(
    val question: String = "",
    val answer: List<String> = emptyList(),
    val hint: String = "",
)

I'm really liking the automatic JSON schema generation approach a lot.

Broke it during the cleanup, one moment :)

I'm a little more used to Kotlin where you can use reified types for runtime type information so my java serialization knowledge isn't my strong suit - please let me know how this looks, I'm willing to make any desired changes :)

@daguava there are conflicts in the code. Mind resolving them and updating the PR? Thanks!

@daguava there are conflicts in the code. Mind resolving them and updating the PR? Thanks!

Yes, I'll update this later today to account for the other tools PR that merged.

Closing for now, I'll submit a new PR when I've had the time to merge this with the newest changes.


JavaScript error occurred in the main process with bdcustomcss

I get this error when I just installed BetterDiscord. It causes me to be unable to interact with Discord in anyway, however, the BD logo at the bottom right is flashing. Is there a way to fix this? I have pastebin'd my terminal output here: https://pastebin.com/K292v25R
I don't know if it is of any importance, but I run Linux Mint 18.2 sonya on the x86_64 Linux 4.8.0-53-generic kernel.

I had the same problem. I had to set discord so it doesn't automatically run on startup. Create a folder on the desktop with only a space as the name, and move it to '/var/local/BetterDiscord/' Then go find this '/var/local/BetterDiscord/bdStorage.json' and move it in the folder you just moved. You have to do this every time you want to run discord after closing it.

Do you know if there will be a fix to this? It seems awfully tedious to do this every single time.

I have no idea, but for all I know this is how it'll be until they further development in Linux versions. Btw, does it work now?

Yeah, it works now. Thanks for the help!

just delete bdstorage.json or change it to look like this:
{
    "defaults": {
        "data": {}
    },
    "data": {},
    "bdcustomcss": ""
}

if this doesn't fix it create a symlink to the file with the name all lowercase

This also works for me too. I also just made a really short script that I run on startup, literally one line.
#!/bin/bash rm /var/local/BetterDiscord/bdstorage.json

removing the bdstorage file does not work for me. I'm running out of ideas here.


Fail except in promise's then causes test run to stop.

I'm using Protractor(v 0.24.1), Cucumber(v 0.4.0), Chai(v 1.9.1) and Chai-as-promised (v 4.1.1).
Selinium-server-standalone.jar (v 2.41.0)
chromedriver(v 2.10)
In this step I'm verifying the count 2 different ways. One in the then of the promise and the second way uses the chai-as-promised library to verify the count.
element.all(by.css('[ticket-id]')).then(function (tickets) {
    expect(tickets.length).to.equal(2, "length correct");
    //expect(tickets.length).to.equal(3, "length wrong");
});
expect(element.all(by.css('[ticket-id]')).count()).to.eventually.to.equal(2).and.notify(next);

This passes and I get the message:
1 scenario (1 passed)
3 steps (3 passed)
Process finished with exit code 0

Now when I change the expect inside the then to fail everything dies.
element.all(by.css('[ticket-id]')).then(function (tickets) {
    //expect(tickets.length).to.equal(2, "length correct");
    expect(tickets.length).to.equal(3, "length wrong");
});

Now I only get the message:
Process finished with exit code 1

This failure stops the test execution without a stack trace or anything to help debug.
Does anyone know why or a way around this?
We are looking at updating Protractor which might help.

Similar issue happening with protractor 4 https://github.com/angular/protractor/issues/3491 https://github.com/angular/protractor/issues/3553


Add business days functions to Date and Date_Time

Pull Request Description
Implements https://www.pivotaltracker.com/story/show/183082087
Important Notes

Removed unnecessary invocations of Error.throw improving performance of Vector.distinct. The time of the add_work_days and work_days_until should be consistent with each other test suite came down from 15s to 3s after the changes.

Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the
Scala,
Java,
and
Rust
style guides.
All code has been tested:

[x] Unit tests have been written where possible.
[ ] If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide build and ./run ide watch.

Seems that in some places callbacks were created by handler=(Error.throw ...) instead of handler=(_-> Error.throw ...) - this fired error creation regardless of if an error occurred - and this is costly as it generates a stack trace to attach to the error. Similarly, our Map was using dataflow-errors to implement get_or_else - so every such call would also generate a stack trace if the key was not present - again that's a lot of cases where dataflow errors were constructed without a need - I changed the code in such a way that get_or_else does not depend on catching dataflow errors.

I think in many places we use dataflow errors for 'control-flow'. I think this may be a relic of the fact that in the past dataflow errors did not have stack traces and were much faster to construct (just a hypothesis though). This has changed and now they incur a significant performance cost. I think we may consider adding a task to review their usage (I assume we want the stacktraces as they aid debugging) - maybe we should try to revisit our stdlib and check where we can replace dataflow errors with a cheaper mechanism. Or maybe we should give the user control over whether the dataflow error will get the stacktrace or not - then we could still have cheap dataflow errors for control flow and expensive ones for true error reporting. @jdunkerley @JaroslavTulach @hubertp  what do you think?

Happy with that
Get Outlook for iOShttps://aka.ms/o0ukef

From: Radosław Waśko @.>
Sent: Wednesday, September 21, 2022 8:49:20 PM
To: enso-org/enso @.>
Cc: James Dunkerley @.>; Mention @.>
Subject: Re: [enso-org/enso] Add business days functions to Date and Date_Time (PR #3726)
@radeusgd commented on this pull request.

In distribution/lib/Standard/Base/0.0.0-dev/src/Data/Time/Date.ensohttps://github.com/enso-org/enso/pull/3726#discussion_r976927474:

@@ -355,3 +504,39 @@ type Date
== self that =
sign = Time_Utils.compare_to_localdate self that
0 == sign

+## PRIVATE
+week_days_between start end =

We split the interval into 3 periods: the first week (containing the

  starting point), the last week (containing the end point), and the full

  weeks in between those. In some cases there may be no weeks in-between

  and the first and last week can be the same week.

start_of_first_full_week = Time_Utils.start_of_next_week start

Still I'd suggest doing it as a separate PR, just to move this forward and avoid mixing features in a single PR. Then we can replace these helper functions here in that next PR.
—
Reply to this email directly, view it on GitHubhttps://github.com/enso-org/enso/pull/3726#discussion_r976927474, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABD3MOMO4WQEWW7YF2MJMFTV7NREBANCNFSM6AAAAAAQRLYYHM.
You are receiving this because you were mentioned.Message ID: @.***>


Test solving symbols of jss 0.6.0 codebase

Well, I am not going to verify one by one the results to ensure they are correct :)
Great stuff! It will slow the build a little bit and eventually we could separate these tests from unit tests but for now it sounds great. Thanks a lot @mlangkabel !


Could not load dynamic library 'libcupti.so.11.2'

hi!
I wonder if anyone meets the error like below. I am not sure if this error affects the result because I get the message that shows the full model has been saved (Saving full model at end of training.)
I think it has not allocated my three A6000 GPU right? thank you!
/var/spool/slurmd/job424078/slurm_script: line 13: activate: No such file or directory
2022-05-13 16:56:12.039473: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2022-05-13 16:56:47.960569: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2022-05-13 16:56:47.965506: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
2022-05-13 16:56:52.460082: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:1b:00.0 name: NVIDIA RTX A6000 computeCapability: 8.6
coreClock: 1.8GHz coreCount: 84 deviceMemorySize: 47.54GiB deviceMemoryBandwidth: 715.34GiB/s
2022-05-13 16:56:52.461279: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2022-05-13 16:56:52.461473: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.11
2022-05-13 16:56:52.462512: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublasLt.so.11
2022-05-13 16:56:52.462607: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
2022-05-13 16:56:52.462673: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
2022-05-13 16:56:52.465188: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcusolver.so.10'; dlerror: libcusolver.so.10: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /lustre/project/PCI/b152046/final_dannce/lib/python3.7/site-packages/cv2/../../lib64:/opt/share/gsl-1.9/lib:/opt/share/fftw-2.1.5/lib:/usr/local/lib/:
2022-05-13 16:56:52.465309: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.11
2022-05-13 16:56:52.511699: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
2022-05-13 16:56:52.520564: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1757] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2022-05-13 16:56:52.529603: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX512F
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-05-13 16:56:52.530515: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2022-05-13 16:56:52.530668: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
2022-05-13 16:56:52.530727: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267]
2022-05-13 16:56:54.432768: I tensorflow/core/profiler/lib/profiler_session.cc:136] Profiler session initializing.
2022-05-13 16:56:54.432919: I tensorflow/core/profiler/lib/profiler_session.cc:155] Profiler session started.
2022-05-13 16:56:54.435204: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1365] Profiler found 1 GPUs
2022-05-13 16:56:54.439300: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcupti.so.11.0'; dlerror: libcupti.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /lustre/project/PCI/b152046/final_dannce/lib/python3.7/site-packages/cv2/../../lib64:/opt/share/gsl-1.9/lib:/opt/share/fftw-2.1.5/lib:/usr/local/lib/:
2022-05-13 16:56:54.441853: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcupti.so'; dlerror: libcupti.so: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /lustre/project/PCI/b152046/final_dannce/lib/python3.7/site-packages/cv2/../../lib64:/opt/share/gsl-1.9/lib:/opt/share/fftw-2.1.5/lib:/usr/local/lib/:
2022-05-13 16:56:54.442009: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1415] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2022-05-13 16:56:54.442104: I tensorflow/core/profiler/lib/profiler_session.cc:172] Profiler session tear down.
2022-05-13 16:56:54.442198: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1496] function cupti_interface_->Finalize()failed with error CUPTI could not be loaded or symbol could not be found.
2022-05-13 16:57:39.794409: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
2022-05-13 16:57:39.796346: I tensorflow/core/platform/profile_utils/cpu_utils.cc:112] CPU Frequency:<PHONE_NUMBER> Hz

#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
_openmp_mutex             4.5                       1_gnu
absl-py                   0.15.0                   pypi_0    pypi
astunparse                1.6.3                    pypi_0    pypi
attr                      0.3.1                    pypi_0    pypi
attrs                     21.4.0                   pypi_0    pypi
blas                      1.0                         mkl
brotlipy                  0.7.0           py37h27cfd23_1003
bzip2                     1.0.8                h7b6447c_0
ca-certificates           2022.4.26            h06a4308_0
cachetools                5.0.0                    pypi_0    pypi
certifi                   2021.10.8        py37h06a4308_2
cffi                      1.15.0           py37hd667e15_1
charset-normalizer        2.0.4              pyhd3eb1b0_0
cryptography              37.0.1           py37h9ce1e76_0
cudatoolkit               11.3.1               h2bc3f7f_2
cudnn                     8.2.1                cuda11.3_0
cycler                    0.11.0                   pypi_0    pypi
dannce                    1.2.0                     dev_0    <develop>
dill                      0.3.4                    pypi_0    pypi
ffmpeg                    4.2.2                h20bf706_0
flatbuffers               1.12                     pypi_0    pypi
fonttools                 4.33.3                   pypi_0    pypi
freetype                  2.11.0               h70c0345_0
gast                      0.3.3                    pypi_0    pypi
giflib                    5.2.1                h7b6447c_0
gmp                       6.2.1                h2531618_2
gnutls                    3.6.15               he1e5248_0
google-auth               2.6.6                    pypi_0    pypi
google-auth-oauthlib      0.4.6                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
grpcio                    1.32.0                   pypi_0    pypi
h5py                      2.10.0                   pypi_0    pypi
idna                      3.3                pyhd3eb1b0_0
imageio                   2.8.0                    pypi_0    pypi
imageio-ffmpeg            0.4.7                    pypi_0    pypi
importlib-metadata        4.11.3                   pypi_0    pypi
intel-openmp              2021.4.0          h06a4308_3561
jpeg                      9e                   h7f8727e_0
keras-preprocessing       1.1.2                    pypi_0    pypi
kiwisolver                1.4.2                    pypi_0    pypi
lame                      3.100                h7b6447c_0
lcms2                     2.12                 h3be6417_0
ld_impl_linux-64          2.35.1               h7274673_9
libffi                    3.3                  he6710b0_2
libgcc-ng                 9.3.0               h5101ec6_17
libgomp                   9.3.0               h5101ec6_17
libidn2                   2.3.2                h7f8727e_0
libopus                   1.3.1                h7b6447c_0
libpng                    1.6.37               hbc83047_0
libstdcxx-ng              9.3.0               hd4cf53a_17
libtasn1                  4.16.0               h27cfd23_0
libtiff                   4.2.0                h85742a9_0
libunistring              0.9.10               h27cfd23_0
libuv                     1.40.0               h7b6447c_0
libvpx                    1.7.0                h439df22_0
libwebp                   1.2.2                h55f646e_0
libwebp-base              1.2.2                h7f8727e_0
lz4-c                     1.9.3                h295c915_1
markdown                  3.3.7                    pypi_0    pypi
matplotlib                3.5.2                    pypi_0    pypi
mkl                       2021.4.0           h06a4308_640
mkl-service               2.4.0            py37h7f8727e_0
mkl_fft                   1.3.1            py37hd3c417c_0
mkl_random                1.2.2            py37h51133e4_0
multiprocess              <IP_ADDRESS>                pypi_0    pypi
ncurses                   6.3                  h7f8727e_2
nettle                    3.7.3                hbbd107a_1
networkx                  2.6.3                    pypi_0    pypi
numpy                     1.19.5                   pypi_0    pypi
oauthlib                  3.2.0                    pypi_0    pypi
opencv-python             <IP_ADDRESS>                 pypi_0    pypi
openh264                  2.1.1                h4ff587b_0
openssl                   1.1.1o               h7f8727e_0
opt-einsum                3.3.0                    pypi_0    pypi
packaging                 21.3                     pypi_0    pypi
pillow                    9.0.1            py37h22f2fdc_0
pip                       21.2.2           py37h06a4308_0
protobuf                  3.20.1                   pypi_0    pypi
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pycparser                 2.21               pyhd3eb1b0_0
pyopenssl                 22.0.0             pyhd3eb1b0_0
pyparsing                 3.0.9                    pypi_0    pypi
pysocks                   1.7.1                    py37_1
python                    3.7.13               h12debd9_0
python-dateutil           2.8.2                    pypi_0    pypi
pytorch                   1.11.0          py3.7_cuda11.3_cudnn8.2.0_0    pytorch
pytorch-mutex             1.0                        cuda    pytorch
pywavelets                1.3.0                    pypi_0    pypi
pyyaml                    6.0                      pypi_0    pypi
readline                  8.1.2                h7f8727e_1
requests                  2.27.1             pyhd3eb1b0_0
requests-oauthlib         1.3.1                    pypi_0    pypi
rsa                       4.8                      pypi_0    pypi
scikit-image              0.19.2                   pypi_0    pypi
scipy                     1.7.3                    pypi_0    pypi
setuptools                62.2.0                   pypi_0    pypi
six                       1.15.0                   pypi_0    pypi
sqlite                    3.38.3               hc218d9a_0
tensorboard               2.9.0                    pypi_0    pypi
tensorboard-data-server   0.6.1                    pypi_0    pypi
tensorboard-plugin-wit    1.8.1                    pypi_0    pypi
tensorflow                2.4.0                    pypi_0    pypi
tensorflow-estimator      2.4.0                    pypi_0    pypi
termcolor                 1.1.0                    pypi_0    pypi
tifffile                  2021.11.2                pypi_0    pypi
tk                        8.6.11               h1ccaba5_1
torchaudio                0.11.0               py37_cu113    pytorch
torchvision               0.12.0               py37_cu113    pytorch
typing-extensions         <IP_ADDRESS>                  pypi_0    pypi
urllib3                   1.26.9           py37h06a4308_0
werkzeug                  2.1.2                    pypi_0    pypi
wheel                     0.37.1             pyhd3eb1b0_0
wrapt                     1.12.1                   pypi_0    pypi
x264                      1!157.20191217       h7b6447c_0
xz                        5.2.5                h7f8727e_1
zipp                      3.8.0                    pypi_0    pypi
zlib                      1.2.12               h7f8727e_2
zstd                      1.4.9                haebb681_0

I used the same file as the folder of the demo.
io_config not found in io.yaml file, falling back to main config
batch_size not found in io.yaml file, falling back to main config
epochs not found in io.yaml file, falling back to main config
downfac not found in io.yaml file, falling back to main config
lr not found in io.yaml file, falling back to main config
num_validation_per_exp not found in io.yaml file, falling back to main config
max_num_samples not found in io.yaml file, falling back to main config
com_finetune_weights not found in io.yaml file, falling back to main config
crop_height not found in io.yaml file, falling back to main config
crop_width not found in io.yaml file, falling back to main config
com_train_dir set to: ./COM/train_results/
com_predict_dir set to: ./COM/predict_results/
dannce_train_dir set to: ./DANNCE/train_results/AVG/
dannce_predict_dir set to: ./DANNCE/predict_results/
dannce_predict_model set to: ./DANNCE/train_results/AVG/weights.1200-12.77642.hdf5
exp set to: [{'label3d_file': './label3d_demo.mat'}, {'label3d_file': './label3d_demo.mat'}]
io_config set to: io.yaml
batch_size set to: 2
epochs set to: 3
downfac set to: 2
lr set to: 5e-5
num_validation_per_exp set to: 2
max_num_samples set to: 100
com_finetune_weights set to: ./COM/weights/
crop_height set to: [0, 1024]
crop_width set to: [0, 1152]
base_config set to: ../../configs/com_mouse_config.yaml
viddir set to: videos
camnames set to: None
n_channels_out set to: 1
sigma set to: 30
verbose set to: 1
net set to: unet2d_fullbn
gpu_id set to: 0
immode set to: vid
mono set to: False
mirror set to: False
loss set to: mask_nan_keep_loss
num_train_per_exp set to: None
augment_hue set to: False
augment_brightness set to: False
augment_hue_val set to: 0.05
augment_bright_val set to: 0.05
augment_rotation_val set to: 5
data_split_seed set to: None
valid_exp set to: None
dsmode set to: nn
debug set to: False
augment_shift set to: False
augment_zoom set to: False
augment_shear set to: False
augment_rotation set to: False
augment_shear_val set to: 5
augment_zoom_val set to: 0.05
augment_shift_val set to: 0.05
start_batch set to: 0
n_channels_in set to: None
extension set to: None
n_views set to: 6
vid_dir_flag set to: None
chunks set to: None
lockfirst set to: None
load_valid set to: None
drop_landmark set to: None
raw_im_h set to: None
raw_im_w set to: None
n_instances set to: 1
start_sample set to: 0
write_npy set to: None
use_npy set to: False
com_predict_weights set to: None
com_debug set to: None
com_exp set to: None
Using the following *dannce.mat files: ./label3d_dannce.mat
```io_config not found in io.yaml file, falling back to main config
batch_size not found in io.yaml file, falling back to main config
epochs not found in io.yaml file, falling back to main config
downfac not found in io.yaml file, falling back to main config
lr not found in io.yaml file, falling back to main config
num_validation_per_exp not found in io.yaml file, falling back to main config
max_num_samples not found in io.yaml file, falling back to main config
com_finetune_weights not found in io.yaml file, falling back to main config
crop_height not found in io.yaml file, falling back to main config
crop_width not found in io.yaml file, falling back to main config
com_train_dir set to: ./COM/train_results/
com_predict_dir set to: ./COM/predict_results/
dannce_train_dir set to: ./DANNCE/train_results/AVG/
dannce_predict_dir set to: ./DANNCE/predict_results/
dannce_predict_model set to: ./DANNCE/train_results/AVG/weights.1200-12.77642.hdf5
exp set to: [{'label3d_file': './label3d_demo.mat'}, {'label3d_file': './label3d_demo.mat'}]
io_config set to: io.yaml
batch_size set to: 2
epochs set to: 3
downfac set to: 2
lr set to: 5e-5
num_validation_per_exp set to: 2
max_num_samples set to: 100
com_finetune_weights set to: ./COM/weights/
crop_height set to: [0, 1024]
crop_width set to: [0, 1152]
base_config set to: ../../configs/com_mouse_config.yaml
viddir set to: videos
camnames set to: None
n_channels_out set to: 1
sigma set to: 30
verbose set to: 1
net set to: unet2d_fullbn
gpu_id set to: 0
immode set to: vid
mono set to: False
mirror set to: False
loss set to: mask_nan_keep_loss
num_train_per_exp set to: None
augment_hue set to: False
augment_brightness set to: False
augment_hue_val set to: 0.05
augment_bright_val set to: 0.05
augment_rotation_val set to: 5
data_split_seed set to: None
valid_exp set to: None
dsmode set to: nn
debug set to: False
augment_shift set to: False
augment_zoom set to: False
augment_shear set to: False
augment_rotation set to: False
augment_shear_val set to: 5
augment_zoom_val set to: 0.05
augment_shift_val set to: 0.05
start_batch set to: 0
n_channels_in set to: None
extension set to: None
n_views set to: 6
vid_dir_flag set to: None
chunks set to: None
lockfirst set to: None
load_valid set to: None
drop_landmark set to: None
raw_im_h set to: None
raw_im_w set to: None
n_instances set to: 1
start_sample set to: 0
write_npy set to: None
use_npy set to: False
com_predict_weights set to: None
com_debug set to: None
com_exp set to: None
Using the following *dannce.mat files: ./label3d_dannce.mat

Hi. I try using pip to install TensorFlow; now it works. thanks!


BMI160 support

Hey Nate711,
I am using the BMI160, I see that now the master branch is setup to support the ICM20649. I am looking back at past commits to see when the BMI160 was supported but from what I can see it looks like only the ICM_20948 was supported. If you know what I can do to resolve this please let me know!
Thanks,
akrolic

Sharing some links as reference to existing attempts to integrate the BMI160 with an arduino/teensy.
sensor docs:
https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi160/
Libraries for teensy:
https://github.com/mjs513/Modified-BMI160---BMM150-Arduino-Libraries
library for arduino (curie)
https://github.com/hanyazou/BMI160-Arduino
With discussion on how to adapt this library to teensy (https://forum.pjrc.com/threads/60892-Read-BMI160-senor-6DOF-2-click-with-Teensy-3-6)

no longer relevant


Enhancement: Added Features Flags & Video Resolution

Can you please drop the Android gradle changes?

@saghul Android gradle changes has been dropped


How to  use Caadyfile in caddy service

caddy -service start Caddy

where is  Caddyfile？

@zuohuadong  Presumably in the same directory as the Caddy executable.

Thanks @tobya 😄
@zuohuadong and when you install the service for the first time, the flags you use in the command will be the same that the service will use. So, if you run:
caddy -service install -conf c:/Caddyfile

Every time the service starts it will use c:/Caddyfile for configuration.

Actually I'm wrong it wont use the caddyfile from the directory, it is from somewhere else.
To ensure this works always specify the caddyfile as above.

Sorry! By default @zuohuadong it will use the Caddyfile in the current working directory. That's just how Caddy works. This plugin only adds a service into it, nothing else. The Caddyfile part is still done by Caddy itself.
Since I don't know where the current working directory for services is on each OS, you should, as @tobya said, always specify the Caddyfile via flag.
Sorry for the mistake before 😞

I think caddy works by using the caddyfile in the directory which the caddy executable resides in, which is not necessarily the working directory.  The service does not load the caddyfile from the executable directory, and must be specified.
I think it would be good to update docs to say that it is -essential- to specify the caddyfile eg update the command install to this in the docs
caddy -service install [-name optionalName] -conf="c:\caddy\Caddyfile" -log "c:\caddy\logs\caddyservice.log"

For what I know Caddy always uses the Caddyfile from the working directory
if not specified. I always have the executable in a separate folder only
for binaries and whenever I run Caddy command it will use the Caddyfile on
the cwd.
Thanks for the suggestion! We'll add a note for that. ☺
On Sun, May 28, 2017, 12:50 PM Toby Allen<EMAIL_ADDRESS>wrote:

I think caddy works by using the caddyfile in the directory which the
caddy executable resides in, which is not necessarily the working
directory. The service does not load the caddyfile from the executable
directory, and must be specified.
I think it would be good to update docs to say that it is -essential- to
specify the caddyfile eg update the command install to this in the docs
caddy -service install [-name optionalName] -conf="c:\caddy\Caddyfile" -log "c:\caddy\logs\caddyservice.log"
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bruhs/caddy-service/issues/4#issuecomment-304508931,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFMdsI4rSS828WIOfDHn_C6X6elgrPyWks5r-V9tgaJpZM4NmIoD
.


The pma_scan module breaks

The pma_scan module is broken and gives error when run.

Code is breaking somewhere in start()

Please Describe the issue or question and share your OS and Python version.

OS: Linux
OS Version: Ubuntu 18.04
Python Version: 3.6.9

this  bug is happening Python3 only. Python2 version works


ERROR: Unable to download API page: urlopen error [Errno -2] Name or service not known

Every time I try to play a song with the play or search command, I get this error few second after. I never got that error before. Is there a way to fix this?
ERROR: Unable to download API page: <urlopen error [Errno -2] Name or service not known> (caused by URLError(gaierror(-2, 'Name or service not known'),))

What's the website you are trying to use, or the url you are trying to use?

I do not know, but it is related to the default !play function and the !search function. It does not tell me more than that..

No, like what are you doing with those commands?
example:
!play https://www.youtube.com/watch?v=CEOrv3XG30c
or
!search cherry pie warrant

https://cdn.discordapp.com/attachments/169555114141548544/187063379045777409/2893a9b908b14cc492fdcd0027288857.png

same error for the search

after doing some print f, knowing where it had problems, it stopped at this command (in the !search)
try:
            print("it crash here?")
            info = await self.downloader.extract_info(player.playlist.loop, search_query, download=False, process=True)
        except Exception as e:
            await self.safe_edit_message(search_msg, str(e), send_if_fail=True)
            return

For some reason, everyting seems to work fine again. Maybe it was the API's fault again


Perturbation with 0 values

@WPringle I noticed that in some cases, e.g. 3 perturbation, the 2nd vortex perturbation get's 0 values in json which results in a track similar to original. Is that intended?
==> florence_2018_b6ee0579-d77d-4c2f-a599-4b19f7e13336/setup/ensemble.dir/track_files/vortex_4_variable_korobov_2.json <==
{
  "cross_track": 0.0,
  "along_track": 0.0,
  "radius_of_maximum_winds_persistent": 0.0,
  "max_sustained_wind_speed": 0.0,
  "weight": 1.0
}
==> florence_2018_ef7d5855-c68f-4421-9d24-473265ef3f70/setup/ensemble.dir/track_files/vortex_4_variable_korobov_2.json <==
{
  "cross_track": 0.0,
  "along_track": 0.0,
  "radius_of_maximum_winds": 0.0,
  "max_sustained_wind_speed": 0.0,
  "weight": 1.0
}

@SorooshMani-NOAA Yes, if use korobov with odd number of ensembles then the middle member will be all zeros. It makes sense for the zero/original track to be part of the ensemble imo.

@WPringle what I mean to say is that in this case we have both a "zero" track and an "original" track. I need to go back and check but if I remember correctly we take both original and zero track in this case as inputs, so we'll have a weight associated with the zero track, maybe then the right approach is to always do even number ensembles. What do you think?
Just FYI @FariborzDaneshvar-NOAA

@SorooshMani-NOAA The original track was not supposed to be considered part of the ensemble. It was just a reference run. But maybe the workflow you have does something different?

Oh, OK, I need to check it again then, for some reason I thought it is being considered as a part of ensemble! Thanks!

You're right, I just noticed here we correctly ignore original:
https://github.com/noaa-ocs-modeling/EnsemblePerturbation/blob/a2e545b43bf6424c27cfb6cab60217b4c64d9e01/ensembleperturbation/perturbation/atcf.py#L2100-L2117
Which is the same thing we end up calling from the workflow when combining results.


Fix rendering issue in readme

README.md in root of repo had extra code fencing notes that caused the "Source Map Support" section to get treated as code and incorrectly rendered.

Thanks for the fix!


fe homework 8 completed

get all recipes and print all recipe

get particular recipe

bonus part -frontend UI

drift

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
42

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
0

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Commit message must be according to the proper format
Modularize the code
Work on the code readability, code fragmentation (separating into different files)
Format the code properly

Follow the by default defined folder structure by the TS

Avoid using class components instead use functional components


prognostic_run: sklearn runfile separation of concerns improvements

The logic of the prognostic run runfile is difficult to follow and extend. Here are a few particular issues with possible solutions. Taken from a slack thread with @nbren12.

~remove the tendency_variable and storage_variables configurations and infer them from the diagnostics configs~
~Rectify the weird coupling between MonitoredPhysicsTimeLoop, monitor, and Loop class. monitor is passed the entire time loop class which allows for weirdness.~
De-duplicate the copy/pasted code here:
https://github.com/VulcanClimateModeling/fv3net/blob/149b545c5dd633cae746f938e84fb82906623bc0/workflows/prognostic_c48_run/runtime/diagnostics/machine_learning.py#L14-L17
~refactor the specific humidity logging to the sklearn_runfile main. It is currently implemented here:~
https://github.com/VulcanClimateModeling/fv3net/blob/95a60a4fd7ac361ed57207a275a786050ea55f7f/workflows/prognostic_c48_run/runtime/loop.py#L413-L426
~but should be here:~
https://github.com/VulcanClimateModeling/fv3net/blob/74d9ba08e7496abcbb314b5d1258d7a700eb7c9e/workflows/prognostic_c48_run/sklearn_runfile.py#L55-L57
blow up the get_diagnostics and get_momentum_diagnostics methods of the Stepper classes
https://github.com/VulcanClimateModeling/fv3net/blob/149b545c5dd633cae746f938e84fb82906623bc0/workflows/prognostic_c48_run/runtime/steppers/machine_learning.py#L209-L214

Related: #1159, #896

These points have all been resolved by above-referenced PRs.

Thanks Oli! This was a great push to prep the prognostic run code for future development.