Syncronise LRU cache delete / flush across workers

I came across the same problem as you have not implemented yet on this library described at the following TODO on the readme,
Syncronise LRU cache delete / flush across workers
Could you help me to understand the idea howto manipulate the variables on all workers?

No, not really. Thats why its still a TODO :)
At the moment the only way to share data across workers is to use the shared dict.
Which is, relatively, slow so we want to avoid having to check that on the cache lookup fast path.
There's not much point getting a hit from lru-cache (fast) and then having to check the dict (slow) to see if its been expired.
At the moment my best idea is to have some kind of background timer function in each worker that checks for deleted keys in the dict and clears them from the lru-cache.
This obviously would be asynchronous and there'd be a gap between deleting something and it being deleted from all the lru-cache in all the workers.
I haven't put a huge amount of thought into it though, there might be a better way...

This is a fairly common problem. Currently I have a similar implementation with the same inefficiency problems. In our case I am not yet using this library. But I think I could with this feature, and it implemented efficiently.
Currently I am using a background timer to go through the shared dictionary, and move things into the worker. Currently I dont have the reverse implemented (i.e ttl extension) as the cost of doing a set with a large string is quite high (need a ttl specific set method).
I'd be happy to help out, Ive done some modifications to ngx_lua before. I dont have alot of free time currently, but can advise, test or someting.

Yeah my current use case doesn't actually require delete / flush functionality at all, stuff in cache is valid forever. So I haven't tried too hard to solve the synchronisation issue.
It seems like there are plans to extend the shared dict functionality in ngx_lua in the future to add more advanced functionality. (e.g. Lists and sets similar to Redis)
So maybe at some point there'll be a pubsub mechanism or something akin to Redis' keyspace events feed that could solve this problem nicely.
Implementing that myself is a bit beyond my C skills at the moment tho :)
The other thing I'd like to see is a command to return the TTL of a key in the shared dict.
This would solve the problem of having to store that separately in order to accurately set the TTL in the lru cache.
I did write a proof of concept for ngx_lua that added such a command, but there was already a PR open on ngx_lua to add something similar so I never submitted it to agentzh.

Nice, I just found the rbtree PR thats neat. I might need to see if I can use that (currently I have lots of libs that json encode tables for storage).
I may end up implementing ngx.shared.DICT:set_ttl(key, ttl) could you link me your PR so I can look at it for consistency? I didnt see it, although its easy to miss some @agentzh has PR's stacking up.

I never actually submitted it as there was another PR from someone else that had a similar change and some other changes as well.
My change was to add a DICT:ttl(key) function that returns the TTL rather than setting it.
https://github.com/hamishforbes/lua-nginx-module/commit/7b76e6b2b2318a53af623e3c809b033ecf37312f

just ran into this library while searching for multi level caches. We're having a slightly different use case (db lookup) so even shm lookups can be considered fast.
Anyway, for synchronisation we use: https://github.com/Mashape/lua-resty-worker-events


How to change _id field name mapping?

How to change _id field name mapping?

Hi @Lewik ,
Can you please elaborate on your question? What exactly are you trying to achieve?

You need to customize the GSON serialization, so either:

Use GSON's @SerializedName("_id") annotation on the field in your POJO that you want to become the doc id.

or

Create JsonSerializer,JsonDeserializer, or TypeAdapter that does the field mapping you want and register it on a GsonBuilder instance and use ClientBuilder#gsonBuilder to set it on the client.

I have kotlin project with mongo. And I have a lot of entities with id. It's possible to mass rename, but it would be cool to save id. And all entities are in kotlin-common so I don`t want to add any annotations to them.

I have kotlin project with mongo. And I have a lot of entities with id. It's possible to mass rename, but it would be cool to save id. And all entities are in kotlin-common so I don`t want to add any annotations to them.

Thank you for expanding the issue, @Lewik ! Does that mean suggestion 2 of @ricellis works for your use case?

@bessbd Yes, setFieldNamingStrategy in gsonBuilder helps me an I got what I want.

That's awesome! Thank you for closing the ticket. Please reopen if you need more help with this or create a new one if you run into any other issues


Admin posting

Document changes introduced in https://github.com/zulip/zulip/pull/9588#issuecomment-393325494

@rishig

Merged, thanks @Lyla-Fischer!


Update logic-apps-pricing.md

App service hosting plan is supported but only when the ASEV3 region is selected in the basics tab

@KiranmaiS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@KiranmaiS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@KiranmaiS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hello @ecfan , commited all of the suggested edits. Thanks.

@KiranmaiS, looks good, thanks! You can enter "#sign-off" in the PR comments.

In the public repository, a member of the content team or a feature PM needs to sign off on PRs. I'll take this as a sign-off. :) Thanks!

#sign-off

@KiranmaiS: I'm sorry - only the author of this article, @ecfan, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


docs(min-web-api): Use Postman collection for testing

It would be nice to add a Postman collection which can be imported for testing.
Internal review URL: Install Postman to test the app <-- Use this link to see changes

Internal previews

📄 File
🔗 Preview link

aspnetcore/tutorials/min-web-api.md
Tutorial: Create a minimal API with ASP.NET Core

@dotnet-policy-service agree

@anishkny ... Thanks for sending this in.
As a general practice, it seems a hair scary to directly consume a web resource without inspection. I'm probably overly paranoid 😨, but alternatives are to either show the file and require the dev to copy-paste it into a local file for use or link to it so that it opens in a new browser window for consumption. The dev will know what they're using, as opposed to blindly grabbing the file in Postman from a web resource via a link. @anishkny, Wade will be along in a bit to review and decide what's best. I'm just mentioning my concern in passing.

@guardrex Good point. But in general I hope getting a Postman collection into the docs is a good idea. I defer to the team's judgement on specifics.

It's up to Wade ... he'll be along in a bit to take a look. I think he'll like this. It looks 😎👍 to me anyway.

Working through the tutorial with this addition, I feel like it expands the scope of this starter tutorial too much.  I also took a look again at the getting started tutorials at the Postman site: https://learning.postman.com/docs/getting-started/first-steps/sending-the-first-request/.   They do the same there, bringing in the feature/concept for working with collections later.  Sorry @anishkny, I hate to turn down the PR and your great work.  If you have you own blog you want to add this too as a tutorial on testing with Postman, I'm happy to consider personally pointing to it from my X (twitter) account, although, I don't have following, so I realize that is not offering much!  We always appreciate awesome community effort like this.  Best to create an issue first suggesting what you want to add before doing the work.

See notes already added just above this. It takes this starter tutorial too far out of its intended scope.

So PR the PR and create part 2 just like  the controller based Web API tutorial

@guardrex Yes my bad on not discussing this on as issue first - got too excited 😄 and I agree this addition might make the tutorial too heavy with stuff.
Although I do like @Rick-Anderson 's idea of spinning out a follow up tutorial like Tutorial: Call an ASP.NET Core web API with JavaScript.
Ultimately I leave it up to you folks - no hard feelings either ways! 🙏

Rick will take it from here.

I also share the concern raised by @guardrex above.

What's your concern @wadepickett ? This is for testing.

Public review  of the doc build:

download the HTML files
unzip
view HTML file in a browser.
For links outside the doc, remove the review. from URL.

@anishkny  can you look at the public review and make sure your changes work as expected? The link to aspnetcore/tutorials/min-web-api/_static/minimal-api-tests.postman_collection.json obviously won't work at this point.

@Rick-Anderson LGTM

@Rick-Anderson ... My concern is that even in a testing environment, I wouldn't personally type a link for some content that I haven't inspected directly into any tooling that takes some action with that content ...

Start Postman.
Select File > Import.
Select Link and enter https://learn.microsoft.com/aspnet/core/tutorials/min-web-api/_static/minimal-api-tests.postman_collection.json. Select Continue.

I'm somewhat paranoid ... that's a 🎃 scary practice 👻 to me for any scenario and notwithstanding that the file is hosted by MS ... like MS has never been hacked before. I'd want to inspect the file first. I suggest either ...

