Support for PEP 735: Dependency Groups in pyproject.toml

This PEP was just accepted — we plan to support it. We'll track it here.

I'm just curious, but will there be a "dev" dependency group that supplants
[tool.uv]
dev-dependencies = ...

Dependency-groups don't allow self-dependencies, so dev-dependencies = ["<self>[test]"] wouldn't be replaceable with dependency groups. Also, I think/hope that dependency groups are going to feed into a new environment and task system. :)

I noticed there is no mention of constraints in the pep. Dev-constraints is
super useful to me . Do you think this concept will continue to be
supported as 735 is implemented?
On Fri, Oct 11, 2024, 20:34 Henry Schreiner @.***>
wrote:

Dependency-groups don't allow self-dependencies, so dev-dependencies =
["[test]"] wouldn't be replaceable with dependency groups. Also, I
think/hope that dependency groups are going to feed into a new environment
and task system. :)
—
Reply to this email directly, view it on GitHub
https://github.com/astral-sh/uv/issues/8090#issuecomment-2408333294, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5SZNHP7RTAJMIFAHFSW3Z3CKEHAVCNFSM6AAAAABPW2Q3ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGMZTGMRZGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Dependency-groups don't allow self-dependencies, so dev-dependencies = ["[test]"] wouldn't be replaceable with dependency groups.

Is this explicitly banned? I think group = ["my-project[test]"] might "just work" in uv because of how we treat package names that are shadowed by the project?

will there be a "dev" dependency group that supplants ...

I'm not sure yet. This is a significant open question I must address before adding support.

I noticed there is no mention of constraints in the pep...

I don't see any reason that we wouldn't apply constraints to the dependencies in the groups. Do you need a separate set of constraints?

I only see this section, but I don't see any other discussion in the finalized PEP of self-references of project dependencies in dependency groups.

I noticed there is no mention of constraints in the pep...

I don't see any reason that we wouldn't apply constraints to the dependencies in the groups. Do you need a separate set of constraints?

I am asking about the equivalent of constraint-dependencies, which I don't see addressed. I have a similar use case as discussed https://github.com/astral-sh/uv/issues/6518 . We use a managed airflow service. For dag development we only need a subset of the installed py dependencies and installing every py dependency is challenging and overkill because it requires several system dependencies. I'm slowly converting people to use uv, one of the motivations is having an easy, declarative approach to setting up a virtual environment for development.
here is an example from pyproject.toml from a repo that contains dags:
[tool.uv]
dev-dependencies = [apache-airflow[gcp,beam]==2.9.1]
constraint-dependencies = [ long list of transient dependencies from [cloud composer docs](https://cloud.google.com/composer/docs/concepts/versioning/composer-versions#images-composer-2) ]

I want to install what i need but I want to make sure I don't install a transient dependency with a different version from our prod environment.
1 difference from the other issue is we are not using the official airflow constraints file from the url (this is what i used to use before we moved to the managed airflow). Right now I am copying the list of installed packages into my pyproject.toml file.

@dschneiderch -- Apologies if I'm misunderstanding but I think constraint-dependencies will just continue to be the right thing to use there.

Perfect! Wasn't sure if that metadata field was going to be redesigned
alongside dev-dependencies .
On Sat, Oct 12, 2024, 14:02 Charlie Marsh @.***> wrote:

@dschneiderch https://github.com/dschneiderch -- Apologies if I'm
misunderstanding but I think constraint-dependencies will just continue
to be the right thing to use there.
—
Reply to this email directly, view it on GitHub
https://github.com/astral-sh/uv/issues/8090#issuecomment-2408699012, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5SZLLZYROQTHBXX5QSVLZ3GE7HAVCNFSM6AAAAABPW2Q3ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGY4TSMBRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Duplicates https://github.com/astral-sh/uv/issues/5632 -> either this or the other one could probably be closed.

Would love to get it in  ... PR is coming I see :)

Same, looking forward to using it in the Airflow repo

@jankatins thanks! Embarrassing I keep creating duplicates of my own issues. I'll close them both when we add PEP 735 support.

@jankatins thanks! Embarrassing I keep creating duplicates of my own issues. I'll close them both when we add PEP 735 support.

With the speed you are all working, occasional duplicate is not embarassing, it's a given :D. You are all doing great job.

As of 0.4.27 we support this. Details in #8272.


[BUG] CSE not redirecting to top of URL

Root cause:
Top of url included support url. No redirects happen .
Sets to reproduce:

Set top of url to - https://google.com/search?udm=14&q= (this is a redirect to the new “web” tab in google search).
Set default search engine as - Google - both in CSE and Safari Settings
Attempt to make a search

Issue is reproducible if DuckDuckGo is set as the default search engine both in CSE and Safari Settings.
Thank you in advance

Hello.
This bug is caused by your Top of URL being "google.com".
Google's domain is with WWW, so if you change the domain to "www.google.com", this bug will not occur.
It will be fixed in v2.7, which will be available after the release of iOS 18 (probably on September 9).
Thanks for reporting this bug!

Thank you for your quick response.
Changing to - www.google.com - does resolve the issue.
Thanks again


Please open the new issues on this

?

For the project there are no new issues to work on

Uploading a sample module with comments.


Download openblas binary from GH repo

Fix #15854

Testing download from my branch. Before merging, we should update it to use the scipy/scipy-ci main branch.

Ok, this is basically exactly what was asked for by Ralf in the matching issue, to make CI more reliable, and it makes sense to me too, so I'll merge it.
I believe I'm just slightly out of the loop on why we need that special binary, but sounds like this will be cleared up in the future based on the comments I'm seeing.

thanks

Could the repo https://github.com/jarrodmillman/scipy-ci get a README that describes what is there and how it is built?


Design of progress bar issue when use flexDirection row

Design of progress bar issue when use flex-direction row with other items in same view

Do you have a minimal reproduction of the issue?

I place a View with flexDirection: row to show percentage aside.
I configured unfilledColor={black} and the result is the:

Whitout flexDirection: row:

I found a hack where we can align Text with Progress bar in row by putting progress bar within Text tags as :
 Hello <Progress.Bar progress={0.5} width={100} />


dataKey prop shouldn't be required for  if cellRenderer is provided

Reporting a Bug?
I think that If cellRenderer is provided to the  component, if not providing dataKey shouldn't result in a required prop warning.

It's still used by other things, eg determining the sortBy value when a sortable header is clicked. 😄


fix: Do not refetch active queries if "refetchActive" is set to "false"

This PR fixes the issue reported here: https://github.com/tannerlinsley/react-query/issues/1931
When a query was invalidated and refetchActive was set to false, the query would still be refetched, unless refetchInactive was set to true.
The PR fixes this by not letting the inactive option in the query filters default to false if it was actually undefined.

@tannerlinsley Should I do anything else to have this PR merged? 😊

:tada: This PR is included in version 3.12.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add templating to logger function

 Logger.Log("{0} is stupid, and should read {1}", "eein", "C# Programming Guide");
^^ per this guy

#74


Store session data per key

Laravel Version: 5.4
PHP Version:7.1
Database Driver & Version:

Description:
We're seeing a lot of issues with concurrent requests to the server where session information is lost.  Seeing on other forums and discussions on the slack channels, I see a lot of use cases where concurrent requests cause for session data to be lost.
Much of the issues could in my opinion be prevented if not ALL session data is stored at the same time, but if laravel would only update session data for those keys that actually require update.
In our project, for instance, we are having a polling mechanism that asks the server for the current session state; each such request however SAVES the session data in its entirety.  If - at the same time - the user is doing a rest request to authenticate, or to log out, or basically to do any action that might require session data to be updated, we're having a lot of risks of the requests to impact one another.
request A: POST/auth/login
request B: GET /session/state
if both these requests are sent to the server, B updates the session because user logs in, but request A was already started, and saves the session after that, the authentication information is lost, and the user is logged out again, even though he just authenticated.
I think it's a "big" change, but it would be better if only session data that is changed, is being saved.  at this time, the entire session data is always being stored, which isn't desirable.
Adding a key to the method that stores data will be breaking for all drivers, and may impact existing users that have implemented drivers.  therefore, I believe it would be advisable that laravel checks the driver method using reflection to see if the driver already supports key-based storing, and if not should log a warning and fallback to old mechanism.  In later laravel version (6?), we could deprecate the old way of dealing with it.
Any thoughts?
Steps To Reproduce:

Just wanted to add that I noticed the startSession middleware is terminable.
The terminate method is... storing session.
Since the terminate is executed at the very end of a request (even after sending data to the client), it seems to be a potentially long time between the start of the session, and the storage at terminating middleware, and this definitely explains why I'm seeing such strange behaviour.
I also see that it seems to be calling an ageing method of some sort for flash messages, which might explain why this has been done.
I really think this needs to be tackled in some way :-)

This is a "known" issue since at least Laravel 5.1. https://github.com/laravel/framework/issues/14385

Hi @sisve!
Thanks for referencing that issue.
I think mine is a bit different though.  I'm not sure that the session is completely wiped out, and the suggested solution in that issue won't fix the real issue that we have.
I'm mainly concerned that - when I checked the bits of code you sent me through slack - there is a small design issue that you won't be able to fix by migrating to database or to redis either.
If I understood correctly from what I briefly saw the sessionmiddle ware that creates the middleware is terminable, meaning there is logic in the terminate() method of that middleware.
In that temination, the session data is saved (I'm thinking because they want to get rid of the flash messages, hence they wait for data to have been sent to the browser before they "age"/remove the flash messages from the session.
  So even data that we didn't want to update, is being saved.  So no matter what driver you have behind that, I don't think this will be fixed.
Considering that it's in the terminate of the middleware, you are creating a big timeframe between the start of the request (in which session information is being retrieved), and the final save.  If another concurrent request has meanwhile taken place, you might be saving outdated information to the session.
I believe that when we can avoid the entire session being saved, but make saves key-based, a lot will be fixed, for many use cases.  I understand that the flash messages need to be erased, but if we can achieve that by just updating the session.flash data, and not the entire session, it will be more secure.
The solution of not allowing multiple requests is theoretically a good suggestion; in practice it's not.  I know a lot of users - including myself - tend to open multiple tabs of the same app because it makes switching easier if you need to compare stuff for instance; you can not and should never trust that you can control the number of requests that come in and in what order.
Furthermore - the whole idea of sessions is that the information held by the session is available throughout... the session.  I don't think it's wise to update session information that shouldn't be touched.
I hope this makes sense.  I LOVE Laravel, but this is a real issue that I think we should be able to tackle.
Cheers,
David.

I'm also thinking it might be interesting to load the flash messages at the BEGINNING of the request, save the session there, and get rid of the terminate process.  The flash messages are supposed to just live between two requests, right?  So you could probably get them at the beginning, and try to eliminate the session save at the end.  But that would be a workaround really.  I still believe it's a minor design issue to save data that might have been already updated by another request, since it's supposed to be session-wide.
This whole issue reminds me again of why I always try to eliminate anything that goes into sessions :-)

