[HUDI-2370] Supports data encryption

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
Data security is becoming more and more important, if hudi can support encryption, it is very welcome

Specify column encryption
Support footer encryption
Custom encrypted client interface（Provide memory-based encryption client by default）
Specify the encryption key

When querying, you need to pass the relevant key or obtain query permission based on the client's encrypted interface. If it fails, the result cannot be returned.

When querying non-encrypted fields, the key is not passed, and the data is returned normally
When querying encrypted fields, the key is not passed and the data is not returned
When the encrypted field is queried, the key is passed, and the data is returned normally
When querying all fields, the key is not passed and no result is returned. If passed, the data returns normally

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot  run travis

@hudi-bot run azure

@hudi-bot run travis

Processing...

Hi @liujinhui1994 Can you share the use case or some documentation for this feature?

Hi Guys,
Only to know, this feature will work with spark and prestodb?
Thank you

https://issues.apache.org/jira/browse/HUDI-2370 @yanghua  Here are some discussions

@hudi-bot run azure

@hudi-bot run azure

@liujinhui1994 : how did your testing go. @vinothchandar : apart from parquet version upgrade, I also see that we are enabling vectorized reading by default in this patch. Just wanted to remind you just incase we need to watch out for something.

I tested and verified last week. After upgrading the parquet version, many unit tests and integration tests failed. I am still looking for a solution.

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@liujinhui1994 thanks for making this feature. As discussed, some suggestions on the next steps:
We'd like to see this gets into 0.10, but only without major parquet version upgrades. Understand you're using org.apache.parquet.crypto.* that only available from 1.12. Would it be possible to keep the feature in a separate module say hudi-security and make it useable only when people build Hudi with parquet 1.12? the main question here is whether building with parquet 1.12 makes other features work or not.
Kindly share with us any compatibility issues from your testings. cc @vinothchandar @nsivabalan

@liujinhui1994 @vinothchandar @nsivabalan as discussed, removing this feature from 0.10. Let's continue the collaboration on next release. thanks

@liujinhui1994 some high level feedback:

can you put some more info in the PR description to explain the high-level functionalities we want to add here?
parquet 1.12 is only used when hudi is built with spark 3.2. the encryption feature needs to be somehow guarded by checking the intended spark version. so we need to find a way to make the functionality only available when people using spark 3.2+

Point 1:  already added
Point 2: Is it possible to add a description to the InMemoryKMS annotation? Only allow spark3.2+ to use it, or if there is any other good suggestion please let me know

@liujinhui1994 per our discussions, some points here

hoodie.parquet.encryption.keys can be used as the switch. default to not set. if not set, then encryption feature is disabled. any parquet settings users provide will be ignored
If users enable encryption but hoodie.table.base.file.format is not parquet, there should be some warning to highlight it to the users
it'll be good to mark this as experimental feature. you can clarify this with more details (like why experimental) in the config's docs and related java classes' docs. Release notes will also highlight it.

@liujinhui1994根据我们的讨论，这里有几点

hoodie.parquet.encryption.keys可以用作开关。默认不设置。如果未设置，则禁用加密功能。用户提供的任何镶木地板设置都将被忽略
如果用户启用了加密但hoodie.table.base.file.format不是镶木地板，则应该有一些警告以向用户突出显示
将其标记为实验性功能会很好。您可以在配置的文档和相关的 java 类的文档中用更多的细节（比如为什么是实验性的）来澄清这一点。发行说明也将突出显示它。

@liujinhui1994 per our discussions, some points here

hoodie.parquet.encryption.keys can be used as the switch. default to not set. if not set, then encryption feature is disabled. any parquet settings users provide will be ignored
If users enable encryption but hoodie.table.base.file.format is not parquet, there should be some warning to highlight it to the users
it'll be good to mark this as experimental feature. you can clarify this with more details (like why experimental) in the config's docs and related java classes' docs. Release notes will also highlight it.

ok

@liujinhui1994 let's do #4051 instead. thanks

@liujinhui1994 let's do #4804 instead. thanks

ok


Improve writing result of OpenAlex search of doi and pmid

Solves issues 101 and 110. (I am not allowed to link them via the development, probably since the PR is not to the main branch)
Closes #101
Closes #110

I like the proposal for #110.
The proposal for #101 will have a side effect, which I'm still determining. In the current situation, the DOIs and PMIDs are always identical to the OpenAlex data after enrichment. In this proposal, this will no longer be the case (which can be confusing as for title search it will overwrite). It might be better to skip the update of the data when there is no OAID for a PMID.

I agree, will change the solution.

I updated the code so it does not overwrite for the None values.
It really feels like there should be a better way, but I did not really find it...
Any ideas that look better than this?
Or should we maybe change the current setup of openalex_work_by_id?

Changed the approach to keep the user input data rather than the pmid/doi provided by OpenAlex. We still retrieve those values later.
This simplifies the code.

For the reader: After merging this PR, the enrich script will no longer modify DOIs and PMIDs in the _ids files and will only be at an OA Work ID.

🎉


[APPM-811] Warning on 'Unable to find the throttle policy for role' when logging in via an IDP (Enterprise subscription)

Configure enterprise subscription. Enter the webapplication gateway URL on the browser. -Select the required IDP Specify login details. -The user is logged in but the following warning is given. Warning on 'Unable to find the throttle policy for role' when logging in using an IDP (Enterprise subscription)Reference: https://wso2.org/jira/browse/APPM-811

Not related to IoT server, Hence closing


Offload seeding, local peers, and torrent file saving

I would like to be a better swarm citizen and continue to seed to a normal value after watching a streamed torrent.
Suggestion one: Keep the torrent file in a location set by options, simular to the actual data option. Boolean option to save file immediately or after playback stops.  The user can configure their torrent client to pick up the torrent file, re-hashes the data left over from Pulsar and continues seeding to its intended amount.
Benefit of saving the torrent immediately: the local client can aid in the download process and grab pieces that are hard to find.  Pulsar will need to be configured to play nice with on LAN peers, currently I was not able to get it to talk the same way XBMCtorrent does (waiting for handshake).
Suggestion two: background seeding that is automatic for less technical users, and keeping swarms healthier.
Here is an example of what I have been doing: Pulsar/XBMCtorrent is struggling to max the connection upload and download due to peer limit or other settings, overall a crappy swarm. Having the local LAN seed box running in parallel allows difficult pieces to get double the processing, but resulting bandwidth gets shared. I just tested a popular but low seed to peer swarm, and it was impossible for Pulsar to stream it alone, despite my connection being able to support enough upload to ensure return download of needed pieces. I quit Pulsar, started up both XBMCtorrent and Vuze (with local peer injection and sequential turned on) loaded the same magnet link, Vuze automatically pulling down locally what little Pulsar had cached on the previous run. Vuze found the trouble pieces and supplied back to XBMCtorrent, no hiccups in video playback.

That's a good idea.
However, Pulsar already has LSD (Local Service Discovery) and should pick up your local server normally. Unless the pieces it wants are not available, of course.

I was not able to get it to work at all, repeatedly forcing Vuze to try to connect to the pulsar process on any of its listening ports (65251,4433,7000 via Peer injector plugin).  Always got "waiting for handshake".

Tried new version, still getting "waiting for handshake" when attempting to connect to Pulsar from local client.


System.Reactive 3.0.0 no longer has a net40 target.

Our RX based application runs on XP SP3 (no net45 support). RX version 2 supported net40 which has now been pulled from Nuget in favour of v3. Can we please add net40 as a target for RX v3 or at least publish RX v2 back to nuget using the new naming convention for RX. Our CI relies on Nuget (PAKET) to pull down dependencies so it's important we have this available on Nuget.

Hi @deapsquatter,
The Rx 2.2.5 packages are still on NuGet, but are hidden to prevent confusion. NuGet can still install/restore them if done explicitly.
We cannot push 2.x versions using the new naming scheme because the strong name changed and the packages are really not compatible.
.NET 4.0-4.5.1 is not supported anymore by Microsoft. The minimum supported version of .NET is 4.5.2.
Thanks


Code locks for too long causing spiderpool-controller to restart

Describe the version
version about:
spiderpool v0.0.4
Describe the bug
While running performance tests, I encountered an unexpected timeout, checked the components and found that kube-controller-manager-spider-control-plane, kube-scheduler-spider-control-plane, spiderpool-controller- 5c555ccbb8-pdqxs appeared to reboot, and got this failure log.
POTENTIAL DEADLOCK:
Previous place where the lock was grabbed
goroutine 229 lock 0xc00077e040

Additional context
Have been trying to lock it again for more than 3s
goroutine 229 lock 0xc00077e040
src/pkg/gcmanager/pod_cache.go:80 gcmanager.(*PodDatabase).ListAllPodEntries ??? <<<<<
src/vendor/github.com/sasha-s/go-deadlock/deadlock.go:137 go-deadlock.(*RWMutex).RLock ???
src/pkg/gcmanager/pod_cache.go:79 gcmanager.(*PodDatabase).ListAllPodEntries ???
src/pkg/gcmanager/tracePod_worker.go:26 gcmanager.(*SpiderGC).tracePodWorker ???

