text:
Result and analysis sections empty in the pdf and thesis folder

Result and analysis sections empty in the pdf and thesis folder

Result and analysis sections empty in the pdf and thesis folder

@yakzan This thesis is not completed yet. The full version will be uploaded after approximately December 2018.

source: gharchive/issue

authors: xiaoyuin yakzan

repo: xiaoyuin/tntspa

license: MIT

license_type: permissive

license_source: github-api


text:
升级到Angular 17

出现这个错误，无法编译了

我也遇到了这个问题

@portalZYT 作者一直没有回复，我也把地图功能去掉了

authors: Loongle portalZYT

repo: xieziyu/ngx-amap

license: mit

license_source: bigquery


text:
refactor: restructure hops-webpack

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

bors merge

source: gharchive/pull-request

repo: xing/hops


text:
Controller tests might be in subfolders

The original snippet didn't cover tests that were in subfolders, for example: test/controllers/admin/users_controller_test.rb

Coverage remained the same at 99.919% when pulling 1c5a7a85799c2a55043dd39bbc3c0c3d8e7ce830 on aomran:patch-1 into 7a5a554674ec0c7226a3d2acb5def9c192f419b5 on xinminlabs:master.

authors: aomran coveralls

repo: xinminlabs/synvert-snippets


text:
Use dyn for a dynamic trait

Muxer is a trait, and passing dynamic traits without the dyn keyword is now deprecated.

Coverage remained the same at 83.177% when pulling a51c71081ff690ed9bfe33d117bf5a2df0ed2da2 on linkmauve:patch-1 into 12f041fc08caf6b8e9f6c034df8e2d7269dae296 on xiph:master.

Maybe we should add this deny crate-wide?

Could be a good idea let see what the team thinks :)

It will at the least be warn by default in an upcoming rustc (slated for 1.37): https://github.com/rust-lang/rust/pull/61203. But we may want to change it before then.

authors: coveralls linkmauve lu-zero shssoichiro


text:
Travis CI: Add Arm build

Add a basic cargo build and cargo test configuration for the Arm (aarch64) platform.
@shssoichiro or @barrbrain Could you take a look at the sccache configuration to enable aom and dav1d decode tests?

Coverage remained the same at 71.095% when pulling d9f3f2a2479cd7d3f6cc85a36ed9702effb33abf on EwoutH:patch-26 into 082f8e8cc7ad227cb8daddc13eb69db65fe491c5 on xiph:master.

authors: EwoutH coveralls


text:
Fix unnecessary auto-vectorization in residual loop of SAD intrinsics

There is no way to force the compiler to not auto-vectorize a loop without changing the global compilation flags. However, it is possible with inline assembly which was stabilized in Rust 1.59.0.
Before, the compiler aggressively vectorized a loop that was supposed to be scalar since it was only a residual loop of an already vectorized function. With this PR, the correct assembly code is generated: https://godbolt.org/z/zWzYs79Y9

Interesting technique.
There is a lot of potential stuff to evaluate with the addition of inline assembly. One thing that comes to mind is the update_cdf function which has improved assembly in dav1d compared to our intrinsics (in theory).

Test failures are from the new clippy warnings in rustc stable. We'll have to do the typical clippy fixup PR.

you can rebase now to fix the CI

@shssoichiro should be good to go, rebased the PR

Since this brings in inline asm, you'll also need to bump the minimum rustc version to 1.59. (We have a few places that do this e.g. build.rs, CI files, maybe a few others)

@shssoichiro sorry about that, everything should be fixed now

authors: redzic shssoichiro tdaede


text:
CI: Configure ClusterFuzzLite

Override clusterfuzz's hard-coded maximum unit timeout of 25 seconds. Add a local run_fuzzers action that uses our Docker image. Follows the guide in CONTRIBUTING.md on fuzzing.

Codecov Report
Base: 86.40% // Head: 86.39% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (52d481a) compared to base (17a70d5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3020      +/-   ##
==========================================
- Coverage   86.40%   86.39%   -0.01%
==========================================
  Files          89       89
  Lines       34099    34099
==========================================
- Hits        29464    29461       -3
- Misses       4635     4638       +3

Impacted Files
Coverage Δ

src/context/frame_header.rs
66.06% <0.00%> (-2.27%)
:arrow_down:

src/context/mod.rs
91.57% <0.00%> (-1.06%)
:arrow_down:

src/tiling/tile_state.rs
88.40% <0.00%> (-0.73%)
:arrow_down:

src/asm/x86/lrf.rs
92.22% <0.00%> (-0.64%)
:arrow_down:

src/me.rs
95.20% <0.00%> (-0.40%)
:arrow_down:

src/encoder.rs
87.06% <0.00%> (-0.04%)
:arrow_down:

src/cpu_features/x86.rs
39.58% <0.00%> (ø)

src/deblock.rs
94.90% <0.00%> (+0.07%)
:arrow_up:

v_frame/src/plane.rs
88.90% <0.00%> (+0.11%)
:arrow_up:

src/rdo.rs
85.67% <0.00%> (+0.45%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

This needs some additional testing for efficient configuration. We will also need to choose where to persist the corpus and coverage reports.

Archiving this PR for now. The main takeaway is that we need to rework the fuzzing design to be more efficient.

@barrbrain
I propose proptest as possible alternative

authors: Luni-4 barrbrain codecov-commenter


text:
Create LICENSE

added MIT License - experimental

self

repo: xkeshav/kidz


text:
br_delay: add new output port out_stage (#79)

Adds a new output port "out_stage" which includes the output of each stage in a delay chain. This allows the module to be used as a simple delay element or as a shift register.
Note that out_stage[0] == in, out_stage[NumStages] == out.
fixes #79

Did you mean to close this @tbunker-openai ?

Did you mean to close this @tbunker-openai ?

nvm I see you have another PR 🤦

authors: mgottscho tbunker-openai

repo: xlsynth/bedrock-rtl


text:
angular2-recaptcha not working in production mode (RC5)

Bulding any app using angular2-recaptcha with angular2 cli console command: ng build --prod  will build, but will throw strange error of random component in runtime.
It's currently impossible to publish an app with this package (RC.5).
I've been trying to figure out what caused the problem in my production for several hours, until remove the imports to this package..

Please share more details. What error do you see? A plunker would help even more.

@xmaestro This is what I get:
 main.a09c4cd….bundle.js:42 Uncaught TypeError: i.AsapScheduler is not a constructor(anonymous function) @ main.a09c4cd….bundle.js:42__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:65__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:67__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:65__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:20__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:19__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:54__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:3__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:26__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:26__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:26__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:36__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:54__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:42__webpack_require__ @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:70__webpack_require__ @ inline.js:1window.webpackJsonp @ inline.js:1(anonymous function) @ main.a09c4cd….bundle.js:1
I can't plunker since it's a big application, but whenever I import ReCaptchaModule i get this error in my production app loading.

This does not look like an error generated by this module. Please try again with the RC6 updates.

authors: theunreal xmaestro

license: isc


text:
Update tesseract to 5.3.4

Is your feature request related to a problem? Please describe.
The latest version of tesseract available in the repo is quite old (more than 2 years old). Quite a lot of fixes and improvements have been added since then.
Describe the solution you'd like
Update tesseract to the latest version (along with its dependencies).
Describe alternatives you've considered
The 5.3.3 version is available on conan but I strongly prefer using xrepo as I've had quite a few issues with conan and vcpkg.
Additional context
No response

you can open a pr to update it.

https://github.com/xmake-io/xmake-repo/pull/3538

authors: enzalito waruqi

repo: xmake-io/xmake-repo


text:
xmake重新安装opencv没输出

Xmake 版本
xmake v2.6.7+HEAD.93b7245
操作系统版本和架构
Linux nx-desktop 4.9.140-tegra #1 SMP PREEMPT Fri Apr 16 01:50:20 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux
描述问题
通过xmake require  --extra="{configs={gtk=true}}" opencv命令安装带gtk的opencv。但是命令没有任何输出，如下图。

查看~/.xmake/packages/o/opencv/4.5.5/发现新增有4709...文件夹，但里面是空的。下图中其他三个文件夹是之前编译好的opencv，带gtk和不带gtk。

执行xmake f -c，安装命令还是没输出。

是不是哪里缓存没有清掉？
期待的结果
顺利安装带有gtk的opencv
工程配置
No response
附加信息和错误日志
No response

执行xmake l os.arch输出：

不要去用 xmake requires 。。全走 add_requires/add_packages 在 xmake.lua 里面统一配置，直接编译

执行xrepo install -f "gtk=true" opencv没输出，但是执行xrepo install -f "gtk=true" opencv有可以正常安装。出现这种问题是不是包的lua脚本写错了？

并且我执行命令xrepo info opencv看opencv的编译选项，也有gtk
看输出好像xrepo也是走的xmake require，这两个命令有啥区别吗？

xmake require 目前用于工程内管理有缓存，也会读当前工程 xmake.lua ，通常用户不需要用，走 xmake 编译，内部自动会调用
xrepo 是独立命令，不跟当前工程相关，独立管理包

你先走 add_requires + add_packages 试下，看是否有问题

我的问题基本解决，下面说下的情况
我的os.arch=arm64-v8
我的需求：使用opencv显示图片
如何做：使用xmake安装opencv，并指定gtk=true
安装时需要注意的是：
1、opencv依赖gtk，仓库中虽然有gtk的包，但是arm64-v6的不支持。要保证电脑上有gtk+-3.0，可以使用pkg-config gtk+-3.0 --libs --cflags查看。没有安装就apt安一下。如果安装了，输出如下：

2、xmake.lua中记得加上libpng包，引用时写在opencv后面，即：add_packages("opencv","libpng")
完整的xmake.lua如下：

现在问题基本解决了，但是intellisense在第2行画红线，好像找不到这个库，能编译成功。（已在c_cpp_propertiess.jon中指定compileCommand为./vscode/compile_commands.json）

如何才能去掉这个红线呢？

参考下 https://github.com/xmake-io/xmake-vscode/issues/40 然后确认 compile_commands.json 是否生成。。如果插件激活，每次 xmake.lua 配置改动，都会自动生成。。
如果生成了，就看下，里面有没有带上 opencv 相关includedir 。。确认路径是否 ok
这里我先 close 了，intelligense 问题可以到 xmake-vscode/issues 下反馈

repo: xmake-io/xmake


text:
Inconsistent implementation of MutablePersistable

The current implementation of PersistableImplementor generates byte-code that a typical compiler probably would not.
Let's take one of the sample classes part of the test suite:
@Getter
public class SampleAggregate implements AggregateRoot<SampleAggregate, SampleAggregateIdentifier> {

	private final SampleAggregateIdentifier id;

        // ... other non-relevant stuff

	public SampleAggregate(SampleAggregateIdentifier id) {
		this.id = id;
	}

        // ... other non-relevant stuff
}

The above will generate byte-code with the following problems:

It will incorrectly implement MutablePersistable, lacking the implementation for the  __jMolecules__markNotNew method
it will have an additional default constructor despite the final fields that need initialisation, in the original code

Suggestions:
The first problem might be fixable by always generating the missing implementation, instead of being conditional to a given callbackInterface.
e.g.
JMoleculesType implementPersistable(JMoleculesType type) {
    // ...
    return type.findIdField().map(field -> {
        // ...
        return type
            .implement(MutablePersistable.class, type.getTypeDescription(), field.getType())
            .mapBuilder(this::generateCallbacks)
            // fix (1): generate the method regardless
            .mapBuilder(it -> !it.hasMethod(named(MARK_NOT_NEW_METHOD)), this::generateMarkNotNewMethod)
            .mapBuilder(it -> !it.hasField(named(IS_NEW_FIELD)), this::generateIsNewField)
            .mapBuilder(it -> !it.hasMethod(isEquals()), it -> generateEquals(it, isIdField))
            .mapBuilder(it -> !it.hasMethod(isHashCode()), it -> generateHashCode(it, isIdField))
            .mapBuilder(it -> !it.hasMethod(hasMethodName(IS_NEW_METHOD)), this::generateIsNewMethod);
        }).orElse(type);
}

// ...

private Builder<?> generateCallbacks(Builder<?> builder) {
    if (options.callbackInterface != null) {
        // fix (1): method generation moved earlier
        builder = builder.require(createCallbackComponent(builder.toTypeDescription()));
    }

    // ...

    return builder;
}

Not sure how to fix (2) though.

It will incorrectly implement MutablePersistable, lacking the implementation for the __jMolecules__markNotNew method

Can you elaborate on that? I don't see how you come to that, as the code you show below checks for the presence of the method, and, if not present, generates it.

it will have an additional default constructor despite the final fields that need initialisation, in the original code

That's correct but mandated by JPA. None of the code generated here will be callable from user code, though.

Can you elaborate on that? I don't see how you come to that, as the code you show below checks for the presence of the method, and, if not present, generates it.
The code that I pasted in there is a possible fix, the current version doesn't look like that.
The latest version available here generates the method conditionally on whether callbackInterface has been provided or not. In cases where the callbackInterface is not provided the method is not getting generated, hence the interface not implemented properly.

repo: xmolecules/jmolecules-integrations


text:
Cannot use Spring Boot 2.x

I am using Spring Boot 2.6.2 in my project. The org.hibernate.MappingException is thrown when I use Association  type. I tried this also with the jmolecules-spring-data-jpa in jmolecules-examples, which is using Spring Boot version 3.6.1 as I write this message. The test is completed successfully. But when I change the Spring Boot version to 2.6.2, it's complaining:
javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.MappingException: No Dialect mapping for JDBC type: 821576394

This is the start of the stack trace.

Does JMolecules support Spring Boot 2.x?

If you can provide a reproducer project, I can take a look. While we have general integration tests against Spring Boot back until 2.6, note that the latest 2.6 depends on Hibernate 5.6.15.Final. Both that Boot and Hibernate versions have been effectively out of support for quite a while. I can only recommend moving to a newer Spring Boot version, or, at least, upgrade to 2.7.15, which is the version we build against.

Closing due to lack of feedback and the Boot version this is reported as broken against being severely outdated.

authors: aaryadewa odrotbohm


text:
Chakra migration

Migrate the codebase to use chakra instead of tailwind
Add support to pass the theme as props for advanced UI customization
Update layout to not be viewport based (responsive) but component-based (the component will have different render based on the size of the parent container)

Apologies for that, wrong PR as it was supposed to be on our fork

repo: xmtp/example-chat-react


text:
Sync all syncs all

Updates the sync all conversations to actually sync all
Updates tests for performance
Adds dependency on SQL cipher.
Small performance improvement

Consistently getting Built a client with inboxId in 369.93345899973065ms across all sdks and RN. I think it's fair to say that this should hopefully be the experience across the board.
Client create is also marginally better but we still have a lot of room to improve here.

repo: xmtp/xmtp-react-native


text:
🛑 Design Swan is down

In 50aeb78, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 86 ms

Resolved: Design Swan is back up in 0e9975d.

repo: xoryorz/upptime


text:
🛑 Design Swan is down

In ea4b37f, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 110 ms

Resolved: Design Swan is back up in 9bd18b3 after 35 minutes.


text:
parser: fix create table without name

Closes #29

@xqueries/developer
Also, I think we should discuss #51 first

repo: xqueries/xdb


text:
Topic too big to open

    def get_messages(self, topic_name:str):
        print(f"get_messages: {topic_name}")
        reader = self.reader
        messages = []
        for msg in reader.iter_messages(topics=[topic_name]):
            topic = deserialize_message(msg[2].data, get_message(msg[0].name))
            timestamp = topic.header.stamp.sec * 1e9 + topic.header.stamp.nanosec
            messages.append([timestamp, topic])
        print(f"get_messages: {len(messages)}")
        return messages

created folder: rosbag2_2023_12_08-11_01_46_0
start parsing...
parsing done
get_messages: /CameraFront
Killed

added, using this
    start_time = bag_parser.start_time
    end_time = bag_parser.start_time + bag_parser.duration // 2
    all_image = bag_parser.get_parser().get_messages("/CameraFront",
                                                     start_time = start_time,
                                                     end_time = end_time)

authors: xrkong zhi-hui-lai


text:
v2.9.0

:robot: I have created a release beep boop
2.9.0 (2024-07-31)
Features

remove lodash (#32) (dfb2f26)

Dependency updates

bump dev (d94fc4a)

Documentation

add basic html example (#36) (032cb7a)
outdated information in cli example (#35) (4a0f060)

Maintenance

add release secret (8f204bc)
cleanup release config (309f975)
update dprint (70b03f6)
update release config (3d162d3)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.9.0
:sunflower:

repo: xseman/bysquare


text:
🛑 Xstatic is down

In e12da0b, Xstatic (https://www.xstatic.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Xstatic is back up in c5e89c5 after 16 minutes.

repo: xstaticwebdev/upptime


text:
🛑 Xstatic is down

In eb4f551, Xstatic (https://www.xstatic.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Xstatic is back up in aefaaa6 after 4 minutes.


text:
🛑 Xstatic is down

In 3c500e6, Xstatic (https://www.xstatic.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Xstatic is back up in a3f3ac8 after 11 minutes.


text:
可以註冊到 Azure Notification Hub 上，但無法接收到測試推播

您好
我有建立一個百度雲推送應用
根據您提供的範例專案，我可以成功執行到 SendRegistrationToAppServer 這個方法，並且也成功地向我自己建立的 Azure Notification Hub 註冊成功。
不過，當我利用 Azure Notification Hub 上提供的發送百度測試推播功能，在該測試網頁下方的結果中，有看到成功的推送出我剛剛註冊的裝置。
我對於 OnMessage, OnNotificationArrived, OnNotificationClicked 方法中設下中斷點，卻發現到這幾個方法都沒有被觸發。
請問，您是否知道問題可能在哪裡呢？我現在是在台灣，使用台灣的網路是否可以正常使用百度雲推送呢？

若有需要，我可以提供我的測試專案原始碼給您

@xyfoo
我有將整個執行過程錄製下來，您可以透過 影片連結 看到我這裡的執行狀況

我中文造诣欠佳，若中英有别，请以英文作准。

我對於 OnMessage, OnNotificationArrived, OnNotificationClicked 方法中設下中斷點，卻發現到這幾個方法都沒有被觸發

百度 SDK在debugger连接时不大可靠 (我没去找出原因所在）。
你可试试看直接deploy去你手机/emulator，再重新推送。
My experience is that the SDK doesn't work reliably when the VS debugger is attached (I have no idea why). But it will work when you deploy directly to the device (Project > Deploy).

我現在是在台灣，使用台灣的網路是否可以正常使用百度雲推送呢？

我只在马来西亚的网络做过测试，没问题。
那我猜台湾应该也不会有问题呱。
It works ok for me in Malaysia, so I suppose it should work for Taiwan network too.

如果还是不行，那我建议你下载百度提供的debug APK，以做些简单的检测。
If that still doesn't work, you can try to install the debugging tools provided by Baidu, to help to diagnose what may have gone wrong.
http://push.baidu.com/static/downloads/DetectToolsForDeveloper.apk

@xyfoo
感謝您的提醒，我來測試看看

@xyfoo
非常感謝您的幫忙與提供這麼好用的套件，根據您的建議，我手動 deploy 到手機上，接著直接開啟我的測試 App，可以正常收到 Push Notification

authors: vulcanlee xyfoo


text:
getting the tx_blob after sign

After signing the payment transaction using Sign function from keypairs, the output seems to be way too short and not even similiar to the wanted tx_blob binary chunk.
Is there any other function that would help me receive one?
Thank you in advance

Check my fork to see if it is functioning as you expect https://github.com/CreatureDev/xrpl-go
I have not been able to get into contact with the xyield team about finishing up encoding and signing, so I continued work on my own

Check my fork to see if it is functioning as you expect https://github.com/CreatureDev/xrpl-go I have not been able to get into contact with the xyield team about finishing up encoding and signing, so I continued work on my own That said I have not had time recently to continue development. I hope to get back around to it eventually.

looking definitely richer than this one, however here is my question:
assuming ive received this kind of otput
E83CAFEAF100793F0C6570D60C7447FF3A87E0DC0CAE9AD90EF0102860EC3BD1D20F432494021F3E19DAFF257A420CA64A49C283AB5AD00B6B0CEA1756151C01
after Sign (example output from TestSign), how can i now use it as a tx_blob which is usually looking this way (example);
120000228000000024002506BD6140000000000003E868400000000000000D73210385A4FBB67DCABBFAA13D371B3ED155D136483F74D82B03DF0EF8688F56033B8474473045022100CA6244EB406DB2C1791D265E6D25F9F5B130C4B94EEFF58D9CE3525F782168B002201383AB3B37FA66F5986FA6380728E8DDF3D364A2DF16A6647FC5C2901274348C81143BF6E46A8F9BC49B65706DA36BA4D3044E4BE40B831479A2A3B3AF517775109D089D4BD3D9487066DF14

The signature needs to be added to the transaction struct, then encode the transaction
The signature is not the transaction, it's just used to validate the transaction
Here is an example of signing and submitting a transaction
`	tx := &transactions.Payment{
BaseTx: transactions.BaseTx{
Account:         types.Address(src),
TransactionType: transactions.PaymentTx,
Fee:             types.XRPCurrencyAmount(10),
SigningPubKey:   pubKey,
Sequence:        seq,
Flags:           types.SetFlag(0),
},
Destination: types.Address(dst),
Amount:      types.XRPCurrencyAmount(100),
}
enc, err := binarycodec.EncodeForSigning(tx)
if err != nil {
	fmt.Println(err.Error())
	os.Exit(1)
}
sig, err := keypairs.Sign(enc, privKey)
tx.BaseTx.TxnSignature = sig
sub := txModel.SubmitRequest{}
sub.TxBlob, err = binarycodec.Encode(tx)
if err != nil {
	fmt.Println(err.Error())
	os.Exit(1)
}

res, s, err := cl.Transaction.Submit(&sub)
if err != nil {
	fmt.Println(err.Error())
	os.Exit(1)
}
fmt.Printf("RESPONSE %+v\n", res.Tx)

`

The signature needs to be added to the transaction struct, then encode the transaction The signature is not the transaction, it's just used to validate the transaction Here is an example of signing and submitting a transaction tx := &transactions.Payment{ BaseTx: transactions.BaseTx{ Account: types.Address(src), TransactionType: transactions.PaymentTx, Fee: types.XRPCurrencyAmount(10), SigningPubKey: pubKey, Sequence: seq, Flags: types.SetFlag(0), }, Destination: types.Address(dst), Amount: types.XRPCurrencyAmount(100), } enc, err := binarycodec.EncodeForSigning(tx) if err != nil { fmt.Println(err.Error()) os.Exit(1) } sig, err := keypairs.Sign(enc, privKey) tx.BaseTx.TxnSignature = sig sub := txModel.SubmitRequest{} sub.TxBlob, err = binarycodec.Encode(tx) if err != nil { fmt.Println(err.Error()) os.Exit(1) } res, s, err := cl.Transaction.Submit(&sub) if err != nil { fmt.Println(err.Error()) os.Exit(1) } fmt.Printf("RESPONSE %+v\n", res.Tx)

i see, however as far as ive checked i will be unable to use it
the only way to sign is the ed25519, my xrp address uses ecdsa, so apparently i wont be able to do anything here :(

i will be unable to use it the only way to sign is the ed25519, my xrp address uses ecdsa, so apparently i wont be able to do anything here :(
Yeah you will either need to create a new account, or add a new ed25519 key to your existing account using the SetRegularKey transaction
We also do have an interface you can implement to add support for an additional crypto algorithm, if you want to add it yourself. Take a look at keypairs/ed25519.go for an example of how it's done.

i will be unable to use it the only way to sign is the ed25519, my xrp address uses ecdsa, so apparently i wont be able to do anything here :(

Yeah you will either need to create a new account, or add a new ed25519 key to your existing account using the SetRegularKey transaction We also do have an interface you can implement to add support for an additional crypto algorithm, if you want to add it yourself. Take a look at keypairs/ed25519.go for an example of how it's done.

i dont have to change anything in terms of last encoding (signed tx) into a blob right? just sign differently?
because after implementing ecdsa i am getting response from ledger that suggests signature is wrong/invalid.

code for reference:
func SignSECEP256K1 (txBlob []byte, privKeyHex string) (string, error) {
	// decode the private key
	privKeyBytes, err := hex.DecodeString(privKeyHex)
	if err != nil {
		return "", errors.New("invalid private key hex")
	}
	// remove the '00' prefix if it exists
	if len(privKeyBytes) > 0 && privKeyBytes[0] == 0x00 {
		privKeyBytes = privKeyBytes[1:]
	}

	// parse the private key
	privKey, _ := btcec.PrivKeyFromBytes(btcec.S256(), privKeyBytes)

	// sign the transaction blob directly
	signature, err := privKey.Sign(txBlob)
	if err != nil {
		return "", errors.New("failed to sign transaction")
	}

	// serialize signature to DER format
	derSignature := signature.Serialize()

	// return the DER-encoded signature as a hex string
	return hex.EncodeToString(derSignature), nil
}

hex.Decode should no longer be necessary on my fork, just use the output of EncodeForSigning as is

repo: xyield/xrpl-go


text:
LevelCollectionsForGameplayModes reference missing

Unable to build refactoring branch, LevelCollectionsForGameplayModes is missing.  Is there a reference missing?

This is because the refactoring branch is for a closed Beat Saber beta branch.

authors: halsafar xyonico

repo: xyonico/BeatSaberSongLoader


text:
Any plans on separating the theme from the actual blog?

First of all, thank you for this excellent theme 👍🏼. It is both visually appealing and accessible.
Currently, the xyblag theme resides in themes/xyblag, which makes it difficult to use it as a submodule.
I'd be great if you could migrate the xyblag theme here.

Hi, I don't have a plan to migrate the theme here.
Currently, I don't have the bandwidth to make each personal customization as an option for the user. For example, the commenting system: I switched from disqus to utterances, and I can make such breaking changes quickly if I don't also have to maintain them for everyone.
Though I agree that there should be themes that allow people to start blogging quickly with minimal setup and all bells and whistles, I don't think this theme would be one of them. If someone is interested in maintaining it as a proper theme that people can just pick and use, I am supportive of it, just that I don't have time to devote to it. I want people to take the theme from the blog and customize it, bend it to their personality and blogging style, not just copy and make another generic blog.
In it's current state the theme serves as a boilerplate to develop a custom theme on, with all pages for blog, about, tags, categories etc setup and a decent css layout to customize.

authors: arunanshub xypnox

repo: xypnox/xyblag-theme


text:
Add supports for sending query results to results cache for clp

References

#212
Description

This PR adds supports for sending query results to the results cachef for clp
Validation performed

Built the package using Task in ubuntu-focal
Used the package to compress hive-24hrs dataset.
Used the package to perform some queries. The queries results were stored in MongoDB and printed out to the console.

Can you investigate the CentOS build failure?

Can you investigate the CentOS build failure?

Two issues with CentOS

dpkg is not a valid command in CentOS, probably we should use rpm instead
This PR didn't rebuld the execution image. Our last build was not successful (see raw logs from the screenshot) It's because checkinstall is not installed in CentOS and we use set -u, which results in empty install_command_prefix_args and the unbounded variable error.

Thanks. Should be addressed in #229.

Thanks. Should be addressed in #229.

This PR is ready for review

Actually, that's probably confusing since the clp binary doesn't do search. How about:
Send search results through the results cache in the CLP package. (#223)?

Actually, that's probably confusing since the clp binary doesn't do search. How about:
Send search results through the results cache in the CLP package. (#223)?

Good to me

authors: kirkrodrigues wraymo

repo: y-scope/clp


text:
🛑 Deelim - API is down

In 93eb011, Deelim - API (https://api.deelim.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Deelim - API is back up in cee5832 after 13 minutes.


text:
getChat doesnt work

Question

Hi all. I want get user info with chat id. but the result is undefined:
for(var i = 0; i < result.length; i++) {
                    console.log(result[i].chatId)
                    var chat = bot.getChat(result[i].chatId)
                    console.log(chat['username'])
                    message += (i+1).toString()+'. '+ chat.username + ' - ' + chat.first_name + ' ' + chat.last_name + ': ' + result[i].feeds.length + 'feeds. \n'
                }

1. undefined - undefined undefined: 1feeds.
2. undefined - undefined undefined: 0feeds.
3. undefined - undefined undefined: 0feeds.
4. undefined - undefined undefined: 0feeds.

@aliir74 Short answer: put word async before function definition, and use var chat = await bot.getChat(...).
https://stackoverflow.com/a/14220323/3821804

@GingerPlusPlus Thanks

repo: yagop/node-telegram-bot-api


text:
🛑 AGS is down

In 4b45234, AGS ($AGS_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AGS is back up in e73a009.


text:
Provide fallback for browsers without native Intl or Intl polyfill

Many of us are only using simple messages. It would be nice not to have to provide the polyfill in these kinds of situations on Safari for now.

I'm also curious if this library would crash in runtime if you have the simple messages. If I have only plural rules and no number/date/formatters, can I get away without using Intl polyfill?

this is not a polyfill, but a library since browsers are not implementing messageformat, nor there is a proposal for doing so.
maybe another library that does similar things without the overhead will be enough for small projects.

authors: aaronshaf caridy hey99xx

repo: yahoo/intl-messageformat


text:
where is data path

My kafkamanager already has added a cluster.  When I  reinstall a new kafkamanager , the added cluster data is lost. So I want to know where the data path of the kafkamanager ?  I can not find the option on the configuration file.

The configuration is storaged at zookeeper, in the the /kafka-manager

authors: lpicanco pingzilao

repo: yahoo/kafka-manager


text:
Use debug v2

@drewfish This PR uses version 2 of debug
https://github.com/visionmedia/debug/commit/c61ae82bde19c6fdedfc6684817ff7eb541ff029#diff-b9cfc7f2cdf78a7f4b91a753d10865a2
with the main difference being that it will use stderr rather than stdout for logging.   Most of our repos are using v2 - while it's really not a huge deal it'll be one less package to install since everyone else shares a common debug@^2 via npm3

CLA is valid!

👍

authors: redonkulus snyamathi yahoocla

repo: yahoo/locator


text:
correct staticcheck issues

PR contains changes to fix the code issues flagged by staticcheck:
$ staticcheck ./...

client.go:273:2: should use 'return <expr>' instead of 'if <expr> { return <bool> }; return <bool>' (S1008)
client.go:501:2: should use a simple channel send/receive instead of select with a single case (S1000)
client.go:529:2: should use a simple channel send/receive instead of select with a single case (S1000)
client_test.go:502:2: this value of session is never used (SA4006)
example_test.go:119:20: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made.  (SA1019)
example_test.go:139:24: *&x will be simplified to x. It will not copy x. (SA4001)
vssh.go:51:2: field ctx is unused (U1000)
vssh.go:60:2: field errors is unused (U1000)
vssh.go:62:2: field clients is unused (U1000)
vssh.go:369:19: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (SA1015)

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@dmitris Thanks Dmitry!

authors: dmitris mehrdadrad

repo: yahoo/vssh


text:
How to do lazy loading of records? +300000 records

TL;TR
What's the approach to use this plugin for tables with +300000 records.
I'm trying to implement a report using this plugin, but the problem I'm facing, is that seems like try to retrieve all records in once.
My "idea" is to only load records of each page and avoid to request all records because scripts crashed because out of memory.
This is what I use on my controller. I'm using Query builder and skipPaging as suggested on an older issue). Just for try, I tested doing some filtering too, and then works, but without filtering don't.
return datatables(DB::table('mytable'))->skipPaging()->toJson();
This is my JS side:
var table = $('#powersearch-table').DataTable({
           processing: true,
           serverSide: true,
           pageLength: 50,
           deferRender: true,
           destroy: true,
           ajax: {
               url: "/powersearchajx",
               dataSrc: "data",
               type: "GET"
           },
           buttons: [
              'pageLength', 'csv', 'excel', 'pdf', 'print'
          ],
           columns: [
                mycolumns
           ],
       });

     $('#powersearch-table thead tr').clone(true).appendTo( '#powersearch-table thead' );
     $('#powersearch-table thead tr:eq(1) th').each( function (i) {
         var title = $(this).text();
         $(this).html( '<input type="text" placeholder="Search '+title+'" />' );

         $( 'input', this ).on( 'keyup change', function () {
             if ( table.column(i).search() !== this.value ) {
                 table
                     .column(i)
                     .search( this.value )
                     .draw();
             }
         } );
     } );

Hello devgiu,

I have passed the additional parameters using the with function from controller like below snippet-
->with([ "cities" => app(\App\Http\Controllers\HelperController::class)->cityListing(), "leadCounters" => $this->leadCounters ]) ->make(true);
Now, how can we extract these keys values in the view side?
Here, in the attachment. I am getting the response.

@devgiu don't skip the paging unless you want to implement your own paging. Just remove ->skipPaging().

authors: UmeshKrRana devgiu yajra

repo: yajra/laravel-datatables


text:
Sorting behaviour

I have a Collection, which contains a name and a value:

My method returns the following:
return DataTables::of($collection)->toJson();
On the frontend the DataTables object uses "serverSide": true
When I sort on name, the digits 3 and 4 are sorted before 1:

What can cause this behaviour?

Same problem here


text:
alway return draw 0  .... with lumen

form luemn api
return Datatables::of($data)->addIndexColumn()->make(true);
have return data but draw =  0
in client project use datatable server side
call with controller

 $url = 'lumen........api';
            $response = $client->request('GET', $url, [
                'headers' => [
                    'Authorization' => 'Bearer ' . ['token'],
                    'Content-Type: application/json'
                ],
            ]);
        }
        $body = $response->getBody();
        $data = json_decode($body, true);

------------------------- in view

var table = $('#.....').DataTable({
            processing: true,
            serverSide: true,
            paginate: true,
            pageLength: 20,
            method:'POST',
            ajax: "{{ controller  }}",
            columns: [
                { data: 'DT_RowIndex', name: 'DT_RowIndex' },
                { data: 'Code', name: 'employe_code' },
            ]
        });

    have return data but draw = 0

draw value is incremented by the JS library in every request. You might be doing the request manually and thus need to increment it too.

authors: engineerknow yajra


text:
🛑 rms-neoaria is down

In 7d3ba3d, rms-neoaria (https://rms.neoaria.io/conlab) was down:

HTTP code: 502
Response time: 3636 ms

Resolved: rms-neoaria is back up in d4c1809.

repo: yakenator/upptime


text:
YakYak should support hangout stickers.

When I send a sticker in the Chrome app:

This is what YakYak displays:

If possible, YakYak should also display those stickers. They are hosted publicly on googleusercontent.com.
Sincerely,
Christoph

Can you confirm that version available at #445 (v1.4.0-beta1) solves this?
If it does, please close the issue :)
Thanks

Running the latest Beta2. Just tested sending a sticker in the Chrome app, and it did appear in YakYak :)

1.4.0 released

Stickers created in the Chrome app are not visible in 1.4.3.  This report needs to be reopened.

authors: Christoph-Harms DavidJSmart averissimo mattsigal

repo: yakyak/yakyak


text:
Hide window on ESC key

Alternative shortcut to hide the window. It is not practical every time to use the mouse to hide. Using the ESC key is a fast and intuitive way to hide the window quickly.

this only works with focus on the input area. while focus is there most of the time the shortcut shold be associated to the entire app
on mac you can do cmd + h or cmd + w. Other OS may altread have their own shortcuts i think, isn't it ?

On Windows/Linux you can use ctrl+h to hide the window

@bryanzw15  -  CTRL+H does nothing on Linux (LXDE at least)

@ctcpip I just tested on Windows 10 and Ubuntu 16.04 and it works, maybe you're not fully updated? Otherwise it's just a weird issue with LXDE

More likely just the difference in desktop environment than anything else.

I'm not sure if this ESC key is a good idea. I merge it for the moment

authors: bryanzw15 ctcpip davibe oezdemir


text:
Update AlphaSlider  accessibility

Description
related https://github.com/yamada-ui/yamada-ui/issues/1505
related https://github.com/yamada-ui/yamada-ui/issues/1727
This issue aims to address accessibility deficiencies in our slider component as per W3C guidelines.
The component currently does not meet the accessibility standards outlined in the W3C documentation.
The goal is to ensure the component is accessible to all users, including those using assistive technologies.
Ensure that all unchecked items in this checklist should be addressed.

[ ] If the value of aria-valuenow is not user-friendly, e.g., the day of the week is represented by a number, the aria-valuetext property is set to a string that makes the slider value understandable, e.g., "Monday".

Problem Statement/Justification
improve accessibility
Proposed Solution or API
No response
Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
None
Additional Information
No response

This issue is related to #3019
If above PR is merged, this issue closed without additional address

repo: yamada-ui/yamada-ui


text:
How to progress current objective?

I am stuck on a bugged quest, what functions would be useful in completing the current objective but not completing the full quest? Thanks in advance for the help

Not a bug.

authors: Quantum-Chef yamashi

repo: yamashi/CyberEngineTweaks


text:
Version defaults for CMAKE are outdated

CMakeLists.txt file contains the VERSION information that refer to 0.1.7
Please remember to update for the next release.

Fixed, thanks!

authors: ctrix perlpunk

repo: yaml/libyaml


text:
when i click the button Treeview,  it show me "in test: line 1:37: mismatched input '‘'. Expecting:"

Describe the feature:

yanagishima version:20.0
presto version:0.219
conf/yanagishima.properties:
JVM version (java -version):
Server OS version (uname -a if on a Unix-like system):
Client OS version
Browser:
Description of the problem including expected versus actual behavior:
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) query execution, bookmark, settings, hisotry etc.  The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.

Provide logs (if relevant):
Provide screenshots (if relevant):

Could you share:

yanagishima.properties (you can hide confidential info)
log message

I am so sorry. i changed a wrong character in the source code so it reported this. Apologize to you

No need to apologize. Thanks for your report.

authors: JellyMing ebyhr

repo: yanagishima/yanagishima


text:
retention() function does not work correct

Describe the bug
retention() does not work properly with flag conditions and condition from a different column
How to reproduce
CREATE TABLE retention_test(date Date, uid Int32)ENGINE = Memory;
INSERT INTO retention_test SELECT '2018-08-06', number FROM numbers(80);
INSERT INTO retention_test SELECT '2018-08-07', number FROM numbers(50);
INSERT INTO retention_test SELECT '2018-08-08', number FROM numbers(60);
SELECT uid, retention(date = '2018-08-06', date = '2018-08-07') AS r FROM retention_test WHERE date IN ('2018-08-06', '2018-08-07') GROUP BY uid ORDER BY uid LIMIT 5;
┌─uid─┬─r─────┐
│   0 │ [1,1] │
│   1 │ [1,1] │
│   2 │ [1,1] │
│   3 │ [1,1] │
│   4 │ [1,1] │
└─────┴───────┘
SELECT uid, retention(1, date = '2018-08-06', date = '2018-08-07') AS r FROM retention_test WHERE date IN ('2018-08-06', '2018-08-07') GROUP BY uid ORDER BY uid LIMIT 5;
┌─uid─┬─r───────┐
│   0 │ [1,0,0] │
│   1 │ [1,0,0] │
│   2 │ [1,0,0] │
│   3 │ [1,0,0] │
│   4 │ [1,0,0] │
└─────┴─────────┘
SELECT uid, retention(uid % 2 = 0, date = '2018-08-06', date = '2018-08-07') AS r FROM retention_test WHERE date IN ('2018-08-06', '2018-08-07') GROUP BY uid ORDER BY uid LIMIT 5;
┌─uid─┬─r───────┐
│   0 │ [1,0,0] │
│   1 │ [0,0,0] │
│   2 │ [1,0,0] │
│   3 │ [0,0,0] │
│   4 │ [1,0,0] │
└─────┴─────────┘

Expected behavior
SELECT uid, retention(1, date = '2018-08-06', date = '2018-08-07') AS r FROM retention_test WHERE date IN ('2018-08-06', '2018-08-07') GROUP BY uid ORDER BY uid LIMIT 5;
┌─uid─┬─r───────┐
│   0 │ [1,1,1] │
│   1 │ [1,1,1] │
│   2 │ [1,1,1] │
│   3 │ [1,1,1] │
│   4 │ [1,1,1] │
└─────┴─────────┘
SELECT uid, retention(uid % 2 = 0, date = '2018-08-06', date = '2018-08-07') AS r FROM retention_test WHERE date IN ('2018-08-06', '2018-08-07') GROUP BY uid ORDER BY uid LIMIT 5;
┌─uid─┬─r───────┐
│   0 │ [1,1,1] │
│   1 │ [0,0,0] │
│   2 │ [1,1,1] │
│   3 │ [0,0,0] │
│   4 │ [1,1,1] │
└─────┴─────────┘

Looks like this was fixed.

repo: yandex/ClickHouse


text:
add java string hash, hive string hash, for compatible with java world

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
The hash function used by java, and hive 'distributed' clause, people can use these function to generate the same hash distribution as hive/java system after they loading some data already hashed by hive/java system, so, 'co-located join' / 'local in' can be used to speed up query.
Unfortunately, this function only works for ascii-string, which is '0x0' - '0x7F', because in java, char is 2 bytes, with 'unicode' encoding, for ascii char '0x01', its unicode value '0x0001' = '0x01', but for some chinese code,
we can't simply use it as 1 byte char in C.  For some userId, or deviceId, it's enough, but you can't use it for a general java string.

I will try to address all my concerns and merge this PR.

I will try to address all my concerns and merge this PR.

That's cool


text:
Row binary

Направил в предыдущий бранч.
Формат записи изменен на RowBinary + несколько оптимизаций.
На тестах раньше скорость записи батча в 500к занимала около 1.5 - 3 секунды, сейчас запись батча в 1кк (в два раза больше) занимает опримерно полторы - две секунды.
При этом потребление cpu упало примерно в 2 раза.
Файл ClickHouseStatementImpl пока скопировал из jdbc драйвера, что бы заоверайдить класс из зависимости. Там из правок тольковозможность передать формат в sendStream. PR в драйвер оформлю попозже.

Про RowBinary - https://clickhouse.yandex/reference_ru.html#RowBinary

repo: yandex/graphouse


text:
🛑 Privatebin is down

In cbd6233, Privatebin (https://privatebin.icloudnative.io) was down:

HTTP code: 503
Response time: 5493 ms

Resolved: Privatebin is back up in 3a96428.

repo: yangchuansheng/upptime


text:
🛑 Privatebin is down

In 5b7a961, Privatebin (https://privatebin.icloudnative.io) was down:

HTTP code: 503
Response time: 969 ms

Resolved: Privatebin is back up in 8686e69 after 26 minutes.


text:
Warnings "is missing in props validation" when upgrading from 2.5.2 to 2.6.x.

I had an isssue after update.
27:39  warning  'router.getCurrentQuery' is missing in props validation for Login  react/prop-types
28:22  warning  'router.replaceWith' is missing in props validation for Login      react/prop-types
2.5.2 works. File https://gist.github.com/steida/f2b2e9d6df01576c3fee

Didn't you already have an issue about this? See https://github.com/yannickcr/eslint-plugin-react/issues/137#issuecomment-117846606, we even discussed it?

I tried everything what was suggested.

@mathieumg I asked to create another issue since it was a different problem than #137

My bad, I missed that line. To quote myself from that thread, @steida :

That would be a React issue though, can I see what you are giving to the router prop?

Seems it is a function with some custom methods, I don't think we currently handle this case. I'll have a look.

That's what I was wondering, perhaps PropTypes.instanceOf would have been more appropriate.

Ok, I updated gulp-eslint, and it works. Damn, gulp wrappers are more miss than hit.

Ups, no it still does not work. If I use shape, this warning is logged:
Warning: Failed propType: Invalid prop `router` of type `function` supplied to `Login`, expected `object`. Check the render method of `LoginExposeRouter`.

So, func is must for React. And eslint-plugin-react needs shape. So this is still an issue to solve.

@steida Do you mind posting what exactly the value you are giving to router looks like? Thank you!

Yes, you should specify a function.
I think the issue is because you are using something 2 levels deep router.getCurrentQuery().nextPath. Because of that, eslint-react wants you to specify getCurrentQuery as well.

I found it.
This code sucks:
redirectAfterLogin() {
  const nextPath = this.props.router.getCurrentQuery().nextPath;
  this.props.router.replaceWith(nextPath || 'home');
}

This code works:
redirectAfterLogin() {
  const {router} = this.props;
  const nextPath = router.getCurrentQuery().nextPath;
  router.replaceWith(nextPath || 'home');
}

It works because you go around the problem, your prop is just not getting validated at all anymore. It would help to understand the problem better if you would provide us with an example of the value you give to the router prop, thank you.

fyi const router = this.props.router isn't validated as well.

You can check it here https://github.com/este/este/blob/master/src/client/components/exposerouter.react.js

I'm having this same issue, but with immutable objects using seamless-immutable. The prop types provided to a component are immutable objects, and whenever I use methods added for that particular library such as asMutable(), I get errors that it's not specified. I could go around it like suggested above, but that sort of defeats the purpose.
Is it possible to ignore this?

authors: andolf mathieumg steida tleunen yannickcr

repo: yannickcr/eslint-plugin-react


text:
No errors are shown when using undefined component

No warning is shown when I'm using undeclared component:
// ... is defined but never used
import {
    LoadingIndicator,
    // View
} from 'components';

...

render() {
    // no warnings..
    return (
        <View>
            <LoadingIndicator />
        </View>
    );
}

ESLint removed JSX support in no-undef since v0.18.0, you must now use the react/jsx-no-undef rule.

@yannickcr cool, that works!

authors: voronianski yannickcr


text:
Fix no-comment-textnodes incorrectly catching urls (fixes #664)

Fixes #664.

@petersendidit if you rebase on latest master, your tests should pass.

I'd forgotten to update the appveyor config - it's done now.

@yannickcr ping :-)

Merged, thanks!

authors: ljharb petersendidit yannickcr


text:
Select which camera to initially show

The back camera is always initial selected by default in the via controller. After the view controller is shown the can toggle between the front and back camera.
Would it be possible to choose which camera is selected by default?

For the moment this is not possible. Its Swift counterpart already supports this feature but I don't have enough time to support them both.
If you want add this feature, don't hesitate.

You can call [_codeReader switchDeviceInput] at viewDidLoad.... It have worked great for me...

authors: AdrianToman1 Lasherbr yannickl

repo: yannickl/QRCodeReaderViewController


text:
移动最后一个Item时，分割线消失

移动最后一个Item到任意位置，Item间的分割线消失了

当只有两个Item时有此现象

多个Item时，分割线的Height会变

repo: yanzhenjie/SwipeRecyclerView


text:
iodine fails to find new OpenVPN TAP adapter on Windows

The Windows OpenVPN installer (OpenVPN-2.5.6-I601-amd64.msi) now creates a TAP interface with a root-enumerated hardware ID (ComponentId = root\tap0901).  Iodine (tun.c) only looks for legacy hardware IDs (e.g. ComponentId = tap0901), even if a device name is provided (-d).
Please update the registry device enumeration section to match: tap0801, tap0901, and root\tap0901.
Also: there are several malformed warnx statements in tun.c.
e.g.:             warnx("Error opening registry key " TAP_ADAPTER_KEY);
should be:   warnx("Error (%d) opening registry key: %s", status, TAP_ADAPTER_KEY);

http://build.openvpn.net/downloads/releases/tap-windows-9.9.2_3.exe
I was able to get it working with that specific installer

Excellent point Xyvir.  That version installs the TAP interface with the legacy Hardware ID.  Unfortunately, I'm actually running OpenVPN too.
So the workaround is to install the legacy TAP interface first, and then install OpenVPN.
(Unfortunately, I still can't get the client to work right on the latest Windows 10.  I'm not sure how to get help with that.)

It's working for me in win 10 pro 20h2, are you sure the server is set up correct?

I'd like to leave this ticket open to get the "root-enumerated hardware ID" issue and the broken warnx statement fixed.
I am unable to get the interface to show "IPv4 Connectivity:  Internet"  and my routing table looks strange.  It adds an unexpected route in the subnet to ".... .31" (e.g. 172.16.0.31).  And of course I can't ping to the iodined host (e.g. 172.16.0.1).

I'm running Debian 11, and installed iodine from apt.  I am using the following default config:
START_IODINED="true"
IODINED_ARGS="-c 172.16.0.1 dnstun.mydomain.org"
IODINED_PASSWORD="My iodined password."
Also, I can connect from another Linux machine.

For me in Windows I had to manually set the gateway of the TAP interface to the iodine server IP; 10.0.01 as seen In the screenshot above.

I tried setting the default gateway of the TAP interface to the iodined server's IP (172.16.0.1), but that didn't help.  Is there another way?  (Do you mean changing the routes?) Does your routing table look like mine?

This is what my ipconfig looks like:
Unknown adapter dns-tun:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9
   Physical Address. . . . . . . . . : 00-FF-AA-2F-B4-12
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::50b6:4af9:66a3:efda%24(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.16.0.3(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.224
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 100728746
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-F3-8F-21-DC-4A-3E-E3-62-5A
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

It looks like default gateway Ia still not configured
I recommend setting it thru control panel. > Network sharing center > change adapter settings and not win 10 metro settings menu

I'm stumped Erik:
`Unknown adapter dns-tun:
Connection-specific DNS Suffix  . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-AA-2F-B4-12
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::50b6:4af9:66a3:efda%24(Preferred)
IPv4 Address. . . . . . . . . . . : 172.16.0.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.224
Default Gateway . . . . . . . . . : 172.16.0.1
DHCPv6 IAID . . . . . . . . . . . : 100728746
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-F3-8F-21-DC-4A-3E-E3-62-5A
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
`
I disabled the Windows Public firewall (and my AV).  And I even ran the troubleshooter on the interface.
This is failing on 2 Windows 10 boxes (not VMs), my laptop and desktop.  Does my route table look right?

I'm Tyler not Eric, just a random user of the software. I happens to be tinkering with it this past week myself.
I can't check my route table right at this moment.
Can you provide the ipconfig of your main adapter as well?   Also you may want to test it with only the legacy TAP adapter and uninstall the new OpenVPN one in case it's causing an issue.
Since it's tunneling thru DNS I wouldn't expect the windows firewall to affect anything.
Just let me know, thanks.

Sorry Tyler.
I don't know how to make this code block folding.  My complete IP interface dump is:
ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : LSPTOP-NAME
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Ethernet 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe FE Family Controller #2
   Physical Address. . . . . . . . . : DC-4A-3E-E3-62-5A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Unknown adapter OpenVPN Wintun:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Wintun Userspace Tunnel
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Unknown adapter dns-tun:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9
   Physical Address. . . . . . . . . : 00-FF-AA-2F-B4-12
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::50b6:4af9:66a3:efda%24(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.16.0.3(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.224
   Default Gateway . . . . . . . . . : 172.16.0.1
   DHCPv6 IAID . . . . . . . . . . . : 100728746
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-F3-8F-21-DC-4A-3E-E3-62-5A
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Local Area Connection* 15:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #4
   Physical Address. . . . . . . . . : 00-82-3F-F1-0B-18
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 5:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #6
   Physical Address. . . . . . . . . : 02-82-3F-F1-0B-19
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
   Physical Address. . . . . . . . . : 00-50-56-C0-00-01
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::dd98:c713:a34b:abfb%25(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.189.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 268456022
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-F3-8F-21-DC-4A-3E-E3-62-5A
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet2
   Physical Address. . . . . . . . . : 00-50-56-C0-00-02
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::598e:e10:8aa1:5ffc%29(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.2.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 536891478
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-F3-8F-21-DC-4A-3E-E3-62-5A
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
   Physical Address. . . . . . . . . : 00-50-56-C0-00-08
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::7892:37c1:85e9:737b%31(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.66.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 637554774
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-F3-8F-21-DC-4A-3E-E3-62-5A
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 3165
   Physical Address. . . . . . . . . : 02-82-3F-F1-0B-18
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::e89e:f7ee:87a9:f83%20(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.200.13(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Saturday, April 30, 2022 3:13:28 PM
   Lease Expires . . . . . . . . . . : Saturday, April 30, 2022 5:13:27 PM
   Default Gateway . . . . . . . . . : 192.168.200.1
   DHCP Server . . . . . . . . . . . : 192.168.200.1
   DHCPv6 IAID . . . . . . . . . . . : 98604135
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-F3-8F-21-DC-4A-3E-E3-62-5A
   DNS Servers . . . . . . . . . . . : 192.168.200.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth PAN HelpText
   Physical Address. . . . . . . . . : E0-94-67-88-0A-49
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

This machine has VMWare Workstation as well as OpenVPN, lots of interfaces.  The other Windows 10 box just has VirtualBox and the OpenVPN 9 (legacy) tunnel, so fewer interfaces. Both machines only have the legacy TAP adapter.
Strictly speaking, I wouldn't expect a firewall to do anything either, unless it is running IPS.

Hmm I don't see anything amiss here.
And you still aren't able to ping the gateway address, after you added it in manually and connected with iodine.exe?
What does the iodine.exe output look like?
Please note the DNS VPN tunnel is only open while iodine.exe terminal window is open.
Just let me know.

The Iodine.exe output is:
C:\WINDOWS\system32>C:\Progs\iodine-0.7.0-windows\64bit\iodine.exe -r -P "The password here." -d dns-tun dnstun.mydomain.org
Opening device dns-tun
Opened IPv4 UDP socket
Opened IPv4 UDP socket
Sending DNS queries for dnstun.mydomain.org to 192.168.200.1
Autodetecting DNS query type (use -T to override).Opened IPv4 UDP socket

Using DNS type NULL queries
Version ok, both using protocol v 0x00000502. You are user #1
Enabling interface 'dns-tun'
Setting IP of interface 'dns-tun' to 172.16.0.3 (can take a few seconds)...
The following helper DLL cannot be loaded: NAPMONTR.DLL.

Server tunnel IP is 172.16.0.1
Skipping raw mode
Using EDNS0 extension
Switching upstream to codec Base128
Server switched upstream to codec Base128
No alternative downstream codec available, using default (Raw)
Switching to lazy mode for low-latency
Server switched to lazy mode
Autoprobing max downstream fragment size... (skip with -m fragsize)
768 ok.. ...1152 not ok.. ...960 not ok.. 864 ok.. 912 ok.. 936 ok.. ...948 not ok.. will use 936-2=934
Setting downstream fragment size to max 934...
Connection setup complete, transmitting data.
Windows version does not support detaching

It's running as Administrator.  I ran it from Windows (8 or 10?) a few years ago with no problems.

Oh interesting, I don't get that note about windows not supporting detaching.
I can't investigate right now but I'll try to get back to you eventually for some further troubleshooting.
Thanks for the patience

I appreciate your effort very much.
I just looked at the code and it seems you won't get that warning if you provide the -f (foreground) option.
I hope you can get back to this soon.

Curious, Did you compile the binaries yourself or download the precompiled ones?
Later I can provide a hash of the binary I'm using to verify.

Both.

As in you've tried both ways and neither worked?

Here's my route table & iodine.exe checksum:

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.20.1   192.168.21.231     40
         10.0.0.0  255.255.255.224         On-link          10.0.0.2    281
         10.0.0.2  255.255.255.255         On-link          10.0.0.2    281
        10.0.0.31  255.255.255.255         On-link          10.0.0.2    281
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
     192.168.20.0    255.255.252.0         On-link    192.168.21.231    296
   192.168.21.231  255.255.255.255         On-link    192.168.21.231    296
   192.168.23.255  255.255.255.255         On-link    192.168.21.231    296
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link          10.0.0.2    281
        224.0.0.0        240.0.0.0         On-link    192.168.21.231    296
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link          10.0.0.2    281
  255.255.255.255  255.255.255.255         On-link    192.168.21.231    296
===========================================================================
Persistent Routes:
  None

PS C:\Users\owner> Get-FileHash .\iodine.exe

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          8A5D49139F8A7336A16BFB88DB19CB14D0A42F87CE3A0F867E79566878F2B3F3       C:\Users\owner\iodine.exe

Thanks,
The routing table is consistent with mine, and the hash matches my 64bit copy of iodine.exe.

I'm stumped, I'm inclined to think the issue you are experiencing isn't with the binary or the tap driver itself but something externally environmental with the Lan / network / server.

I'm pretty sure of that.  It works from a Linux VM.  I may set up a Win10 VM and try to back into it to find the problem.

Can you provide a screenshot showing the root\tap0901 ComponentId inside "SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE10318}" ?
C will join strings together, so the warnx code is valid.

Hello Eric,
Since I used an older OpenVPN tool to create the tap0901 interface before installing OpenVPN-2.5.6-I601-amd64.msi, I don't currently have that problem.  But I expect that OpenVPN will continue creating the root-enumerated hardware ID "root/tap0901" rather than using the legacy naming.
There was a discussion on an OpenVPN thread about this topic (and working with both HWID forms) several years ago:  https://patchwork.openvpn.net/patch/555/
On the warnx code, you are correct, and it certainly compiles; I shouldn't have said malformed.  But without the error code, I didn't find the warnings useful.
Any way, after opening the tunnel, I still can not ping the server IP from my Windows 10 laptop.

The latest code should accept the new driver now at least.
Can you try to capture some pings on the tunnel interface? If you get anything there, also try to capture some DNS traffic.

I'd have to uninstall and reinstall OpenVPN to test the "root\tap0901".  But the new code certainly looks right.  I may do that in the near future when I get a chance, but it's inconvenient right now.  Anyone installing OpenVPN on Windows (to get the interfaces and client) should get the "root-enumerated HWID."
Great suggestion about the capture.  I don't know why I didn't open Wireshark on my tunnel interface before, but when I did, I got unexpected results.  I'd be happy to share a PCAP file with you.
I saw some unexpected traffic, eg:

"13	11.792312	172.16.1.4	255.255.255.255	DB-LSP-DISC/JSON	261	Dropbox LAN sync Discovery Protocol, JavaScript Object Notation"

But mainly, what I noticed was the lack of expected traffic, the ARP Replies.  There were plenty of ARP requests, but no replies.  Of course the ping requests had no replies either.

Seeing different broadcast packets are normal, can you also see the ping packets?
The tunnel needs to use tun mode, meaning just raw IP. It should not use tap (which emulates Ethernet and has ARP packets and such).
Maybe the tunnel is in the wrong mode... https://github.com/OpenVPN/tap-windows/blob/master/src/tapdrvr.c#L31
Related openvpn code: https://build.openvpn.net/doxygen/tun_8c_source.html#l06221
Strange, since this works for most people. Can you check the interface properties to see if that gives any hints regarding tun or tap mode?

But mainly, what I noticed was the lack of expected traffic, the ARP Replies. There were plenty of ARP requests, but no replies. Of course the ping requests had no replies either.

I've the same issue: link is established but no traffic goes through. No ping answers. 😔
Tried to re-compile both server and client to be sure they're on the same code but no luck on windows. Everything is working fine on Mac / Linux and even on iOS!

Can you try adding some debug message (like printf("tun data\n"); to https://github.com/yarrick/iodine/blob/master/src/client.c#L735 ?
It would be interesting to know if the tunnel device picks it up or not.

Can you try adding some debug message (like printf("tun data\n"); to https://github.com/yarrick/iodine/blob/master/src/client.c#L735 ?
It would be interesting to know if the tunnel device picks it up or not.

Ok I will try this but it's really only on macOS / iOS.
Same server works perfectly with Linux (x86 & arm) and Windows (x86 and arm) clients. Obviously the settings I'm using on the clients are the same 😅

Please keep this bug for windows issues only, and open a new one if you have some other problem.

Nono, wait a minute. I'm having issues with iOS/macOS clients only.
What I wrote before is to say the server side is ok as Linux and Windows clients work perfectly with that server.
So, the only issue is on MacOS / iOS.

Correct, unable to ping (or pass data) between Windows client and Linux (or any probably) server.

Hello,
I have the same ERROR.... But I am no network expert. I am glad that I came so far because the notes miss any windows syntax for commands (i.e route)...
So what must I do to connect iodine on windows to my linux server. And why does it need any OpenVPN or any Tab or whatever?
Kind regards Martin

http://build.openvpn.net/downloads/releases/tap-windows-9.9.2_3.exe

this seems to solve the issue... I have to test the rest still but the error is gone

Did you find my note above? If so I hope it was helpful.

http://build.openvpn.net/downloads/releases/tap-windows-9.9.2_3.exe
I was able to get it working with that specific installer

authors: Mrc527 Xyvir jbize sonrixsonrix yarrick

repo: yarrick/iodine

license: ISC


text:
Jump from 45 seconds

Add a new settings : breakpoints.
Also, fix some documentation.
Should fix #41

Thanks again @astik. I trust your judgment and from now on, you can just merge necessary changes yourself if you want since you are added as a collaborator. =)


text:
logo-maker resources added

Closes: #148
Describe the changes you've made
Added Resources for logo maker.
Describe if there is any unusual behaviour of your code
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.

Screenshots

@MD-ARBAB-SAHID Thank you for contributing.

authors: MD-ARBAB-SAHID yashikabhargava

repo: yashikabhargava/WebX


text:
Ignore newlines in a sentence

Let's consider how we can implement this kind of system for better translation:

I think it would be better to teach the Translation Memory system to ignore word-wrapping that markdown doesn't care about -- or apply an automatic re-wrap in the pipeline before the translation system sees the source content.

cf. https://github.com/rails/rails/pull/28942#issuecomment-298289152

RailsGuides のチームから意見をもらって、結果としては、こちら側で改行を無視する機能を実装する方向で進める形になりました。GTTだと実装できないけど、もとよりGitlateに移行する予定だったので、その機能をGitlate側に持たせる方向で実装しましょう 🔧💨

実装案

RailsGuides が使っている Markdown Parser と同じ Parser を実装or再利用して文章を整形すれば良さそう
RailsGuides の Parser が認識できない改行は RailsGuides にも影響が出るので、そこはPRなどで修正する
RailsGuides が無視できている改行は同じ Parser で無視すれば良い、という実装になりそう

cf. https://github.com/yasslab/railsguides.jp/tree/japanese/guides

Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails. Ruby Enterprise Edition has these fixed since the release of 1.8.7-2010.02. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults, so if you want to use 1.9.x, jump straight to 1.9.3 for smooth sailing.

1.4 The Update Task

Rails provides the app:update task (rake rails:update on 4.2 and earlier). After updating the Rails version
in the Gemfile, run this task.
This will help you with the creation of new files and changes of old files in an
interactive session.

 タグで囲まれている文章中の改行は反映されてないので、見た感じが改行が消えたようになる

HTMLだから見た目に出ていないだけで、HTMLの内部では改行されているので、文中から改行だけを取り除くやり方を別途調査する必要がある (少なくともmd->mdでは解決しない)

HTMLの場合は連続した空白を単一の空白として扱う仕様があります

https://www.w3.org/TR/html5/single-page.html#common-parser-idioms

MarkdownをParseしてできたオブジェクトでは改行が消えてるのかなぁと思ったけど、そんなことはなかった... orz

This issue can be solved by yasslab/markdown_formatter (cf. #395 ), so I'll close this issue.
Thanks @siman-man for his big effort! 🎉 ✨

authors: hanachin yasulab


text:
Feature request: specify destination for results

Fixes #32

+1

authors: inversion steveworkman

repo: yaymukund/grunt-simple-mocha


text:
[Discussion] issue on 블로그 app dir 업그레이드 후기

https://yceffort.kr/05,blog-app-dir
안녕하세요! 혹시 포스팅들이 다 디비에 저장되서 디비에서 불러오도록 되어있으면 이 게시글에 나온 방식으론 동적 사이트맵은 만들지 못하는건가요??

제가 질문을 정확히 이해한건지 모르겠습니다만, 제 예제에서는 빌드 시점에 모든 컨텐츠가 결정되기 떄문에 저렇게 한것이구요.
동적으로 생성하길 원하신다면 위 예제 처럼 pages/app/sitemap.xml.js 파일을 만들어 동적으로 사이트 맵을 생성하시는 방법도 있겠네요.
어차피 사이트 맵이라는게 https://yceffort.kr/sitemap.xml 라는 페이지를 만드는 것이라서, appdir에서 위와 같이 xml 형식을 반환하도록 코드를 짜시면 될거같습니다.

감사합니다 😀 좋은 하루 되세요!

authors: carrotpieOwO yceffort


text:
Examples from vue-ts is not working

Versions

Headless UI: v1.7.5
Headless UI Float: v0.10.1
Framework: [vue v3.2.45]
Browser: doesn't matter

Describe the bug
Examples from vue-ts not working for combobox.
To Reproduce
Please provide a minimal reproducible example (like github repo, codesandbox, stackblitz...), and steps to reproduce the behavior:

Go to Stackblitz
Scroll down to combobox example

Expected behavior
In listbox select component 'float ui' working works as it should, however same thing doesn't work autocomplete (Combobox options always appears below).

Hi @grasulkhuja, I think this is not a bug😅, because the <Listbox> has set the flip prop and <Combobox> no setting. Of course, this can be misleading, I will refactor the examples later when I have time.
Also, you can set it if you want to use <Combobox> with flip, usage see: https://headlessui-float.vercel.app/vue/floatingui-options.html#flip


text:
Bug Report

Current Behaviour
I'm making a very simple Spark dataframe with only one column. Apparently, ProfileReport does not generate the report when I am using Databricks notebook.:
Below is the code that I'm using:
from ydata_profiling import ProfileReport
from pyspark.sql import Row
df1 = spark.createDataFrame([
    Row(name='Ali'),
    Row(name='John'),
    Row(name='Sara'),
    Row(name='John')
])
p2 = ProfileReport(df1)
p2

But if I convert the dataframe to panda, then it will generate the report:

Expected Behaviour
Generate the report as it does when I convert the Spark dataframe to Panda.
Data Description
Generated in the code.
Code that reproduces the bug
from ydata_profiling import ProfileReport
from pyspark.sql import Row
df1 = spark.createDataFrame([
    Row(name='Ali'),
    Row(name='John'),
    Row(name='Sara'),
    Row(name='John')
])
p2 = ProfileReport(df1)
p2

pandas-profiling version
ydata_profiling = 4.8.3
Dependencies
ydata_profiling = 4.8.3
numpy = 1.24.4

OS
Windows 11 Enterprise
Checklist

[X] There is not yet another bug report for this issue in the issue tracker
[X] The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
[X] The issue has not been resolved by the entries listed under Common Issues.

I'm also getting the behavior described above using 1.23.5 of numpy and 4.5.1 of ydata_profiling.
I'm using a Personal Compute cluster with 15.2 ML Runtime, 28 GB Memory and 8 Active Cores at 1.5 DBU / h.

For thoroughness. I also did a few tests on Azure Synapse Analytics (ASA) [without Databricks].
If I run this code in ASA:
from ydata_profiling import ProfileReport
from pyspark.sql import Row
df1 = spark.createDataFrame([
    Row(c1='Ali',c2='Brown'),
    Row(c1='John',c2='Brown'),
    Row(c1='Sara',c2='Brown')
])
p2 = ProfileReport(df1)
p2

I get the error:
Py4JJavaError: An error occurred while calling z:org.apache.spark.ml.stat.Correlation.corr.
: java.lang.RuntimeException: Cannot determine the number of cols because it is not specified in the constructor and the rows RDD is empty.
But if I simply add a numeric column at the end (Per Suggestion from Anomaly Author)
from ydata_profiling import ProfileReport
from pyspark.sql import Row
df1 = spark.createDataFrame([
    Row(c1='Ali',c2='Brown',c3=1),
    Row(c1='John',c2='Brown',c3=2),
    Row(c1='Sara',c2='Brown',c3=3)
])
p2 = ProfileReport(df1)
p2

It runs fine...

I talked to the author of this anomaly report and understood her to say that ProfileReport will fail when all of the spark.createDataFrame columns are strings.
This behavior seems to be happening in both Azure Databricks and ASA Spark.
Spark Dependencies
ydata_profiling 4.8.3
numpy 1.23.5
Spark Pool Settings:

Hi @Fgoudarzi ,
thank you for your request. Have you tried to generate the report while following this tutorial? https://www.databricks.com/blog/2023/04/03/pandas-profiling-now-supports-apache-spark.html

authors: Fgoudarzi fabclmnt shawn-eary

repo: ydataai/ydata-profiling


text:
[QueryService] Cannot update multiply tables in one transaction

When we try to update different tables in one transaction on QueryService we get error
code: INTERNAL_ERROR, issues: [contrib/ydb/core/kqp/executer_actor/kqp_executer_impl.cpp:98  CreateKqpExecuter(): requirement *txsType == NKqpProto::TKqpPhyTx::TYPE_DATA failed, message: Cannot execute multiple non-data physical txs. (S_ERROR)]
Reproduction:
You can reproduce this problem from Java SDK branch
First build query service module with dependencies (all commands are executed from SDK root)
mvn -am -pl query -DskipTests=true install
Then execute test on docker container
mvn -pl query -Dtest=tech.ydb.query.QueryIntegrationTest#updateMultipleTablesInOneTransaction surefire:test
Or execute test on existing YDB instance
mvn -pl query -DYDB_ENDPOINT=<endpoint>:2135 -DYDB_DATABASE=/Root/db1 -Dtest=tech.ydb.query.QueryIntegrationTest#updateMultipleTablesInOneTransaction surefire:test

issue was fixed in PR https://github.com/ydb-platform/ydb/pull/2919

repo: ydb-platform/ydb


text:
SIM-GH Action to validate PR title and content

Actions:

Validate PR title is a conventional commit
It complies with the PR template
It should be pointing to staging

@cristiam86 I think that checking that the PR body complies with the PR template is very hard, since the solutions that I'm thinking of would be very brittle (checking for certain words in the body)
I think that would be a feature we could implement with an intelligent contract to leverage LLMs. I'd leave that part for later

@cristiam86 I think that checking that the PR body complies with the PR template is very hard, since the solutions that I'm thinking of would be very brittle (checking for certain words in the body)
I think that would be a feature we could implement with an intelligent contract to leverage LLMs. I'd leave that part for later

What about a regex? like this one: https://github.com/yeagerai/hackathon-2024-08-16/blob/main/DeepThoughtCoders/adr_validator.py#L68

@cristiam86 I think that checking that the PR body complies with the PR template is very hard, since the solutions that I'm thinking of would be very brittle (checking for certain words in the body)
I think that would be a feature we could implement with an intelligent contract to leverage LLMs. I'd leave that part for later

What about a regex? like this one: https://github.com/yeagerai/hackathon-2024-08-16/blob/main/DeepThoughtCoders/adr_validator.py#L68

Well we can do that to check the headers, but I'm not sure if that's valuable. I feel that we'll be leaving empty sections just to adhere with the regex, and that might not be valuable

@cristiam86 I think that checking that the PR body complies with the PR template is very hard, since the solutions that I'm thinking of would be very brittle (checking for certain words in the body)
I think that would be a feature we could implement with an intelligent contract to leverage LLMs. I'd leave that part for later

What about a regex? like this one: https://github.com/yeagerai/hackathon-2024-08-16/blob/main/DeepThoughtCoders/adr_validator.py#L68

Well we can do that to check the headers, but I'm not sure if that's valuable. I feel that we'll be leaving empty sections just to adhere with the regex, and that might not be valuable

ok, let's keep it as it is and look for an AI tool then :) something like https://github.com/Codium-ai/pr-agent
btw, having empty sections just with the titles will bring all the shame on you :D

repo: yeagerai/genlayer-simulator


text:
[CMT-409] Add bowswap [japanese]

i translated about bowswap. thanks!

i made new pr

repo: yearn/yearn-comms


text:
pom.xml:373-375: Continue fixing FindBugs violations started...

Puzzle 574-2964594e in pom.xml:373-375 has to be resolved: Continue fixing FindBugs violations started in #574. #574 turned on the FindBugs, temporarily excluding some classes. Remove all excludes of FindBugs below and fix the issues.... The puzzle was created by sxg on 9-Feb-2016.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code.

@yegor256 attached this issue to milestone "1.0" (let me know if this is wrong)

@xupyprmv the task is yours, please go ahead

@davvd please find someone else

@davvd please find someone else

@xupyprmv right, I'll try to find someone else for this task

@davvd please find someone else

@xupyprmv -30 points to your rating

@dalifreire it's yours, please go ahead

@davvd Thanks. Please, see PR #647.

@davvd Thanks. Please, see PR #647.

@dalifreire will check it soon, thanks

@davvd Waiting for #654

@davvd Waiting for #654

@dalifreire OK, let's wait for #654

@yegor256 we waited for #654, it is closed already

@dalifreire you're working with this issue for 15 days already... as a reminder, don't forget to remove the @todo puzzle from the source code... -30 to your rating, your total score is +75

@davvd Why? The pull request #647 was created... take a look in the PR and the issue #654.

@davvd PR #647 closed, please proceed.

@yegor256 Could you talk to @davvd to revert my penalty (30 points) for delay?

@davvd PR #647 closed, please proceed.

@dalifreire thanks for that

@dalifreire this task is not yours any more (took too long), please stop. I'll give you something else... -60 added to your rating, current score is: +15

@davvd The task was finished and the PR was merged. I can't understand you.

@yegor256 We need your help here.

@essobedo the task is yours,please go ahead

@davvd Please, pay attention what you are doing! Why do you not read my messages?

@yegor256 once 624-78dfe52a/#660 puzzle is resolved (later, in another ticket), this ticket will be fully complete

@dalifreire what do you think is wrong here? the puzzle is still in the code. that's why the ticket is not closed. you missed the deadline and the task was taken away from you. or I miss something?

@yegor256 Maybe some misunderstand about PDD happens here. I thought I could create another puzzle based on this ticket... 30 minutes to implement this task is not enough and requires more work than the slotted time allows. So I fixed some things and a new puzzle was created so that can be resolved by other people. Take a look in the PR #647 description.
About the deadline, I'm waiting for you for at least 15 days. I need you (as architect) to confirm the merge.... check the PR #647 and you will see (not my fault). I think the same thing happens in the issue #625.
Maybe I did not understand very well the "rules of the game".

@yegor256 Done, the task is closed

@essobedo No messages from you above, won't pay for now. If I'm wrong, correct me.

@essobedo No messages from you above, won't pay for now. If I'm wrong, correct me.

@davvd no, you are perfectly right

@yegor256 Did you read my last message? If no, could you read and tell me if I didn't understand very well the PDD?

@dalifreire I didn't understand the question... but please keep in mind that everything (!) is your fault. check our policy, especially this par: http://at.teamed.io/policy.html#7 make sense?

@yegor256 I don't care about the payment. I'm trying to understand the Puzzle Driven Development.
My questions are:

Can I create another puzzle based on existing ticket? If I think that the 30 minutes is not enough because the problem is much bigger and requires more work than the slotted time allows (the PR #647  was created and merged because I thought that we can break a puzzle into minor pieces).
Every pull request needs the architect approval to be merged. So if the architect (you for takes project) delays more than one week to do the approval, the PR author must be penalized?
Why the Project Manager never read the questions?
Looks like the same problem (your delay to approve the PR) happens in the task #653.

@dalifreire 1) yes, you can create as many puzzles in your branch as you wish; 2) yes, if PR review is delayed the author of the PR is penalized; 3) PM reads questions and replies, as much as possible, but don't rely too much on communications here, nobody really cares about your questions, only about your results, try to figure our yourself what to do (I would strongly recommend to read all articles listed at the top of this page: http://at.teamed.io/policy.html ); 4) maybe

@yegor256 last puzzled solved 684-70270140/#692

authors: dalifreire davvd essobedo xupyprmv yegor256


text:
Make delay cancellable

Add cancellation support for delay() function.
Also replace extra function () => resolve(val) with third argument for setTimeout.

I have updated the PR to use 2-arguments version of setTimeout.
Also probably there's a better place for delay function than root module, maybe src/utils.js?

Also probably there's a better place for delay function than root module, maybe src/utils.js?

I was hesitant on this

It makes more sense to put the function on the utils module as you said

OTOH thought this would involve more imports for the user

import { takeEvery } from 'redux-saga'
import { takr, put,  ... } from 'redux-saga/effects'
import { delay } from 'redux-saga/utils'

What do you think?

OTOH thought this would involve more imports for the user

Yep, that's not very convenient. Besides, src/utils module acts as a facade, only exporting values from other modules.
Last options I see are to put it in internal/sagaHelpers or to introduce new module.

Last options I see are to put it in internal/sagaHelpers or to introduce new module.

I dont think it's natural place. this module implements helpers Generators (manually) which is not the cas of delay
We can let the implementation in src/internal/utils and export the function from the root module src/index. We can move the CANCEL constant itself from src/internal/proc to src/internal/util to avoid cross reference issues

Updated PR.
Not sure if notifications are sent with new commits.

thanks! I'll make a 0.10.4 asap

authors: aikoven yelouafi

repo: yelouafi/redux-saga


text:
Support multiple targets in useminPrepare

Inspired by #162. I tried that pull request locally but it didn't work. I guess it was broken when @trask squashed the commits (I can see some discussion with @sindresorhus on lines which were not in the squashed commit there). :(
I also looked at the first pull request from @trask, #143, and there were too much unnecessary changes IMHO. This pull request just gets the files list from this.filesSrc.

This is bizarre, because it looks like it's about to work and then it fails:
Running "useminPrepare:dist-html" (useminPrepare) task
Verifying property useminPrepare.dist-html exists in config...OK
Files: ./app/index.html -> ./dist/
Options: type="html"
Warning: Object #<Object> has no method 'indexOf' Use --force to continue.

@sleeper @sorich87 I don't who is still maintaining this project. I think there is a way to fix this issue.
The issue is in usemin.js where it tries to register 'usemin' grunt task (Line 109). The code just simply treats 'this.target' as the type. That is why @dudewad 's style would work.
    var options = this.options({
      type: this.target
    });

This fix this, we need to determine the type first. Below is how I fix this issue, it works in my local. I know it might be not that elegant. But please take a look at it.
Line 108-110 replace with
      var type;
      if(this.target === 'html' || this.target === 'css' || this.target === 'js') {
          type = this.target;
      } else if (grunt.config('usemin')[this.target].options.type){
          type = grunt.config('usemin')[this.target].options.type;
      } else {
          type = this.target // Leave as current implementation
      }
     var options = this.options({
      type: type
    });

Line 118-121 replace with
    if (options.patterns && options.patterns[type]) {
      debug('Adding user defined patterns for %s', type);
      patterns = options.patterns[type];
    }

authors: dudewad markfredchen sorich87

repo: yeoman/grunt-usemin


text:
<class 'ValueError'> Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required.

D:\anaconda3\python.exe D:\work\GeneFacePlusPlus-main\data_gen\utils\process_video\extract_segment_imgs.py
todo videos number: 1
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
generating segment images in single-process...:   0%|          | 0/100 [00:00<?, ?it/s]| Extracting Segmaps && Saving...
generating segment images in single-process...: 100%|██████████| 100/100 [00:16<00:00,  6.20it/s]
| Extracted Segmaps Done.
| Extracting background...
combining backgrounds...: 100%|██████████| 5/5 [00:01<00:00,  3.63it/s]
Traceback (most recent call last):
File "D:\work\GeneFacePlusPlus-main\data_gen\utils\process_video\extract_segment_imgs.py", line 363, in extract_segment_job
bg_img = extract_background(img_lst, segmap_mask_lst, method=background_method, device=device, mix_bg=mix_bg)
File "D:\work\GeneFacePlusPlus-main\data_gen\utils\process_video\extract_segment_imgs.py", line 139, in extract_background
nbrs = NearestNeighbors(n_neighbors=1, algorithm='kd_tree').fit(fg_xys)
File "D:\anaconda3\lib\site-packages\sklearn\neighbors_unsupervised.py", line 166, in fit
return self._fit(X)
File "D:\anaconda3\lib\site-packages\sklearn\neighbors_base.py", line 435, in _fit
X = self._validate_data(X, accept_sparse="csr")
File "D:\anaconda3\lib\site-packages\sklearn\base.py", line 566, in _validate_data
X = check_array(X, **check_params)
File "D:\anaconda3\lib\site-packages\sklearn\utils\validation.py", line 805, in check_array
raise ValueError(
ValueError: Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\work\GeneFacePlusPlus-main\data_gen\utils\process_video\extract_segment_imgs.py", line 493, in
extract_job(*fn_args[0])
File "D:\work\GeneFacePlusPlus-main\data_gen\utils\process_video\extract_segment_imgs.py", line 386, in extract_segment_job
traceback.print_exc(e)
File "D:\anaconda3\lib\traceback.py", line 163, in print_exc
print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
File "D:\anaconda3\lib\traceback.py", line 103, in print_exception
for line in TracebackException(
File "D:\anaconda3\lib\traceback.py", line 518, in init
self.stack = StackSummary.extract(
File "D:\anaconda3\lib\traceback.py", line 341, in extract
if int(limit) >= 0:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'ValueError'
<class 'ValueError'> Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required.

i I also encountered the same problem. Have you solved it？

Maybe you can change this value.

You should check every ”replace“ like this：

Because there are differences in paths between Windows and Linux systems, '\' and'/'.
Just print the paths and check.

Still have this problem. Its stops at 27%. Did you find any solution for that?

i I also encountered the same problem. Have you solved it？

authors: SakuraMaiii c1a1o1 robertschoenholz vincentrsr whrdsh

repo: yerfor/GeneFacePlusPlus


text:
Add documentation for wasm-bindgen

Adds a wasm-bindgen section to docs and gives a high level
description of it's crates and how they are used with Yew.
It's such a big topic with lots of rabbit holes to go down so
I'm sure this doesn't cover everything even at a high level but
hopefully covers some of the FAQ stuff and provides a base to
build off (both in this PR and in future) :)
Just master/next docs in this PR to avoid tweaking two sets
once this one lands I'll move it over to v0.18 which I don't think
will need much adapting.
Description

Fixes #1460
Checklist

[x] I have run cargo make pr-flow
[x] I have reviewed my own code
I have added tests N/A (but technically I did because of website tests 😏)

I'm now concerned what I've got against "its" and why I felt the need to turn them all into "it's" 😅

Should this also touch a bit about gloo since it's somewhat under that umbrella and Yew uses it?

I did consider it but wasn't quite sure - I wouldn't want to go in great depths about it, I don't want to add gloo documentation too, but didn't know whether it should have just a small section to highlight it or maybe a subsection under the external libraries section as a special mention because it's from the working group?

@hamza1311 did you have something specific in mind?

After this small indent issue I think we should merge this. We can add the dedicated gloo stuff in a new PR.

Yeah, I don't see this section as "complete" but I think it provides somewhat of a good starting point to tweak and build off of :)

So is this ready to be merged? The review progress was reset because of the force push so I need to re-read everything again :D

repo: yewstack/yew


text:
Add Javascript linting to Jambo.

This PR adds ESLint to Jambo, a linting framework for Javascript. This will
help make sure that any code added to Jambo adheres to our style guidelines
and best practices. For now, I've enabled only a couple of rules:

All quotes must use be wrapped in single quotes.
Named functions do not have a space between function name and the opening
'('.

As our style evolves, we will codify it by adding more rules to ESLint. In
my next PR, I will ensure that the Jambo codebase adheres to these rules and
that ESLint is run as part of 'npm run test'.
TEST=none

I'm a fan! I've felt before that adding a linter would benefit Jambo

repo: yext/jambo


text:
安装python-Levenshtein==0.12.2报错

conda 安装requirements库的时候Levenshtein，webrtcvad，pyaudio都报error

你的系统是什么？执行命令是什么？

win10x64啊，这个错是什么原因？

这个缺失C++编译环境，安装Visual Studio 就可以了

authors: ramossky yeyupiaoling

repo: yeyupiaoling/PaddlePaddle-DeepSpeech


text:
项目启动 找不到EchartsArea.tsx  105行option找不到定义

初学者 往指导一下

删除node_modules，用yarn重新安装依赖，然后重启

初学者 往指导一下

兄嘚, 问题解决了吗? 我也遇到了, 重新安装依赖重启也不行

初学者 往指导一下

兄嘚, 问题解决了吗? 我也遇到了, 重新安装依赖重启也不行

authors: longtao437 yezihaohao ztommyc

repo: yezihaohao/react-admin