text:
/api/render should support POST

/api/render currently supports GET with a query string param that includes the data for the preview.  This will be nice for caching, but as users start to expand the data they pass here, they'll quickly hit the character limit for a query string param.  So let's have the /api/render endpoint also support POSTs

This should somehow be documented. We nearly missed it had we not looked at the issues.

source: gharchive/issue

authors: alexfarrill frankdilo

repo: sofn-xyz/mailing

license: MIT

license_type: permissive

license_source: github-api


text:
Unit | Component | sl input: There are no references to Ember.$, $ or jQuery

not ok 493 PhantomJS 1.9 - Unit | Component | sl input: There are no references to Ember.$, $ or jQuery
    ---
        actual: >
            null
        message: >
            Died on test #1     at test (http://localhost:7357/assets/test-support.js:3025)
                at testWrapper (http://localhost:7357/assets/test-support.js:6192)
                at test (http://localhost:7357/assets/test-support.js:6205)
                at http://localhost:7357/assets/tests.js:24619
                at http://localhost:7357/assets/vendor.js:152
                at tryFinally (http://localhost:7357/assets/vendor.js:33)
                at http://localhost:7357/assets/vendor.js:158
                at http://localhost:7357/assets/test-loader.js:60
                at http://localhost:7357/assets/test-loader.js:51
                at http://localhost:7357/assets/test-loader.js:82
                at http://localhost:7357/assets/test-support.js:6024: Attempted to wrap $ which is already wrapped
        Log: |
    ...

Will likely be resolved by https://github.com/softlayer/sl-ember-components/issues/1503

Resolved by https://github.com/softlayer/sl-ember-components/issues/1503

repo: softlayer/sl-ember-components

license: mit

license_source: bigquery


text:
Don't use LazyDFU (it is unsupported for 1.20+)

Hey there! I've been looking into crafting with NBT too and I came across this fork. runClient didn't work for me because of LazyDFU. That mod will not continue support from 1.20 up because the vanilla DataFixerUpper has been reworked, rendering the mod redundant. So this removes the mod from build.gradle.
By the way, are you planning on releasing the updated version of the mod on Modrinth? It would be awesome to be able to update it from my launcher instead of having to build it myself. I would be willing to help out too, if you need help with that.

Also, I just uploaded the mod to my server and we couldn't rename anything in the anvil anymore. Could you turn on issues on this repo?

source: gharchive/pull-request

repo: sohcah/nbt-crafting


text:
harmonize DOI-metadata to common model

we harvest metadata (by doi) from openaire, datacite, crossref and/or doi (bibtex)
the metadata returned by each of the systems is different
the different metadata needs to be harmonized to the common model
preconditions:

[x] harvested doi metadata from various sources
[x] target model (as postgres table)

DoD:

[ ] openaire records are converted to target model (inserted in DB)
[ ] datacite records
[ ] crossref records
[ ] doi (bibtex) records

@hugodegrootwurnl , do you know if the following aspects have been completed?

[ ] openaire records are converted to target model (inserted in DB)
[ ] datacite records
[ ] crossref records
[ ] doi (bibtex) records

Needs to be made more specific, narrower for a sprint task

Maybe an idea to add a tag 'catalog record' into the triplestore

An example where this is relevant is for some of the records in Bonares, they are not (yet) available in Openaire, but it is possible to retrieve them from DOI as bibtex

authors: BerkvensNick hugodegrootwurnl pvgenuchten roblokers

repo: soilwise-he/harvesters


text:
Is there a way not to translate some words and something inside special tags?

Hello. I want to translate something like this (for example, to german language or another one):
This is some text. And some more text...and more and more... SOMESTRANGEWORD And a little bit of code:
<mycode>
echo "hello world";
</mycode>

And some more stupid text...
So, is there a way not to translate SOMESTRANGEWORD and also everything between <mycode> and </mycode> ? Where i can set these exceptions?

Duplicate of #214 and #75.

repo: soimort/translate-shell

license: unlicense


text:
0.8.0 Roadmap

[ ] getPosts and extensions for it should return Flow<Post>and be paginable.

[x] make getPosts return Flow<Post> everywhere (https://github.com/sokomishalov/skraper/commit/8444e69d4d9181543358e986ae90fd98674d2306)
[x] Facebook pagination (https://github.com/sokomishalov/skraper/commit/8444e69d4d9181543358e986ae90fd98674d2306)
[x] 9Gag pagination (https://github.com/sokomishalov/skraper/commit/8444e69d4d9181543358e986ae90fd98674d2306)
[x] Reddit pagination (https://github.com/sokomishalov/skraper/commit/8444e69d4d9181543358e986ae90fd98674d2306)
[x] Telegram pagination (https://github.com/sokomishalov/skraper/commit/8444e69d4d9181543358e986ae90fd98674d2306)
[x] IFunny pagination (https://github.com/sokomishalov/skraper/commit/6fdf4ac0bca699d5cff3338b4b78beb5bbbc9e11)
[x] Pikabu pagination (https://github.com/sokomishalov/skraper/commit/36547ffa3e9b9db2a8822762fa2ac4bc066b741c)
[ ] pagination for other providers where it's possible

[ ] add author and scrape it (where possible) (https://github.com/sokomishalov/skraper/pull/166)
[x] add statistics field to Post, which includes likes, reposts, views and comments amount fields.

[x] statistics field added (https://github.com/sokomishalov/skraper/commit/6de11f1ade0e497b5ffe8162ba13bbe246e21b90)
[x] extract reposts per each provider where it's possible (https://github.com/sokomishalov/skraper/commit/8a2f4d0da527073922a6e495ec4ab8b2c14e3092)

[x] add statistics field to PageInfo, which includes posts, followers and following amount fields.

[x] statistics field added (https://github.com/sokomishalov/skraper/commit/6de11f1ade0e497b5ffe8162ba13bbe246e21b90)
[x] extract following per each provider where it's possible (https://github.com/sokomishalov/skraper/commit/adee3fa37ac9501b3f66eae732d57cbb078fbf78)

[ ] provide interface replacement for uri/path
[x] remove baseUrl from Skraper interface (https://github.com/sokomishalov/skraper/commit/a31da1c84ad1d941dfb2acbe90bcd0201b7120fc)
[x] provide UnknownMedia type (https://github.com/sokomishalov/skraper/commit/a31da1c84ad1d941dfb2acbe90bcd0201b7120fc)

Partially closed, still opened tasks are targeting to the next release.

repo: sokomishalov/skraper


text:
Adding GAC Token

Creation of GAC Grand Apes Club token

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

I can help refer this https://github.com/zakimzf/profile/pull/1
PS: if you don't need my help.. please ignore this!

repo: solana-labs/token-list


text:
Update logo.png

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

abort


text:
sorted_json should quote args for checks

Rebased pull request #515

If you revert the change in lib/puppet/functions/consul/sorted_json.rb, but keep the spec files in place you can check the results on sorted_json:
eg pdk test unit --puppet-version=5 --tests=spec/functions/consul_sorted_json_spec.rb
1) consul::sorted_json test simple behavior sorted quotes values of args
   Failure/Error: is_expected.to run.with_params({'args' => ['aString', '1', 2] },pretty).and_return(deprettyfy("{\n    \"args\": [\n        \"aString\",\n        \"1\",\n        \"2\"\n    ]\n}\n",pretty))
     expected consul::sorted_json({"args"=>["aString", "1", 2]}, false) to have returned "{\"args\":[\"aString\",\"1\",\"2\"]}" instead of "{\"args\":[\"aString\",1,2]}"
   Shared Example Group: "handling_simple_types" called from ./spec/functions/consul_sorted_json_spec.rb:119
   # ./spec/functions/consul_sorted_json_spec.rb:61:in `block (2 levels) in <top (required)>'

Thanks!

authors: hdeheer solarkennedy

repo: solarkennedy/puppet-consul


text:
security: possible file disclosure via COOKIEFILE

This library supports authenticating with the tor control socket by reading a cookie file and sending its content to the socket.
The tor daemon typically runs as a non-root user. If this library is running as a process owned by a different user, then this seems to allow a file disclosure: The tor daemon can request any file be used as the cookie file, including a file that the tor daemon cannot read, and this library helpfully sends it the file content.

https://gitweb.torproject.org/torspec.git/tree/control-spec.txt actually describes this problem, and says that the cookie authentication is deprecated and should not be used.
So, it should be removed from this library.

No, it is still supported by tor itself at the most recent version.

Checking the size of the cookie file is not sufficient. The user could well have a 32 byte secret file. It's a good first step, but SAFECOOKIE support and refusing to serve up arbitrary files for COOKIE is the real way to fix this.

Let me quote the relevant part of https://gitweb.torproject.org/torspec.git/tree/control-spec.txt
The COOKIE authentication method exposes the user running a
controller to an unintended information disclosure attack whenever
the controller has greater filesystem read access than the process
that it has connected to.  (Note that a controller may connect to a
process other than Tor.)  It is almost never safe to use, even if
the controller's user has explicitly specified which filename to
read an authentication cookie from.  For this reason, the COOKIE
authentication method has been deprecated and will be removed from
a future version of Tor.

This library should not by default, and without any warning, expose an interface that is "almost never safe to use".

Welp, why should tor expose an interface that is "almost never safe to use"?

You could argue for keeping it in order to prevent legacy applications from breaking.

sternenseemann wrote:

Welp, why should tor expose an interface that is "almost never safe to use"?

Presumably because enough existing clients only support that interface that
it made sense to still expose it for a while. Transitions are hard.
But there's no reason for new clients written using this library to use
the old interface.
See also: https://trac.torproject.org/projects/tor/ticket/20022
--
see shy jo

sternenseemann wrote:

You could argue for keeping it in order to prevent legacy applications from
breaking.

The only possible legacy application that could be broken by this
library not supporting the old interface is if this library is used with
a version of the tor daemon that does not support the newer SecureCookie
interface.
The SecureCookie interface was added to tor 0.2.2.36 in 2012.
--
see shy jo

Oh, so the SecureCookie system is automatically enabled by the same option as the regular cookie authentification?

sternenseemann wrote:

Oh, so the SecureCookie system is automatically enabled by the same option as
the regular cookie authentification?

Yes, I believe so.
--
see shy jo

authors: joeyh sternenseemann

repo: solatis/haskell-network-anonymous-tor


text:
HTTP-server fbp tests still failing with timeout

On Koji, Fedora's RPM build system, when building packages for Fedora rawhide (24 WIP), which has 0.9.46-1.fc24 as version for libmicrohttpd, we get
+ make 'CFLAGS= -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'LDFLAGS= -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j4 check-fbp
FAILED running http-boolean.fbp: wrong exit code, got 1 but expected 0
Output:
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:921 client_request_internal() Could not set POST fields or data from params
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:996 sol_http_client_request() pending== NULL
WRN: ./src/modules/flow/http-client/http-client.c:440 common_post_process() connection== NULL
WRN:sol-flow-test ./src/modules/flow/test/result.c:83 on_timeout() Timeout expired! Failing test...
ERR:sol-flow-test ./src/modules/flow/test/result.c:74 fail() test/result node 'test_server_output' failed
FAILED running http-drange.fbp: wrong exit code, got 1 but expected 0
Output:
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:921 client_request_internal() Could not set POST fields or data from params
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:996 sol_http_client_request() pending== NULL
WRN: ./src/modules/flow/http-client/http-client.c:440 common_post_process() connection== NULL
WRN:sol-flow-test ./src/modules/flow/test/result.c:83 on_timeout() Timeout expired! Failing test...
ERR:sol-flow-test ./src/modules/flow/test/result.c:74 fail() test/result node 'test_server_output' failed
FAILED running http-irange.fbp: wrong exit code, got 1 but expected 0
Output:
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:921 client_request_internal() Could not set POST fields or data from params
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:996 sol_http_client_request() pending== NULL
WRN: ./src/modules/flow/http-client/http-client.c:440 common_post_process() connection== NULL
WRN:sol-flow-test ./src/modules/flow/test/result.c:83 on_timeout() Timeout expired! Failing test...
ERR:sol-flow-test ./src/modules/flow/test/result.c:74 fail() test/result node 'test_server_output' failed
FAILED running http-string.fbp: wrong exit code, got 1 but expected 0
Output:
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:921 client_request_internal() Could not set POST fields or data from params
WRN: ./src/lib/comms/sol-http-client-impl-curl.c:996 sol_http_client_request() pending== NULL
WRN: ./src/modules/flow/http-client/http-client.c:440 common_post_process() connection== NULL
WRN:sol-flow-test ./src/modules/flow/test/result.c:83 on_timeout() Timeout expired! Failing test...
ERR:sol-flow-test ./src/modules/flow/test/result.c:74 fail() test/result node 'test_server_output' failed
4 tests failed.
186 tests passed.
tools/build/Makefile.targets:8: recipe for target 'check-fbp' failed
make: *** [check-fbp] Error 1
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.1VJDpK (%check)
    Bad exit status from /var/tmp/rpm-tmp.1VJDpK (%check)

as build output. It seems we still have bugs either on Soletta or the HTTP server side.

it not seems to be the timeout problem, it's failing to set the post fields. I'll investigate it.
Please, in further issues/problems add the curl/microhttpd version.

I just missed curl's version, I'll see if I can get it yet.

DEBUG util.py:393:   curl                        i686   7.46.0-2.fc24                   build 292 k

thanks, it's happening all the time ?
This is definitly not the server's timeout problem, is a problem when setting the post fields. I could not reproduce in my machine, i'll try reproduce it in an environment more similar.

Mm, maybe if you test with the same curl's version, then?

i don't think so, something is goind wrong when setting the postfields and/or postdata. Probably this is something related with 32 bits arch since none of us could reproduce it. Iscaro is going to build it in 32bits to reproduce the problem

@cabelitos please close this issue as soon as you push the fix

@ceolin No problemo.

Merged a fix commit ef29993

authors: cabelitos ceolin glima

repo: solettaproject/soletta


text:
input from Michiel

user uses browser to visit a web app
web app redirects the user to log in to IDP/auth-server and get a bearer token (could be repeated for JIT auth)
IDP/auth-server redirects the user back to the web app
web app uses the bearer token to access some storage server?
questions:

which resources does the web app get read/write/append/control access to?
how does the web app tell the IDP/auth-server which access scopes they request?
how does the user tell the IDP/auth-server about their decision?
how does the IDP/auth-server communicate the user's decision to the storage server?

I (Michiel) think about 4., the best way to do that would have to be some way represented inside the bearer token, right?

is a UX problem, and very difficult.

is related to 3. but additionally needs some standardization

currently we only say read/write/append/control all or nothing. other dimensions could be per document (but should the user understand file paths? and is that safe?), or type of document / domain, or context of the data

Pros and Cons to putting permissions in the Bearer token
PROS

No need for the IDP to interact with the storage server

CONS

Assumes that the IDP has responsibility over access control
Must authenticate on each device (though perhaps it could be stored on the idp)

we should have a server-side, revokable, representation of the user's decision

authors: jaxoncreed michielbdejong

repo: solid/app-authorization-panel


text:
Add metadata to header writer

We can parse incoming headers to metadata, but we still need something to go from metadata back to headers in a response. Such a class would probably be quite similar to how we parse metadata now in that a bunch of smaller classes take as input metadata and a response object to which they write a header if their corresponding metadata field is present. This class would then be called by the ResponseWriter (in case there is no error). Or even the AuthenticatedLdpHandler before going to the ResponseWriter potentially?

I'd say ResponseWriter indeed.
We either could have one single HeaderWriter that decides based on the header name whether to write it to a dedicated header or to Link, or use a composite pattern where a first HttpHeaderWriter writes everything it can, and removes it from the metadata, and then the rest is passed on to LinkHeaderWriter.

I was more thinking of something similar to how the MetadataExtractor now aggregates a bunch of parsers. In this case it would be a bunch of writers that looks if a specific field is present in the metadata, and if yes it adds a header related to that one. It would need to make sure it only appends and doesn't overwrite already added headers but we could have a utility function for that. That way we could have a RdfTypeHeaderWriter, AclLinkHeaderWriter, etc.

That way we could have a RdfTypeHeaderWriter, AclLinkHeaderWriter, etc.

Yeah, but I think those would be a bit too specific; given that both of them would quite literally translate the metadata triples into a triple in the Link header.

Yea true, there's no parsing needed here. We still would need a way to link metadata entries to header fields that can be updated without having to change code I think.

Could be config.

authors: RubenVerborgh joachimvh

repo: solid/community-server


text:
Changing access policy for a topic resource may require invalidating some channels

Currently, we only assume that access will be checked when the notification channel gets created. We don't seem to address a common scenario when access policy changes on the resource which is a topic of some existing notification channels.
I think every change to access policies, would result in re-evaluating all the channels using that resource as their topic. If the receiver doesn't have required access anymore, their channel should be most likely deactivated.
Related issues:

#183
#184

I am putting these concerns out there with the intention of discussion than immediate resolution.
Would you invalidate the channel, or would you modify it? For single topic channels, invalidation is the way to go, but for multi topic channels either could be justified.
Also, should we include this in SNP (we do not specify how security is implemented) or does this need to go into its own document (or even just an implementation note) where we tell servers to be aware of this consideration?

authors: CxRes elf-pavlik

repo: solid/notifications


text:
Fix building with inspect: false

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)

I am honestly intimidated by writing a test in a project that already has established testing conventions, so I did not do this.
PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

It is outlined in #958
What is the new behavior?
If the .solid/inspect folder doesn't exist, it is created.
Other information

Fixes #958

Thank you

authors: gBasil ryansolid

repo: solidjs/solid-start


text:
Events from inside web components with shadow root mode open have wrong target

Describe the bug
I started investigating this issue when I noticed that adding a SUID button to a page caused all ninja-keys hotkeys (including up/down arrows to select commands) to stop working while the ninja-keys menu is open. After stepping through the debugger, the reason is that ninja-keys is a web component and relies on keyboard events from within the menu having a target of the ninja-keys component instead of the actual text input element inside the menu. However, the SUID button uses solid onKeyDown and onKeyUp, causing these events to use solid's event delegation from the document, which overrides the event target.
Ryan explains in this video about "reverse shadow DOM retargetting". There's not really an explaination for why solid deviates from the web standards here, but I'd assume it's so that events have the expected target when using solid inside web components, such as with solid-element. When listening to events from outside a web component though, I think it should not do reverse shadow DOM retargetting, especially when using an event listener that's not using solid's event delegation (whether it's an external library like ninja-keys using hotkeys-js, or with on: directives in solid).
It's worth noting that the order the event listeners on document are added matters; if it was only modifying the event "once everyone else is done with it" then that would be fine, but when event listeners are added after solid has already initialised it's the event delegation, then it gets the mutated event.
A simple fix could be to just keep hold of the original target and put it back after solid's event delegation is done with it. That wouldn't make event handlers that do use event delegation get the "correct" target, but it would at least fix it for event handlers that aren't using event delegation.
Your Example Website or App
https://stackblitz.com/edit/solidjs-templates-zz63ns?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue

Go to the provided repro on stackblitz
Type in the text input
Observe that keyDown target B shows INPUT

Expected behavior
All event listeners should show the same thing, MY-INPUT-COMPONENT, because the events originate from inside the web component and the listeners are on document, outside the web component.
Screenshots or Videos
No response
Platform

OS:  Linux
Browser: Tested in Chrome and Firefox
Version: Chrome 122.0.6261.111, Firefox 123.0.1

Additional context
No response

I've made some unit tests for dom-expressions and have an idea about how to fix it. I'm thinking perhaps in eventHandler where it walks up the tree, every time it uses host to walk up a shadowRoot, it can swap out target to that node. I'm just not sure if slots would complicate things or if they would work seamlessly, so would have to test how they work.
Should I go ahead with attempting the fix and make a PR?

Yeah I'm no longer deep in webcomponents so I haven't played with this for a while. I did retargetting due to yes having SolidJS in components. I built apps that had nested levels of Solid web components. So when I extracted a component out like say a wrapper around input I found it odd that I didn't have the input element anymore. I found a React package that did similar retargetting and used that as my solution.
Resetting on host seems reasonable. Basically it is only reversing the event target for the deepest level where the event orginates. I would need a second opinion from some of the web component people in our community like @trusktr. That being said I'm not sure any of them use event delegation anyway because of other issues.
I see now a lot of my webcomponent considerations when building Solid were fighting against them. I didn't really want web components but I wanted to use the platform. I should have just left them to do their own thing earlier and built what I ultimately wanted to.

That being said I'm not sure any of them use event delegation anyway because of other issues

I'm not deep in web components either, just consuming a few from external libraries. What kind of other issues are there? Searching old issues on github, the only things I can see are for non-composed events (but it looks like delegation is whitelisted now anyway) and shadow with mode closed.
I don't want to disable event delegation completely because for this particular project it's actually a massive performance win.
Retargetting on host works well and makes the target correct for things inside as well as outside the component, as well as being correct for non-delegated handlers that run afterwards. However, the unit tests revealed another issue which is that events originating inside a slot don't get passed to delegated handlers inside the shadow DOM. While I'm in the headspace I'll try to find an easy fix for that too, otherwise will make a PR with just the original fix.

I'd go for consistency with the standard on this one, even if that's not the most convenient in cases where the Solid event.target rewrite was.
The spec authors are working on ways to alleviate some of those issues for which the Solid event.target rewrite may have been useful, for example ElementInternals now allows custom elements to take on the role of form elements (in place of <input> or <button> elements).

authors: olivercoad ryansolid trusktr

repo: solidjs/solid


text:
🛑 zakazbiletov.kz is down

In b7d7eec, zakazbiletov.kz (https://zakazbiletov.kz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: zakazbiletov.kz is back up in 17626c6 after 16 minutes.


text:
🛑 hoster is down

In 544ad0e, hoster (https://hoster.kz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hoster is back up in b631208.


text:
Config file

When I run the docker image, it doesn't load app/config.ru file. Is there is a sample file?
The docker-compose up command fails and goes into an infinity loop looking for the app/config.ru file.

Hello, we just finished a rewrite of Somleng.
Please follow the getting started documentation to get somleng up and running on your local machine.
https://github.com/somleng/somleng-project/blob/master/docs/GETTING_STARTED.md

authors: dwilkie miradnan

repo: somleng/somleng-adhearsion


text:
Change how sonar resources are loaded

The current order is:

Resources in core
Scoped packages (@sonarwhal/XXX)
Prefixed packages (sonar-resourceType-XXX)

The previous way of loading resources was weak and is better to rely
on require when dealing with external resources.
Some improvements of the current code over the previous:

We load only the resources that we need instead of all, and on demand.
sonar.create() is now sync and should load faster.
Validation of rules is done now in sonar (when loading them individually
and not the cli. This fixes a previously unkown issue on rule-runner
where the schema of rules wasn't validated (it showed up in ssllabs.
Remove all code related to plugins until we know how they look like.
Refactor where the code to generate a valid .sonarrc is.
Remove sonar.create() in favor of new Sonar().
Clean up several tests and added @types/sinon.
Refactor ui to cli and move all generators there.

Fix #234

Take 2, let's see if this one goes to the right place.
Can you take a look to double check the code is the same as the original one?

This looks the same as what I had seen in your last PR. Should be fine to merge. I'm not sure how this will affect #296 since your commit is showing up there too.

@sarvaje can probably rebase once this is merged into master and hopefully things will be back to normal.

authors: austinkelleher molant

repo: sonarwhal/sonar


text:
Fix url construction

While adding username to package file POSTing, the URL was wrong

Closed by PR #684

repo: sonata-nfv/son-gkeeper


text:
四人赛有点问题啊

四人赛有点问题啊
07:07:14.183/D: 四人赛
07:07:21.632/D: switch 2
07:07:26.582/D: do_battle_contest do_4_contest
07:07:26.866/D: do_battle_contest 选项加载
07:07:38.375/I: opencv initializing
07:07:38.454/I: opencv initialized
07:07:40.174/D: paddle ocr result:["踏"]
07:07:40.175/D: do_battle_contest 题目: 踏 选项:
07:07:40.176/D: do_battle_contest 选项异常
07:07:40.212/D: do_battle_contest 选项加载
07:07:43.666/D: paddle ocr result:["1.选择正确的读音","A.铸踏shouzhu","B.跨踏chouchu"]
07:07:43.668/D: do_battle_contest 题目: 选择正确的读音 选项:铸踏shouzhu,跨踏chouchu
07:07:43.668/D: special_problem:选择正确的读音
07:07:43.827/D: url:http://www.syiban.com/search/index/init.html?modelid=1&q=跨踏chouchu|
07:07:43.828/D: 答题 网络搜索失败
07:07:45.190/D: do_battle_contest 选项加载
07:07:48.167/D: paddle ocr result:["1.选择正确的读音"]
07:07:48.168/D: do_battle_contest 题目: 选择正确的读音 选项:
07:07:48.169/D: do_battle_contest 选项异常
07:07:48.211/D: do_battle_contest 选项加载
07:07:51.841/D: paddle ocr result:["2.选择词语的正确词形","A.河汉","B.河盆"]
07:07:51.843/D: do_battle_contest 题目: 选择词语的正确词形 选项:河汉,河盆
07:07:51.844/D: special_problem:选择词语的正确
07:07:52.163/D: url:http://www.syiban.com/search/index/init.html?modelid=1&q=河汉|河盆
07:07:52.164/D: 答题 网络搜索失败
07:07:53.518/D: do_battle_contest 选项加载
07:07:57.302/D: paddle ocr result:["2.选择词语的正确词形","B.河盆"]
07:07:57.303/D: do_battle_contest 题目: 选择词语的正确词形 选项:河盆
07:07:57.304/D: special_problem:选择词语的正确
07:07:57.441/D: url:http://www.syiban.com/search/index/init.html?modelid=1&q=河盆
07:07:57.442/D: 答题 网络搜索失败
07:07:58.822/D: do_battle_contest 选项加载
07:08:03.372/D: paddle ocr result:["3.补全唐代诗人李贺《南园》诗句：可","日幕香落，","O"]
07:08:03.374/D: do_battle_contest 题目: 补全唐代诗人李贺《南园》诗句：可日幕香落， 选项:
07:08:03.375/D: do_battle_contest 选项异常
07:08:03.424/D: do_battle_contest 选项加载
07:08:09.806/D: paddle ocr result:["4.补全唐代诗人杜甫《赠卫八处士》诗","句：明日","世事两范范。","来源：参见《钱锤书选庄”","（人民文学出版社202","年版）","A.复月","B.隔山","出路"]
07:08:09.808/D: do_battle_contest 题目: 补全唐代诗人杜甫《赠卫八处士》诗句：明日世事两范范。来源：参见《钱锤书选庄”（人民文学出版社202年版） 选项:复月,隔山出路
07:08:09.822/D: 答题 题库: 春韭
07:08:11.150/D: do_battle_contest end
07:08:13.583/D: do_battle_contest do_4_contest
07:08:13.892/D: do_battle_contest 选项加载
07:08:25.957/D: paddle ocr result:[]
07:08:26.000/D: do_battle_contest 选项加载
07:08:27.830/D: paddle ocr result:["1.与人类相比，大多数鱼都是近视眼。该","说法是","的。","A.正确","B.错误"]
07:08:27.832/D: do_battle_contest 题目: 与人类相比，大多数鱼都是近视眼。该说法是的。 选项:正确,错误
07:08:27.851/D: 答题 题库: 正确
07:08:29.223/D: do_battle_contest 选项加载
07:08:30.670/D: paddle ocr result:["1.与人类相比，大多数鱼都是近视眼。该","说法是","的。","B.错误"]
07:08:30.671/D: do_battle_contest 题目: 与人类相比，大多数鱼都是近视眼。该说法是的。 选项:错误
07:08:30.684/D: 答题 题库: 正确
07:08:32.036/D: do_battle_contest 选项加载
07:08:34.270/D: paddle ocr result:["2.中国第一部动画长片，是由万氏兄弟","摄制的","，于1941年上映","盛","《盘丝洞》","B.《乌鸦为什么是黑的》","V.","，《铁扇公主》","D","《神笔》"]
07:08:34.273/D: do_battle_contest 题目: 中国第一部动画长片，是由万氏兄弟摄制的，于1941年上映盛《盘丝洞》 选项:《乌鸦为什么是黑的》,，《铁扇公主》,《神笔》
07:08:34.293/D: 答题 题库: 《铁扇公主》
07:08:35.646/D: do_battle_contest 选项加载
07:08:37.367/D: paddle ocr result:["2.中国第一部动画长片，是由万氏兄弟","摄制的","，于1941年上映","《盘丝洞","D.","《神笔》"]
07:08:37.368/D: do_battle_contest 题目: 中国第一部动画长片，是由万氏兄弟摄制的，于1941年上映《盘丝洞 选项:《神笔》
07:08:37.383/D: 答题 题库: 《铁扇公主》
07:08:38.732/D: do_battle_contest 选项加载
07:08:40.698/D: paddle ocr result:["3.为了能在黑暗中看清物体，很多动物","眼睛视网膜后面有一个镜子似的反光","层，可以把光反射回","，达到收集光","线的作用","A.视网膜","B.晶状体"]
07:08:40.700/D: do_battle_contest 题目: 为了能在黑暗中看清物体，很多动物眼睛视网膜后面有一个镜子似的反光层，可以把光反射回，达到收集光线的作用 选项:视网膜,晶状体
07:08:40.722/D: 答题 题库: 视网膜
07:08:42.079/D: do_battle_contest 选项加载
07:08:44.178/D: paddle ocr result:["3.为了能在黑暗中看清物体，很多动物","眼睛视网膜后面有一个镜子似的反光","层，可以把光反射回","，达到收集光","线的作用","B.晶状体"]
07:08:44.179/D: do_battle_contest 题目: 为了能在黑暗中看清物体，很多动物眼睛视网膜后面有一个镜子似的反光层，可以把光反射回，达到收集光线的作用 选项:晶状体
07:08:44.192/D: 答题 题库: 视网膜
07:08:45.544/D: do_battle_contest 选项加载
07:08:47.987/D: paddle ocr result:["4.夏天，打开冰箱冷冻室的门，常常看到","冷冻室中冒出一股白雾，这是","A.冰箱里原有的水蒸气凝结成小水","滴","B.冰箱外部空气中的水蒸气遇冷凝","结成小水滴","C.冰箱里的冰升华后又凝结成小水","滴"]
07:08:47.989/D: do_battle_contest 题目: 夏天，打开冰箱冷冻室的门，常常看到冷冻室中冒出一股白雾，这是 选项:冰箱里原有的水蒸气凝结成小水滴,冰箱外部空气中的水蒸气遇冷凝结成小水滴,冰箱里的冰升华后又凝结成小水滴
07:08:48.014/D: 答题 题库: 冰箱外部空气中的水蒸气遇冷凝结成小水滴
07:08:49.347/D: do_battle_contest end

会解决的，稍等，主要是组件卡死

用新版master试试


text:
[doc] Update configuration example for "DASH_ROUTE_TABLE" entries with action "direct"

"vnet" is not needed when the action "direct" is configured.

Hi @KrisNey-MSFT,
Can you please help to resolve the spellchecker issue? It complains about my last name.
Thanks,
Oleksandr

Hello!  You likely need to add it to the wordlist.txt to resolve the issue; it's located on the main DASH page https://github.com/sonic-net/DASH, just scroll down a bit.  I've edited the wordlist.txt as part of my PR (when I've had one) and it worked for me...
Want to give it a try?
[A screen shot of a computer  Description automatically generated with low confidence]
From: Oleksandr Ivantsiv @.>
Sent: Monday, May 22, 2023 9:45 AM
To: sonic-net/DASH @.>
Cc: Kristina Moore @.>; Mention @.>
Subject: Re: [sonic-net/DASH] [doc] Update configuration example for "DASH_ROUTE_TABLE" entries with action "direct" (PR #371)
Hi @KrisNey-MSFThttps://github.com/KrisNey-MSFT,
Can you please help to resolve the spellchecker issue? It complains about my last name.
Thanks,
Oleksandr

Reply to this email directly, view it on GitHubhttps://github.com/sonic-net/DASH/pull/371#issuecomment-1557557886, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJSI6BQVFQJH7KEWZMSDBDXHOJ2RANCNFSM6AAAAAAYKV52FQ.
You are receiving this because you were mentioned.Message ID: @.@.>>

Thanks, @KrisNey-MSFT! This helped

@chrispsommers done

authors: KrisNey-MSFT oleksandrivantsiv

repo: sonic-net/DASH


text:
编译后导致动态绑定的类名错误

描述这个Bug
调用ViteWeappTailwindcssPlugin这个插件后，元素的动态绑定类名和静态类名共存时，类名之间的空间消失了，导致样式异常；
代码url
代码就是原https://github.com/sonofmagic/weapp-tailwindcss-webpack-plugin#uni-app-for-vite-vue3这个uni-app的vue3示例项目，
vite.config.ts:
import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// import { ViteWeappTailwindcssPlugin as vwt, postcssWeappTailwindcssRename } from '../..'
import { ViteWeappTailwindcssPlugin as vwt, postcssWeappTailwindcssRename } from 'weapp-tailwindcss-webpack-plugin'
export default defineConfig({
  // 仅调用uni()就是正常的
  plugins: [uni(), vwt()],
  css: {
    postcss: {
      plugins: [
        require('autoprefixer')(),
        require('tailwindcss')(),
        require('postcss-rem-to-responsive-pixel')({
          rootValue: 32,
          propList: ['*'],
          transformUnit: 'rpx'
        }),
        postcssWeappTailwindcssRename({
          // cssPreflight: {
          //   'box-sizing': false
          // }
        })
      ]
    }
  }
})

pages/index/index.vue:
<template>
  <view class="flex items-center justify-center w-screen h-screen">
    <view class="font-bold text-blue-500" :class="[
    'text-2xl',{'underline':true}
    ]">{{title}}</view>
  </view>
</template>

<script setup lang="ts">
import { ref } from "vue";
const title = ref('测试标题')
</script>

<style lang="scss" scoped></style>

可提供转化失败的 wxml,js,wxss 这类的产物，
可以直接复制粘贴在此处，或者提供 url
如何重现
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

期望行为(可选)

屏幕截图(可选)

运行环境

OS: [e.g. iOS]
Nodejs: 16x
Framework: uni-app/taro/remax/rax

Additional context
Add any other context about the problem here.

哦，看到了 mp-toutiao

另外我好像目前不支持加!拉高样式权重？看见了有被编译成_!_前缀的类目，但是ttml中还是!前缀

fixed 头条小程序 in 1.2.7,
另外你要的!拉高样式权重，可以挂载上 ViteWeappTailwindcssPlugin  后这么写:
<view class="flex items-center justify-center w-screen h-screen">
    <view class="!font-bold !text-[#990000]" :class="['text-2xl', { underline: true }]">{{ title }}</view>
</view>

生成的结果为:
    <view class="flex items-center justify-center w-screen h-screen data-v-1badc801">
        <view class="{{'_i_font-bold'+' '+'_i_text-_l__h_990000_r_'+' '+'data-v-1badc801'+' '+'text-2xl'+' '+b}}">{{a}}
        </view>
    </view>

样式为:
._i_text-_l__h_990000_r_ {
    --tw-text-opacity: 1 !important;
    color: rgb(153 0 0 / var(--tw-text-opacity)) !important
}
._i_font-bold {
    font-weight: 700 !important
}


text:
Added linear search program

Added the program for linear seach in cpp.

You can follow me on github


text:
Create Mainhub View

According to figma,
Use Material Ui components.
Its important that the profile Button is accessible.

closed as of 581c5dc


text:
[common] 탭 컴포넌트

🚩 관련 이슈

close #3

📋 작업 내용

[x] 탭 컴포넌트 구조화 및 스타일링
[x] 모임 상세 페이지에서 탭 클릭 시 해당 위치로 이동

📌 PR Point

모임 전체 리스트 페이지는 /group, 모임 상세 페이지는 /group/detail/[id]에서 확인할 수 있습니다.
탭 컴포넌트는 Context를 사용해 구현했습니다.
탭 클릭 시 해당 위치로 이동하는 기능은 useRef와 scrollIntoView로 구현했습니다.

📸 스크린샷
https://user-images.githubusercontent.com/58380158/197271979-a1b75807-6296-4a16-ad69-eebbcdf8e1ce.mp4

(엄근진) 고생하셨습니다.

repo: sopt-makers/sopt-web-product


text:
[Tech]: Add "--enable-beefy" flag that enables beefy for node and disable it by default

Problem statement
Now BEEFY enabled by default and it can cause some problems with parachain deployment
Description
No response
Definition of Done

Add flag --enable-beefy to parachain CLI that will enable beefy
add conditin to enable BEEFY if flag is give to CLI

Requirements
No response

This should not be tested by QA team

license: Unlicense


text:
rpc_methods

Implement rpc returning the list of supported rpc calls.
Example request:

{"id":6,"jsonrpc":"2.0","method":"rpc\_methods","params":[]}

Example response:

{"apis":[["0xdf6acb689907609b",3],["0x37e397fc7c91f5e4",1],["0x40fe3ad401f8959a",4],["0xd2bc9897eed08f15",2],["0xf78b278be53f454c",2],["0xed99c5acb25eedf5",2],["0xcbca25e39f142387",2],["0x687ad44ad37f03c2",1],["0xbc9d89904f5b923f",1],["0x68b66ba122c93fa7",1],["0x37c8bb1350a9a2a8",1],["0xab3c0572291feb8b",1]],"authoringVersion":10,"implName":"substrate-node","implVersion":0,"specName":"node","specVersion":256,"transactionVersion":1}

,"subscription":"5MT3576DCIcCv17W"}}<br/>```

Aha! Link: https://soramitsucoltd.aha.io/requirements/PRE-44-15

duplicate of #377

authors: kamilsa kogeler

repo: soramitsu/kagome


text:
Compile spdlog as a library (not header only)

Motivation

This makes compiling Sorbet significantly faster (~5 minutes to ~3 minutes on
my 8-core MacBook Pro Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz).
Test plan

Existing tests.

I'm not seeing any perf hit on Stripe's codebase from switching over, so I think we're good to land this.

repo: sorbet/sorbet


text:
Kernel#respond_to_missing? should return T::Boolean

I think Kernel#respond_to_missing? should return Boolean based on https://github.com/ruby/ruby/blob/89802078f9f406be411032814e1960e62dbc7ce2/vm_method.c#L2869-L2888
Motivation
My codebase stop working because of this change.
https://github.com/LTe/acts-as-messageable/blob/d3b8574e9ed21aba7d61ef6f2d24a0539dd3e9b7/lib/acts_as_messageable/rails6.rb#L58-L61
The problem is with super call.
Test plan
This should work:
https://sorbet.run/#%23 typed%3A true
extend T%3A%3ASig

sig { params(method_name%3A Symbol%2C include_private%3A T%3A%3ABoolean).returns(T%3A%3ABoolean) }
def respond_to_missing%3F(method_name%2C include_private %3D false)
  [%3Amethod_name].include%3F(method_name) || super
end

Unfortunately, given:
https://github.com/ruby/ruby/blob/89802078f9f406be411032814e1960e62dbc7ce2/vm_method.c#L2852-L2867
I don't think we can guarantee that respond_to_missing will always return a boolean, since we can potentially call a user-implemented function without coercing the result to a boolean at line 2864.  Contrast this to the coercion to a boolean at line 2866.  (This is probably a bug in the Ruby VM, honestly, but it is what it is.)

@froydnj yeah, it looks like you are right. But it is very strange, they should cast it into boolean I think.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_Oe0ZC0Z03CpFET
→ https://go/builds/bui_Oe0ZgHIhafIjSb
→ https://go/builds/bui_Oe0ZJrKpnAfjTq

About this one: https://github.com/ruby/ruby/blob/89802078f9f406be411032814e1960e62dbc7ce2/vm_method.c#L2852-L2867
Based on the code it looks like respond_to? can call respond_to_missing? and in case when respond_to_missing? will return something else than boolean then respond_to? will return the same.
Example
class Example
  def respond_to_missing?(*) = :sorbet
end

Example.new.respond_to?(:non_existing_method) => true

It looks like it is working just fine. There is also test in ruby for that
https://github.com/ruby/ruby/blob/89802078f9f406be411032814e1960e62dbc7ce2/spec/ruby/core/kernel/respond_to_missing_spec.rb#L48-L52

authors: LTe froydnj


text:
Adding steps in between the tour without affecting steps defined while creating tour

I have a tour with 4 steps  and once user reaches step 2 I need to take user input from drop down and depending upon the drop down value I need to take him to the step according to his choice else if user does not select anything from the drop down it will go according to the steps given while creating a tour. When user chooses drop down value one div with input box is shown and this div is hidden otherwise .So is there a way where in I can insert step in between  when user chooses drop down?because in my case it skips of all the remaining steps and goes to the last step if user chooses value from the drop down. Otherwise flow is smooth enough.
    $scope.walk_through = new Tour({
        steps: [
          {
            element: "element1",
            orphan: true,
            title: "Template 1",
            content: "template 1 content ",
            placement: "bottom",
            template: $scope.get_template(),
            // backdropPadding: 10,
          },
          {
            element: element2,
            title: "this step shows drop down",
            content: "next step should show template related to the user chosen drop down value else it should go to the next step g",
            placement: "bottom",
            template: $scope.get_template()
          },
          {
            element: element3,
            title: "this step is seen ",
            content: "this step is seen after step 2 if user does not pick any value from the drop down else once user chosen step is shown this step will be shown",
            placement: "bottom",
            template: $scope.get_template(),

          }
        ],
        backdrop: true,
        backdropContainer: 'body',
        backdropPadding: 0,
        debug: true
      }

      $scope.walk_through.init();
      $scope.walk_through.restart();

on change of drop down I am adding one more step, need to involve add step is because element is hidden and is accessible only once user picks any value from the drop down, basically this is an in between step and if does not choose any user then it should go according to the steps defined above
    $scope.user_changed_dropdown = function(){
      add_rates_wt = angular.element('body'),find('.add-rates-wt:first-child'); // this particular element is hidden and available only once user chooses value from dropdown
      $scope.walk_through.addStep({
          element: element4,
          title: "in between step",
          content: "This step should be shown once user clicks on drop down and after this all remaining steps should be shown defined earlier",
          placement: "bottom",
          template: $scope.get_template()
        });
      $scope.walk_through.next()
    }

+1

What you should is this :
1 - Create all the steps first
2 - Then, according to your user action, let him continue or take him to a specific step with the goTo(i) method.

authors: Ankita-Palekar desperate-man ousram


text:
Error when using in a multi user setup

I get this error when using prezto from a second user (where the first user also uses prezto) on MacOS.

prompt_sorin_precmd_async:4: permission denied: /tmp/zsh-prompt_sorin_data

Doing a chmod a+r+w for it creates the same problem for the other user.
prezto version: latest as of now
zsh 5.2 (x86_64-apple-darwin15.4.0)

It seems like this line https://github.com/sorin-ionescu/prezto/blob/4f19700919c8ebbaf75755fc0d03716d13183f49/runcoms/zprofile#L71 is responsible for creating the directory where your prompt, sorin is trying to save data to.
Since the directory is created with 700 you can change it for example to 777 to allow everyone to write to it. I am not sure if this is correct, what if multiple users are logged in? From my understanding each user is overwriting the data of the other one, if all are using the same prompt.
I would change the prompt setup to be unique for each user at https://github.com/sorin-ionescu/prezto/blob/4f19700919c8ebbaf75755fc0d03716d13183f49/modules/prompt/functions/prompt_sorin_setup#L101.

@akshayrawat I think there might be something wrong with your system. By default, osx creates a user specific temp directory. You should not be getting any conflicts because $TMPDIR should already be set and be specific to you.
Also the fact that the directory that you are trying to create is: /tmp/zsh-prompt_sorin_data tells me that $TMPDIR is not set or doesn't exist and the variable $LOGNAME is empty.
I don't know exactly what's going on with your system, but it should be a fairly easy fix. Edit the file: .zprezto/runcoms/zprofile and change lines 70-71 from:
if [[ ! -d "$TMPDIR" ]]; then
  export TMPDIR="/tmp/$LOGNAME"
  mkdir -p -m 700 "$TMPDIR"
fi

to:
if [[ ! -d "$TMPDIR" ]]; then
  export TMPDIR="$(mktemp -d)"
fi

This will create a per user temporary directory with the correct permissions which should prevent the problem you are seeing (and others you haven't seen yet).

#1209 - Not sure if this will get merged or not, but I think it's a reasonable fix.

Hey @donpatrice, #1209 was merged into  zsh-users/prezto, the community fork of this repo. zsh-users is an organization dedicated to host Zsh community projects and therefore became the rational home for a community maintained version of prezto. See #1239 for more information on the fork.
This is the commit.
You may want to migrate over. There are some upgrade instructions, soon to be merged.

Thank you @paulmelnikow very much for the hint. The commit mentioned does not work for me, I will open an issue on zsh-users.

The fix was merged yesterday, so I'm closing this issue now.

So, as it turns out, the fix in #1209 only fixed the issue for login shells.
There are a couple ways this could be fixed for non-login shells: see https://github.com/zsh-users/prezto/issues/35#issuecomment-285049224 and https://github.com/zsh-users/prezto/issues/35#issuecomment-285062100.
@belak Would you like to reopen this, so we can finish up that discussion here?

Sure, makes sense. Thanks for following up.

I think the best method may be to set TMPPREFIX in init.zsh, as that would ensure it's handled properly.

That would fix TMPPREFIX, which would be good as a minimum since prezto itself depends on it. (Though TMPPREFIX is itself a zsh thing.)
That said, the rest of the .zprofile handling seems similarly broken in non-login shells. Can you think of a way to fix the test in .zshenv?

I'm not sure what the best way to handle this would be... I guess this is a bit more complicated than first glance.

so, what's the official fix? it still happens for me on latest master

I don't know if there is a "correct" fix for the runcoms. I haven't actually used them in a while, so I'm not the best person to ask about those.
That being said, the sorin prompt should be fixed, as https://github.com/sorin-ionescu/prezto/commit/2f20a80f7255bffcf878de70192f6df126c6069f ensured a unique tmp file is created for each running process and https://github.com/sorin-ionescu/prezto/commit/a0541ce7a5f3ee5b0d869f1cd2b5546558e3750d ensured that we fall back to /tmp if TMPDIR isn't set.
If you're having similar issues with other parts of the code, or you have more info I can use to reproduce this, I'd be happy to look into it further.

ok, will git pull once those two commits are merged @belak

Those commits were merged about a week ago.

hmmm, but they still happen
nodejs@binarykitchen ~/.zprezto ❯❯❯ git pull
remote: Counting objects: 9, done.
remote: Total 9 (delta 3), reused 3 (delta 3), pack-reused 6
Unpacking objects: 100% (9/9), done.
From https://github.com/sorin-ionescu/prezto
   a0541ce..d9a1380  master     -> origin/master
Updating e606b09..d9a1380
nodejs@binarykitchen ~/.zprezto ❯❯❯ prompt_sorin_precmd_async:4: permission denied: /tmp/zsh-prompt_sorin_data                                               ⏎
nodejs@binarykitchen ~/.zprezto ❯❯❯ zsh                                                                                ⏎
nodejs@binarykitchen ~/.zprezto ❯❯❯ prompt_sorin_precmd_async:4: permission denied: /tmp/zsh-prompt_sorin_data

After pulling did you try in the current shell or a new shell? The current shell would have the old code loaded.

in a new shell of course, that's why i entered zsh inbetween, see above
and no idea who/where /tmp/zsh-prompt_sorin_data is being set

Ah, I didn't see the new shell call. Maybe it's loading from a different location than you think it is. ag prompt_sorin_data gives zero results against the current commit on master.

ok - all i want to know is how to fix this? :)

It should be fixed on master, as I mentioned... but for whatever reason, however you're loading prezto isn't picking up the new version... which leads me to believe that prezto may be cloned to multiple locations on your system and the one which is actually being used has not been updated.
Are your dotfiles posted anywhere? I'd be happy to take a look to see if I can spot anything.

well, the dotfiles are exactly the defaults you provide
lrwxrwxrwx    1 nodejs nodejs   36 Nov 25  2016 .zlogin -> /home/nodejs/.zprezto/runcoms/zlogin
lrwxrwxrwx    1 nodejs nodejs   37 Nov 25  2016 .zlogout -> /home/nodejs/.zprezto/runcoms/zlogout
lrwxrwxrwx    1 nodejs nodejs   39 Nov 25  2016 .zpreztorc -> /home/nodejs/.zprezto/runcoms/zpreztorc
lrwxrwxrwx    1 nodejs nodejs   38 Nov 25  2016 .zprofile -> /home/nodejs/.zprezto/runcoms/zprofile
lrwxrwxrwx    1 nodejs nodejs   36 Nov 25  2016 .zshenv -> /home/nodejs/.zprezto/runcoms/zshenv
-rw-------    1 nodejs nodejs  404 Nov 25  2016 .zsh_history
lrwxrwxrwx    1 nodejs nodejs   35 Nov 25  2016 .zshrc -> /home/nodejs/.zprezto/runcoms/zshrc

This is what I see with the default setup:
[belak@torbjorn ~]$ zsh
~ ❯❯❯ cd .zprezto
~/.zprezto ❯❯❯ git rev-parse HEAD
d9a1380263bbeb27a9ed91b79e04e99b65760535
~/.zprezto ❯❯❯ cd
~ ❯❯❯ ls /tmp/sorin*
/tmp/sorin-prompt-async-HSi7MuXutW
~ ❯❯❯ ls /tmp/zsh*
zsh: no matches found: /tmp/zsh*

This might be a silly question, but are you on the master branch, or do you have another branch checked out? Also, are you using a custom fork? Your git pull log said Updating e606b09..d9a1380 but e606b09 doesn't appear to exist in the main prezto repo.

aaaaaaaaahhhh, finally solved it myself. i had a little git mess, ignored some files. not reverted that and pulled all over again incl submodules. all good now :)
thanks for your help dude!

Glad you got it figured out! And it sounds like this fixed the error for you, so I'm closing this for now. :D
This should be solved, but if anyone runs into this issue please let me know and I can repopen it.

authors: akshayrawat belak binarykitchen donpatrice ezintz jlax47 paulmelnikow

repo: sorin-ionescu/prezto


text:
Error while installing

Maybe it is just me but I don't exactly understand step 3. Is it a case that this is a script that needs to be run? This is what I get when trying to run it. If that is not the correct way to do it please let me know.
./zsh: line 2: setopt: command not found
./zsh: line 3: syntax error near unexpected token `('
./zsh: line 3: `for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do'

Are you executing the 3rd step in zsh?

I dinally figured out to do that but now when running zsh after making a .zshrc with the info from step 3 I get this ln: /Users/username/.zshrc: File exists

I have fixed the issue. I had to mauanly add a symlink to .zprezto/init.zsh. I found the answer here.

authors: nasenatmer nxion


text:
موضوع قطع شدن ارتباط سرور سروش با ربات

سلام و خسته نباشید
سه سال که دارم برنامه نویس ربات انجام میدم و تازگی هم به درخواست کارفرما برنامه نویسی ربات سروش و بله شروع کردم
تمام مستندات تون و حتی دو سوال اینجام هم خوندم
ولی هنوز نتونستم مشکل عجیبی که سرور شما از وب هوک استفاده نکرده رو حل کنم و ارتباط رباتم بعد از چندین ساعت قطع میشه !!
آخه الان من بله رو راه اندازی کردم به خوبی رباتش داره کار می کنه چرا سروشی که رباتش خوشکل تر از بله هست اینقدر توی این موضوع کم کاری کرده و مستندات درستی ارائه نمیده که چجور این مشکل قطع شدن ارتباط درست بشه
و اینکه اگه کانفیگ خاصی برای فعالیت به صورت
SSE
ای که خودتون توضیح دادید اگه قرار روس هاست انجام بشه بهمون بگید
من متوجه موضوع
php-cli
که گفتید نمی شم و دنبالش هم گشتم چیز خاصی پیدا نکردم
لطفا توضیحات لازم رو بهمون بدید
الان 20 روز که ایمیل هم زدم پاسخی از شرکت تون نیومده !!
ممنون میشم مشکل رو بررسی و حل کنید

با سلام و وقت بخیر
در زیرساخت فعلی بات در سروش تمرکز پیاده سازی این سرور روی دریافت اطلاعات پیام های بات بر اساس
SSE
بوده و متاسفانه تا این لحظه هنوز پیاده سازی بر اساس وب هوک انجام نشده است که نیازمندی ها بر اساس آن پیاده سازی شود .
برای اجرای فایل های پی اچ پی به کمک cli
می توانید از راهنمایی های زیر استفاده کنید
https://www.php.net/manual/en/features.commandline.usage.php
https://www.coretechnologies.com/products/AlwaysUp/Apps/RunPHPScriptAsAService.html
اگر نیاز به راهنمایی بیشتر داشتید
مکاتبه نمایید. composer.json لطفا از طریق آدرس ایمیل اعلام شده در فایل

repo: soroush-app/bot-php-sdk


text:
Add short-form params for case sensitivity

Closes #4

[x] All tests pass successfully
[x] Running from Python returns random passwords
[x] New flag work as expected:

$ python src/passgen.py -C
src/passgen.py:168: DeprecationWarning: The *random* parameter to shuffle() has been deprecated
since Python 3.9 and will be removed in a subsequent version.
  srandom.shuffle(chars, srandom)
X0PT08VES1NG
8LU9N89BHVYK
477WYY8EUWUV
893W556Z94L5
57P4D9K98Q8U
1ZSOIY904WKX
7X05AKQT7K2J
404YY01X75LM
MBUG7IW2BC76
OC5DAPKD70KT
(venv)
$ python src/passgen.py -c
src/passgen.py:168: DeprecationWarning: The *random* parameter to shuffle() has been deprecated
since Python 3.9 and will be removed in a subsequent version.
  srandom.shuffle(chars, srandom)
h1l8c7c37u16
2fb92m10cql3
2rt06asr44w4
6k8q9g6pb6je
7q415ntein40
e00k19m5n4gr
511fcnwyf2xv
u66ygnk621v7
399e2224rxy9
4knp68471i5b
(venv)

Thank you very much!

authors: AdamJCavanaugh soslan

repo: soslan/passgen


text:
Windows Server -- DHCP服务器

一、什么是DHCP服务器
DHCP（Dynamic Host Configuration Protocol）服务器是一种网络服务，用于自动分配IP地址给网络上的设备。DHCP服务器负责管理IP地址池，并在设备加入网络时分配IP地址、子网掩码、网关地址等网络配置信息。这种自动配置的方式简化了网络管理。
二、工作原理

客户端发现（DHCP Discover）： 当一个设备连接到网络时（例如，一台电脑启动或移动到新的网络），它会发送一个DHCP发现消息到网络上的广播地址（255.255.255.255），以寻找可用的DHCP服务器。
服务器提供（DHCP Offer）： DHCP服务器接收到发现消息后，会回应一个DHCP提供消息，其中包含IP地址等网络配置信息。如果有多个DHCP服务器存在，客户端会接收到多个提供消息，但通常会选择第一个到达的提供消息。
客户端请求（DHCP Request）： 客户端收到一个或多个DHCP提供消息后，选择其中一个提供消息，并向该DHCP服务器发送一个请求消息，请求分配网络配置信息。
服务器确认（DHCP Acknowledge）： DHCP服务器收到客户端的请求消息后，确认该请求，并发送一个DHCP确认消息，其中包含了所分配的IP地址等网络配置信息。
网络配置生效： 客户端收到DHCP确认消息后，配置所分配的IP地址等网络配置信息，并将其应用于网络连接。此时，设备就可以正常地与网络通信了。

三、租约更新过程
DHCP租约更新是指客户端续租其已经分配的IP地址及其他网络配置信息的过程。租约的更新是为了确保网络上的设备能够继续使用其分配的IP地址，同时也是为了网络资源的有效利用和管理。以下是DHCP租约更新的一般过程：

租约到期检查： 客户端在分配的IP地址使用期限即将到期时，会开始尝试更新租约。在租约到期之前，客户端通常会尝试向DHCP服务器发送请求以更新租约。
请求更新（DHCP Request）： 客户端发送一个DHCP请求消息到DHCP服务器，请求续租其当前使用的IP地址及其他网络配置信息。
服务器确认更新（DHCP Acknowledge）： DHCP服务器收到客户端的更新请求后，会确认该请求，并发送一个DHCP确认消息，其中包含了更新后的网络配置信息。如果DHCP服务器接受了客户端的续租请求，那么它会分配相同的IP地址给客户端，并更新租约的过期时间。
网络配置更新： 客户端收到DHCP确认消息后，会更新其网络配置，包括IP地址、子网掩码、网关地址等。这样，客户端就可以继续在网络上正常通信，并且不会中断其网络连接。

通过定期的租约更新，DHCP可以确保网络上的设备持续地使用其分配的IP地址，并且有效地管理IP地址的分配和释放，从而提高网络的可用性和资源利用效率。
四、DHCP服务配置
安装DHCP服务器角色

DHCP控制台
DHCP服务器安装成功后，开始菜单—管理工具—DHCP服务器，进入DHCP控制台。

创建作用域

配置作用域选项
配置作用域选项，DHCP服务器可以给客户机分配网关及DNS等相应的网络配置信息。

如何保留特定地址
如果用户想保留特定的IP地址给指定的客户机，以便客户机在每次启动时都获得相同的IP地址，就需要将该IP地址与客户机的MAC地址绑定。

可以用客户机进行测试
ipconfig /release 释放现有IP
ipconfig /renew 重新获取IP
配置DHCP类别选项
通过策略为特定的客户端计算机分配不同的IP地址与选项时，可以通过DHCP客户端所发送的供应商类别、用户类来区分客户端计算机。
EX：通过用户类标识符来识别客户端计算机——假设客户端client1的用户类标识符为“IT”。当client1向DHCP服务器租用IP地址时，会将此标识符“IT”传递给服务器，我们希望服务器根据此标识符来分配客户端的IP地址范围为192.168.10.150/24-192.168.10.180/24，并且将客户端的DNS服务器的IP地址设置为192.168.10.1。

五、DHCP中继代理
1、在网络中存在多个子网时，DHCP消息通常无法跨越子网传输，因为DHCP是基于UDP广播的。这就意味着DHCP服务器必须与DHCP客户端在同一个子网上才能收到客户端的广播消息。为了解决这个问题，可以使用DHCP中继代理。
2、DHCP中继代理的工作原理如下：

当一个DHCP客户端发送一个DHCP发现消息时，如果它位于一个子网上，而DHCP服务器位于另一个子网上，该消息会被网络上的DHCP中继代理接收。
DHCP中继代理会将接收到的DHCP发现消息转发给配置的DHCP服务器。
DHCP服务器收到DHCP发现消息后，会相应地回应一个DHCP提供消息，将其发送给DHCP中继代理。
DHCP中继代理再将DHCP提供消息转发给原始的DHCP客户端。

3、跨网络DHCP服务器的使用
符合RFC 1542规范的路由器

如果路由器不符合RFC 1542规范

六、无线中继配置
实验环境拓扑图

1、在GW1上安装路由和远程访问

2、在GW1上设置中继代理

DHCP中继代理

OK

authors: igweek soslane


text:
User and Password request on public address

Hi , I use souliss connected to the local WiFi and from outside through a public IP ( noip.com ) . My question is if there is a possibility that the gateway requests a username and password when trying to log in from an IP outside the local network for safety.

Hi, in the Wiki in the page Security there is an explanation of the
Lockdown that you can use to avoid that others may access your gateway.
It will ban IP address that guess a connection.
Dario.

Great! Thank you Dario, this is a good option.
Luciano.

authors: choncba plinioseniore

repo: souliss/soulissapp


text:
Game doesn't lunch.

Soooo what should we do if we don't have the game in the steam library? Even sticking it in the game's main folder doesn't work either.

Place it in the folder containing the game executable (the Game folder inside the installation). The launcher will look for DarkSoulsIII.exe or eldenring.exe

Read what I said instead of the title.

I think what wolf is asking is if the game lives in c:\games\eldenring What is the syntax to edit the toml file to reflect that. I'm not running the game on steam either and putting the mod files in the game directory doesn't work, should I edit the bat file or the toml file and what would be the proper line to add to get the modengine to see the game, the readme explains how to add several mods in toml file but not how to direct modengine to point to several paths for the game. I even looked for different switches within the executible for modengine...the instruction for the target switch (t) is a bit unclear.

I am also wondering how to properly use the '-t' option to launch Elden Ring installed to a non-steamapp directory.

Read what I said instead of the title.

Read my message again,

Read what I said instead of the title.

Read my message again.

obviously I did or else I wouldn't be here asking, let alone give you that information already. Already did, nothing happens. face palm

What is the syntax to edit the toml file to reflect that. I'm not running the game on steam either and putting the mod files in the game directory doesn't work,

The TOML file doesn't contain game paths, There's currently only 2 mechanisms for finding the game exe (and folder):

Find a Steam installation with the matching appid
Find an executable named <game.exe> adjacent to modengine2_launcher.exe

The TOML file doesn't contain game paths, There's currently only 2 mechanisms for finding the game exe (and folder):

Find an executable named <game.exe> adjacent to modengine2_launcher.exe

Sorry to say, but it does not.
https://puu.sh/ITM7j/c9881f74e3.png

authors: Wolf1030 dalastdragon disgusdad garyttierney


text:
Implement tests for submissions_by_grader_for_index

Improves test seed to accomodate for new test requirements
Implement tests for submissions_by_grader_for_index function

Closes #1071
Closes #1073

coverage: 95.31% (+0.5%) from 94.822%
when pulling fd3dd30d114226c3d2c38065246ad72c943b53b9 on GabrielCWT:feat/assessment_filter_tests
into 2f0746b833b036f1038a984e0ea26aeb5a5c35b8 on source-academy:master.

authors: GabrielCWT coveralls

repo: source-academy/backend


text:
Keep selection after unstaging

When staging a chunck, sourcegit keeps the current file as selected, this is good
But when unstaging, the selection is cleared. This is annoying when you have to unstage multiple chunks from the same file

You can test it from https://github.com/sourcegit-scm/sourcegit/actions/runs/10259374758

authors: julaudo love-linger

repo: sourcegit-scm/sourcegit


text:
Edit: Stream apply insertions line-by-line

Description
closes https://github.com/sourcegraph/cody/issues/1726
Stream insertions into the document when adding code
Initial intention was to just prototype this for all edits, but we can actually do this for "add" insertions now as there is no downside. (Showing something is better than nothing - as we don't have any feedback for add right now)
Generating code
https://github.com/sourcegraph/cody/assets/9516420/6f1975d6-99d2-4467-9edd-b850a7b59524
Generating code alongside other code (Contextually and positionally aware)
https://github.com/sourcegraph/cody/assets/9516420/cd592785-44d5-4a71-b5f8-bcaf5e06ab26
Test plan
With no selection:

Trigger edit from keyboard shortcut / command palette
Trigger edit from code action
Try to "Undo" whilst an edit is streaming

Sub actions:

Click "Undo" on an applied edit, confirm undo is correct
Click "Edits applied" on an applied edit, confirm the diff is correct.
Click "Retry" on an applied edit, confirm this works

Looking great!

Opening this up for review - Still doing some further internal testing myself but so far everything works as expected

There's a bug with the "Retry" functionality for streamed edits (uses wrong range)
Will be fixed when https://github.com/sourcegraph/cody/pull/1926 lands.
Will confirm fixed on this branch when up to date

@abeatrix Really good catch! It's only supposed to do this for the add intent, but because the doc command can have no selection, we were overriding it to be add due to me moving code around :D
I've fixed it now, should work as expected!
Yeah will be really cool to integrate this with the /test flow :)

authors: toolmantim umpox

repo: sourcegraph/cody


text:
bug: chat windows text is in black color in Dark mode

IDE Information
JetBrains Rider 2024.2.4
Build #RD-242.21829.210, built on September 6, 2024
Licensed to Mohamed Farook
Subscription is active until October 7, 2024.
Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
.NET Core v8.0.4 x64 (Server GC)
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2002M
Cores: 12
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
dev.turingcomplete.intellijdevelopertoolsplugins (5.0.0)
org.jetbrains.intellij.scripting-javascript (1.3)
PythonCore (242.21829.142)
org.toml.lang (242.20224.155)
com.intellij.bicep (242.20224.155)
com.supermaven.intellij (1.38)
com.codeium.intellij (1.16.4)
fr.socolin.application-insights-debug-log-viewer (2024.2.0)
com.elicul.azure-devops-commit-message-plugin (1.0.2)
com.zhengfei.aicoding (2024.1.15)
com.sourcegraph.jetbrains (7.0.4)
zielu.gittoolbox (500.2.15+242)
mobi.hsz.idea.gitignore (4.5.3)
com.intellij.resharper.azure (4.1.3)
Bug Description
Initial Dark Mode: When you open Rider in dark mode, the Cody chat window looks different than expected. This indicates a potential bug or inconsistency in the dark mode theme. refer below screenshot pls

But after changing the theme to light mode and then back to dark mode, or switching to another theme and then back to the original dark mode, the chat window appears as expected. This suggests that the initial glitch is resolved by switching themes.

Additional context
I have been experiencing this issue for an extended period, which has significantly impacted my workflow. I kindly request that this matter be addressed with urgency to ensure a seamless user experience, after long frustration I am reporting it, so please fix it asap

Yes, it's the same on my side. But what's more urgent is that the font size is too small.

Same here, I would love to see this fixed as the usability is not nice at the moment.

I already cancelled my Pro Subscription - doing well with Amazon Q + Codeium - totally free of cost

repo: sourcegraph/jetbrains


text:
Bug: fpm  fails to find garden object files

[X] I am reporting a bug others will be able to reproduce and not asking a question or requesting a new feature.

System information including:

OpenCoarrays Version: fpm-build branch commit ad2bfc8196245adda292c87ba2ce311fb4e77a18
Fortran Compiler: gfortran 11.3
C compiler used for building lib: gcc 11.3
Installation method: ./install.sh
All flags & options passed to the installer: none.
Output of uname -a: Darwin CLaSS.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64 (something similar happens on Linux)
MPI library being used: OpenMPI installed via brew install open-mph
Machine architecture and number of physical cores: 8
Version of CMake: N.A.

To help us debug your issue please explain:
What happened (include command output, screenshots, logs, etc.)
Running.install.sh builds and installs ~/.local/bin/caf, ~/.local/bin/cafrun but emits linker errors if the form
ar: build/caf_3E83561A255DFE60/opencoarrays/build_dependencies_garden_src_garden.f90.o: No such file or directory

and several messages about other files missing.  In each case, a similarly-named file with .digest appended at the end of the file name is present in the build tree.
What you expected to happen
A successful build and installation of libopencoarrays.a.
Step-by-step reproduction instructions to reproduce the error/bug
git clone -b fpm-build git@github.com:sourceryinstitute/opencoarrays
cd opencoarrays
./install.sh

After fiddling around with it on my Linux machine, I can make the following observations.
I found a place that MPICC and MPIFC were mixed up in the install.sh script. I've already pushed a commit to fix that.
The install.sh is trying to use caf to build OpenCoarrays. On my machine I get the following error for that.
 + /home/brad/.local/bin/caf -c example/hello.f90  -Wall -Wextra -Wimplicit-interface -fPIC -fmax-errors=1 -g -fcheck=bounds -fcheck=array-temps -fbacktrace -J build/caf_3E83561A255DFE60 -Ibuild/caf_3E83561A255DFE60 -o build/caf_3E83561A255DFE60/opencoarrays/example_hello.f90.o
Failed to find static library /home/brad/.local/lib/libopencoarrays.a or shared library alternatives.
Error in /home/brad/.local/bin/caf in function . on line 224. Please report this error at http://bit.ly/OpenCoarrays-new-issue

It looks like caf isn't exiting with a non-zero status, so fpm doesn't detect the failure and keeps on going. By the time it gets to the archive command, none (most) of the object files haven't actually been created.
I tried switching to using mpifort directly, but it needs the right compile and link flags for that to work properly (I think), because I get warnings like the following.
 + /usr/bin/mpifort -c example/hello.f90  -Wall -Wextra -Wimplicit-interface -fPIC -fmax-errors=1 -g -fcheck=bounds -fcheck=array-temps -fbacktrace -fcoarray=single -J build/mpifort_2A42023B310FA28D -Ibuild/mpifort_2A42023B310FA28D -o build/mpifort_2A42023B310FA28D/opencoarrays/example_hello.f90.o
f951: Warning: Nonexistent include directory '/usr/lib/x86_64-linux-gnu/openmpi/lib/../../fortran/gfortran-mod-15/openmpi' [-Wmissing-include-dirs]

I also think there might be something wrong with my openmpi installation, because I get the following error.
 + /usr/bin/mpicc -c ././src/mpi-runtime/mpi_caf.c  -DPREFIX_NAME=_gfortran_caf_ -DGCC_GE_7 -DGCC_GE_8 -o build/mpifort_EA4E6F5B6A428512/opencoarrays/src_mpi-runtime_mpi_caf.c.o
././src/mpi-runtime/mpi_caf.c:46:10: fatal error: mpi.h: No such file or directory
   46 | #include <mpi.h>
      |          ^~~~~~~
compilation terminated.

I think we should put our heads together on this one. Let's try and get on a call some time today.

authors: everythingfunctional rouson

repo: sourceryinstitute/OpenCoarrays


text:
Add support for Amazon Linux

Add support for OpenVPN service under Amazon Linux 2. AL2 is basically
Redhat 7, so the case node['platform_family'] when 'rhel' was used
as the code for case node['platform_family'] when 'amazon'.
Fixes #178
Tested on Amazon Linux 2, converges successfully.
Signed-off-by: Josh Gitlin jgitlin@pinnacle21.com
Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

          1 Warning

:warning:
This Pull Request is probably missing tests.

  Generated by :no_entry_sign: Danger

Perfect, I'll make those changes early next week and post back, thanks @ramereth !

@ramereth CI tests fail for Amazon Linux 2 because the EPEL repo isn't enabled by default. This is what I use in my wrapper cookbook to fix the issue:
execute "enable epel repo" do
  command 'amazon-linux-extras install epel'
  creates "/etc/yum.repos.d/epel.repo"
end

I am not sure what the best fix is for the Sous Chef repo, because enabling EPEL feels out of scope, but at the same time the install recipe won't succeed on Amazon Linux 2 without it, so... I'm torn. I could refactor so the yum_package("openvpn") has a notifies "execute[enable epel repo]", :before and then the execute "enable epel repo" has an only_if { node["platform_family}] == "amazon" } and notifies "execute[disable epel repo", :delayed... 🤷♂

@jgitlin-p21 instead of doing it that way, why don't you modify:
https://github.com/sous-chefs/openvpn/blob/7e34de239daf4bab99e1f5379597ed1a79710074/recipes/install.rb#L19
To use platform_family?('rhel', 'amazonlinux')? I think that should fix the problem.

I have not given up on this PR! Just been busy with unrelated things. Will try and make the proposed changes tomorrow.

OK @ramereth I think this should be good to go. danger is still failing but that's because I lack permissions?

OK @ramereth I think this should be good to go. danger is still failing but that's because I lack permissions?

Yeah, one of the members has to manually trigger that job since you don't have permission. Looks good.

Apologies @jeffbyrnes and @ramereth I totally forgot there was feedback waiting on me here. I believe I resolved the issues; if you se anything else, or if you'd prefer that I squash-merge my two commits into one nice clean one, just let me know and I'm happy to address!

Decided to do the squash merge/force push to have a cleaner history, didn't like one small cleanup commit in there 🙂

Released as: 5.2.0

@jgitlin-p21 awesome! Thanks for that.

authors: jeffbyrnes jgitlin-p21 kitchen-porter ramereth

repo: sous-chefs/openvpn


text:
Update .rubocop.yml

Thank you for taking the time to contribute back to GitLab!
Please open a merge request on GitLab.com, we look forward to reviewing your contribution! You can log into GitLab.com using your GitHub account.

Can we skip to add sideci.yml? (like automatic detection of additional dependencies)

authors: soutaro tnir

repo: soutaro/gitlabhq


text:
[#6512] CodeQL alert SM00431: Information exposure through an exception

Fixes # 6512
#minor
Description
This PR fixes the CodeQL SM00431 alert related to exposing an exception to the end user (more information).
Specific Changes

Updates response SetBody parameter usage, changing from the whole exception to just the message.

Testing
The following image shows the before and after the applied fix, using the CodeQL query tool.

/promoted 6544

repo: southworks/botbuilder-dotnet


text:
nitpicky DS request

This is a very 'nitpicky' request ..... Is there any way to change the icon on the top left corner of the https://data.soybase.org/Glycine/ ?
Because it says Glycine but the LegumeInfo Icon is there.

If it not possible that is fine.
If it is possible here is a copy if the SoyBase logo.

Made changes to https://github.com/legumeinfo/h5ai/tree/data.legumeinfo.org.
Wrote logic to render logo based on the page url.  Logo is being pull from https://dev.soybase.org/assets/img/sb_logo.png.

Fix pushed to production.

authors: ChenProm-USDA jd-campbell

repo: soybase/jekyll-soybase


text:
texcoords

Is there a way to update texcoords while the mesh vertices are decimated ?

That would be awesome.

I would absolutely like it too!

latest version has a function to update texcoords

authors: BitquakeProgramming goetzmoritz sfornengo sp4cerat


text:
You can eat yourself.

Description

If you are controlling a mob/entity with a food component you can eat yourself.
Screenshots

Sounds like a feature to me

authors: Pangogie metalgearsloth


text:
centcomm stuf

changelog
-christmas tree at arrivals
-small visual updates using new shits
-skub

Saved centcomm as a map, not a grid, please fix that before I can merge.

ehgelelglheehege


text:
Track Admin Game Time

About the PR
Added time tracking for when a player is an admin mode.
Why / Balance
This was requested in the admin feature request and also as a potential way to help onboard and review new admins on to the team. Fixes #24404
Technical details
Add a new time tracker for when an player is an admin and disables when de-admin'ing
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
NA
Changelog
:cl: Repo

add: Admin Time tracking.

@metalgearsloth Should be all the requested changes updated now. 🚀

Going to move the changelog to the admin changelog


text:
Unzippable coats

About the PR

Adding unzippable coats type.
Why / Balance

Logic, zipping is cool.
Technical details

ClothingOuterStorageFoldableBase and ClothingOuterStorageFoldableBaseOpened for coats. Open states now required for this entity types.
Media

(Video recorded just with custom sprites, no sprites changed in this PR)
https://github.com/space-wizards/space-station-14/assets/100022571/756e7922-4065-48c1-8aec-47c6be22c400

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Added ClothingOuterStorageFoldableBase and ClothingOuterStorageFoldableBaseOpened for zipping coats.
Changelog

:cl: SonicHDC

add: Added unzipping for lab coats!

Does this delete the items inside the coat? I can't test it for myself right now.

Does this delete the items inside the coat? I can't test it for myself right now.

No. Just changing of sprite, not a item change.

authors: Nairodian SonicHDC


text:
remove misinformation from tip 26

About the PR
tip 26 is simply not true
according to the prototypes and ChasingWalkSystem, tesla chases, all with equal chance, powered or unpowered:

machines
computers
APCs
airlocks
people
grounding rods and tesla coils

Media

untested
Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

fix: Fixed tip 26 being misinformation about the tesla. It now displays truthful information.

Thanks for fixing it!


text:
now you need hands to rotate stuff

About the PR
title
Why / Balance
mice shouldn't be able to rotate computers methinks
borgs can still rotate stuff (tested)
Technical details
Media
Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
Changelog
:cl:

fix: Now you need hands in order to rotate things.

I think you need to add an args.Hands check for the verbs as well.

I think you need to add an args.Hands check for the verbs as well.

so true


text:
Update Core

About the PR

Add biogens, fix some minor issues on the map, and revert the glass window changes cause I got a better idea.
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Still some directional windows in cargo

oh thanks i missed those

should be good now

test fail

smh my head

im cursed to oblivion ungngunvngng

authors: Emisse Spessmann UbaserB slarticodefast


text:
feat: support commitments of signed 128-bit integers (PROOF-772)

Rationale for this change
Support commitments of signed 128-bit integers.
What changes are included in this PR?

added a custom abs function that works on 128-bit integers
refactored host and GPU code to work on 128-bit integers

Are these changes tested?
Yes. I extended the multiexponentiation tests to cover cases with signed 128-bit integers.

:tada: This PR is included in version 1.20.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: SxT-Release rnburn

repo: spaceandtimelabs/blitzar


text:
wrong layer hash

Overview / Motivation
in a run of the late_nodes test one of the miners had an incorrect layer hash
The Task
find cause and fix
Implementation Notes
http://kibana.spacemesh.io/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:now%2Fw,mode:quick,to:now%2Fw))&_a=(columns:!(M,layer_id,layer_hash),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'4c63e6a0-45c9-11ea-beeb-55f7b675b2db',key:kubernetes.namespace_name,negate:!f,params:(query:hilec,type:phrase),type:phrase,value:hilec),query:(match:(kubernetes.namespace_name:(query:hilec,type:phrase)))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'4c63e6a0-45c9-11ea-beeb-55f7b675b2db',key:layer_id,negate:!f,params:(query:17,type:phrase),type:phrase,value:'17'),query:(match:(layer_id:(query:17,type:phrase))))),index:'4c63e6a0-45c9-11ea-beeb-55f7b675b2db',interval:auto,query:(language:lucene,query:'%22new%20layer%20hash%22'),sort:!(T,desc))
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who haven't introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

Main issue is that we get:
received syntactically invalid ATX e5484: could not calculate active set for ATX e5484 leveldb: not found
It is not clear what's the cause for this error. In a later stage during the test the miner succeeds in calculating the active set (so it finds the atx in the database)
The layer hash issue is just subsequent:
failed to validate block: failed to validate e5484 could not calculate active set for ATX e5484 leveldb: not found
So far we have encountered this bug only in this test.

@barakshani im on it

authors: almogdepaz barakshani

repo: spacemeshos/go-spacemesh


text:
Start net, cpool and dht

Overview / Motivation
We should split creation of modules and starting them, it makes more sense to know whether this service is running or not. this will make it easier to expect routines to be running only after Start.
The Task
Find modules that start on their creation function (dht, net, cpool) and break down the logic to creation and starting.
If dht is created within swarm it should be Started on swarm's Start function.
Implementation Notes
Will probably be better to create a unified way of implementing this that can be reused. @gavraz implemented Closer in hare, maybe we should implement a Starter and take those two structs to a different package.
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who have'nt introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

@y0sher is it still relevant? (if not, plz close it)

I know in fact that some of this is done but we have to revisit to know it everything is aligned (init then start) so we don't split functionality that we don't want before starting.


text:
Ellipsis character after directory

Is there an existing issue for this?

[X] Yes, I have searched the existing issues
[X] Yes, I have checked troubleshooting page

The problem
When I enable spaceship via oh-my-zsh there is what seems to be an ellipsis character (three dots) right after the current directory (see screenshot). Is it possible to remove it and if so, how?

Relevant Zsh configuration
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
#ZSH_THEME="robbyrussell"
ZSH_THEME="spaceship"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled  # disable automatic updates
# zstyle ':omz:update' mode auto      # update automatically without asking
# zstyle ':omz:update' mode reminder  # just remind me to update when it's time

# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
. $HOME/.asdf/asdf.sh
# append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)
# initialise completions with ZSH's compinit
autoload -Uz compinit && compinit

What is version of Spaceship are you using?
4.2.1
What is version of Zsh are you using?
zsh 5.9 (x86_64-pc-linux-gnu)
What operation system are you running?
Linux
Do you use any Zsh framework or plugin manager?
oh-my-zsh
Which terminal emulator do you use?
Terminator
Additional information
No response

It's an async section indicating the unfinished async jobs. It's introduced in v4.0. Read the announcement here: https://spaceship-prompt.sh/blog/2022-spaceship-v4/
You can remove it by adding this to your configuration:
spaceship remove async

or you can disable async rendering completely:
SPACESHIP_PROMPT_ASYNC=false

repo: spaceship-prompt/spaceship-prompt


text:
docs: fix a little typo inside docs/config/prompt.md

Description

In this very little pull request, I am just fixing a little typo left behind in the docs/config/prompt.md file.

Could you review it for me, @denysdovhan?

Thanks for a fix!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: denysdovhan nazarepiedady


text:
Refactor write_to function

There are some shenanigans in there that should be addressed. Namely, the manipulation of self._fd is a cause for concern:
https://github.com/spacetelescope/asdf/blob/32abe89ce024ec93b838bdf684a74662a83ee0f0/asdf/asdf.py#L1088-L1095

Bottom line is I think we should strive for writing to be an idempotent operation.

It also might make sense to deprecate the uri argument to AsdfFile (I'm not sure how much this is used anyway) and instead make it an optional argument to AsdfFile.write_to. Then we should attempt to explicitly pass the URI to all places where it is required instead of making it an attribute of the AsdfFile object.

This is related to #119.

I believe this was addressed in the block management rewrite https://github.com/asdf-format/asdf/pull/1537
Please feel free to reopen this issue if the asdf 3.0.1+ still has this issue.

authors: braingram drdavella

repo: spacetelescope/asdf


text:
Cleanup TravisCI references

Removed .travis.yml, updated status badge to circleCI in readme.
EDIT: Close #49

I don't see CircleCI run for this PR, is that expected?

I don't see CircleCI run for this PR, is that expected?

@pllim I just turned it on to build PRs, I believe it should now.

Any chance to do a force push here to see for sure?
git commit --amend
(Do some superficial edit to commit message, like adding a period.)
git push -f origin branch_name

OK I see CircleCI running on the other PR, so merging this as is. Thanks!

authors: obviousrebel pllim

repo: spacetelescope/notebooks


text:
Enhancements to vertical nav animation and fix primary nav vertical alignment with arrows at mobile

@spadgett @rhamilto for review
container-pf-nav-pf-vertical and .nav-pf-vertical have transitions applied when opening/closing/collapsing and the mobile nav is positioned off-canvas instead of hidden.
The container-pf-nav-pf-vertical class needed to on a separate div from  ng-view to prevent vertical scrollbars from briefly drawing when switching pages. (issue was discussed with Robb)
This also fixes the misaligned arrows at mobile (and closed https://github.com/spadgett/origin-web-console/pull/62)

LGTM

repo: spadgett/origin-web-console


text:
目录的问题

文档中未生成目录。请问是使用了不兼容 GFM 的语法，还是有意留下的彩蛋呢？
{:.no_toc}

    * TOC {:toc}

如果是意外，可以试试这个工具 DocToc，自动生成 TOC，便于项目管理 :smile: 也避免了手动书写带中文锚点。

这个是 Kramdown 的语法。目前是用在 Jekyll 上
我是曾经抱有一丝希望 GitHub 这边可以支持这种语法的，但似乎短期是 不可能的

谢谢您的回复！
Github Pages 服务是 Jekyll 引擎，如果显示的页面是托管在这个页面上，就可以提供 TOC 的扩展吧。
GFM 是基于 CommonMark 扩展。CommonMark 确了 Markdown 中不明确的语法，还是偏重于简单的文档。因此对于有复杂要求的文档我偏爱 AsciiDoc，不过我并不是为了推荐某个项目，我也推荐了 DocToc 这个临时目录生成工具。
我提这个 Issue 的目的出于对这个项目的喜爱，希望它能更好看。我也打算用 adoc 实现一次。 :smile: 再次谢谢您的答疑。


text:
Include name in /json/loginInfo/detail

Summary
It closes #132
/json/loginInfo/detail API에서 사용자 이름을 반환합니다.
SPARCS SSO 로그인 시 사용자 이름을 자연스러워 보이게 변경합니다.  e.g.) "JEONGSANG" -> "SANG JEONG"
Extra info

Needs more than 2 reviewers? n
Needs more than 10 minutes for review? n
Needs to execute in order to review? n

Images

Postman 결과

Further Work

없음.

근데 name 관련 ci 고쳐야할듯 하네용 ㅋㅋ

근데 name 관련 ci 고쳐야할듯 하네용 ㅋㅋ

우와 감사합니당... CI가 처음으로 유용했어요!

repo: sparcs-kaist/taxi-back


text:
Feature/migrate

adds libraries v1 to v2 migration.

Coverage remained the same at 100.0% when pulling 725cc656a2fcd1c210f571507f4f6f248b168837 on feature/migrate into 808d7e312f1d3bb8dc66ff93a7a5a2abe96628b8 on master.

Coverage remained the same at 100.0% when pulling 12e091b6a8d0d6a785ac2a98ecff3a3d78a632f6 on feature/migrate into 808d7e312f1d3bb8dc66ff93a7a5a2abe96628b8 on master.

Coverage remained the same at 100.0% when pulling a04395937e2bc2211ca8ddb99677f08c0c37a4d1 on feature/migrate into 808d7e312f1d3bb8dc66ff93a7a5a2abe96628b8 on master.

authors: coveralls m-mcgowan

repo: spark/cli-library-manager


text:
return value of begin() is incompatible

In general, the return value of begin() is true when sensor is initilized successfully.

Fixed in v1.1.5

Thanks for the catch!


text:
Authorization not being sent?

I am trying to debug a request that's not working. It's going to an internal site that is protected by an IIS authentication scheme. I've tried various combinations of basic and NTLM authentication per the documentation, but haven't been able to figure this out: when I do a packet capture, the "Authorization" header is not being sent by Mechanize.
Server response excerpt showing the supported Authorization schemes:
...
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="192.168.1.1"
...

Mechanize code:
agent = Mechanize.new
agent.user_agent_alias = 'Windows Mozilla'
agent.add_auth('http://internalserver/', 'username', 'password', nil, 'windows_domain')
agent.log = Logger.new "scraper.log"
agent.log.level = Logger::DEBUG
page = agent.get('http://internalserver/path/to/file.html')

This code hangs at the agent.get, and when I check the log file, it shows the basic response with the authorization schemes as though Mechanize never sent the auth header.
I then confirmed with tcpdump that Mechanize isn't sending the auth header:
GET /path/to/file.html HTTP/1.1
Accept-Encoding: gzip,deflate,identity
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Host: internalserver
Connection: keep-alive
Keep-Alive: 300

Lastly, I tried debugging with irb, but the internal data structure seems to be filled in properly:
> require 'mechanize'
=> true
> agent = Mechanize.new
=> #<Mechanize:...
> agent.add_auth('http://internalserver/', 'username', 'password', nil, 'windows_domain')
=> #<Mechanize::HTTP::AuthStore:...
> agent.agent.auth_store
=> #<Mechanize::HTTP::AuthStore:0x007f8e4a679a00 @auth_accounts={#<URI::HTTP http://internalserver/>=>{nil=>["username", "password", "windows_domain"]}}, @default_auth=nil>
> agent.get("http://internalserver/")
[hangs...]

Note: I've also tried combinations of: AD domain, server DNS name, server IP address within both the realm and domain parameters to add_auth (hoping that one of those would send an auth through either NTLM or Basic authentication), but same results each time.
I'm using Ruby 2.3.1p112 and Mechanize 2.7.4 on Mac OS X El Capitan.
I'm not a Ruby expert and going through the Mechanize code in detail has proved a bit over my head... Any thoughts on why Mechanize isn't sending the auth or how I can debug it?

After further digging, it looks like this might be a duplicate of issue #442. The hang occurs in the parse function in www_authenticate_parser.rb. By applying @gchan's patch I was able to get it to work.

repo: sparklemotion/mechanize


text:
NodeSet#each to return self instead of zero

PR for https://github.com/sparklemotion/nokogiri/issues/1822

I commented on this at #1822. Will merge and this should be in the next release. Thank you!

authors: flavorjones olehif

repo: sparklemotion/nokogiri


text:
Fix Clang warnings about casting void* to an enum

What problem is this PR intended to solve?
Clang warns about casting void * to an enum. This cast is fine in this case so first cast to intptr_t.

Have you included adequate test coverage?
This isn't a functional change so no tests were added. (I don't think we test for the absence of compiler warnings.)

Does this change affect the behavior of either the C or the Java implementations?
No.

Looks good! Thanks!

authors: flavorjones stevecheckoway


text:
Add minimum channel size

This change adds the notion of a minimum channel size to both LND Engine and LND itself.
In LND, this configuration is used to reject incoming channels that are too small to be useful because of fees.
In the LND Engine, this configuration is used to prevent opening channels that are too small to be useful.

 Add minimum channel balance to lnd-engine

@treygriffith forgot to ask. This code would affect how we are opening channels for a larger balance (say 1 BTC). There is a potential to reject a channel being created from a user. Do we need to expose min and max so that the broker can handle this case?

@dannypaz yes the idea is to expose this to the Broker to use.

authors: dannypaz treygriffith

repo: sparkswap/lnd-engine