Q: saic/_internal/lwt polling State every second

Hi Devs,
I just found that my Message Counter goes up every second. Reason is polling saic/_internal/lwt  State (online/offline) every second.
What exactly is queried here?
Does this mean API calls are generated every second?

See #82.

thx


Add support for remaining Credentials

Except Custom functions (which require BSON support) and Google Auth Code (which require support being added to the C-API).

LGTM 🚀


something error，mmcv don't have Config and DictAction

from mmcv import Config, DictAction
from mmcv.parallel import MMDataParallel
from mmcv.runner import get_dist_info, init_dist, load_checkpoint
from mmedit.apis import multi_gpu_test, set_random_seed, single_gpu_test
from mmedit.core.distributed_wrapper import DistributedDataParallelWrapper
from mmedit.datasets import build_dataloader, build_dataset
from mmedit.models import build_model
from mmedit.utils import setup_multi_processes
ImportError: cannot import name 'Config' from 'mmcv'
Error reported during test run, unable to find these packages

mmcv-full==1.7.1 is used

I have installed mmcv full==1.7.1 and mmcv==2.0.0, but I still cannot find these package files

maybe you need to uninstall mmcv==2.0.0, and only keep the mmcv-full==1.7.1

I have installed mmcv full==1.7.1 and mmcv==2.0.0, but I still cannot find these package files

or you can just modify the mmcv to mmengine in import

I have installed mmcv full==1.7.1 and mmcv==2.0.0, but I still cannot find these package files

or you can just modify the mmcv to mmengine in import

Thank you. I solved that problem, but I have encountered a new one
ModuleNotFoundError: No module named 'mmcv._ ext'

ModuleNotFoundError: No module named 'mmcv._ ext'

I have this problem too, had you found the solution ?


Enable autodetection of best mode by default

Guys tryed to use guetzli with XNview

It would be VERY helpful if you could provide an exe file which uses the -- auto switch automatically without the need for a batch file.

Another vote for this https://sourceforge.net/p/nikkhokkho/tickets/107/

It works perfectly! Thanks a lot, doterax.

I wrote a GUI, maybe someone has a use for it. Hope its OK to post it here, If not, feel free to erase this posting.
Since the exe files creates some batch files in order to handle the guetzli commands and the commands for exiftool, some AI based scanners detect it as positive. Please check at virustotal.com. To the best of my knowledge and belief, the file is free of viruses. Readme is included in the zip file, exiftool.exe and guetzli.exe are needed but not included.
CUDA_guetzli_GUI.zip
Have fun!


Update linux binaries link

The link in install.js for x64 linux binaries is https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
And it is no longer working (page not found). You should update this link.