Having the exact same issue. Our app is basically useless because of this, and the user experience is terrible, as in load the page (lots of concurrent requests), at the same time issue login request, and we loose the session, and the user is obviously not logged in, because stale session data is written to disc.
The obvious fix would be to stop using sessions and switch to a stateless token based scheme, but that would mean refactoring lots of application code, so another fix could be to change the terminate flow to something along the line of:

Lock the session file
Reload the data
Merge in delta changes
Write the file
Release the lock

Obviously locking sucks, but what else could possible be done to fix this issue?
The biggest problem in this fix is that this would be really hard to implement into the session Store implementation as it is today, because it's decoupled from the FileSessionHandler. That makes a lot of sense, but it makes this hard to fix.

storing session data to files is a worst case if you don't use ram as storage. If resource can be modified by different software , always use locking of data , at least mutexes

@denjaland Hi David, I spend more than our reading your nice descriptions to figure out the problem you wrote about.
As I understood you are talking about 2 concurrent requests from the SAME user, but seemingly @LarsVonQualen is talking about many users logging in, which I do not get how could be problematic.
The practical solution came to my mind, is to give a way to manually prevent session saving in request B.
request A: POST/auth/login
request B: GET /session/state

since these type of concurrent requests are identifiable, and do not randomly happen on each and every route.
It seems that automatic ajax calls, or from a mobile client, can create such a problem.
So if you know that the route you are defining is being hit by ajax calls and there is no need to CHANGE the session data to handle that, you can mark that route manually, and that causes the StartSessionMiddleware to just read the session data and skip overriding it at the end of the request on the terminating phase.
Effectively make that specific route a safe one to be concurrent with /login
all and all, it would be the developers job to identify the session read-only and concurrently  hit route and mark them in the way the framework allows.
this way there is at least a way to survive the situation and it would be fully backward compatible since it only changes the behavior if you explicitly mark your route with a new method that never existed in the old versions of laravel.
What do you think ?

I can implement a "fix" for this by simply extending the session expiration in storage if the session data is exactly the same as it was at the beginning of the request. However, this would only work for certain drivers. I think I could make it work for the following drivers: database, redis, memcached, DynamoDB (maybe)...
I would have to add a touch method to the Cache contract, so it would be a breaking change.
I know it will definitely not be possible on the file driver.
I'm hesitant to implement it because this would not solve the "problem" of two concurrent requests modifying the session at the same time. Note this is also a "problem" in other web frameworks such as Rails as well.

what if we allow the user to somehow mark some routes as "concurrently",
So the expiration time does not need to be updated on the cookie when a request hits that route.
Basically this allows the server to respond without a cookie.(only on the routes which are marked as "concurenty.")
The user can accept this limitation (not updating cookie expiration time) to alleviate the problem quite a bit.
@taylorotwell

I can implement a "fix" for this by simply extending the session expiration in storage if the session data is exactly the same as it was at the beginning of the request. However, this would only work for certain drivers. I think I could make it work for the following drivers: database, redis, memcached, DynamoDB (maybe)...
I would have to add a touch method to the Cache contract, so it would be a breaking change.
I know it will definitely not be possible on the file driver.
I'm hesitant to implement it because this would not solve the "problem" of two concurrent requests modifying the session at the same time. Note this is also a "problem" in other web frameworks such as Rails as well.

I think we should have it for these driver as its possible it would be good

Could we go the ASP.NET way and implement session locking? When routes are marked for write access to sessions they take out an exclusive lock so that other requests that wants to write to the session are blocked until the first is done.
This would effectively execute all requests with write-access to the session one at a time.
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.sessionstatebehavior

I agree with @sisve’s comment 👍

@sisve how do you recommend determining which requests have "write access" to the session?

https://github.com/laravel/framework/pull/32636

@taylorotwell by adding a route middleware?


Issue with installation of python bindings

Description
After installing version 1.8.3 following the instructions on a new wombat with the custom OS, ihs_bindings cannot be imported because the python interpreter cannot find the file 'libihsboost.so'.
To Reproduce
git clone https://github.com/ihsrobotics/ihsboost.git
cd ihsboost
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install

Testing the import in python3
>>> import ihs_bindings
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libihsboost.so: cannot open shared object file: No such file or directory

Details
Running the command cd / && sudo fine -name libihsboost.so, it found the following locations:
./home/pi/Documents/ihsboost/build/libihsboost.so
./usr/local/lib/libihsboost.so

Retrying the installation and manually specifying the build bindings option to true did not fix the issue.
On a wombat with working ihs_bindings (this is from the pre-installed ihsboost on the custom OS), running ihs_bindings.__file__ reveals the following file:
/usr/local/lib/python3.9/dist-packages/ihs_bindings.cpython-39-aarch64-linux-gnu.so

Inside the python3.9 dist packages directory, there are 3 items:
ihs_bindings.cpython-39-aarch64-linux-gnu.so
ihs_bindings.pyi
ihs_communicate.cpython-39-aarch64-linux-gnu.so

However, on the faulty installation, the directory is empty.
After copying all the files from the dist packages of the working wombat to the faulty wombat, the error persists.

Build and configure logs would be helpful!
Also, you are correct that the bindings file is different from libihsboost.so. This is what is required for interfacing with Python, and you can see more about how the bindings are built in the modules/bindings/CMakeLists.txt file.
As for your issue, it would appear that the installation was successful since you were able to get that error. If the installation had failed, you would get an error like "ModuleNotFoundError: No module named ihs_bindings" However, since you are getting an ImportError for a .so file, this suggests that your installation of the python bindings is successful. Try running sudo ldconfig or manually updating your PATH variable if the installation directory wasn't on your PATH.


Improve child router initialization

Coverage decreased (-0.4%) to 91.784% when pulling 4782808daae5eac2ee964db0df6728b5383f0898 on fix-child-router-initialization into 941e2d9f6d5736c82ce2cb9f5155b5c3a3f0461b on master.


linux: add PTRACE_SYSCALL_INFO_*

Add PTRACE_SYSCALL_INFO_* for ptrace_syscall_info.op.

@bors r+

:pushpin: Commit 91665fabcb268452b359ba3ed4fb30b3c030d89d has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit 91665fabcb268452b359ba3ed4fb30b3c030d89d with merge d3cb0e7f081f6746cf9897c9bee15c3a22e986ed...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing d3cb0e7f081f6746cf9897c9bee15c3a22e986ed to master...


Ressource missing: /assets/img/rick-avatar.png

The image /assets/img/rick-avatar.png  is missing.

#138


Notifying signal update with reference types

A signal will only fire if a "new" value is assigned. So if I use a signal with a reference type, e.g. an array, updating the value will not actually fire the signal. Cloning works but sounds wasteful. It would help if there were a way to fire a signal manually after update in this case.

If you want to handle references, I think it's best to use immutable data structures.
That does not involve full cloning but only 'recreate' the required parts of your data structure.

@KnisterPeter this still means making shallow clones for dictionaries. Unfortunately, JavaScript is not very good at immutability. I mean, it's not a big deal and a clone on user interaction won't even be measurable, but it does make the code more awkward.

Signals use versioning internally, each update increases a version number, so the value isn't really used to know if a computed or effect should update.
With that in mind, you can create your own abstractions using the exact same idea:
function refSignal<T>(value: T) {
	const version = signal(0);
	const notify = () => version.value++;

	return {
		notify,
		get value() {
			version.value; // Subscribe
			return value;
		},
	};
}

We create a signal version for the sole purpose of allowing other computed or effect to subscribe to it. It's value can be anything but a number is pretty cheap so that'd work just fine:
const s = refSignal(["hello"]);

effect(() => {
	console.log("Current value:", s.value);
});

s.value.push("World!");
s.value.push("!!!");
s.notify();

// Effect logs:
// Current value: [ 'hello' ]
// Current value: [ 'hello', 'World!', '!!!' ]

@eddyw thanks for the suggestion, that’s very similar to the interim solution I am currently using, only I use a Boolean and invert it every time to avoid dealing with overflows (probably will never happen in practice but better safe than sorry)


Integrate testing for interpreter

Make the following test suites run on CI for the interpreter:

[x] cargo test from the interp directory
[x] runt from the interp directory

This will require skipping the currently failing tests. This can be done by renaming the .expect file to .skip.

TODO

[ ] Fix the cargo test tests.

cargo test in the interp directory currently fails for:
failures:
    test::prim_test::test_mem_d1_imval
    test::prim_test::test_mem_d1_tlv
    test::prim_test::test_mem_d2_imval
    test::prim_test::test_mem_d2_tlv
    test::prim_test::test_mem_d3_imval
    test::prim_test::test_mem_d3_tlv
    test::prim_test::test_mem_d4_imval
    test::prim_test::test_mem_d4_tlv
    test::prim_test::test_std_reg_imval
    test::prim_test::test_std_reg_tlv

Maybe one of @EclecticGriffin @ai-cu @almathaler @yn224 can take a look and fix it?

The CI integration is done. All that needs to be done is fixing the cargo tests. I've also turned the failing runt tests to be skipped. @EclecticGriffin feel free to override me if this was the wrong decision.

Oops sorry, the failed tests are my fault. I forgot to fix them when I introduced pulse values

Okay the tests both unit and doc should be fixed now! They even pointed me toward a tiny bug that I had missed

And the .skip files for the failing runt tests seems like a good way to go, so no objections from me


fix: support setting cookies from MiddlewareResponse

Summary
Fixes https://github.com/netlify/pillar-support/issues/350
Test plan

added an e2e test

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal
Standard checks:

[ ] Check the Deploy Preview's Demo site for your PR's functionality
[ ] Add docs when necessary

🧪 Once merged, make sure to update the version if needed and that it was published correctly.

@taty2010 could you cast your eye over this, because I think you were dealing with a PR not long ago that involved cookies and middleware?

got everything working locally, would appreciate some help with the failing CI tests!

thanks for taking this across the finish line


[WFLY-15337] Manual Model microprofile tests fail due to missing stan…

…dalone-microprofile.xml
Jira issue: https://issues.redhat.com/browse/WFLY-15337
Right now tests are failing when we are using the ee-galleon-pack distribution, which does not contain MP stuff.
Instead of doing a considerable refactor of the manualmode pom, here we are disabling the tests when we are not testing a full server distribution.

-- Alt Distribution
https://ci.wildfly.org/viewLog.html?buildId=274314&buildTypeId=WF_MasterLinuxAltDistJdk8


enormous number of retry jobs being initiated

Describe the bug
Thousands of retries jobs have been triggered with the following tags:

retry-failed-client_error (5931)
retry-failed_to_download (2757)
retry-failed-CalledProcessError (1574)
trigger_time_limit_exceeded (764)
retry-failed-SoftTimeLimitExceeded-query (764)
retry-failed-SoftTimeLimitExceeded-exception (764)

This has occurred a number of times and the root cause/which jobs are actually getting "retried" is unclear right now.
To Reproduce
Check recent queued/completed jobs in Figaro with these tag names

Result of docker registry being down and memory being starved on factotum. Lowered the total number of procs running in supervisord.conf and spun up docker registry.


Update read-profile-data.md

i am not able to use it directly as it is written now
this shows syntax error

Indeed thanks, the from was not expected to be here.


Remove files from bithound ignore

We've added some files to the bithound rc file to be ignored. We ignore them because new 2.1 TypeScript syntax is not supported yet (namely strict null checks)
We should eventually remove these:
      "src/TestFrameworkOrchestrator.ts",
      "src/SandboxCoordinator.ts",
      "src/MutantTestMatcher.ts"

The SandboxCoordinator was removed with #241


Add help tags for useful paragraphs on text-obj behavior in object/visual mode

Originally opened at https://github.com/neovim/neovim/issues/25224
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
I just discovered (by really not understanding what was going on..) the builtin behavior of repeated usage of text objects in visual mode as described in:
https://github.com/vim/vim/blob/d8b86c937a419db69239a8bb879f0050be0f8e1d/runtime/doc/motion.txt#L701-L709
This is very interesting behavior !!! :ok_hand:
However there is no way to simply refer to this paragraphs specifically.

other paragraph just above would also benefit from a help tag
https://github.com/vim/vim/blob/d8b86c937a419db69239a8bb879f0050be0f8e1d/runtime/doc/motion.txt#L686-L699

Describe the solution you'd like
I'd like to have the ability to refer to these 2 paragraphs specifically in my configs via 1+ help tags like v_text-objects or o_object-select
Describe alternatives you've considered
Refering to :h object-select or :h text-objects and mention it's about the paragraph(s) aaall the way below the list of builtin text objects...
But it's really not great for quick reference for such an important and potentially weird/unintuitive behavior..

Thank you! :hugs:


[Question]: How to restore admin password?

Question
Is it possible restore admin password or emulate reset button like on Synology Diskstation devices?

@kroese thank you, that helped, it works.


Added support for QNX system

The current version is compiled on QNX, and QNX lacks some functions

Your bug report is lacking critical information, at the very least you have to provide version information and a compiler error message.
Also while from a technical standpoint QNX is an interesting system, the current license terms discourage me from spending any time on it.

I'm sorroy.
The version of the QNX system is 6.6, The compiler is qnx-sdp660.
Compile the error message below
cleaning
dvtm build options:
CFLAGS   = -std=c99 -I. -DVERSION="0.15" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED
LDFLAGS  = -lc -lutil -lncursesw
CC       = qcc
CC dvtm.c
In file included from /home/z/tools/qnx/target/qnx6/usr/include/stdlib.h:25:0,
                 from dvtm.c:13:
/home/z/tools/qnx/target/qnx6/usr/include/sys/platform.h:172:4: error: #error This version of XOPEN_SOURCE is not supported
dvtm.c: In function 'drawbar':
dvtm.c:358:2: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration]
dvtm.c:364:4: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration]
dvtm.c:367:4: warning: implicit declaration of function 'waddnwstr' [-Wimplicit-function-declaration]
dvtm.c: In function 'main':
dvtm.c:1772:3: warning: implicit declaration of function 'pselect' [-Wimplicit-function-declaration]
cc: /home/z/tools/qnx/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.7.3/cc1 error 1
Makefile:18: recipe for target 'dvtm.o' failed

If edit config.mk like this
# dvtm version
VERSION = 0.15

# Customize below to fit your system

PREFIX ?= /usr/local
MANPREFIX = ${PREFIX}/share/man
# specify your systems terminfo directory
# leave empty to install into your home folder
TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo

INCS = -I.
LIBS = -lc -lutil -lncursesw
CPPFLAGS = -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED
CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG ${CPPFLAGS}
LDFLAGS += ${LIBS}

DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter

CC = qcc
STRIP = strip

This is compile the error message
cleaning
dvtm build options:
CFLAGS   = -std=c99 -I. -DVERSION="0.15" -DNDEBUG -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED
LDFLAGS  = -lc -lutil -lncursesw
CC       = qcc
CC dvtm.c
dvtm.c: In function 'drawbar':
dvtm.c:358:2: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration]
dvtm.c:364:4: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration]
dvtm.c:367:4: warning: implicit declaration of function 'waddnwstr' [-Wimplicit-function-declaration]
dvtm.c: In function 'main':
dvtm.c:1772:3: warning: implicit declaration of function 'pselect' [-Wimplicit-function-declaration]
CC vt.c
vt.c:24:22: fatal error: langinfo.h: No such file or directory
compilation terminated.
cc: /home/z/tools/qnx/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.7.3/cc1 error 1
Makefile:18: recipe for target 'vt.o' failed
make: *** [vt.o] Error 1


No data received on server

I'm struggling three days now. I downloaded the App and followed the instructions on the doc. I entered all the necessary information. But no data is received to the server and hence family name will be not created.
I don't know what to do. I used different devices (thought maybe API is not supporting it).
I started making own server via Docker and got the same result as above. Tests are running and everything seems to be ok. By ok I mean I'm able to access the dashboard and even the test data will show up correctly.
I used Samsung Galaxy Tab S 10.5 which has the Android 6.0.1 Version (API 23). Other devices I used from Emulators just in case the minimum SDK won't work.

You need to enable the location on your phone and allow it to use wifi,bluetooth and gps to determine the location

I'm facing the same issue.
I created a server using docker and entered http://myip:8005 in the server field. However I keep on getting an error : cannot connect to server, fingerprints will not be uploaded

Has your issue been resolved?
I had the same issue where test files were being uploaded but data from my phone was not
Here's 2 step by which it got resolved
In the field named server enter http://yourcomputer'sip:8005
checking whether both your computer/laptop are on the same network as your android.
Very basic, but these were my mistakes.
And yeah, as mentioned above keep your location on.

Android seems to limit something.
So use esp32 version is much faster.

Android seems to limit something.
So use esp32 version is much faster.


show durations

Value Proposition
As a user, I want to see the durations for trips (in days) and their destinations (in nights) so that i know how many vacation days i have to take.
Description

Acception Criteria

[ ] Shows the total number of days of all destinations on the destinations page including first day
[ ] Shows the total number of nights of the single destination on it's details page

Tasks

[ ] Create a function, that returns the difference between the destination startDate and endDate in days
[ ] On details page create a label "Duration" in footer bar
[ ] Below the label, return the value of the calculate-function and add "nights"
[ ] Create a function that returns the difference between the first date and last date (including 1st day) as days
[ ] On destinations page create a label "Total duration" in footer bar
[ ] Below the label, return the value of the total-calculate-function and add "days"

Seems like a good compact user story :)

hm, maybe one thought on your first task: if i start today and return tomorrow -> you would have a 1-day trip calculating as described. I guess that should be 2 days?

Correct, in Task 4 there will be the 1st day included. I'll describe it more precise :)


[Fix] the Tests.Jupyterhub.Test-Jupyterlab-Git-Notebook

The pre-filled input text has been changed in JupyterHub 3.6 when compared to JupyterHub 3.5 used in previous notebook image.
Relates to: https://github.com/opendatahub-io/notebooks/issues/261
CI: rhods-ci-pr-test/2233

Okay, this waited for too long. Let's merge at least this part for one of the failing tests in the suite and I'll provide a fix for the second one later in a different PR.


Add multi-target support; Lower FSharp.Core version

Thanks! This should fix #6. Does it require something in particular for publishing or dotnet pack command works normally?

It should work same as before :-)

I think I need to set an env var to make multitarget building work with Mono, but I forgot which one... Will publish from Windows for now.

something like this ?

Yes, that's the one, thank you!


Do not repoint relations on superclasses when migrating a subclass's name change

When renaming a class the migrations framework follows all references backwards in order to repoint their foreign keys to the new location. However, the current implementation doesn't differentiate between relations by virtue of a direct relation to the subclass and those that it inherits from a superclass.
This change explicitly checks that the model that each found relation field belongs to is the same one being renamed. Without this, any project that has a renamed subclass will generate superfluous migrations for the parent class on every invocation of makemigrations, leaving incorrect migrations in eggs and spurious database records if not caught.

