text:
[HERMES-2554] Support disabling Deno SSL certificate verification via flag

Summary
Allows the CLI to pass in a flag --sdk-unsafely-ignore-certificate-errors to tell the SDK to pass the specific domain to Deno's --unsafely-ignore-certificate-errors flag, so that it doesn't complain about SSL errors on numbered dev instances.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant mcodik

repo: slackapi/deno-slack-hooks


text:
README: clarify limitations to workflow builder approach

Summary
The previously docs described "Technique 1" as "the recommended way to use this action", but that doesn't make sense given it doesn't support any text or message formatting (cf. https://github.com/slackapi/slack-github-action/issues/192#issuecomment-1641400917). This attempts to make that limitation clearer, cc @seratch.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Hi @ryan-williams! Thanks for the submission. Since @seratch was part of the original discussion that this change cites, awaiting his confirmation that this change is good to go prior to merging.

source: gharchive/pull-request

authors: misscoded ryan-williams

repo: slackapi/slack-github-action

license: MIT

license_type: permissive

license_source: github-api


text:
我的问题汇总——关于Youtube2016

hi,dear 大佬
这是我的一些浅显的问题，
请指点下，多谢
1.能不能提供下数据集？
2.这里面的
data.columns = ['UId', 'ItemId', 'BrandId', 'MiddlesortId', 'ClickTime', 'Date']
middlesortId是啥？Date呢？
3.负采样是怎么做的啊？
self.sub_sample = tf.placeholder(tf.int32, [None, None])  # soft layer (pos_clict,neg_list)[B,sub_size]
4.y是什么呢？怎么是2维的呢？是one-hot之前的吧？link
self.y = tf.placeholder(tf.float32, [None, None])  # label one hot[B]
5.这里的item与brand及middlesort各自代表什么意思呢？我原以为item就是brand呢？
还是说item是物品，brand是牌子名字，middlesort又是什么呢？同问题2
        item_emb_w = tf.get_variable("item_emb_w", [self.item_count, self.embedding_size])
        brand_emb_w = tf.get_variable("brand_emb_w", [self.brand_count, self.embedding_size])
        msort_emb_w = tf.get_variable("msort_emb_w", [self.msort_count, self.embedding_size])

6.请教下mask是表示什么？对这个词有点陌生
mask = tf.sequence_mask(self.sl, tf.shape(h_emb)[1], dtype=tf.float32)  # [B,T]
另外这里的sl是什么啊？
还是请提供下数据及必要的说明吧
多谢大佬

人生艰难啊。
搜索词咋做特征啊？？？

source: gharchive/issue


text:
EQ, Semigroup and Show instances or URL

I don't know of this is something you'd like to have for simple wrappers.
By the way, is something like NewtypeDeriving somewhere on the roadmap for PS? :)

:+1:

:+1:

Thanks @passy!

Ultimately it would be nice to have purescript-url which has URL parser, uses Pathy's Path type for the path component, represents query string parameters using StrMap String or something similar, etc. This URL type can contain a lot of things which have no relation to URLs. :smile: Also occurs to me it should probably be a newtype rather than a data declaration -- if someone wants to change it the next time they're working in that file.

I've made a start on that: https://github.com/garyb/purescript-uri but it doesn't break things up that finely yet.
Happy to move that repo to slamdata also, if you like?

Yes, please!

authors: garyb jdegoes paf31 passy

repo: slamdata/purescript-halogen

license_source: bigquery


text:
#328: Travis Releases

Attempt to automate releases via Travis CI.
Addresses #328.

:+1:

authors: adityatrivedi alykhank

repo: sleekbyte/tailor

license: mit


text:
clarify usage of convenience-functions

They were a very mysterious concept at first and I had to read the source in order to understand them. Writing just a few sentences should clarify the usage for everyone else with the same problem.

Gorgeous, thank you!

authors: kvark minecrawler

repo: slide-rs/specs


text:
fix: create app template error

Here is the thing:

package create-app invoke build
build command copy files

but ../../demo/starter/slides.md includes ../../demo/starter/pages/multiple-entries.md:

So we must copy multiple-entries.md when build.
I create a script to do this work.
Hope will fix this issue :)

Seems like the fix is still unreleased, so creating a slidev today still results in an error.

repo: slidevjs/slidev


text:
location.reload(true) should reload without ServiceWorker

This would allow scripts to trigger a reload without SW, which could be a useful panic-button, or to tools such as browsersync.

Boolean arguments are bad. 2) The location API is full of sorrow. 3) This particular part of the location API already has a bunch of special cases, how would such an argument affect them?

The argument isn't new

Hmm, it's not in the spec, let me double check I'm not just making shit up

Hmm, it's not spec'd, but AKAIK it's well supported https://developer.mozilla.org/en-US/docs/Web/API/Location.reload

Filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=27764 on HTML.

Ta!

It seems it's just a Gecko thing.
I would strongly recommend not trying to reuse this API. It's probably fraught with compatibility issues.

Given .reload(true) isn't in the spec & is only supported by Gecko and they're considering removing it… nahhhhhhhhhh

authors: Hixie annevk jakearchibald

repo: slightlyoff/ServiceWorker


text:
Store the argument name inside the exception object.

This should fix #34
I can see @alexmic suggested we should store also the value of the argument.
My opinion is that this is not a good idea. Especially if we want to validate files or payloads of bigger sizes (consider a dict, base64 hash, etc...)
Let me know if you think that won't be an issue.
Thanks in advance for reviewing this.

Hey @stats, my suggestion was just for the name. "Longer than 10" was just the validation error message.

@alexmic sorry, my bad.

No worries – thanks for taking a look at this, much appreciated.

Looks like travis is broken, might need a pip version update.

Thanks @stas for your contribution. If you pull from dev the Travis build should be fixed.
This looks good; just a minor change suggested in my comment. Otherwise, this should be good to merge.

I updated the PR based on your suggestion @sloria. Thanks.
This should be good to merge.

Thanks @stas !

authors: alexmic sloria stas

repo: sloria/webargs


text:
manage discrete repo of workflows, share as volume

The Monitor must have read access (soon also: write access) to the repository of workflow scripts. Currently they are deployed in the Manager container only.
Proposal: a dedicated path within the shared volume, optionally under git version control. Workflows are copied to the process directory prior to processing.

Additionally, I suggest introducing a workflow mount directory where users can place their workflow files (and also the required models?).

(and also the required models?).

That already exists (volume /models), but on the Controller (naturally).

I suggest introducing a workflow mount directory

Indeed, this should be a bind-mount, not a shared volume.

authors: SvenMarcus bertsky


text:
shap_interaction_values - interpretation as difference in SHAP values

Hi,
I was looking at SHAP interaction values, and this paper:
Consistent Individualized Feature Attribution for Tree Ensembles
I was hoping someone could help me understand section 4 on interaction values better.  It says these can be interpreted as "the difference between the SHAP values for feature i when feature j is present and the SHAP values for feature i when feature j is absent".
I understand "present" means fixed to the value for the observation in question, but what does "absent" mean?  I usually understand absence in Shapley as being replaced by a random value in the foil dataset.  Is this a similar interpretation for feature interactions in SHAP?
If you calculate the Shapley values with and without the feature, you may also have very different overall scores to distribute across the features.  Is this correct?  The total scores could be very different, for feature j absent vs. present?
I was also wondering if my thinking is right about a tree model where one feature, (j) is very influential. Let's say high values of j always lead to a high model score, but at lower values, other features can modify the risk.  For an observation at high j, the feature i has no effect.  If j is set to random values, these would be average-ish, and you might go down tree paths where i has some effect.  But when you put a large j in, i has essentially zero effect.   In that case you have the interaction value of 0 - (effect of feature i when j is average-ish).  Is this a correct interpretation?
Thank you very much!

I have found some information on feature absence for TreeShap in Christoph Molnar's book here.
It appears that an absent feature just follows all possible tree paths, which would lead to sort of average-ish Shapley values if the "absent" feature is dominant.   It seems that a dominant feature might have some potentially misleading interactions in some cases.

repo: slundberg/shap


text:
[JB plugin] Internal error: Default]

An internal error happened in the IDE plugin.
Message: *** exception class was changed or removed
Stack trace
  Unhandled exception in [CoroutineName(com.smallcloud.refactai.Initializer), StandaloneCoroutine{Cancelling}@774a301f, Dispatchers.Default]

  java.nio.file.AccessDeniedException: C:\Users\exon\.refact\bin\refact-lsp.exe
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
at java.base/java.nio.file.Files.copy(Files.java:3148)
at com.smallcloud.refactai.lsp.LSPProcessHolder.startup(LSPProcessHolder.kt:101)
at com.smallcloud.refactai.Initializer.initialize(Initializer.kt:52)
at com.smallcloud.refactai.Initializer.execute(Initializer.kt:25)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invokeSuspend(StartupManagerImpl.kt:534)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invoke(StartupManagerImpl.kt)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invoke(StartupManagerImpl.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:532)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(com.smallcloud.refactai.Initializer), StandaloneCoroutine{Cancelled}@774a301f, Dispatchers.Default]