Same issue here :(

https://github.com/Hackzzila/node-ffmpeg-binaries/pull/23


How to add custom Nunjucks Filters

Hello,
Sorry in advanced for my noobishness in this...
I have made a custom Nunjucks Filter but I can't find a way to add it to the Unibit dependency Nunjucks in order to extend it as it was described in Nunjucks documentation..
Could somebody help me to navigate through this?
The custom filter I made is in the file located at /index.js has the following:
var nunjucks = require('nunjucks');
var env = new nunjucks.Environment();
var crypto = require('crypto');

env.addFilter('md5', function(str) {
    return crypto.createHash('md5').update(str).digest("hex");
});

But it is not being picked up by anything..
What i need is the following to work:
{% hash = some_variable | md5 %}

Regards

Hi, @andriusdj
Currently Unibit doesn't support adding custom filters. And although it is fairly easy to add custom filters to Unibit itself, as your example shows. The main concept behind Unibit is that themes written on Unibit are convertable to other static site generators (SSG) by Stackbit: https://docs.stackbit.com/unibit/
Therefore, before adding a new filter to Unibit, one make ensure that this filter is also supported by every SSGs currently supported by Stackbit. Currently these are "Gatsby", "Hugo" and "Jekyll".
If an SSGs does not support a specific filter out of the box, but can be added using its own plugin system. Then, that filter needs to be created for that SSG first. And only then Stackbit's Unibit to SSG conversion process could be updated to incorporate that custom filter into the generated site. This "site conversion process" is not public, and therefore require Stackbit team to do some extra work to allow that filter to be converted properly to other SSGs.
Some SSGs like Hugo for example do not have a simple way to add new custom filters. The only way to add new filters in Hugo is by submitting a request to Hugo community to add that filter natively.
Luckily, md5 function is supported by Hugo out of the box: https://gohugo.io/functions/md5/.
Gatsby, as being React based SSG, can also support md5 easily, for example by using npm md5 package supported both on server and client side.
The problematic SSG in this case is Jekyll, I couldn't find any md5 filter there - https://jekyllrb.com/docs/liquid/filters/. It means that this filter either need to be created or find an existing one.


Troubleshooting why some events are not being registered on Android device

Hi, I was trying to check to see if scrcpy provides an option to log interactions with Android device, such as taps, swipes etc. on the console. The reason I ask is that some clicks/taps are not registered and I'm not sure the issue is with the Android device, my computer or scrcpy.
On my MacBook Pro I have tap to click enabled on my Trackpad and some times when I tap it's completely missed so I need to tap it a few times in order for it to register, however if I physically click on the trackpad I believe it's working, so somehow I'm not sure why taps are not registered.
Also, I was wondering would you consider adding "Discussions" to GitHub? This is mostly a question for other scrcpy users as it's not technically an issue (yet) nor a feature request (could already have existing workarounds).
Thanks for any feedback!

It will be a little bit slow bit will workshop  https://github.com/Genymobile/scrcpy/issues/733

I tested qtscrcpy and it actually shows the coordinates when you tap and I discovered that taps are indeed missed. It's quite possible that I tap "too quickly" so while qt/scrcpy registered the tap, it wasn't held long enough for the app to register it as a "click".
I'm not exactly sure how this should be solved though.

You could add some logs in this function:
https://github.com/Genymobile/scrcpy/blob/d3d955f67b92d08bbee21bebce40fa072eea38f6/app/src/input_manager.c#L596-L605

I tested qtscrcpy and it actually shows the coordinates when you tap

qtscrcpy is a totally separate project, and I guess it receives input events via Qt (while scrcpy receives it via SDL). So if you have the problem with both, then I think the issue is either on your system or hardware.

@rom1v I think #2410 is probably the same feature request as this, in which case this ticket can probably be closed, thanks! Would still be nice to be able to have "Discussions" though :-)

@rom1v With v1.18, I am able to see verbose logging of events and I found something interesting. I'm not sure if it's normal but for some reason I can trigger 0ms delay events as follows:
2021-06-23 19:02:44.409 scrcpy[3838:62736] VERBOSE: input: touch [id=mouse] down position=604,390 pressure=1 buttons=000001
2021-06-23 19:02:44.409 scrcpy[3838:62736] VERBOSE: input: touch [id=mouse] up   position=604,390 pressure=0 buttons=000001

This particular event was not registered as a tap, whereas the follow is registered, and it has 6ms delay between events:
2021-06-23 19:14:26.113 scrcpy[3838:62736] VERBOSE: input: touch [id=mouse] down position=256,461 pressure=1 buttons=000001
2021-06-23 19:14:26.119 scrcpy[3838:62736] VERBOSE: input: touch [id=mouse] up   position=256,461 pressure=0 buttons=000001

Does this help troubleshoot why some events are not being registered? Thanks!

Maybe your device does not generate a tap when down and up are too close.
Could you test another Android device on the same computer?

Confirmed issue to be on Android device end, closing.


Toggle to NOT render HTML on Table viz

Is your feature request related to a problem? Please describe.
Sometimes I'm querying data with URL params. I always get people injecting SQL or HTML in here. Not usually a problem, but the Table viz is rendering this HTML. This is a security concern.
Describe the solution you'd like
I'd like to toggle this ON on a case-by-case basis in the "customize" tab. Might need a config flag for default behaviour, too.
Describe alternatives you've considered
Maybe a feature flag to turn this off for the whole implementation?

@rubypollev looks that's a bug in the table implementation. Looking at the logic: https://github.com/apache-superset/superset-ui-plugins/blob/master/packages/superset-ui-legacy-plugin-chart-table/src/Table.js#L154 it seems like the intent is for all content to be DOM/HTML escaped, however it seems like it's only applying it to string columns.
When you've experienced the issue, have people been injecting SQL and HTML in non-string fields?

@nytai I've only experience this with string fields. I see that string fields are sanitized, so this is less of a security issue than I thought it was. I'd still like an option to render string fields as... strings and not HTML.

yep, looking at https://github.com/cure53/DOMPurify it seems that the content is sanitized and not escaped.
I wonder if there's a strong case for rendering the strings as HTML in the table. Seems to be like it should default to rendering strings and render HTML based on some config (if there's a strong case for doing so -- I can't think of any right now).

There are lots of use cases for allowing links in tables. You might want a "leaderboard" type chart that links out to pages to individual entities, or a list of "support tickets" that links to the ticketing system.
We've also used this feature to link to other dashboards with a preselected filter, meaning clicking on a specific country entity in a data table could open some sort of country scorecard, ...
Do we think there could be a security concern outside of a type string?

Side note, I'm not sure if I like this <span class="like-pre"> wrapping, seems like it could add a lot (tens of thousands) of not super necessary dom elements just to white-space: pre-wrap;. We could probably just do that on table.dataframe td instead.

Hi, I also have a problem with Column being rendered as html. This is not wanted. I want to display text from database, without being rendered as html. In my case, there is text<EMAIL_ADDRESS>in my column, which then disappears in table chart. How can I disable htlm rendering (for this column, or for this chart, or for whole application)? Using docker and superset version "x-superset-image: &superset-image apache/superset:${TAG:-latest-dev}" at the time of this posting, which shows "About Version: 0.0.0-dev"

SELECT 'Test' AS test_output; use in superset


docs: change much more pages for many more pages

Motivation
Something that a friend noticed when I was sharing screenshots of the preview deploy of #6090, figured I might as well fix it right away.
For the sake of explaining the change if at all necessary, here's a good StackExchange: https://english.stackexchange.com/a/47921. TL;DR is that it's "many more" with countable nouns, and pages are countable.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Yes
Related PRs
N.A.

I would deem them as equally correct. In a related thread: https://english.stackexchange.com/questions/371335/much-many-fewer
Generally, "many more pages than X" means "there are many pages; more pages than X" where "many" is an adjective. "Much more pages than X" means "more pages than X" where "much" is an adverb describing the extent of "more".

Anyways, I guess "many more" sounds more natural. Would still be willing to merge this, just waiting for the CLA bot to wake up


Fix few issues with the benchmars

Specifically:

xgboost converter needs input test data to get the number of features
xgboost > 0.90 introduces feature names in the tree nodes when the datasets is in dataframe format. To make the benchmark generic, all datasets are no transformed into numpy arrays.

While doing the above, I also refactored the code (why not!)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #354   +/-   ##
=======================================
  Coverage   91.26%   91.26%
=======================================
  Files          57       57
  Lines        3227     3227
  Branches      635      635
=======================================
  Hits         2945     2945
  Misses        146      146
  Partials      136      136

Flag
Coverage Δ

#unittests
91.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


fix(deps): replace dependency @material-ui/styles with @mui/styles ^5.0.0

This PR contains the following updates:

Package
Type
Update
Change

@material-ui/styles (source)
dependencies
replacement
^4.11.5 -> ^5.0.0

⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
This is a special PR that replaces material-ui-styles with the community suggested minimal stable replacement version.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (^5.0.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Add zoxide as cd

What do we think about just aliasing cd to zoxide?
https://github.com/ajeetdsouza/zoxide

we are currently using eza as ls.
We could grab this, fd, rg, and bat?

there is some issues with bat, but eza, zoxide, rg, and fd are now in the image.

#47


Abstract Commonly Used Annotated Type Definitions

Add annotated type definitions for commonly used Annotated Strings. This avoid redefining them in multiple places.
It also ensures that if we need to make an update, it only happens in one place.
The MITRE CVE Type annotations were wrong in a number of places - because they were not defined correctly, (notable, they were missing the Field() around the pattern) they were not working. For example:
id: Annotated[str, r"^CVE-[1|2]\d{3}-\d+$"] is WRONG and should be
id: Annotated[str, Field(pattern=r"^CVE-[1|2]\d{3}-\d+$")] if used directly

@pyth0n1c none of the CI tests run with --enrichments - have you tested running this with that?


[SPARK-14412][ML][WIP]spark.ml ALS prefered storage level Params

What changes were proposed in this pull request?
Added storage level params in ALSParams.
How was this patch tested?
Passing existing Unit test Cases
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Can one of the admins verify this patch?

You can add the new params (with non-default settings) to allEstimatorParamSettings in the ml.recommendation.ALSSuite tests (they will then be tested under the "test read/write" case).

Can one of the admins verify this patch?

@MLnick : I need to study how MLParam works.For now,I am closing this PR.You can take this forward.Thanks.

@rishabhbhardwaj To study that, I'd recommend picking an algorithm + a Param in it, and finding all usages of it, the Param set/get methods, and tests for it.  That should give you a complete example to follow.

Can one of the admins verify this patch?

@rishabhbhardwaj I opened #12660 to address this. You can take a look at it to get an idea of how the params work and the test cases for this which are a little more complex than the usual "add a param to ML" scenario.

@MLnick @jkbradley Thanks, I am on it.I tried making the changes as per your comments but closing this PR now, as nick has created a PR for this.


Add automated accessibility testing

We state to go with Storybook.
Hence, accessibility test:

automated: within Storybook
manual: with Axe Chrome extension

If we're good with that, I think we can close this issue.


Adding evil motion state bindings

Copied over the normal state bindings for use in evil motion state.

I'm confused by this change - the code just seems to bind to normal mode a second time. What am I'm missing?


Access-Control-Allow-Origin is missing when I define corsOptions.origin

I use "cors": "^2.8.5",
When I call cors without parameters, I receive Access-Control-Allow-Origin header matching any URL.
app.options('/v1/authorizeUser', cors());
Response:
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET,HEAD,PUT,PATCH,POST,DELETE
< Vary: Access-Control-Request-Headers

Then I pass corsOptions with single URL and it is returned in the header.
const corsOptions = {
    origin: 'http://example.com',
    optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
};
app.options('/v1/authorizeUser', cors(corsOptions));

Response:
< Access-Control-Allow-Origin: http://example.com
< Vary: Origin, Access-Control-Request-Headers
< Access-Control-Allow-Methods: GET,HEAD,PUT,PATCH,POST,DELETE

But when I pass an array, the header is missing at all and Chrome refuses to continue.
const corsOptions = {
    origin: ['http://localhost', 'https://www.mezinamiridici.cz'],
    allowedHeaders: ['Content-Type', 'Authorization'],
    // preflightContinue: false,
    optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
}
app.options('/v1/authorizeUser', cors(corsOptions));

Response
< Vary: Origin
< Access-Control-Allow-Methods: GET,HEAD,PUT,PATCH,POST,DELETE
< Access-Control-Allow-Headers: Content-Type,Authorization

Expected behaviour: either pass the header for each item in the array (not sure if allowed) or pass wildchar.

What is the Origin request header you are sending?

Basically if you do not send an Origin request header that matches one of the strings in the array passed to this module, this module does not send that allow origin header back. This is following https://www.w3.org/TR/cors/

I tested it with curl having no headers:
curl -v -X OPTIONS http://<IP_ADDRESS>:3000/bff/polls/last
What sent Chrome I cannot find anymore because they stopped displaying OPTIONS request.

Please try it yourself, the source code is there.

I tried it and it works as expected.

My configuration issue. I did not specify the port. When I added it, it
started to work. It is a pity that Chrome does not display OPTIONS anymore.
st 22. 4. 2020 v 20:50 odesílatel Douglas Wilson<EMAIL_ADDRESS>napsal:

I tried it and it works as expected.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/expressjs/cors/issues/190#issuecomment-617963878, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQWNNYXMWYF2OHR2YUZQ33RN436PANCNFSM4MOM2NXA
.


tls support for listeners

Proposed feature
modifications on template config.hcl to support tls on listeners. in this step only configure cert and key files if tls_disable == 0. Previously, copy both files to server before role execution.
Rationale
Why is this feature required?
Its, important for security concerns.
Please consider sponsoring me.

Implemented in 4.5.0. Thanks once again!


ERROR: Cannot install -r requirements.txt (line 5) and urllib3==1.26.5 because these package versions have conflicting dependencies.

Commit ff6119d7781d237650d0dc18c86fa33837e7731d broke the requirements.txt.

Cloned the repo as is
System running Kali 2021.2, Python 3.9.2

It installs correctly with:

requests v2.25.1
urllib3 v1.26.5

Still need to check if it breaks something or not, but should likely be ok.

thx ! fixed


add logger root method

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

/lgtm


Run demo.ipynb

Hello. I opened the demo file and got this result, what is wrong with it?
The vicuna is lmsys/vicuna-7b-v1.5.
Thanks!

Hi, you should download vicuna-v1.1 instead of v1.5 according to the README file.


Missing makemigrations in Dockerfile

Hi,
I am trying to use this template and customize it for my personal needs.
I noticed that the Dockerfile misses a command to generate migrations (./manage.py makemigrations) before applying them (./manage migrate).
After adding a new model, I am left in need of accessing the command line and making the migrations manually for them to be taken into account.
It should be noted that I prefered using Django 1.11 for it being a LTS release. I checked if this has anything to do with Django's version but did not come to any conclusion.
It is probable that I am doing something wrong, even though I tried many times. Maybe I am missing something obvious.
Thanks

Why should the docker container make the migrations? They should be in your VCS anyways...

Hey @TAnas0, thanks for opening up an issue!
This is intentional; we don't want to create migrations automatically.
As @MrGreenTea pointed out, your migrations should be in version control. Additionally the developer should take care of how and when these migrations are created so that the resulting table alters are reasonable. For example, if we ran makemigrations on every restart; we'd have migration for every time we save and make a model change. This could be many many changes, typos, and mistakes. We'd really only want to record a single change for new schema we desire at that point in time. Also, not all changes can be handled automatically by django's migrations. Some alters need data migrations to work. Others, like renaming primary keys,  need multiple carefully thought out migration steps.


BUG: Alignment and Padding issue on the main page of qwik.builder.io

Hello,
For devices like iPad Air and iPad Mini, we are facing padding and Alignment issues for the below-mentioned sections.
Issue 1:
It's really good if we can add padding in b/w the lines.

Issue 2:
I guess in the below-mentioned issue the tailwind margin utility "mx-auto" was missing for that section element.

Should be fixed already!


Negative lookahead not supported

Thank you for this useful regex utility in solidity. Is negative lookahead not supported yet?
e.g. solregex --name TestRegex '^(?!00)\d{2}$'
For reference: http://www.regular-expressions.info/lookaround.html

Just noticed your readme, saying it is not supported.

Oh, this could stay open. It's something I'd like to support with this project!


⚠ ClamAV has degraded performance

In 3786bec, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 39 ms

Resolved: ClamAV performance has improved in a32c52b.


Project Samples: Filter by list of PUIDs

Problem
As a user of IRIDA Next, I would like to be able to filter the project samples table by a list of sample PUIDs.
Summary

Create a dialog containing a text area where users can type or paste a list of sample PUIDs.

Add a button to open the dialog to the right of the Filter by name input above the samples table.
These can be separated by spaces and or comas
Cancel and filter buttons

The server will validate that the PUIDs exist in the project and then update the table and select all of the filtered samples

Completed via #440


Is there any performance benefit of this plugin?

Yea I'm also wondering, are there any actual benefits of doing this? If it only causes trouble like #11, then why bother?


Working with objects

Just checking about the "wrapper for working with arrays and objects". Is this implemented yet? It's just when I pass in an object and try and use many of the functions: transform, map, pop etc. then it fails as it is trying to call the corresponding methods on this.items assuming that it is an array.
Am I doing something wrong or can I just not use objects in collect.js?
Brilliant library otherwise 👍

You can use objects in collect.js, but not all methods support objects like map so far. These methods only support array.

The issue is that PHP treats hashmaps and arrays as the same datastructure while they are different in JavaScript and basically everywhere else. Translating a PHP specific array library to JS will cause issues like you're having. No way around it really. Functions like map and pop do not really make sense on objects.

Open for PRs if there is a good way to do this 😄  Closing for now.


.files is missing from types

Hey Mistral team,
I'm excited to try out your fine-tuning API! Unfortunately it appears that the .files attribute (necessary for uploading a training file to the API before training) is missing from the TypeScript types. Some documentation is available on the npm README, but it's currently up to the developer to guess what the types are and define them ourselves.
Could you please ship the updated types? Thank you!

Thanks for reporting this issue. We have deprecated this package in favor of mistralai/client-ts, which is the new official Mistral client, compatible with both TypeScript and JavaScript.
You can find all installation information here.
This change is effective starting with version 1.0.0 of the npm package.
Let us know if your issue persists with the new package by opening an issue there.


Support TLS Connections in the syslog/rsyslog/syslog-ng Plugins

Currently none of the syslog type plugins support TLS Connections when using TCP. This PR will attempt to remedy that.

@Dylan-M Please be aware that the same change should be made to this branch in order to support a future otel implementation. Some differences include:

record is now named body
labels are now named attributes

Also, this is not merged yet but a good reference when writing labels and descriptions https://github.com/observIQ/stanza-plugins/pull/383/files

I'll make the same edits on the referenced branch for OTEL stuff as well. For the moment, this is the one we need a release by EOD if possible. Spoke yesterday with @jmwilliams89 about that.


Handle CSRF state params

CSRF check has been added to ueberauth since 0.7 and this repo is outdated with that changes which causes authentication failure with CSRF error.

Hi @andrewhao ! Any chances it can be merged?

+1


118 add losses and penalties modules or group under objectives module

also closes #86
This adds support for fully composable counterfactual generators.

Codecov Report

Merging #126 (d8f7f49) into main (73b2b2b) will decrease coverage by 1.70%.
The diff coverage is 77.58%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
- Coverage   81.51%   79.81%   -1.70%
==========================================
  Files          34       28       -6
  Lines        1136     1105      -31
==========================================
- Hits          926      882      -44
- Misses        210      223      +13

Impacted Files
Coverage Δ

src/generators/gradient_based/functions.jl
81.25% <0.00%> (-18.75%)
:arrow_down:

src/global_utils.jl
80.85% <ø> (ø)

src/models/Models.jl
71.42% <ø> (-3.58%)
:arrow_down:

src/objectives/loss_functions.jl
44.44% <44.44%> (ø)

src/generators/gradient_based/optimisers.jl
68.96% <68.96%> (ø)

src/counterfactuals/functions.jl
79.66% <70.45%> (-4.40%)
:arrow_down:

src/generators/functions.jl
72.72% <72.72%> (ø)

src/evaluation/measures.jl
85.71% <80.00%> (+16.96%)
:arrow_up:

src/objectives/penalties.jl
84.84% <84.84%> (ø)

src/counterfactuals/plotting.jl
88.67% <100.00%> (ø)

... and 5 more

... and 6 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix for deleting user when gogs instalation is on http://hostname/gogs

Thanks again!

I'm glad to help.

:wink:


[Fix] Truncate Names on Requests & Permit Holder tables

Notion ticket link

Truncate Names on Requests & Permit Holder tables

Implementation description

Add chakra Tooltip component
add extra css for overflow and ellipsis (white-space, overflow, text-overflow, max-width)

Notes

I'm not the best with css so if any of you css wizards know of a better way to do this lmk!

Checklist

[x] My PR name is descriptive, is in imperative tense and starts with one of the following: [Feature],[Improvement] or [Fix],
[x] I have run the appropriate linter(s)
[ ] I have requested a review from the RCD team on GitHub, or specific people who are associated with this ticket

green light from design! https://uwblueprint.slack.com/archives/C021S4WGHBR/p1633152006001900?thread_ts=1633139661.000900&cid=C021S4WGHBR


Hey Seems like we stopped receiving your coverage results. Check your CI server!

Issue
Coverage received successfully, but not displaying in Codacy
PHP Version
Tried it on 7 and 5.6
Operating System
Tried it on Mac and Linux
Expected Outcome
Coverage should display in the Codacy Dashboard and File page
Steps to reproduce the issue
Step 1 - Installed codacy/coverage (I preferred globally)
$ composer require global codacy/coverage

Step 2 - export token on terminal
$ export CODACY_PROJECT_TOKEN=<project_api_token>

Step 3 - Send clover xml file to Codacy
$ ~/.composer/vendor/bin/codacycoverage clover path/to/clover.xml -v

Actual Outcome
Terminal Output

Codacy Error's Message

@emamerto can you open a ticket with support at codacy dot com so they can track the specific case of your project?
From here the only thing I would suggest would be to check which commits you are sending coverage to.
I would recommend sending coverage from a build server like CircleCI or TravisCI automatically for every commit.

@rtfpessoa Additionally I am using Bitbucket Server and we use Bamboo for our build system, but I doubt that sending it from bamboo would make a difference since machine I was sending it from is identical.
Maybe specifying the commit would solve the issue, I would try this before sending a ticket to support. Thank you!

The build server is just to make sure you are sending for every commit.
About support is so they can check the project internally and see if there is any problem they can detect.

@rtfpessoa Thanks! My intention is to test my config so I was sending it manually.
So I just tried adding the commit hash of the last commit, and it's the same result 👎.
I'll check with support. Thank you!

Closing this issue here since there is not much we can do here. Let me know if we need to re-open.

I am having the same issue. Recently stopped working

@angelxmoreno please follow the same steps for support to be able to help you.

I am having the same issue. Recently stopped working. Codacy report is sending to codacy correctly. But the project status in showing Inactive in codacy.

Same here

I am having the same issue. Recently stopped working

@angelxmoreno @smohanty-mdsol have you guys got it resolved upon contacting the support?

@fasatrix Sorry, I do not recall

Hi Fabio,
I am not facing this issue right now. Thanks
Thanks & Regards
Santosh M
On Tue, Oct 29, 2019 at 10:53 AM Angel S. Moreno<EMAIL_ADDRESS>wrote:

@fasatrix
https://urldefense.com/v3/__https://github.com/fasatrix__;!in-LNeQdOnY!hSYmW9NKYVkUgkFvTKyvs2NisHNvLVKsyg8Sd3kt4p3JxL9mYHnrSa7rwVgw2w$
Sorry, I do not recall
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/codacy/php-codacy-coverage/issues/40?email_source=notifications&email_token=AGG2QMMKHBMG5VKSW6LRUW3QQ7CFZA5CNFSM4FP7VVEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECPIYPQ*issuecomment-547261502__;Iw!in-LNeQdOnY!hSYmW9NKYVkUgkFvTKyvs2NisHNvLVKsyg8Sd3kt4p3JxL9mYHnrSa7qybpucg$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AGG2QMO2UQK2KJK2REDMVB3QQ7CFZANCNFSM4FP7VVEA__;!in-LNeQdOnY!hSYmW9NKYVkUgkFvTKyvs2NisHNvLVKsyg8Sd3kt4p3JxL9mYHnrSa4qXMe5JQ$
.


Explore: authenticate the cf CLI with OIDC

Background
In #16, we have proved that we can get the shim to call the Kubernetes API on behalf of the user using OIDC tokens. We now want to understand if it's possible to make cf authenticate using OIDC tokens too. We know that the authentication flow currently implemented by cf is coupled with UAA and would not work against an OIDC provider.
What to do

Explore OIDC flows and understand which flow we should implement.

Explore ways to produce an OIDC token via the cf CLI. Options could be:

Read the token from the user's $KUBECONFIG
Implement a plugin
Add the new flow to the CLI

In this case, how could we make sure that the new flow would only be used on cf-on-k8s foundations?

CLI flag?
can we detect this via the /login call?

Given all OIDC authentication flows seem to rely on redirects, explore mechanisms like the one implemented by fly to spin up a local HTTP server that can receive the redirect.

Here is a sequence diagram showing a possible flow for OIDC Authorization Code flow with the CLI and the Shim: https://www.websequencediagrams.com/cgi-bin/cdraw?lz=dGl0bGUgT0lEQyBBdXRob3JpemF0aW9uIENvZGUgRmxvdwoKQWN0b3IgQWxpY2UKAAEFLT4rQ0YgQ0xJOiBjZiBsb2dpbgoKAAwGLT4rU2hpbTogR0VUIC8AFQZub3RlIHJpZ2h0IG9mIAAZBlNoaW0gaXMgdGhlIGNsaWVudCBvciBSZWx5aW5nIFBhcnR5IChSUCkKU2hpbS0-K09QAEwHZGlzY292ZXJ5LXVybApPUC0tPi0AbAZhdXRoIGVuZHBvaW50AGYPT1A6IE9QAGkIT3BlbklEIFByb3ZpZGVyAF4GLT4tAIFNCExvZ2luIFVSTACBNQZsZWYAgS8LaW5jbHVkZXMgc2NvcGU6b3BlbmlkLCByZXNwb25zZV90eXBlOmNvZGUsAIFSB19pZDogPElEPiwgcmVkaXJlY3RfdXJpOiA8VVJMPgCCMAktPi0Agl4FOiBDbGljayBVUkwgdG8AglYIAIJwCEZpcmVmb3gAgRwIdG8gT1AKAA4HAIIgB2F1dGhlbnRpYwCDQwZkYW5jZQCCIgcANQkAgQEIIHRvAIMMBQCBWw4AXAkAgWMJAIJXBWNvZGUAYQsAgmsLAIF1CAoAgyMMZ2V0IGlkX3Rva2UAg30HAIJBCE9QAIN3CgCBKQVkIHdpdGggT1AAg0QNADQJAIN-BwCEUwZwZXJzaXN0IABTBSBhZ2FpbnN0IGNvb2tpAHgIAIFeDGRvbgCBKwoAgloKABIFAIU6FGFwcHMAhTwQLwAQBQB5DGdlAHoHAIUZB2s4cwCBawYAIAoAhEULAEgMAINdCmFwcHMgbGlzdA&s=default
This keep the token very secure and away from the end user, but relies on state being persisted in the shim, and a session being established between the CLI and the Shim. Both of these points probably mean the implicit flow would be more simple and less intrusive to the CLI.

Here's a sequence diagram from the implicit flow. This would be driven from the CLI rather than the shim, and makes use of a local http server, like fly uses: https://www.websequencediagrams.com/?lz=dGl0bGUgT0lEQyBJbXBsaWNpdCBGbG93CgpBY3RvciBBbGljZQoAAQUtPitDRiBDTEk6IGNmIGxvZ2luCgoADAYtPitTaGltOiBHRVQgLwAVBm5vdGUgcmlnaHQgb2YgABkGU2hpbSBpcyB0aGUgY2xpZW50IG9yIFJlbHlpbmcgUGFydHkgKFJQKQpTaGltLT4rT1AATAdkaXNjb3ZlcnktdXJsCk9QLS0-LQBsBmF1dGggZW5kcG9pbnQAZg9PUDogT1AAaQhPcGVuSUQgUHJvdmlkZXIAXgYtPi0AgU0ITG9naW4gVVJMAIE1BmxlZgCBLwtpbmNsdWRlcyBzY29wZTpvcGVuaWQsIHJlc3BvbnNlX3R5cGU6Y29kZSwAgVIHX2lkOiA8SUQ-LCByZWRpcmVjdF91cmk6IDxVUkw-AIIwCS0-LQCCXgU6IENsaWNrIFVSTCB0bwCCVggAgnAIRmlyZWZveACBHAh0byBPUAoADgcAgiAHYXV0aGVudGljYXRpb24gZGFuY2UAgiIHADUJAIEBCCB0bwCDDAUAgVsOAFwJAIFjCQCCVwVjb2RlAGELAIJrCwCBdQgKAIMjDGdldCBpZF90b2tlAIN9BwCCQQhPUACDdwoAgSkFZCB3aXRoIE9QAINEDQA0CQCDfgcAhFMGcGVyc2lzdCAAUwUgYWdhaW5zdCBjb29raQB4CACBXgxkb24AgSsKAIJaCgASBQCFOhRhcHBzAIU8EC8AEAUAeQxnZQB6BwCFGQdrOHMAgWsGACAKAIRFCwBIDACDXQphcHBzIGxpc3Q&s=default
This is better for storing id tokens locally. The implicit flow however has no ability to use refresh tokens.

Looking at the CLI code, we found it uses OAuth (2?) to talk to UAA, but using flows that can't be used with OIDC (password and client_credentials). In particular, cf login --sso prompts the user for a passcode that needs to be generated separately, and then uses the password grant type to authenticate.

-- inlining the picture for the implicit flow, which seems the best candidate for a cf cli oidc login

Experiment: use an id token from dex, hack it into the ~/.cf/config.json, and see if we pass it through to the shim.
We replaced "AccessToken" in the config.json with the id token from dex.
On running cf apps, the CLI panicked. This is because the id token does not contain the claims user_name or client_id: https://github.com/cloudfoundry/cli/blob/5cfbf04b1e06e0fb7354ac8f37992775896ef465/util/configv3/json_config.go#L345-L348.
We modified that code to expect name, sub and iss for user_name, user_id and origin, and then the code stopped panicking. Finally, modifying Target in config.json to point to our locally running shim allowed us to successfully contact the shim.
The apps list worked fine when a cluster role binding for that user existed. And on deleting that binding, we saw the error propagated back through the CLI.

While playing with tokens extracted from $KUBECONFIG we realised that GKE tokens are not OIDC tokens :(

Today we managed to build a cf plugin based on the code from the Dex example-app and have an almost end-to-end experience!
The plugin prints a URL to the authentication provider and spins up a local HTTP server to receive the callback. The flow implemented is actually the Authorization Code one (because that's what the example-app used), so once the callback is received, the plugin exchanges the authorization code for a token and it stores it in the CLI config.
We managed to run a full cf oidc-login > cf apps flow, but there's a gotcha. This only works when starting from an existing, working CLI configuration. When we tried to do this starting from a clear config (we deleted ~/.cf), we realised that a bunch of fields are required:

Target needs to be initialised with the shim URL. If we try to set it via cf api, then the CLI will try to hit the / endpoint and fail.
OrganizationFields and SpaceFields also need to be initialized, and doing so via cf target fails in a similar way (the CLI will try to hit /v3/organizations).

Today I managed to finish the end-to-end cf cli flow that requires no manual editing of the cli config and proves that the cli will not  get in the way by calling /login unexpectedly. The complete guide on how to set everything up is here
Another interesting finding was that the implicit grant flow that we talk about above has been deprecated and we should probably use the PKCE flow.

Closing this issue since we have logged #33 to look into the auth flows more closely


Compiling under Linux

To make it compile both under Windows and under Linux, I changed the engine to a static lib. Hope that was Okay. If not, let me know, and I can cancel this pull request.
There are two other files that need to be changed on your end:
In Lapis/Lapis/vendor/imgui/premake5.lua, you need to add imgui_tables.cpp
Here's the diff:
$ git diff
diff --git a/premake5.lua b/premake5.lua
index 25c9db99..ad41b470 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -16,7 +16,8 @@ project "ImGui"
"imstb_rectpack.h",
"imstb_textedit.h",
"imstb_truetype.h",
-               "imgui_demo.cpp"
+               "imgui_demo.cpp",
+               "imgui_tables.cpp"
And in /home/beaumanvienna/dev/Lapis/Lapis/vendor/GLFW/premake5.lua, two files for Linux need to be added:
Here's a diff:
diff --git a/premake5.lua b/premake5.lua
index 8f7c5a07..d01cf9d8 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -42,7 +42,9 @@ project "GLFW"
"src/glx_context.c",
"src/egl_context.c",
"src/osmesa_context.c",
-                       "src/linux_joystick.c"
+                       "src/linux_joystick.c",
+                       "src/posix_module.c",
+                       "src/posix_poll.c",
The above two changes are in your submodules. You need to git rm the submodules, change the submodules per the above and then use git submodule add to add them again. Then you can pull in this pull request. It should then compile under both Windows and Linux.

Awesome! I'll check the diff later and merge if it is has not problems on my side. I must have forgot to push my latest changes because I did make some of those changes already 🤪.


默认情况下没有文件传上去

https://github.com/borenXue/webpack-alioss-plugin/blob/0331398d9d4be6a7eb8b875ee164688db354f7fa/src/index.js#L112
这里的compilation.asserts应该是compilation.assets

:tada: This issue has been resolved in version 2.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Is it possible to mock an Observable?

Hi,
I really like ts-mockito, so thank you for this library.  Following this guide on stubbing Observables in angular 2, it seemed straightforward to do a similar thing with mocks.
Consider a service with a method, getObservable(), that returns an Observable<SomeType>, where SomeType is simply a TS interface.  How would one setup a mocked object to override this method?
First I created some mocked data of type SomeType:
const mockedData: SomeType = {foo: 'bar'}

And then I stub the method call
when(mockedService.getData('1')).thenReturn(Observable.of(mockedData))

But this gives a runtime error (compiler has no problem with it...)
TypeError: Cannot read property 'methodStubCollection' of null
    at http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/node_modules/ts-mockito/lib/MethodStubSetter.js:18:1
    at Array.forEach (<anonymous>)
    at MethodStubSetter.webpackJsonp.../../../../ts-mockito/lib/MethodStubSetter.js.MethodStubSetter.thenReturn (http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/node_modules/ts-mockito/lib/MethodStubSetter.js:17:1)
    at Object.<anonymous> (http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/src/app/shared/services/activiti/activiti.handler.spec.ts:82:37)
    at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/node_modules/zone.js/dist/zone.js:392:1)
    at ProxyZoneSpec.webpackJsonp.../../../../zone.js/dist/proxy.js.ProxyZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/node_modules/zone.js/dist/proxy.js:79:1)
    at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/node_modules/zone.js/dist/zone.js:391:1)
    at Zone.webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run (http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/node_modules/zone.js/dist/zone.js:142:1)
    at Object.<anonymous> (http://localhost:9876/_karma_webpack_/webpack:/C:/Users/xbbl2q8/Desktop/development/ears-ui/ewh-earsui-angularui/node_modules/zone.js/dist/jasmine-patch.js:104:1)

Anyone ever seen something similar?
Also posted on SO (https://stackoverflow.com/questions/47035242/angular-observable-stubbing-doesnt-work-in-ts-mockito)
Dropping into the source, it looks like MethodStubSetter.js is not setting_this.methodStub when called  via the Observable.of() method.

Sorry, was stubbing the instance (mockedService) instead of the class (mock(ActivityService))


If parsing a function type fails, parseTypeReference() to ensure something is returned

Fixes #24565

Please port to release-2.9 as well

Couple of asides: looks like the current commit has a missing semi-colon and a TODO left in.

Actually, I'd like to leave the TODO in because parameters is typed as always being defined, and needs a ! in fillSignature that's suspicious.

@sandersn I know you've reviewed this a bunch of times already, but could you look at the last commit https://github.com/Microsoft/TypeScript/pull/24567/commits/77372fdfaade236f14850cd267b94445bd9ba17e ?


Support keras style programming in eager mode and enable tf.function

Background
Some of the design on Variable in current TensorFlow built on prerequisite of that variables are dense. And there is a gap between sparse Variable and dense Variable, since they have different shape mechanism, initializer implication, updating logic, etc., with agreement of RFC. Sparse Variable can be assume to be a superset to dense one, with more functionality and complex working mechanism.
Currently, in graph mode, the dynamic_embedding works fine, but in eager mode, we lack of either performance and not eazy to use. This PR aims to help the situation with supporting tf.function on dynamic_embedding and provide keras programming support.
In past versions of dynamic_embedding, we create a local variable to store the embedding lookup result temporarily, by calling embedding_lookup. If it was called inside scope of tf.function, the temporary variables will be translated to EagerTensor in the outputs:
@tf.function
def foo(devar, ids):
  lookup_result, trainable = de.embedding_lookup(devar, ids, return_trainable=True)
  return lookup_result, trainable

...

some_funcs_with_calling_foo()
tape.gradient(loss, [trainable])  # This will raise an error, since trainable is a EagerTensor, not a Variable.

Same issues are also existed when optimizers try to create slots.
Changes

Add a new class inherited from TrainableWrapper to lift the local variable out of the tf.function scope.
Support keras layers on dynamic_embedding

The CI was failed caused by keras #15586

https://github.com/keras-team/keras/issues/15586

Keras initializer may not only come from tf.keras.initializer, when Keras save and load model, it could come from keras.initializer. Also when Keras save model, it could be a functools.partial(). So in file "tensorflow_recommenders_addons/dynamic_embedding/python/ops/dynamic_embedding_variable.py", it may be better like this in _convert_anything_to_init function:
try:
  from keras.initializers import initializers_v2 as ikinit2
except ImportError:
  ikinit2 = None
  pass  # for compatible with TF < 2.3.x

def _convert_anything_to_init(self, raw_init, dim):
  try:
    init = raw_init.func # init may be a functools.partial
  except:
    init = raw_init
  valid_list = [init_ops.Initializer, init_ops_v2.Initializer]
  if kinit2 is not None:
    valid_list.append(kinit2.Initializer)
  if ikinit2 is not None:
    valid_list.append(ikinit2.Initializer) # init may come from keras.initializer
  valid_list = tuple(valid_list)
  while callable(init):
    if isinstance(init, valid_list):
      self.initializer = init
      init = init(shape=[1])
    else:
      try:
        init = init(shape=[1])
      except:
        init = init()
  try:
    init = array_ops.reshape(init, [dim])
  except:
    init = array_ops.fill([dim], array_ops.reshape(init, [-1])[0])
  init = math_ops.cast(init, dtype=self.value_dtype)
  return init

Accept


max file size ?

What is the maximum file size ?
It seems its only 500kb. I want to load files with several gigabytes of size into the pagecache tho.

Try ./vmtouch -m 100G

wow, that was quick.
Thanks.
Works fine now. You know by any chance what the hard limit is ?

The default is 500mb. This is mostly because of a limitation on 32-bit platforms. Because vmtouch mmap()s each file, it must be small enough to fit in your virtual memory address space. In other words, this value must fit into a size_t.
On 32-bit platforms the hard limit is 4gb, although mappings that large will likely fail. Realistically it's probably closer to 2gb.
On 64-bit platforms there is essentially no hard limit, or rather the limit will be imposed by your filesystem, not vmtouch. I've considered raising the default on 64-bit platforms.
Cheers,
Doug

As of 1.0.1 there are no artificial limits by default, and you are only bound by the hard limits mentioned above.
The -m flag still exists for backwards compatibility and in case you wish to impose an artificially lower limit on yourself for some reason.
Thanks!


[Docenhancement][Universalactionsimage]

Changed mobile image Universal Actions for Adaptive Cards for both Teams and Outlook in Overview page.

Docs Build status updates of commit cecaee6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/adaptive-cards/mobile-universal-bots-teams-outlook.jpg
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit a234865:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/adaptive-cards/mobile-universal-bots-teams-outlook.jpg
:white_check_mark:Succeeded
View

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


No OTP entry found: illegal base32 data at input byte 48

Summary

Amazon secret keys can be 52 bytes long. Attempting to generate OTP for these result in the following:
Error: No OTP entry found for Test: illegal base32 data at input byte 48

Steps To Reproduce
Test.gpg
Test
---
totp: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Then execute:
gopass otp Test

Expected behavior
OTP password is generated.
Environment

OS: Arch Linux
OS version: Linux harmonia 5.4.53-1-lts
gopass Version: gopass 1.9.2 (2020-07-13 14:34:42) go1.14.4 linux amd64
Installation method: Arch Linux community repository

The key they provide just needs padding - for a 52 character TOTP key, append ==== to pad it out to an 8-character boundary. This could be done automatically.
See: https://github.com/rsc/2fa/pull/4

Oh wow, I wasn't aware of that. I was able to get it to work with that. Thanks!

I am doing some attempt at fixing this. I might need some guidance after I have something that I think works.
Some testers to see if otp still works.


What version of tdlib is exactly needed?

I tried to build 1.3.6 revision and got an error after a client was connected:
[ 0][t 1][1565432343.586966515][LogEvent.h:207][!NetStatsManager][&version() < static_cast<int32>(Version::Next)]       Wrong version 19

Does tdlib-ruby need an earlier revision?

Yes, it depends on tdlib==1.3

@snoopcatt This mean I need to use code with v1.3.0 tag from tdlib/td repo?
I've compiled two versions of libtdjson.so (1.3.0 and latest, 1.5.0), and both doesn't works properly with tdlib-ruby 2.0. On 1.3.0 I have application fails with description "Wrong version 22", on 1.5.0 I have timeout errors in async code (although log contains requests and responses as if all ok).

Just contacted the developer of typeization and together we reached an understanding of the problem.

Currently Telegram servers blocks requests with old TDLib versions. TDLib 1.5.0 should be used.
This version of gem will be work after re-generating of TL-classes, see #14 and file td_api_tl_parser.rb from commit. Also some manual fix after regeneration is required (you will see it as syntax error after trying to require).

I hope this change will be added as PR soon.

I created PR #25 which replaces tdslib support for v1.5. I don't have an application to test the new methods but authentication works fine.
This change will require a new gem release which I'll leave to the maintainer.

2.1.0 released with support for tdlib 1.5.0 Thanks @bdevel


IDENTITY-6211 scim-schema-extension.config location is inconsistent with other identity configurations

scim-schema-extension.config is not under repository/conf/identity. It is still under repository/conf. This is inconsistent with all the other identity related configurations.
Labels
Type: Improvement
Priority: Normal
Component/s: scim
Labels: component_verified migration
Severity: Major
Estimated Complexity: Moderate
Issue migrated from: https://wso2.org/jira/browse/IDENTITY-6211

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Add more projects in the /projects-ideas page

Add Intermediate & Hard Projects

Let fix this issue @code-architects

Not closing this, as we can add more projects to the list xD


Fix compile tflite runtime failure with gcc 5.4

Signed-off-by: jinshiying<EMAIL_ADDRESS>

bors r+


Error updating help on vanilla Windows 10 Anniversary build

Symptom
Error message:
update-help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Operation.Validation' with UI culture(s)
{en-US} : The value of the HelpInfoUri key in the module manifest must resolve to a container or root URL on a website
where the help files are stored. The HelpInfoUri 'https://www.msn.com/?ocid=NEFLS000' does not resolve to a container.
At line:1 char:1
+ update-help -force
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : InvalidHelpInfoUri,Microsoft.PowerShell.Commands.UpdateHelpCommand

Repro

Build a fresh Windows 10 Anniversary Update Enterprise Edition VM
Run Update-Help -Force under administrative PowerShell prompt

Cheers,
Trevor Sullivan
Docker Captain
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86

This should already be fixed in a Win10 update


Remove core module

This module was never public-facing: it only contained the private IOSetup that contained logic to unsafely initialize the Dispatcher and acquire Resources. I'm no longer convinced that sharing this logic is worthwhile since we can do better things in platform-specific code.

On the JVM we can do this initialization by blocking during construction of the handler class. This is better, because it means the AWS Lambda runtime will properly recognize the initialization period and not send begin sending events until it is complete.

On JS I'm hoping we can do something similar with a top-level await, see https://github.com/typelevel/feral/issues/246#issuecomment-1836993659.

Makes sense to me!


feat: Add article count to navigation bar

This PR primarily aims to add the article count to the navigation bar in article annotation project. In addition, a placeholder for the left-side component is also added and later should be replaced with the real component.
What's changed:
Backend:

backend/examples/urls.py : Add the api endpoint url for getting a list of unique article ids, which on FE is used to get total article count and check the place of the currently annotated article (i.e. x of y articles). Previously I used the existing api endpoint for this purpose but I'm worried that retrieving unnecessary columns may degrade the performance when we have thousands of data. Notably, though, the existing api endpoint can already be used for retrieving texts of a specific article id, we just need to add article_id into the search_fields.
backend/examples/serializers.py : Add a data serializer for the article id list.
backend/examples/views/example.py : (1) Add article_id into the search_fields of ExampleList. (2) Add the view class for the article id list.

Frontend:

frontend/components/tasks/toolbar/buttons/ButtonPagination.vue : Add isArticleProject, articleIndex, and articleTotal props which are used when the current project is article annotation project, and also conditionally select the span to use based on isArticleProject value.
frontend/components/tasks/toolbar/ToolbarLaptop.vue : Add isArticleProject, articleIndex, and articleTotal props, so that it can pass these values into <button-pagination>.
frontend/domain/models/example/exampleRepository.ts : Add articleIds interface.
frontend/repositories/example/apiDocumentRepository.ts : Implement articleIds interface, which makes a request to the article id list endpoint.
frontend/services/application/example/exampleApplicationService.ts : (1) Add fetchAll() method for retrieving all texts of a particular article id, notably we can search by article id by passing it into the q parameter. (2) Add fetchArticleIds() method for retrieving a list of unique article ids.
frontend/pages/projects/_id/article-annotation/index.vue : (1) Add a placeholder for left-side article viewer component. (2) Use fetchAll() to load current article into the placeholder. (3) Use fetchArticleIds() to retrieve list of unique article ids and calculate the "x of y articles".

Notable:

Currently, BE always sets a default limit of the query to 5 even if FE doesn't set the limit (backend/config/settings/base.py). So, except if we remove the default limit on BE (which I don't think is a good idea), FE must always specify a limit in the query. At the same time, one article can have up to thousands elements (most of them come from comments). That is why on FE in fetchAll() method I set the limit to 10,000 (I think it gives more than enough room for articles with lots of comments), and in fetchArticleIds() method I set the fixed limit to 999,999 (I think even after the dataset grows it will take forever to reach 999,999 unique articles).

Screenshots:

Thank you for the good work! I have tested it and it works well on my side; however I got some comments that might need checking. XD

I have changed the limit to be set as param with 999,999 as the default value, additionally I also made it so that it will take the value of count as well (because the max number of unique articles will never be greater than count of all texts xD), similar like the limit value in fetchByLimit(). XD


🐛 Parentheses aren't stripped during optimisation for function application.

We have an optimisation that can unwrap nested parenthesised expression so something like:
(((n - 1)))

can unwrap to:
(n - 1)

For function application, however, we can eliminated the parentheses entirely:
foo ((((n - 1))))

should become:
foo (n - 1)

Note that the parentheses here are not for grouping the expression but are how javascript does function application! Currently we don't do the final unwrap and we end up with:
foo ((n - 1))

This case also applies to conditions (if ((n - 1)) { ... }), and potentially match expressions (I haven't yet looked into their specifics).
However, I think this is a js specific optimisation. If transpiling to something like elm, the parentheses would still be required.
I don't know whether you want to add target-specific optimisation, leave it as-is for now, or just fix it for js and deal with any other targets if/when it causes issues down the line (if any other targets are added).

I don't think we should worry about platform-specific optimisations only for now, consider ren compile-to-js only. Sorting that out should come later, when we have a better idea of what those platforms are and have a better idea of how to organise the compiler around that.


Fix return type of tryit

Description
The tryit utility is super nice but is currently returning null in absence of either an error or a result. This makes it impossible to utilize default values during destructuring assignment.
As an example, this was previously not possible.
const = [err, result = []] = await _.try(getUsers)();

Checklist

[x] Changes are covered by tests if behavior has been changed or added
[x] Tests have 100% coverage
[x] If code changes were made, the version in package.json has been bumped (matching semver)
[x] If code changes were made, the yarn build command has been run and to update the cdn directory

This is available in v10.0.0 🥳


Epic: Support Asynchronous Operations

Description:
We will need to allow users to run async functions in the user-defined submit function, and possibility other stages.
Tasks:

[ ] #29

We would like to allow the user to run functions in between action and outtake stages. This allows asynchrony functions to be pushed out of Wolf.
Requirement: provide function to allow users to push confirmation messages to the pendingWolfStage.messageQueue.

We need to think about providing the user an integrated experience to use Wolf in parallel with their own botbuilder dialog flows (sendingActivities).

solution:
// action stage
// user async function -> string
// add string to pendingWolfState.messageQueue
// outtake stage
// outtake returns object with all message strings

this allows:

asynchrony functions pushed outside of wolf
user has control over message output


DEP0001 : Unexpected Error: Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9)

This will happen if an application registry gets stuck on your physical device. Even if you check uninstall/reinstall on the debug pane of the project properties, the message can still occur when using a physical device. To work around this issue, go to the appxmanifest for your project and change the guid. Your device will have some old cruft left on it, but you can now continue to develop and deploy to your device. Hopefully people searching for DEP0001 : Unexpected Error: Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) can find this post and use the workaround.

I am having this problem.  I tried changing the GUID, installed and uninstalled several times, restarted phone, restarted PC,  and still get the same error.  Any other ideas out there?


tiny fix for WM always being detected as Kwm on macOS

the grep command which included [c]hunkwm in it's search parameters was triggering the *"kwm"*) glob in the switch statement, since the kwm substring of [c]hunkwm fits the glob pattern, if that makes any sense....
This was the most obvious and simplest fix I could come up with

LGTM :+1:
Thanks!


Missing CLK_HROW_BOT_R bits

These bits are missing in the current artix7 database. However, they can be found in kintex7 database:
CLK_HROW_BOT_R_CK_BUFG_CASCO22.CLK_HROW_BOT_R_CK_BUFG_CASCIN22
CLK_HROW_BOT_R_CK_BUFG_CASCO20.CLK_HROW_BOT_R_CK_BUFG_CASCIN20
CLK_HROW_BOT_R_CK_BUFG_CASCO2.CLK_HROW_BOT_R_CK_BUFG_CASCIN2

This is because the clock network fuzzing on the 50T fabric doesn't have a bottom clock cascade.  One solution could be to switch the main part from the 50T fabric to 100T or 200T fabrics, which do have bottom clock cascades.

I was able to generate those bits using A100T settings. For A200T I have the following error during fuzzing:
ERROR: [DRC PDIL-1] Invalid Site Configuration: Invalid configuration for site BUFGCTRL_X0Y1. Reason: Site pin to site pin route-thru requires conflicting attribute enum values for user logic element 'BUFGCTRL in site 'BUFGCTRL_X0Y1'. Att
ribute 'PRESELECT_I0' is programmed to 'FALSE' but needs a value of 'TRUE' for the route-thru.
.
ERROR: [DRC RTSTAT-2] Partially routed nets: 6 net(s) are partially routed. The problem bus(es) and/or net(s) are lut_6_o, lut_7_o, lut_8_o, lut_9_o, lut_10_o, and lut_11_o.
ERROR: [DRC RTSTAT-5] Partial antennas: 7 net(s) have a partial antenna. The problem bus(es) and/or net(s) are lut_6_o, lut_7_o, lut_8_o, lut_9_o, lut_10_o, lut_11_o, and mmcm_clock_MMCME2_ADV_X1Y2_0.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net O_BUFR_X1Y3. The following site(s) are invalid: BUFGCTRL_X0Y1.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net lut_10_o. The following site(s) are invalid: BUFGCTRL_X0Y1.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net lut_11_o. The following site(s) are invalid: BUFGCTRL_X0Y1.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net lut_6_o. The following site(s) are invalid: BUFGCTRL_X0Y1.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net lut_7_o. The following site(s) are invalid: BUFGCTRL_X0Y1.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net lut_8_o. The following site(s) are invalid: BUFGCTRL_X0Y1.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net lut_9_o. The following site(s) are invalid: BUFGCTRL_X0Y1.
ERROR: [DRC RTSTAT-11] Invalid Site Programming: Invalid site programming for net mmcm_clock_MMCME2_ADV_X1Y2_0. The following site(s) are invalid: BUFGCTRL_X0Y1.

This issue has been resolved by https://github.com/SymbiFlow/prjxray/issues/1382


Make a VCS save on ctrl+s shortcut

Pull Request Description
Save a snapshot of the project directory to the VCS on ctrl+s. If the operation fails because the VCS was not initialized previously, it will try to initialize the VCS first and then save a snapshot.
Important Notes

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.
[x] If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide build and ./run ide watch.

So if someone wants to save a project with a particular name, that's gonna be a different operation?

Do you mean the ctrl+s shortcut being used to perform for example a whole project folder save in another location (instead of storing a project snapshot to the VCS as is implemented here)? Or having named VCS snapshots, not just time-stamped commit messages?

So if someone wants to save a project with a particular name, that's gonna be a different operation?

Do you mean the ctrl+s shortcut being used to perform for example a whole project folder save in another location (instead of storing a project snapshot to the VCS as is implemented here)? Or having named VCS snapshots, not just time-stamped commit messages?

The latter. I suppose there will be a follow up (vcs/save takes an optional name), right?

The latter. I suppose there will be a follow up (vcs/save takes an optional name), right?

Ok, yes. If I understand correctly the first step is to implement basic snapshot/restore functionality, which can be expanded to named snapshots later.

QA process passed, have a nice day!


Oliverturner svelte, fork of his PR with sticky footer link design idea

cc @oliverturner who i believe will get cred because he's got commits in the history. please review!

https://deploy-preview-7--transitions-css.netlify.app/


Update the nbdev version to nbdev2

This will improve the doc site aesthetics  (see new nbdev)

replaces jekyll w/ quarto for site generation
removes need for custom nbdev (since black formatting is already implemented in nbdev2)
lots of other improvements

Caveats:

some features (e.g. source links) are still being worked on
nbdev2 commands have changed slightly and will require readjustments esp. w/ GH workflows.
need to test the update thoroughly before deploying to prod.

on pause; waiting for updates on missing features

@butchtm migration to nbdev2 is fully done right? I'm closing this issue


python37Packages.gsd: 1.6.2 -> 1.7.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-gsd/versions.
meta.description for python37Packages.gsd is: '"General simulation data file format"'.
meta.homepage for python37Packages.gsd is: '"https://bitbucket.org/glotzer/gsd"

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.7.0 with grep in /nix/store/vscb0xvr6w1dv0dg771cm241zrgx0inc-python3.7-gsd-1.7.0
directory tree listing: https://gist.github.com/0efae389a0c7ead841793ce6c5a88c31
du listing: https://gist.github.com/26167b2566b146ba54fe92da387c04ac

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

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.gsd
python37Packages.gsd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vscb0xvr6w1dv0dg771cm241zrgx0inc-python3.7-gsd-1.7.0 \
  --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.)