Place a GH link that opens the file in a new browser window. The dev copies/downloads the content from there (or they can use the direct link after that, but I wouldn't tell them to just use the link without looking).
Inline the file into the doc and force the dev to use the doc copy button to obtain it for the file that they'd create on their system.

Sounds reasonable, thanks @guardrex.


New UI not loading completely behind the Nginx proxy server

Hi,
I am trying to open the New UI on a public URL. Nginx proxy server is between the Hygieia and the Internet. After running the 'ng serve --host ' the Hygieia's UI is not completely up. It shows the revolving loading circle till eternity...

Any idea?

@Fisher1993 Hello, are you still running into this issue?

Hi @Courtneyp123 , I used the old UI. The problem was with the Nginx proxy configuration for the Hygieia UI. We added

This line to the proxy configuration and the issue got resolved. Thanks for your reply BTW...

Hi @Courtneyp123 , I used the old UI. The problem was with the Nginx proxy configuration for the Hygieia UI. We added

This line to the proxy configuration and the issue got resolved. Thanks for your reply BTW...

Great, I will close this issue then. Thanks for the update!


[FLOC 2246] Remove volume manager documentation

FIxes 2246
In discussion with @robhaswell about FLOC 953 we agreed that all of the content in the Volume Manager documentation is out of date: https://docs.clusterhq.com/en/1.5.0/concepts/volume.html
Specifically, it uses ZFS heavily and covers features that are no longer supported. It was agreed that this document is no longer required. Details relating to Flocker architecture are now covered in the Introduction topics, and FLOC 953 will include a re-write of the Cluster Architecture docs to replace the ZFS example with EBS.

Can someone verify this PR?

Looks good to merge as is. As far as I'm concerned the removed page was potentially more harmful than good since most of our users use blockdevice deployers anyway (as of now anyway), and I don't think the information was accurate for anything that we currently support (although I'm new here, what do we support?).
It looks like you removed the page and all references to it correctly. I think there are some other concepts pages we might not want long term (Do we want to be in the routing business?).
I think that's all you were looking for in a review? I'm going to shy away from merging myself in case you were looking for a stronger +1 on the removal of the page. As far as I'm concerned though, Ship it!


Added GenAI for marketing notebook to add Logo & Text Overlays to an Image using Code Bison

Description

We want to add multiple overlays to the Images Generated by Imagen for Marketing purposes like Add Logo or Text
We want to add the Brand Logo at one of the corners, resize etc.
We want to add Text in a particular Font, Position, Size & Colour etc. to the Image.
These tasks should not modify the Original Image, rather add layers.
We solve this using Generative Code from Text Instructions using Code Bison.
We Prompt the Model with a base code and the desired Tasks eg: Make logo Transparent
CodeBison will return executable Python code
We immediately execute this code and validate the Output
Repeat the process till the output is as expected.
Final code is saved for apllying consistently to multiple Images

Thank you for building and contributing this amazing use case.
Apart from my comments, General observation:
— Adding more descriptions and explanations with each step will be great. I was super confused about “what” and “why” most of the time.
— Adding a simple “industry scenario” would be very useful as an introduction to the notebook.
— While running the notebook in Colab, I encountered GCS permission issues. Can you look into it?
— As the best practice, run the notebooks in Colab, Colab Enterprise, and Workbench. This will ensure wider reachability for developers.

Is there any other business friendly example that we can show here? Like, you can show “How a restaurant chain is adding a logo of their business on to a generated image of food”. It could be an extension of this amazing notebook then: https://github.com/GoogleCloudPlatform/generative-ai/blob/main/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen.ipynb

View entire conversation on ReviewNB

View / edit / reply to this conversation on ReviewNB
lavinigam-gcp commented on 2024-02-23T13:59:25Z ----------------------------------------------------------------
Can you use different building and logo to avoid any potential PR block? You can use any generated logo and building rather than Google and white house.
lavinigam-gcp commented on 2024-02-23T14:11:05Z ----------------------------------------------------------------
Is there any other business friendly example that we can show here? Like, you can show “How a restaurant chain is adding a logo of their business on to a generated image of food”. It could be an extension of this amazing notebook then: https://github.com/GoogleCloudPlatform/generative-ai/blob/main/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen.ipynb

@iamthuya Can you review this once?

Make sure to follow the setup instruction as follows: https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/getting-started/intro_gemini_python.ipynb

View entire conversation on ReviewNB

I have made all the changes could you please review it now. Thanks


license is missing

It might be useful to add the optimal Open Source license earlier than later

fixed in https://github.com/cloudpirates/cloudpirates.github.io/commit/13733eac6a8d2caf63bc3ffc6057aa93d16b49aa


core[patch]: Allow any module to emit a custom event

Using:
await runManager?.handleCustomEvent("some_test_event", {
  someval: true,
});

Some concerns about misuse but I think generally useful as an escape hatch.
CC @afirstenberg

I'm not convinced that this makes sense given that it creates a 2nd way to do the same thing, but in a way that works in fewer cases. The current dispatch API is able to figure out what is the correct parent id context without requiring a run manager to be passed explicitly.


miss spacing letter text flutter web android mobile metamask browser html render

expected chrome browser :

metamask broswer :

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-x64, locale ko-KR)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[!] Android Studio
✗ Unable to find bundled Java version.
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
[✓] VS Code (version 1.71.2)                                                                                Scanning for devices is taking a long time...[✓] Connected device (1 available)
[✓] HTTP Host Availability
metamask broswer miss between space letter.
what shoid i do?

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',

      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(child: Text("abcdefghijklmnopqrstuvwxyz0123456789")),
    );
  }
}

Hi @kokihoon
I'm not very familiar with MetaMask so can you share your Flutter app deployments there? Please provide Steps to reproduce in detail so that we may verify it. Thanks!

@kokihoon I tried deploying the Flutter web app and browsing it on metamask app, but the issue is not reproducible. The text is displaying well. Tested on the latest Flutter stable 3.3.9 and master 3.6.0 channels.

Demo

Please provide the deployed web app corresponding with above sample code so that we may verify it. Thanks!

do you use render html?

@kokihoon I tried deploying the Flutter web app and browsing it on metamask app, but the issue is not reproducible. The text is displaying well. Tested on the latest Flutter stable 3.3.9 and master 3.6.0 channels.
Demo
Please provide the deployed web app corresponding with above sample code so that we may verify it. Thanks!

can i check your code, please?

@kokihoon Yes, the same result even with canvaskit or html renderer. You can check it here in this deployed site.

can you share code?

@kokihoon Yes, the same result even with canvaskit or html renderer. You can check it here in this deployed site.

@kokihoon Yes, the same result even with canvaskit or html renderer. You can check it here in this deployed site.

please, give me  your info flutter doctor.

@kokihoon
Does the same behavior occur if you deploy it on default chrome browser and not on metamask ? Not sure if Flutter has integration with metamask browser. Please try directly with standalone default chrome browser locally and see if it replicates or not.

@kokihoon Does the same behavior occur if you deploy it on default chrome browser and not on metamask ? Not sure if Flutter has integration with metamask browser. Please try directly with standalone default chrome browser locally and see if it replicates or not.

It works fine in chrome. only metamask browser not working.

A google search on metamask leads to web3 / blockchain terms, which indicates a third party integration with the flutter web framework that I am not sure if it is in scope or feasible.
Considering the fact that in chrome it works as expected, I am going ahead and closing this based on above comment.
If you disagree, write in comments and I'll reopen it.


ValueError: optimizer got an empty parameter list

Hi, when I try to train the model, I get the following output. Any idea how to handle it?
./run.py train -c config.json --cfg arch.cfg
Compose(
ProcessChannels(mode=avg)
AdditiveNoise(prob=0.3, sig=0.001, dist_type=normal)
RandomCropLength(prob=0.4, sig=0.25, dist_type=half)
ToTensorAudio()
)
AudioCRNN(
(spec): MelspectrogramStretch(num_mels=128, fft_length=2048, norm=spec_whiten, stretch_param=[0.4, 0.4])
(net): ModuleDict(
(main): Sequential()
)
)
Trainable parameters: 0
Traceback (most recent call last):
File "./run.py", line 176, in
train_main(config, args.resume)
File "./run.py", line 97, in train_main
optimizer = getattr(torch.optim, opt_name)(trainable_params, **opt_args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torch/optim/adam.py", line 42, in init
super(Adam, self).init(params, defaults)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torch/optim/optimizer.py", line 46, in init
raise ValueError("optimizer got an empty parameter list")
ValueError: optimizer got an empty parameter list

I figured this one out. The .cfg file included in the repo is crnn.cfg, not arch.cfg. I'll put through a PR to the readme file to fix this.


Model of Echo Sensor Used?

Hi,
I am very interested in your system for measuring water depths.
Could you let me know which model of echo sensor you used?
Thanks Kirby

It is a Standard Horizon DS41 echo sounder. But the only important feature is a NMEA0183 output.


specs git removed their branch, breaking master build.

Edit: I switched to specs git batch and it looks to be working, what specifically do I need to test?
https://github.com/cheako/feather/commit/c1336cd2f53a972a72cf316e63152848ef64a159

A fix was committed to develop but hasn't been merged into master.

Merged the fix into master. 70cc327


Allow to clear the "stop words" in elasticlunr's index

It appears that searching for "common" words are filtered out with elasticlunr's "stop word" filter. So words like "to", and "but" will not return a result. I would like to be able to clear this one (my use case is searching for component names in a design system documentation site, so words like "tooltip" and "button" don't come up until you type the whole word
Elasticlunr has a method elasticlunr.clearStopWords() -> is it possible to expose that method in the config?
http://elasticlunr.com/docs/stop_word_filter.js.html

@lucastobrazil I am running into the exact same issue currently. I have tried to find some documentation for the stopwords and how to configure them via the gatsby plugin, but havent gotten far. I know this was awhile back but were you able to resolve this?


Koala Settings Event Name Update

What ❓

Apparently the event name we were using for Settings was deprecated so I updated it to the new event name.
Also added the tracking events for Payment Methods they were there just not wired up. Added them to the tests as well.

I'm not sure what deprecated means so can you please confirm we need one and not both?

@eoji So I confirmed with @peat for this PR that we can fully deprecate Settings View since the rest of the organization isn't using it to track anything.


202 create migration task for orders 422 add basic tests, closes #442

I added just a few tests for the order mapper, including one failing (skipped) for POLs because I wasn't sure at a glance how these would be created.

Hi @bltravis ! @fontanka16 pointed out that the commit history is messy because I had done a merge of main into my branch (in an attempt to get tests to pass). Apologies!
The only actual changes I made in my branch was creating this file, https://github.com/FOLIO-FSE/folio_migration_tools/pull/443/files#diff-b85ad920b5483a4424378af1389f02a1ff00ea353d3aa72ee91733ebdf34a7b9, so to remove the confusing history you could -- if you want to -- just copy that file into your branch and then refuse this pull request.

@fontanka16 I looked closer at my local history and realized I had done the merge from main on my local copy of Brook's branch (which I will never push), before creating my own branch from that. So that would be why the merge is not visible in this branch.

@fontanka16 Not sure how to proceed with this.

@branchedelac @bltravis  since it seems to be able to merge this in fine, should we just merge this PR in?

Just realized it was a branch-to-branch merge, not into main. Sure. 🤦♂


Bug while debugging nodejs in ubuntu using snap installed version of node and code-insiders. Error is The node version in "/snap/bin/node" is outdated(version), we require atleast Node 8.x

VSCode Version: 1.48.0-insider
OS Version: Linux x64 4.15.0-109-generic snap
Node.js: 12.13.0
Commit: e7920dce7bfd0b707ebfc0a5379c6edd2233e475

Steps to Reproduce:

Install vscode-insiders from snap in Ubuntu 18.04.4 LTS(bionic).
Install node using snap
create a folder test and a create a simple example.js file in it
open from terminal code-insiders --disable-extensions test
Start debugging - select either nodejs or nodejs(preview)
Error pops up saying The node version in "/snap/bin/node" is outdated(version), we require atleast Node 8.x
Tried node --version in integrated terminal - it shows v12.18.1
Tried process.version in dev tools console within vscode which gives v12.13.0 ...its weird.
I dont use nvm to manage node versions. I just install from snap.

Does this issue occur when all extensions are disabled?: Yes
Extra info that might help:

Within vscode using the dev tools i tried printing the process.env.PATH, which gave the following where both /snap/bin and /snap/bin/node were explicitly added by me.

"/home/ikigai/kde/kdesrc-build:/home/ikigai/.rbenv/shims:/home/ikigai/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ikigai/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/ikigai/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/ikigai/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/npm:/home/ikigai/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/nvm:/home/ikigai/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/python:/home/ikigai/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/tmux:/home/ikigai/.antigen/bundles/romkatv/powerlevel10k:/home/ikigai/.local/bin:/home/ikigai/node_modules/.bin:/snap/bin:/usr/bin/yarn:/usr/local/go/bin:/snap/bin/node:/home/ikigai/.fzf/bin"

Attaching the process.versions output from dev tools within vscode:-

node: "12.13.0"
v8: "8.0.426.27-electron.0"
uv: "1.32.0"
zlib: "1.2.11"
brotli: "1.0.7"
ares: "1.15.0"
modules: "76"
nghttp2: "1.41.0"
napi: "5"
llhttp: "1.1.4"
http_parser: "2.8.0"
openssl: "1.1.0"
icu: "65.1"
unicode: "12.1"
electron: "8.3.3"
microsoft-build: "5135798"
chrome: "80.0.3987.165"

Attaching a screenshot of the error

Kindly let me know if anymore info is required from my side

Same here, with the latest vscode release (1.47), node 14.4.0 (installed from snap) and Pop!_OS (Ubuntu) 20.04.
Had to roll back to the legacy JS debugger.

Thanks for the good issue! You can set debug.javascript.usePreview: false to use the old debugger until this is addressed.

@connor4312  Thanks a lot. The above setting makes the debugger work. Out of curiosity, what exactly is the new in-preview javascript debugger? Would appreciate it if you have some links on which i could read more about this feature.

@Tyriar suggested this is a snap bug, seems like https://github.com/nodesource/distributions/issues/843. Therefore I will assume that any node installed in /snap is 12 or higher (which is the large majority of users).
@yedhink check out https://code.visualstudio.com/updates/v1_47#_new-javascript-debugger

I'm having similar issue on node 14 with React app:
marcin@dell:~/workspace/barbershop$ node --version
v14.4.0
marcin@dell:~/workspace/barbershop$ whereis node
node: /snap/bin/node.npm /snap/bin/node.npx /snap/bin/node.yarn /snap/bin/node.yarnpkg /snap/bin/node
marcin@dell:~/workspace/barbershop$ uname -a
Linux dell 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
marcin@dell:~/workspace/barbershop$

workaround with settings.json:
{
    "debug.javascript.usePreview": false
}

/snap/bin/node --inspect-brk=7731 node_modules/react-scripts/scripts/start.js --inspect-brk=39841
ℹ ｢wds｣: Project is running at http://<IP_ADDRESS>/
PrefixFactory.js:55
ℹ ｢wds｣: webpack output is served from
PrefixFactory.js:55
ℹ ｢wds｣: Content not from webpack is served from /home/marcin/workspace/barbershop/public
PrefixFactory.js:55
ℹ ｢wds｣: 404s will fallback to /
PrefixFactory.js:55
Starting the development server...

start.js:157
Error: EACCES: permission denied, read
Emitted 'error' event on ReadStream instance at:
    at internal/fs/streams.js:217:14
    at FSReqCallback.wrapper [as oncomplete] (fs.js:524:5)

npm start from vscode console works fine
@connor4312 can you help?

@mwoz123 are you getting that Error: EACCES: permission denied both with and without usePreview?

My debug conf in launch.json
        {
            "type": "node",
            "request": "launch",
            "name": "Debug ReactJS Dev server",
            "program": "${workspaceFolder}/node_modules/react-scripts/scripts/start.js",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "args": ["--inspect-brk=39841"]
        },

It's unwrapped "start": "react-scripts start", which allowed previously (with node and vscode isntalled from deb) to debug in vscode react app
without the workaround in settings.json I'm getting
The node version in "/snap/bin/node" is outdated(version), we require atleast Node 8.x

with workaround it went step further and fails at:
start.js:157
Error: EACCES: permission denied, read

https://github.com/facebook/create-react-app/blob/d2f813f8897ffcd2f0b0d2da75d0c44924c92f4d/packages/react-scripts/scripts/start.js#L157

Okay, thanks for letting me know. This sounds like a (different) bug in Snap, or in Node's Snap. I'd recommend filing an issue on https://github.com/nodesource/distributions

@connor4312 as from commandline (even VSC termninal) :

node node_modules/react-scripts/scripts/start.js  or
npx react-scripts start or
npm start

all of them start succefully react service,
(but don't work when running from VSC debugger/launch.json)
I'm pretty sure it's VSCode related not Node.

A fix for this issue has now been released in VS Code 1.47.2. If you previously had to opt-out of the new debugger, you should be safe to turn it back on. Thanks again for the report!
(Thanks for the bump mwoz, I will look at and address your issue presently)


Generic List - backward compatibility broken: no "Localization" section in dialog

Required Information

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.5.2
[ ] ACS AEM Commons Version: 4.4.0
[ ] Reproducible on Latest? yes

Expected Behavior
When generic list dialog is open "Localization" section with the localized titles is present (as it was in Classic UI)
Classic UI example:

Actual Behavior
When generic list dialog is open the whole "Localization" section with the localized title fields is missing

What makes things worse, there's no way to fallback to Classic UI anymore. Any generic list opened for editing directly in the old manner (using classic UI), shows just a completely white page. For example:
/cf#/etc/acs-commons/lists/font-awesome-icons.html
or
/editor.html/etc/acs-commons/lists/font-awesome-icons.html
Looks like crx/de now the only way to deal with localized titles
Steps to Reproduce

Go to Generic Lists console: /generic-lists.html/etc/acs-commons/lists
Select any existing generic list(or create a new one) and press "Properties"
See a dialog without the "Localization" section

This issue impacts our project since we have many components that rely on localized generic lists.
It would be good have it on touch UI or at least to retain the exiting Classic UI

We are facing the same issue, as in classic UI we had option to support localization for generic list but in AEM 6.5 we don't have localization option to edit or add new fields. Could you please do the needful.

@badvision @davidjgonzalez are there plans to bring back the localization feature for the generic lists? We currently edit the localized titles via CRXDE as the TouchUI does not support this anymore.


[Question] Does keybase implement peer-to-peer encryption?

Hello all, i didn't find any docs on your webpage about how does keybase work.
Does all messages between A, B go through a centralized server or it implements peer to peer encryption? Not sure if there is a forum for the project where to ask this question or this is the right place.
thanks,
Fernando

Everything goes through our servers.

Hi strib, thank you for answering. Is there a reason to send all traffic through your servers?

It's mainly for user experience, e.g. you can send someone a message without them needing to be online.
Note that the encryption is end-to-end of course, only the clients have keys to read the data.  The server is just a dumb holding ground for encrypted data.

Wouldn't it perform better if it is p2p ?
you could push offline msgs to server anyway then send back when the
recipient gets online and delete them, what do you think?
On 12 October 2017 at 15:14, Jeremy Stribling<EMAIL_ADDRESS>wrote:

It's mainly for user experience, e.g. you can send someone a message
without them needing to be online.
Note that the encryption is end-to-end of course, only the clients have
keys to read the data. The server is just a dumb holding ground for
encrypted data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/9005#issuecomment-336221474,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGtqZgOCcEMj92kfhslvzkl_odxRrh0Hks5srlcSgaJpZM4P3VBG
.

It wouldn't necessarily perform better, because then the sender has to upload N copies of each message, one for each of the recipient's N devices.  If the sender has bad upload speed, this will make performance much worse.
And in general, p2p is very hard to implement in the general case, and we're not interested in supporting it right now since server-based communication works for 99.9% of cases.

I see, i was not thinking in many to many conversation :) makes sense. I'm
working myself on a very small project to implement a chat client with p2p
encryption. Thanks for all your answers.
Fernando
On 12 October 2017 at 19:20, Jeremy Stribling<EMAIL_ADDRESS>wrote:

It wouldn't necessarily perform better, because then the sender has to
upload N copies of each message, one for each of the recipient's N devices.
If the sender has bad upload speed, this will make performance much worse.
And in general, p2p is very hard to implement in the general case, and
we're not interested in supporting it right now since server-based
communication works for 99.9% of cases.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/9005#issuecomment-336292570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGtqZkQcbrWpHhpnW-oKwV13rkZNWNn7ks5srpCWgaJpZM4P3VBG
.

I think P2P is a greater soluction for Keybase, I have many instances of Keybase and all in the same network with 300MBs to 1GBs, but  in atual model keybase use my 4G mobile very slow network for send and receive files for all instance in my teans.


[WFCORE-3189] Fixing wrong ICU License link/text

upstream JIRA: https://issues.jboss.org/browse/WFCORE-3189

Can one of the admins verify this patch?

this is ok to test


Dynamically adding valueNames

Hi there,
I want to be able to dynamically add columns to a table. Is there a way to manipulate the option 'valueNames' of an existing list or do I have to destroy it and build it new?
Thanks for any help or advise!
Greetings
Sebastian

I was able to do this with the following:
var tableList = new List('tableID', options);

tableList.valueNames = PUT YOUR ARRAY HERE;
tableList.reindex();

Basically, if you change tableList.valueNames, then call reindex, it changes the columns that are searched.

Unfortunately it didn't work out. I can add column for column now, but when I try to add a row after it, very strange things happen. I have to figure it out or reinit the whole list in the rare case of a column change of an existing table.
Thank you nonetheless!


Bug: Implicit Account Address UI Can't Action

Describe the bug

Implicit account address can't action because of overlap with buttons

Already fixed


Data URI image uploader

Today I patched together an image uploader for ContentTools hat uses Data URIs , which was what seems to be the best solution to the image uploading problem, at least for my use case.
This has the following advantages:

No server side logic needed!
Instant image rotating/cropping, as no communication with server is necessary.

And the following drawbacks:

Images are saved directly in the database, making the database grow quickly (also, base64-encoded data is about 1.3x the size of the original data)
It is impossible to re-use images in any way. (but then again, right now that is not possible in the ContentTools dialog either).
if .gifs are rotated or cropped, they lose their animation. (But this is true for most image uploading scripts anyway).
It uses the HTML5 File API and the FileReader API. These are not supported in IE <= 8.

This code has obviously been written in normal JS and not in CoffeeScript, as I have no experience with writing CoffeeScript at all, but feel free to include it in the project if you want.
In any case, I hope that this might be helpful to someone else as well.
Have a wonderful day,
~Qqwy

Hi @Qqwy this looks like it might be a great replacement for the current sandbox and demo uploader as it would allow people to add genuine images in the demo environments.
I'm sure this could be a interesting starting point for many and I'm def going to have a play with it. Thanks for contributing it :+1:

HI @Qqwy,
I tried your script ( which I found excellent) as it (copy/paste) but all I get is " dialog.bind is not a function" .
I'm still a junior dev in JS so I was wondering if I missed something.
When in doubt, I replaced bind by addEventListener, without luck.
Is there anything more to make it work?
thanks in advance, and have a good day.

Sounds great, but have not been able to make this work, how do you incorporate this?

@CapRoberts
Try this gist


The wallet is being locked while users scroll NFT gallery

Open the wallet;
Navigate to the settings screen;
Expand the "General" tab and set up a 1-minute lock screen;
Navigate to the DAppe Store;
Click the "launch" button opposite NFT Gallery;
Scroll the NFT Gallery screen for a minute (cursor is on the NFT gallery screen);
Expected result: wallet is not being locked while scrolling NFT Gallery.
Actual result: lock screen appears.

it is not done
if you set the lock screen for 1 minute or more, and then go to the NFT gallery and scroll the NFT gallery screen for a minute or more - the lock screen will appear

Checked

We need find another way to handle mouse events on WebEngineView

Checked


Fix JSON deserialization of "Infinite", "-Infinite" and "NaN"

Thei are already serialized correctly according to
https://developers.google.com/protocol-buffers/docs/proto3#json
but I added a test for serialization as well just in case.

Released in version 1.5.4. Thank you for the fix!


Fix pokemon exercises doc test

After the attack, the resulting struct should be of the defender Pokemon. But in case of Type Advantage we have the attacker struct being return in the doc test.

Great catch!


Add Sphinx.chat widget to home page

As requested by Adam: https://podcastindex.social/web/statuses/105171531709115001

Desktop

Mobile


Duplicate file on renaming

Duplicate file on renaming it, I'm using 1.15.0 version on ubuntu 16.04

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


Why is UINib.instantiateWithOwner(_:options:) needed in viewDidLoad()?

Question
Why does JSQMessagesViewController need to load it's nib from within viewDidLoad?
https://github.com/jessesquires/JSQMessagesViewController/blob/develop/JSQMessagesViewController/Controllers/JSQMessagesViewController.m#L239
Wouldn't this mess up subclasses' initialization?

Hey @JohnEstropia ! 👍
No, subclasses can still customize the view in the usual ways. Subclasses can also override the nib so that their custom nib is loaded.

This was closed a few days ago but I just want to point out that this
- (void)viewDidLoad
{
    [super viewDidLoad];

    [[[self class] nib] instantiateWithOwner:self options:nil];

causes an errant JSQMessagesViewController instance (owned by the UINib) to be temporarily created and immediately deallocated after viewDidLoad. Normally this would be fine, but we've hit a few roadblocks here because in our case the temporary instance caused imbalanced KVO registration and unregistration.
We've worked around it somehow but some users may find this explanation useful.

Thanks @JohnEstropia !
This will be fixed in the next release


Add support for RGBW

I've tried to add support for RGBW lightstrips (example here) without breaking backwards compatibility. However.... this is my first attempt at such a thing in Rust so I'm sure I've goofed! Any feedback is most welcome.

Thanks for the feedback, much appreciated.
I've been down a bit of a rabbit hole since posting the above. It was only once I'd reverse engineering the PIO code to check the timings, that I realised it was ported from the very well explained official guide/examples...  And only after pouring over that, that I realised the seemingly undocumented feature magically changing the byte order from GRBW into RGBW, was in fact a "feature" of the product description page of the site I bought the board from - linking me to the wrong datasheet.
After looking at a lot of datasheets for similar chips I've realised that there is a lot of similarity in them but as you say they vary in timings and, as I've discovered, byte order. There is however, a lot of similarity in the format in which they present their timings. This has left me wondering if a good starting point for a somewhat more generic implementation might be building a macro to take these timings from their datasheet format and transform them into the PIO timings.
Anyhow, that's very much a departure from the original intention of this PR so I'm going to close it. If I were to come up with such an implementation, would you be interested if I dropped a comment here referencing it?

I would definitely be interested :)


support stern v1.21.0 or later

fix for accept breaking changes
https://github.com/stern/stern/releases/tag/v1.21.0

Breaking changes
Since this version, the archive files will no longer be wrapped in a directory.

@looztra
What do you think about this PR?


Support includeEndStreamAction for listFiles in client

Support includeEndStreamAction for listFiles in client. The server changes can be ignored here and reviewed in https://github.com/delta-io/delta-sharing/pull/577
Will cover these in follow up PR:

cover listCdfFiles
expand EndStreamAction with an errorMessage field

chak

@charlenelyu-db  good catch! I'll setup the keys in the github repo.


Add erzaehlmirnix (again)

Add erzaehlmirnix, now from Facebook.
Original PNGs:

cover.v3.png and upscaled from it cover_big.v3.png
The basis for the cover was ERKZsSZXkAIqe09_v3.png, cut from ERKZsSZXkAIqe09.png
example3.png

The background of the original cover_big_v3a_1000.png PNG (1000x1000 px²; mind the first few lines, which are accidentally black) still has to be flood-filled with the RGB background colour dddfde from the info.json file, saved and then downscaled to 300x300 px².
Both PNGs then have to be exported as JPEGs again and uploaded to replace the extant cover_big.jpg and cover.jpg.
As I currently lack access to an image manipulation software with which this can be accomplished easily, this may take a while.

The background of the original cover_v3a_1000.png PNG still has to be flood-filled with the RGB background colour dddfde from the info.json file, saved and then upscaled to 1000x1000 px².
Both PNGs then have to be exported as JPEGs again and uploaded to replace the extant cover_big.jpg and cover.jpg.
As I currently lack access to an image manipulation software with which this can be accomplished easily, this may take a while.

Created cover v4-freed

It's the same comics as emoticomix but in de language. I'm not sure that we should add the same comics in different languages as two different comics. I'm going to merge only en version but we can create issue about adding multilanguage support to application

It's the same comics as emoticomix but in de language.

Rather the opposite: erzaehlmirnix is the original version, its author started to translate most of the strips and publish them as emoticomix lately.

I'm not sure that we should add the same comics in different languages as two different comics.

As soon as an alternative mechanism for multi-language comics is implemented (solving issues #17 and #54), I would gladly convert erzaehlmirnix and emoticomix to a shared base and provide two language options (DE and EN) for it.
Note that the erzaehlmirnix's requirements for this mechanism are:

Primary / original language can be arbitrarily set (here: to DE)
The names of the different language versions differ (also true for other comic strips, which are available in multiple languages)
Hence different cover images must be used (as they include the name)

If you plan to make a release of DailyComics, before a multi-language mechanism fulfilling these requirements is implemented, please include both, erzaehlmirnix and emoticomix.
If you insist in including only one of them for now, please include the original (erzaehlmirnix) instead of its (sometimes strangely translated) translation (emoticomix).

Stopped working, and I failed to make it working again, neither from Facebook or from Twitter.


Import file validation

@mgubaidullin Here's an implementation for validating file existence on project file import/upload. I've also propagated the same validation on file creation, so it's uniform and both uses the generic validator previously implemented.
There also a small fix in getPersonIdent method to use default e-mail address if it's not defined in UserInfo.
Also fixed a couple of quarkus quinoa properties, because quinoa was not working after the version upgrade.

@mvolf thank for the contribution.
This Validator on backend and and yup on frontend with dosens lines of code just to simply check if file is already exists.
Look like an overkill. Should it be that complex?

It would be great if we keep axios stuff in one place KaravanApi instead of spreading over the app.

@mvolf thank for the contribution. This Validator on backend and and yup on frontend with dosens lines of code just to simply check if file is already exists. Look like an overkill. Should it be that complex?

Thanks for the comments @mgubaidullin.
I personally don't see this as complex or as an overkill. Validation is one of the most important parts of the system, since it ensures data validity/consistency and makes the system less prone to serious bugs.
In this example I don't look at this as "simply check if file already exists", but as potential consequences if this kind of validation is not implemented properly through out the whole system (as we've seen this results in overwriting of users existing file).
This kind of approach also follows several best approaches:

back-end should always do the validation (preferably service method). In this way validation is enforced across the system where ever this method is called. Validation is also enforced if API is called manually, which bypasses any front-end validation.
validation error messages are a part of the back-end validator and are shown on the front-end. This makes translation of these messages fairly easy to implement if needed.
additional front-end validation (in our case using react-hook-form and yup) is added for presenting users with certain validation messages while typing, to speed up the flow and unburden back-end by avoiding unnecessary API calls.
implementation of the validation is uniform and follows the same principles, where implementing validation differently for every page depending on the needs makes the code less clear and harder to maintain

These are some of the main points, but there are several more benefits.
If you look more closely to this implementation and compare it to the existing you'll notice that there's not that much code more and in my opinion the benefits far outweigh a bit more lines of the code.
I hope that I managed to present you my point of view :)

It would be great if we keep axios stuff in one place KaravanApi instead of spreading over the app.

@mgubaidullin I'm not sure what you're aiming at with this comment :) All the axios stuff is in the KaravanApi. If you're taking about the import of the AxiosError in the UploadFileModal and CreateFileModal, that's only because Typescripts needs explicit type for the method parameter.

@mvolf your validation framework is great. And it might be good part of any application with a lot of forms and validations. In the Karavan we have only 2 forms (new project and new files) to validate on server-side (exists/not-exists) and both forms have 4 fields total.
And I do not see any other forms that we might need to validate server-side in the future.
However let's keep the validation framework for now to move forward and reconsider later when we have more observations.


Correct syntax for turning off all lights

Hi there,
Trying to create a button to turn off all lights. Toggle works but off course turns on all lights that are off in the opposite state which is undesirable. Just want to turn off all lights when pushed and icon tracks all lights state. Below is not working.
              - type: "custom:button-card"
                # entity: group.all_lights
                icon: mdi:lightbulb-on-outline
                color: rgb(255, 255, 47)
                action: service
                service:
                  domain: light
                  action: homeassistant.turn_off
                  data:
                    entity_id: group.all_lights
                name: All Lights

Any help would be appreciated

Disregard. This works.
                action: service
                service:
                  domain: homeassistant
                  action: turn_off
                  data:
                    entity_id: group.all_lights


Allow any number of arguments for the merge method of pdfEngines

Based on the discussion on https://github.com/gotenberg/gotenberg-php/issues/44
Just like \array_merge() (https://www.php.net/array_merge) allow any number of arguments for the merge method of the PdfEngines approach of creating PDFs.
This is a safe change because the "merge" endpoint from the Go library actually allows a single file to be processed.

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

Project coverage is 94.08%. Comparing base (ee1d120) to head (d567148).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #45      +/-   ##
============================================
- Coverage     94.11%   94.08%   -0.04%
  Complexity      129      129
============================================
  Files            15       15
  Lines           374      372       -2
============================================
- Hits            352      350       -2
  Misses           22       22

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


Bug: add support for select elements

🤦🏻♂ how did I miss this

It might actually work with select elements as is... building a test case out now.


Makedeb Maintainer

📋 Description
Makedeb
Maintainer | NintenHero
🔗 Data
https://mpr.makedeb.org/api
🎤 Motivation
It's like the AUR Maintainer badge.

https://github.com/badges/shields/issues/10290#issuecomment-2195515992


ndkbulid problem

Use NDKBULID generate SO library, packaged into JIAGU.ZIP, after installation, found that can not start, very strange

do you have to run com.linchaolong.apktoolplus.builder.UpdateJiaGu after ndk-build?

No, I configured ANT environment and found that ANDROID SDK environment lacks some configuration files for ANT, so can not compile successfully, but simply put the corresponding SO, and re-packaged into JIAGU.ZIP.
By the other hand, and then packaged the original SO file, really reinforcement process, Still feasible.

What can not start? ApkToolPlus or apk ? have any log?

UnsatisfiedLinkError No implementation found for byte[] com.linchaolong.apktoolplus.jiagu.utils.ApkToolPlus.decrypt(byte[])
TKS.


Add CORS route that return 200 on OPTIONS calls

This is for https://github.com/Readify/httpstatus/issues/25
I've added a new route that will match http://httpstat.us/400/cors and return 200 for any OPTIONS requests and the expected status code for anything else.
It turns out that this was always putting an allowed origin of "" on the responses so I've kept that but moved it into code rather than the web.config because otherwise IIS will append it and you can end up with ", *".
Sorry this took a while, I kind of forgot about it for a bit there.

How come you went with a sub-route of {statusCode}/cors rather just on the primary route?

I thought it should have it's own route because it's different behaviour.
My use case was testing a file upload in the browser and there were two cases to handle:

OPTIONS to /404 gives a 404, a POST to /404 never happens.
OPTIONS to /400/cors gives a 200, then a POST to /400/cors gives a 400.


fix(util/events): Status bar tap during ios page throw momentum flicker fix

This stops the ‘WebkitOverflowScrolling’ momentum when you tap the
status bar.
Without this when the page is already moving, taping the status bar
scrolls the page to the top, but its fighting the native momentum and
flickers.
Short description of what this resolves:
Without this when the page is already moving, taping the status bar
scrolls the page to the top, but its fighting the native momentum and
flickers.
Changes proposed in this pull request:

changing ‘WebkitOverflowScrolling’ on status bar tap

Ionic Version: 3.x
Fixes: #12944

Hello and thank you for contributing to Ionic! We have been working on porting all of the Ionic components to web components and have recently updated master to reflect this. This significant change has caused this pull request to break. While we really appreciate the time and effort you put into creating this, we are not able to merge it because of the newly introduced conflicts. We are extremely sorry about this. We will not be merging any more features in to v3. If this is a feature and you have the time, please resubmit this PR against the master branch. If this is a critical security issue in v3, we would greatly appreciate it if you would resubmit the PR against the new v3 branch. Thanks so much for your time!


Bump to Bundler 2.5.5

This should be ready now. Merge order would be:

First manually regenerate bundler tests cache.
Then restart CI in https://github.com/dependabot/smoke-tests/pull/173 and see it become green.
Merge https://github.com/dependabot/smoke-tests/pull/173.
Then restart CI here and see it become green.
Then merge this PR.

The reason we need some Bundler tests regenerated is that Bundler 2.5.5 brings https://github.com/rubygems/rubygems/pull/7352 which due to the Etag format change will make Bundler's smoke tests cache not be hit one more time.

The upgrade 2.5.5 is a bit complicated but following the steps detailed in my previous message should do the trick. Let me know if any help from my side is needed, and feel free to ping me whenever Bundler upgrades cause issues!


Introduced new objects: pi,e,sin,cos

Sorry, I forget to save some files.

Job gh:yegor256/objectionary#18 is not assigned, can't get performer


Fastkaggle direction

@jph00
As I add more to fastkaggle I am thinking it would be helpful to add a config, and break it up into small modules.  Do you have any thoughts on this direction?  Here's how I am thinking it would work:
Repo with PoC: https://github.com/isaac-flath/fastkaggle/#readme
Config
The config would be created via a fastkaggle.setup.setup_comp.  This function would do 2 things

The stuff it currently does (install kaggle if needed, download competition dataset)
Create a config file for the competition that includes

Local path to store kaggle datasets
Libraries needed for update in kaggle (maybe github action for automation)
Competition name
Name of model dataset
Username for datasets (if working with team may want to push to a shared dataset)

Usage
This way once I set up the competition with the config we have modules for each application.  For example:

Notebooks: fastkaggle.notebooks.push(‘notebook.ipynb’)

Gets title from notebook
Competition & linked datasets pulled from config
Username pulled from config

Libraries:  ie fastkaggle.libraries.push()

Takes libraries from config and update dataset
Username and dataset name from config

Models: ie fastkaggle.models.push_fastai(learner)

Takes fastai learner and pushes model weights to dataset
Get dataset path, name, and dataset username from config

I've spend some time trying to flesh this idea out more.  I think I have the general idea coded as a rough POC here:
https://github.com/isaac-flath/fastkaggle.
Added the config idea.  And also added niceities, such as getting title from a notebook automatically using nbdev.  Converting title to id automatically based on replacing string.punctuation and string.whitespace, and a config that prevents many arguments whenever using fastkaggle within the same comp.
I am going to work on testing and documenting it over the next few days, and try setting up some kaggle comps using it to make sure I like it as a user.  Also some things to fix, but I think this would streamline things for competing in a competition quite a bit.

I am going to continue to develop this PoC in a separate library for my own personal use.  I'd be happy to discuss merging that together into fastai at some point in the future when it's more fleshed out.  Just let me know anytime!

Message ID: @.***>Great idea - please do let me know how it goes!


New Feature: Iframe full screen handler

The map will be iframed into a site. The iframe will have attribute allowfullscreen.
Need a button on the map to allow the user to make the make full screen.

Addressed partially in commit b73cccc, but needs:

[ ] change icon for close fullscreen action


Improve CMakeLists.txt support - auto formatting and auto add to CMakeLists.txt when adding files

Brief Issue Summary
Big bucket item to improve CMakeLists.txt files in existing files
If you add a file to the project, support adding to a target
Improve formatting and navigation
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

@gcampbell-msft This issue is a user suggested enhancement to CMakeLists.txt support. I have triaged this issue as an “Enhancement”, please feel free to contact me if the triage is incorrect. Thanks!


[st2reactor] Issue about validation fail  before dispatching trigger,Trigger type with reference "linux.cd875f82-58d6-47ff-9eff-11bd81493bf7" doesn't exist in the database

wen I  test sensor linux.FileWatchSensor:
root@6206c3910cd6:/opt/stackstorm/packs/linux/sensors# st2 sensor get linux.FileWatchSensor
+---------------+--------------------------------------------------------------+
| Property      | Value                                                        |
+---------------+--------------------------------------------------------------+
| id            | 5c2d8324d28ef50172db13e9                                     |
| uid           | sensor_type:linux:FileWatchSensor                            |
| ref           | linux.FileWatchSensor                                        |
| pack          | linux                                                        |
| name          | FileWatchSensor                                              |
| enabled       | True                                                         |
| entry_point   | sensors.file_watch_sensor.FileWatchSensor                    |
| artifact_uri  | file:///opt/stackstorm/packs/linux/sensors/file_watch_sensor |
|               | .py                                                          |
| trigger_types | [                                                            |
|               |     "linux.file_watch.line"                                  |
|               | ]                                                            |
| description   | Sensor which monitors files for new lines                    |
| metadata_file | sensors/file_watch_sensor.yaml                               |
+---------------+--------------------------------------------------------------+

I use rule as follow:
root@6206c3910cd6:/opt/stackstorm/packs/examples/rules# cat sample_rule_file_watch.yaml
---
name: sample_rule_file_watch
pack: "examples"
description: Sample rule custom trigger type - add a file to be watched by file_watch_sensor in linux pack.
enabled: true

trigger:
  parameters:
    file_path: /tmp/st2_test
  type: linux.file_watch.line

criteria: {}

action:
  parameters:
    cmd: echo "{{trigger}}"
  ref: core.local

I execute cmd, like this:
echo >> liucong /tmp/st2_test
and err log in /var/log/st2/st2sensorcontainer.log as follows:
2019-01-03 03:39:07,046<PHONE_NUMBER>41840 INFO tail [-] Tailing /tmp/st2_test
2019-01-03 03:39:07,047<PHONE_NUMBER>41840 INFO file_watch_sensor [-] Added file "/tmp/st2_test"
2019-01-03 03:41:00,852<PHONE_NUMBER>45520 WARNING trigger_dispatcher [-] Failed to validate payload ({'file_name': u'st2_test', 'line': u'liucong', 'file_path': u'/tmp/st2_test'}) for trigger "linux.cd875f82-58d6-47ff-9eff-11bd81493bf7": Trigger type with reference "linux.cd875f82-58d6-47ff-9eff-11bd81493bf7" doesn't exist in the database

Thanks for reporting this.
I will try to reproduce this issue and have a look early next week by the latest.


NTR: DNA gyrase complex

In https://github.com/geneontology/go-ontology/issues/15575, @bmeldal said:

Type IIA:

Acc to your table, Topo II (bacs) and Topo IV (bacs) have different activities so justifies different complex terms with relationships to their respective (fixed) functions :)

We have already curated the 2 E. coli complexes (gyrase and Topo IV) and assigned
"GO:0009330 DNA topoisomerase complex (ATP-hydrolyzing)".
and
"GO:0003918 DNA topoisomerase type II (ATP-hydrolyzing) activity" & "GO:0034335 DNA supercoiling activity"
to both.
(Once the MF terms are fixed I have to remove the parent-child duplicated annotations!)
We must have missed the existence of the Topo IV term.

Action:

We need a NEW term for Topo II / gyrase!

Based on the Wikipedia page for DNA gyrase: https://en.wikipedia.org/wiki/DNA_gyrase, here is a start for the proposed new complex term:
name: DNA gyrase complex
definition: A heterotetrameric enzyme, which in most bacterial species is composed of two subunits each of an A subunit (GyrA) and a B subunit (GyrB). It can introduce negative supercoils into DNA at the expense of ATP hydrolysis, an activity unique to DNA gyrase, as well as relax positive supercoils, which can also be done by topoisomerase IV.
@bmeldal - Any comments or suggestions?

Suggested def:
A bacterial type IIA topoisomerase that is unique in its function of introducing negative supercoils into DNA at the expense of ATP hydrolysis. Also capable of relaxing positive supercoils, an activity shared with topoisomerase IV. Mostly composed of two copies each of an A subunit (GyrA) and a B subunit (GyrB).
Synonym:
Topoisomerase II [EXACT]
References:
PMID:20675723
-> plus any you have :)
The positive supercoil relaxing is mentioned in the wiki entry and CP but not in your table. Hmmm.... Must be true if we added it ;-)
Thanks for making the ticket, I didn't get round to it before my own holidays.

Suggested def:
A bacterial type IIA topoisomerase that is unique in its function of introducing negative supercoils into DNA at the expense of ATP hydrolysis. Also capable of relaxing positive supercoils, an activity shared with topoisomerase IV. Mostly composed of two copies each of an A subunit (GyrA) and a B subunit (GyrB).

I'm fine with discussing the functions in the first sentence, but I'm going to try to rephrase to include both functions in a single sentence.
I'll also change "Mostly" to some thing like "Typically" to discuss the composition.

Synonym:
Topoisomerase II [EXACT]

Yes, thanks for making sure I get this in.

References:
PMID:20675723
-> plus any you have :)

Thanks for providing a PMID for a reference. I only looked at the Wikipedia page, so I'll use that too.

The positive supercoil relaxing is mentioned in the wiki entry and CP but not in your table. Hmmm.... Must be true if we added it ;-)

I copied the table from a Wikipedia page without much in the way of modification other than reformatting so I could see the whole thing at one time instead of having to scroll both up/down and right/left, so I think it's an error of omission there. While I don't have any specific references in my head, or written down, I've seen plenty of references that both DNA gyrase and topo IV can relax (-) supercoils.

Thanks for making the ticket, I didn't get round to it before my own holidays.

No worries. I need to start focusing on another area so I really wanted to get all the topo stuff wrapped up as soon as possible, or at least specified clearly if not actually done.

Should it be
is_a GO:0009330 DNA topoisomerase complex (ATP-hydrolyzing)
and
capable_of GO:0003918 DNA topoisomerase type II (ATP-hydrolyzing) activity?
(except with the new term names of course)
Otherwise all good :)

Regarding the question

Should it be
is_a GO:0009330 DNA topoisomerase complex (ATP-hydrolyzing)
and
capable_of GO:0003918 DNA topoisomerase type II (ATP-hydrolyzing) activity?

I was thinking as I closed this that the DNA gyrase (aka topo II) term should be
is_a GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)
but that I would wait until I changed the name of GO:0009330
Then, there's the question of what to put for capable of. If we just say
capable_of GO:0003918 DNA topoisomerase type II (double strand cut, ATP-hydrolyzing) activity
Then we should also say exactly the same thing for GO:0009340 DNA topoisomerase IV complex, which currently does not have a statement of what it can do.
We do already have a child term of GO:0003918 for the supercoiling activity, but not for the topo type II relaxation activity:
-- GO:0003918 DNA topoisomerase type II (double strand cut, ATP-hydrolyzing) activity
--- GO:0034335 DNA supercoiling activity
It seems that it might be better if we added an additional MF term for supercoil relaxing activity, via double strand cut (or some better string.
Then,
DNA gyrase would be:
is_a GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)
capable_of GO:0034335 DNA supercoiling activity
capable_of supercoil relaxing activity, via double strand cut
topoisomerase IV complex would be
is_a GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)
capable_of supercoil relaxing activity, via double strand cut
Note that the GO:0034335 DNA supercoiling activity term has DNA gyrase activity as an exact synonym. However, when the definition of this term says that not all DNA gyrases are capable of introducing supercoils, I think that we should leave the DNA gyrase activity synonyms for this term to help draw the connection between this activity and DNA gyrase enzymes, but change them to RELATED, or maybe to NARROW.
... sigh, reading the definition of DNA supercoiling activity, I'm not sure what we should do about the capable of statements if NOT ALL DNA gyrase enzymes are capable_of DNA supercoiling activity.
Perhaps it would be best to only make this capable_of statement:
GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)
capable_of GO:0003918 DNA topoisomerase type II (ATP-hydrolyzing) activity
and then explicitly say DNA gyrase complex and DNA topoisomerase IV complex are both is_a GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)

...sight - indeed!
I didn't know you where planning on changing the relationships after doing the name changes, I thought we missed them as I forgot to add them to the ticket yesterday.
Happy to go with
'DNA gyrase complex' and 'DNA topoisomerase IV complex'
'is_a GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)'
and
'GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)'
'capable_of GO:0003918 DNA topoisomerase type II (ATP-hydrolyzing) activity'
for now. I think there is nothing wrong with those statements.
Supercoils are a different business, and I know nothing about the details (I haven't read into it in detail). But from the defs here it seems that
a) there are 2 types of supercoils: (+) and (-)
b) topos can do 3 things: remove, relax and generate supercoils!
And the combination of these activities differentiate the Type I and Type II topos.
If we want to eventually define all complexes logically we need to make some additional distinction between the gyrase and Topo IV by adding a relevant supercoil activity term. However, we aren't anywhere near that point yet so in order to close this chapter I'd leave the supercoils be supercoils and tackle that issue when we really need it (i.e. when people need the different MF terms for annotation).
Happy to

leave the DNA gyrase activity synonyms for this term to help draw the connection between this activity and DNA gyrase enzymes, but change them to RELATED, or maybe to NARROW.

Birgit

...sight - indeed!
I didn't know you where planning on changing the relationships after doing the name changes, I thought we missed them as I forgot to add them to the ticket yesterday.

I realize it wasn't really written anywhere, but I felt a little uncomfortable making the gyrase and topo IV complex terms child terms of the existing term that's meant to be the general topo II complex term until we clarified it...

Happy to go with
DNA gyrase complex and DNA topoisomerase IV complex
is_a GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)
and
GO:0009330 DNA topoisomerase II complex (double strand cut, ATP-hydrolyzing)
capable_of GO:0003918 DNA topoisomerase type II (ATP-hydrolyzing) activity
for now. I think there is nothing wrong with those statements.

agreed

Supercoils are a different business, and I know nothing about the details (I haven't read into it in detail). But from the defs here it seems that
a) there are 2 types of supercoils: (+) and (-)
b) topos can do 3 things: remove, relax and generate supercoils!

Is there a difference between removing and relaxing? or is that just a difference in amount of relaxing/removing?