Environment

Plugin version: 1.2.4
IDE: WebStorm 2023.2.5  Build #WS-232.10227.9
JDK: 17.0.9; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
OS: Windows 10.0
ARCH: amd64
MODE: Cloud

Additional information

#44 same

Hi! try new 1.2.5 version. Hope it helps you.

repo: smallcloudai/refact-intellij


text:
mvn command fails

When running che command
mvn clean package
it fails:
`
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project kafka_example: Compilation failure: Compilation failure:
[ERROR] /tmp/example/kafka-example-in-scala/src/main/java/com/colobu/kafka/ConsumerExample.java:[52,5] error: generics are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /tmp/example/kafka-example-in-scala/src/main/java/com/colobu/kafka/ConsumerExample.java:[60,48] error: enhanced for loops are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR] /tmp/example/kafka-example-in-scala/src/main/java/com/colobu/kafka/ProducerExample.java:[32,16] error: generics are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /tmp/example/kafka-example-in-scala/src/main/java/com/colobu/kafka/ConsumerTest.java:[14,20] error: generics are not supported in -source 1.3
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
`

your JDK version is too old.
You should upgrade your JDK to 1.7 or 1.8

Thanks for the reply.
My JDK version is update to 1.7, for some reason mvn choose by default a 1.3 version of the JDK.
I figured that there was a problem in the compiler, since I've never used the maven-shade-plugin I added the following plugin, specifying the JDK version (1.7):
<plugin>        <groupId>org.apache.maven.plugins</groupId>        <artifactId>maven-compiler-plugin</artifactId>        <configuration>                     <source>1.7</source>                     <target>1.7</target>        </configuration>  </plugin>
That worked out fine with me.

yes. Another solution is adding the below properties:
<properties>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>
</properties>

repo: smallnest/kafka-example-in-scala


text:
🛑 [DONATION] AmbisCamp Moodle (tunnel) is down

In 0d1e6de, [DONATION] AmbisCamp Moodle (tunnel) (https://ambiscamp-cbt.sman3palu.sch.id) was down:

HTTP code: 530
Response time: 118 ms

Resolved: [DONATION] AmbisCamp Moodle (tunnel) is back up in 726313e after 8 minutes.

repo: smantriplw/uptime-services


text:
Add Pagination functionality so that we can download our text as a sequence of multiple images

Reference
DO NOT COPY PASTE DIRECTLY. Rather, understand the code and try to re-implement for our case.

can you please assign this issue to me?

@smaranjitghose I would like to implement this feature. I believe I can do it. Please assign it to me.


text:
多设备同时接入，点击start提示错误

fixed

固定的

还是不行，报同样的错

fixed
还是不行，报同样的错

查看版本是否是1.0.36，自测是没有问题了的

查看版本是否是1.0.36，自测是没有问题了的

不好意思光clone了，没执行pip3 install -U solox，执行完升到1.0.36就好了，抱歉

repo: smart-test-ti/SoloX


text:
开启测试后，设备不停的闪充电弹窗

设备是小米13

vivo s7经测试同样复现

参考：https://github.com/smart-test-ti/SoloX/issues/213

参考：#213

非常感谢！


text:
AOA improvements

This pull request is to make it much easier for developers to use AOA/USB. Currently the way to make this work is very confusing.
This will allow developers to use the onSdlEnabled callback in the SdlBroadcastReceiver to start their service with the proper USB extras. Then in the onStart method in their service, they can check the intent for the proper extras.
public void startProxy(Intent intent) {
        if (proxy == null) {
            try {
                BaseTransportConfig transport = null;
                if(intent!=null && intent.hasExtra(UsbManager.EXTRA_ACCESSORY)){ //If we want to support USB transport
                    if(android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.HONEYCOMB){
                        Log.e(TAG, "Unable to start proxy. Android OS version is too low");
                        return;
                    }
                    //We have a usb transport
                    transport = new USBTransportConfig(getBaseContext(),(UsbAccessory)intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY));
                }else{
                    //If we don't want anything but USB then would just do a return here and bail
                   // transport = new MultiplexTransportConfig(getBaseContext(), APP_ID);
                    Log.e(TAG, "Not usb intent. Shutting down");
                    stopSelf();
                    return;
                }
                proxy = new SdlProxyALM(this, APP_NAME,
                        true, APP_ID,
                        transport);
            } catch (SdlException e) {
                e.printStackTrace();
                // error creating proxy, returned proxy = null
                if (proxy == null) {
                    stopSelf();
                }
            }
        }
    }

A more detailed guide can be written around exactly how to connect the app via USB, but this is the main point.

Would it be possible to push a hello_sdl_android branch that could be used with to test the changes?

Yea I can do. I'll tag it here when pushed.

See hello sdl repo for example: https://github.com/smartdevicelink/hello_sdl_android/tree/feature/aoa_improvements

authors: joeygrover mrapitis


text:
Bugfix/issue 388

Protecting against OOM error reported in issue #388

Occurances are:

https://github.com/smartdevicelink/sdl_android/blob/master/sdl_android_lib/src/com/smartdevicelink/util/DebugTool.java#L308

https://github.com/smartdevicelink/sdl_android/blob/master/sdl_android_lib/src/com/smartdevicelink/protocol/WiProProtocol.java#L283
3.
https://github.com/smartdevicelink/sdl_android/blob/master/sdl_android_lib/src/com/smartdevicelink/protocol/WiProProtocol.java#L431
4.
https://github.com/smartdevicelink/sdl_android/blob/master/sdl_android_lib/src/com/smartdevicelink/transport/SdlRouterService.java#L1414


text:
Release 10.2.3

Story: https://app.shortcut.com/smileid/story/xxx
Summary
A few sentences/bullet points about the changes
Known Issues
Any shortcomings in your work. This may include corner cases not correctly handled or issues related
to but not within the scope of your PR. Design compromises should be discussed here if they were not
already discussed above.
Test Instructions
Concise test instructions on how to verify that your feature works as intended. This should include
changes to the development environment (if applicable) and all commands needed to run your work.
Screenshot
If applicable (e.g. UI changes), add screenshots to help explain your work.

lass needs a version u

Updated

repo: smileidentity/ios


text:
いいところ診断の結果に優しさを追加したい

以下の結果を追加したい
'{userName}のいいところは優しさです。あなたの優しい雰囲気や立ち振る舞いに多くの人が癒されています。'

これから対応します。

fbb2ab2 で対応されました。

repo: sminamisawa/assessment


text:
not play when manually change seekbar position (when remotly play encrypted video)

hi mohsen
i use your code to play an encrypted video remotly. it work and play but when manually change seekbar position then it dont play

@yaservaziri
Have you solved the problem of not being able to seekto when playing encrypted videos? I've been stuck here recently!

@yaservaziri
Have you solved the problem of not being able to seekto when playing encrypted videos? I've been stuck here recently!

No. It just work for 10-15seconds ⏩. But it not work for backward or forward for more than minute. If you can solve, please contact me ( @yaservaziri )
Can you help us? @smmousavi8872

authors: ladeng yaservaziri


text:
All tribs to horsefly upstream of falls at 67,523 are incorrectly processed

A null local code for the falls means that upstream tribs do not get coded as upstream of the barrier:
select barrier_type, wscode_ltree, localcode_ltree from bcfishpass.barriers_ch_cm_co_pk_sk
where barriers_ch_cm_co_pk_sk_id = '22696860067524';

 barrier_type |   wscode_ltree    | localcode_ltree
--------------+-------------------+-----------------
 FALLS        | 100.458399.638146 |
(1 row)

This seems like a FWA load problem, no records in whse_basemapping.fwa_obstructions_sp have a local code.

make .make/fwa_obstructions_sp seems to work fine, not sure how two different databases came to have this same issue...

Monitor for now, it won't be an issue once falls come from CABD

this was an an fwa load issue

repo: smnorris/bcfishpass


text:
Use kqueue on haiku

It seems haiku supports kqueue.

https://github.com/haiku/haiku/blob/r1beta5/headers/compatibility/bsd/sys/event.h
https://github.com/rust-lang/libc/pull/4221

cc @hoanga who added haiku support in https://github.com/smol-rs/polling/pull/154.

No rush to implement this; I doubt a significant portion of our users are on Haiku.

authors: notgull taiki-e

repo: smol-rs/polling


text:
bug

是不是有问题啊大佬，，加载音频都报错，直接播放没问题，我换了MP3,WAV都不行，是啥问题

我搞定了，这个不要上传512*512的图吗，为啥输出后多出来两个不和谐的手。。

嗯试过了但是效果似乎不太理想。。。