Thanks for the patch @MatthewWilkes . Can you check if the test works on the recent master and 1.8. It does for me. I just pushed a couple of fixes regarding the migration state (see #4097).
If the error still persists, we do need a ticket on Trac to keep track of the issue.
Thanks.

Hi @MarkusH, thanks for the speedy response! I can confirm this is working on the newest master and stable/1.8.x, #4097 looks like a much sturdier fix to the problem and the issues in general.
Apologies for not adding a trac ticket, I was bitten by this today when trying to put a 1.7.4 site live, so I just dove right in, I've not contributed to Django before.
That said, would this fix be appropriate for the 1.7.x line, or is #4097 likely to be backported?

The patch in #4097 won't be backported to 1.7. 1.8+ has a different migration state handling than 1.7 which caused other problems the PR fixes.
If your patch fails on 1.7 we need a ticket as well (just select 1.7 as a version on Trac) and add a link to this PR here if that fixes the problem and please go ahead and add a short note to the release notes (docs/releases/1.7.5.txt as of now).

Thanks for your help! I've made #4155 for the 1.7 specific merge, and trac ticket 24354 to track this change.


driver: sensor: Add support for LIS2MDL Mag sensor

Added support to LIS2MDL Magnetometer sensor provided
with following features:
- I2C interface
- Mag data
- Temperature data
- ODR configurable by config or at runtime
- Trigger mode selectable by menuconfig
- IRQ pin configurable
- Hard Iron offset setting at runtime
Tested on ST MEMS IKS01A2 + NUCLEO STM32F411RE board.
LIS2MDL connected to I2C master interface (SPI 3 wire not
supported yet).
Test run with all ODR {10, 20, 50, 100} Hz in poll and
trigger mode.
For more info on this LIS2MDL please follow this link:
http://www.st.com/en/mems-and-sensors/lis2mdl.html
Signed-off-by: Mario Tesi<EMAIL_ADDRESS>

Codecov Report

Merging #6518 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6518      +/-   ##
==========================================
- Coverage   53.37%   53.36%   -0.01%
==========================================
  Files         435      435
  Lines       41308    41308
  Branches     7922     7922
==========================================
- Hits        22047    22046       -1
- Misses      16043    16044       +1
  Partials     3218     3218

Impacted Files
Coverage Δ

kernel/posix/pthread.c
69.5% <0%> (-0.5%)
:arrow_down:

Continue to review full report at Codecov.

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

One remaining comment, otherwise looks fine.

There are still some issue on this commit ?
Please let me know

@galak, can you review again? I think this is ok now (binding file added)

@galak
Can you possibly take a look at this PR?

In the last commit device tree support has been added to GPIO interrupt selection pin/port

@mariotesi , do you have further plans for this PR?

I'll push CR asap

I don't understand why shippable test fails, my build of test/drivers/build_all everything it's ok

I don't understand why shippable test fails, my build of test/drivers/build_all everything it's ok

How are you building it locally? Did you include -DCONF_FILE=sensors_i_z.conf when you invoked cmake? There are two ways you should build the test:
$ cmake -DBOARD=frdm_k64f -DCONF_FILE=sensors_i_z.conf ..
$ make

$ cmake -DBOARD=frdm_k64f -DCONF_FILE=sensors_trigger_i_z.conf ..
$ make


[Apple Mail] Unable to see recent mail for Exchange account

Extension
https://www.raycast.com/yug2005/mail
Description
I am a Chinese user and have added an exchange account in the mail app. This extension can correctly read the emails in the exchange account, but cannot display the recent emails.
I suspect it has something to do with parsing the mailbox name. And it would be great if the email options were in the right order, for example, with Inbox first.
Great extension by the way, thanks a lot!

Steps To Reproduce

add exchange account
run see recent mail

Current Behaviour
No response
Expected Behaviour
No response

I have solved the problem by modifying the Outlook language. I will submit some code to improve the utility functions in mailbox.ts later.


Generate entry points

close #38

Main problem here is with cargo features. Unfortunately features are unionized in the scope of the workspace and entry points are not generated because "library" feature is set in cw1_subkeys for cw1_whitelist deps.

We cannot have to fail CI because of some features issue.
I think the way to fix this is to change the CI flow - instead of running the cargo test on the workspace, we need to create a separate job for every contract separately, which calls cargo test in the contract directory.

It won't work as cw1_subkeys uses cw1_whitelist as a dependency. So running build for subkeys will cause in the current state that no entry points will be generated


  Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector instead.
stylelint_d disabled. 'cls.defaults' is mandatory and MUST be a dict.

Fixed It

I am running into this issue now too. I have the following in my SublimeLinter Settings file:
"stylelint_d": {
  "cls.defaults": {
    "configFile": ".stylelintrc.yml",
    "syntax": "css"
  }
}

But that doesn't fix it.
Can you share how you solved your issue?


Lookout: display resource information in job details view

User would like to be able to see request resource details (e.g. cpu, memory, gpu, disk) in the job details view without having to scan the job request yaml.
Related to https://github.com/G-Research/armada/issues/910.

Hey team! Please add your planning poker estimate with Zenhub @dejanzele @jayofdoom @kannon92 @richscott @suprjinx


FR-143 | Packaging updates and dependency upgrades

Update dependency versions for testing
Update README to reflect that html_logo works in the latest sphinx_rtd_theme version
Use a clean_up_requirements.py script for smoother dev and test environment updates
Simplify package data enumeration

:+1: Looks good.


Typescript is not able to resolve the union after a merge

🔎 Search Terms
union inference
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about 5.2.2

⏯ Playground Link
https://www.typescriptlang.org/fr/play?#code/FAFwngDgpgBAslATgcygHgGIBoYGUB8MAvDAN7AwwDaA0jAJYB2MA1lGAPYBmeMAPq3bcYGALoAuGHSgAPEFEYATAM6DOPXBUowA-HlqitlSdLkKVa4RiO6RBm5MZQAbkgDcwAL4fw0GABUAVwgAGyh-DgBVRnoORjR-GFl5JVVEKABDRTiQsBhAxhZGDgB3RipRQhJ-KkZAgFsAIyRRD2BQSFgAQWIyLTYwSQAiLqGPSghEDggARkllEEQmZA9Pdt9YACFe8koB4c2xrUnpgCZHBubEVfaOv2jY5mrgsIiHuLQqLpxNypgAen+MB6fAABdt1p14EhUIoIgBhEIZZSqEgIFDoDiNABWUAAxiAcO9GPh2op8Uj0jA8XEFtTJOjYQikSiPPQuAAKPEAOgGxCIJBGQwAlH1KIC8AALDiBEKKGDNGAbYQ9LQ8rztIA
💻 Code

type Merge<F, S> = {
  [K in keyof S | keyof F]: K extends keyof S
    ? S[K]
    : K extends keyof F
    ? F[K]
    : never;
};
type TupleToUnion<T extends readonly unknown[]> = T[number];

type A = {
  key: "A";
  prop1: string;
}

type B = {
  key: "B";
  prop2: number;
}

type Union = TupleToUnion<[A, B]> // A | B
type MergedToClass = Merge<object, Union>

declare const c: MergedToClass;
if(c.key === "A") {
  // expecting c to be typeof A
}

🙁 Actual behavior
Typescript can't resolve the type of C correctly. Expecting it to be a type of A
🙂 Expected behavior
Since the type MergedToClass merges an object and a union of types, I expected typescript to be able to resolve the type.
Additional information about the issue
No response

What type do you expect Merge<object, Union> to result in? Because right now it results in { key: "A" | "B" }, and for this type there won't be any narrowing based on key. You would need it to result in A | B, two types each with a distinct key property.

It seems like you're expecting Merge to be distributive, but it's not, and since the mapped type inside isn't homomorphic, per-branch property information is lost, by design.
What you might want is this:
type MergeDistrib<F, S> = S extends unknown ? Merge<F, S> : never;
type Merge<F, S> = {
  [K in keyof S | keyof F]: K extends keyof S
    ? S[K]
    : K extends keyof F
    ? F[K]
    : never;
};
type TupleToUnion<T extends readonly unknown[]> = T[number];

type A = {
  key: "A";
  prop1: string;
}

type B = {
  key: "B";
  prop2: number;
}

type Union = TupleToUnion<[A, B]> // A | B

type MergedToClass = MergeDistrib<object, Union>

declare const c: MergedToClass;
if(c.key === "A") {
  // OK
  c.prop1;
}


Client vs. Server evaluation can sometimes call a DbFunction's static method template

I had the exception inside one of my [DbFunction] static method template being triggered in a complex query. I stripped everything away, and I found that an outer OrderBy was deemed to need Client vs. Server evaluation, which dragged the DbFunction method into the client side evaluation, with the obvious result of exception in the static method being called.
I found this type of error quite hard to diagnose, as it isn't obvious what is happening. I really didn't think a DbFunction would be be called in Client vs. Server evaluation, but now I know.
I have isolated a simple example as shown below
System.Exception : Exception of type 'System.Exception' was thrown.
   at DataLayer.SqlCode.UdfDefinitions.AuthorsStringUdf(Int32 bookId) in C:\Users\Jon\Documents\Visual Studio 2017\Projects\EfCoreInAction\DataLayer\SqlCode\UdfDefinitions.cs:line 33
   at lambda_method(Closure , ValueBuffer )
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.ComputeMap(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__3.MoveNext()
   at System.Linq.Enumerable.SelectIPartitionIterator`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
   at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Test.UnitTests.ServiceLayer.Ch13_BookListDtoImproved.TestUdfExceptionSimpleDto() in C:\Users\Jon\Documents\Visual Studio 2017\Projects\EfCoreInAction\Test\UnitTests\ServiceLayer\Ch13_BookListDtoImproved.cs:line 104

The logging output from my unit test is
Warning: The LINQ expression 'orderby new SimpleDto() {AuthorsOrdered = AuthorsStringUdf([b].BookId)}.ReviewsAverageVotes asc' could not be translated and will be evaluated locally.

Information: Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [b].[BookId], [dbo].AuthorsStringUdf([b].[BookId]) AS [AuthorsOrdered]
FROM [Books] AS [b]
WHERE [b].[SoftDeleted] = 0

Steps to reproduce
Below I list my unit test. The significant thing in this unit test is that the ReviewsAverageVotes value is not set, which seems to trigger the Client vs. Server evaluation (My query was a lot more complex that that, but I proved it triggered the same issue).
Notes:

The statement var options = this.ClassUniqueDatabaseSeeded4Books(); produces a uniquely named database and seeds it with four test books.
The method context.ExecuteScriptFileInTransaction(filepath); adds the UDFs to the database.

private class SimpleDto
{
    public double? ReviewsAverageVotes { get; set; }
    public string AuthorsOrdered { get; set; }
}

[Fact] public void TestUdfExceptionSimpleDto()
{
    //SETUP
    var options = this.ClassUniqueDatabaseSeeded4Books();
    var filepath = Path.Combine(TestFileHelpers.GetSolutionDirectory(),
        @"EfCoreInAction\wwwroot\",
        UdfDefinitions.SqlScriptName);

    using (var context = new EfCoreContext(options))
    {
        context.Database.EnsureCreated();
        context.ExecuteScriptFileInTransaction(filepath);
        var logIt = new LogDbContext(context);

        //ATTEMPT
        var books = context.Books.Select(p => new SimpleDto
        {
            AuthorsOrdered = UdfDefinitions.AuthorsStringUdf(p.BookId)
        }).OrderBy(x => x.ReviewsAverageVotes).ToList();

        //VERIFY
        books.Select(x => x.AuthorsOrdered).ToArray()
            .ShouldEqual(new string[] { "Martin Fowler", "Martin Fowler", "Eric Evans", "Future Person" });
        foreach (var log in logIt.Logs)
        {
            _output.WriteLine(log);
        }
    }
}

My entity classes (which you must be sick of seeing:)) are:
public class Book
{
    public int BookId { get; set; }
    public string Title { get; set; }
    public string Description { get; set; }
    public DateTime PublishedOn { get; set; }
    public string Publisher { get; set; }
    public decimal Price { get; set; }
    public string ImageUrl { get; set; }

    //----------------------------------------------
    //relationships

    public PriceOffer Promotion { get; set; }
    public ICollection<Review> Reviews { get; set; }
    public ICollection<BookAuthor> AuthorsLink { get; set; }
}

public class Review
{
    public const int NameLength = 100;

    public int ReviewId { get; set; }
    [MaxLength(NameLength)]
    public string VoterName { get; set; }
    public int NumStars { get; set; }
    public string Comment { get; set; }

    //-----------------------------------
    //Relationships

    public int BookId { get; set; }
}

public class Author
{
    public int AuthorId { get; set; }
    public string Name { get; set; }

    //------------------------------
    //Relationships

    public ICollection<BookAuthor>
        BooksLink { get; set; }
}

Linking Table is
public class BookAuthor
{
    public int BookId { get; set; }
    public int AuthorId { get; set; }
    public byte Order { get; set; }

    //-----------------------------
    //Relationships

    public Book Book { get; set; }
    public Author Author { get; set; }
}

I haven't provided the DbContext with its setup, but I don't think you need it. If you do then I can set it, but all the code can be found the open-source project on GitHub in branch Chapter13-Part1 - see https://github.com/JonPSmith/EfCoreInAction/tree/Chapter13-Part1. You can find the actual unit test at https://github.com/JonPSmith/EfCoreInAction/blob/Chapter13-Part1/Test/UnitTests/ServiceLayer/Ch13_BookListDtoImproved.cs#L83-L117 .
Further technical details
EF Core version: EF Core 2.0.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: Visual Studio 2017 15.3

dbug: Microsoft.EntityFrameworkCore.Query[100104]
      Optimized query model:
      'from Book p in DbSet<Book>
      order by new SimpleDto{ AuthorsOrdered = string AuthorsStringUdf([p].BookId) }
      .ReviewsAverageVotes asc
      select new SimpleDto{ AuthorsOrdered = string AuthorsStringUdf([p].BookId) }
      '

Above is the query model generated for the query.
Few observations, you are setting AuthorsOrdered property in DTO during projection but ordering by a different property. Is it by design?
Since ReLinq generates above querymodel, we cannot generate the ordering. If you are ordering by after Select then you can call ToList after select then order by on client.

It's known that a DbFunction may evaluate client side.  As you have found out if the query is not completely translatable the function may be run clientside, depending on what part of the query it is in.
In your case you are ordering on a property that the database doesn't know about, so EF breaks the query into server and client side.
As @smitpatel said to work around this you can either sort on a column in the database, or ToList the select and then apply the order by.
Alternatively you can provide a client side implementation of the DbFunction and it will be run correctly.  Not all functions are implementable client side, but some are, and in those cases it will work.

Thanks for the input. As I added to my first comment - I found this type of error quite hard to diagnose, as it isn't obvious what is happening. I didn't even think that a DbFunction would be evaluated client side, but now I know.
I think I will change the Exception in say "Called in Client vs. Server evaluation" (and update the book to say that too).
Thanks for clarifying this.

While it may seem bit difficult to figure out what happened there is enough of logging happening for that.

System.Exception : Exception of type 'System.Exception' was thrown.
at DataLayer.SqlCode.UdfDefinitions.AuthorsStringUdf(Int32 bookId)

The line where exception is happening is from DbFunction defined. It is System.Exception because that is what is written in code. Throwing NotImplementedException would provide more clarity.

Warning: The LINQ expression 'orderby new SimpleDto() {AuthorsOrdered = AuthorsStringUdf([b].BookId)}.ReviewsAverageVotes asc' could not be translated and will be evaluated locally.

This capture that the function will be called on client explicitly.

Hi @pmiddleton,
I have been looking at the idea that DbFunction methods could be called by client vs. server evaluation, and therefore could have real code inside the DbFunction method body. My first try was to look at adding code into the static method, but there is no access to the current DbContext (well it could be, but only via some static approach, which is horrible), so that was a non-starter.
I did try defining a non-static method inside the DbContext, which would have allowed the method access to the current DbContext, but I get the error:
System.ArgumentException : The DbFunction 'Chapter08EfCoreContext.AverageVotes' must be a static method. Non-static methods are not supported.

I therefore content that creating a a software version is pretty difficult, as the UDF is likely to take the minimum of information as an input parameter and it cannot access the DbContext. My AverageVotes example is contrived, but I use the DbFunction usefully later in the book and none of them would work as software defined code.
Am I missing something here? If you want to allow client vs. server evaluation is it possible to allow the DbFunction method to be non-static?? I would appreciate your thoughts on this.
PS. Personally I think the DbFunction is the easiest way to include custom SQL in a query and I want to understand this to convey this to others.

Currently you can't define an instance method as a dbFunction.  That is a limitation due to time constraint in order to get things done for 2.0.
I am actually working on this feature now - see #9213
I had not considered the use case which you are proposing for that feature.  I had always thought it as just a shorthand to avoid some typing.  I had not considered making database calls from it in cases of client side evaluation.
IDK if that would work.  You would be making one or more database calls in the middle of another parent call.  It may work, or it may blow up.
@smitpatel @anpete - care to put forward any guesses what would happen in that use case?
I will give it a try once I can get instance methods working and see what happens.  At a minimum it seems very bad performance wise as you will would end up executing N+1 queries.
I always envisioned that the ability to make that client side call would be for simple functions, and actually something you would actively try to avoid in favor of server side execution.

It should work (it's conceptually the same as any other mixed eval query) but we may need to address any wrinkles that crop up.
Some advantages of providing a client implementation are:

It facilitates in-memory testing.
It allows the query to work if it happens to fallback to client eval before the function call.

@JonPSmith
I have a working copy of instance method support up if you want to play with it.
https://github.com/pmiddleton/EntityFramework/tree/nonStatic
This is based off of the latest dev branch.
I would be curious if it works for the scenario you are envisioning.

Hi @pmiddleton,
I read your comment and I thought I would give you my view on how/why DbFunctions will be used. My comments about developer usage scenarios, but hopefully they may help you in your thinking.

I think DbFunction is the best SQL language feature in EF Core. Why? Because EF Core is now producing some beautiful SQL code, but sometimes a developer might need to "tweak" part of the query's SQL. DbFunction allows a developer to add a UDF, which contains a specific snippet of SQL, to any query, including queries to non-entity classes.
DbFunctions and client vs. server evaluation: Client vs. server evaluation is a blessing and a curse - it is easy to trip over something and part of the query drops into client-side evaluation mode - in EF6.x that couldn't happen. However, in line with "develop fast, performance tune later" I think allowing DbFunctions to be called by client vs. server evaluation is a good idea, but I don't see it as the default usage.
I really like the new CreateFunction method for defining DbFunctions, as shown by @bricelam in his SQLite & EF Core blog post , and I think it will become the primary way to define DbFunctions. But client vs. server evaluation should return clear error if a DbFunction defined with  CreateFunction appears in a client-side evaluation.
I agree with @bricelam, that the call to the DbFunction is much better if it refers to the method via the context, rather than via a class name, e.g.

db.Posts.Where(p => db.PostReadCount(p.Id) > 5);

I have to think about what I am going to say in the book about DbFunctions as the aim is to get the book into the print run in the next two months. I can update the eBook, but not the print book.

I hope my ramblings are helpful. I'm pleased to see DbFunctions are going to evolve in the future. I love them.

@JonPSmith
I ran a test for your use case.  I tried making another database call from a dbFunction which was being client side evaluated.
As I thought EF Core won't let this call happen as there is another call in progress.  The internal concurrency detection prevents the second call from completing.
Client side evaluation for DB Functions is going to have to stay limited to very simple functions which can be implemented without making any database calls.
In regards to item 3.  That is only ever going to be a Sqlite feature.  Sqlite UDFs are implemented in C not in SQL.  Interop is then allowing .Net code to replace the C function in @bricelam example.  For other providers to support this we would need some kind of C# -> Sql translation which is just not possible.

@pmiddleton You are hitting #7375 - we need to fix it.

I will keep an eye on that issue and retest if/when it is resolved.
@JonPSmith even if the re-entrance issue is resolved I still would recommend against coding a method this way as it will still have the N+1 issue.  Finding a way to rework the query to run server side is a much better option.

Note from triage: Since using the context inside client eval of the function is blocked by #7375, and this is in turn blocked by #8864, @anpete is going to investigate #8864 again to see whether we can do something for 2.1. However, #8864 looks quite hard, so we will cycle back again after the investigation and decide how to proceed.


Slow startup due to completion call

I'm noticing very slow startup of my shell, and when I look at zsh -x output, it seems that this plugin is the cause.

Yeah, this is kinda user error that I can fix locally. But I noticed that .zim/init.zsh seems to try to fully resolve the path of ZIM_HOME (or however all those source ../.zim/modules/.. lines are built out).
I have a complex corp setup, where /home is mounted on NFS, and that path resolves to different places depending on host. Whenever .zim/init.zsh updates (presumably very rarely), it fully resolves based on one host, but that resolved path can be much slower other hosts. I wonder if it's worth leaving symlinks as they are.

Yes, we resolve all symlinks when building ~/.zim/init.zsh. I wonder what would be the downside of not doing that anymore, if there are any.

Released version 1.12.0 which does not resolve symlinks when building ~/.zim/init.zsh anymore.


[v4][Android] contentContainerClassName on FlatList results in TypeError: right operand of 'in' is not an object

Describe the bug
Using the contentContainerClassName results in TypeError: right operand of 'in' is not an object. This only happens on Android.
To Reproduce
Steps to reproduce the behavior:

Use the contentContainerClassName property on FlatList
See error

Expected behavior

No error should be seen

Screenshots

Additional context

Running<EMAIL_ADDRESS>This issue does not appear on<EMAIL_ADDRESS>I haven't tested many version in between but it's safe to assume that the issue appeared between these 2 versions

This brakes React Native Paper inputs :disappointed:
Any progress

I am facing the same issue. Any updates on how to resolve this issue?

This issue appears to be fixed


Performance improvements in HttpResponseMessage.cs

Some values were being converted twice to int.
READ BEFORE FILING
This repository is read-only and doesn't accept community pull requests.

As is mentioned in the PR template, this repository does not accept pull request.
If you want to submit this PR to .Net Core, you can do that at dotnet/runtime.


quiche_h3_conn_poll and quiche_h3_send_response function are thread safety?

I want to use HTTP/3 for stream communicate just like HTTP/2 in gRPC. So, I use two thread one for receive which call quiche_h3_conn_poll function. The other is for send which call quiche_h3_send_response. They was doing well at start, but when send and reveive hundreds of times, the program hunged, without any result.

The quiche_conn and quiche_h3_conn types are not thread safe unfortunately, so they shouldn't be used across threads without some kind of synchronization mechanism.

The quiche_conn and quiche_h3_conn types are not thread safe unfortunately, so they shouldn't be used across threads without some kind of synchronization mechanism.

@ghedo Does support thread safe on the schedule?

We don't currently have any plan, though it also wouldn't necessarily fix the issue you are seeing. In alternative to that you can probably use a mutex on the connection object or something along those lines.


Enable Container Registry GitOps

Enable GitOps on Container Registries so that they build automatically when the key branches are updated

@vvcb @m1p1h rather irritatingly Azure ACR agent pools are not supported in UK South and as this is a private repository github actions cannot see it without more runners. Our policies won't let me release it into north europe (despite it not containing any sensitive data) as a result I cannot implement gitops as planned. Am investigating other options now

@qcaas-nhs-sjt  - this was always a problem. The only way I got around this previously was to make ACR available on the public network, run az acr build and then make it private again ❗ There probably is a better way but I never got around to investigating 😞 .
There are a few options described here. We can always ask Phoenix/Microsoft re how we solve this.

made some progress on this, but not fully working yet:
I've created a gitrunner scaleobject using keda, that will spin up github job runners as needed, these can talk to the azure container registry as they are on the same network. An example of this is on the docker-datascience-notebook repository.
This does appear to be largely working but the container images are so large that they are reaching the resource limits for the container so it cannot currently finish the build process. To account for this I'm going to look at creating a second node pool specifically for the job runners to keep them isolated from the rest of the compute resources.
Will hopefully finish this up on thursday

Should we reach out to Microsoft support for advice? We can't be the only ones facing this issue.

I'm happy to talk this through with MS but from experience I suspect microsoft will advise us to either:

use github runners inside of our environment which is what we are doing. I am happy for us to talk to MS about it though
create an exception to the policy and create the azure container registry inside of North/West Europe region where ACR agent pools are available. Though this will require a little bit of a rework to get it working properly and there may be issues with talking about this.
create an exception to the policy and make the container registry public. In theory so long as we're not storing any patient data  or anything else sensitive in the registry (which we shouldn't be) this shouldn't expose any issues.

of course if you go down the route of the last of these I would question why we would want Azure Container Registries anyway as we could simply post these open source projects directly into dockerhub where they can be used by anyone that wants them.
Whatever we do we need to have clear guidelines and guardrails to say what is acceptable to store inside of a registry and what is not.


Make columns reorderable

It would be nice if the columns in Clusterize table can be reordered by drag and drop. I mean something like DT reorder feature: https://datatables.net/extensions/colreorder/

Hi!
This is good idea in common
But, his functionality does not apply to the basic idea of the plugin, Clusterize is responsible only for data separation. Additional functionality may be implemented externally.


Avoid stackoverflow for deeply nested objects and arrays.

Fixes https://github.com/openjson/openjson/issues/18
Guys if nobody minds I can merge this fix & create a new version in Maven.

Shall the original PoC be added as unit test?

I do not mind if you or the the author add it into this or a new PR.

I'm currerly on vacation without laptop :( only can read and review ;)

https://repo1.maven.org/maven2/com/github/openjson/openjson/1.0.13/


change confusing note

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/6622

Dear @JohanFreelancer9,
kindly do the copy editor review for this PR.
Dear @mypil, for your information
Thank you

@Dansimp - PR has been copy edited and is ready for final review. This is based on issue #6622
Thank you.
cc: @kenwith


Splitting the RAILS App and Resque

I am following this project and here is another project I also follow https://github.com/sabman/cartodb-docker
They have already split the RAILS App and Resque  in their project - maybe it is something you might want to consider.

Hey, @sindile! Thank you, this isn't a resource I'd run into, and splitting them out into separate containers is definitely something I'm interested in.
Out of curiosity, how did you find this repo? I ask because I only just recently made it public, and I'm trying to figure out a good strategy for letting folks know about it (though I'd love to clean up the contributing doc more first, just to be a good host).

Hi @nballenger I did a github search and your repo appeared as recently updated. I am always looking for docker implementations of cartodb as I really like the product but always run into technical challenges and would love to run a production version of cartodb.


Fix/daef 166 strange artefacts ghost boxes caused by chromium issue

This PR fixes strange artefacts/ghost boxes on loading screen.

@nikolaglumac how can i test this PR?

@DominikGuzei this issue happens only on certain GPUs / OS combinations. If you have never before seen this issue than there is no way you can test it :(
I know @darko-mijic reported he has seen this problem. I hope he will be able to test it...

@nikolaglumac ok yeah, i actually had this issue but it does not always happen … will try it on master to see if it's there so i can test if the fix works here 😞

Ok i cannot reproduce the error … so @darko-mijic should take a look if he can verify it

🎉

Before:

After:


Pattern

Hi,
I added a pattern in the java language.
in Pattern folder: sans2001.java
in Pattern Screenshot folder: Pattern Output.jpeg
in Photos folder: sans2001
This is also a PR for hacktoberfest 2021.
Hope it is up to the requirements.
Thank You.

hi Please help me with this conflict i am unable to find. I am new to pr's and it is kind off confusing.


WSL installation get stuck, then generate en error message

Version
Windows 11 Pro (1000.22000.675.0)
WSL Version

[ ] WSL 2
[ ] WSL 1

Kernel Version
Default version installed by wsl --install
Distro Version
Default version installed by wsl --install
Other Software
No other Software used
Repro Steps
wsl --install
Expected Behavior
No error and installation should be done
Actual Behavior
Installing: Virtual Machine Platform
Virtual Machine Platform has been installed.
Installing: Windows Subsystem for Linux
Windows Subsystem for Linux has been installed.
Downloading: WSL Kernel
Installing: WSL Kernel
WSL Kernel has been installed.
Downloading: GUI App Support
Installing: GUI App Support
GUI App Support has been installed.
Downloading: Ubuntu
A error was encountered during installation, but installation may continue. Component: 'Ubuntu' Error Code: 0x80072eff
The requested operation is successful. Changes will not be effective until the system is rebooted.
Diagnostic Logs
No response

WslLogs-2022-11-15_10-42-54.zip


Set permissions for GitHub actions

Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

@ansible-community/devtools @gundalow I am sure if I should take this pull request as something good or bad. While security matters, I do not fancy getting random/unrequested help that looks more like spam. There is nothing to be pawned in these workflows because we don't use any secrets in them.
 I do still remember when others scripted proposing typo fixes to projects and started to spam project on github. They ended up with their accounts being blocked by github for breaching ToS.
Smells too much as using bots to advertise other projects/initiatives...

@


many error when Installing dependencies

when I installing dependencies. I get many error. it's the error:
 Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-AtOJB_/essential-generators/setup.py", line 8, in <module>
        with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
    TypeError: 'encoding' is an invalid keyword argument for this function

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-AtOJB_/essential-generators/

Collecting pywin32
  Could not find a version that satisfies the requirement pywin32 (from versions: )
No matching distribution found for pywin32

please help me:)

Try to download New "installer_linux.sh" and run it again.
If the problem still persist, then try to run each command present in installer_linux.sh manually


zmalllinugz: init at 5.3.8 (linux kernel version)

Motivation for this change

adding a simple way to
build a simple kernel with
minimum functionality for KVM VM's
need such small kernel for some other projects strongly related to Nix

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
[ ] 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 nix-review --run "nix-review wip"
[x] 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.

Notify maintainers
cc @

@GrahamcOfBorg eval

No, people's custom kernel builds should not be part of Nixpkgs.
I'll leave it open for a bit to see if there is any additional feedback.

While I agree that it is a custom kernel, I am afraid you are focusing only on the "custom" part and not on the added value. This kernel wants to be enough good to be used in any application where instead of containers for higher isolation you want to use kvm based virtual machines (Kubernetes runtimes etc.) I may have missed something, but existing kernel module based solutions make deployment considerably more complex. I am happy to discuss existing solutions but even more, I would like to grasp the philosophy of what can go in and what not. I understand that nobody wants to see garbage around here, but this is not garbage.
My understanding is that the main motivation to contribute with expressions is to have at least as exchange the builds available in the cache. I just started to contribute and have a list of other tools I would like to contribute, but if the rules are not clear I think anyone would loose sooner or later the motivation. Obviously it is easier to loose motivation that to gain it.

Don't merge yet however, have updates to the PR, but not ready to push. Thus please keep it open anyway

It seems useful as a complement to declarative VMs (which are part of nixpkgs)


Retain user's selected cf/org/space during a single console session

Ensure any selected cf/org/space are retained across all root page filters
Root page filters covers list cf/org/space filters on app wall, service catalogue, etc.
Only applicable to filters, does not cover the cloud foundry pages when multiple endpoints are attached.
Does not cover persisting this selection across multiple sessions (see #1524)

@nwmac I've tagged this as V2, this was brought up by @gberche-orange and could cause some major frustration to users.

From #stratos Michael Stokes [6:36 PM]
I don't like the new feature that the filter I set on the applications page is lost when I close the tab and reopen it or even refresh the tab it loses the info. I liked the last version (v1) of the app that remembers your filters forever even after restarts of your browser. It used to remember the org, space, search and whether the apps are listed in squares or rows.


_Generic selection error for pointers to qualified types

Ignoring CV qualifiers may lead to miscompilation when _Generic is involved.
#include <stdio.h>
void fn1(const int*p){ printf("fn1\n"); }
void fn2(int *p){ printf("fn2\n"); }
int main(void) {
    const int p;
    _Generic(&p, const int*:fn1, int*:fn2)(&p); // expected fn1, got fn2
}

Solved with 829a8ec


warn when package.json url is out of date

i did quite a bit of head scratching when gh-release failed in a project where my package.json was stale after a repo rename because we currently swallow the response below.
{ message: 'Moved Permanently',
  url: 'https://api.github.com/repositories/48707919/releases',
  documentation_url: 'https://developer.github.com/v3/#http-redirects' }

i've invited y'all as collaborators in leaflet.foo.bar (which was formerly named leaflet.foo) in case you'd like to test the fix somewhere safe and convenient yourselves.
i don't think there's a place in the existing test suite to add something like this, but happy to be proven wrong.

I don't have time to dig in this evening, but thanks for pointing this out.

Thanks @jgravois! This looks good for now, merging.


UVO end of life

KIA UK have confirmed they are ending UVO as an app and all future development will be done in the KIA connect app.

Can this be merged with;
https://github.com/PimDoos/kia_connect

What you linked is Kia connected services. That predates UVO.    We are using the connect app id and working to move to those endpoints.  That's what caused the recent outage in this integration and the ongoing issues.


guide for aurora

Hello @antonpup I started a guide for aurora, and I would like your opinion on the layout. At the moment it is in french but when it is finished I will translate it. It made me think I can translate Aurora in french if you want =)
https://gitlab.com/UnCanard14/GuideForAurora/tree/master
The guide is in .odt I will do this in .md

I saw it when you posted it the first time. I don't speak French, but it looks well organized. If you want to also convert it to HTML, I could post it up on the website as well.

OK thank you I will do that.

Hi @simon-wh I started a guide for aurora but there is options I don't understand their function, and I do not have all the games :/ cordially.
https://gitlab.com/UnCanard14/GuideForAurora/blob/master/WhatsThePoint.txt

@UnCanard14
General Settings:

Application Detection Method
The two options effectively are:
Windows Events: More efficient but doesn't work 100% of the time (App reading gets triggered from events in windows)
Foreground App Scan: Less efficient but should work 100% of the time (Loop that gets the current process every second)

Enbale timed blackout of the keyboard
Determines if the keyboard should effectively be turned off at certain times. i.e. if you leave your computer on overnight it could turn off the lighting as it isn't needed

Aplly timed blackout to game events
I assume it is supposed to make it so the above blackout would apply if you're playing games, but in the current version it doesn't appear to do anything.

Excluded processes
Processes where the lighting should be shut down which allows you to use native lighting (i.e LGS game effects for a game that LGS supports but Aurora does not)

Enable nighttime color zones for General Application lighting profiles
Enables the ability to have separate lighting layers at night (will probably be reworked for v0.7.0)

Away Effect:

Away Effect Type: Dim
Dims the current lighting on the keyboard when the away effect is running.

New Layer

Percent effect layer
See the default layers: "CPU Usage" and "RAM Usage", I feel as though they are a pretty good demonstration.

Lock Color Layer
Allows certain keys to be lit up depending on whether one of the lock keys (Caps lock, Scroll lock, Num lock) is enabled or disabled. e.g. Lighting up the numpad red when num lock is off and green when it is on.

option of certain games
?

Direct towards #428


Create go.yml

What is it you are trying to so here

Can you describe what is it you are trying to accomplish with this PR

Out


Add railsbump to a pipeline.

@manuelmeurer It would be nice to have a pipeline with different environments also that would allow us to setup heroku review apps so a new app is created with every PR to test it.
What you think?

Sure, sounds good!
What do you need me to do?
I haven't worked with Heroku pipelines yet...

@manuelmeurer I apologize for the late response.
The main reason for this was to configure review-apps so I could debug the deployment issues in https://github.com/manuelmeurer/railsbump/issues/48, since review-apps will deploy every PR and create it's own url. But I saw you fixed it 🙂

What in the issue tracker has the highest priority for you to be added/fixed?
I'll dedicate some time this week and weekend to Railsbump and I would love to know what are the priorities

I'd say #45, #42, and #30 are the issues that we should tackle next. Grab whichever you like most. :)


Help

How do i disable voice recordings and keylogger once already installed

cant

just make a new build, but remove the thing from autostart and end task in task manager before

Hey, just use the ModdedPysilon version, it covers every bug and it make sure your discord account never get banned.
Leave me a star if you like my project ;)


Module resolver / path rewrites / aliases

Describe the feature
Making use of babel-plugin-module-resolver, babel currently allows me to do something like this:
plugins: [[
  "module-resolver",
  {
    "alias": {
      "^@gt/([^/]+)/build/(.+)": "@gt/\\1/src/\\2",
      "^@vs/([^/]+)/build/(.+)": "@vs/\\1/src/\\2",
      "^@sc/([^/]+)/build/(.+)": "@scr/\\1/src/\\2",
    },
    "extensions": [".js", ".jsx", ".ts", ".tsx"],
  },
]]

Babel plugin or link to the feature description
https://github.com/tleunen/babel-plugin-module-resolver
Additional context
This is exceptionally useful to me because I use a monorepo for my projects, and split up parts of my projects into different modules so that they can be re-used in multiple apps. Things like @gt/node-utils and @gt/services etc.
The way I've set it up is that when each of those individual modules are built - their code is imported with something like:
import { createFile } from "@gt/node-utils/build/filesystem/FileUtils"

I expect these imports to work, even if the code in those modules hasn't actually been built yet- because I'm always jumping between these separate monorepo modules to improve them and add new features.
I hardly ever actually "build" the modules in my day to day, as I can just use babel to rewrite the paths using babel-plugin-module-resolver so when my code is being compiled for dev or even production builds, it always hits the current source code in each module.
This could be related to #379, as I am using tsconfig.json to set up path aliasing so that TypeScript intellisense functions correctly in my IDE:
"paths": {
      "@gt/common-utils/build/*": ["gt-common-utils/src/*"],
      "@gt/node-utils/build/*": ["gt-node-utils/src/*"],
      "@vs/vs-server/build/*": ["vs-server/src/*"],
      "@gt/gt-server/build/*": ["gt-server/src/*"],
      "@gt/gt-frontend/build/*": ["gt-frontend/src/*"],
      "@gt/services/build/*": ["gt-services/src/*"],
      "@gt/task-function-utils/build/*": ["gt-task-function-utils/src/*"]
    }

Is there any progress?

@ws456999 Sadly, not yet.
I recently got an idea about such api, but it's blocked by https://github.com/neon-bindings/neon/issues/73 / https://github.com/infinyon/node-bindgen/issues/37 (I'll switch to node-bindgen if required)

Any progress on this? I also use this feature.

this is a good feature

Is there any update about this issue ?
or any workaround

+1 we're migrating to a monorepo layout and it's a bit challenging without this feature

I started working on this, and I'm not sure if it's correct to support both of babel rewriter and tsconfig rewriter.
What do you guys think?

Well I just need to be able to tell the compiler to rewrite certain import paths when it encounters them and follow that new path for the module instead- whatever allows the most customization in this regard is the better one for me.
So I'd say the babel one is better? Since it uses a regex syntax and seems like you can use it for quite complex rewrites, as you can see I could do the same thing with a lot fewer lines than I could do with Typescript.

We only need tsconfig - so from our perspective simple matching is enough. As @lostpebble pointed out babel rewriting seems to be a superset, so sounds like a solution that makes more people happy :D  Automated parsing of tsconfig would be nice, but if I need to duplicate this config in .swrc - I don't really mind.

Thanks for the response!
I decided to implement tsconfig.paths because I want to make a complete typescript compiler :)

NOTE: To get this to work you must specify a module option in your config or modules are left untouched:
{
   "jsc": { ... },
   "module": {
     type": "commonjs"
   }
}

@kdy1 There's nothing in the documentation about baseUrl, could you provide more details on this?

@athrunsun You can refer to documentation for baseUrl of typescript.

The problem with the current code is that base_url is not used in the TsConfigResolver.
paths: {"@src/*": ["*"]}

If we have:
src/foo/index.js
import from '@src/index'

It should resolve @src/index to absolute path <base_url>/index, and then determine the relative path from src/foo/index to <base_url>/index.
https://github.com/swc-project/swc/blob/427df9a979dee9f0737c3234085a52f7a79ea19a/ecmascript/loader/src/resolvers/tsc.rs#L121-L184


fixed an error when opening a project

I had this error every time I started a project with the TODO manager:
res://addons/Todo_Manager/Dock.gd:252 - Invalid call. Nonexistent function 'rescan_files' in base 'Nil'.
I just added if plugin before the plugin.rescan_files() call in case_sensitive_pattern() so it isn't called when the plugin var isn't set yet.
Didn't test this extensively, but the plugin continues to work fine for me (before the method also didn't get called anyways because of the bug, so...)

Hi, thanks for spotting this bug. The core problem is that case_sensitive_pattern() should have been called at that point which was a mistake in the order of operations. I've instead moved the toggled signal connection to after I set the checkbox in the populate_settings() method. See 4d39a40 for the update.


npm WARN deprecation<EMAIL_ADDRESS>Use uuid module instead

This is just a warning, but node-uuid has been deprecated and is a dependency of this package as of version 2.0.4. Here is the discussion in the node-uuid page.

I've just a published a new version of this module which is a complete rewrite using Google's V4 Sheets API (v3 is being deprecated on March 3, 2020).
Docs available here - https://theoephraim.github.io/node-google-spreadsheet
I do believe this issue should be fixed in the new version.
Please test it out and if you find that there is still a problem, reopen the issue.
Thanks! 😄


Cannot confirm email by setting :email_confirmed_at.

In the readme of PowEmailConfirmation, manual email confirmation by setting up :email_confirmed_at is described.
But in my test seed it didn't work. I think :email_confirmed_at field is not casted in the changeset.
Seed codes are like this;
user_params = %{name: "na", email<EMAIL_ADDRESS>password: "abcd1234", confirm_password: "abcd1234", email_confirmed_at: DateTime.utc_now()}
{:ok, na_user} = Pow.Operations.create(user_params, otp_app: :myapp)

Fortunately, PowEmailConfirmation.Ecto.Context.confirm_email/2 is working as expected.

I've updated readme, thanks 👍

Casting fields in changeset should be dealt with care, so I agree your approach is proper.
By the way how about replacing PowEmailConfirmation.Ecto.Context.confirm_email/2 with PowEmailConfirmation.confirm_email/2 or PowEmailConfirmation.Operations.confirm_email/2? It will wrap lower level functions and allow possible independent with Ecto.

That's a great idea. The extensions have been built so they are tightly connected between the plug and ecto APIs, mostly because I wasn't 100% sure how the extensions should be working. Having an Operations module for the extensions makes a lot of sense. Let me reopen this until I can create a PR to add a similar high level API 👍

I've been looking at this several times, but I think as Pow currently is it works pretty well. There hasn't been a need to decouple extension plug and extension ecto modules so I don't think it's really needed. I'll revisit this if it becomes relevant, but it seems like extensions are so tightly coupled that any modification would in any case require developers to plan carefully.


merge from template

package.json

chore(deps): add ^22.0.10 remove ^22.0.9 (devDependencies.semantic-release)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.161%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
54

Relevant Lines:
56

💛  - Coveralls


Revert "Repair and sync the dev-1.18 branch"

Reverts kubernetes/website#19221
PR was manually merged, so tide label wasn’t applied.

/lgtm
/approve


Printout failing and passing tests separately....

Right now, our tests are a little confusing

Some tests fail
Some tests pass

But we pass PRs anyways...  we need someone to separate the test reports of

passing
failing, regression (breaks ClusterIP services)
failing, non-regression (affinity)

I would like to pick this task !


Enterprise and Organization Verified Domains on GHES

Summary
Enterprise verified domains have released to general availability on GitHub Enterprise Cloud, augmenting the existing organization-level capability. We are now adding enterprise and organization verified domains to all of our enterprise offerings by adding support for GitHub Enterprise Server 3.2.
Intended Outcome
Administrators for private GitHub deployments need to assure that email notification flow only goes to verified domains. While it is unlikely for email addresses that are out of compliance to be added to user profiles, this feature will provide demonstrable assurance to enterprise and organization owners that only specific domains will be eligible for notification delivery. Additionally, owners will be able to display the verified badge for internal domains that are accessible within the network boundary of the private GitHub deployment.
How will it work?
Enterprise and organization owners will be able to verify domains and apply email notification restrictions at an enterprise or organization level for their private GitHub deployment. This will be done within enterprise and organization settings pages under the "verified domains" tab.

<EMAIL_ADDRESS>


Bower version not built

Installing cartodb.js from bower just provides a copy of this repo, which is pretty much useless since the point is to automate asset retrieval. I'd expect the version on bower to be a built version (the files produced by the grunt build step).

+1 please

Yep, plz solve this, Grunt+Bower haves it's audience. Me included

you can do now a bower install cartodb.jsand it will install the dist files from https://github.com/CartoDB/cartodb.js-bower


Add "manual" capture mode for output

Add ability to capture only text which had a capture function called on it during the run.
Example:
SETTINGS["CAPTURE_MODE"] = "manual"

@ex.automain
def main(_run):
        for i in range(epochs):
                sentence_sample = train_language_generation_model(epochs)
                ex.capture_output(sentence_sample)

The problem i have is there isn't a good way to only save the output that i want to save. I'm making a language generation network, so having a way to log text is much more important than logging scalars.
I personally think it makes more sense to add the ability to log text as part of the output capture. But maybe there's a better way.
I'm willing to contribute here as well.

Hey,
after #504 was posted, I thought a bit about this general problem. I am going to hijack this issue for a discussion of the general stdout capturing system in sacred.
But first I want to acknowledge that there is also an alternative approach to your usecase, which involves extending the metrics logging interface to support text-data.
Sacred currently implicitly tees the stdout roughly like this:

Except for the capture modes (none, sys, fd) this does not leave much room for customization.
So maybe we could just make that process more explicit and export some anchor points to the user. Something like this:

The endpoints termout, termerr, and capout could behave like regular file objects for writing. So you could do:
@ex.automain
def main(_run):
    print('only captured', file=sacred.capout)
    # equivalently: sacred.capout.write('only captured')
    print('only in terminal', file=sacred.termout)
    print('both')

You could even disable capturing of the regular stdout and thus only get the text you explicitly wrote to capout. I think this could be very convenient.
What do you think @JarnoRFB, @thequilo?
If we want to take this even further, instead of duplicating stdout and stderr we could have them emit logging records with a custom log-level for each complete line in these streams.
That way you could use the full power of the logging module for filtering, handling and formatting the capturing of stdout. I think this should also mostly cover your usecase @RonMcKay.
Disclaimer: There are still quite few things left to figure out here. Off the top of my mind:

interaction with file-descriptor based capturing is non-trivial at best
proper testing can be tricky
where to attach filters such as apply_linefeeds_and_backspaces?
stdout capturing is inherently thread unsafe. Not sure if there even is any way around that.
logging based capturing is going to be tricky, since we want to avoid endless loops of logging to stderr which emits a log record that is written to stderr, ...
maybe a list of log-entries would be a better way to capture the stdout in any case? that way we could have timestamps and extra information for the individual lines... :thinking:

I thought about extending the metrics logging interface but it didn't seem
like a natural fit to me. I like keeping metrics as just scalars things
that can be plotted. I'm using omniboard and I'm pretty sure a string
metric would mess that interface up.
The reason I liked using capout was because it could be changed without any
observer\interfaces change.
Of course there will probably be people that want to log strings and
capture output while training so maybe it's better to change it now...
If I were to add a string metric logging func, do you have any idea how to
do that while still allowing it to be seen in omniboard?
On Tue, Jul 16, 2019, 4:46 AM Klaus Greff<EMAIL_ADDRESS>wrote:

Hey,
after #504 https://github.com/IDSIA/sacred/issues/504 was posted, I
thought a bit about this general problem. I am going to hijack this issue
for a discussion of the general stdout capturing system in sacred.
But first I want to acknowledge that there is also an alternative approach
to your usecase, which involves extending the metrics logging interface to
support text-data.
Sacred currently implicitly tees the stdout roughly like this:
[image: current sacred stdout capturing]
https://user-images.githubusercontent.com/1160920/61290342-f3ae5900-a7cb-11e9-9f0a-cc970589c202.png
Except for the capture modes (none, sys, fd) this does not leave much room
for customization.
So maybe we could just make that process more explicit and export some
anchor points to the user. Something like this:
[image: making capture endpoints explicit]
https://user-images.githubusercontent.com/1160920/61290574-76371880-a7cc-11e9-99ef-458486fd485f.png
The endpoints termout, termerr, and capout could behave like regular file
objects for writing. So you could do:
@ex.automain
def main(_run):
print('only captured', file=sacred.capout)

# equivalently: sacred.capout.write('only captured')

print('only in terminal', file=sacred.termout)

print('both')

You could even disable capturing of the regular stdout and thus only get
the text you explicitly wrote to capout. I think this could be very
convenient.
What do you think @JarnoRFB https://github.com/JarnoRFB, @thequilo
https://github.com/thequilo?
If we want to take this even further, instead of duplicating stdout and
stderr we could have them emit logging records with a custom log-level
for each complete line in these streams.
That way you could use the full power of the logging module for filtering,
handling and formatting the capturing of stdout. I think this should also
mostly cover your usecase @RonMcKay https://github.com/RonMcKay.
Disclaimer: There are still quite few things left to figure out here. Off
the top of my mind:

interaction with file-descriptor based capturing is non-trivial at
best
proper testing can be tricky
where to attach filters such as apply_linefeeds_and_backspaces?
stdout capturing is inherently thread unsafe. Not sure if there even
is any way around that.
logging based capturing is going to be tricky, since we want to
avoid endless loops of logging to stderr which emits a log record that is
written to stderr, ...
maybe a list of log-entries would be a better way to capture the
stdout in any case? that way we could have timestamps and extra information
for the individual lines... 🤔

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IDSIA/sacred/issues/514?email_source=notifications&email_token=AFJXMH4REKGHVS7NM2WB3R3P7WYIZA5CNFSM4ID3XU32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2AS2CQ#issuecomment-511782154,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFJXMH65L7K7WFAWPWRPWW3P7WYIZANCNFSM4ID3XU3Q
.

@ablacklama I think log_scalar already silently supports logging of strings. However, how to reasonably display those would be the responsibility of omniboard and I am not sure if there is a way to reasonably display "string metrics".

I think the extension with termout, termerr and capout can be quite convenient and makes total sense to me. I actually don't know much about how the current capture system works. I guess that the captured out filters would then be applied to everything that goes to capout.
Emitting log messages for every line written to some output stream seems a little too much. And I'm not sure if splitting to individual lines would then be the correct way to go. Would it be better to create log records for each written message (e.g., each print, possibly multiple lines)? How would this then work? Would we overwrite print, log everything and let log write to stderr? Or would we log everything written to stdout and stderr (then individual lines)? Do we have multiple loggers for different out streams? Do the loggers only log to captured out or do they handle the complete output?
Yes, it would allow for very nice filtering and timestamping of all printed data, but if the user wants this kind of information he/she can directly use the logging interface. And if the user does not need it, this logging approach goes a little too deep for my taste. And btw it would probably totally screw up progressbars.
So from my point of view splitting into sacred.capout, sacred.termerr and sacred.termout makes sense, but the logging thing is too much. Maybe a less involved version that only annotates timestamps in the captured out could be a solution if you really want to have these annotations.