And the combination of these activities differentiate the Type I and Type II topos.
If we want to eventually define all complexes logically we need to make some additional distinction between the gyrase and Topo IV by adding a relevant supercoil activity term. However, we aren't anywhere near that point yet so in order to close this chapter I'd leave the supercoils be supercoils and tackle that issue when we really need it (i.e. when people need the different MF terms for annotation).

Your comment makes me think that we should modify the name of the existing "DNA supercoiling term' to make it clear that it is specific to negative ones

Happy to

leave the DNA gyrase activity synonyms for this term to help draw the connection between this activity and DNA gyrase enzymes, but change them to RELATED, or maybe to NARROW.

cool

I realize it wasn't really written anywhere, but I felt a little uncomfortable making the gyrase and topo IV complex terms child terms of the existing term that's meant to be the general topo II complex term until we clarified it...

True. I guess you are about to commit those name changes very soon anyway.

Is there a difference between removing and relaxing? or is that just a difference in amount of relaxing/removing?

No idea, these terms are all in your/Wiki table :)

Your comment makes me think that we should modify the name of the existing "DNA supercoiling term' to make it clear that it is specific to negative ones

Yes, that might be worth doing.

@bmeldal - I think I did everything we agreed upon in the discussion since you reopened this ticket in the ticket referenced just above this comment, but let me know if you see anything I missed.

equivalence axioms and parentage for topo type II complex terms to the extent currently possible in the ontology
clarified "DNA supercoiling activity" term

Yes, I think that's it - for now ;-)


[chainerx] add bitwise ops

References #6423
To-Do:

In-place Version.
Documentation.
Array -Scalar
Array-Scalar-Inplace-Test

These routines look not support broadcasts. Could you add tests for broadcast after #7023 is merged?

Ah, right thanks for pointing that out.

@asi1024 is it ok if we do Array-Vs-Scalar in other PR?

Yes, please!

Actually on second thought, adding Array-Scalar in this PR itself.

Jenkins, test this please.

Jenkins CI test (for commit 597a1db219236ec54aeb18b146ee42a16433b295, target branch master) failed with status FAILURE.

Jenkins failure seems unrelated to this PR. LGTM!


SIMON GAME EXTENSION

Is your feature request related to a problem? Please describe.
A game for when youre bored
Describe the solution you'd like
the game is simon says it will generate diffrent patterns and the participant will remember the sequence and then play
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
What problem is this feature trying to solve?
How do we know when the feature is complete?

Hi @Sulagna-Dutta-Roy as you stated before i have created the issue so pls assign this to me!!!

Currently not accepting sample projects.
Wanted to know if this is an extension? @Mooosiee

Currently not accepting sample projects. Wanted to know if this is an extension? @Mooosiee

Yes i will make this as an extension

@Sulagna-Dutta-Roy Hi pls label and assign me this issue so i can start working on it!.


Tag & Collection Suggestions Not Working

The first item in the changelog for 5.6.24 (Apr 25, 2024) says:

New ✦ AI-Driven Collection and Tag Suggestions (Pro Only): When adding or editing an unsorted bookmark, you'll now see AI-generated suggestions above the collection and tag fields.

After upgrading to Pro, I don't see suggestions above the collection or tag fields when adding a new bookmark or editing an existing bookmark.
To Reproduce
Steps to reproduce the behavior:

Upgrade to Pro
Open Chrome
Go to my unsorted bookmarks: https://app.raindrop.io/my/-1
Highlight any bookmark in the list
Click Edit
Click on the Tags field
No suggestions displayed
Click on the Collection dropdown, which displays the Select collection popup
No suggestions displayed
Navigate to a page like https://help.raindrop.io/changelog/
Click the Raindrop.io Chrome extension icon, which displays the New popup
Click on the Tags field
No suggestions displayed
Click on the Collection dropdown, which displays the Select collection popup
No suggestions displayed

Expected behavior
When adding or editing and I expect to see a one or more suggested  tags listed directly above the Tags field.
When adding or editing and the Select collection popup is displayed, I expect to see a one or more suggested  collection names.
Screenshots

Desktop (please complete the following information):

OS: macOS 14.4.1 (23E224)
Browser Chrome 124.0.6367.158 (Official Build) (x86_64)
Version: 5.6.27

Ensure that our AI only suggests your existing collections and tags. It never generate new ones, as these tend to be too generic and not very useful. You need to create some collections and tags, and apply them to a few bookmarks. After this, the AI will adapt to your organizational style and make suggestions accordingly.
Learn more https://help.raindrop.io/ai-suggestions


Does this bot retain messages or involve other privacy considerations?

Does this bot record, exfiltrate, etc. the messages of other users in the server?
Cheers.

no

yes

yes

outvoted, mate


Files no longer update if user deletes them.

Describe the problem
If an end user deletes a file, the file will not update.
Here's a common scenario. My template uses tool A. Tool A has a config file to customize feature A. Feature A is optional, so user deletes config file. Tool A upgrades to include feature B. Feature B is critical for future scope of template. I update config file to use feature B. But now because the user deleted the config file, they don't get the updates on update and their repo is now broken and they don't why. They now have to recopy which adds a lot of pain.
Template
n/a
To Reproduce
No response
Logs
No response
Expected behavior
Whether or not a file should be updated should be determined by the template, not the end user.  The template should determine if a file should be excluded, skipped, or otherwise ignored.  Otherwise the end user will likely run into situations where their repo breaks and they won't know why. Unless of course, they specifically and intentionally exclude it in the update cli command
Screenshots/screencasts/logs
No response
Operating system
macOS
Operating system distribution and version
n/a
Copier version
n/a
Python version
n/a
Installation method
pipx+pypi
Additional context
This PR https://github.com/copier-org/copier/pull/1719 seems to be merged simply because it was unexpected to one person, but it seems very expected behavior to me. However, with it's introduction it is now impossible for the owner of the repo to force a file to be updated (even when those updates include breaking changes) that the end user deleted which seems incorrect. This will cause lots of headache for the template owner as users break their repos and submit tickets when they don't understand why.
Control should flow downstream.

That's an expectation mismatch between the template writer and the template user. As a user, I want all my committed modifications to be re-applied when updating my project. That applies to deleted files too. As a template writer, you want to force a particular thing onto the user (for their own good), but that goes against what the user wants.
In this particular case, I think you can write a migration? The migration would simply write this file if it doesn't exist? If it still exists then the update will do its job, and no further action is required.

I understand your point on expectations, but as a template writer I'm going to use a tool that gives me the most control.  As a user, I'm going to choose a template that doesn't break. These will come before any other expectations.
Your over complicating things.  Just revert to previous behavior, and introduce the exclude_on_update feature.  The only reason we added this was because a template owner doesn't have a way to control what is optional right now. A question to the template doesn't work in situations where you want it generated on copy, but deleted after generation. AKA, feature A isn't optional on start up, but is optional once a project is up and running.

Then I'm going to quote you:

Do we now need a feature to ensure we always regenerate all the files when we make an update? This all seems silly.

I don't think this is silly. If that's what you need, I could see a "regenerate deleted files" opt-in mode, whether it's on the template side (not overridable by the user) or the project side (toggle-able for each update). I'd lean towards the project-side since template writers could communicate to their users who accidentally deleted files that they can regenerate them with this toggle.

The previous behavior was correct. The files should exist or not based purely on the template, not the actions of the end user.

I strongly disagree, but that's simply because we have different use-cases.

Or maybe this is solvable with resolution conflicts? I'm not too active on this project these days so I'll let other more active maintainers comment, they will have more reasonable insights :sweat_smile:

because it was unexpected to one person

The issue was triaged and found to be valid.

Here's a common scenario. [...] They now have to recopy which adds a lot of pain.

Is this specific scenario really more common than the file just receiving minor updates from time to time? Because the irregular regeneration of unwanted files during updates adds friction as well. On the other hand, when you notice something is broken, it is obvious and you can just revert or recopy.

even when those updates include breaking changes

I can see the need for some way to declare that a file must be present after update because its significance has changed.

Otherwise the end user will likely run into situations where their repo breaks and they won't know why.

They can revert the update and investigate why it breaks. Maybe there should be an equivalent command to cruft diff, which yields a diff between what the project would look like without customizations and its current state to aid in debugging.

Whether or not a file should be updated should be determined by the template, not the end user. The template should determine if a file should be excluded, skipped, or otherwise ignored.

We are likely coming at this from different angles, but I don't see the need for patronizing users at all. They are responsible for the final project.

Control should flow downstream.

If you want control to strictly flow downstream, don't support updates and instruct your users to use (re)copy for updates. The intention of update is to reapply a user's changes on top of an updated template.

You guys bring up great points, and alternative solutions.

Is this specific scenario really more common than the file just receiving minor updates from time to time?

For the templates I manage yes. Generally updates to the template reflect updated best practices, new workflows, or updates to tooling. Minor updates are pretty non-existent.
Also, I'm not patronizing the users. As a user I want to see all the updates when I run update so I can accept or reject. I want to be in full control.  Even if a previous decision led me to delete a file. I would never expect to not see an update. I would never want any update to be automatically rejected.  I would be confused. I wouldn't expect any extra steps other than copier update then review the updates.  I wouldn't want to have to run copier update, then copier diff, then go to the template repo and copy down the file, or have to copy the repo and have to start over from scratch.

Is this specific scenario really more common than the file just receiving minor updates from time to time?

For the templates I manage yes.

This might partly explain our different points of view.
Let me provide a concrete example:
A template I'm maintaining, which generates a project structure for a plugin, uses pylint in a pre-commit hook. There's a .pylintrc as well.
A child project decides it does not want to use pylint for some reason (maybe it wants to use flake8), thus removes the pre-commit hook and the file. In a future template iteration, a Pylint config value is changed for some reason. The child project updates.
What happened before the patch you're objecting to:

The pre-commit hook stays absent.
The project receives a new .pylintrc file nonetheless.

I don't see the relevance for the expected update behavior. If the user decides to delete a file, it's their choice. They can also break generated projects by introducing bugs into templated files, which are also kept during updates.

As a user I want to see all the updates when I run update so I can accept or reject.

This might be another reason for our difference of opinion. In general, please see the above example. I wouldn't expect to keep denying updates for a tool's configuration file I'm not using. This behavior introduces fatigue.
I'm also coming from an automation pov. I can't automate copier update reliably this way. When an update breaks CI, I can take a closer look though.

I wouldn't want to have to run copier update, then copier diff, then go to the template repo and copy down the file, or have to copy the repo and have to start over from scratch.

We're talking about a very specific scenario here.

A user deletes a file in a generated project, probably having a good reason to do so.
A template's new release now requires this specific file that was optional before.

This should happen very seldomly. Only in this case would one have to debug the update. You don't have to copy down the file from the template repo or restart from scratch, just copier recopy, git add the missing file and reset all unstaged changes. Again, this is likely an edge case.

I'm assuming if you are using one linter and they are using another, it's going to cause a lot of conflicts throughout all of the template files and cause a lot more update issues than just this one file. Unless none of those files generated are using a linter, in which case why not just give them an option to pick a linter? Add a copier answer for linter: pylint, flake8, none. Then you can handle the creation of this file and updates there.
Is there a reason the users need to delete the .pylintrc at all?  It isn't going to harm anything since it's specific to a tool they aren't using.
Is there a reason they don't just fork your template and start their own using tooling they prefer? Picking your tooling is half the reason to choose a template, so if they don't like the tools used, just create another template.
If they know they are not using certain aspects of your tool, why don't they just exclude the file on update.  copier update --exclude .pylintrc. They could always create an alias to make this easy. I mean, generally in a copier repo, there's a contributing section in the README or docs that explains how to run copier update and any extra parameters expected.
Sorry, ignore all that, I know you guys said you triaged the issue. I don't need to know the details, even if I feel like there were several reasonable issues.
What I'm worried about is not just cases where updating a config fails obviously, but when it also fails silently. For examples, there are configs like datadog.service.yaml where scanners pick them up, deleting the file would cripple the repos monitoring set up. This is already pretty bad, but imagine CI/CD related files, .github action files, security files, etc.  Checks, security scans, and other tooling may be broken but because they are no longer running you wouldn't know they are failing. I could see how you wouldn't care about a linter's config file being removed, but these are different.
The point is, I have need of deleted files to be updated, and now that feature has been removed.

Let me just put another use case on the table. This template for an Odoo module generates a lot of subfolders (controllers, demo, examples, templates, wizards...). Most times, the module is simple enough to not need any of those. Thus, if I wanted to support updates (which I don't), then if the user deleted those files and they were being recreated some times, that'd be a big UX problem.
IIUC, the main problem is that the user deleted a file they shouldn't. Have you tried CODEOWNERS? It is IMHO a better way to control that.

maybe a recreate_always setting (list of path patterns) could address your worries more generally and would also address the case where a previously optional file becomes required.

That sounds like a valid idea. Another possibility would be a flag such as copier update --recopy-deleted. It depends if the control is on the template or on the user.

They now have to recopy which adds a lot of pain.

FWIW you can recopy only the files you deleted:
copier recopy --exclude '**' --exclude '!the-file-deleted' .

I've thoroughly been convinced that not wanting files to be recreated on update is desirable, even as the default behavior.  Seems like a more common problem. There are still times we want files to be recreated on update. There have been several good suggestions.
The CODEOWNERS solution doesn't work b/c we are assuming a file that made sense to be deleted early in the project, but is required later on in the project.

FWIW you can recopy only the files you deleted:

Handy. Not exactly a solution though since it is controlled from the user's side and requires the user to realize the reason their repo broke is because of a deleted file.

Thanks! Summarizing:

The fact deleted files are auto-ignored in updates is Copier's default behavior because it is more useful for the more common case.
Copier can't and won't protect the template consumer from deleting files and breaking their project.
When the user breaks the project, there are ways to recover it.

So, AFAICS, there's nothing else actionable to do here. Thus, closing. Thanks everyone!


Application customizers cannot find manifest off new build from 1.16.1

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
SPFx 1.16.1 - new install
Describe the bug / error
Application customizers cannot find manifest off new build from 1.16.1 You'll see the initial dialog box from the new build after serve, but if you check the dev tools console you'll see the error below. It seems to get caught on the promise resolve in the onInit
Error Message:
Failed to load component "80ff3a82-8833-4c84-81fd-de539415c7b2" (TopPlaceholderApplicationCustomizer). Original error: Manifest not found for component id "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" and version "17.0.2".
Dependencies:
"dependencies": {     "tslib": "2.3.1",     "@microsoft/sp-core-library": "1.16.1",     "@microsoft/decorators": "1.16.1",     "@microsoft/sp-dialog": "1.16.1",     "@microsoft/sp-application-base": "1.16.1"   },   "devDependencies": {<EMAIL_ADDRESS>"0.2.2",     "@rushstack/eslint-config": "2.5.1",     "@microsoft/eslint-plugin-spfx": "1.16.1",     "@microsoft/eslint-config-spfx": "1.16.1",     "@microsoft/sp-build-web": "1.16.1",     "@types/webpack-env": "~1.15.2",     "ajv": "^6.12.5",     "gulp": "4.0.2",     "typescript": "4.5.5",     "@microsoft/sp-module-interfaces": "1.16.1"   }
Steps to reproduce

Setup Dev Environment with 1.16.1
Build new application customizer package
Gulp Serve - error located in dev tools console

Expected behavior
That I serve and the application customizer loads as expected.

I had the same issue, after having the dependencies installed, the error went away.
Please run the below command:
npm i<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>--save-exact


⚠ Bofrost.de has degraded performance

In 69dd22e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1036 ms

Resolved: Bofrost.de performance has improved in 8168176 after 8 minutes.


Gradlew release task is failing for cpp-compiler plugin

Current Behavior
What went wrong:
A problem occurred configuring project ':xxxxxxxxxxxx-release'.
Exception thrown while executing model rule: ComponentModelBasePlugin.PluginRules#createSourceTransformTasks(TaskContainer, ModelMap, LanguageTransformContainer, ServiceRegistry)
Could not create task ':xxxxxxxxxx-release:compileMainExecutableMainCpp'.
> Could not create task of type 'CppCompile'.
> Could not create service of type DefaultCompilationStateCacheFactory.
> Cache 'nativeCompile' couldn't be reused because of the following mismatch:
* Requested value serializer type (org.gradle.language.nativeplatform.internal.incremental.CompilationStateSerializer) doesn't match current cache type (org.gradle.language.nativeplatform.internal.incremental.CompilationStateSerializer)

Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org/
BUILD FAILED in 2s
3 actionable tasks: 1 executed, 2 up-to-date

Expected Behavior
Gradlew release task should work without getting above error
Context (optional)
No response
Self-contained Reproducer Project
What went wrong:
A problem occurred configuring project ':xxxxxxxxxxxx-release'.
Exception thrown while executing model rule: ComponentModelBasePlugin.PluginRules#createSourceTransformTasks(TaskContainer, ModelMap, LanguageTransformContainer, ServiceRegistry)
Could not create task ':xxxxxxx-release:compileMainExecutableMainCpp'.
> Could not create task of type 'CppCompile'.
> Could not create service of type DefaultCompilationStateCacheFactory.
> Cache 'nativeCompile' couldn't be reused because of the following mismatch:
* Requested value serializer type (org.gradle.language.nativeplatform.internal.incremental.CompilationStateSerializer) doesn't match current cache type (org.gradle.language.nativeplatform.internal.incremental.CompilationStateSerializer)

Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org/
BUILD FAILED in 2s
3 actionable tasks: 1 executed, 2 up-to-date

Gradle version
7.5.1
Build scan URL (optional)
No response
Your Environment (optional)
Apache camel-3.14.10
Groovy - 3.0.19
Gradle - 7.5.1

Your issue appears to be a question about how to use Gradle. They should be asked in a different channel, so we will close it. Your question might be answered in Gradle documentation or on our community Slack or forums. Find links to these resources on help.gradle.org.
If you think our analysis is wrong, please provide us with more detailed information explaining why.


API docs don't cover places collection

sounds good - this will be incorporated into the API docs EPIC.


hi, seems can't login into my freecode camp account, even can't reset my password, help appreciated

We are currently fixing this! Thanks for your patience!

thank you very much
Sam


fix normalization of confidence computation

normalize by number of neighbors counted, rather than label count (original produces results > 1 when k > num_labels.)

@chrysm thank you, I'm merging this. also, I've just sent you a slack invite, we're all on #dev channel.


Update release package.json with new light theme warning color for text

WHAT
Update the text color for warnings shown in the status bar when using a light theme.
WHY
Previously it used #ffcc00, which looks fine with a dark theme, but is very difficult to read when you have a light theme. This pr changes the warning text color for a light theme to #7c6400.
HOW
Previously it looked like this when using a light theme:

With this change it now looks like this when using a light theme:

Actually this change only makes it look ok when the status bar is light. Some light themes have a dark status bar, so this change wont work.


Example drop down in preview is expanding with respect to the error message

Steps to reproduce the behavior:

Go to 'https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/combobox--left-aligned-label-with-container'
Enter data in 'Error Message' control
Note that the Example drop down in preview is expanding with respect to the error message

Expected behavior
Example dropdown width should not be relevant to error message
Screenshots
https://somup.com/c0V0hsxYHn
OS / Br
All
** Note:**
This is also occurring in 'https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/select--left-aligned-label-with-container'

In this example, there isn't anything controlling the width of the input, so it is naturally growing to accommodate the additional text. This is expected.
If you want the example to reflect the real world more accurately, then we need to restrict the width of its container, or the input itself, which will force the text to wrap.

Will be fixed as part of #993