官方提高的npy文件只是包含双手的mask，如果头部尺寸不匹配，会出来比较鬼畜的图。然而他们的官方对齐代码一直没放，就先玩玩吧。如果要最好的效果，确保尺寸是768*768，且人物肢体占比类似官方的示例图，就可以。


text:
Code questions

I tried to separate monad transformers from just code :-)

Do we really want to throw away the error message with a eitherToMaybe or should we display it to the user in some way?

We should probably do something more stateful, where we parse the file whenever it is changed and use the already parsed data for the hover info. But maybe that is just extra work and the simpler solution is enough for prototyping

I thought this is Hover-specific pipe so we don't need to display errors.
As errors will be send through diagnostics.
But on the second thought maybe we can display Error in Hover indeed.

Yes, you're probably right. We might want to merge it to a single function for doing the parsing that also sends diagnostics, which is run both on save/edit and on hover (until (if) we do the more stateful version).

I still want to keep LspM out of the pipe.
I'm thinking I can try to use change Maybe Hover to Either Err Hover.
to push it to top level
Then at the top where LspM is available
either send diagnostic from Err or Hover.


text:
Bootstrap select live search option is not working inside JTABLE Jquery

I have issue with bootstrap select control. When i use to work with Jtable the textbox inside bs-searchbox is not working. Please help me to sort out the problem.
Thanks,

Closing as out of scope support request.

authors: MaheswariSubburathinam NicolasCARPi

repo: snapappointments/bootstrap-select