Add another logs in this case:
POTENTIAL DEADLOCK:
Previous place where the lock was grabbed
goroutine 229 lock 0xc00077e040
{"level":"ERROR","ts":"2022-07-13T09:13:56.883Z","logger":"IP-GarbageCollection","caller":"gcmanager/tracePod_worker.go:95","msg":"failed to release pool 'v6pool-1026-823358588' IPs '[{IP:fd00:714::d ContainerID:4d206af122548ddb709fd3a173986b2e4ecbaefd6ae72213dfb4566d5157f8fa}]' in wep 'ns1026-556327264/per1026-603853594-cc48d69b5-jdh5k', error: %!w(*url.Error=&{Put https://<IP_ADDRESS>:443/apis/spiderpool.spidernet.io/v1/ippools/v6pool-1026-823358588/status 0xc0002faa80})"}
{"level":"INFO","ts":"2022-07-13T09:13:56.884Z","logger":"IP-GarbageCollection","caller":"gcmanager/tracePod_worker.go:102","msg":"release IPPoolIP task '{PodName:per1026-603853594-cc48d69b5-jdh5k PodNamespace:ns1026-556327264}' successfully","IPPoolIP_Worker":0}
{"level":"ERROR","ts":"2022-07-13T09:13:56.911Z","logger":"IP-GarbageCollection","caller":"gcmanager/tracePod_worker.go:95","msg":"failed to release pool 'v4pool-1026-604529983' IPs '[{IP:<IP_ADDRESS> ContainerID:c80f2ca42d5ec00807e094dcac22d56591a8813a990e380e18d6bac59b1d29f8}]' in wep 'ns1026-556327264/per1026-603853594-cc48d69b5-nqpkm', error: %!w(*url.Error=&{Put https://<IP_ADDRESS>:443/apis/spiderpool.spidernet.io/v1/ippools/v4pool-1026-604529983/status 0xc0002faa80})"}
{"level":"DEBUG","ts":"2022-07-13T09:13:56.911Z","logger":"IP-GarbageCollection","caller":"gcmanager/tracePod_worker.go:86","msg":"pod 'ns1026-556327264/per1026-603853594-cc48d69b5-nqpkm used IPs '[{IP:fd00:714::37 ContainerID:c80f2ca42d5ec00807e094dcac22d56591a8813a990e380e18d6bac59b1d29f8}]' from pool 'v6pool-1026-823358588', begin to release","IPPoolIP_Worker":2}
{"level":"ERROR","ts":"2022-07-13T09:13:56.912Z","logger":"IP-GarbageCollection","caller":"gcmanager/tracePod_worker.go:95","msg":"failed to release pool 'v6pool-1026-823358588' IPs '[{IP:fd00:714::3c ContainerID:57f9a76cee2f1fa5eaf4bce03162c92b8d84ec2a1c698f26753397551c18b582}]' in wep 'ns1026-556327264/per1026-603853594-cc48d69b5-fbvks', error: %!w(*url.Error=&{Put https://<IP_ADDRESS>:443/apis/spiderpool.spidernet.io/v1/ippools/v6pool-1026-823358588/status 0xc0002faa80})"}

{"level":"INFO","ts":"2022-07-13T09:13:56.913Z","logger":"IP-GarbageCollection","caller":"gcmanager/tracePod_worker.go:102","msg":"release IPPoolIP task '{PodName:per1026-603853594-cc48d69b5-fbvks PodNamespace:ns1026-556327264}' successfully","IPPoolIP_Worker":1}

W0713 09:13:56.878252       1 reflector.go:442] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:152: watch of *v1.Pod ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0713 09:13:56.878633       1 reflector.go:442] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: watch of *v1.IPPool ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0713 09:13:56.879174       1 reflector.go:442] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:152: watch of *v1.Namespace ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding

W0713 09:13:56.885619       1 reflector.go:442] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:152: watch of *v1.Node ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding

W0713 09:13:56.912463       1 reflector.go:442] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: watch of *v1.WorkloadEndpoint ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding

W0713 09:13:56.912705       1 reflector.go:442] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:152: watch of *v1.ReservedIP ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding

src/pkg/gcmanager/pod_cache.go:80 gcmanager.(*PodDatabase).ListAllPodEntries ??? <<<<<
src/vendor/github.com/sasha-s/go-deadlock/deadlock.go:137 go-deadlock.(*RWMutex).RLock ???
src/pkg/gcmanager/pod_cache.go:79 gcmanager.(*PodDatabase).ListAllPodEntries ???
src/pkg/gcmanager/tracePod_worker.go:26 gcmanager.(*SpiderGC).tracePodWorker ???

https://github.com/spidernet-io/spiderpool/pull/477
I think this will be helpful.
If it occurs next time, let's reopen this issue.


Re.  note in DB.4th, "DEFINE UM* and UM/MOD"

Hi,
Not opening an issue, just a comment.
I got here through the Antic Atari 8-bit podcast "Are the Grandkids Listening?!". I've been working in APX Extended Fig-Forth for a while. I was looking through your code, and saw in DB.4th that you need implementations for UM* and UM/MOD. It just so happens I have implementations for both, but perhaps you've already been working on your own.
UM* is pretty simple (if I understand it correctly):
: UM* ( n1 n2 — d) M* DABS ;
I wrote up an implementation of SM/REM in Forth assembler. UM/MOD uses it. If you'd like, I can post the code for SM/REM and UM/MOD here in a comment.

I'm remembering now, I wrote SM/REM in assembler, but realized after I got it done that APX Forth already has it, but calls it M/. So, you can just write an alias for it:
: SM/REM M/ ;
(n2 = remainder n3 = quotient)
: UM/MOD ( d1 n1 — n2 n3)
SM/REM ABS ;
I've been meaning to put my Forth code on Github. The FP listing is rather lengthy, and I need to do more testing. I ported all of the FP functions from Turbo Basic. Plus, I've rewritten, and added FP comparison operators, mostly in assembly. I'll see what I can do.


Beta or newer Release stuck at Status Unknown and not working

Hi,
been using the newest versions 3.+ and not getting ember+ to work at all again. the module is Stuck at status unknown and not opening any connections settings etc.
since we are using this with Mediornet via Ember+ and VSM its kinda key for me to get it up again.
any ideas why this is happening ?

This should be fixed in build 5665

Still does say unknown in latest build

5665 hasnt finished building yet. itll be ready to try in 5-20 minutes.
are you on the experimental builds? dont use those.

oh tanks. would just be for testing no worries.

beta 5665 gives no errors anymore. need to test with mediornet to see my functions working or not - thanks for the fix :)


Typo in documentation for DocumentFilter

In the documentation for DocumentFilter, it is said that:

A language filter that applies to all package.json paths: { language: 'json', pattern: '**/project.json' }

Throughout the rest of the documentation, package.json is mentioned several times in examples, but project.json is only used in this example.
I'd imagine that "project.json" was a typo, which is intended to be "package.json".

Fixed by #25055


docs: typo on wiki

I noticed a couple of typos on the Wiki page: https://github.com/nvim-lualine/lualine.nvim/wiki/Plugins
peovide should be replaced with provide

Fixed. Thanks for pointing out.


in log4j-input, the "path" is not correct

