fix issue with specifying ports via env vars

make sure tcp and udp port for dht are int type
Reason for fix (Ubuntu 20.04 and desktop app):

Without fix users specify env vars, LBRY_TCP_PORT=34562 and LBRY_UDP_PORT=34562, but then when you run the daemon it complains about string comparisons.
With this fix people can download the desktop application, set the above environment variables and have their seeding working with VPN! PIA VPN gives you a randomly assigned port forward port, with this fix a user can now use a VPN (with ENV vars).

Thanks for the PR!
The proper place to fix this is in the conf.py module, it is already doing the conversion to int there, so if the conversion is not working this is a bug and we would need a test showing it failing and then the accompanying fix:
Where conversion is already being done:
https://github.com/lbryio/lbry-sdk/blob/8be1c8310d5ed2069ed4f97620e9297fd59eb449/lbry/conf.py#L101
Tests that need to be updated to reproduce the problem you are experiencing:
https://github.com/lbryio/lbry-sdk/blob/8be1c8310d5ed2069ed4f97620e9297fd59eb449/tests/unit/test_conf.py#L91-L95

Might need some help, I cannot find where the environment variables are being converted into a type.
https://github.com/lbryio/lbry-sdk/blob/1d1f0527ee4c4c643c19cb64e749d3ffb2262a27/lbry/conf.py#L277

I think you've found the problem, if you look at the ArgumentAccess and ConfigFileAccess they all have load() methods which are called in __init__ to deserialize() the arguments but the EnvironmentAccess does not have one.

Thanks! I updated the conf.py to a working version, adding some type parsing and loading to the EnivronmentAccess
https://github.com/thebubbleindex/lbry-sdk/blob/13612eefcc7cec2d4052b10edcf20b8ae3745d91/lbry/conf.py#L277

It should be very close to how ArgumentAccess works and loop over all of the pre-defined settings and look for them inside the environment: for setting in self.configuration.get_settings().
Also, this needs tests, they would go here: https://github.com/lbryio/lbry-sdk/blob/master/tests/unit/test_conf.py#L91 (look at all of the other tests in that file to get inspiration).
You are making good progress, don't hesitate to ask about how something work if you are confused, this conf code in LBRY heavily uses Python descriptors which are explained here:
https://docs.python.org/3/howto/descriptor.html
https://docs.python.org/3.7/reference/datamodel.html#implementing-descriptors
https://docs.python.org/3.7/reference/datamodel.html#invoking-descriptors

Cool, think I have it now. I'll try to add the tests (I'm new to Python, but the examples you mentioned should be enough). Cheers!

Looking good! Instead of adding two new config options to the test config could you just re-use test_int that's already there (it's type Integer).

@thebubbleindex thanks for the PR, congrats on your first one!
Can we show you some appreciation for the contribution?


Don't show number if no notifications

Looks like this repo is dead, closing this to clean up my pulls list.


Create 0881-boats-to-save-people.go

File(s) Modified: 0881-boats-to-save-people.go
Language(s) Used: Go
Submission URL: _https://leetcode.com/problems/boats-to-save-people/submissions/1441697207/_

Note: Solution follows Neetcode video.

@Jasoncheung94 Thanks for your contribution 👍


Getting AbstractMethodError

Hi Everyone,
I'm trying to build a single jar which contains myProject and all anno4j dependencies.
To do so, i created a module inside the anno4j-parent and i included myProject there.
So, the structure is like that:
----anno4j-parent
           ----anno4-core
           ---- others...
           ---- myProject

Now to include all jar i'm using the maven-shade-plugin:3.0.0:shade.
At beginning everything works on eclipse, see the maven output hereafter:
[INFO] Anno4j Parent ...................................... SUCCESS [  3.711 s]
[INFO] Anno4j AliBaba (forked) ............................ SUCCESS [  0.024 s]
[INFO] Anno4j Alibaba Object Composition (forked) ......... SUCCESS [ 17.839 s]
[INFO] Anno4j Alibaba Blob Store (forked) ................. SUCCESS [  5.337 s]
[INFO] Anno4j Alibaba Object Repository (forked) .......... SUCCESS [ 11.004 s]
[INFO] Anno4j Core ........................................ SUCCESS [ 15.057 s]
[INFO] Anno4j Ontologies .................................. SUCCESS [  0.036 s]
[INFO] Anno4j MICO Ontology ............................... SUCCESS [  5.875 s]
[INFO] Anno4j Recommendation .............................. SUCCESS [  4.670 s]
[INFO] Anno4j Extensions .................................. SUCCESS [  0.030 s]
[INFO] Anno4j SPARQLMM Extension .......................... SUCCESS [  0.078 s]
[INFO] MAISA - Maintenance of semantic annotations ........ SUCCESS [ 32.295 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:36 min

The problem is when i use it in the command line: java -jar myProject.jar
I'm receving the following error when i execute the Main.class
Exception in thread "main" java.lang.AbstractMethodError: object.proxies._1acbd9a953b._EntityProxy8b0403296799bdd.addTarget(Lcom/github/anno4j/model/Target;)V
	at myProject.main.Main.main(Main.java:17)

It is strange because  in eclipse terminal everything works, but in the command line i get this error.
Before i was including all separeted jars in my project to share it with others.
However it is time consuming and i got some issues of dependencies, see this issue #121
So the example i mentioned before can be accessed in my GitHub repository: my Anno4j Project
Do you guys have some ideia why is it happening?
Best Regards,
Silvio

Hi @silviodc ,
you found a pretty ugly one there :)
Thomas and myself tried to look into it for a while, but we couldn't find a solution yet.
The objects created in your own project do not receive the correct behaviour of the Anno4j/Alibaba objects that they should receive.
We will ping again as soon as we find something.
Best,
Manu

Hi @berndl
Thanks so much for your answer!
After to try many things last week, i finally solved the problem :D
I added the following lines in my pom.xml
<transformer implementation="org.apache.maven.plugins.shade.resource.PluginXmlResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
		<mainClass>myProject.main.Main</mainClass>
</transformer>

Now everything is building and executing correctly :+1:
Take a look at my repository my Anno4j project
Best,
Silvio

Hi @silviodc ,
even better that you found the solution and did not have to wait for us :) Sorry that we could not support a solution!
I tested it quickly and it worked like a charm.
Thanks for finding and solving the issue, best,
Manu


Cannot read property 'clean' of null

In the function validateFormDoc the line that calls theclean function is acting weird.
ss.clean(docForValidation, { For some reason ss seems to be null.
This happens only on one form which is of type "method", there is a collection and schema that are defined for it. Any ideas appreciated.

yes.
i have the same issue. if You define parameter collection and schema together but schema isn't attached to this collection - if think there is a bug. Sample situation is when you want to edit users data without redefining default users and login module schema.

Same issue for me, I don't know the cause but it blocks the auto refresh.
I rebooted and things get back to work.

this is still an issue but the error I received is "ss not defined"

For reference:
https://github.com/Meteor-Community-Packages/meteor-autoform/issues/1248
TLDR:
As @lukiies stated, if you use type=method and collection=SomeCollection, you need to have a schema attached to the collection, SomeCollection. If you don't have a schema attached the schema, remove the collection option from the form.


Post Deployment MIME Type Mismatch With Safari

Context

Open-Next v2.3.9
NextJS v14.2

I posted this issue to discord and I started rolling my own solution, but then I realized my solution might have unintended consequences. I'm posting here to see if there's a more accepted answer.
Problem
After a deploy to AWS using CDK, when I attempt to refresh the page with Safari, I get nothing (white screen) until I do another refresh.
I debugged this down to the fact that safari (v16 in my case) is caching the html because there is an s-max-age set to indefinite but no max-age. So on the first refresh it uses the cached html which references the now invalidated js bundles. Cloudfront returns a 403 (as expected) on these bundles with an xml response body. Safari then sees this xml as a mime type mismatch and throws its hands up. The subsequent refresh then fetches all of the new html and all is well again.
My understanding was that the browsers shouldn't be using s-maxage, but rather those were meant exclusively for the private caches.
For what it is worth, I also do not have any middleware in next, and I'm not doing anything else funky that should have an effect on these headers.

Just wondering, are you removing previous assets? You should probably keep at least assets from previous deployment. If you remove them, people using the website while you do a new deployment will have crash.

Yes. I'm using most of the default behavior of https://github.com/jetbridge/cdk-nextjs
At the moment, I have few enough users, that I can monitor when it's in use and deploy in the after hours.
I was thinking though that if the page itself was never cached on the client but the bundles were, then it wouldn't matter. Because if someone refreshed they'd get the new html that references the new bundles anyway.

Look what just went up 27 minutes ago: https://github.com/jetbridge/cdk-nextjs/pull/219

We can probably close this one.
As stated in my comment the solution is to keep old assets (at least for a small amount of time after a deploy)
If this is really a big issue for you then you'll need to upgrade to v3 (not supported in cdk-nextjs yet as far as i know) and use a custom wrapper or converter to change the cache-control to what you want ( You could even apply this only for safari user-agent )


Navigation to left, mid, or right view controllers?

Is there a way to navigate to between view controllers? Pushing it won't work because it'll be pushed over the current context, I just want it to sort of, "swipe" to the specified view controller?

bump

I wanted to know this as well before using it in a project I'm starting. After looking at the code, it looks to just be using a regular scrollview. So you could use any of the methods you'd normally use to scroll a scrollview programatically. Hope that made sense.
@jakespracher would you be open to a PR that adds a method to scroll to a certain page?

Sure thing

Hi,
I'm trying to figure out how to programmatically scroll/navigate to a specific view controller and can't figure it out. Would you be so kind to advise how to access the scroll view and set the content offset accordingly? I tried to do it by accessing SnapContainer but the compiler is finding nil.  Can't seem to figure out how to trigger a button to scroll to either the left or right VCs.
Thanks!!

Try this: https://github.com/ssgutierrez42/Snapchat-Swipe-View

@ssgutierrez42 Thanks but I decided to forgo using this framework for a few reasons.


[focus_areas] Rephashing in Code Development focus area

Rephrasing suggested by @rpaik in #181.

LGTM


FruitTree lumber and lumber accessories

Cinnamon is in a weird spot, i'll need to figure out an elegant way of handling it later.

Also need to see the cinnamon blocks make it in.


Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

💬 Questions and Help
Loadable Components project is young, but please before asking your question:

Read carefully the README of the project
Search if your answer has already been answered in old issues

After you can submit your question and we will be happy to help you!

Hello @FuncWei, submitting a screenshot is not very respectful. But I deduce you are using a old version of react-router in wich, prop types were not correct.


Migrations failing: DBConnection.query/4 undefined

Environment

Elixir version (elixir -v): 1.2.6
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): MYSQL
Ecto version (mix deps): phoenix-ecto 3.0.0-rc / ecto 2.0.0-rc
Database adapter and version (mix deps): mariax 0.7.1
Operating system: OSX El Capitan 10.11.13

Current behavior
On my system, mix ecto.migrate currently fails with the following error:
** (UndefinedFunctionError) undefined function DBConnection.query/4
    (db_connection) DBConnection.query(Admin.Repo.Pool, %Mariaex.Query{connection_ref: nil, name: "", parameter_types: [], reserved?: false, statement: "CREATE TABLE IF NOT EXISTS `schema_migrations` (`version` bigint, `inserted_at` datetime, PRIMARY KEY (`version`)) ENGINE = INNODB", statement_id: nil, type: nil, types: []}, [], [decode_mapper: #Function<1.124042512/1 in Ecto.Adapters.SQL.query!/4>, timeout: :infinity, pool_timeout: 5000, timeout: 15000, adapter: Ecto.Adapters.MySQL, username: "root", password: "", database: "admin_dev", hostname: "localhost", pool_size: 10, pool: DBConnection.Poolboy])
    (ecto) lib/ecto/adapters/sql.ex:174: Ecto.Adapters.SQL.query!/5
    (ecto) lib/ecto/adapters/mysql.ex:99: Ecto.Adapters.MySQL.execute_ddl/3
    (ecto) lib/ecto/migrator.ex:43: Ecto.Migrator.migrated_versions/2
    (ecto) lib/ecto/migrator.ex:142: Ecto.Migrator.run/4
    (ecto) lib/mix/tasks/ecto.migrate.ex:70: anonymous fn/4 in Mix.Tasks.Ecto.Migrate.run/2
    (elixir) lib/enum.ex:604: Enum."-each/2-lists^foreach/1-0-"/2
    (elixir) lib/enum.ex:604: Enum.each/2
    (mix) lib/mix/cli.ex:58: Mix.CLI.run_task/2
    (elixir) lib/code.ex:363: Code.require_file/2

I believe this is because db_connection recently removed the DBConnection.query/4 method
see this commit: https://github.com/fishcakez/db_connection/commit/cca87d11d09c963b106ee6a0a460b3f603810d6a
Expected behavior
The migrations to update the DB successfully

Please add {:db_connection,  "~> 0.2.5"} to your deps in your mix.exs for now.

If you have phoenix_ecto 3-beta you must override {:db_connection, "~> 0.2.5", override: true}

I have just released a new ecto version that fixes this issue. So upgrading Ecto should work too.

@josevalim thanks for the fast response! the upgrade has fixed the issue


Research avalailable makaton videos

[x] Look for makaton videos that are available as they relate to our questions and answers
[x] If there are not makaton videos available as we need them, try to arrange filming our own videos.

After researching makaton videos we found that there were not satisfactory ones online so have opted to create our own.


Fix copy-to-clipboard for OpPhi and OpSwitch

OpPhi will have (%.. : %..) stuff in it which is not valid SPIR-V

fixed in https://github.com/KhronosGroup/SPIRV-Visualizer/commit/79826761cb98a7c4559c8adc1d4130956c385c3e


Fix/ open in VSCode for folder routes

Description
I've found that the open in VSCode button wasn't working due to the file extensions being missing on the exec call and also the feature not currently working with Remix's folder routes.
This PR is aimed for the main Open with VSCode feature in the "Active segments" section of the app.

I still believe there's a bit more fixing to do to the other implementations of this open-source method, but this is the first step.
This is a localized fix, so it doesn't affect the other implementations of open-source.
Before
https://github.com/user-attachments/assets/10012ff9-5135-435e-b1be-526b9a4f7224
After
https://github.com/user-attachments/assets/5d2359aa-0b1a-4f22-9598-efd0d0280e25
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
I manually tested it, on Windows 11 23H3.
If there are more types of tests to be done I would appreciate some guidance as I'm a bit lost in that subject!
Checklist:

[x] My code follows the guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings or errors
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@AlemTuzlak Hi! I don't have permissions to add you as reviewer, any thoughts on this?

@muchisx sorry, I've been on vacation the last 2 weeks, I'll try to sit down and go over this in detail on monday, from what I could see the code looks great

Really looking forward to this 👏

@AlemTuzlak Awesome thanks! I left a few replies, I can give it some work later today but if you want to finish it you can go ahead!

@muchisx I finished it up myself as I'm closing shop for today and I won't have time to work on it for a while, thank you so much! Wanted to credit you on twitter but no idea what your name there is

🥳 Thank you!
It's same as gh, @muchisx !

Hola! 👋 really cool to see this merged! just tried this morning updating to the new release version.
Sadly, for us, it does not work as expected and it even brings the server down when clicking on it. This is the error we get:

@omarsotillo can you install 4.5.2 and see if it crashes?

Hello @AlemTuzlak it works now! Thank you!


Rename the class name with "Pseudo" as prefix

This won't be a big issue, the only problem without rename is BandsWorkChain is mess up with BandsWorkChain from qe plugin. But PseudoBandsWorkChain cause confusion on what is "pseudo bands". Maybe SsspBandsWorkChain is fine and the only one required to change.

Not needed, the entry points are clear to distinguish things.


Update rak-wireless.md

Change RAK Wireless to official name RAKwireless and fix some typos

Agreed, merging


vampire: update license to BSD-3 Clause.

As of November 2020, Vampire now uses a modified BSD-3 license.

Motivation for this change
As of November 2020, Vampire now uses a modified BSD-3 license.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Can this wait for the next upstream release? I'm uncomfortable with changing the license to something which isn't in the repo at the tag we're actually using it at.

I'm uncomfortable with changing the license to something which isn't in the repo at the tag we're actually using it at.

The current release should still be the old license, right? This should be definitely be changed for the next update.

As previously mentioned, the issue is that at the version we have in nixpkgs the license looks like this: https://github.com/vprover/vampire/blob/57a6f78cc2bc179e480c3d47d09fbfc1ec8d1f23/LICENCE (sic!)
Please ask the upstream to release a new version, so distros can package that under the new license.

Alright, I'll close this.


Component doesn't appear to load in chrome extension content script

I'm trying to use in a content script in a Chrome extension.  Basically this is just html/js/css that the extension injects into certain pages.
I use the google-map-react successfully in my SPA, so I  am familiar with the API.
The error(s) are:
js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:103
Uncaught Yc
  message: "_$_google_map_initialize_$_ is not a function"
  name: "InvalidValueError"
  stack: "Error↵    at new Yc (https://maps.googleapis.com/maps/api/js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:55:363)
    at Object._.Zc (https://maps.googleapis.com/maps/api/js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:55:473)
    at Yg (https://maps.googleapis.com/maps/api/js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:103:420)
    at https://maps.googleapis.com/maps/api/js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:141:58
    at Object.google.maps.Load (https://maps.googleapis.com/maps/api/js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:21:5)
    at https://maps.googleapis.com/maps/api/js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:140:20
    at https://maps.googleapis.com/maps/api/js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:141:73"__proto__: ErrorYg @ js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:103(anonymous function) @ js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:141google.maps.Load @ js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:21(anonymous function) @ js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:140(anonymous function) @ js?callback=_$_google_map_initialize_$_&key=<API KEY REDACTED>&language=en:141
google_map_loader.js:65

Uncaught (in promise) Error: google map initialization error (not loaded)(…)
  (anonymous function) @ google_map_loader.js:65
  callback @ script.js:48
  el.onload.el.onerror.el.(anonymous function) @ script.js:82

I initially tried loading the google Maps API via a script tag in the .html root of my content script, butr it resulted in the same error .
My component now, using bootstrapURLKeys:
const MapPanel = (props) => {
  return (
    <div>
      <GoogleMap
        defaultcenter={{ lat: 59.938043, lng: 30.337157 }}
        defaultZoom={9}
        bootstrapURLKeys={{
          key: '<API KEY REDACTED>',
          language: 'en'
        }}
      />
    </div>
  )
}

Lastly, when the error throws, I am fully able to access google.maps in the Chrome Console, so the library is loading correctly.  Also, the script tag is added to the document head, as well as 3 other script:
<script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/27/12/common.js"></script>
<script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/27/12/util.js"></script>
<script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/27/12/stats.js"></script>

I looked at https://github.com/istarkov/google-map-react/blob/master/src/utils/loaders/google_map_loader.js , but it's not obvious to me what the problem could be.
Anyone have any ideas?

I wanted to add: my chrome extension manifest includes https://maps.googleapis.com/maps/api/js as an authorized script-src, so I don't think it's a permissions problem.

Please read https://groups.google.com/forum/#!topic/google-maps-js-api-v3/lPydWBYe1kQ or similar references, and use custom loader,
googleMapLoader property
custom loader should have same interface as https://github.com/istarkov/google-map-react/blob/master/src/utils/loaders/google_map_loader.js
(Should return promise which resolves with google.maps object)

thanks @istarkov . I've seen the link you mentioned, but unfortunately it deals only in cases where one wants to modify an existing instance of Google Maps on a page.
I'm still working out a solution, but it looks like the problem stems from Google Maps always loading on the window object & Extension Content scripts being unable to access their parent page's execution context.
Will close since it's nothing to do with google-map-react, but do you know of any way to load google maps other than via the script tag? I'm finding even the async loaders (like script.js) use script tags under the hood.


Misc Makefile fixes

Fix for-loop in Makefile's verify - the exit code in the for-loop was being lost
Fix dependencies for "make images" so it builds the docker build image first.
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

I'm mostly ok with this, but don't understand why the scbuildimage, which is used for building binaries, is needed to do a Docker build that is just bundling those binaries onto an image. I realize this dependency isn't new and that you're merely codifying it now, but I'd like to understand this better anyhow.

@krancour because we need to build the binaries as part of this. Notice that regardless of how the "bin/*" binaries are built, when the images are built, we rebuild everything for the explicit arch/os - and to do that we use our Docker/scbuildimage.  I think we do it this way because this is how it was done in the old build setup - but thinking about it now... do we need to mandate that this is done under Docker or can it just be a conditional docker build like all of the other build steps?  Let me play with it a sec...

@krancour can you test out the latest stuff for me from your mac w/o DOCKER=1 ? Hopefully it should build the images for the right arch/os w/o using scbuildimage.

@duglin I'll try in the morning. imho, whether building in or out of container, we should always build only for linux/64. (I know we've discussed this before, but I still feel that there's no point in executing these binaries outside a k8s cluster, and if executing in a k8s cluster, you're executing in a container on Linux and 99+% of the time amd64.) If we always compiled only for that OS/arch combo, there would never be any question of whether the executables in bin are the right ones to include in the Docker images.
If, somehow, I can't convince you of the above, I do also believe there are options we can fiddle with when building to place binaries into a directory structure that reflects os and architecture, so the Docker image build can always just use the binaries for the right os/arch because they'll deterministically be at a certain path.

@krancour I actually have no problem assuming we're always on linux/64 - the current Makefile was just trying to match what was there before.

@duglin, when I said:

I know we've discussed this before

I was mis-remembering... sorry! That discussion was between @martinmaly and myself.
I cannot recall what reasons he had offered for supporting build for the native os/architecture, but unless he wants to weigh in on that matter now, I do think we should consider building only for linux/amd64 (regardless of whether building in or out-of container). Making this relatively safe assumption simplifies the whole equation by a considerable deal.
And although it need not be part of this PR, I think we should also start discussing whether we can simplify further by eliminating support for the out-of container build. I'm not sure what merit there is to continuing to support that.

I'd prefer to defer both (darwin builds and non-docker-builds) for follow-on PRs because 1)  I don't think everyone will agree quickly and 2) I'd like to get this PR merged - I'm bothered the lint stuff isn't working in master.

@duglin I opened those as separate issues, and since this PR will still incrementally advance the build in terms of stability... LGTM.


Clean exit without exception if server was not set during initialization

Description:
Clean exit without raising exception if server was not set
Related issue (if applicable): fixes #
https://github.com/home-assistant/home-assistant/pull/4866
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Cleaner exit by not throwing exception if server was not set during initialization of component (ref https://github.com/home-assistant/home-assistant/pull/4866)

We should do the same for emulated hue

The error handling seems to work fine with emulated_hue since it instantiates the HomeAssistantWSGI class.  The error message is emitted by the http-component however.


Update actions/download-artifact to v4

Current behavior
Currently using v3
Suggested enhancement
No response
Additional context
No response

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


DateInput problem with keyboard

1.10.1 (Latest) on WebAssembly project.
Have a DateInput and enter date, for example "today":

Now try to manually edit with keyboard only the month... [BUG]: day and year fileds are reset on value changed event:

@LucaCris Were you able to replicate here: https://demos.getblazorbootstrap.com/form/date-input#validations
Please specify the DataType of the DateInput. If possible share a full screenshot of the DevTools, in case of any console errors.

I can't tell to all my customers to do something non-standard. If I have two digit template "08" is the only right input sequence.
Replicated also in demo site... definitely a bug. 🙂

@gvreddy04 the issue is fixed when you wrap the SetValueAsync call in an if statement.
if (e.Value is string test && test != string.Empty)

BTW. could you help me understand what the purpose is of this component? Blazor already allows you to todo all this with the native InputDate component. Where is the main benefit of using this component instead?

Can we have a fix for the "clear to null value" in DateTime? object?

I gonna take a look on it this week. Maybe I find a solution


Dev

Updated to allow for non-installed programs to be added and an initial implementation for an option to generate ids by hashing content.

I noticed some issues where the programs appear to be listed as installed and then they are no longer installed. It appears that something in galaxy takes away the given names and replaces them with unknown under some set of circumstances.


I am receiving a zip file not found when downloading SDKMAN

To download I type:   curl -s "https://get.sdkman.io" | bash
Getting this error:   "Looking for a previous installation of SDKMAN...
Looking for unzip...
Looking for zip...
Not found.
Please install zip on your system using your favourite package manager.
Restart after installing zip."
I have downloaded a couple zip programs but nothing works.  Which "zip" program is SDKMAN looking for?

Hi @paynet1, if you have any more questions feel free to reach out to us on Slack.


dead link to download the Windows ISO

The link to download the windows ISO is not working anymore.
evaluation version of Windows 10 Enterprise

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

ID: bcc63299-cc1c-e031-deb7-915914b8f94e
Version Independent ID: 356eaba5-16b0-952f-fc19-c8d5be5feb5f
Content: Demonstrate Autopilot deployment - Windows Deployment
Content Source: windows/deployment/windows-autopilot/demonstrate-deployment-on-vm.md
Product: w10
Technology: windows
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @TheBaban for filing the feedback. We're aware of the issue. I'm investigating next steps.

See https://techcommunity.microsoft.com/t5/windows-11/accessing-trials-and-kits-for-windows-eval-center-workaround/m-p/3361125
We'll update this and other articles soon.


Remove ready() function

This has proven to be an edge case for imperative coding. We should remove this in a future major release.

Done in #1066.


Use getopts for command line arguments

Allow passing path to cddrive as argument.
Use getopts to handle arguments.
Basic error handling for arugments.
Use mktemp for more robust temp directory than basename. Makes life easier than escaping scene file names.

Tested on Fedora 27.

Looks sweet, I did a little cleanup & merged your PR.
Thanks again for contributing!


Hide InvalidState in generated doc.

As it's a variant which should not be used (only for keeping rustc happy), I think it's better to keep it hidden in generated doc.

Thanks!


Kicked for Being OP

hey, Using the latest lightfall server have three servers proxy, hub, server1
i made myself op, it kicked me and i cant join until take myself out of op
https://prnt.sc/11147sp
01.04 00:58:51 [Server] Server thread/INFO Made denireilly a server operator
01.04 00:58:51 [Disconnect] User denireilly has disconnected, reason: Disconnected
01.04 00:58:51 [Server] Server thread/INFO denireilly left the game
No errors in log

Have a test again maybe?

issue still persists
18.04 13:15:59 [Server] User Authenticator #1/INFO UUID of player denireilly is cd451e55-eade-3754-a6a4-250c078e84fb
18.04 13:16:02 [Server] Server thread/INFO [n.m.c.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.advancements.PlayerAdvancements@4673a313
18.04 13:16:02 [Connect] User denireilly, IP <IP_ADDRESS>
18.04 13:16:02 [Multicraft] denireilly ran command Message of the Day
18.04 13:16:17 [Server] Server thread/INFO [Console/]: [Hub]   Have you registered on the website yet? Register here @ http://thecraftingdead.com
18.04 13:16:20 [Server] Server thread/INFO Made denireilly a server operator
18.04 13:16:20 [Disconnect] User denireilly has disconnected, reason: Disconnected
18.04 13:16:20 [Server] Server thread/INFO denireilly left the game

Try set disable-entity-metadata-rewrite to true in waterfall.yml

hey,
i thought about that, same thing
https://prnt.sc/11n3w0q

Actually I cannot reproduce this. Please provide all your mods and plugins and bungee plugins.

sure
18.04 13:58:21 [Server] Server thread/INFO Mod List:
18.04 13:58:21 [Server] INFO • minecraft forge-1.16.5-36.1.4-server.jar : minecraft (1.16.5) - 1
18.04 13:58:21 [Server] INFO • mods_folder crafting-dead-virus-1.16.5-1.0.0-alpha.jar : craftingdeadvirus (1.0.0-alpha) - 1
18.04 13:58:21 [Server] INFO • mods_folder voice_chat-1.16.5-<IP_ADDRESS>-SNAPSHOT.jar : voicechat (<IP_ADDRESS>-SNAPSHOT) - 1
18.04 13:58:21 [Server] INFO • mods_folder ImmersiveEngineering-1.16.5-4.2.4-134.jar : immersiveengineering (1.16.5-4.2.4-134) - 1
18.04 13:58:21 [Server] INFO • mods_folder crafting-dead-core-1.16.5-1.4.0-alpha.jar : craftingdead (1.4.0-alpha) - 1
18.04 13:58:21 [Server] INFO • mods_folder jei-1.16.4-<IP_ADDRESS>.jar : jei (<IP_ADDRESS>) - 1
18.04 13:58:21 [Server] INFO • mods_folder Mekanism-1.16.5-<IP_ADDRESS>8.jar : mekanism (10.0.21) - 1
18.04 13:58:21 [Server] INFO • mods_folder mcw-windows-1.0.2-mc1.16.4.jar : mcwwindows (1.0.2) - 1
18.04 13:58:21 [Server] INFO • mods_folder pamhc2foodcore-1.16.3-1.0.2.jar : pamhc2foodcore (version) - 1
18.04 13:58:21 [Server] INFO • mods_folder XaerosWorldMap_1.12.2_Forge_1.16.5.jar : xaeroworldmap (1.12.2) - 1
18.04 13:58:21 [Server] INFO • mods_folder [1.16.5]+SecurityCraft+v<IP_ADDRESS>.jar : securitycraft (v<IP_ADDRESS>) - 1
18.04 13:58:21 [Server] INFO • mods_folder TravelersBackpack-1.16.4-5.3.8.jar : travelersbackpack (5.3.8) - 1
18.04 13:58:21 [Server] INFO • mods_folder hcdservercore-1.2.0.jar : hcdservercore (1.2.0) - 1
18.04 13:58:21 [Server] INFO • mods_folder betteranimalsplus-1.16.4-10.1.0.jar : betteranimalsplus (10.1.0) - 1
18.04 13:58:21 [Server] INFO • mods_folder u_team_core-1.16.5-<IP_ADDRESS>.jar : uteamcore (<IP_ADDRESS>) - 1
18.04 13:58:21 [Server] INFO • mods_folder mcw-roofs-2.0.1-mc1.16.5-4.jar : mcwroofs (2.0.1) - 1
18.04 13:58:21 [Server] INFO • mods_folder mcw-doors-1.0.2-mc1.16.5.jar : mcwdoors (1.0.2) - 1
18.04 13:58:21 [Server] INFO • mods_folder cfm-7.0.0-pre19-mc1.16.3.jar : cfm (7.0.0-pre19) - 1
18.04 13:58:21 [Server] INFO • mods_folder mcw-furniture-2.0.1-mc1.16.5.jar : mcwfurnitures (2.0.1) - 1
18.04 13:58:21 [Server] INFO • mods_folder MekanismGenerators-1.16.5-<IP_ADDRESS>8.jar : mekanismgenerators (10.0.21) - 1
18.04 13:58:21 [Server] INFO • arclight arclight-forge-1.16-1.0.17.jar : arclight (1.16.5-1.0.17-831b37b) - 1
18.04 13:58:21 [Server] INFO • maven_libs forge-1.16.5-36.1.4-universal.jar : forge (36.1.4) - 1
18.04 13:58:21 [Server] INFO • mods_folder AppleSkin-mc1.16.2-forge-1.0.14.jar : appleskin (1.0.14) - 1
18.04 13:58:21 [Server] INFO • mods_folder VendingMachine-1.16.2-<IP_ADDRESS>.jar : vm (<IP_ADDRESS>) - 1
18.04 13:58:21 [Server] INFO • mods_folder DynamicSurroundings-1.16.4-<IP_ADDRESS>.jar : dsurround (1.16.4-<IP_ADDRESS>) - 4
18.04 13:58:21 [Server] INFO • mods_folder corpse-1.16.4-1.0.6.jar : corpse (1.16.4-1.0.6) - 1
18.04 13:59:24 [Server] Server thread/INFO [Console/]: Plugins (28): AnimationLib, HealthBar, GroupManager, AutoBroadcast, BuycraftX, ProtocolLib, TCDRspawn, LibsDisguises, VoxelSniper, TCDUtils, TCD-CORE, TCDProxy, CommandCooldown, TCDSpawn, UltimateBossBar, Vault, HideStream, WorldEdit, Essentials, HolographicDisplays, WorldGuard, Citizens, EssentialsProtect, EssentialsChat, AntiVPN, CommandNPC, EssentialsSpawn, CoreProtect
Proxy just has one plugin, cleanmotd

Please test with latest lightfall and arclight build.

同问，怎么解决，最新lightfall不行（；


perlPackages.ParallelPipes: init at 0.005

Motivation for this change
https://metacpan.org/release/Parallel-Pipes
Dependency for App::cpm
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 104975 run on x86_64-linux 1

2 packages built:

perl530Packages.ParallelPipes
perl532Packages.ParallelPipes

Result of nixpkgs-review pr 104975 run on x86_64-darwin 1

2 packages built:

perl530Packages.ParallelPipes
perl532Packages.ParallelPipes

Thanks @stigtsp @SuperSandro2000 ! :tada:


Rename branches with suitable spec version

Currently, we use 3rd-project-name as submodule's branch name (e.g., 3rd-nw-linux), and most of them assume using beta0 of cca spec. I think that we should change 3rd-party branch's name to project-name-version so that it can reflect the version of spec (e.g., nw-linux-eac2). islet's branch could be also distinguished with the spec version too (e.g., main->beta0). These would facilitate maintaining our implementation according to the different spec design.

As I remember, @bitboom suggested to use tags instead of using branches.
We need a versioning at this point before proceeding with the eac5 work.
Can we decide now what to use between tagging or taking a branch for beta0?

For the reference, linux-cca, kvm-tool and qemu use branch while tf-rmm uses tagging like the below.
linux-cca (https://gitlab.arm.com/linux-arm/linux-cca)
[branch]
cca/rmm-v1.0-eac2
cca/rmm-v1.0-eac5
cca/rfc-v1

kvmtool-cca (https://gitlab.arm.com/linux-arm/kvmtool-cca)
[branch]
cca/rmm-v1.0-eac2
cca/rmm-v1.0-eac5
cca/rfc-v1

qemu-cca (https://jpbrucker.net/git/qemu)
[branch]
cca/rmm-v1.0-eac5
cca/rmm-v1.0-eac2
cca/rfc-v2
cca/rfc-v1

tf-rmm (https://git.trustedfirmware.org/TF-RMM/tf-rmm.git/refs/)
[tag]
rmm-spec-v1.0-eac5
rmm-spec-v1.0-eac2
tf-rmm-v0.1.0

Although I initially suggested using different branches, using either one would be totally fine.


make unit tests for app.ts and add retries to mongo

add retries to connecting to mongodb
refractor app.ts to decouple its functions
wrote unit tests for app.ts (not finished)


More advanced regex features.

Includes:

[x] Quantifiers +, * and ?
[x] Groups
[x] | (alternations).
[ ] Identifiers and calls (work in progress)

The implementation is far from pretty however.

Note:
I first considered going for a fully-recursive match scheme, where each fragment to match would call a new function with its new last-index and the new match.
I didn't go that route mostly out of performance concerns.

Whoops, that's a legit failure. Pushed.

Added support for | (alternations).
Refactored code... Though it's still faar from pretty.

Made a first pass. Will make more.
Looks very nice! This is definitely something we can build on. I realize that we'll need to talk about regexes closing over their environment sooner rather than later. It's going to be important for is parsed, if not before that.

Just gave this PR a heavy lifting. This should help it being more maintainable: no calibrate hack was needed, and it looks much better returning either the last-index or Nil. All tests pass, and I should be able to add tests for search soon™-ish.

@vendethiel Getting some test failures in t/code-style/four-space-indent.t.

Happy about where this is heading!
I'll try to find some more time to analyze how this PR is faring especially in regards to what is parsed needs. (To me that's the "principal consumer"; I'm not so interested in regexes in usedland right now, with the notable exception of #183.)
I'd like to highlight that there's currently a content conflict in the PR.

I guess the next step would be variable/calls and captures :).


Cannot push image to the private registry

After I followed the instructions and installed harbor, I can't push my image to the private registry.
Environment: CentOS 7.1 / Docker 1.10 / IP <IP_ADDRESS>
I appended this line to /etc/sysconfig/docker.
OPTIONS='--selinux-enabled --ipv6=false --insecure-registry=<IP_ADDRESS>:5001'
But when I push a image,
docker push <IP_ADDRESS>:5001/ubuntu:14.04
I got these logs.
The push refers to a repository [<IP_ADDRESS>:5001/ubuntu]
unable to ping registry endpoint https://<IP_ADDRESS>:5001/v0/
v2 ping attempt failed with error: Get https://<IP_ADDRESS>:5001/v2/: dial tcp <IP_ADDRESS>:5001: getsockopt: connection refused
v1 ping attempt failed with error: Get https://<IP_ADDRESS>:5001/v1/_ping: dial tcp <IP_ADDRESS>:5001: getsockopt: connection refused
Anyone have idea?

By default, Harbor's port is 80, so the command should look like this:
push <IP_ADDRESS>/ubuntu:14.04
Hope this helps.

I have tried this but it does't work. I edited /etc/sysconfig/docker with this line
OPTIONS='--selinux-enabled --ipv6=false --insecure-registry=<IP_ADDRESS>'
Run docker push <IP_ADDRESS>/ubuntu:14.04
Got these:
The push refers to a repository [<IP_ADDRESS>/ubuntu]
unable to ping registry endpoint https://<IP_ADDRESS>/v0/
v2 ping attempt failed with error: Get https://<IP_ADDRESS>/v2/: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused
v1 ping attempt failed with error: Get https://<IP_ADDRESS>/v1/_ping: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused

seems docker client is still trying to access https, have you restarted docker daemon?

@reasonerjt Yes, I restarted docker daemon, but the same error happened.
The docker client do try to access https, what should I do to fix this?
$docker push <IP_ADDRESS>/ubuntu:14.04
The push refers to a repository [<IP_ADDRESS>/ubuntu]
unable to ping registry endpoint https://<IP_ADDRESS>/v0/
v2 ping attempt failed with error: Get https://<IP_ADDRESS>/v2/: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused
v1 ping attempt failed with error: Get https://<IP_ADDRESS>/v1/_ping: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused

Before I push an image whether I should login first? I signup on my harbor site.
I added "OPTIONS='--selinux-enabled --ipv6=false --insecure-registry <IP_ADDRESS>'" on my /etc/sysconfig/docker, but I login failed at the same time.
$docker login <IP_ADDRESS>
Username: xxx
Password:
Email<EMAIL_ADDRESS>Error response from daemon: invalid registry endpoint https://<IP_ADDRESS>/v0/: unable to ping registry endpoint https://<IP_ADDRESS>/v0/
v2 ping attempt failed with error: Get https://<IP_ADDRESS>/v2/: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused
v1 ping attempt failed with error: Get https://<IP_ADDRESS>/v1/_ping: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add --insecure-registry <IP_ADDRESS> to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/<IP_ADDRESS>/ca.crt

--insecure-registry=<IP_ADDRESS>  :)

Thank you all, I got the answer. The docker's configuration file is not in /etc/sysconfig/docker, so the config not work. The right place is /usr/lib/systemd/system/docker.service

Good to know, closing this issue.


[WIP][RFC] Refactoring KV-cache setup, adding overrides for max cache seq length

Context
What is the purpose of this PR? Is it to

[ ] add a new feature
[ ] fix a bug
[ ] update tests and/or documentation
[ ] other (please add here)

Please link to any issues this PR addresses.
Changelog
What are the changes made in this PR?
Test plan
Please make sure to do each of the following if applicable to your PR. (If you're not sure about any one of these just ask and we will happily help. We also have a contributing page for some guidance on contributing.)

[ ] run pre-commit hooks and linters (make sure you've first installed via pre-commit install)
[ ] add unit tests for any new functionality
[ ] update docstrings for any new or updated methods or classes
[ ] run unit tests via pytest tests
[ ] run recipe tests via pytest tests -m integration_test
[ ] manually run any new or modified recipes with sufficient proof of correctness
[ ] include relevant commands and any other artifacts in this summary (pastes of loss curves, eval results, etc.)

UX
If your function changed a public API, please add a dummy example of what the user experience will look like when calling it.
Example of docstring: https://github.com/pytorch/torchtune/blob/6a7951f1cdd0b56a9746ef5935106989415f50e3/torchtune/modules/vision_transformer.py#L285
Example in our docs: https://pytorch.org/torchtune/main/tutorials/qat_finetune.html#applying-qat-to-llama3-models

[ ] I did not change any public API;
[ ] I have added an example to docs or docstrings;

Codecov Report
Attention: Patch coverage is 86.66667% with 6 lines in your changes missing coverage. Please review.

Project coverage is 72.01%. Comparing base (ec21546) to head (e7f892b).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

recipes/eleuther_eval.py
0.00%
2 Missing :warning:

recipes/generate.py
0.00%
2 Missing :warning:

torchtune/modules/kv_cache.py
80.00%
1 Missing :warning:

torchtune/modules/transformer.py
75.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1449      +/-   ##
==========================================
+ Coverage   70.01%   72.01%   +2.00%
==========================================
  Files         268      271       +3
  Lines       12937    13062     +125
==========================================
+ Hits         9058     9407     +349
+ Misses       3879     3655     -224

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

What's up with the eleuther eval tests? They're passing locally for me.

Thanks so much for the reviews @ebsmothers. Will address once #1424 lands and things are merged.


Stage name is always dev?

When I run sls deploy --stage prod, the stage name in resources are always dev. For example:
$ sls deploy --stage prod

Serverless Error ---------------------------------------

An error occurred while provisioning your stack: DynamoDBAutoscaleRolePropertyTabledev
- DynamoDBAutoscaleRolePropertyTabledev already exists

Thanks for reporting this. I will have a look into it …
On Sat 29. Jul 2017 at 13:43, chrille112<EMAIL_ADDRESS>wrote:

When I run sls deploy --stage prod, the stage name in resources are
always dev. For example:
$ sls deploy --stage prod
Serverless Error ---------------------------------------
An error occurred while provisioning your stack: DynamoDBAutoscaleRolePropertyTabledev

DynamoDBAutoscaleRolePropertyTabledev already exists

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sbstjn/serverless-dynamodb-autoscaling/issues/10, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPMhcpQBuqEIiN_bqSc-hUWzyNirOiYks5sSxrUgaJpZM4OnVcy
.

I merged a fix and just triggered a deployment for version 0.3.1 which includes the fix. The new version should be on NPM in a few minutes. Would be great if you could have a look and check if your problem is fixed now.
Thanks 👍

I have tested and can verify that this fixed the problem. Thanks for the quick fix! :)

Awesome! You're welcome. Thanks for using the plugin :)
I also created an issue for serverless about handling the region/stage configuration …


use openid_connect gem's jwks caching feature

same with https://github.com/omniauth/omniauth_openid_connect/pull/124
when passing OpenIDConnect::Discovery::Provider::Config::Response instance to OpenIDConnect::ResponseObject::IdToken.decode, it fetches JWK Set using JSON::JWK::Set::Fetcher.
JSON::JWK::Set::Fetcher tries to cache JWKS by given kid when JSON::JWK::Set::Fetcher.cache is setup like below.
JSON::JWK::Set::Fetcher.cache = Rails.cache

@rhysm @benlangfeld you know more than me about OIDC, could you review?
@nov Does this deserve any additions to README?  Or is it "if you've set up a JWK cache it'll automagically do the obvious Right Thing, and if not you don't care about this?"

If OIDC login flow is executed very often, it deserve to be added to README too.

OK, I don't know how to review this myself, but I shouldn't have blocked this either.  Superficially, makes sense :+1:
[I'm just getting too little time for kubeclient, so trying to outsource...  nagging is welcome!]
@nov please add at least a CHANGELOG.md entry (as I'm not sure how to explain this change well), and I'll merge.

@nov friendly ping — the only thing blocking merge is I don't know how to explain this change in CHANGELOG.md, please add an entry there :pray:
FYI, #606 is looking to auto-renew credentials, and intends to call OIDCAuthProvider.token on every kubeclient request.  We need more eyes on that.


Missing overload for Shell32.SHAddToRecentDocs

Describe the bug and how to reproduce
Missing this overload for SHAddToRecentDocs because this API also accept struct parameter such as SHARDAPPIDINFO (Also mssing)
[DllImport(Lib.Shell32, ExactSpelling = true)]
[SecurityCritical, SuppressUnmanagedCodeSecurity]
[PInvokeData("Shlobj.h", MSDNShortId = "bb762105")]
public static extern void SHAddToRecentDocs(SHARD uFlags, object pv);

What code is involved
No need
Expected behavior
No need
Screenshots
No need

Thanks, that's really fast... Looking forward to your new version🙂


Investigate why latest maven-archetype-plugin breaks release build

Release build fails with maven-archetype-plugin 3.2.1. I had to downgrade to 3.0.1 for a successful build.
Use a dry run (mvn release:prepare -DdryRun=true) to reproduce and consider reporting here https://maven.apache.org/archetype/maven-archetype-plugin/issue-management.html in case no solution is available.

Not getting any error when running mvn release:prepare -DdryRun=true. @deki does the release build still fail on your side?

Yes, the issue still exists. Did you update the maven-archetype-plugin in aws-serverless-jersey-archetype/pom.xml, aws-serverless-spring-archetype/pom.xml and aws-serverless-struts-archetype/pom.xml?

I updated  in maven-archetype-plugin' to 3.2.1 in aws-serverless-jersey-archetype/pom.xml, aws-serverless-spring-archetype/pom.xml and aws-serverless-springboot3-archetype/pom.xml. I'm not getting any error. Is there anything else I can do to reproduce?

Maybe a fresh clone on EC2? I saw it in the GitHub runner logs and I can reproduce it both on a Mac and on a Windows machine.

Fixed as part of the 2.1.0 release.


⚠ Bofrost.at has degraded performance

In 62d2d6c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2443 ms

Resolved: Bofrost.at performance has improved in 15aa984 after 31 minutes.


Added rootAvish to admin list

To allow for auto-building of PRs to https://github.com/fabric8-analytics/fabric8-analytics-stack-analysis.

@msrb Is @rootAvish in the anlytics org? If yes, shouldn't his PR builds be triggered already?

Yes @vpavlin @rootAvish is already part of  fabric8-analytics org. @msrb, is there more to be done to auto trigger PRs build for avishkar?

I can see that @rootAvish's membership in f8a org is set to "private". It's possible that CI cannot see him as a member of the org because of that. Avishkar, could you please try to change your membership to "public"?

@msrb , that seems to have been the issue. Guess I don't need admin access then, thanks for the help 🙂


doc: fixed wrong links to PIDStore

Sorry.....just need a quick rebase due to conflict with a just merged PR.

Fixed!


bug: Can't change SnacksBackdrop

Did you check docs and existing issues?

[X] I have read all the snacks.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of snacks.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.11.0-dev-1082+g3688a33354
Operating system/version
WSL2 Ubuntu 22.04
Describe the bug
Hi,
Thank you so much for this new plugin!
I have a small issue: I can't seem to change the highlight for SnacksBackdrop. I've tried setting it via Catppuccin, and via vim.api.nvim_set_hl in the plugin's config.
Looking at the source, SnacksBackdrop is defined here: https://github.com/folke/snacks.nvim/blob/e9d1137b90960b2d91d1ab067fabbb64e41de73a/lua/snacks/win.lua#L118
But I don't know why I can't overwrite it.
Do you have any idea?
Steps To Reproduce

Add vim.api.nvim_set_hl(0, "SnacksBackdrop", { bg = "#0000FF", default = true }) in config
Test

Expected Behavior
To have backdrop to be changed to the desired color
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/snacks.nvim", opts = {} },
    -- add any other plugins here
  },
})

vim.api.nvim_set_hl(0, "SnacksBackdrop", { bg = "#0000FF", default = true })
That's not correct, you need to remove the default

Sorry, a copy/paste error. I've tried without too, same issue

SnacksBackdrop is not for notifications. Tnat's the hl group do dim the complete window when using lazygit for example.
I just realized there's no docs on hl group yet, but you can check https://github.com/folke/tokyonight.nvim/blob/main/lua/tokyonight/groups/snacks.lua to see what's available

Thank you a lot.
That's quite some work to find what to modify but I've managed to make it look like I wanted.
For future readers, here's my setup with Catppuccin:

local signs = require("config.ui.signs").full_diagnostic

return {
	"folke/snacks.nvim",
	priority = 900,
	lazy = false,
	enabled = true,
	keys = {},
	opts = {
		styles = {
			notification = {
				border = require("config.ui.border").default_border,
				wo = {
					winblend = 0,
				},
			},
		},
		statuscol = {
			left = { "mark", "sign" },
			right = { "git" },
			folds = {
				open = false, -- show open fold icons
				git_hl = false, -- use Git Signs hl for fold icons
			},
			git = {
				patterns = { "GitSign", "MiniDiffSign" },
			},
			refresh = 50,
		},
		notifier = {
			icons = {
				error = signs.error,
				warn = signs.warning,
				info = signs.info,
				trace = signs.hint,
			},
		},
		lazygit = { enabled = false },
		terminal = { enabled = false },
	},
	config = function(_, opts)
		local c = require("theme").get_colors()
		local util = require("utils")

		local bg = c.base
		local amount = 1

		local hl = {
			SnacksNotifierError = { fg = c.text, bg = bg },
			SnacksNotifierBorderError = { fg = util.blend_bg(c.red, amount), bg = bg },
			SnacksNotifierIconError = { fg = c.red, bg = bg },
			SnacksNotifierTitleError = { fg = c.red, bg = bg },
			SnacksNotifierInfo = { fg = c.text, bg = bg },
			SnacksNotifierBorderInfo = { fg = util.blend_bg(c.blue, amount), bg = bg },
			SnacksNotifierIconInfo = { fg = c.blue },
			SnacksNotifierTitleInfo = { fg = c.blue },
			SnacksNotifierTrace = { fg = c.text, bg = bg },
			SnacksNotifierBorderTrace = { fg = util.blend_bg(c.cyan, amount), bg = bg },
			SnacksNotifierIconTrace = { fg = c.cyan },
			SnacksNotifierTitleTrace = { fg = c.cyan },
			SnacksNotifierWarn = { fg = c.text, bg = bg },
			SnacksNotifierBorderWarn = { fg = util.blend_bg(c.yellow, amount), bg = bg },
			SnacksNotifierIconWarn = { fg = c.yellow },
			SnacksNotifierTitleWarn = { fg = c.yellow },
		}

		for group, colors in pairs(hl) do
			vim.api.nvim_set_hl(0, group, colors)
		end

		require("snacks").setup(opts)
	end,
}


pull request for e2e test at 12/15/2016 02:56:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Clash: multiple bang notation calls

Added inheritance
Added multiple bang notation merging
Minor performace improvements - ends_with? is faster than regexp
By @bartoszkopinski, rebased against latest master
/cc @dblock

This is a rebase/fork of #240

Thanks, minor comments above, if you don't mind addressing via --amend and I'll merge.

@dblock comments addressed.

Merged (build failure is RBX w/Rubocop).


How to adapt the U-Net to take in a time vector?

Hi there,
Generically the UNet here take in an [x,t] where x \in [batch_size, channels, L, L] and t is a scalar of shape [batch_size]. I am wondering if its possible to adapt the time scalar to be a vector of shape [batch_size, K] where K is the length of a single time vector. If anyone knows how to do this in a straightforward way, it'd be greatly appreciated!
Best,
Michael

hey Michael, long time
you can use https://github.com/lucidrains/denoising-diffusion-pytorch/blob/main/denoising_diffusion_pytorch/denoising_diffusion_pytorch_1d.py

Hey Phil :) Hope all is well. Let's catch up sometime.


[genlanguage] https://github.com/jdkato/prose

https://github.com/jdkato/prose seems really interesting! For language tagging etc.

Nice! I think I'll need that in the faction segment soonish, I'd like to have names for factions / orgs .. and it'll help on the religion front too; we probably will want names for doctrines, heresies and similar

I tried out building gpt2 yesterday (https://github.com/openai/gpt-2) it requires a few fixes to run these days but the text it output was terrible 🤔 Probably it needs extensive training (more training?) to be useful 😬

Well there are the various Llama offshoots that seem promising... did you try any of those yet? (I haven't but it looks interesting!)
https://github.com/go-skynet/llama-cli
https://github.com/antimatter15/alpaca.cpp

Llama and alpaca :laughing: no I haven't tried those yet!

I just managed to get this working:
https://github.com/antimatter15/alpaca.cpp
Here is the data that you need to run it:
https://huggingface.co/Sosaka/Alpaca-native-4bit-ggml/blob/main/ggml-alpaca-7b-q4.bin
It works really well(-ish) :)

> in the fantasy genre describe the assassination attempt on the life of a wealth merchant in his villa The sun was setting, casting an orange hue across the sky as the wealthy merchant made his way through the gates to his grand villa. He had become quite successful over the years and now he enjoyed all that came with it; luxury goods, fine foods, beautiful women - but most of all respect from those around him in this affluent city by the sea. As soon as he stepped inside however, a group of cloaked figures appeared out of thin air before him. He recognised their faces and knew that they had come to assassinate him; his life's work was too great an achievement for them to bear it any longer! But what followed next surprised even himself - the mercenaries were no match against a man so dedicated, as he fought off each of those who dared try and take away all he held dear. In that moment however, one figure remained hidden in their hood; watching from afar with admiration for this brave merchant's courageous stand - the mysterious leader of these assassins had been impressed by his tenacity!
I mean, I think it could do to get us started

https://medium.com/swlh/fine-tuning-gpt-2-for-magic-the-gathering-flavour-text-generation-3bafd0f9bb93 seems also useful! :D

There was someone on reddit in r/worldbuilding who designed his own language runes. Then wrote epic poems / sagas of the people. Sorted words into how often they came up and assigned words to them .. building the language up via it's "usage." I thought it was a super cool way of going about it. I wonder what is required to have something build it's own custom fonts 😃

Oh I found https://www.youtube.com/watch?v=bjFvRnCYzN4 https://www.internationalphoneticalphabet.org/ipa-sounds/ipa-chart-with-sounds/ on language creation.
Basic steps;

decide which sounds are in the language "phonological inventory" (there are only so many sounds we can produce, so this is probably not too bad to code? .. technically the page has pronunciations for each sound, so we could string these together to create actual voice for generated languages which would be cool!)
decide how syllables are structured (consonants + vowels, probably syllables will always include a vowel, with varying numbers of required/optional consonants at the start/end)
decide on sentence structure with respect to subject-verb-object + adjectives etc
decide a root lexicon for nouns / verbs to get us started - in theory we can now write sentences that are phonetically accurate (at least)

The evolution of the language and it's written form are somewhat extensions to this I guess, with the written language being either based on sound or ideas (I guess?) and it's evolution being related to maybe merging with other languages & changing / adopting / dropping some sounds, adding, removing & shortening existing words etc.

Very interesting! :D I'd really like to write a language generator from scratch... That would make it easier to lay the ground work for cross-language influences, words "going out of fashion", proper dictionaries, and all that. I am not sure if I am smart enough for it though. I might try to write a very, very, very, veeeeeeeerrryyyyyyy simple generator with the most basic basics :)
Then there is the connection between a spoken and a written language. How information is stored in writing is also a curious and diverse field of work. :) Between pictograms, and Chinese or Japanese characters (which are also little pictograms at time), phonetic writing and all that. It could even be based on a decision tree for looking up and refining words using some form of encoding by general idea or category. Like...


We need to add File.txt root API project for status endpoint to read off

when calling app status endpoint app will look for File.txt and ready buildNumber property and return to caller. We need to add File.txt with the content: { "build": { "buildNumber": "1.0.0"}}

Done and in code review


[TRAVEL] Results navbar

Adding the navbar component for the Traveler template results page. Link to component in staging:
https://travel-results-navbar.firebaseapp.com/templates/travel/travel-results.amp
All travel-result-page components use a [src] bound amp-list element to pass attributes to filter the search results by. This navbar component displays city, departure, and return parameters, (and the search result count on mobile).

@gifteconomist Rebase all the PRS for review

Rebased!

@grace -it is not fully rebased - Look at the section below , it tells which files have conflicts


Unable to test asynchronous code

Guys,
I am fully aware of the asynchronous helpers built in QUnit and I use them whenever the test is asynchronous. However, the problem I am dealing with is the code itself that is asynchronous.
For instance:
testrunner.run({
    code: 'code-to-test.js',
    tests: 'unit-tests.js'
})

In that example, code-to-test.js is actually loading asynchronous dependencies and I would like QUnit to wait before running the corresponding unit tests.
Checking node-qunit code, I would like child.js's _require function to be asynchronous.
Thinking about the way we could tell the function that it has to wait, I was thinking that if the loaded module exports a promise, we could wait for it to be resolved before continuing the load.
Any thoughts?

Arnaud

@ArnaudBuchholz Note that the main qunit package now has a CLI as well, which is more actively maintained and might suit your needs?


import json is included in Tasks that don't need it

Right now Hera adds some json boilerplate to its definitions. As the code mentions, intended to be a convenience feature, and it is useful:

Since Argo passes parameters through {{input.parameters.name}} it can be very cumbersome for users to manage that. This creates a script that automatically imports json and loads/adds code to interpret each independent argument into the script.

But there are situations where adding this import is unnecessary:

python functions that don't use input parameters or json
non-python functions like the cowsay example
situations where workflow filesize needs to be minimized

Here's an example snippit from a Workflow created by hera:
      script:
        ...
        command:
          - bash
          - '-c'
          - argo list
        ...
        source: |+
          import json

Hey @dmerrick! 👋🏻  I agree with your assessment - we can definitely remote the unnecessary source script when a script is not actually passes! Would you like to submit a PR? 🙂

I was going to and then I realized I wasn't 100% sure how to do so without potentially breaking things, so I ended up creating this issue instead :)
I might revisit this as part of my work related to https://github.com/argoproj-labs/hera-workflows/issues/151

@dmerrick a fix is coming in 3.3.0

Awesome!


ktlint not able to add spaces to indentation

I'm using gradle-kotlinter-plugin 1.6.0 that uses ktlint 0.13.0, and I guess indentation should be fairly trivial to fix?
> Task :shared-http-client:formatKotlinMain
Format could not fix > src/main/java/Http.kt:56:1: Unexpected indentation (4) (it should be 8)

Ref. https://github.com/jeremymailen/kotlinter-gradle/issues/30

@henrik242 could you share that part of code?

Here's an extract from one of our classes.  ktlint was unable to correct indentation before the entries in the second constructor (lines 10-12, 13-15).
package no.finn.travel.fhh.api.feedback

import com.google.gson.GsonBuilder
import com.google.gson.JsonDeserializationContext

data class Notification(@JvmField val id: Long,
                        @JvmField val rateGuest: Boolean,
                        @JvmField val token: String) {
    constructor(
        id: Long,
        recipientSpidId: String,
        hostSpidId: String,
        token: String
    ) : this(
        id,
        recipientSpidId != guestSpidId,
        token
    )
}

@henrik242 Thanks. As workarround you can use this formatting:
    constructor(id: Long,
                         recipientId: String,
                         hostId: String,
                         token: String
    ) : this(

@shyiko I'll prepare PR with fix.

Formatting manually is not a problem,  I just wanted the automatic formatter to do its work :)

@henrik242 You can try IndentationRule by using snapshot KtLint version - https://github.com/shyiko/ktlint#development
Alternatively, you can include https://github.com/MyDogTom/ktlint-custom-rules . This is just full copy of the IndentationRule from master, which is not released yet.
I would really appreciate your feedback about how rule works on your code base.

@MyDogTom I tried the snapshot KtLint version, and it seems to be able to fix things automatically :)


[Removal]: please remove from the denylist

Hotspot Name
Hidden Pewter Hawk
Hotspot b58 Address
11ZtnBysYoZrtb8bPjDEwXMUNqorWJLesG8NDBQ9TvFbh8grWBR
Discord Handle
hyy573966
Hotspot Manufacturer
bobcat
Removal Reason
Please deal with it as soon as possible
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
No response

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Feature: Resolve t.co links

t.co links are kinda worthless, it should be a way to resolve them to proper links.

Admittedly it's not obvious from the docs, but most commands have a --decode-uris option, that does just this. I think it would be good to also have a global setting for this.


EnumName should be documented from Enum

The Enum documentation (and probably the documentation for every enum, but that's a separate dartdoc issue) should point to EnumName.
Similarly the values getter on every enum should point to EnumByName, though I guess that's again a dartdoc issue.
Right now when looking at code that uses foo.name, there's no way to find out where name is defined by looking at the API docs.

That's a good point, and why it would be better to declare non-virtual methods directly in the class instead of using extension methods.


Add Beta 1.8 to 1.6.4 World Generator

The latest mod that has done this is from 1.7.10, and since Beta 1.8 is still Beta, I think that it could be a welcome addition to Modern Beta for the people who would like to have it.

Please see the FAQ: https://github.com/b3spectacled/modern-beta-fabric/wiki/FAQ


IndexOutOfBoundsException in FunctionInvoker

Describe the bug
My app is built on Spring Boot 2.7.4, Spring Cloud Function 3.2.7, Feign Reactive 3.2.6, and Java 11.  I have a function which calls a third party vendor's DELETE API call, returning Mono<Void>, as that API doesn't have a response body returning.  I ran into the following error when executing this function.
Index 0 out of bounds for length 0: java.lang.IndexOutOfBoundsException java.lang.IndexOutOfBoundsException:
Index 0 out of bounds for length 0  at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)  at
java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source)  at
java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)  at
java.base/java.util.Objects.checkIndex(Unknown Source)  at
java.base/java.util.ArrayList.get(Unknown Source)  at
org.springframework.cloud.function.adapter.aws.FunctionInvoker.buildResult(FunctionInvoker.java:106)  at
org.springframework.cloud.function.adapter.aws.FunctionInvoker.handleRequest(FunctionInvoker.java:86)

Looking at the source code for FunctionInvoker, see below the relevant block.  The else block threw the actual error.  In my use case, since my response from the DELETE API call returned nothing, the result List would still be an empty list, it doesn't meet condition if (result.size() > 1), falling into the else block, only to throw the above exception.  I believe the fix needs to be at the if statement to revise it into something like if (result.size() != 1).  Let me know if you can provide a better fix.
if (output instanceof Publisher<?>) {
	List<Object> result = new ArrayList<>();
	for (Object value : Flux.from((Publisher<?>) output).toIterable()) {
		if (logger.isInfoEnabled()) {
			logger.info("Response value: " + value);
		}
		result.add(value);
	}
	if (result.size() > 1) {
		output = result;
	}
	else {
		output = result.get(0);
	}
....
}

I see the issue and thank you for reporting it. And yes you are correct about "not complete" IF statement.
So, it effectively should behave as Consumer which we already support

The issue has been fixed and back-ported and we'll have another 3.2.x release by the end of the month

Thanks @olegz!  Appreciate it!


fix: allow bare imports of ts packages in a monorepo

Description
This PR adds support for bare imports of packages that export a TS entry point:
import pkg from '@monorepo/ts' // <-- exports .ts file
export default defineConfig({
  ...pkg.sharedConfig,
})

Currently, vite resolves the .ts file but keeps it external which breaks in Node:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /react-monorepo-ts/packages/components/src/test.ts

TODO

[ ] Tests

fwiw this looks similar to https://github.com/vitejs/vite/pull/17323

Superseded by https://github.com/vitejs/vite/pull/18637


Count Us In

Just dropping a quick note here to let the project leads know that the Aurelia team would love to support this effort and help out in any way we can. I've built our doc/site generator on TypeDoc and would love to align with this new effort. I'm working on Aurelia vNext now and I'd love to leverage TSDoc as early as possible in that process as well. Feel free to close this issue once you've let me know how we can get involved :) Thanks!

@pgonzal, I see we're getting traction 😁
@EisenbergEffect, feel free to jump into discussions in other issues while we're brainstorming.

Done :)

Thanks!  I've merged the PR


Board seed

Make each board have a seed used to generate the board so that you could play a board as much as you want, and that you could eventually share with friends for competition

Actually it is the same as issue #11

I've got this feature slated for Open Flood 1.3 and know how I'm going to implement it, however it may be awhile before it comes out as I've got quite a few other commitments at the moment.

487fdd4a76d98150b9edd229b70e4b17c96f2380
Got it all done in a day :)

I'm eager to try it! :-)


How can I know the instrinsics of Astra+

Hi, I have a Astra+, and I want to convert depth image to point cloud. Could you give me some advice to make it?

In topic '/camera/color/camera_info'. So I close the issue.


Time bar

What is your question?
how to i make the timebar look like this? (with lua)

i figured it out nvm


Get the upstream main changes

In order to sync the changes on the original repo with fork I created this pr

Hi @gulcinuras , should I merge this?
BTW, do we still need this fork repo? If not maybe archive and stop using it for simplifying the process

Hi @gulcinuras , should I merge this? BTW, do we still need this fork repo? If not maybe archive and stop using it for simplifying the process

Hi @jamcry, I believe we can close this PR as the related changes were already deployed to public js-sdk repo.
No, we don't need this repo for now, we can archive it as you said. Thank you for reminding 🌷


sign .asc and sha512 with maven-gpg-plugin

Related discussion in mail list:
<EMAIL_ADDRESS>
This one won't work.
  <properties>

<aether.checksums.algorithms>SHA-512,SHA-256,SHA-1,MD5</aether.checksums.algorithms>
  </properties>

and
  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-deploy-plugin</artifactId>
    <version>3.0.0-M1</version>
    <dependencies>
      <dependency>
        <groupId>org.apache.maven.shared</groupId>
        <artifactId>maven-artifact-transfer</artifactId>
        <version>0.13.1</version>
      </dependency>
    </dependencies>
  </plugin>

https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java#L117

https://maven.apache.org/resolver/configuration.html
mvn deploy -Daether.checksums.algorithms=SHA-512,SHA-256,SHA1,MD5

gpg arguments:
https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#gpgArguments
Sets the arguments to be passed to gpg. Example:
<gpgArguments>
  <arg>--no-random-seed-file</arg>
  <arg>--no-permission-warning</arg>
</gpgArguments>

Type: java.util.List
Since: 1.5
Required: No

Build helper plugin:
https://www.mojohaus.org/build-helper-maven-plugin/index.html

https://github.com/gradle/gradle/issues/11308

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project systemds: Failed to deploy artifacts: Could not transfer artifact org.apache.systemds:systemds:jar:2.1.0 from/to github (https://maven.pkg.github.com/j143/systemds): Failed to transfer file: https://maven.pkg.github.com/j143/systemds/org/apache/systemds/systemds/2.1.0/systemds-2.1.0.jar. Return code is: 409, ReasonPhrase: Conflict.

mvn -P'distribution,rat' deploy -DskiptTests \
  -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/j143/systemds \
  -Daether.checksums.algorithms=SHA-512

A plugin for checksums - https://checksum-maven-plugin.nicoulaj.net/examples/generating-checksum-summary-files.html

Is there any way this ( https://www.mojohaus.org/build-helper-maven-plugin/attach-artifact-mojo.html ) could solve the problem?
as mentioned here<EMAIL_ADDRESS>
Description:
Attach additional artifacts to be installed and deployed.

Seems off-topic.

This is asked on mailing list, waiting for the response.

https://infra.apache.org/openpgp.html


The implementation with cv::TM_CCOEFF fails when there is no match on the screen and will display erroneous results.

The implementation with cv::TM_CCOEFF fails when there is no match on the screen and will display erroneous results.

Another thing is that the code is difficult for me to separate from the program, Could there be an implementation for DLL?

Another thing is that the code is difficult for me to separate from the program, Could there be an implementation for DLL?

yes, contact me with email


To account address is not valid

Hello,
I'm trying to send nano from Nault, when I specify the recieving address I get an error saying it's not valid, I tried with multiple adresses and I get the same issue.
My account is linked to ledger nano S.
Can you please help ?

the post on reddit with similar contents has been deleted by its author. have you resolved the issue?

Hello,
Yes I have resolved it.
Thank you !
Kind regards,
Le lun. 3 avr. 2023, 11:49, keeri @.***> a écrit :

the post on reddit with similar contents has been deleted by its author.
have you resolved the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/Nault/Nault/issues/581#issuecomment-1494016032, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A2CJ6K5VVN5NPE6VZSNF6WDW7KMMHANCNFSM6AAAAAAWPUPGKU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add new exploit, based on Apport PID recycling vulnerability

Add new PoCs for apport and whoopsie.

Please could somebody merge this?

Semmle/SecurityExploits has been migrated to (a subdirectory of) github/security-lab, so I am closing this PR and have reopened it here: https://github.com/github/security-lab/pull/19


Fix the ">" not showing up

The ">" symbol used to indicate the currently selected results, but it stopped working. I could get it to show up if I set the position to "left:0px" instead of "left:-15px", but then the ">" symbol appeared on top of other text. I went a totally different route and let focus() do the job, ensuring the page scrolls down to the selected element, and hopefully insulates us from future changes since we're not styling anything now.
Also, explicitly filter out Ads (which weren't a problem before) and the "People also ask" section, which means the keyboard shortcut jumps from one link to another, without having to press the Down Arrow multiple times to skip that section.

closed in favor of the updated #3


[BUG]: Getting started - LLM Preference - Ollama Base URL appears filled out but isn't

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
While going through the Getting Started flow, on the LLM Preference page with Ollama selected, the "Ollama Base URL" text field shows http://<IP_ADDRESS>:11434 which to me appeared to be already filled in as a default. I was confused as to why "Chat Model Selection" said "-- waiting for URL --" even though I had Ollama running locally.
Suggest either entering the default value explicitly or changing the appearance of the "ghost" value http://<IP_ADDRESS>:11434 so it is more obviously not actually entered.
Are there known steps to reproduce?
No response

Will address this, closing as this is actually being tracked here: https://github.com/Mintplex-Labs/anything-llm/issues/556
You have been heard though! We will address this soon to prevent confusion.


Create a weather app in node.js using openweathermap api

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

This fixes #2300

Hey @blacklihgt , A warm welcome to the community. Thank you for making time to raise the PR.
The article will now  undergo preliminary review 🥳

@hectorkambow @katungi Still waiting for some progress on the review....! Anything that I should know maybe...?

Hello @blacklihgt, Thanks for being patient as I was reviewing the article. I have a few notes:

Please help fill the front matter with your author name.
Please go through the article once more and make sure you are explaining the concepts in a beginner friendly manner. Some of the things in the article were briefly brushed over and deserve more attention.
Rename your titles. Take a moment and re-structure your article headings. File names are not descriptive enough to be headings. Also, give a brief description after the header to maintain the reader's attention.

Ping me when you are done with the changes.

As for the author name, it is already there... -> Roy Kibet

Done @katungi

Will be waiting for you :racing_car: :rocket:

@katungi any updates?

@blacklihgt
Thank you for your understanding while our Peer reviewer team works diligently to go through our EngEd articles.

Hey @blacklihgt , I am so sorry for going dark. I was not feeling well and was not around.
I am doing well now so let's get to it.
Check on the comments I have left and modify accordingly. Especially the one about using shall and switching tenses and personas within the article. I can be a bit overwhelming. Please check on that asap.

So sorry. Hope that you recovered and are now well

@katungi When you get a chance please review the changes - and update the labels for us to proceed thank you 🚀

@katungi When you get a chance please review the changes - and update the labels for us to proceed thank you

Sure thing @hectorkambow

@katungi When you get a chance please review the changes - and update the labels for us to proceed thank you

Sure thing @hectorkambow

@katungi and @hectorkambow I'll be waiting for the finishing of the article review soon! :rocket:

@katungi
Any update on this article - I'd like to get it along and published asap.
It has been in our queue far too long.

Done with the preliminary review and the tech review. Everything looks good on my side. This article is ready for a final review, after a plagiarism check. Thanks @blacklihgt for your cooperation and patience.
Just a tip, always remember when writing an article that you are almost telling the user a story, avoid vague sentences and quickly brushed off explanations, take your time and explain every step and make sure your article flows well. That way, the reader will enjoy it and read to the end.
cc: @hectorkambow

plagiarism check done

Thanks @hectorkambow , I have gone through the edits and seen some mistakes I had missed. I will be sure to improve on the next review. 🥳


Pub: Add option to disable precompiling apps in dependencies

There are use cases where one would like to have "pub get --offline" to be as fast as possible (assuming the pub cache has been already populated).
Currently "pub get" seems to be pre-compiling "pub run"-able scripts in dependent packages. This will increase the optimistic runtime of "pub get --offline" **significantly**.
There are several options:
a) Pre-compile binaries into the pub-cache:
  * Having **N applications** using package:intl at the same version will currently pre-compile intl:extract_to_arb & intl:generate_from_arb **N times**.
    => This is clearly wasteful work!
    => One could pre-compile bin/*.dart apps when their packages get added to the PUB_CACHE.
This might be not an option, because the N applications might use the same version of package:intl, but different transitive dependencies of package:intl.
On the other hand, a package specifies it's dependencies and as long as these dependencies are met, the command line apps in bin/*.dart should behave the same way.
[I assume the pub team is not in favor of option a)?]
b) Adding an "--no-precompile" option to "pub get".

This issue has been moved to dart-lang/pub#1199.


Develop

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

14 of 14 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.6%) to 71.93%

Totals

Change from base Build<PHONE_NUMBER>:
1.6%

Covered Lines:
697

Relevant Lines:
969

💛  - Coveralls


Fixes: Build.psm1

PR Summary

Fix typos
Refactor code for readability and robustness

PR Context
During #11563 issues were uncovered, hence this PR.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

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

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

Breaking changes

[x] None
OR

User-facing changes

[x] Not Applicable

Testing - New and feature

[x] N/A or can only be tested interactively

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.

Was this tested on Windows PowerShell?


Missing conditions in multi-allele genotype test DB

From Mark:
One quick issue though, it looks like there is a large amount of
conditions and additional data that would normally be present is missing:
select f.uniquename, f.name, fr1t.name, f2.uniquename, f2.name, fr2t.name,
f3.uniquename, f3.name, fcc3.name, fcpt3.name, fcp3.value from feature f
join feature_relationship fr1 on (f.feature_id=fr1.object_id) join cvterm
fr1t on (fr1.type_id=fr1t.cvterm_id and fr1t.name='instance_of') join
feature f2 on (fr1.subject_id=f2.feature_id) join feature_relationship fr2
on (f2.feature_id=fr2.subject_id) join cvterm fr2t on
(fr2.type_id=fr2t.cvterm_id) join feature f3 on
(fr2.object_id=f3.feature_id and fr2t.name='part_of') left join
feature_cvterm fc3 on (f3.feature_id=fc3.feature_id) join cvterm fcc3 on
(fc3.cvterm_id=fcc3.cvterm_id) left join feature_cvtermprop fcp3 on
(fc3.feature_cvterm_id=fcp3.feature_cvterm_id) left join cvterm fcpt3 on
(fcp3.type_id=fcpt3.cvterm_id) where f.uniquename like 'SPBC14C8.07c%' and
fcc3.name like '%increased septation index%';

Hi Mark.  What sort of thing is missing?  It doesn't look too bad compared to the v53 release.  I can't see anything obvious missing.  I'm looking at the most recent load:
http://curation.pombase.org/dumps/builds/pombase-build-2015-08-04-v1-l1/

Was missing the expression information, but this looks to be in there now. Worth checking in the test load once it is on staging though

OK, great.  That was probably fixed by fe3400b7fda but I didn't think about it when you emailed.  Glad it's fixed now.  I'll check once staging is ready.

added 'next' although it sounds as if it is already done

I have loaded the data and it is on stage.pombase.org
Search for cdc18 as an example.
What is strange through is the multi-allele phenotypes as none of them
seem to have anything for teh expression column. Does this match what is
in the data that you load into Chado?
Am I missing a link somewhere?

Hi Mark.  I've worked this out.  The expression level is now stored as a feature_relationshipprop on the relationship between an allele and a genotype.  That's between the same allele can have a different expression in different genotypes.
I checked the cdc18 alleles in your example and the correct expression levels are on the feature_relationshipprops.
https://github.com/pombase/pombase-chado/wiki/Chado-Notes#genotype-modelling
Kim.


get_all_coins_info_() error in v 0.710

info = client.get_all_coins_info() generates the following error when calling it from the Spot Testnet:
binance.exceptions.BinanceAPIException: APIError(code=-2008): Invalid Api-Key ID.

Yes, (mostly everything else works as expected). Another issue that I found is that python-binance is not returning the price for BCHUSDT and XLMUSDT, but that could be an issue with the Binance API itself.

My guess is that the function is not supported on the Testnet, but I have not confirmed it.

Is it returning the price for other pairs fine?

Yes

@sammchardy @kimchirichie
I noticed that a new version was published in the pip, but a new release was not generated.

Ok I figured it out, it turns out that the Spot testnet doesn't support all the coins from the mainnet. It's actually quite limited. You can check all the pairs available on the testnet by running client.get_all_tickers()


New code sample: Job Recommendation System - end-to-end workload

Adding a New Sample(s)
Description
This sample illustrates the use of Intel® Extension for TensorFlow* to build and run an end-to-end AI workload on the example of the job recommendation system.
It consists of four main parts:

Data exploration and visualization - showing what the dataset is looking like, what are some of the main features and what is a data distribution in it.
Data cleaning and pre-processing - removal of duplicates, explanation all necessary steps for text pre-processing.
Fraud job postings removal - finding which of the job posting are fake using LSTM DNN and filtering them.
Job recommendation - calculation and providing top-n job descriptions similar to the chosen one.

Checklist
Administrative

[ ] Review sample design with the appropriate Domain Expert:
[ ] If you have any new dependencies/binaries, inform the oneAPI Code Samples Project Manager

Code Development

[x] Implement coding guidelines and ensure code quality. see wiki for details
[x] Adhere to readme template
[ ] Enforce format via clang-format config file
[x] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[x] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[x] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com

Security and Legal

[ ] OSPDT Approval (see Project Manager for assistance)
[ ] Compile using the following compiler flags and fix any warnings, the falgs are: "/Wall -Wformat-security -Werror=format-security"
[ ] Bandit Scans (Python only)
[ ] Virus scan

Review

[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth(@tomlenth) and/or Project Manager
[x] Tested using Dev Cloud when applicable

@krzeszew Do you mind closing this PR and submitting it to the development branch? Thanks.

New PR to development branch: https://github.com/oneapi-src/oneAPI-samples/pull/2504


Ignore node_modules when finding a config by a relative path

Probably fixes #666 .

@benmosher @jfmengels ping!

@benmosher Problem is that this plugin finds webpack.config.js relative to the package root - this sometimes might be inside of node_modules and in that case it fails to find the project's webpack.config.js.
I've written this PR some time ago so I don't quite remember - but I recall that the call site that I have edited had no sufficient info to detect this in another way and because it's a resolver plugin passing more info to this call site would require changes in the plugin system. This was the simplest fix that I have figured out.
After a quick memory search (😉) I also recall that file here is actually not a file that is being linted, but a reexporting file that was requested by a linting file. That's way it's harder to find webpack.config.js relative to it.

@Andarist is it possible to update your PR to fix the conflict so maybe, just maybe, we could get a release with this fix?

@Andarist ping! As a reminder, I'm using a vendored version of this fix in my app with no issues.

@swrobel I've rebased my branch, should be good to go if nothing terrible happened in between. Still need @benmosher approval though


Fix package webhook

Fix #23742

I was unable to create a backport for 1.20. @lunny, please send one manually. :tea:
go run ./contrib/backport 27839
...  // fix git conflicts if any
go run ./contrib/backport --continue

I was unable to create a backport for 1.21. @lunny, please send one manually. :tea:
go run ./contrib/backport 27839
...  // fix git conflicts if any
go run ./contrib/backport --continue

Unfortunately this PR broke Gitea for us as the call to p.Repository inside func (m *MatrixPayload) Package(p *api.PackagePayload) (api.Payloader, error) (services/webhook/matrix.go:239) results in a nil pointer dereference. Looks like p.Repository is not set when triggered from UploadManifest. Stack trace (Gitea 1.21):
/source/services/webhook/matrix.go:215 (0x23cf774)
/source/services/webhook/payloader.go:58 (0x23dae5d)
/source/services/webhook/matrix.go:239 (0x23cfac4)
/source/services/webhook/webhook.go:198 (0x23dfc6b)
/source/services/webhook/webhook.go:261 (0x23e0435)
/source/services/webhook/notifier.go:882 (0x23da6d0)
/source/services/webhook/notifier.go:863 (0x23da495)
/source/services/notify/notify.go:353 (0x2306326)
/source/routers/api/packages/container/manifest.go:309 (0x23062da)
/source/routers/api/packages/container/manifest.go:184 (0x2305364)
/source/routers/api/packages/container/manifest.go:191 (0x230483c)
/source/routers/api/packages/container/manifest.go:75 (0x2304724)
/source/routers/api/packages/container/container.go:546 (0x2301bec)

Thank you for the info. Same error was in the MS Teams webhook.
https://github.com/go-gitea/gitea/pull/28089


Do not wrap text line during install

^ the text should not wrap

use  after points and use all Width on css not halfWidth