text:
[#2395] for virtual scroll, show last chunk in case of no previous match

fixes #2395

Thanks for the PR. Could you link me to a demo of the problem?

As far as I can recall, this problem only happened with #2394 applied. However, I just tested with 1.13.14 + #2394 and it seems like this PR (#2396) is no longer needed. Let me do some more testing on Monday. If nothing shows up I will close this PR.


text:
Add voting type in settings

Fixes https://github.com/snapshot-labs/snapshot/issues/811

@samuveth Unrelated to this. But In dark mode the select dropdown is not looking good.

authors: midgerate samuveth

repo: snapshot-labs/snapshot


text:
feat: handle Matic token icon

Test plan
Check http://localhost:3000/token/eip155:137:0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee?s=64 returns Matic icon.

Would this work with short names (EIP-3770)?

This returns Ethereum logo for me somehow http://localhost:3000/token/eip155:137:0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee?s=64
Same with short names.

@bonustrack doesn't for me:

Looks like AWS somehow caches it.

authors: Sekhmet bonustrack

repo: snapshot-labs/stamp


text:
Bridgy Publish to Twitter: detect u-video and post video tweet

Similar to Bridgy Publish to Twitter u-photo support, Bridgy Publish to Twitter should (before photos) try to detect u-video and if found, post a video tweet to Twitter.
Test post where I'll be trying this (has u-video markup)
http://tantek.com/2015/346/t3/world-of-laughter-tears-hopes-fears
(actually tried to trick Bridgy Publish with u-photo and that was rejected by the silo API calls)

:+1: totally!

the catch is that it looks like we need to upload the video, ie we can't just provide a URL. that makes this tricky.

For future reference: videos have to use chunked uploads (The docs don't make that very clear)

done! woo!

authors: kylewm snarfed tantek

repo: snarfed/bridgy


text:
Clause.proof_depth counts ESA-steps as 0

Clause.proof_depth / Proof.Step.inferences_perfomed considers only Inference or Simplifcation steps, but not Esa steps (e.g. Avatar). This might confuse the heuristics using it.

Hmm if we solve #64 (maybe with a custom way of handling a <= [a]?) then we can make AVATAR an inference, I guess.
I don't think this should impact the heuristics much?

I don't know how large the impact is on heuristics, but I saw that it confused @petarvukmirovic who wrote an assertion assert((C.proof_depth c) <= C.proof_depth new_c);.
Moreover, I am currently adding new kinds of step, e.g. a CNF step and a term conversion step. Maybe I shouldn't do that?

I think more kinds of steps might be good, if you handle the TSTP output and llproof checker properly (which I assume is the whole point anyway).
In that case AVATAR could get its own kind of proof step that refines "inference"?

I don't know if Avatar really needs it's own kind of step because if ϕ <= [ψ] is interpreted as ϕ ∨ ¬ ψ, then it is not even a real Esa step.

What do you mean by "refines inference"? Right now it looks like this:
type kind =
  | Intro of source * role
  | Inference of rule * tag list
  | Simplification of rule * tag list
  | Cnf of skolem list
  | Conv (** Conversion of different term datatypes *)
  | Esa of rule * tag list
  | Trivial (** trivial, or trivial within theories *)
  | Define of ID.t * source (** definition *)
  | By_def of ID.t (** following from the def of ID *)

Would you prefer this?
  | Inference of sort * rule * tag list

where sort can be CNF, Conv, Esa, etc.?

I mean, it's an inference, but the llprover must handle it differently (namely, by not using opaque for the assumptions, otherwise it's not obvious why it's a tautology). It could actually be "trivial" for these clauses, and a regular inference for the boolean clause that embeds the actual splitting rule :-)

authors: benti c-cube

repo: sneeuwballen/zipperposition


text:
ensure lowercase email as username; Azure AD upn appears to be case-sensitive

Is there a way to ensure that the Azure AD upn (effectively an email address) is set to all lowercase before creating a new username with it?  That is, I wish my Django implementation to use case-insensitive email addresses (stored as all lower-case) as usernames. I am wondering how best to achieve this useing django-auth-adfs.
Discovery
I am using the demo/adfs project pointing at my dev ADFS. I wanted to see how the User mapping worked with the django-auth-adfs add-on so I created a super user using justin.vanderziel@mycompany.com and tried to login but access was denied. So I tried to create a super user using Justin.VanderZiel@mycompany.com but the Django admin said that the user already existed! I modified the Django user created using the UPN to have the is_superuser flag using the Django Admin so I could see what was going on. It seems that I have two users created: one with a username of justin.vanderziel@mycompany.com and another with a username of Justin.VanderZiel@mycompany.com. Regardless of the case-sensitivity requirements of Azure AD for the UPNs I would like the case-insensitive UPN to be used as the username. In my main project I have created a customer user based on AbstractUser that uses the email address field type (presumably case-insensitive)

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

This isn't something we're unlikely to change. I would recommend that you subclass the AdfsBaseBackend (or whichever backend you're using) and redefine the create_user function to your specifications.

I've seen read in other forums that it's best practice to respect the case of the email provider so I get that. I'll take a look at the links you provided.

Essentially he says you can do this:
class MyCustomAdfsAuthCodeBackend(AdfsAuthCodeBackend):
    def create_user(self, claims):
        # my custom implementation of create_user

And then where you use AdfsAuthCodeBackend, you use your own MyCustomAdfsAuthCodeBackend instead.

Here's the (current) rub: I'm trying to authenticate against Azure Entra (AD). In your ADFS Config Guide for Azure AD you indicate that (only) the django_auth_adfs.backend.AdfsAccessTokenBackend is required in the AUTHENTICATION_BACKENDS. However, I get an inexplicable Login Failed error whenever I try to login if I remove the django_auth_adfs.backend.AdfsAuthCodeBackend from my list of AUTHENTICATION_BACKENDS. This is not a problem as it stands: I enable both and everything works. However, which backend would I have to customize? - both?

AdfsAccessTokenBackend is for rest API auth (using access tokens only). AdfsAuthCodeBackend is for Django auth, where you get redirected and the token is fetched by the Django backend. So if you don't use DRF, you don't need the AdfsAccessTokenBackend.
Anyway, yes, you would have to customize any backend you use.

authors: JonasKs tim-schilling vanderzielj

repo: snok/django-auth-adfs


text:
This dependency was not found:  * svg-baker-runtime/browser-symbol in ./src/icons/svg/404.svg

➜  vue-element-admin git:(master) ✗ pnpm run dev

> vue-element-admin@4.4.0 dev /Users/snowdream/vue-element-admin
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting CopyPlugin

 ERROR  Failed to compile with 1 error                                                                                20:38:44

This dependency was not found:

* svg-baker-runtime/browser-symbol in ./src/icons/svg/404.svg

To install it, you can run: npm install --save svg-baker-runtime/browser-symbol

https://github.com/PanJiaChen/vue-admin-template/issues/728#issuecomment-1362533418

repo: snowdreamtech/vue-element-admin


text:
SNOW-1618380: Not able to configure snowpark as i am using python 3.12.4 version

Please answer these questions before submitting your issue. Thanks!

What version of Python are you using?

Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)]

What are the Snowpark Python and pandas versions in the environment?
grep : The term 'grep' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:25

python -m pip freeze | grep -e "snowpark" -e "pandas"

                    ~~~~

CategoryInfo          : ObjectNotFound: (grep:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

What did you do?
If possible, provide a recipe for reproducing the issue.
A complete runnable program is good.

What did you expect to see?
What should have happened and what happened instead? Please describe the expected behavior or output when the same code is run against a Snowflake connection.

@nagpvny Snowpark is going to support Python 3.12 soon but not today. We'll update it here https://docs.snowflake.com/en/developer-guide/snowpark/python/setup#prerequisites

Support coming soon?

authors: nagpvny sfc-gh-yixie someburner

repo: snowflakedb/snowpark-python


text:
Replace Golang role and add dep role

These changes are updates for the sql-runner. It replaces the role for installing golang with one that's more robust and configurable. Also adds a role for installing dep, since go-dep is deprecated.

As in add a submodule?

no, just reference the module directly.
I don't know anything about ansible so I might be talking rubbish
Can you help us @jbeemster ?

authors: BenFradet mhadam

repo: snowplow/ansible-playbooks


text:
Needs an option for restarting zookeeper manually on RestartSignificantConfiguration change

I am not suspecting Exhibitor's rolling release feature but sometimes rolling release can make system unstable a little bit because it's restarting all zookeeper instances in a short period.
So, I want to restart zookeepers manually with an interval while watching restarted zookeeper node is working well.

Closing this issue for now since its been a long time.
You can re-open if you have further comments.

authors: metacret xiaochuanyu

repo: soabase/exhibitor


text:
New release number?

Can you guys tag a release when you are next stable, I am about to push a few clusters and would love to be up to date!

I know its kinda late but we will release a new version soon.
I've contacted the original author to get me setup so I can do it myself.

New version 1.6.0 have been released. Note that it is a under a new group ID io.soabase.exhibitor.
Closing issue for now.

authors: jayzalowitz xiaochuanyu


text:
QUESTION Can I override internal dependencies?

README states that

Internal dependencies are Conductor 1.1.4 and Mosby 2.0.1

Can I simply override them in gradle by using:

compile 'com.bluelinelabs:conductor:1.1.6'
compile 'com.bluelinelabs:conductor-rxlifecycle:1.1.6'

?

Yes, this is safe to do!
However,  there is an issues with Conductor #2

authors: sdrygalski sockeqwe

repo: sockeqwe/mosby-conductor


text:
chore: cleanup imports and use exported type and enum from socket.io-adapter

split type and other imports to be consistent with other adapter repos
use the MessageType enum instead of just hardcoded numbers

Awesome, thanks :+1:

No problem!

authors: darrachequesne jwetzell


text:
Http request with large request body is not working with socket sticky session

Hi,
Using socket sticky with nodejs cluster adapter. But for the post route with a large request body, it is holding on to request till it times out.
Steps to Reproduce

Setup the repo
Run server1.js(cluster without sticky session) file and make a post request on /test route with data in file body. The server will respond with a status ok.
Now run server.js(cluster with sticky session) file and make a post request on /test route with data in file body. The server will not respond. But if we trim the request body it will work.

Hi! Thanks for the working example, I could indeed reproduce the issue. Anything over 65 kb does indeed timeout :eyes:

I tried to debug the issue. I find if we listen for connection event on HTTP server on the master process then only 1st chunk of data it's received. socket.on("data") is only called once.
const cluster = require("cluster");
const http = require("http");
const numCPUs = require("os").cpus().length;

if (cluster.isMaster) {
  const httpServer = http.createServer();

  const port = 3001;

  let recieved;

  httpServer.on("connection", (socket) => {
    socket.on("data", (buffer) => {
      const data = buffer.toString();
      recieved += data;

      console.log(recieved.length);
    });
  });

  httpServer.listen(port, () =>
    console.log('server started listening on port', port)
  );

  for (let i = 0; i < numCPUs; i++) {
    cluster.fork();
  }

  cluster.on("exit", (worker) => {
    console.log(`Worker ${worker.process.pid} died`);
    cluster.fork();
  });
} else {
  http.createServer();
}

Update:- if I pass express app as an argument to both the master and worker server it starts working.
const cluster = require("cluster");
const http = require("http");
const numCPUs = require("os").cpus().length;
const { setupMaster } = require("@socket.io/sticky");
const { setupPrimary } = require("@socket.io/cluster-adapter");

const expressApp = require("./app");
const initSocket = require("./socket");

if (cluster.isMaster) {
  console.log(`Master ${process.pid} is running`);

  const httpServer = http.createServer(expressApp);

  // setup sticky sessions
  setupMaster(httpServer, {
    loadBalancingMethod: "least-connection",
  });

  // setup connections between the workers
  setupPrimary();

  // needed for packets containing buffers (you can ignore it if you only send plaintext objects)
  // Node.js < 16.0.0
  cluster.setupMaster({
    serialization: "advanced",
  });

  const port = 3001;
  httpServer.listen(port, () =>
    console.log(`server started listening on port ${port}`)
  );

  for (let i = 0; i < numCPUs; i++) {
    cluster.fork();
  }

  cluster.on("exit", (worker) => {
    console.log(`Worker ${worker.process.pid} died`);
    cluster.fork();
  });
} else {
  console.log(`Worker ${process.pid} started`);

  const httpServer = http.createServer(expressApp);

  initSocket(httpServer);
}

Hi, will publish a fix for it soon.
@darrachequesne please consider the PR we will post, it is a very unpleasant behavior (would call it - fatal bug)

https://github.com/socketio/socket.io-sticky/pull/9

This should be fixed by https://github.com/socketio/socket.io-sticky/commit/a124d0beb5c1b78be5b75f10153859a9e4672862, included in version 1.0.2 :rocket:


text:
Quickstart

Hi All,
First of all, thank you all for your contributions and for bringing this project alive.
I just started using the Project and as instructed I followed the documentation for Quickstart - https://socotecio.github.io/django-socio-grpc/#quickstart
When I follow the steps I'll be getting an error when I try to execute the command,
python manage.py generateproto
This gives the following error,
Traceback (most recent call last):
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django/utils/module_loading.py", line 30, in import_string
    return cached_import(module_path, class_name)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django/utils/module_loading.py", line 16, in cached_import
    return getattr(module, class_name)
AttributeError: module 'tutorial.urls' has no attribute 'grpc_handlers'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/settings.py", line 111, in import_from_string
    return import_string(val)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django/utils/module_loading.py", line 32, in import_string
    raise ImportError(
ImportError: Module "tutorial.urls" does not define a "grpc_handlers" attribute/class

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<project-path>/tutorial/manage.py", line 22, in <module>
    main()
  File "<project-path>/tutorial/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/management/commands/generateproto.py", line 53, in handle
    grpc_settings.ROOT_HANDLERS_HOOK(None)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/settings.py", line 156, in __getattr__
    val = perform_import(val, attr)
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/settings.py", line 94, in perform_import
    return import_from_string(
  File "<project-path>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/settings.py", line 113, in import_from_string
    raise ImportError(
ImportError: Could not import 'tutorial.urls.grpc_handlers' for GRPC setting 'ROOT_HANDLERS_HOOK'. ImportError: Module "tutorial.urls" does not define a "grpc_handlers" attribute/class.

I saw the django-grpc-framework project (https://github.com/fengsp/django-grpc-framework) mention this in the README.md file.
urlpatterns = []
def grpc_handlers(server):
    demo_pb2_grpc.add_UserControllerServicer_to_server(UserService.as_servicer(), server)

but this has to have generated stub classes.
Can you guide me on  thow to get the quickstart project up and running?

Hello @lahirujayathilake The published doc was not up to date because of mkdocs font rgpd policy. Just upgraded my mkdocs policy and published the latest change.
You should have a complete quickstart on https://socotecio.github.io/django-socio-grpc/#quickstart
I close this issue. If you face other problem do not hesitate to ask us.

Thanks, @AMontagu for the update. Yes, it solved that issue however, I'm getting the following error when python manage.py generateproto is executed
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/lexer.py", line 478, in lex
    yield lexer.next_token(lexer_state, parser_state)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/lexer.py", line 398, in next_token
    raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,
lark.exceptions.UnexpectedCharacters: No terminal matches 'q' in the current parser context, at line 4 col 19

  optional string question_text = 1;
                  ^
Expected one of:
        * EQUAL

Previous tokens: Token('FIELDNAME', 'string')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<project-url>/tutorial/manage.py", line 22, in <module>
    main()
  File "<project-url>/tutorial/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/management/commands/generateproto.py", line 80, in handle
    protos_by_app = generator.get_protos_by_app()
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/protobuf/generators.py", line 45, in get_protos_by_app
    self.current_existing_proto_data = self.parse_existing_proto_file(
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/django_socio_grpc/protobuf/generators.py", line 201, in parse_existing_proto_file
    proto_data = protoparser.serialize2json_from_file(existing_proto_path)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/protoparser/parser.py", line 362, in serialize2json_from_file
    return json.dumps(_recursive_to_dict(parse(data)))
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/protoparser/parser.py", line 322, in parse
    tree = parser.parse(data)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/lark.py", line 581, in parse
    return self.parser.parse(text, start=start, on_error=on_error)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/parser_frontends.py", line 106, in parse
    return self.parser.parse(stream, chosen_start, **kw)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/parsers/lalr_parser.py", line 41, in parse
    return self.parser.parse(lexer, start)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/parsers/lalr_parser.py", line 171, in parse
    return self.parse_from_state(parser_state)
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/parsers/lalr_parser.py", line 188, in parse_from_state
    raise e
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/parsers/lalr_parser.py", line 178, in parse_from_state
    for token in state.lexer.lex(state):
  File "<project-url>/tutorial/venv/lib/python3.10/site-packages/lark/lexer.py", line 487, in lex
    raise UnexpectedToken(token, e.allowed, state=parser_state, token_history=[last_token], terminals_by_name=self.root_lexer.terminals_by_name)
lark.exceptions.UnexpectedToken: Unexpected token Token('CONSTANT', 'question_text') at line 4, column 19.
Expected one of:
        * EQUAL
Previous tokens: [Token('FIELDNAME', 'string')]

Is there something I'm missing?

@lahirujayathilake Can you provide a minimal reproduction of this ?
But first you can try to delete all your protofile and try generate again. The rror look like you already have a proto file with a syntax we do not support.

Close due to inactivity

authors: AMontagu lahirujayathilake

repo: socotecio/django-socio-grpc


text:
Version Numbering

Currently, Sodalite has no defined standard for version numbering. There are a few ways this could be addressed.

We could simply utilize the same version numbering system employed by Fedora, starting with Sodalite 35
We could start with yearly numbering (i.e. 21.2 for a build based on Fedora 35 and 22.1 for a build based on Fedora 36)
We could use a similar system to Elementary OS, starting with a few beta releases before changing over to full numbers

I see each of these having their own up- and downsides and am not personally partial to any one.

This was actually done two releases ago, and it is described as such (https://github.com/sodaliterocks/sodalite/releases/tag/v%2Fstable%2F35-22.0). It just needs adding to the README.

Sorry, missed that.

authors: ACertainTopfi electricduck

repo: sodaliterocks/sodalite


text:
Retry logic lose exeception bugfix

Motivation:
Fix retry leads to lose exeception bug and sometime first time to call exeception bug
Result:
Fixes
issue 980
issue 984

Could you add some test cases for this issue?

Could you add some test cases for this issue?

OK

LGTM

authors: EvenLjj JervyShi

repo: sofastack/sofa-rpc


text:
Pin appropriate netcdf4 version on Linux

Pin the appropriate version of netcdf4 after dust settles at https://github.com/Unidata/netcdf4-python/issues/1343.

Just going to track this in the parent issue instead.

repo: softboiler/boilercv


text:
Support UDC as a concept in protostar

We should consider using it both internally in cheatcodes, and adding a deploy command which would use a UDC and accept class_hash as an input, and using official UDCs to deploy.

I think we should wait for starknet.py release for that to happen. It's not that urgent, since deploy_tx is still here.

repo: software-mansion/protostar


text:
Update contract_test.cairo

Here is not need #[cfg(test)], because https://book.cairo-lang.org/ch10-02-test-organization.html#the-tests-directory

Otherwise, this problem will occur:

While it is not necessary in tests, I wouldn't call it a mistake neither. cfg(test) should be enabled in tests as well. Running locally I failed to reproduce your problem.
➜  starknet_hello_world git:(main) scarb test
     Running cairo-test starknet_hello_world
   Compiling test(starknet_hello_world_unittest) starknet_hello_world v0.1.0 (/(..)/scarb/examples/starknet_hello_world/Scarb.toml)
   Compiling test(starknet_hello_world_integrationtest) starknet_hello_world_integrationtest v0.1.0 (/(..)/scarb/examples/starknet_hello_world/Scarb.toml)
    Finished release target(s) in 44 seconds
testing starknet_hello_world ...
running 1 test
test starknet_hello_world_integrationtest::contract_test::tests::test_flow ... ok (gas usage est.: 825980)
test result: ok. 1 passed; 0 failed; 0 ignored; 0 filtered out;

running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 filtered out;

If you have a reproduction where items under cfg(test) are removed in tests, please let us know by submitting a bug report at github.com/software-mansion/scarb/issues

Yes, you are correct. This issue only exists in scarb V2.6.5. The problem has been fixed now. Thank you for your feedback.

repo: software-mansion/scarb


text:
Split data access into SQL and memory packages

This makes it more clear on how to brake out the concrete implementations. We should add a sub interface that is in the root package. This will require a change to the phase for tests.

The instruction provides thoughts about how to do this, but it might reduce the student's understanding if we give them more support in this area.


text:
fix cpu waste run on Windows

2nd param of CreateWaitableTimer, bManualReset should be FALSE in order to reset the timer state

addtion of printf

repo: sogou/workflow


text:
The website does not have a Register Page, and users are unable to sign up.

I will develop a responsive Register Page that will include the following features:
Input Fields: Full Name, Email, Password, and Confirm Password
Form Validation: Real-time frontend validation for proper input (email format, matching passwords, etc.)
Error Handling: Clear error messages for invalid entries like mismatched passwords or incorrect email format
Design: A clean, user-friendly design that adapts well to both desktop and mobile devices

@GitWizzz Sorry, but another contributor already working on this issue.


text:
adding Toppy 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 stop wasting your time refer this zakimzf/profile#1

authors: andrewbayly zakimzf

repo: solana-labs/token-list


text:
Adding Max Verstappen Fan 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.

@mergify refresh


text:
Changed Name of ACF and FEED 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.

Dear Solana-Labs team, Please manually merge this PR. In this PR, we have just/only updated the "name" of our SPL tokens (newly minted) for our blockchain game: New Token name = $ACF and $FEED in this change. This PR request has been pending for more than a few days now. Appreciate your support. Many Thanks!

Gentle reminder - Dear Solana-Labs team, Please manually merge this PR. In this PR, we have just/only updated the "name" of our SPL tokens (newly minted) for our blockchain game: New Token name = $ACF and $FEED in this change. Appreciate your support. Many Thanks!


text:
Add support of OpenSuSE and SLED

All currently supported versions of OpenSuSE use systemd. Suse
Enterprise Linux has two flavors: Server and Desktop. The 11.x release
still uses sysv but the 12.0 release uses systemd.
Signed-off-by: Konrad Scherer Konrad.Scherer@windriver.com

Cool! Can you also amend metadata.json?

Thanks!

authors: kscherer solarkennedy

repo: solarkennedy/puppet-consul


text:
Are these images abonded?

Running SolarWinds in docker would be nice but may of the images on docker hub are several years old and running discontinued versions. Has this repo been abandoned?

Apologies, it has taken awhile, but we are indeed updating these Docker images.  We just released the following:
1.  Web Help Desk (WHD) v12.7.2 (April 15, 2020)
2.  Database Performance Analyzer (DPA) 2020.2 (June 4, 2020)

authors: meatsac rfujii

repo: solarwinds/containers


text:
sol-pin-mux: Add Intel Edison mux description

Also add rules to detect Intel Edison platform.
Tested and the platform was detect and the mux rules successfully applied!

As I told you last PR, that's intended, so the schema will allow it.

Merged

repo: solettaproject/soletta


text:
Server functions defined outside of routes not initialized on the server when called inside of event handler

Repro: https://stackblitz.com/edit/solid-start-sf-not-init?file=src%2Fserver.ts,src%2Froutes%2Findex.tsx
Happens because during the solid SSR transform all the interactive stuff like event handlers are deleted. Which then causes the import to be deleted as there are no more references and therefore the server function is never initialized server side.
Here's what the code looks like right before the import is deleted:
import { ssr as _$ssr } from "solid-js/web";
import { escape as _$escape } from "solid-js/web";
import { ssrHydrationKey as _$ssrHydrationKey } from "solid-js/web";
const _tmpl$ = ["
Hello world!
<button>Greet</button>
", "
"];
import { createSignal } from "solid-js";
import { greet } from "~/server";
export default function Home() {
  const [message, setMessage] = createSignal("");
  return _$ssr(_tmpl$, _$ssrHydrationKey(), _$escape(message));
}

This can be worked around by defining a function outside of the JSX and calling the server function from there instead.

fixed in https://github.com/solidjs/solid-start/commit/33b66d2f8b6687f1552b574cd05a4804029ed579

authors: ghalle nksaraf

repo: solidjs/solid-start


text:
JSX parsing errors out on valid HTML structure

The error it's throwing indicates it's due to [one of the] Babel [plugin dependencies], but the solid plugin is the instigator. So this:

Thing

Description of thing

Errors like
[plugin:solid] /Users/daniel.couper/Work/PERSONAL/pscan/src/app.tsx: Invalid JSX:
 cannot be child of

  76 |

  77 |

> 78 |
Version

     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  79 |
{version}

  80 |

  81 |

Which is annoying, because it's been spec for 5 years. I'm trying to drill through to where exactly it's blowing up, but I'm not terribly familiar with how vite plugins & then the babel plugins they depend on glue together. Stacktrace:
    at File.buildCodeFrameError (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/core/lib/transformation/file/file.js:205:12)
    at NodePath.buildCodeFrameError (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/index.js:105:21)
    at JSXElement (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/babel-plugin-jsx-dom-expressions/index.js:3241:20)
    at NodePath._call (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:45:20)
    at NodePath.call (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:35:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:80:31)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitMultiple (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:61:17)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:107:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitMultiple (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:61:17)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:107:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitMultiple (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:61:17)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:107:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitMultiple (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:61:17)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:107:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitSingle (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:65:19)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:109:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitMultiple (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:61:17)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:107:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitSingle (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:65:19)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:109:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitSingle (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:65:19)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:109:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17)
    at NodePath.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/path/context.js:86:52)
    at TraversalContext.visitQueue (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitMultiple (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:61:17)
    at TraversalContext.visit (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/context.js:107:19)
    at traverseNode (/Users/daniel.couper/Work/PERSONAL/pscan/node_modules/@babel/traverse/lib/traverse-node.js:18:17

This discussion is probably more applicable in the validate-html-nesting repository

Yep (and thanks @ryansolid for raising the issue). The updating of the transformer is possibly triggered things?? Last time I tried to do this was in React a year or so ago, and the Babel transformer was involved there and there were no issues (IIRC! Memory is slightly hazy, testing library was the thing I was having issues with).
I don't think this is correct though:

the HTML validator says you can't put a div inside of a dl because it's a "Flow content" element. The HTML validator is throwing errors when I try to do anything but nest dt and dl as direct children. More on the spec can be found here which DOES cite the ability to provide a wrapping div... but... the validator has conflicting opinions.

What are you entering to make it error? This validates:
<!DOCTYPE html>

<title>Test</title>

Hi

Something about hi

Ho

Something about ho

Hiho

Something about hi

Something about ho

Ok this should be fixed in version 1.2.1 which is in the range so package lock clear and clean install should get you the latest.

how do I disable the validator for certain files?

authors: DanCouper russelgal ryansolid

repo: solidjs/solid


text:
Sprockets error with 0.14.3

After updating imba-source to 0.14.3 I get a Sprockets error when using Imba with Rails.
Sprockets::FileNotFound - couldn't find file 'imba' with type 'application/javascript':
  sprockets (3.4.0) lib/sprockets/directive_processor.rb:182:in `rescue in block in process_directives'
  sprockets (3.4.0) lib/sprockets/directive_processor.rb:179:in `block in process_directives'
  sprockets (3.4.0) lib/sprockets/directive_processor.rb:178:in `process_directives'
  sprockets (3.4.0) lib/sprockets/directive_processor.rb:83:in `_call'
  sprockets (3.4.0) lib/sprockets/directive_processor.rb:68:in `call'

I have submitted a pull request to imba-source now which will hopefully fix this.

Fixed in 0.14.4 :)

authors: erlingur somebee

repo: somebee/imba


text:
Design decisions

What should happen when RotateCopy is passed an odd number of rotations (currently errors)
How should separate inputs be separated? Do we assume all input strings are single-line?
Do we allow multiline string input?

Where should the cursor be after rotations and reflections? (Try abc⟲⁴x, e.g.)

@dloscutoff IMO it shouldn't move, else it gets translated with the canvas

Moved to design doc on HackMD


text:
Drop doctrine common

Subject

I am targeting this branch, because this is Bc.

Removing doctrine common, even if we still get it as a transitive dep is a good thing. If the project dont use it directly lets remove it, it is kind of being deprecated.
Changelog

### Removed
- Drop doctrine common dependency.

I have tried a search for doctrine common and didnt found it on the project, there are uses for Collections, Event manager, but thats on other packages.

https://github.com/sonata-project/EntityAuditBundle/blob/9ffd87ebc60de3abc0cee3b95304e90c0a54f690/src/EventListener/CreateSchemaListener.php#L16
https://github.com/sonata-project/EntityAuditBundle/blob/9ffd87ebc60de3abc0cee3b95304e90c0a54f690/src/AuditManager.php#L16

https://github.com/sonata-project/EntityAuditBundle/blob/9ffd87ebc60de3abc0cee3b95304e90c0a54f690/src/EventListener/CreateSchemaListener.php#L16
https://github.com/sonata-project/EntityAuditBundle/blob/9ffd87ebc60de3abc0cee3b95304e90c0a54f690/src/AuditManager.php#L16

Those are here : https://github.com/doctrine/event-manager/tree/2.0.x/src
And it is already a dep for this package

Thanks

authors: VincentLanglet jordisala1991 phansys

repo: sonata-project/EntityAuditBundle


text:
Fix deserializers and add job metadata feature

Fixes issue https://github.com/sondalex/cliriculum/issues/36

adds metadata feature + bump version to 0.1.6
All details given in NEWS.md

Tweaking --virtual-time-budget value above a certain unknown threshold has no effect.
See https://stackoverflow.com/questions/53548438/what-does-the-argument-virtual-time-budget-of-chrome-cli-really-mean .
Sadly there is no way to wait for a specific event with headless print.
tests/test_pdf.py can be adapted such that failed test is repeated (up to a max N).
If no success after N, raise test error

repo: sondalex/cliriculum


text:
Is this a fork and rebrand of SSLSplit?

Just curious.

Good question, so I can explain the differences better.
SSLproxy is based on SSLsplit, a very nice work by Daniel.
With SSLsplit, you can decrypt and view encrypted packets. Great if that's all you need. But if you want to process (e.g. modify) those packets, SSLsplit does not provide a scripting language, nor can it divert them to another program. You need to modify the SSLsplit code in C if you need to process the packets (that's what I was doing before).
In contrast, SSLproxy decrypts the packets and diverts them to a program as defined in a specification in its configuration file (you can define multiple such specifications). The program can do whatever it wants to the packet and gives it back to the SSLproxy (the program can be written in any programming language). The details of this operation is described in the README file. However, this was easier to describe than to design and implement.
Above is the main difference, and my reason to start the SSLproxy project. But, there are a couple of further differences too:

SSLproxy can load its configuration from a file (only certain options are supported).
SSLproxy threads keep track of all connections in a linked list, and time them out after a certain idle period.
SSLproxy collects connection statistics and writes them to a log file (which can be displayed on charts, as in UTMFW).
Being a daemon process expected to run 24/7, not a tool to split certain connections and then terminate, SSLproxy takes care not to exceed the open files limit of the system (which otherwise would crash itself).
Detailed debug logs with finer grained log levels are added, and can be completely removed using a compiler switch. Other logs levels are improved to better follow the status of SSLproxy.
SSLproxy can remove a couple of further HTTP headers too.
SSLproxy supports POP3 and SMTP protocols as well.
Programs that packets are diverted to should be modified to support its mode of operation.

The mode of operation supported by SSLproxy enables us to decrypt and divert the traffic to UTM services (this operation is so successful that the UTM service should be informed whether the original traffic was encrypted or not). In fact, my UTMFW project uses SSLproxy exactly for this purpose. You can download the installation iso file of UTMFW to try and see for yourself.
I have tried not to break any already available feature in SSLsplit, but I didn't test if certain features work, e.g. autossl. As obvious from my purpose, i.e. deep inspection of SSL/TLS traffic using UTM services, SSLproxy has been tested using UTMFW, hence on OpenBSD only. I'd like to hear if it runs on other systems as well.

@sonertari Wow, thanks for the detailed explanation. Great work. I took notice of it because I'm working on porting a transparent filtering proxy from Windows to OSX/MacOS so anything "proxy" jumps out at me. Quite an impressive project.
One thing I'm curious about (forgive me if you said it already and I missed it, quite tired) is if the listening/modifying program can collect the packets from SSLProxy like a buffered stream, or is it a single packet context? To explain better, consider the use case where the listening application wants to collect a full HTML payload for inspection and possible modification before permitting any of the payload to finish passing down/upstream via SSLProxy. Would that be a supported use case?

Everything between the SSLproxy and the listening program is exchanged in packets over networking sockets (SSLproxy/SSLsplit use bufferevents in libevent, which is responsible for all such lower level details as sockets and buffering). So, it is the responsibility of the listening program to reassemble any/all parts of an HTTP communication. In the case of UTMFW, this program is the combination of E2guardian web filter and Squid HTTP proxy working in cascade. They do exactly what you are describing. (Btw, the other listening programs in UTMFW are POP3 and SMTP proxies.)

To explain my design decisions further, an important benefit of using packets over networking sockets between the SSLproxy and the listening program is that I use OpenBSD/pf to divert those packets to Snort IPS over divert sockets too. So, before E2guardian+Squid, POP3, and SMTP proxies receive those packets, the packet filter gives them first to Snort for intrusion detection and prevention. This way both plain and encrypted traffic can be inspected for intrusions, in both directions, from and to the SSLproxy. Note that if the communication between the SSLproxy and the listening program were not using packets over networking sockets, this inline inspection by Snort IPS would not be possible (or it would be quite difficult, if at all possible).

Greetings,
Can the SSLproxy be used for intercepting of some binary proprietary protocols that use the TLS transport ?

Another good question to explain the details.
The critical part is the SSLproxy specific line it inserts into the first packet in the connection. Refer to the README file for the explanation of the information transferred by that line.
Here are the important points if you want to support a binary protocol in SSLproxy, if possible at all:

SSLproxy code should be modified to insert the same line or a set of bytes containing the same information into the first packet in the connection.
The program that the packets will be diverted to should be modified to extract that information and parse it, especially the dynamically assigned address, which the packets are expected to be returned to SSLproxy. And the program should return the first and subsequent packets to that address instead of sending them to their original destination.
SSLproxy should remove those bytes in the first packet when it receives the packet back, and before sending it to its destination (currently that's the solution I am using with the supported protocols). Either that or the program should remove them from the packet before returning the packet back to SSLproxy.
To do all that, you should know the details of the binary protocol you are planning to support in SSLproxy, so that you know if it is possible or not, and if possible where in the packet you can insert that info. If it is a proprietary protocol, this may not be possible, even with reverse engineering.
Whether the binary protocol allows for such modifications in the packets or not may be important, depending on how the packets are handled in the packet handling software on the sending and receiving ends, which may not be just SSLproxy and the program that the packets will be diverted to (I mean, is there a closed sourced protocol stack on both ends, which processes the packets after receiving from SSLproxy and before handing over to the program?)
The packets should be diverted to a port SSLproxy is listening, of course.

I've decided not to patch SSLproxy heavily and implemented bssl option - https://github.com/Sfinx/bmitm
the simple null c++ app included. I think that real patch for SSLproxy must be:
diff --git a/pxyconn.c b/pxyconn.c
index 77a1a78..1e38372 100644
--- a/pxyconn.c
+++ b/pxyconn.c
@@ -2223,7 +2223,7 @@ pxy_bev_readcb(struct bufferevent *bev, void *arg)

                        // @attention Cannot use string manipulation functions; we are dealing with binary arrays here, not NULL-terminated strings
                        if (!ctx->sent_header) {
-                               if (ctx->spec->mail) {
+                               if (ctx->spec->ssl || ctx->spec->mail) {
                                        memmove(packet + header_len + 2, packet, packet_size);
                                        memcpy(packet, ctx->header_str, header_len);
                                        memcpy(packet + header_len, "\r\n", 2);

So stock ssl option can be used with arbitrary [binary] protocols as it will just insert the header to the beginning of the first packet and this way header can be easily parsed by app. It is not clear why it is not done for all protocols (?!)

The points 4 and 5 in my comment above explain possible issues with trying to support other protocols (binary, proprietary, or not). You may want to read those points again. But in brief, when you're talking about binary (proprietary) protocols, you should think beyond compressed http.
Btw, you could achieve the same result by using pop3(s) or smtp(s) proxy spec instead of modifying the code to add a new option.

The main idea of my patch is to make SSLproxy neutral to any binary protocol without any prior knowing it and this is already works for me.
The pop3/smtp is just confusing names here as they are not binary protocols. I thought that ssl must work here according to its description in docs, but it inserts header after first packet so there no way to parse arbitrary protocol without prior knowing it. I think this is the main bug of ssl option.

OK, you are right about documentation. I have committed and pushed a new revision which enables SSLproxy header insertion similar to pop3 and smtp for all protocols other than http. So, in your case, you should use an ssl proxyspec now. Please try and report if it works for you.
Note to all users: My warnings above about possible issues with inserting SSLproxy specific header in the first packets still remains for protocols other than http, pop3, and smtp.

Thanks, it works now with stock ssl option. I've updated the C++ null app accordingly. Anybody that wish to use it with SSLproxy will have two simple callbacks:
bool app_tx_cb(uint cid, string &d)
{
 cerr << "conn N" << cid << " app_tx: sz: " << d.size() << endl;
 return true;
}

bool app_rx_cb(uint cid, string &d)
{
 cerr << "conn N" << cid << " app_rx: sz: " << d.size() << endl;
 return true;
}

string d contains app data that user can parse/change as he/she wish.

authors: Sfinx TechnikEmpire sonertari

repo: sonertari/SSLproxy


text:
怎么调整权重？

我在两块Titan xp上，epoch120，batchsize14，效果不好,还有作者给的权重，怎么直接用？初学者，问题有点多，求解答~~

你好，请问您的问题解决了吗，我也不不知道作者给的权重如何直接使用，，

repo: songdejia/DFL-CNN


text:
implement an interface to expose device fd

Hi,
I want to run some extra syscalls to the device, but looks I could not get the device fd, could you please implement an interface to expose it? Thanks.

@radaiming Thanks for the request. I've made some changes to the Interface type and now it should be possible to get *os.File through type assertion. For example:
package main

import (
	"log"
	"os"

	"github.com/songgao/water"
)

func main() {
	ifce, err := water.NewTUN("haha")
	if err != nil {
		log.Fatalf("creating TUN interface error: %v\n", err)
	}
	log.Printf("file fd: %d\n", ifce.ReadWriteCloser.(*os.File).Fd())
}

Really thanks for your quick work :+1:

When I use  type assertion, and get this:
panic: interface conversion: io.ReadWriteCloser is *water.wfile, not *os.File
Environment:
windows10, golang 1.12, amd64

authors: chengxuncc radaiming songgao

repo: songgao/water


text:
使用https://xxx.xxx/api/openai 这样的接口时候会报错

都是报key不正确，好像默认了官方的，type invalid_request_error, code invalid_api_key, message Incorrect API key provided: 1. You can find your API key at https://platform.openai.com/account/api-keys

报错很明显了，检查你的渠道密钥配置

是的 因为没有设置密钥 密钥为空时使用正常，添加渠道时候密钥必须要填写 可以设置密钥非必填吗

密钥为空怎么请求上游服务？

有挺多 就是白嫖的一些QAQ， 比如 https://chat-gpt-next-web-ottaliam.vercel.app/api/openai
这地址直接不需要密钥可以使用 填上密钥就报错了

repo: songquanpeng/one-api


text:
Update AmazonOrder.php

fixed the error parameter, It not have ShipServiceLevelCategory, the right is ShipmentServiceLevelCategory and lost a parameter OrderType

You need to add/update this library with Financial API, as I checked you forked it from "CPIGroup/phpAmazonMWS" and they have added Financial functionality, ( https://github.com/CPIGroup/phpAmazonMWS/blob/stable/includes/classes/AmazonFinancialEventList.php ) Can you please let me know when will you update it? I am using this component for last 1 year.
Thanks in advance.

Thanks for your PR. As for Financial support: I've added it to the issues board:
https://github.com/sonnenglas/amazon-mws-laravel/issues/18
Unfortunately, I'm not able to give you an estimate when this will be implemented.

repo: sonnenglas/amazon-mws-laravel


text:
adding slog for additional logging

Hello,
I am wondering if there is interest in adding an slog logger to the code base. https://go.dev/blog/slog
PROS: slog is a structured logging library that enhances logging capabilities in projects. It enables projects that import the module to configure log levels according to their needs. This feature allows for more precise control over what is logged, ensuring that developers can focus on the most relevant log information.
CONS: The library was added to the standard library in 1.21. Go version 1.21 would be required to support this library.
If this is something you think would be beneficial I would be happy to start writing it.
Kind regards,

Hello, @jeremyforan.
Thank you for your suggestions.
I support the introduction of slog. I have experience using slog in another project, so I understand its benefits.

Hello @KazuhitoNakamura,
I will make a pull request. Also, I have made a small change for you to consider.
func (r *realtimeWebSocketOperation) readLoop() { ... _, payload, err := r.ws.ReadMessage() if err != nil { 	if netErr, ok := err.(net.Error); ok && netErr.Timeout() { 		slog.Warn("connection timeout") 	} else { 		slog.ErrorContext(r.ctx, "error reading message", "error", err) 	} 	r.onConnectionLost(err) 	return }
We were getting intermittent "connection reset by peer" message. It looked like AWS is closing the session without warning. This would happen after a day or two of continues connection. Because the error was not a timeout the onConnectionLost wasn't be called.
The change will always result in r.onConnectionLost(err) on a r.ws.ReadMessage() error.
What do you think? Is there other considerations to be made here?

Thank you so much for your pull request, I have confirmed the pull request.
I don't think this change will result in the expected behavior since onConnectionLost is always called when a ReadMessage error occurs and is not limited to the error we want to resolve this time.
Is it possible to know the type of error that occurred this time?

It is difficult to capture the error as it is intermittent. It can take 2-3 days to occur. Currently we have a ticket open with AWS and they have escalated this issue to the AppSync team.
I tried using the syscall.ECONNRESET error type, based on this article https://gosamples.dev/connection-reset-by-peer/ but it did not seem to capture the error in testing:
if errors.Is(err, syscall.ECONNRESET) {
            log.Print("This is connection reset by peer error")
        }

Is there a efficient way to validate the connection is still valid? That way if there is an error we can check if the connection is still valid.
		_, payload, err := r.ws.ReadMessage()
		if err != nil {
			if netErr, ok := err.(net.Error); ok && netErr.Timeout() {
				slog.Warn("connection timeout")
				r.onConnectionLost(err)
				return
			} else {
				// check if connection has been lost
				slog.ErrorContext(r.ctx, "error reading message", "error", err)
				r.onConnectionLost(err)
				return
			}
				slog.Warn("error reading message", "error", err)
			return
		}

I apologize for the late reply.
I’m afraid, I'm not sure that way to check if connection has been lost for now.
I will read the source code to see if there are any errors that validate the connection has been broken.
To introduce slog ahead of time, could you remove this small change from the #31?

Hey @KazuhitoNakamura
I agree with you.
I will push the changes as per your comment so that we can include the slog functionality. I will push the changes shortly.

I found it quite difficult to check if the connection was lost because there are several errors defined in errors.New().

ReadMessage()

NextReader()

advanceFrame()

CopyN()

Copy()

copyBuffer()

Read()

Read()

Read()

merge complete.

authors: KazuhitoNakamura jeremyforan

repo: sony/appsync-client-go


text:
ptb

ptb

@TakuyaNarihira ran autoformat

repo: sony/nnabla-examples


text:
Training on GPUs

Hello,
Thanks for your nice work. I just have few questions about training on GPUs.

Do you train your CSD on a single GPU or multiple GPUs? If trained on single GPU, do you mind sharing the series code(what type of GPU)? I am asking this because I am not able to train CSD with batch size of 32 on a single 2080 Ti and I'm not sure whether the problem is on my server or the nature of the code.

What's your estimated training time on VOC(07 labeled and 12 unlabeled) in your configuration? It looks like training a baseline SSD on a single GPU would take me several days in my case so it would be nice if you could share the stats....

Thanks for your time and enjoy your day!

Thanks for your interest in our research.

We used Nvidia 1080Ti GPU, and we assigned 4 and 8 GPUs for SSD300 and SSD512 models with CSD training, respectively.

SSD300 model with CSD is required about 17GB of GPU memory.
(SSD300 with CSD can be trained with 2 GPUs.)

With fewer GPUs, it can be difficult to train because of a limited memory budget.

When training the SSD300 + CSD model with 4 GPUs, it takes about 1 day.

Thank you.


text:
Kernel#Integer can return nil

Input
→ View on sorbet.run
# typed: strict

parsed = Integer('a', exception: false)
default = 0

value = parsed || default

Observed output
editor.rb:6: This code is unreachable https://srb.help/7006
     6 |value = parsed || default
                          ^^^^^^^
    editor.rb:6: This condition was always truthy (Integer)
     6 |value = parsed || default
                ^^^^^^
  Got Integer originating from:
    editor.rb:3:
     3 |parsed = Integer('a', exception: false)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Errors: 1

Expected behavior
When exception is false, the return value could be nil.

dupe of #4336

authors: jez thomasdziedzic-census

repo: sorbet/sorbet


text:
Any way to get RingNet run on Colab?

Hello, since my computer does not support CUDA 9, so I installed it on Google Colab. But Colab does not support virtualenv, and RingNet requires virtualenv to use Mesh.
Any way to get RingNet run on Colab?
Thank you.

I have never tried to run it on Colab. But theoretically it should be possible. We use psbody.mesh to save the mesh obj files. You can  use any other mesh packages like trimesh or something else to do so which might be compatible with colab.

@xamxixixo Hi, I am also interested in running RingNet on Colab. Were you able to make it work?

@Sarmyt I was able to make it work. Now the inference code given here works perfectly fine on colab. If you have specific question let me know, I may be of help.
@xamxixixo I skipped the virtual env part because colab notebook essentially makes a VM for current session so I didnt think it was necessary to make a virtual env. Apart from that, install tensorflow==1.12.0 alongwith tensorflow-gpu==1.12.0
Also the mesh package in the fork: https://github.com/TimoBolkart/mesh
worked for me.

@Fsajjad99 do you mind sharing the colab notebook? I'm having problems installing the environment for Python 2.7 there

Sorry I was away on work related thing. Would send as soon as i get
cellular coverage.
On Mon, 29 May 2023, 3:59 am Anh Minh, @.***> wrote:

@Fsajjad99 https://github.com/Fsajjad99 do you mind sharing the colab
notebook? I'm having problems installing the environment for Python 2.7
there
—
Reply to this email directly, view it on GitHub
https://github.com/soubhiksanyal/RingNet/issues/36#issuecomment-1566294030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASBX5KSP322GJBASGTJJT73XIPKFBANCNFSM4MIKIDHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

repo: soubhiksanyal/RingNet


text:
using scrollArea.scrollBottom giving TypeError: cannot readt property 'offsetHeight' of null

The error in console is -
TypeError: Cannot read property 'offsetHeight' of null
at t.value (scrollArea.js?5ff8:1)
at t.value (scrollArea.js?5ff8:1)
at t.value (scrollArea.js?5ff8:1)
at Object.scrollBottom (scrollArea.js?5ff8:1)
at ChatMessage.componentDidUpdate (chatMessage.js?8dd7:12)
at ChatMessage.proxiedMethod (createPrototypeProxy.js?c130:44)
at measureLifeCyclePerf (ReactCompositeComponent.js?d2b3:75)
at eval (ReactCompositeComponent.js?d2b3:728)
at CallbackQueue.notifyAll (CallbackQueue.js?f006:76)
at ReactReconcileTransaction.close (ReactReconcileTransaction.js?ba2e:80)
Looking at the source code it seems the wrapper (less likely its content) object is coming as null in the computeSizes() method and that is having ripple effect.
changed the scrollBar to other places but no effect, does it require to be inside a wrapper/container when putting ScrollBar.
Regards,
Kapil.

Probably, I solved this issue in my fork a month ago:
https://github.com/mishantrop/reactScrollarea/commit/6fff885f6e20813736e8d831f5d860b6f5816ed0

authors: ibmkaga mishantrop

repo: souhe/reactScrollbar


text:
Armored Core 6 - Working Directory Woes

Unlike a lot of other FROM Software titles, Armored Core 6 needs to be launched from its working directory. Unfortunately, so does Mod Engine 2. This means that you're pretty much forced to have both Mod Engine 2 and Armored Core 6 in the same folder, so a multi-game config that has Mod Engine 2 in a different folder currently isn't feasible.

BUT THE README THAT COMES WITH THE INSTALLER SAYS SPECIFICALLY THAT ITS RECOMMENDED TO HAVE THE INSTALLER IN ITS OWN DIRECTORY. HOWEVER, I CANT GET MINE TO WORK IN OR OUT OF THE GAME FOLDER. IS THERE PERHAPS A CONFLICT WITH USING WEMOD AND MOD ENGINE 2?

authors: BrandonRamage ImportTaste


text:
Make dependencies to be peer dependencies

There is an issue if you use old version of npm and use webpack as builder. In this case we have two different versions of react in one bundle file.

I think it makes sense for react and react-dom to be peer dependencies, but I think tether should still be a traditional dependency, as it's far less likely that someone is using tether outside of react-tether.
@aspirisen, the modules should resolve to the same physical dependency (at ./node_modules/react) as long as the versions match.  Maybe try deleting node_modules and reinstalling?

it's far less likely that someone is using tether outside of react-tether

true, i will change it

Maybe try deleting node_modules and reinstalling?

The issue is with Visual Studio which has it's own node.js which version is lower than 5.x.x. My supposition was that react-teather has its own node_modules with react.js and webpack includes this version along with the version of my one.

Never understood peer deps. Sounds good to me though. Thanks for the PR.

So with this being the case, running the example instructions in the readme results in compilation errors as neither react nor react-dom get installed with a simple npm install.
Installing them manually fixes the compilation errors.
Is this intended behavior?

I think they need to be added to devDependencies as well

authors: aspirisen ericdfields rafeememon souporserious

repo: souporserious/react-tether


text:
Broken due to Captcha?

Is this still working? I set it up but it seems to break due to the captcha?
https://i.imgur.com/BdePUt5.png
Any ideas or is this now dead because of the captcha?

how did u run the script im new in python and programing

authors: abdouamn jontstaz


text:
Add pre-commit hook workflow

Add pre-commit hook workflow  to avoid running manually on local while pushing the code to a feature branch

pre commit hooks has to be executed locally , TFlint workflow is already available.

repo: sourcefuse/terraform-aws-arc-db