Or, build yourself:
nix-build -A python37Packages.gsd https://github.com/r-ryantm/nixpkgs/archive/03a32ec60b59d4e62b08cd1388049ad3d2fd1cfb.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/vscb0xvr6w1dv0dg771cm241zrgx0inc-python3.7-gsd-1.7.0
ls -la /nix/store/vscb0xvr6w1dv0dg771cm241zrgx0inc-python3.7-gsd-1.7.0/bin

cc @costrouc for testing.

nox-review builds for me, macos 10.13 & non-nixos linux x86_64


Test Many issue

The Test Many feature is not working properly for me when using generic inference.
It seems that I can't test more images than the batch size that I used for training. For example, if I use a batch size of 16 in the siamese network example from the docs and I try to test more than 16 images this is what I get:

The result for the first four images is not correct. As you can see in the screenshot below, when I remove the last ten images the result for the first four images is correct.

Hi @danst18 are you using CuDNN 4.0.7?
$ dpkg -s libcudnn4
Package: libcudnn4
Status: install ok installed
Priority: optional
Section: multiverse/libs
Installed-Size: 60054
Maintainer: cudatools<EMAIL_ADDRESS>Architecture: amd64
Source: cudnn
Version: 4.0.7

Hi @gheinrich, the command doesn't find libcudnn4, probably because I manually placed the files in the cuda folders. However:
% ls /usr/local/cuda/lib64/*cudnn* -1
/usr/local/cuda/lib64/libcudnn.so
/usr/local/cuda/lib64/libcudnn.so.4
/usr/local/cuda/lib64/libcudnn.so.4.0.7
/usr/local/cuda/lib64/libcudnn_static.a

Ok, that rules out one possibility. What version of DIGITS are you using?
$ ./digits-devserver --version
3.3-dev

I was on 3.2-dev. I just updated to 3.3-dev and the problem persists.

I see it too ...

@danst18 can you try out #603?

@lukeyeager Sorry for my late reply. I just tried this and works fine :+1:


Cannot install gem because of HTTP 403 Forbidden

When I try to use a project that tries to install the gem via bundle, installation fails:
$ bundle install
Fetching gem metadata from https://rubygems.org/............
Resolving dependencies...
Fetching sass-embedded 1.69.5 (x86_64-linux)

Retrying download gem from https://rubygems.org/ due to error (2/4): Gem::RemoteFetcher::FetchError bad response Forbidden 403 (https://rubygems.org/gems/sass-embedded-1.69.5-x86_64-linux.gem)

Retrying download gem from https://rubygems.org/ due to error (3/4): Gem::RemoteFetcher::FetchError bad response Forbidden 403 (https://rubygems.org/gems/sass-embedded-1.69.5-x86_64-linux.gem)

Retrying download gem from https://rubygems.org/ due to error (4/4): Gem::RemoteFetcher::FetchError bad response Forbidden 403 (https://rubygems.org/gems/sass-embedded-1.69.5-x86_64-linux.gem)

This is probably not an issue with this project itself, but I hope the issue can be raised somewhere somehow. Or maybe a re-upload helps?

Debian unstable?

What is the output of the following command:
ruby -e 'puts Gem.platforms'

Debian unstable?

Yes!
$ ruby -e 'puts Gem.platforms'
ruby
x86_64-linux

$ ruby -e 'puts Gem::Platform.new("x86_64-linux-gnu")'
x86_64-linux

Ah, so it should actually get the ...x86_64-linux-gnu.gem?

@paulvt See https://github.com/jekyll/jekyll/issues/9478#issuecomment-1785797746

Ah, so it should actually get the ...x86_64-linux-gnu.gem?

Yes. Debian unstable's rubygems 3.4.20 is patched by debian maintainers to match 3.3.15's behavior and it is broken. There is nothing I can do. You should report this via https://www.debian.org/Bugs/Reporting.

I see. This seems to be done to not break all existing built/packaged native extensions with rubygems 3.3 (that stripped the -gnu suffix). This is going to be fixed when Ruby 3.2 enters Debian soon anyway. Thanks for the info!

Still cannot install sass-embedded, failing also on my github action:
Run ruby/setup-ruby@v1
Modifying PATH
Downloading Ruby
Extracting  Ruby
Print Ruby version
Installing Bundler
  Using Bundler 2.5.5 from Gemfile.lock BUNDLED WITH 2.5.5
  /opt/hostedtoolcache/Ruby/3.2.2/x64/bin/gem install bundler -v 2.5.5
  Successfully installed bundler-2.5.5
  1 gem installed
  Took   0.66 seconds
> bundle install
/opt/hostedtoolcache/Ruby/3.2.2/x64/bin/bundle config --local path /home/runner/work/lima.gl/lima.gl/vendor/bundle
/opt/hostedtoolcache/Ruby/3.2.2/x64/bin/bundle config --local deployment true
Cache key: setup-ruby-bundler-cache-v6-ubuntu-22.04-x64-ruby-3.2.2-wd-/home/runner/work/lima.gl/lima.gl-with--without--only--Gemfile.lock-330d2878ed272db[9](https://github.com/felipecsl/lima.gl/actions/runs/7584678335/job/20658884832?pr=883#step:6:10)dc133f2b439ef3b[23](https://github.com/felipecsl/lima.gl/actions/runs/7584678335/job/20658884832?pr=883#step:6:28)4387[28](https://github.com/felipecsl/lima.gl/actions/runs/7584678335/job/20658884832?pr=883#step:6:34)e0aafeb105e9dac61dd5c1477
/opt/hostedtoolcache/Ruby/3.2.2/x64/bin/bundle install --jobs 4
Fetching gem metadata from https://rubygems.org/.........
Your bundle is locked to sass-embedded (1.70.0) from rubygems repository
https://rubygems.org/ or installed locally, but that version can no longer be
found in that source. That means the author of sass-embedded (1.70.0) has
removed it. You'll need to update your bundle to a version other than
sass-embedded (1.70.0) that hasn't been removed in order to install.
Error: The process '/opt/hostedtoolcache/Ruby/3.2.2/x64/bin/bundle' failed with exit code 7

@felipecsl You issue looks like a different one. It seems that you have the 1.70.0 platform ruby locked, which is clearly available on rubygems: https://rubygems.org/gems/sass-embedded/versions/1.70.0
I cannot reproduce it, so it might be a temporary glitch on one of rubygems' CDN mirror.

I have the same 403 forbidden error in my fedora container with ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux] and the latest update of this gem 1.70.0
17:55:49 Fetching pathutil 0.16.2 17:55:49 Installing pathutil 0.16.2 17:55:49 Fetching sass-embedded 1.70.0 (x86_64-linux) (was 1.59.3) 17:55:49  17:55:49 Retrying download gem from https://rubygems.org/ due to error (2/4): Gem::RemoteFetcher::FetchError bad response Forbidden 403 (https://rubygems.org/gems/sass-embedded-1.70.0-x86_64-linux.gem) 17:55:49  17:55:49 Retrying download gem from https://rubygems.org/ due to error (3/4): Gem::RemoteFetcher::FetchError bad response Forbidden 403 (https://rubygems.org/gems/sass-embedded-1.70.0-x86_64-linux.gem) 17:55:49 Fetching kramdown 2.4.0 17:55:49  17:55:49 Retrying download gem from https://rubygems.org/ due to error (4/4): Gem::RemoteFetcher::FetchError bad response Forbidden 403 (https://rubygems.org/gems/sass-embedded-1.70.0-x86_64-linux.gem) 17:55:49 Installing kramdown 2.4.0

@suppadeliux It should never install -linux as there is only -linux-gnu and -linux-musl. If your rubygems is attempting to install -linux that means you have either a broken rubygems/bundler, or a Gemfile.lock previously created by a broken rubygems/bundler. Please try upgrade rubygems, remove Gemfile.lock and then try again.

I'm running into the same problem with sass-embedded. I'm able to build my project locally on my M2 Mac, but I see the 403 errors when attempting to build on Netlify. This only started after running bundle update earlier this week. I assume there's been a gem update over the last week.
Delete my Gemfile.lock, running gem update --system and regenerating my .lock file does not resolve the problem. Still seeing the failures on Netlify.

@shawnyeager  Since ruby installs also the latest version of  rubygems, have you tried to instead, update ruby, to the latest version?

I'm running into the same problem with sass-embedded. I'm able to build my project locally on my M2 Mac, but I see the 403 errors when attempting to build on Netlify in an Ubuntu 20 LTS container. This only started after running bundle update earlier this week. I assume there's been a gem update over the last week.

Likely means that the netlify Ubuntu container has an old version of rubygems. I'm not sure if you can upgrade that. Alternatively if you can upgrade to use a ruby 3.2 or 3.3 container, the default rubygems version from ruby >=3.2 should always be good.

@suppadeliux Changing .ruby-version to 3.2.3 fixed the build failures on Netlify. Thanks. 🙏🏼

where did you edit this .ruby-version to 3.2.3?

where did you edit this .ruby-version to 3.2.3?

found it. also works for 3.3.0; with this version was able to deploy on netlify


.rb files included in config directory may not belong to volt

Gems like Capistrano and Whenever use the /config directory for their configuration files, but volt attempts to load those files at runtime.  This can result in errors.
I looked at the rails code to see how they treat /config, and it appears that they only load the specific filenames associated with rails, ignoring the rest of the files in /config.
So far, it seems like /config/app.rb is the only file that needs to be loaded here: https://github.com/voltrb/volt/blob/master/lib/volt/config.rb#L67
Perhaps a hard-coded array of volt-specific config files could be fed into the .each method?  I would be happy to submit a PR that fits your design decision.

Check out the change, on master now, config/app.rb is loaded, then config/initializers/*.rb  (no longer is all of /config run at start)


[Question] How does dbt-duckdb versioning relate to dbt-core?

If I want to use e.g. dbt-duckdb in v1.9.0

It supports dbt-core <=  v1.9.0
It supports dbt-core  >=  v1.9.0
There is no tested/fixed correlation between dbt-duckdb and dbt-core versioning

Either way, it would be cool to have a README section for this

The decoupling of  dbt-<adapter> and dbt-core is a recent phenomenon, and I suspect we will keep de facto parity with them for awhile. In this case, we cut dbt-duckdb 1.9.0 b/c of a bug from where we had a hidden dependency on a feature in dbt-core 1.8.x that was removed in dbt-core 1.9.0.

So dbt-duckdb 1.x should work with dbt-core <= 1.x?

dbt-duckdb 1.x should always work with dbt-core 1.x; the ability of dbt-duckdb 1.9.0 to work with dbt-core 1.8.x is a recent phenomenon where dbt broke out the adapter interface into a separate module (https://github.com/dbt-labs/dbt-adapters ) that is upstream of dbt-core.


fix(404): /oembed route now 404s

The type of this PR is: Fix
Description
Updates our routes.ts file with a 404 redirect for /oembed

This does seem like an odd way to accomplish a 404 error. Clients would get a non-error response (301) to the route, follow it, and then get a 404 at the new location. I also don't see other redirects to error statuses in this list, so is there just not a pattern in Force yet for this?
I see a few throw new HttpError(404) calls in other places. Is a simple express route that does that possible (or is that complicated by react app overhead)?

Warnings

:warning:

Routes added to routes.tsx should have a corresponding cypress.js smoke test. See the cypress/integration folder for examples.

  Generated by :no_entry_sign: dangerJS against 07860bc44fd8d7d26fb34ba0a9ca87eca787f8a8


Create website using Docusaurus

Turned the docs into a website built with Docusaurus.
Suggestions are very welcome, especially around copy, colors, etc.

Latest mocks due to color updates


There should be a page to list available SDCN nodes and there workloads

columns blow should be include:

Node ID
Donor
tasks handled
current status(processing/online/offline)

I'm working on it.

You can now try out in our website.


Use package-lock.json for yarn

The goal of the pull request is to allow Cachito to manage the cache during build. And today Cachito only supports npm.
The change is then to remove yarn.lock and instead add package-lock.json. And in the Dockerfile we call yarn import to generate the yarn.lock file from packages-lock.json.
To generate the packages-lock.json, the command is npm install --package-lock-only.

@fdupont-redhat, looks like the build works but the CI fails during lint phase.
I believe npm and yarn build deps differently it impacts the toolchain.
And becausse of the latter we better use npm entirely if that's necessary to help for downstream


Friendly error message toggle

I believe this is not pointing to a proper url
the requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

Testing has been docker using docker 3.5 container.
looks like the /raw isn't found

Thanks for the report @rismoney!
Can you please provide an exact step-by-step how to recreate it? Because I did some tests and did not have the issue.

It turned out to be trivial to reproduce, I didn't need any extra info. Fixed in v3.5.1 released a moment ago.


Kover Not Excluding Function Parameters with Annotation Tag

Describe the bug
I created a very basic annotation class that mostly works. It does exclude most of the function I want to exclude.
But it doesn't exclude the parameters of the function.
I even tried using it directly on the parameter and it still fails to exclude the parameter.
@Retention(AnnotationRetention.RUNTIME)
@Target(
	AnnotationTarget.CLASS,
	AnnotationTarget.CONSTRUCTOR,
	AnnotationTarget.FIELD,
	AnnotationTarget.FUNCTION,
	AnnotationTarget.LOCAL_VARIABLE,
	AnnotationTarget.PROPERTY,
	AnnotationTarget.TYPE,
	AnnotationTarget.TYPE_PARAMETER,
	AnnotationTarget.VALUE_PARAMETER,
)
annotation class KoverExcludeGenerated

And in my build.gradle, I have
koverReport {
	androidReports('debug') {
		filters {
			excludes {
				annotatedBy(
					'*KoverExcludeGenerated'
				)
			}
		}
	}
}

Expected behavior
I expect parameters to be excluded when a function is excluded.
Reproducer
A link to your project, if it is open source. Otherwise, please try to reproduce the problem on a small project.
If this is not feasible, give an example of the code on which the problem manifests itself.
Reports

Environment

Kover Gradle Plugin version: 0.7.6
Gradle version: 8.5
Kotlin project type: Kotlin/Android Library
Coverage Toolset (if customized in build script): Kover

Any updates on that bug? I use kover version 0.8.2 and have the same problem of being unable to exclude interface with default params

@BulatInDrive, sorry, no updates yet


non-global-extensibility

This is basically the exact same issue as https://github.com/dakrone/cheshire/issues/77 (and affects  virtually every other clojure serialization library I've ever used) so I won't elaborate further on the problem statement.
I'm thinking a solution would be another option to the pprint function, which would be a function that accepts a value to be pretty-printed and either returns {:tag __ :value __} or nil, and it would be checked before checking the global protocol (and perhaps before checking built-in functionality as well, though that would probably be a performance concern and I don't know of any use case for it).

I will probably be trying this out myself for a library I'm writing, so I'll point to some code once I have it.

Yeah, I've run into this too. I think that Fressian's model might be better for this - you explicitly specify a map of write handlers which are used to serialize, and on the other side you provide a map of read handlers from tags to reader functions.

ah right, so a map whose keys are classes?

how should that interact with the builtin functionality? e.g. what happens if I put clojure.lang.PersistentVector in the map?

I think you'd want the explicit handlers to override builtin serialization. Fressian also has a nice lookup-by-inheritance feature so you can use superclasses or interfaces to catch all the descendant types.

okay this sounds cool. incidentally if I end up doing this it will be for https://github.com/gfredericks/webscale

Alright, I think I got it working here.
Some design choices I had to make:

name/format for the additional option: :class-lookup is a map from classes to (fn [value] {:tag ... :form ...})
where to put the class/interface lookup algorithm: a new namespace puget.class-lookup
how to cache results so we don't walk the inheritance hierarchy all the time: add a memoized function to *options* in the with-options macro
how to incorporate it into the format-doc multimethod: check the class-lookup before the protocol, and dispatch to a modified version of the ::tagged-literal impl; this entails looking up the impl twice, but I don't think that's much different from what the protocol codepath is doing anyhow

Let me know how this sounds and I can add docs and make a PR.

(edited previous comment to point to a slightly different commit)

oh and tests. also I would add tests.

Released 0.9.0 with support for custom print handlers.


Convert windows CI to stages

PR Summary
Convert windows ci yaml to use stages which allows better reporting and dependency management.
If the new UI is enable in Azure DevOps, this change will look like this:

PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

@PoshChan Please remind me in 4 hours

@TravisEz13, this is the reminder you requested 4 hours ago


Add dockerfile to reduce software setup hassel

Reference: https://hackmd.io/@sysprog/r1mlr3I7p#Method-2-Install-packages-manually
For running GUI applications in the docker container, extra steps will be required.

Reference: https://hackmd.io/@sysprog/r1mlr3I7p#Method-2-Install-packages-manually
For running GUI applications in the docker container, extra steps will be required.

I don't think it is a good idea to rely on XQuartz for macOS based environments.

Will remove this reference. But just out of curiosity, what's the issue with XQuartz?

macOS users should run Gtkwave with native Gtk library rather than Gtk/X11, which is slower and resource consuming.


tgt: 1.0.73 -> 1.0.74

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/tgt/versions.
meta.description for tgt is: '"iSCSI Target daemon with rdma support"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/bin/tgt-admin passed the binary check.
Warning: no invocation of /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/bin/tgt-setup-lun had a zero exit code or showed the expected version
/nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/bin/tgtadm passed the binary check.
/nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/bin/tgtd passed the binary check.
/nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/bin/tgtimg passed the binary check.
4 of 5 passed binary check by having a zero exit code.
2 of 5 passed binary check by having the new version present in output.
found 1.0.74 with grep in /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74
directory tree listing: https://gist.github.com/0ce9fe83ef7a1d9a2f62bdd9bbf02d66
du listing: https://gist.github.com/c9f5ed958f28549441ba671f0aeb81f0

Outpath report (click to expand)

Outpath difference report
3 total rebuild paths
1 package rebuilds
1 x86_64-linux rebuilds
1 i686-linux rebuilds
0 x86_64-darwin rebuilds
1 aarch64-linux rebuilds
First ten rebuilds by attrpath
tgt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74 \
  --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.)
Or, build yourself:
nix-build -A tgt https://github.com/r-ryantm/nixpkgs/archive/814c68a503f4a4bc6cfc73740c9d518b63600579.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/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74
ls -la /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/bin

Success on x86_64-linux (full log)
Attempted: tgt
Partial log (click to expand)
shrinking /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/sbin/tgtadm
shrinking /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/sbin/tgtimg
gzipping man pages under /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/sbin
patching script interpreter paths in /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74
/nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/sbin/tgt-setup-lun: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74...
moving /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/sbin/* to /nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74/bin
/nix/store/v0b4gasmb5mszyblgfah2m4q2j0pkpky-tgt-1.0.74

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: tgt
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: tgt
Partial log (click to expand)
shrinking /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74/sbin/tgtadm
shrinking /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74/sbin/tgtd
gzipping man pages under /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74/sbin
patching script interpreter paths in /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74
/nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74/sbin/tgt-setup-lun: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74...
moving /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74/sbin/* to /nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74/bin
/nix/store/g9m6gxl7ymmj7h70xir2x98j5b7398bj-tgt-1.0.74


Purestake API v1 is deprecated

https://www.purestake.com/blog/algorand-api-and-indexer-v2/

Yes, we are aware of that. We are currently reshaping the project.
I will let you know where we're at asap.