i use
input {  log4j {} }
and:
output { stdout { codec => rubydebug } }
when my app prints something to the log, i see:
{
"message" => "",
"@version" => "1",
"@timestamp" => "2015-06-05T20:28:23.312Z",
"type" => "log4j",
"host" => "<IP_ADDRESS>:52083",
"path" => "com.ohadr.logs_provider.MyServlet",
"priority" => "INFO",
"logger_name" => "com.ohadr.logs_provider.MyServlet",
"thread" => "http-apr-8080-exec-3",
"class" => "?",
"file" => "?:?",
"method" => "?",
}
the issue is that the "path" field is wrong; AFAI understand, it should be the path of the file. instead, I get the same value as "logger_name". I need "path" to be the path-of-file, including the file-name, so this way i can distinguish between logs from different files.
How can it be fixed?
thanks!
in log4j.rb (https://github.com/logstash-plugins/logstash-input-log4j/blob/master/lib/logstash/inputs/log4j.rb):
event["path"] = log4j_obj.getLoggerName

Based on the code that is what you should get:
event["path"] = log4j_obj.getLoggerName
I'll look into log4j and see if it's possible to get the path over the weekend or next week and if it's possible will try and fix it.

After some testing, log4j doesn't provide the path to the file (not too surprising given the way that java works and the fact that the actual path would be a jar file).  However it does provide the location information filled out in class, file, and method (though you are getting the "Not Available" variable back which means it's not sending or not included for some reason.  I am getting this information on my system because I set it enabled, here is the property you need to set:
log4j.appender.{APPENDER}.LocationInfo=true

This plugin is deprecated for security reasons. More details, including a recommended alternative, available here: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-log4j.html#_deprecation_notice


CommandFailed when using conda_install while being offline, even if env is fully setup

As opposed to session.install, that continues to work nicely when no internet connection is present but all required packages are already installed, session.conda_install fails miserably.
session.conda_install('pip')
conda install --yes --prefix C:\_dev\python_ws\my_project\.nox\lint-3-7 pip
Command conda install --yes --prefix C:\_dev\python_ws\my_project\.nox\lint-3-7 pip failed with exit code 1:
Collecting package metadata (current_repodata.json): ...working... failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
    Traceback (most recent call last):
      File "C:\Miniconda3\lib\site-packages\urllib3\connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "C:\Miniconda3\lib\site-packages\urllib3\util\connection.py", line 61, in create_connection
        for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
      File "C:\Miniconda3\lib\socket.py", line 748, in getaddrinfo
        for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    socket.gaierror: [Errno 11001] getaddrinfo failed

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "C:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "C:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "C:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "C:\Miniconda3\lib\site-packages\urllib3\connection.py", line 334, in connect
        conn = self._new_conn()
      File "C:\Miniconda3\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x000001AD90D23F60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "C:\Miniconda3\lib\site-packages\requests\adapters.py", line 449, in send
        timeout=timeout
      File "C:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 760, in urlopen
        **response_kw
      File "C:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 760, in urlopen
        **response_kw
      File "C:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 760, in urlopen
        **response_kw
      File "C:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "C:\Miniconda3\lib\site-packages\urllib3\util\retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001AD90D23F60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "C:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 485, in fetch_repodata_remote_request
        timeout=timeout)
      File "C:\Miniconda3\lib\site-packages\requests\sessions.py", line 546, in get
        return self.request('GET', url, **kwargs)
      File "C:\Miniconda3\lib\site-packages\requests\sessions.py", line 533, in request
        resp = self.send(prep, **send_kwargs)
      File "C:\Miniconda3\lib\site-packages\requests\sessions.py", line 646, in send
        r = adapter.send(request, **kwargs)
      File "C:\Miniconda3\lib\site-packages\requests\adapters.py", line 516, in send
        raise ConnectionError(e, request=request)
    requests.exceptions.ConnectionError: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001AD90D23F60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "C:\Miniconda3\lib\site-packages\conda\exceptions.py", line 1078, in __call__
        return func(*args, **kwargs)
      File "C:\Miniconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
        exit_code = do_call(args, p)
      File "C:\Miniconda3\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
        exit_code = getattr(module, func_name)(args, parser)
      File "C:\Miniconda3\lib\site-packages\conda\cli\main_install.py", line 20, in execute
        install(args, parser, 'install')
      File "C:\Miniconda3\lib\site-packages\conda\cli\install.py", line 265, in install
        should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]),
      File "C:\Miniconda3\lib\site-packages\conda\core\solve.py", line 117, in solve_for_transaction
        should_retry_solve)
      File "C:\Miniconda3\lib\site-packages\conda\core\solve.py", line 158, in solve_for_diff
        force_remove, should_retry_solve)
      File "C:\Miniconda3\lib\site-packages\conda\core\solve.py", line 262, in solve_final_state
        ssc = self._collect_all_metadata(ssc)
      File "C:\Miniconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
        return f(*args, **kwds)
      File "C:\Miniconda3\lib\site-packages\conda\core\solve.py", line 415, in _collect_all_metadata
        index, r = self._prepare(prepared_specs)
      File "C:\Miniconda3\lib\site-packages\conda\core\solve.py", line 1004, in _prepare
        self.subdirs, prepared_specs, self._repodata_fn)
      File "C:\Miniconda3\lib\site-packages\conda\core\index.py", line 229, in get_reduced_index
        repodata_fn=repodata_fn)
      File "C:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 105, in query_all
        result = tuple(concat(executor.map(subdir_query, channel_urls)))
      File "C:\Miniconda3\lib\concurrent\futures\_base.py", line 586, in result_iterator
        yield fs.pop().result()
      File "C:\Miniconda3\lib\concurrent\futures\_base.py", line 432, in result
        return self.__get_result()
      File "C:\Miniconda3\lib\concurrent\futures\_base.py", line 384, in __get_result
        raise self._exception
      File "C:\Miniconda3\lib\concurrent\futures\thread.py", line 57, in run
        result = self.fn(*self.args, **self.kwargs)
      File "C:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 98, in <lambda>
        package_ref_or_match_spec))
      File "C:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 110, in query
        self.load()
      File "C:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 174, in load
        _internal_state = self._load()
      File "C:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 248, in _load
        repodata_fn=self.repodata_fn)
      File "C:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 581, in fetch_repodata_remote_request
        """) % maybe_unquote(repr(e))
      File "C:\Miniconda3\lib\site-packages\conda\common\url.py", line 368, in maybe_unquote
        return unquote_plus(remove_auth(url)) if url else url
      File "C:\Miniconda3\lib\site-packages\conda\common\url.py", line 372, in remove_auth
        url_parts = parse_url(url)._asdict()
      File "C:\Miniconda3\lib\site-packages\conda\_vendor\urllib3\util\url.py", line 196, in parse_url
        raise LocationParseError(url)
    conda._vendor.urllib3.exceptions.LocationParseError: Failed to parse: ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url:
`$ C:\Miniconda3\Scripts\conda-script.py install --yes --prefix C:\_dev\python_ws\my_project\.nox\lint-3-7 pip`
  environment variables:
                 CIO_TEST=<not set>
        CONDA_DEFAULT_ENV=tools_py37
                CONDA_EXE=C:\Miniconda3\condabin\..\Scripts\conda.exe
               CONDA_EXES="C:\Miniconda3\condabin\..\Scripts\conda.exe"
             CONDA_PREFIX=C:\Miniconda3\envs\tools_py37
    CONDA_PROMPT_MODIFIER=(tools_py37)
               CONDA_ROOT=C:\Miniconda3
              CONDA_SHLVL=1
                 HOMEPATH=\Users\(...)
                     PATH=C:\Miniconda3;(...)
             PSMODULEPATH=%ProgramFiles%\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPo
                          werShell\v1.0\Modules
  PYTHONDONTWRITEBYTECODE=1
         PYTHONIOENCODING=UTF-8
               PYTHONPATH=(...)
         PYTHONUNBUFFERED=1
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>
    VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
     active environment : tools_py37
    active env location : C:\Miniconda3\envs\tools_py37
            shell level : 1
       user config file : C:\Users\(...)\.condarc
 populated config files : C:\Users\(...)\.condarc
          conda version : 4.8.0
    conda-build version : not installed
         python version : 3.7.3.final.0
       virtual packages : __cuda=9.2
       base environment : C:\Miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Miniconda3\pkgs
                          C:\Users\(...)\.conda\pkgs
                          C:\Users\(...)\AppData\Local\conda\conda\pkgs
       envs directories : C:\Miniconda3\envs
                          C:\Users\(...)\.conda\envs
                          C:\Users\(...)\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.0 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.18362
          administrator : False
             netrc file : None
           offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
Upload did not complete.
Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_exec2.py", line 3, in Exec
    exec(exp, global_vars, local_vars)
  File "<input>", line 1, in <module>
  File "C:\_dev\python_ws\_Libs_OpenSource\nox\nox\sessions.py", line 327, in conda_install
    **kwargs
  File "C:\_dev\python_ws\_Libs_OpenSource\nox\nox\sessions.py", line 277, in _run
    return nox.command.run(args, env=env, paths=self.bin_paths, **kwargs)
  File "C:\_dev\python_ws\_Libs_OpenSource\nox\nox\command.py", line 125, in run
    raise CommandFailed("Returned code {}".format(return_code))
nox.command.CommandFailed: Returned code 1

This is of course a conda shortcoming but I think that we could easily solve this in conda_install by detecting when network is unavailable and adding the "--offline" flag when it is the case. I'll propose a PR.

One solution to detect that the conda host is there , inspired by this post
from socket import gethostbyname
import requests

def _is_connected(hostname, dns_only=False):
    try:
        host = gethostbyname(hostname)
        assert host is not None

        # Do not use this: not HTTP proxy compliant
        #   s = socket.create_connection((host, 80), 2)
        #   s.close()

        if not dns_only:
            code = requests.get("https://%s" % REMOTE_HOST).status_code
            assert code is not None

        return True
    except:
        pass

    return False

But I guess we can simply use the DNS host resolution part, as adding a dependency to requests in nox would be overkill, what do you think ?

Note that a less user-friendly alternative would be to propagate the flag into nox options, so that users wishing to execute a conda based session in an offline context could call nox --offline. This is not my preferred choice but I let you decide of course.


go-mockery: 2.20.2 -> 2.32.0

Description of changes
Upgrade go-mockery to the latest stable version. We must use proxyVendor due to mockery using Go workspaces.
Changelog: https://github.com/vektra/mockery/releases
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Hmmmm, I didn't get those pass through tests errors when running the tests locally. In fact, I got an error about the versions not matching due to the previous substituteInPlace code.

Tests should be working now. Turns out I didn't know how to run all the tests correctly :(


⚠ Bofrost.be has degraded performance

In a19ddea, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1308 ms

Resolved: Bofrost.be performance has improved in febd3a2 after 13 minutes.


added support for basePath; supports multiple routers

Added support for basePath.
Basic testing.
More loving.

https://yoursite.com/somepath/route1 is available as both:

https://yoursite.com/somepath/route1
https://yoursite.com/route1


SAM rotation

basic level 90 samurai rotation. This correctly performs thebalance's standard sam opener, excluding some shuffling of oGCDs which doesn't really matter since samurai is quite flexible.

I haven't implemented automatic AI retargeting or auto True North yet.

gonna change the branch name lol


Added WofButton

added a common button component
comes in different styles
has a named slot for an icon (but practically can work with anything)
changed the display attribute of WofIcon to display:flex because it wasn't behaving nicely otherwise
added two neutral colors to common.less (in line with definitions in Figma)
Closes #26

I was testing this out with the following code in app.js (after adding necessary imports)
<template>
  <main>
    <router-view msg="This is a basic frontend"></router-view>
    <div class="main-wrapper">
      <router-view msg="This is a basic frontend"></router-view>
      <wof-button type="accent">
        <template v-slot:icon>
        <wof-icon class="wof-like" />
        </template>
        An accent button
      </wof-button>
      <wof-button type="positive">
        <template v-slot:icon> <wof-icon class="wof-like"/> </template>
      </wof-button>
      <wof-button type="warning">A warning button</wof-button>
      <wof-button type="error">An error button</wof-button>
      <wof-button type="disabled">An error button</wof-button>
    </div>
    <wof-footer/>
  </main>
</template>


Agent trait

In addition to the Actor trait we need an Agent trait that has an Actor trait bound. This is the trait that end-users will implement; it will require the decide and update methods.

Implemented differently now, see #9


Adds instance IAM Role / Profile Name support

Allows Tio Patinhas to run instances with IAM Role.

LGTM


Page is ugly

The look of the website could be improved.
The first step is probably to implement a standard style site-wide #10

It's less ugly now


Do not test private repository for outside contributors

For outside contributors I gave up checking private repository case

LGTM :+1:


Cannot rehuse same hostname doing logout/login

Describe the bug
error 500 logged out and log in in (same or another pc)
I logged out from one pc, logged in from another, try to use
loophole http port --hostname xxxxxxxxxx same as before and give me a error 500
To Reproduce
Steps to reproduce the behavior:
log in (github account)
loophole http port --hostname xxxxxxxxxx
log out
log in (github account) in another pc
loophole http port --hostname xxxxxxxxxx
error 500 appears
log in (github account) in same pc
loophole http port --hostname xxxxxxxxxx
error 500 appears
Expected behavior
be able to use domain or a least a message telling me that cannot use same domain again...
Screenshots
Registering your domain... Error! Request Error (500): Internal server error - Something unexpected happened, please let developers know
11:05PM ERR Request ended with status code 500
11:05PM ERR Internal server error
11:05PM ERR Details: Something unexpected happened, please let developers know
11:05PM ERR Please fix the above issue and try again
11:05PM FTL Request Error (500): Internal server error - Something unexpected happened, please let developers know

Environment

OS: Windows 10
Version loophole-cli_1.0.0-beta.14_windows_64bit

Additional context
I not remember if I used github or google to login first time... now I logged in with github... can be that using different login, when try to use same domain give the 500 error?

Hello @FabianSilva, that's the main feature that you can reserve the domain name and re-use it later. I chcked the logs and we indeed are getting "Name already taken" errors. Maybe you e.g. first used google and then github to login? I can check and provide more information if you provide me with a domain or the user details (can be sent on our<EMAIL_ADDRESS>support email if you don't want to share the details publicly).
We consolidate the accounts only if they have the same email. If you google account and github account have different emails attached, you cannot use them to access the same reserved domain. Email is the main parameter taken into account here.

Beside the core of the problem: 500 is a temporary error caused by our API migration, normally you'd get correct "Name already taken" error, we'll restore proper error mapping when we're done with the migration.


unset https_proxy in covscan

empty value in jenkins evn is str null https://issues.jenkins.io/browse/JENKINS-43632

/lgtm


Pull empty repository

Steps to reproduce:
clone https://github.com/larshp/Empty.git
After cloning the "Pull" link appears:

Click "Pull"
Expected result: "Pull" link not shown

A bit tricky issue. That's because of .abapgit. It has no representation locally - generated each time, and has no item. So it is not stored to state. So has MM state (modified from both sides) and triggers Pull.
I think we should should just add .abapgit to state as an exception. At the end it is code-relevant in some way. Does it seems logical ? (can fix if yes)

I havent looked into the details, but adding .abapgit.xml to state sounds ok
TL;DR: yes

fixed .abapgit in local state.  But ! The issue didn't go completely.
Now because of foobar.txt - it is not ignored. And cannot be deserialized. So it always appear as a new file. But this time I think it is OK and not a bug. So if OK, I'll PR and close.

ok for now
will this also fix https://github.com/larshp/abapGit/issues/440 ?

440: on the first glance - no. But I'm not sure it related to caching, I didn't look much into .abapgit logic also.

retested, problem still exists,

tested ok, guess this was fixed a while ago with the local .abapgit.xml state


v0.1.24

Current dependencies on/for this PR:

main

PR #142   👈

This comment was auto-generated by Graphite.


Add Open in Kaggle badge

Add Kaggle Badge that allows for opening the .ipynb as a Kaggle Notebook as seen here https://www.kaggle.com/product-feedback/152480.

I tried running the notebook in Kaggle. It doesn't work. In particular, here's the errors that I got from running the first cell:
[Errno 2] No such file or directory: '/content'
/kaggle/working
Cloning into 'talking-head-anime-demo'...
fatal: unable to access 'https://github.com/pkhungurn/talking-head-anime-demo.git/': Could not resolve host: github.com
Have you been able to successfully run the notebook in Kaggle?

I haven't been able to run it successfully either, I'll close out the pull request


Capturing Request JSON Without Disable Direct Streaming?

in the NEST 6.x code we were able to 'capture' the requests without disabling direct streaming. We did this via the small extension method below and it seems to work well. We were able to use the captured JSON in postman to troubleshoot our queries. Now all we get is {} from the call. Is there a new way to do this without disabling direct streaming? Generally the IRequest passed is a SearchDescriptor.
Thanks in advance.
Extension method we were using:
public static string GetRequestAsJson(this IRequest request, IElasticClient client)
{
using (var stream = new MemoryStream(8192))
{
client.SourceSerializer.Serialize(request, stream);
return Encoding.UTF8.GetString(stream.ToArray());
}
}

A similar extension method can be used with 7.x; the serializer resolves type information differently however, such that the specific request interface must be used. For example
using Elasticsearch.Net;

public static class ExtensionMethods
{
	public static string GetRequestAsJson<TRequest>(this TRequest request, IElasticClient client)
		where TRequest : IRequest =>
		client.SourceSerializer.SerializeToString(request);
}

some examples
var client = new ElasticClient();

var request = new SearchRequest
{
	Query = new MatchAllQuery()
};

var json = request.GetRequestAsJson<ISearchRequest>(client); // <-- cast to ISearchRequest interface.

var putJobRequest = new PutJobDescriptor<object>("job_id")
	.Description("my ML job")
	.AnalysisConfig(a => a
		.BucketSpan("1m")
		.CategorizationFieldName("field1")
	)
	.ModelPlot(m => m
		.Enabled()
	);

var json = putJobRequest.GetRequestAsJson<IPutJobRequest>(client); // <-- cast to IPutJobRequest interface

Hope the information above helps @thollowell. I'm closing this issue.

Indeed it did.
Thanks Russ


memory leak with modal window

hi, I've read all the past issues and I see this has been fixed a while ago, but I am having this issues with v2.5
I've done some memory snapshots in chrome, and i see hundreds of detached modal windows starting with following markup:
<div class="modal app-modal-window fade ng-scope ng-isolate-scope" role="dialog" style="z-index: 1050; display: block;" tabindex="-1">

here is my open/close logic:
$uibModal.open({
            templateUrl: '...',
            controller: controllerName,
            windowClass: 'app-modal-window',
            controllerAs: 'vm',
            resolve: {
                position: position,
                screenConfig: () => screenConfig // need this otherwise DI kicks in on strings..
            },
            size: 'lg'
        }).result;

close:
this.$uibModalInstance.close();

is there a way to properly dispose them?
The other option is that within the modal, something gets assigned that links to angular scope/controller and that link is not being released? although i went through the code and don't see anything obvious so far.
 * angular-ui-bootstrap
 * http://angular-ui.github.io/bootstrap/
 * Version: 2.5.0 - 2017-01-28

I am having this issue as well, on a much earlier version. It appears to be a flaw by design of angular dart, and have found no solutions as of yet.

I have the same problem in our app.
So, I tried in the https://angular-ui.github.io/bootstrap/#!#modal
After opening and closing the modal, that is what I see:

Clearly we can see increasing Nodes and Listeners

I think it comes down to the code running in the window.
but if you find any bugs with the Modal UI that would be a bonus :)
you have to ensure that the model can be disposed when the window is closed. If some of your objects have root links, those objects will not be disposed.
i've been going through code and removing any suspect code that could introduce links like events with no unsubscribe, timers, writing to console window etc.. more common pitfalls here:
https://makandracards.com/makandra/31289-how-to-create-giant-memory-leaks-in-angularjs

Which version of angularjs do you use while facing this issue?

We've been having memory leaks on an Angular 1.5.11 application, and I think I've narrowed it down to being the Modal.
This recording was taken on the docs website, by just opening & closing the modal ~20 times. Looks like something is preventing listeners/DOM nodes from being cleaned up:

I have the same issue that will be occur when clicking on the link or button with call function on the components

I have the same issue with version 1.3.2 and angular 1.5.5.
I found that the memory leak was due to the following code:
$compile(backdropDomEl)(backdropScope);
$animate.enter(backdropDomEl, appendToElement);
...

$animate.enter($compile(angularDomEl)(modal.scope), appendToElement);

$animate.enter creates a key in an internal map (activeAnimationsLookup):

key = domElement.$$hashKey (generated by angular)
value = structure containing a reference to a jqlite object wrapping the domElement

$compile will compile the element 'asynchronously' (so after $animate.enter).
So angular will change the domElement INSIDE the jqlite wrapper with a new $$hashKey!
=> that's why $animate is not enable to clear its internal map because the $$hashKey has changed...
So to fix the memory leak, I changed this code to remove the animation:
   $compile(backdropDomEl)(backdropScope);
   // $animate.enter(backdropDomEl, appendToElement);
   appendToElement.prepend(backdropDomEl);
  ...
   // $animate.enter($compile(angularDomEl)(modal.scope), appendToElement);
   appendToElement.prepend($compile(angularDomEl)(modal.scope));

Doing this, I loose a css animation (not used in my project) but the main animation of the modal is still working.
I saw that this code is still present in the current version of angular bootstrap so maybe your memory leak has the same cause.
Hope this helps.


[CI] Expose Vivado build logs as artifacts

When Vivado fails, the info on stdout is not useful. It would be good to expose the more detailed log files as artifacts for people to review. The fact this is probably reliant on having access to the Azure org makes it a bit inconvenient, but there may be other options (e.g. scp to bubble.servers.lowrisc.org/ci_artifacts/prNNN/).
From @imphil on zulip:

Philipp Wagner: yes, Vivado doesn't output synthesis results on stdout (it does output implementation results ...) You need to look into the *.runs/synth_1/runme.log file. This and other *.rpt files from the impl_1 and synth_1 directories should be available as artifacts, otherwise debugging is almost impossible

Philipp Wagner: This is what we do for optimsoc: https://github.com/optimsoc/optimsoc-autobuild/blob/master/.gitlab-ci.yml#L130-L133

@imphil has this been addressed by now?

Yes


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

@samdark Since when Yii CS rules looks like that? Does Yii 3 has different CS rules than Yii 2?

Also: https://github.com/yiisoft/mutex/commit/8fb0bfbe1dbaec1f01aa96362c1517549510b054

and https://github.com/yiisoft/mutex-file/commit/6acc68f1bac3d1a485cff16ffea194c4ff8f7a13 (had to ignore a rule for tests/bootstrap.php)

https://github.com/yiisoft/yii-core/blob/master/.styleci.yml should be in the repo.


Bottom Section Issues

Overview of Problem:

[x] Remove extra 3 social media icons on the left. Replace with date box from top of page

[x] “Our Team” should not turn white and bump up. Give it the same look/function as “Apply” and    “Sponsor” at the top of the website

[ ] Shrink this entire section. There is no need for the skyline to be so big

[x] Bottom of page: change white strip to a pink stripe with white text

are the checked to-do's finished? can you send a pull request?


Newsletters: add #14 (2018-09-25)

[ ] Maybe add Dashboard Items section @moneyball

Had a quick skim. As usual, this looks great. Will fully review tonight.

utACK

Looks good to me. One question though: is there anything preventing us from linking to the c-lightning PRs?

Same thing as before:

You'll note there's no merges linked for C-lightning. That's because they apparently don't believe in merges [...] and they don't link issues or PR numbers anywhere in their commit log

weird!

The commit log has commit ids, of course, and I linked them sometimes early on.  Alas, changes are often split across multiple commits and sometimes it's not even clear which commit a set of change starts on and which it ends on.
Just in case it's not clear what I'm saying, here's git log --graph --oneline for both Bitcoin Core and C-Lightning master:

Same thing as before:

...

I knew you'd told me this before, but I couldn't find it. I see that you've now found a way to link to the c-lightning PRs from newsletter 15. Thanks!


Inconsistent HTTP headers name

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Multiple articles.
What part(s) of the article would you like to see updated?
There are occurrences where HTTP headers X-GitHub- are written as X-Github-.
There are also two HTTP mentioned, which don't have the X- prefix (e.g. here):

Github-Public-Key-Identifier
Github-Public-Key-Signature

Additional information
I can provide a PR with fixes.

In the provided PR I fixed only the X-GitHub- headers. I was unsure if the headers Github-Public-Key-Identifier and Github-Public-Key-Signature should be fixed as well.

@akordowski Thank you for catching this inconsistency! ✨
Just in case, I'll put this up for review by the team so we can confirm there aren't any negative downstream effects of updating the Github-Public-Key-Identifier, Github-Public-Key-Identifier, or Github-Public-Key-Signature headers.
Will also be good to just have the team's visibility on this inconsistency as well 💛

extensibility PR here https://github.com/github/copilot-api/pull/7787
please note that merging this in will cause significant friction for builders since they will have to update the expected header (albeit, i still think we should make this change to have consistency with the rest of the company)
another note: these copilot extensibility related docs need to updated with this change so that our official docs are accurate

@belaltaher8 Thank you for the review here! ✨
@akordowski Given the downstream effects of updating these headers, I'll need to file an issue internally to have this reviewed further and close this issue 💛 Thank you again so much for raising a flag on this!


Set up minimal CI for testing deployment

Currently, we are only linting the code base (Python and Node.js), but we should also try to 'boot up' a lexonomy instance.

@gareins said in https://github.com/elexis-eu/lexonomy/issues/133#issuecomment-501172990

first, check if LEXONOMY_SITECONFIG is defined as environment variable
$ [[ -v LEXONOMY_SITECONFIG ]]; echo $?
Let's say its not defined (there is 1 in stdout). Next, check if "./siteconfig.json" is proper ascii file:
$ file ./siteconfig.json
If it says it is utf-8, then you could change that line to force utf-8 decode:

configfile = os.environ.get("LEXONOMY_SITECONFIG", "siteconfig.json")
json.loads(open(configfile, 'rb').read().decode('utf8'))

Although this should be the default by my pythonic standards, but here you get a strange ascii decode error, so try this.

oops, wrong reference!


Error running netlify dev

Describe the bug
The command told me to report the error.
TypeError: res.writeHead is not a function
at ProxyServer. (file:///home/kfoubert/source/wsfec-website/node_modules/netlify-cli/dist/utils/proxy.js:381:13)
at ProxyServer.emit (/home/kfoubert/source/wsfec-website/node_modules/netlify-cli/node_modules/eventemitter3/index.js:204:33)
at ClientRequest.onOutgoingError (/home/kfoubert/source/wsfec-website/node_modules/netlify-cli/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:157:16)
at ClientRequest.emit (node:events:514:28)
at ClientRequest.emit (node:domain:489:12)
at Socket.socketOnEnd (node:_http_client:519:9)
at Socket.emit (node:events:526:35)
at Socket.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1376:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (3) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Binaries:
Node: 20.6.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 10.5.2 - /usr/local/bin/npm
Steps to reproduce
simply ran npm run netlify dev
Configuration
[build]
command = "lando npm run build"
publish = "public"
[dev]
command = "lando npm run develop"
Environment
System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (3) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Memory: 4.06 GB / 7.76 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 20.6.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 10.5.2 - /usr/local/bin/npm
pnpm: 9.7.1 - /mnt/c/Users/kfoub/AppData/Roaming/npm/pnpm
npmPackages:
netlify-cli: ^17.34.1 => 17.34.1

Similar to
https://github.com/netlify/cli/issues/6773

Not I logged out and back in again and it worked.


Close #284, #307; supersede #285, #278, #308

The proper way to do subprocess I/O is to do less.
PS: I'm unsure if this project is still alive, but maybe someone else someday will find this useful.

Also closes #290


Props rendering to DOM

In a new project I am seeing some props rendering to the DOM for Box and a few other components.
For Box, color and width render to the DOM.  w functions identically to width but is correctly never rendered to the DOM.
This behavior can be seen in the following example, where both color and width will render to the first div, and only color renders to the second.
import React, { Component } from 'react';
import {Flex, Box} from 'rebass'
import styled from 'styled-components';

const TestBox = styled(Box).attrs({
    w: 1,
    p: 3,
    color: 'white',
    bg: 'green'
})`

`;
export default () => (
    <Flex flexDirection='column'>
        <Box
            width={1/2}
            bg='red'
            p={3}
            color='white'
        >This box has props passed in directly</Box>
        <TestBox>This box extended via .attrs()</TestBox>
    </Flex>
)

<EMAIL_ADDRESS>  version "3.0.1"
  resolved "https://registry.yarnpkg.com/rebass/-/rebass-3.0.1.tgz#140230f4e4eceaf7adb682bcf380ceb0fff82d2f"
  integrity sha512-IiETPunFNc3zoZoHpDsCS2Gk+OvTF6tDOSBeZzDSk9d2RMg/5DeRaXgnXnaYm+4XY1tcj7iV3psURqWpIcSdtg==
  dependencies:
    styled-system "^3.2.1"

<EMAIL_ADDRESS>  version "3.2.1"
  resolved "https://registry.yarnpkg.com/styled-system/-/styled-system-3.2.1.tgz#491e1e6f88d7ee021f6f49376f12852cde8007cb"
  integrity sha512-ag0Yp7UeVHHc3t+1uM3jvlljaZYzwqpbJ8hMrFvpaKfUd8xsB9JeQXLwMpEsz8iLx8Lz/+9j0coWFZjmw8MogQ==
  dependencies:
    "@babel/runtime" "^7.1.2"
    prop-types "^15.6.2"

<EMAIL_ADDRESS>  version "4.1.3"
  resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.1.3.tgz#4472447208e618b57e84deaaeb6acd34a5e0fe9b"
  integrity sha512-0quV4KnSfvq5iMtT0RzpMGl/Dg3XIxIxOl9eJpiqiq4SrAmR1l1DLzNpMzoy3DyzdXVDMJS2HzROnXscWA3SEw==
  dependencies:
    "@babel/helper-module-imports" "^7.0.0"
    "@emotion/is-prop-valid" "^0.7.3"
    "@emotion/unitless" "^0.7.0"
    babel-plugin-styled-components ">= 1"
    css-to-react-native "^2.2.2"
    memoize-one "^4.0.0"
    prop-types "^15.5.4"
    react-is "^16.6.0"
    stylis "^3.5.0"
    stylis-rule-sheet "^0.0.10"
    supports-color "^5.5.0"

I'm seeing similar behavior with fontSize and fontFamily on the Text component.

This is an issue with styled-components, see https://github.com/styled-components/styled-components/issues/439

For those that stumble across this issue looking for a workaround, https://github.com/styled-components/styled-components/pull/2093#issuecomment-461510706 is working well for me.


[5.1] Update SqlServerGrammer to support microseconds

Taylor Requested a Pull Request to fix #1756
In short, this improves functionality but does not solve all problems.
Long Version:
This causes microsecond characters from SQL Server to be brought in.  This works for datetime fields which have 3 digits.  The old code assumed microseconds would be 0.  This code preserves them and doesn't break if they aren't 0.
This code, however, still does not work for datetime2 fields which have 7 digits of microseconds (or whatever a 7 digit second part is called) because PHP only supports 6 digits of precision.  I'm not sure how to have it ignore the last character without introducing extra symbols into the output date format.  For input Y-m-d H:i:s.u+ works to ignore the last digit, but that introduces an unneeded + in output since the same format is used for input and output conversion.  Laravel creates datetime fields from eloquent so that reduces this issue, but datetime2 is the proper sql server field to use so people may run into it later.)
(Probably also referenced by: https://github.com/briannesbitt/Carbon/issues/331)

This would break existing applications.

Can you explain how it would break them?  Is there any clean way to override this (ie not editing vendor files)?  Our laravel app access a backend sql app which means there are datetimes like 2015-03-11 13:02:34.830 stored in the database which blows up as eloquent tries to convert them.

Edit: Nevermind, I guess I just have to disable all conversions of created_at/updated_at.  We have a SQL job which updates them and sets microseconds eg 2015-03-11 13:02:34.830 so Carbon explodes trying to convert the format.
Is there anyway to only override the import format?

Anyone figured out overriding the import format?

Anyone figured out overriding the import format?

For people who are looking into this and see this as their top google result:
make sure sql server creates datetime fields as datetime(3).
Then set the format in SqlServerGrammar to 'Y-m-d H:i:s.u'
This works fine for old database fields, when they are converted to datetime2(3) and for future fields.
Only thing is, inserting a .u variable in a classic datetime field will error out in the database because it tries to insert up to .000000 six digits.
So either modify those fields to datetime2, or set the getDateFormat in the modal to .000


SyncProducer batch support

Provide a SyncProducer.SendMessages method which produces a given batch of
messages (though does not guarantee they will end up in a single batch on the
wire).
Fixes #674
@tadbook @JasonRosenberg cc @wvanbergen

Thanks!


Make Pipeline task name available in Task/ClusterTask

The pipeline task name set in the pipeline definition should be made available in the task as internal param or env variable (or in some other way) during execution. The steps/sidecar in the task should be able to use the pipeline task name which could be useful logging/tracing/debugging purposes.
tasks:
  - name: build-the-image
    taskRef:
      name: build-push

In the above example pipeline task name is build-the-image, but it invokes the task build-push. If certain contextual info such as the pipeline task name, pipeline name etc is made available in the task build-push , this will be helpful in understanding the context in which this task was executed (in our case, the same task is executed multiple times in a pipeline to perform same activities for different set of artifacts).
For eg. build-push task will be used to push ui-app image as well api-server image.

This may have been somewhat solved by #1522 (thanks @R2wenD2 !)
You can now access variables like the pipelinerun name and the pipelinename in the pipeline - to make these available to a Task/ClusterTask it could declare them as params.


Line has no descriptive tags

URL
https://www.openstreetmap.org/edit?editor=id#map=19/53.986065/-1.049651
How to reproduce the issue?
In the real world, something has been removed.  It still exists in imagery.  Naturally, I want to remove it from OSM, but I also want to leave something on that geometry so that armchair mappers don't "just add it back".  An attempt to do this via a note tag results in an "error" (see below).  In order to complete the edit I need to add some other nonsensical tags and remove them in another editor.
What should happen instead is that a "note" tag on its own should be valid, rather than having to add some garbage and remove it with another editor.  See e.g. https://www.openstreetmap.org/way/1313248451/history
Screenshot(s) or anything else?

Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
2.30.2
Which browsers are you seeing this problem on?
Firefox

I think the idea behind this warning is to encourage you to use was:highway=footway or some other lifecycle prefix, right?
The message is just not very helpful....

Exactly. Every element should have tags, even with disused:, abandoned: or was: prefixes.

Really? What would be appropriate for https://www.openstreetmap.org/way/637258230#map=15/54.35869/-0.94564 ?

not:highway=path :]
https://wiki.openstreetmap.org/wiki/Key:not:*


Get certificate extensions/attributes natively through Get-PendingRequest

Submitting an enhancement request to pull attributes and extensions of pending certificate requests in the Get-PendingRequest (and similar cmdlets if they exist).
I found #82 , where someone had a question on the matter, but the workaround seems pretty convoluted.  Would be grateful if this could just be built into the cmdlet above.

Sorry, there are no current plans to implement this. Provided workaround seems to be sufficient. This is not very critical issue.

With all due respect, that is a terrible point of view and response.  No one declared criticality.  It's just a suggestion to make your tool more user friendly to the people you supposedly built them for.
Developer:  Let me make a cool toolset, including a cmdlet to get pending certificate requests.
User:  Can you pull needed data from said pending requests?
Developer:  No sorry.  Use a completely different cmdlet as well as a few other functions to decode the data and figure it out yourself unless you can find the suggestion buried in some Github issue tracker.
User:  I'd like to submit a feature request for this to simply be built into the cmdlet supposedly made for this purpose to make it easier for normal users.
Developer:  No.  Feature request denied.
Thanks for ensuring neither me, or any company I work for, will ever purchase services or products from PKI Solutions.  Good job.

I was merely making a feature request/suggestion to make your tool more user friendly to the people you supposedly built them for.

I appreciate your interest and efforts in this feature request. We are reviewing every feature request and triage them, so they fit the overal concept of the tool and evaluate required efforts to implement them comparing to return benefits. This particular request has lots of unknowns for us, has performance and reliability questions, while we have lots of items with higher priority.
The tool is primarily a framework which includes individual commands to cover most common use cases. We can't provide individual commands to cover every use case and if there is no cmdlet for your task, we suggest to explore alternatives, such using APIs like it was suggested in #82 . Sorry, we can't make happy everyone.

flatly shutting it down

it is not shut down, it is still open. We re-evaluate each open case during each release cycle and if we find that particular issue makes more sense and/or we have an ability to fix this, we put the issue into development. There is a chance that we return to this in future, though, not at this point.

Thanks for the reply.  I somewhat understand where you're coming from, but I guess I don't understand certain points.
I'm no Powershell developer so forgive me, but I just assumed that all cmdlets are basically wrappers built around a variety of functions/api calls and that the proposed workaround could simply be baked into this one.  If it's not that simple, then forgive my assumption.
Ultimately it's not about making everyone happy.  It's getting use out of tools.  I searched for and ran across your tools to help me better manage my MS CA from an automation standpoint.  Get-PendingRequests is great, in theory, but does me absolutely no good if it cannot get me the information from said pending requests.  I would assume what I'm trying to do is a pretty common use case, as why would anyone want to get Pending Requests, if not to ascertain information contained therein?  Maybe I'm extremely shortsighted.
As far as shutting the request down, perhaps I'm just confused on the label of "won't fix", which insinuates this will never be up for consideration and it is only a matter of time before this issue is simply closed.  Perhaps this is just me not understanding the development lifecycle and/or Github process.

I am simply making a suggestion to enhance your tool.

and we appreciate this!
However, every suggestion goes through triage process. We evaluate many aspects of each suggestion, like our ability to conveniently implement this, estimate efforts, use case and scenario coverage, best practices compliance, performance hit and so on. At this point, your request failed to pass several steps, thus labeled "won't fix". If the item is still open, then it will be put to future consideration. If we decide that it never will be done, it is closed. We received your feedback and will review labeling process to make it more clear.

if it doesn't do what I would consider basic tasks, such as get all the needed properties a CA admin would need from said pending requests, then the cmdlet is pretty light, in its usefulness.

we understand your concern, but we need to consider a lot of hidden obstacles in designing and implementation, including underlying API limitations.


SCIP 8.0 support?!

When do you plan to provide support to SCIP 8.0?!

The issue tracking this is https://github.com/scipopt/SCIP.jl/issues/202
The branch interface-scip8 should already work, even though tests are still failing. Please give it a try and let us know!


julia 0.4 --> 0.5

Hi @kbarbary -- I made a fork of WCS.jl that gets rid of the latest deprecated warning from Julia 0.5. It isn't backward compatible with 0.4 but I thought I'd submit the PR in case you wanted to merge it anyway.  (Presumably users still on 0.4 would fetch the latest tagged version that's compatible with their version of Julia if they do Pkg.add("WCS"). )

Why not using Compat.jl instead of dropping support for Julia 0.4 that is still the current stable version of Julia?

I tried with Compat, but I wasn't able to make one of the Array{String}
variables compatible with an Array{ByteString}.
On Thu, Jul 21, 2016, 3:34 AM Mosè Giordano<EMAIL_ADDRESS>wrote:

Why not using Compat.jl https://github.com/JuliaLang/Compat.jl instead
of dropping support for Julia 0.4 that is still the current stable version
of Julia?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaAstro/WCS.jl/pull/3#issuecomment-234217335, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIieCzj5w0BTbVDTebP0_KcZpHmUB7MEks5qX0spgaJpZM4JRX19
.

Thanks Jeff! I'm sure there is a way to make it work on both versions, perhaps using raw if VERSION >= 0.5.0-dev+???? ... else ... end.
That said, I'm fine with just dropping support for v0.4 in the dev version of WCS. It's not like we're rapidly adding new features to WCS that should be backported to support v0.4. The only downside is that if we do this, we should backport any bugfixes to a WCS v0.1.x release branch for a while.

You can use Compat.ASCIIString. Why is this package defining Base.convert between Base types? That means you change the behavior of other code depending on whether or not this package is loaded, which is really poor form to do. You can extend Base methods on types defined in the package, but extending Base methods on Base types shouldn't be done by packages.

@tkelman I hadn't thought of that repercussion. My simple thinking was that I wanted functionality that falls under the description of Base.convert, so it seemed like it made sense to add a method to that function. Didn't think about the difference between Base types and types in the module.
Do you know if this point is emphasized in the Julia docs somewhere?

Has been any discussion of changing Julia, to disallow overriding methods
whose argument types are all defined in other modules? (Are there any
situations where that behavior would be useful?)
On Sat, Jul 23, 2016, 2:17 PM Kyle Barbary<EMAIL_ADDRESS>wrote:

@tkelman https://github.com/tkelman I hadn't thought of that
repercussion. My simple thinking was that I wanted functionality that falls
under the description of Base.convert, so it seemed like it made sense to
add a method to that function. Didn't think about the difference between
Base types and types in the module.
Do you know if this point is emphasized in the Julia docs somewhere?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaAstro/WCS.jl/pull/3#issuecomment-234740928, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIieC3IDB5Eqp_SvQeIHvfmXei2HLNQoks5qYoTOgaJpZM4JRX19
.

for nefarious purposes, or wanting to change things at the REPL perhaps. I'm not sure if the base language can warn for this, but it should go into a linter if Lint.jl doesn't already check for it.

Do either of you see why the tests don't pass on a mac? It's something about the changes to build.jl. I don't have a mac though so it's hard to figure out.
The error on travis is
LoadError: File AbstractString["/Users/travis/.julia/v0.4/WCS/deps/usr/lib/libwcs.so.5.13"] was not created successfully (Tried to run BinDeps.SynchronousStepCollection(Any[`./configure --prefix=/Users/travis/.julia/v0.4/WCS/deps/usr --disable-fortran --without-cfitsio --without-pgplot --disable-utils`,`make install`,`ln -s /Users/travis/.julia/v0.4/WCS/deps/usr/lib/libwcs.5.dylib /Users/travis/.julia/v0.4/WCS/deps/usr/lib/libwcs.dylib`],"","") )
while loading /Users/travis/.julia/v0.4/WCS/deps/build.jl, in expression starting on line 39

Passing, at last!

@kbarbary  -- When you have a chance, would you tag a new version for this PR? I'd like Pkg.resolve("Celeste") to find the a version of WCS.jl that works well with Julia 0.5. Thanks!

LGTM, merging. I'll fix the overloading of Base.convert that Tony brought up in a separate PR.


NuGet project does not load in VS.2017

Downloaded and opened it in vs.2017 but the NuGet project fails to load. It says it is not recognized.

I have updated the code for .net6.
Please try the new version and reopen this issue if it still exists.


words like agnostic have no place in a technical document

Please stop using words that you misinterpret one meaning for another that have no contextual meaning to the given subject under discussion. Crystal Clear English at all times.

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

ID: 27c7fb99-4e21-0e7b-86dd-482b2e7ef52e
Version Independent ID: a3d9d1d1-7a8d-07b7-a0e4-7b2e0c107f31
Content: Visual Layer - UWP app developer
Content Source: windows-apps-src/composition/visual-layer.md
Product: windows
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Looks correct to me.
https://www.google.com/search?q=agnostic&oq=agnostic  (similar usage on dictionary.com)
adjective
adjective: agnostic
1.
relating to agnostics or agnosticism.
synonyms:	skeptic, doubter, doubting Thomas, cynic; More
antonyms:	believer, theist
(in a nonreligious context) having a doubtful or noncommittal attitude toward something.
"until now I've been fairly agnostic about electoral reform"
COMPUTING
denoting or relating to hardware or software that is compatible with many types of platforms or operating systems.
"many common file formats (JPEG, MP3, etc.) are platform-agnostic"


docs: Insight.on is not supported

Codecov Report

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

@@          Coverage Diff          @@
##           master   #584   +/-   ##
=====================================
  Coverage      65%    65%
=====================================
  Files          37     37
  Lines        3212   3212
=====================================
  Hits         2088   2088
  Misses       1124   1124

Impacted Files
Coverage Δ

src/insight.js
31.03% <ø> (ø)
:arrow_up:

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 8db5010...cff985f. Read the comment docs.


jenkins/agent:latest-windows not found

Hi
I would like to use the jenkins agent slave for Windows but when perfoming
docker pull jenkins/agent:latest-windows

I get
Error response from daemon: manifest for jenkins/agent:latest-windows not found: manifest unknown: manifest unknown
How can I get the right image for Windows?
Can you help me with it?
Alberto

I believe this is a documentation issue. We should not have listed production images and ongoing unreleased prototypes in the sane list. CC @slide

Hi Oleg
Thanks for your info
Can you point out which is the image I need to use and how to use it?
I have used the
jenkins4eval/remoting:latest-windows

but when I run
docker run --rm -it jenkins4eval/remoting:latest-windows powershell

I get
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: container 7bedc2877df4e3eff736d713e6177997e30acd2f92cac1b0d79260f7c34e3442 encountered an error during CreateProcess: failure in a Windows system call: The password for this account has expired. (0x532)
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail: onecore\vm\compute\management\orchestration\vmhostedcontainer\processmanagement.cpp(173)\vmcomputeagent.exe!00007FF7E5879D2B: (caller: 00007FF7E582E13A) Exception(6) tid(380) 80070532 The password for this account has expired.
    CallContext:[\Bridge_ProcessMessage\VmHostedContainer_ExecuteProcess]
 Provider: 00000000-0000-0000-0000-000000000000] extra info: {"CommandLine":"powershell","User":"jenkins","WorkingDirectory":"C:\\Users\\jenkins\\Jenkins","Environment":{"AGENT_WORKDIR":"C:/Users/jenkins/Jenkins/Agent","JAVA_BASE_URL":"https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u212-b04/OpenJDK8U-","JAVA_HOME":"C:\\openjdk-8","JAVA_URL_VERSION":"8u212b04","JAVA_VERSION":"8u212-b04"},"EmulateConsole":true,"CreateStdInPipe":true,"CreateStdOutPipe":true,"ConsoleSize":[69,226]}.

Can you help me with it?
Thanks
Alberto

Agreed, I should have put jenkins4eval since that is where the image is located.
Do you have a jenkins user on the host system?

See https://github.com/jenkinsci/docker-slave/pull/86

@slide No I don´t have a jenkins user
Can you point out which are the steps to be able to use the jenkins4eval image?

Sorry i have hit the Close button :-)

Hi
Just info if someone is having the same issue
I can manage to run the image jenkins4eval/remoting:latest-windows rebuilding the image.
It seems that when we create the user inside the docker image the password expiring date is set
So what I have done is:

rebuild the image locally with

docker build -t jenkinsagent_baseimage:0.1.0 .

run the

docker run -it -v c:\tmp\JenkinsAgent\Agent:C:/Users/jenkins/Jenkins/Agent -v c:\tmp\JenkinsAgent\.jenkins:C:/Users/jenkins/Jenkins/.jenkins jenkinsagent_baseimage:0.1.0 powershell

When inside the container run

net user jenkins

and get
PS C:\Users\jenkins\Jenkins> net user jenkins
User name                    jenkins
Full Name
Comment
User's comment
Country/region code          000 (System Default)
Account active               Yes
Account expires              Never

Password last set            9/25/2019 1:46:21 PM
Password expires             11/6/2019 1:46:21 PM
Password changeable          9/25/2019 1:46:21 PM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   9/25/2019 2:37:53 PM

Logon hours allowed          All

Local Group Memberships      *Users
Global Group memberships     *None
The command completed successfully.

So we can see that password exipires   11/6/2019 1:46:21 PM
4)Now I have  built the image again adding
RUN Set-LocalUser -Name "$env:user" -PasswordNeverExpires $true

and now when I run the container with
docker run -it -v c:\tmp\JenkinsAgent\Agent:C:/Users/jenkins/Jenkins/Agent -v c:\tmp\JenkinsAgent\.jenkins:C:/Users/jenkins/Jenkins/.jenkins jenkinsagent_baseimage:0.1.0 powershell

and When inside the container run
net user jenkins

and I get
PS C:\Users\jenkins\Jenkins> net user jenkins
User name                    jenkins
Full Name
Comment
User's comment
Country/region code          000 (System Default)
Account active               Yes
Account expires              Never

Password last set            9/25/2019 1:46:21 PM
Password expires             Never
Password changeable          9/25/2019 1:46:21 PM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   9/25/2019 3:38:02 PM

Logon hours allowed          All

Local Group Memberships      *Users
Global Group memberships     *None
The command completed successfully.

We can see that the Password expires   Never and therefore we avoid the issue with password expired
After this long explanation I would suggest to add
RUN Set-LocalUser -Name "$env:user" -PasswordNeverExpires $true

to the Dockerfile for windows
Let me know if this make sense
Alberto

Yeah, that makes sense. I'll update the PR. I'm working on getting this into automated build for the Windows image and automatic publishing to dockerhub

FYI, this has been fixed, the jenkins/agent:latest-windows image is being published now.

We are hitting the same issue. And I don't see the Jenkins image gets updated since last 2 months.

Same here.

I also try creating a new docker image by adding "RUN Set-LocalUser -Name "$env:user" -PasswordNeverExpires $true" on the existing Dockerfile, which leads the password expiration issue solved. But something new came up with the image. My k8s pods are killing itself after 100s.

Please file a new issue, the issue that this covered has been fixed. If there is a new issue, please file a new ticket.

I don't think it's fixed. Because with the original tag the password expiration issue was still there

The original issue is that the image wasn't being published. It is being published, now there are additional issues.

If that was published than do you mind pointing me to the right docker image and tag ?

https://hub.docker.com/layers/jenkins/agent/latest-windows/images/sha256-44f0acad003dcaa96c1080a11133450717bd54a88f4711f209827c23339008c7?context=explore

I tried the same image which returns password expiration error

Should there be -PasswordNeverExpires in the Image History?
Can you please check if that really got published?

I don't see there on image history.

From: Christian Mathis<EMAIL_ADDRESS>Sent: Monday, March 16, 2020 7:44:08 PM
To: jenkinsci/docker-slave<EMAIL_ADDRESS>Cc: Aamir<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [jenkinsci/docker-slave] jenkins/agent:latest-windows not found (#85)
Should there be -PasswordNeverExpires in the Image History?
Can you please check if that really got published?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/jenkinsci/docker-slave/issues/85#issuecomment-599559107, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADE6IPR6YYVP3Z5GZSMYDXLRHYX3BANCNFSM4I2CCTVA.

Whoever encounters this problem, this might be helpful:
FROM jenkins/jnlp-agent:latest-windows
USER ContainerAdministrator
RUN Set-LocalUser -Name "Jenkins" -PasswordNeverExpires $true
USER Jenkins


timeseries resample import error

When testing out dask for timeseries operations using this notebook,
I get the following error:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-6-d6f66cb86854> in <module>()
----> 1 df.A.cumsum().resample('1w', how='mean').compute().plot();

/ImportError                               Traceback (most recent call last)
<ipython-input-56-9333c6071787> in <module>()
----> 1 df.index.resample("1w", how='mean')

/home/aaron/anaconda3/lib/python3.5/site-packages/dask/dataframe/core.py in resample(self, rule, how, closed, label)
    980     @derived_from(pd.Series)
    981     def resample(self, rule, how=None, closed=None, label=None):
--> 982         from .tseries.resample import _resample
    983         return _resample(self, rule, how=how, closed=closed, label=label)
    984

ImportError: No module named 'dask.dataframe.tseries'

This is on anaconda python 3.5.1, dask 0.8.1, and fedora 64bit.
Note that another person, @basnjiholt, sees this issue as well.
I have a simple fix for it:
adding
from .tseries.resample import _resample

to dask/dataframe/__init__.py  but I am not sure how you guys want to handle it.
Notably, this error doesn't occur on a freshly-built copy for OSX 10.10.5 with otherwise similar settings.

This was caused by https://github.com/dask/dask/issues/1067, and should be fixed in the latest release. If you pip install from git, everything should work:
pip install git+https://github.com/dask/dask.git

got it! that explains the mismatch between my test on my mac (installed from git) and the run from conda on the linux box.
thanks!


Enable DRM platform cross compilation support

A couple minor changes I needed to enable cross compiling
raylib DRM platform in a Yocto/BitBake environment.
First issue I encountered was dealing with unused result from chdir() in LoadOBJ().

warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]

I just tossed in a LOG_WARNING if something went wrong.
Also noticed that it was using chdir() directly, which seemed to conflict
with the #define CHDIR _chdir setup happening here:
https://github.com/raysan5/raylib/blob/d17c519f88ff33084772263f4585a96051c45cfa/src/models.c#L53-L59
So I also converted it to use CHDIR() instead.
The next issue was related to CMake.
The DRM platform was using

include_directories(/usr/include/libdrm)

This can be problematic when cross compiling because it doesn't consider CMAKE_SYSROOT.

cc1: warning: include location "/usr/include/libdrm" is unsafe for cross-compilation [-Wpoison-system-directories]

Now it does so conditionally based on CMAKE_CROSSCOMPILING.

@jonlamb-gh Nice! Thank you very much for the improvement! Just out of curiosity, for which platform did you try PLATFORM_DRM compilation? Was it for an RPI4?

No problem! yep, I'm running on an RPI4.
FWIW, here's my build config:
Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "raspberrypi4-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.0.4"
TUNE_FEATURES        = "aarch64 cortexa72 crc crypto"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "zeus:d88d62c20d7d8da85f02edb170dae0280624ad7e"
meta-raspberrypi     = "zeus:0e05098853eea77032bff9cf81955679edd2f35d"
meta-rust-bin        = "HEAD:2b9c13598497dc68757f0f9c1f7f1b6e835fd5f3"
meta-rpilinux        = "dev:8d74cb6d635082703f62552fb2c8f6d0fc56a926"
meta-oe
meta-networking
meta-multimedia

@jonlamb-gh Nice! Thank you very much for the info! :D


Added new rebus

Associated Issue: #121
Summary of Changes

Added new rebus using Vulcan salute

Pull Request Test Coverage Report for Build 461

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 86.617%

Totals

Change from base Build 455:
0.0%

Covered Lines:
154

Relevant Lines:
175

💛  - Coveralls

Nice, thanks!


change blog-post.html to show post categories in UI. #51

Fixes #51
Description
I have modified blog-post.html to show blog categories under blog title.
Please refer the screenshots below.
blog post with categories

blog post without categories

Other information

Checklist:

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

@kgodey done!
Please check the screenshots
without category

with category

@kgodey I have made the changes.


img directory start with / (slash) in production mode

When it's come to production mode, all images are not displayed, it starts with "/images" not "images", how to change it?

@tr1s it is not supposed to cause any issue. I have personally tested it and even have live project which uses that config.
@bnhr I would like to see how you are referencing images in your HTML. and what your project structure looks like. it's not supposed to cause issues.

meanwhile if you would like to change that path anyway
in webpack.common.js file replace publicPath from '/images/' to 'images' in following lines
{         test: /\.(jpe?g|png|gif|svg)$/,         use: [{           loader: 'file-loader',           options: {             name: '[name].[ext]',             outputPath: 'images/',             publicPath: '/images/'           }         }]       },

@shyamlohar I'm trying use 2 methods
first one is :

and second is :

after I change the webpack.common.js file, it's work just fine, all of them...
Thank you

@bnhr I'm also curious about how your project was set up.
I did a fresh clone and deployed the site when an extra image and everything rendered out fine. I would like to know what specifically caused the current config not to work for you!
Let me know, cheers


More commands

/hf relationship [player] [NPC|Entity] [set|add] [value]

/hf recipe [recipe|all]

/hf recipe done in https://github.com/PenguinSquad/Harvest-Festival/commit/052700ed9889115b8211cffc6052161041b09db6


Add test cover info

Add test cover info

Current coverage is 0.00%

Branch #14 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.
Review entire Coverage Diff as of 3e59551

Powered by Codecov. Updated on successful CI builds.


Android changePace()

Hello Chris,
is anyway possible for me to force the plugin in moving mode on Android? I need my app to immediately entering moving mode when put in background - on iOs i can use changePace() (which i documented some weeks ago in the README file), but i know this is an ios only feature. Is there any way to achieve this on Android without modifying the code?
Thanks again for you work. :-)

Shouldn't be difficult to do with Android.  I haven't touched Android code
in months though.
On Friday, January 16, 2015, Alberto Pirovano<EMAIL_ADDRESS>wrote:

Hello Chris,
is anyway possible for me to force the plugin in moving mode on Android? I
need my app to immediately entering moving mode when put in background - on
iOs i can use changePace() (which i documented some weeks ago in README),
but i know this is an ios only feature. Is there any way to achieve this on
Android without modifying the code?
Thanks again for you work. :-)
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/128
.

--
Snet from Gmail Mobile

Yes, i was just wondering if there was something undocumented. I'll implement that. Thank you.

I wrote the code today for the Android changePace() - i'm doing some testing, after which i'll make the pull request. Everything seems to work, but I have a couple of questions:

Is there any particular reason why you chose to extend the Service class and not IntentService?
I used the same Intent object you used for starting the background service in the BackgroundGpsPlugin execute() function. The onStartCommand() hook inside the activity hosts the logic which recognize the 2 differents Intent objects and acts accordingly. I'm not an Android guru, and this seemed to me the most reasonable way to communicate with the running service. In case there was another better way to accomplish the same thing please let me know. :-)

I do apologize if I wasn't able to explain clearly, just wanted your opinion before opening a pull request.

Android has been refactored.

plugin no longer handles http; calls js callback (just like ios)
much improved battery efficiency.
no more foreground service

http://christocracy.github.io/cordova-background-geolocation/


[Question] Postgres ETA

Hey, trying to run Vapor on Heroku, and sqlite isn't supported.  Any sort of eta on postgres?

No estimate yet. Fluent is being developed using SQLite. Once it becomes feature complete for a version 1.0 release, then the Driver interface will be stable enough to start adding all the other languages.


Add support for ModelName (io:SomfySensorName)

Did you read the instructions?

[X] I have read the README, including the advanced debugging section.

Device information
thermor malicio 3
atlantic agilia
Home Assistant log
Logs
Copy/paste any log here, between the starting and ending backticks. The first log line must start with "Added device (Device...".

Device commands
turn off and turn on
Additional information
No response

Can you add your diagnostics information?

overkiz-6871a79ca8297748fc9e79df2804c325-MALICIO-2e96cf78f877bf6941e8ad70f7db3390.json.txt
thank you for your answer, the first one is the thermor malicio 3.
overkiz-6871a79ca8297748fc9e79df2804c325-Cozytouch Sauter-707833dd6ace35d3244969b8eea044da.json.txt
the second one is the atlantic agilia.
I would like to turn them off, to control the temperature would be a plus.
cheers

Thanks @mlkjp161, your first device is DomesticHotWaterProduction (modbuslink:AtlanticDomesticHotWaterProductionMBLComponent) and your second device is the hub? So I am not sure what your 'Atlantic Agilia' is?
Can you describe your second device and a screenshot of the CozyTouch app?

The Atlantic Agilia work fine!
But not the thermor malicio 3.
I attach a sreenshot below: