text:
YYWebImage 内存泄露 闪退

YYKit 1.0.9
我有一个无限刷的列表  有图片和基它UI ，在快速拉列表时，内存增长的非常快，然后被系统kill掉，通过leak查下了  有很大一部份的内存泄露都指向了YYKit， 如下图，我试过把所有的缓存都做到disk里，也试过cache.memoryCache.costLimit限制大小，但都没有效果，能否帮忙查看下这个内存泄露的问题么，这个还挺严重的，

贴一下关键代码，cell for row at index path

我用的是Texture

因为我也没有用过Texture，所以不是很确定，是快速拉会内存暴涨，慢拉就不会吗？试试这样 @autoreleasepool{【YYImage相关代码...】}，图片的 decode 会往 autoreleasepool 注册对象

我试过添加
@autoreleasepool，内存还是一直在增长，不知道是不是Texture的block创建imageView导致的。
我之前也是过单拉出一个只有图或只有其它UI的demo也没有被系统kill掉过，只要YYImage+Texture就会这样。

我试过添加 @autoreleasepool，内存还是一直在增长，不知道是不是Texture的block创建imageView导致的。 我之前也是过单拉出一个只有图或只有其它UI的demo也没有被系统kill掉过，只要YYImage+Texture就会这样。 感谢您的回答！

你自己代码写的有问题

这是来自QQ邮箱的假期自动回复邮件。

谢谢，你的邮件我已经收到！

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

source: gharchive/issue

authors: Svyanto fuhailong hssdx huangyuding muken88

repo: ibireme/YYKit

license: mit

license_type: permissive

license_source: bigquery


text:
图片资源在外国服务器,有时候Url响应比较慢

1.图片资源在外国服务器,有时候Url响应比较慢 没有发现有Retry类似的YYWebImageOptions?有什么变通的方法吗?
2.怎么下载gif的第一帧用来做展示?因为点击大图后才开始播放gif

响应慢这个没办法，只能设置下 ImageManager 的 timeout 了，但这仍然解决不了慢的问题。
目前没有提供 Retry 的方法。如果提供的话，可能需要很多可配置的策略，比如重试几次，404 是否还要再重试，等等，有些麻烦。
至于 GIF 的话，如果能确定一个 URL 后面是 GIF，那可以用 YYWebImageOptionProgressive 这个参数，来边下载边显示。如果需要更好的策略，可能需要修改一些内部代码了。。

authors: Sdoy ibireme

repo: ibireme/YYWebImage


text:
Add support for _ENCODE_FILE_NEW + enable man pages

Fixes man pages for zoslib, you can now type man zoslib
Allows the new file ccsid to be configured via _ENCODE_FILE_NEW
Useful if you want to create files in IBM-1047 or binary
example:

_ENCODE_FILE_NEW=IBM-1047 echo "Hi" > file.txt
file.txt will have the IBM-1047 file tag.

I'll merge this change in, @mfsysprog has further changes that build off of this PR.

@IgorTodorovskiIBM it would probably be good to do a regression run of our core tools with this env var set to confirm it doesn’t break tools that expect files to get tagged ASCII. Unless I misunderstand this could cause issues.

source: gharchive/pull-request

authors: IgorTodorovskiIBM MikeFultonDev

repo: ibmruntimes/zoslib

license_source: github-api


text:
Long SMS issue | multiple parts | multiple webhooks

How to receive long messages ???
Process:
when a long sms comes the mobile (3 sms length - 3 parts), it is sending all the three sms's separately  to the web-hook.
Issue:
when we receive multiple long messages from same sender , I am unable to determine the message part number.
Resolution:
It would be great if you can send a single web-hook for the entire long message or assign a unique id for each sms send it in the web-hook.

Too many works
And  I don't need it for now
And no github sponsor request it

Pleas let me know how to sponsor & how much.

Hi @ramesh-mahesh did you find a solution

authors: hacen-ai ibnux ramesh-mahesh

repo: ibnux/Android-SMS-Gateway


text:
🛑 Git is down

In 1363bfa, Git (https://git.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Git is back up in 351939e.

repo: icarephone/upptime

license: MIT


text:
🛑 Git is down

In 4645a1e, Git (https://git.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Git is back up in 38709f8.


text:
🛑 Secret Site is down

In 58e5a43, Secret Site ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Secret Site is back up in 6ec4d39.


text:
🛑 Git is down

In d674170, Git (https://git.icarephone.com) was down:

HTTP code: 504
Response time: 7181 ms

Resolved: Git is back up in 7c4f207.


text:
🛑 Git is down

In 466b7f9, Git (https://git.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Git is back up in 97f813d.


text:
route-manifest 是否有必要通过 plugin context 传下去？

目前在插件中要拿到路由信息，是通过 fse.readJSONSync(path.join(rootDir, '.ice', 'route-manifest.json')) 读取的

这里实际上是需要从 js 文件名反查页面路径。
例如存在以下路由配置时，生成的 js 文件名为 main-index.js，需要能够反查到页面路径（/main）。
defineRoutes: (route) => {
      route('/main', 'Main/index.jsx');
}

另外，用于生成 __ICE_APP_CONTEXT__ 的相关属性也都是需要的，一些数据看起来也是比较难直接拿到的
appData,
routesData,
routesConfig,
routePath,
downgrade,

appData,
routesData,
routesConfig,
routePath,
downgrade,

插件提供一个 api （ getRouteMainfest() ）获取路由信息，如果在 dev 场景下路由变化时拿到最新的路由信息，需要自行 addWatchEvent() 并在回调中调用 getRouteMainfest()

repo: ice-lab/ice-next


text:
Pikaday & datetimePicker not working in dev example

Maybe similar as #102

Fixed

Fixed both.

repo: icebob/vue-form-generator


text:
small fix

Very small stuff, should be quickly merge if you agree with the changes

Coverage remained the same at 81.4% when pulling 04a71a089ff1d546bf9fdbe40095b0552703c103 on lionel-bijaoui:LB_small_fix into dcfde9fb6365afd5a498d4e814fc76d004fec08f on icebob:master.

ok, merged

authors: coveralls icebob lionel-bijaoui


text:
Stroke paths are offset by 0.5px

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
Paths are rendered slightly offset making lines with integer coordinates look blurry when antialiasing is on.
Glow
glow raw

glow 4x scaled in GIMP without interpolation

WGPU
wgpu raw

wgpu 4x scaled in GIMP without interpolation

Comparison
demonstrating that it affects both WGPU and GLOW

Example code

click to expand
```
use std::fmt::format;
use std::ops::Add;
use iced::{executor, Vector, window};
use iced::widget::canvas::event::{self, Event};
use iced::widget::canvas::{self, Canvas, Path, Text};
use iced::widget::{column, row, slider, text};
use iced::{
    Application, Color, Command, Length, Point, Rectangle, Settings, Size,
    Theme,
};
use iced::alignment::{Horizontal, Vertical};
fn main() -> iced::Result {
Example::run(Settings {
antialiasing: true,
window: window::Settings{
size: (480, 320),
position: Default::default(),
min_size: None,
max_size: None,
visible: false,
resizable: true,
decorations: true,
transparent: false,
always_on_top: false,
icon: None,
platform_specific: Default::default(),
},
..Settings::default()
})
}
#[derive(Debug)]
struct Example {
graph: ExampleGraph,
}
#[derive(Debug, Clone)]
pub enum Message {}
impl Application for Example {
type Executor = executor::Default;
type Message = Message;
type Theme = Theme;
type Flags = ();
fn new(_flags: Self::Flags) -> (Self, iced::Command<Self::Message>) {
    let emulator = Example {
        graph: ExampleGraph::new(),
    };
    (emulator, Command::none())
}

fn title(&self) -> String {
    "Example".to_string()
}

fn update(
    &mut self,
    _message: Self::Message,
) -> iced::Command<Self::Message> {
    Command::none()
}

fn view(&self) -> iced::Element<'_, Self::Message> {
    column![
        Canvas::new(&self.graph)
            .width(Length::Fill)
            .height(Length::Fill),
    ]
        .width(Length::Fill)
        .align_items(iced::Alignment::Center)
        .into()
}

}
#[derive(Default, Debug)]
struct ExampleGraph {
cache: canvas::Cache,
}
impl canvas::Program for ExampleGraph {
type State = ();
fn update(
    &self,
    _state: &mut Self::State,
    _event: Event,
    _bounds: Rectangle,
    _cursor: canvas::Cursor,
) -> (event::Status, Option<Message>) {
    (event::Status::Ignored, None)
}

fn draw(
    &self,
    _state: &Self::State,
    _theme: &Theme,
    bounds: Rectangle,
    _cursor: canvas::Cursor,
) -> Vec<canvas::Geometry> {
    let geom = self.cache.draw(bounds.size(), |frame| {
        frame.fill_rectangle(Point::ORIGIN, frame.size(), Color::WHITE);

        // Incorrect: Produces gray outline due to antialiasing
        // frame.stroke(
        //     &Path::rectangle(Point::ORIGIN, frame.size()),
        //     canvas::Stroke::default(),
        // );

        // Correct: Produces black outline
        frame.stroke(
            &Path::rectangle(Point::new(0.5,0.5), Size::new(frame.width()-1.,frame.height()-1.)),
            canvas::Stroke::default(),
        );

        let origin = Point::new(100., 100.);
        let length = 100.;
        let space = 16.;
        let step = 20.;
        let mut offsets = vec![];
        for y in 0..11 {
            let offset = y as f32 * step + y as f32 / 10.;
            offsets.push(offset);
        }

        let path = Path::new(|builder| {
            for offset in &offsets {
                let point_0 = origin.add(Vector::new(0., *offset));
                let point_1 = origin.add(Vector::new(length, *offset));

                builder.move_to(point_0);
                builder.line_to(point_1);

                let rect_point = origin.add(Vector::new(length + space, *offset));
                let size = Size::new(length, step / 4.);
                builder.rectangle(rect_point, size);
            }
        });
        frame.stroke(&path, canvas::Stroke::default());

        let path = Path::new(|builder| {
            for offset in &offsets {
                let rect_point = origin.add(Vector::new(2. * (length + space), *offset));
                let size = Size::new(length, step / 4.);
                builder.rectangle(rect_point, size);
            }
        });
        frame.fill(&path, Color::BLACK);

        for offset in &offsets {
            let mut text = Text::from(format!("{:0.2}", *offset));
            let pos = origin.add(Vector::new(-space, *offset));
            text.position = pos;
            text.horizontal_alignment = Horizontal::Right;
            text.vertical_alignment = Vertical::Center;

            frame.fill_text(text);
        }
    });

    vec![geom]
}

}
impl ExampleGraph {
fn new() -> ExampleGraph {
ExampleGraph::default()
}
fn redraw(&mut self) {
    self.cache.clear();
}

}
</details>

### What is the expected behavior?

Integer positioned lines to act as non anti-aliased

### Version

crates.io release

### Operating System

Linux

### Do you have any log output?

_No response_

This will depend on the DPI scaling of your environment. Canvas draws using logical coordinates.

@hecrj  but why filled rectangles do not act the same? It seems inconsistent between stroke and fill.

Filled rectangles act the same, but it's less noticeable since the anti-aliasing is only applied to the edges.
Scaling is applied to all coordinates. Positions and offsets are scaled as well.
If you are on Linux with X11, you can try playing with the WINIT_X11_SCALE_FACTOR variable. See https://docs.rs/winit/latest/winit/dpi/index.html.

Also important to mention that the positions of a stroke represent the line centered inside the stroke.

Also important to mention that the positions of a stroke represent the line centered inside the stroke.
This is consistent with how strokes usually work on the Web:

Strokes are aligned to the center of a path; in other words, half of the stroke is drawn on the inner side, and half on the outer side.
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke

Thanks, this actually explains it! I did not mean that some shapes are not scaled etc. I meant that when filled shapes are positioned to integer positions (with integer sizes) the do not look anti-aliased unlike strokes. I know that it is drawn using linear transformation which scales everything. Sorry for my bad English. Lines being centered intentionally makes sense when I consider multiple targets with different DPI.

authors: MichalLebeda hecrj

repo: iced-rs/iced


text:
Get Balance of All the relevant addresses

A json file, which tracks all the addresses for all chains involving with xcall. This will be used by the script/UI to show the balances.

https://github.com/izyak/icon-balance-tracker

repo: icon-project/IBC-Integration


text:
cheerio issue

Hi. When using cheerio and iconify i get this. I am using github actions, and the way I think it works it does pnpm install and astro check. If I do that on local / github action I get this issue that I provided. Althout I can fix it if i rewrite the import import * as cheerio from 'cheerio'; it works.
Error when evaluating SSR module /Users/martinlejko/Repos/github.com/martinlejko/martinlejko.github.io/astro.config.ts: failed to import "astro-icon" |- file:///Users/martinlejko/Repos/github.com/martinlejko/martinlejko.github.io/node_modules/.pnpm/@iconify+tools@3.0.7/node_modules/@iconify/tools/lib/svg/index.mjs:1 import cheerio from 'cheerio';        ^^^^^^^ SyntaxError: The requested module 'cheerio' does not provide an export named 'default'     at ModuleJob._instantiate (node:internal/modules/esm/module_job:171:21)     at async ModuleJob.run (node:internal/modules/esm/module_job:254:5)     at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)     at async nodeImport (file:///Users/martinlejko/Repos/github.com/martinlejko/martinlejko.github.io/node_modules/.pnpm/vite@5.4.0_@types+node@22.2.0/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:52928:15)     at async ssrImport (file:///Users/martinlejko/Repos/github.com/martinlejko/martinlejko.github.io/node_modules/.pnpm/vite@5.4.0_@types+node@22.2.0/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:52786:16)     at async eval (/Users/martinlejko/Repos/github.com/martinlejko/martinlejko.github.io/astro.config.ts:9:31)     at async instantiateModule (file:///Users/martinlejko/Repos/github.com/martinlejko/martinlejko.github.io/node_modules/.pnpm/vite@5.4.0_@types+node@22.2.0/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:52844:5)
Is there a way that we change the import line into the compatible one?

Update @iconify/tools package to latest version, it has a workaround for cheerio bug.

Maybe I am doing something wrong, but when I pnpm update @iconify/tools or even check it in packages.json it is the correct version of ^4.0.5. Removed the node_modules and pnpm install without doing anything else it crashes on the same cherio error. I am sorry if I am doing something wrong on my part.

Few things to check:

Make sure cheerio version is 1.0.0, not older
Run pnpm dedupe

I looked at issue again and noticed that error shows @iconify+tools@3.0.7, so I guess Astro Icon is using version 3.0.7.
That version has "cheerio": "^1.0.0-rc.12" in dependencies, which also matches 1.0.0 released 2 days ago that broke types. Maybe you can patch it to "cheerio": "1.0.0-rc.12" (remove ^) to force older version.

authors: cyberalien martinlejko

repo: iconify/tools


text:
Escape Dialog Fix #2

Summary
*Initially PRed in #578 but I did a dumb, so I made a new branch 😅
 Those with a keen eye will notice this is the third branch I made :'). Where did the second go? Who knows 🤭

Added in the capability to use the escape key and/or click out of the Dialogs in the AppBar & the Add Custom Event dialog.

Test Plan

Tested AppBar's Save, Load, Import, and About dialogs for responsiveness on Esc and clicks outside.
Also tested the CustomEventDialog button for the same
Tested Add & Rename Schedule Dialogs for the same

Issues

For the ImportStudyList.tsx Dialog, the onClose function also creates a Snackbar error when hitting escape/clicking out. To solve that, I created another function handleEscClose since I couldn't figure out how to differentiate between clicking escape or clicking import with an empty/invalid Study List input field through only using handleClose.
(Commit 9605a1f1fea7d4e8d9a32fae09f3165c9d06d35e)

In AboutPage.tsx I added in the handleClose function, which also required the enterEvent function. Honestly, it looks kinda nasty to me, so would appreciate feedback on how to handle handleClose since it seems to need this.enterEvent. 😴 i love code
(Commit 22def488e23b258aa7d507ef716342f5e2f4b4ab)

For the Add/Rename Schedule Dialogs, it currently retains the last inputted strings before onClose. Not sure what the "best practice" behavior would be for it, so leaving it up to y'alls input! It does clear itself when the initial popup (eg the initial rename/delete schedule popup) fully closes though!

 I have no doubt there's some implementation of mine that isn't best practice idiomatic 😵💫. Would love pointers on how to improve 💖
Future Followup (As of 5/17, I'm working on it!)
Currently keeping this as a draft so that I can further investigate:

Calendar Event Paper/popups (#580)
Schedule Index/Schedule Selection (in the top left) popups <-- My current priority 💪
Add, Rename popups (Commit 1cb690190ed120e6609363503f648de79b3df703)
Delete Schedule popups (Commit cf30091ce482ace89e0ea05c2d3794100a10351f)
Map Marker popups

Closes #551

Currently, still working on the escape Dialog for the schedule selector in the top right, but the rest should be good for review :) 💖

Mostly LGTM!
I would say that the rename should recover the schedule's name. I think that should be pretty straightforward, and that would, at the very least, match the behavior of the other inputs. I also think that that makes the most sense, regardless.
Also, I would like you to reformat the PR description so that it's easier to skim, though. The idea is that someone can come back in the future to see why you made the changes in this PR.
The summary should be a summary of the changes that you made. There are some in the issues section that you crossed out because you resolved them.
If you'd like to keep the writing, I'd add an additional notes section at the bottom. In any case, I think the Issues section is to reference issues in the repository that this PR addresses. It's not to document the issues you had writing it.
The same idea applies to the Future Folloup section. If it's been done, it wouldn't be a future follow-up.

Aye Aye cap'n! PR has been trimmed down and I left the rename functionality as is!

repo: icssc/AntAlmanac


text:
Update documentation with procedure for discovering hidden CAN boards

With this PR I'm adding  an additional section to Operations on CAN boards useful for the end-user to resolve issues of finding the CAN boards when those are not discoverable as happened for iCubWaterloo01`

There's also a problem w/ the CI.

There's also a problem w/ the CI.

This may be unrelated

cc @AntonioConsilvio @sgiraz

authors: MSECode maggia80 pattacini

repo: icub-tech-iit/documentation


text:
Feat/pipeline

This adds a pipeline function that's useful for composing the standalone functions. It's analogous to _.flow or R.pipe.
The name is inspired by Node's Stream.pipeline and the Pipeline Operator proposal.

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #53   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          41     42    +1
  Lines         304    312    +8
  Branches       37     38    +1
=====================================
+ Hits          304    312    +8

Impacted Files
Coverage Δ

src/pipeline.ts
100% <100%> (ø)

src/index.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: bdchauvette codecov-io

repo: icwjs/icw


text:
Resourcegraph

Pull Request Description
What issue does this change request address?
#163
What are the significant changes in functionality due to this change request?
This PR implements the ability to create a resource graph png during a debug mode run

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[x] 4. Automated Tests should pass.
[x] 5. If significant functionality is added, there must be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large tes.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added, the the analytic documentation must be updated/added.
[x] 9. If any test used as a basis for documentation examples have been changed, the associated documentation must be reviewed and assured the text matches the example.

Here is what the plots look like:

@dgarrett622 are you available to finish the review of this PR?

Everything looks good to go. I'll get this merged in momentarily. Thanks @j-bryan and @dylanjm!

authors: PaulTalbot-INL dgarrett622 dylanjm

repo: idaholab/HERON


text:
new prefix and identifying data tracking system for adaptive sampler

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #1149
What are the significant changes in functionality due to this change request?
Adaptive Sampler automatically handles the TargetEvaluation through a system of prefix registration and retrieval.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Wait for the tests results

Job Test CentOS 7 on 47fa939 : invalidated by @alfoa

Job Mingw Test on 47fa939 : invalidated by @joshua-cogliati-inl
testing civet

Job Mingw Test on 47fa939 : invalidated by @joshua-cogliati-inl
testing civet

Job Mingw Test on 47fa939 : invalidated by @joshua-cogliati-inl
testing civet

Job Mingw Test on 47fa939 : invalidated by @joshua-cogliati-inl
testing civet

This PR can be closed without merging since the same Modifications have been merged in PR #1151

authors: JiaZhou-PU PaulTalbot-INL alfoa moosebuild

repo: idaholab/raven


text:
[FEATURE] IDEA StatiCa RCS: edit table values in ConcreteSetup

Is your feature request related to a problem? Please describe.
I would like to update values of certain tables that are defined in the concrete setup, specifically "6.8.4 Table 6.3N". Without being able to update these values, I cannot perform correct fatigue calculations.
Describe the solution you'd like
Being able to use SetupValueTable in the xml definition:
<SetupValue xsi:type="SetupValueTable">
    <Id>127</Id>
    <Value>
        <Exp0>123</Exp0>
        ...
    </Value>
</SetupValue>

Hi! Is there any progress made on this feature request?

Table values are not available in the API.

Hi @mcihal and @vojtech-chalupa , any idea if a solution to this issue will make it to the IOM this year? We would really like to implement this on our products. Thanks !

authors: elquique11 khameeteman mcihal

repo: idea-statica/ideastatica-public


text:
开一条新的好了，关于圣遗物是否加锁识别错误问题

使用yas-lock扫描时
在1600x900及1920x1080分辨率下均出现是否加锁识别错误
表现为部分未加锁的识别为加锁，部分加锁的识别为不加锁
（又因为加解锁是记录位置而不判断圣遗物导致后续再进行加解锁完全错乱…
（期间背包里圣遗物无改动
另外，在全部未加锁下进行识别的话
会有一半圣遗物被识别为加锁
Originally posted by @Kumacytus in https://github.com/ideless/artifact/issues/4#issuecomment-1144450979

调了一下，在我自己电脑测试没有问题，请更新yas-lock再试试~

感谢大佬更新！
但是...这回是圣遗物识别bug了...
识别出了很多重复的圣遗物，还有不存在的佩戴角色。。
分辨率为1600x900

试试这个
https://github.com/ideless/yas-lock/releases/tag/v1.0.3-beta1

好了！感谢大佬！
研究一下wireshark去XD

authors: Kumacytus ideless

repo: ideless/artifact


text:
update go version to 1.17

Signed-off-by: Leena Jawale ljawale@redhat.com
issue: https://github.com/open-cluster-management/backlog/issues/18501

/cc @chrisahl

/lgtm

authors: chrisahl leena-jawale

repo: identitatem/dex-operator


text:
[Tech Debt] - Add API testing for all the controllers in the system

Technical Debt
In order to help us move forward we should add unit tests for our controllers. It will allow us to test the controller modules and improve our development experience while making our system more robust.

I will take this task under myself

repo: idodav/sharkio


text:
Move Crossref etiquette details to configuration

Crossref etiquette details should be accessible via configuration options instead of needing to modify code.
https://github.com/ietf-ribose/bibxml-service/blob/0d1158f506d2153744a4176f95e3e37559da9a41/sources/doi/__init__.py#L16-L22
Originally posted by @ronaldtse in https://github.com/ietf-ribose/bibxml-service/issues/77#issuecomment-1013906999

I believe almost all of the requisite details are in fact already available from the environment, and those that aren’t (email and site name) will have to be anyway (email for error reporting notifications, site title just to reduce duplication).

authors: ronaldtse strogonoff

repo: ietf-ribose/bibxml-service


text:
fork后无法运行

您好，您的blog项目fork后无法成功运行

@XCapsule 有什么错误信息吗？

authors: XCapsule igaozp

repo: igaozp/SSM


text:
Shuffle doesn't work.

Just tried to use this website, but no matter what settings I use, the shuffle button just doesn't work. I click the button and it flashes red and then nothing happens. No images appear.

Update: I got it to work in some cases, but in others it still doesn't work. I should also note that it is very slow.

Sorry forgot to reply, what browser are you on? Have you selected any boards to load? When you say that it's slow do you mean when you shuffle lots of images? Have you tried lowering the resolution of images?

I am also having this issue :( I'm on Opera GX and have selected a few boards, asking for it to choose a total of 10 images, but even after the wheel finishes spinning the page is still blank. Even if I ask it for 1 image it doesn't load any

Update: it seems that turning off my ad blocker fixed it!

Interesting, could that really be the fix?
Anyway, I'm not working on this project anymore. It's too much headache to deal with an external API, so I made my own website for collecting and shuffling images: thematics.io

repo: iggyzuk/pinshuffle


text:
impl NumOrString for more numeric types

This trait shows up in a few places in the public API, for example when specifying axis ranges, so it's nice to not have to manually convert if you're using this library with axis bounds which are e.g. u32.

Please don't send merge requests to master; use dev instead. Read https://github.com/igiagkiozis/plotly/blob/master/CONTRIBUTING.md.

authors: Wallacoloo igiagkiozis

repo: igiagkiozis/plotly


text:
3 very important addresses

For some reason you don’t have them, without them Illustrator on a Mac immediately stops working. Maybe you don't work with apple
127.0.0.1 iu7mq0jcce.adobestats.io
127.0.0.1 tdatxzi3t4.adobestats.io
127.0.0.1 rptowanjjh.adobestats.io
I can see these addresses through the Little Snitch firewall, I can regularly add addresses of Apple versions

✅ Done. Thank you!

I can see these addresses through the Little Snitch firewall, I can regularly add addresses of Apple versions

Hi. I've been using Little Snitch in past years, so Little Snitch still prevents Adobe from being catched? If so, what's the purpose of manually updating the hosts, if we can completely block the software with firewall?
Best.

Hi. I've been using Little Snitch in past years, so Little Snitch still prevents those softwares from being catched? If so, what's the purpose of manually updating the hosts, if we can completely block the software with firewall?

You can, it works great, create rules for each application

Yes, that's where I don't really get the logic on adding new hosts each time, if we can completely block the software through a fw.
Little Snitch was working very fine for years. The point I don't get, why don't we simply block all the incoming/outgoing connection of those programs, instead of manually blocking new host each time? Any idea @ignaciocastro on this please?
Regarding the software firewall; this is very good one for Windows:
https://www.sordum.org/8125/firewall-app-blocker-fab-v1-9/

Hi @ozgurkazancci, @StrongTequila. Some people still use cloud functionalities and don't want to lose connectivity to that part, hence the reason this list exists. If you can turn off your wi-fi or block the program with your firewall then it might be a better option, but out of the scope of this repository. Continuing with my explanation might put this repository at risk once again so I will be locking it down. Thanks for your continued support!

repo: ignaciocastro/a-dove-is-dumb


text:
Failing to load render engine plugin in tests

Environment

OS Version: Ubuntu Bionic and Focal
Source or binary build? Source, ign-gui3 onwards

Description

Expected behavior: Loading Scene3D within a test should successfully load a rendering engine
Actual behavior: Scene3D fails to load the rendering engine during the test, but it successfully loads it during regular execution

Steps to reproduce

Create a test that loads Scene3D and executes the Window, like this one:
https://github.com/ignitionrobotics/ign-gui/blob/2eb2ee054c984b6573c6fbf4f7edcf84f2fc29de/src/plugins/scene3d/Scene3D_TEST.cc#L71-L94
And the rendering engine will fail to load:
[ RUN      ] Scene3DTest.Config
[GUI] [Dbg] [Application.cc:87] Initializing application.
[GUI] [Dbg] [Application.cc:407] Create main window
[GUI] [Dbg] [Application.cc:305] Loading plugin [Scene3D]
[GUI] [Msg] Added plugin [3D Scene] to main window
[GUI] [Msg] Loaded plugin [Scene3D] from path [/home/chapulina/dev_bionic/ws_citadel/build/ignition-gui3/lib/libScene3D.so]
[GUI] [Msg] Loading plugin [ignition-rendering-ogre]
[GUI] [Err] [RenderEngineManager.cc:468] Failed to load plugin [ignition-rendering-ogre] : couldn't load library on path [/home/chapulina/dev_bionic/ws_citadel/install/lib/ign-rendering-3/engine-plugins/libignition-rendering-ogre.so].
/home/chapulina/dev_bionic/ws_citadel/src/ign-gui/src/plugins/scene3d/Scene3D_TEST.cc:98: Failure
Expected: (nullptr) != (engine), actual: (nullptr) vs NULL

The main difference I can think of between the test executable and running the GUI is that the test links against Scene3D instead of just loading it. So I tried just linking the test against ign-rendering and not against the plugin, and this time the plugin fails to load:
[GUI] [Err] [Application.cc:333] Failed to load plugin [Scene3D] : couldn't load library on path [/home/chapulina/dev_bionic/ws_citadel/buil
d/ignition-gui3/lib/libScene3D.so].

I did some digging through ign-plugin to try finding out what's happening but I didn't find anything worth documenting.
Additional info
This came up on #170 and #213

I've been looking into this a bit, and since Scene3d_TEST.cc isn't yet testing any methods of the Scene3D plugin, I've made it an integration test instead in 899b97a0ce15efbbd93640669592a367c68a510c (branch scpeters/3/events_debug). Now the plugins load, but the test fails to get a scene pointer from the RenderEngine. I suspect this is because the rendering system has not had time to initialize in the test. Is there a way to execute the window for a second or so in order to initialize the app?

authors: chapulina scpeters

repo: ignitionrobotics/ign-gui


text:
🛑 Nexus: Fonts is down

In 031387b, Nexus: Fonts (https://fonts.nexus) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nexus: Fonts is back up in b699bca after 8 minutes.

repo: ignore-me-lol/personal-uptime-monitor


text:
how to set guifont

set guifont=* not active

i find a bug.  if init.vim with source other vim file. VVset in the setting will not work currently

Yes, set guifont is not working now. You can use VVset fontfamily and VVset fontsize to set font. Will support guifont in upcoming updates.
Regarding sourced files, that's weird. It does work with sourced files. Does it work if you run VVset when VV was started? Please try :VVset fu when everything loaded. Will try with your dotfiles tomorrow.

Checked with your dotfiles and it works for me. Added ~/.aix/.vv.vim with
if exists('g:vv')
  VVset fontsize=24
endif

Can you provide a minimum example to reproduce?

Made set guifont work. Closing this for now, please reopen or make separate issue if you still have problems with sourcing config with VVset.

authors: DemonCloud igorgladkoborodov

repo: igorgladkoborodov/vv


text:
Delete browsing history

Hello. What do you think of adding an option to automatically clear your containerized browsing history when a temporary container is deleted? This would allow us to use temporary containers as a replacement for private windows.

Hi,
That is actually something i took a look at quite a while back.
i wanted to create a addon that did exactly what you describe, a "private container" (aka. one that doenst record history or at least destory it history) But sadly i had to discover that this was not as easily doable as i suspected it to be.  If i rember correctly that was mostly because there is no association between tabs and history elements in firefox that would allow any api to remove history elements after a serious of tabs with specific attributes (aka. container'ed) are closed.
I even remember looking into why it is this way and i kind of went down a rabbit hole into mozillas bugtracker and some internal firefox code ... and the end i seems like there would need to be some major internal changes made to datastructures used by many other modules to acomplish this ... which did not look like something that would happen any time soon, so ... did not persue it further.

Have you taken a look at how Temporary Containers accomplishes this? Maybe you'd be able to copy or adapt the relevant code snippets:
https://github.com/stoically/temporary-containers/blob/main/src/background/history.ts

Unfortunately, its developer passed a way a while ago, and I'm afraid this extension will eventually stop working. That's why I found it nice that you've already developed a lightweight alternative.

The warning is more or less the reason why i did not include this feature, (It describes exactly the drawback of the disconnect i mentioned in my previous comment)
If you really want to have a auto cleanup option like TC has, i think i could add even.

Thinking about this a little longer ... the IMO simplest and better way (that is also already available) to correctly handle history deletion would be to use a private window together with "open in temp container".
But it seems currently the addon doesnt work correctly in a private window , because the  cookieStore creation seems to fail ... i'll look into that and see what i can do.

There's also a new, experimental solution: No History Containers.
I understand that you prefer to keep your extensions as simple as possible. These are just suggestions, in case you or somebody else decide to implement this feature in the future.

History Prevention Feature added.
This feature is the closest i am able and willing to add, as long as there is no none-speculative way to link history items with containers or tabs.
The way temporary containers handles seemed to be far to destructive, since one accidental navigation to a frequently visited site, can potentially completely delete the entrie history.
closing this for now, but might revisit the topic in case something on the side of the history API might change.

authors: anewuser igorlogius

repo: igorlogius/open-in-temp-container


text:
An EM.schedule-esque for Fibers

One thing I've found handy while integrating/migrating my code to use EM::Synchrony is the following:

module FiberHelper
  mattr_accessor :root_fiber, :instance_writer => false, :instance_reader => false

  def self.root_fiber?
    root_fiber == Fiber.current
  end

  def ensure_fiber(&blk)
    if FiberHelper.root_fiber?
	  Fiber.new { blk.call }.resume
    else
      blk.call
    end
  end
end

FiberHelper.root_fiber ||= Fiber.current

If we're already running in some fibrous context, one doesn't need to do the wrapping. Much in the same way that EM.schedule is handy when you're trying to ensure that some thread doesn't trample your async code: if you're already in the reactor, great! otherwise, make things safe.
This way, as I'm going through and converting methods one at a time, I can just wrap the body in ensure_fiber and I don't have to worry about the calling context.
Thought it might make a decent convenience feature (with a slightly better name, perhaps).

Hmm, interesting. Outside of EM methods that are missing as wrappers in synchrony, are you wrapping anything else in these? Wondering if its a matter of addressing the first issue, or if this would be useful as a general tool..

So, I've got a fair-size library at work that we're using to distribute tasks to a number of workers. It incorporates zk-eventmachine and the amqp gem, and it's pretty involved. What I've found helpful with the above method is that I can take one method (out of a whole mess) and "synchrony" it, run my tests, make sure I did it right, and then continue.
Instead of writing my synchronified classes as "replaces the original implementation with a+#{name}", I've written them as wrappers around the async instance. For example, in zk-eventmachine there's a Client and a SynchronyClient and both define to_async and to_synchrony. In a class that I'm in the process of converting from async -> synchrony, I can then do something like the following
the original implementation (from a larger class)
def handle_child_event(event=nil)
  if @incoming_node_version

    zk.children(incoming_path).callback do |chld,_|
      deal_with_children(chld)

    end.errback do |exc|
      logger.error { "handle_child_event exception in zk.children(#{incoming_path.inspect}), #{exc.inspect}" }
    end

  else
    zk.stat(incoming_path) do |exc,stat|
      raise "got exception setting up parent watching, #{exc.inspect}" if exc

      @incoming_node_version = stat.version
      handle_child_event
    end
  end
end

then can become:
def handle_child_event(event=nil)
  ensure_fiber do
    if @incoming_node_version
      chld, _ = zk_sync.children(incoming_path)
      deal_with_children(chld)
    else
      stat = zk_sync.stat(incoming_path)

      @incoming_node_version = stat.version
      handle_child_event
    end
  end
end

def zk_sync
  @zk_sync ||= @zk.to_synchrony
end

The great thing is that I don't have to change the implementation of deal_with_children above, which is still fully callback based. I also don't have to change the calling context, or my tests, to make sure that everything is wrapped in a fiber. If it enters this method and doesn't have a non-root fiber, it won't blow up. One could imagine a similar method that used a FiberPool, but I chose to just go with the simplest implementation.

Hmm, interesting. Wonder if this can be taken a step further: extract ensure_fiber into a class method, or something of sorts that would take a list of methods that should guarantee what you've described above..
class Foo
  ensure_fiber :handle_child_event, :baz, :bar
end

authors: igrigorik slyphon

repo: igrigorik/em-synchrony


text:
hope can do not require AngularJS as enable

https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html?from=jetbrains.org#optional-plugin-dependencies

Hello, maybe I can get rid of this dependency completely!

You can try this build.
Install the Plugin from Disk> choose the zip file.
Nx Console Idea-0.20.0.zip

fixed in version 0.20.0

authors: bluelovers iguissouma

repo: iguissouma/nx-console-idea-plugin


text:
🛑 ihateani.me [api] is down

In ee14d58, ihateani.me [api] (https://api.ihateani.me/echo) was down:

HTTP code: 502
Response time: 368 ms

Resolved: ihateani.me [api] is back up in 6935302.

repo: ihateani-me/status


text:
求帮助T-T  ！winktv有一堆cookie，实在找不到哪个是录制需要的。。。穷举法试了半天

书写格式是要写成 winktv_cookie = xxx = yyy 这样的格式吗

仿照tiktok的cookies写成这样也不行

在请求头中找到Cookie项然后直接全部复制到配置文件中

repo: ihmily/DouyinLiveRecorder


text:
Request: Domains should be provided in a portable format

If this is meant to be a definitive list, it would be beneficial for all if the list was in a portable format that can be ingested and used by a variety of languages/services. As opposed to just in TS, as  Set.
This could be anything from JSON, TXT, CSV, XML...etc JSON probably makes sense since it can be easily loaded in JS without any fuss.
It wouldn't make much sense for me or someone else to make "yet-another-list-of-domains" just to get it in JSON :/
Thanks!

Hi @douglasg14b
I have just created https://github.com/ihmpavel/free-email-domains-list/pull/226
Can you take a look and drop a comment on the changes?

@ihmpavel LGTM! If you add me of a review I can checkmark for posterity if that's what you desire.
Thanks a ton for fielding this 🚀

repo: ihmpavel/free-email-domains-list


text:
下载的文件名如果有空格，会识别为两个文件导致下载失败

当前目录: /软件/装机
文件大小         修改日期                     文件(目录)
0       46.79MB  2018-09-03 22:09:15  aida64business LCG.zip
1       23.00MB  2017-11-27 10:04:38  Dism++10.1.4.5 Release2.zip
2        2.73MB  2016-11-01 09:45:30  npp.7.1.Installer.x64.exe
3        1.56MB  2016-10-21 14:06:37  UltraISO v9.6.5.3237.exe
4       14.11MB  2018-08-30 23:45:36  V2Ray.zip
5      197.64MB  2018-08-30 21:14:26  WePE_64_V1.2.exe
6      207.39MB  2017-12-26 10:49:43  WePE_64_V2.0.exe
7       46.02MB  2016-09-28 23:50:09  WPS Office Personal（5745）（V3）.7z
8       28.69MB  2017-04-24 14:40:12  软件解包.zip
9       24.02MB  2016-09-28 23:50:09  搜狗拼音传统版8.0H(8083)去广告版.exe
总: 591.95MB                       文件总数: 10, 目录总数: 0
BaiduPCS-Go:装机 XXXXXXX$ d /软件/装机/aida64business LCG.zip
[0] 提示: 当前下载最大并发量为: 100, 下载缓存为: 30000
[1] 加入下载队列: /软件/装机/aida64business
[2] 加入下载队列: /软件/装机/LCG.zip
[1] 获取路径信息错误, 获取文件/目录的元信息: 遇到错误, 远端服务器返回错误, 代码: 31066, 消息: 文件或目录不存在
[2] 获取路径信息错误, 获取文件/目录的元信息: 遇到错误, 远端服务器返回错误, 代码: 31066, 消息: 文件或目录不存在

标准的命名方式应该是用.而不是空格。。。

常见问题

authors: Zxilly iikira luojianxhlxt

repo: iikira/BaiduPCS-Go


text:
Not Rewriting  Tags?

We've an archived copy of this page.
The video plays but is leaking from the live web. However, this seems to be because OpenWayback (2.1.0) is not rewriting the src attributes of the <source/> tags.

Additionally, src attributes are not rewritten in some other HTML5 tags such as <video/> and <audio/>.

authors: PsypherPunk ldko

repo: iipc/openwayback


text:
🛑 Wordstar is down

In c7fd426, Wordstar (https://wordstar.shabox.mobi) was down:

HTTP code: 502
Response time: 772 ms

Resolved: Wordstar is back up in a6b0db1 after 26 minutes.

repo: ijazrushad/ijaz-upptime


text:
API /loadPageChunk no longer used by notion

Hi! I try to reverse engineer notion API and it turns out that notion using /loadCachedPageChunk instead of  /loadPageChunk. I think we need to update this lib. Thanks

It appears to be working still, if you're encountering trouble with the existing data loading feel free to open a PR updating the endpoint name!
Going to close this since it doesn't currently seem to be a problem.

authors: ijjk yusriyunus

repo: ijjk/notion-blog


text:
開発環境の説明追加

[ ] 導入ライブラリとバージョン
[ ] ボード情報

PlatformIO IDEで開発することを明記


text:
How to declare another Maven repository?

Unfortunately, I did not find this point in the documentation. If this is not possible, please make it possible.

The MavenAdditionalRepositories MSBuild property should be available to add additional repository specifications to. The format of this property is a series of semicolon separated values. Each value is in the following pattern: {Id}={Url}. The ID of the central repository is 'central' inline with standard Maven convention.
Authentication information is not supported within the MSBuild files. But because we internally use the Maven Aether library for resolution, standard ~/.m2/settings.xml information should apply.
NuGet packages which rely on Maven packages do not include repository information, and thus it's inappropriate to publish a NuGet package that relies on artifacts outside of central on nuget.org.

Hi, have a question on that
This way it should be correct?
    <ItemGroup>
        <PackageReference Include="IKVM.Maven.Sdk" Version="1.4.1"/>

        <MavenReference Include="com.sumsub.sns:idensic-mobile-sdk" Version="1.23.1">
            <MavenAdditionalRepositories>sumsub=https://maven.sumsub.com/repository/maven-public/</MavenAdditionalRepositories>
        </MavenReference>
    </ItemGroup>

authors: DjArt flour wasabii

repo: ikvm-revived/ikvm-maven


text:
own server and the app

Hi!
I installed the latex-it server and now i want to use it with the app. In the app (download from google play) i can't change the server settings.
How can i use the latex-it app with my own latex-it server?
greets
Marcel

Hi, I just added a field in the settings to customize the server address. 😄
I'm going to update the app in the Play Store!

authors: illbexyz maphy-psd

repo: illbexyz/latex-it


text:
Add a missing dot to indicate the current directory

Expected behavior: The repository is cloned into the current directory.
Actual behavior: The repository is cloned into a new directory called Node-Media-Server.
This commit fixes that problem.

Looks good to me.
Still may be confusing though because the dot can be overlooked very easily.

I vote to close this issue since this is not the repository's issue but git usage

authors: HanzHaxors chrisspiegl ilovesourcecode

repo: illuspas/Node-Media-Server


text:
preprocessing_surf.py

Getting this error when trying to run the code ..
All given steps have been followed.

did you solved it?
can you tell the steps involved in running<
files are not getting connected

No Bro

I'm facing the same issue.. Please comment if you find the solution

for (dirpath,dirnames,filenames) in os.walk(path):
    for dirname in dirnames:
        print(dirname)
        for(direcpath,direcnames,files) in os.walk(path+"\\"+dirname):
            for file in files:
                actual_path=path+"\\\\"+dirname+"\\\\"+file
                print(actual_path)
                des=func2(actual_path)
                img_descs.append(des)
                y.append(label)
        label=label+1

replace \ with // it will run

How much time does it take to run this file ? I have run ths file and its showing me train\A\001.jpg from past 20 min.

How much time does it take to run this file ? I have run ths file and its showing me train\A\001.jpg from past 20 min.

Is it working..?


text:
【评论失败：0】

docker私有部署在香港的服务器上，但是评论失败：0，过会失败的评论还是可能会显示在评论区，想咨询一下这是网络的原因吗。
云函数运行正常，在前端页面配置信息都很流畅，保存配置也很快，但是评论就不行，总是失败，
并且邮箱通知也异常，测试通知会卡住，之前在vercel时的邮箱通知是好的，并且也反复确认了邮箱信息（QQ的）授权码都正确。
以下是相关能找到的报错：
117.136.65.97 当前请求次数为 14
获取 QQ 头像失败： Error: connect ETIMEDOUT 129.226.103.162:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '129.226.103.162',

换个邮箱，可能你的服务器和QQ邮箱服务器之间网络不畅

收到，已解决，但是不知道啥原因，删了几次重装又好了。
非常感谢！！！

authors: backunderstar imaegoo

repo: imaegoo/twikoo


text:
Rename use option to plugins

Still keeps compatibility with the use option so that it wont break for existing users.

LGTM

👍

authors: kevva shinnn sindresorhus

repo: imagemin/imagemin


text:
OpenShadingLanguage/master: Change to GNUInstallDirs for install paths

The variables: BIN_INSTALL_DIR, LIB_INSTALL_DIR, INCLUDE_INSTALL_DIR,
DOC_INSTALL_DIR, and MAN_INSTALL_DIR are defined but never used.
Instead, hard coded paths to lib, include, and bin were used. This
will cause difficulty on multi-lib systems or in cases where they
are named differently. The existing variables were replaced by the
GNUInstallDirs variables, which is compatible on all systems.
There were two instances of the install_targets macro defined, so
removed one and upgraded it to use GNUInstallDirs. Also, it was
never used in code, so all library installs were changed to use it.
Thus all library installs now use GNUInstallDirs.
INSTALL_DOCS variable is defined, so it's now controlling if
the documentation is being installed.
Signed-off by: Jonathan Scruggs j.scruggs@gmail.com
Please Note: This is a port of the code I modified from the RB-1.8 branch and did a full install test of that branch.

[X] I have read the contribution guidelines.
[X] I have previously submitted a Contributor License Agreement.
[ ] I have updated the documentation, if applicable.
[ ] I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
[X] My code follows the prevailing code style of this project.

From the 1.8 branch test install:
Installed files when set to no docs (note: gentoo installs readme by default) and no tests:
/usr
/usr/bin
/usr/bin/oslc
/usr/bin/oslinfo
/usr/include
/usr/include/OSL
/usr/include/OSL/Imathx.h
/usr/include/OSL/accum.h
/usr/include/OSL/dual.h
/usr/include/OSL/dual_vec.h
/usr/include/OSL/export.h
/usr/include/OSL/genclosure.h
/usr/include/OSL/llvm_util.h
/usr/include/OSL/matrix22.h
/usr/include/OSL/optautomata.h
/usr/include/OSL/oslclosure.h
/usr/include/OSL/oslcomp.h
/usr/include/OSL/oslconfig.h
/usr/include/OSL/oslexec.h
/usr/include/OSL/oslnoise.h
/usr/include/OSL/oslquery.h
/usr/include/OSL/oslversion.h
/usr/include/OSL/rendererservices.h
/usr/include/OSL/shaderglobals.h
/usr/lib64
/usr/lib64/liboslcomp.so
/usr/lib64/liboslexec.so
/usr/lib64/liboslnoise.so
/usr/lib64/liboslquery.so
/usr/lib64/osl.imageio.so
/usr/shaders
/usr/shaders/emitter.osl
/usr/shaders/emitter.oso
/usr/shaders/glass.osl
/usr/shaders/glass.oso
/usr/shaders/image.osl
/usr/shaders/image.oso
/usr/shaders/matte.osl
/usr/shaders/matte.oso
/usr/shaders/metal.osl
/usr/shaders/metal.oso
/usr/shaders/oslutil.h
/usr/shaders/stdosl.h
/usr/shaders/ubersurface.osl
/usr/shaders/ubersurface.oso
/usr/share
/usr/share/doc
/usr/share/doc/osl-1.8.10
/usr/share/doc/osl-1.8.10/README.md.bz2

Why did this fail all the builds? The correct directories are being returned. I added message outputs in the RB-1.8 version and it shows this:
-- CMAKE_INSTALL_PREFIX is /home/travis/build/imageworks/OpenShadingLanguage/dist/linux64.debug
-- CMAKE_INSTALL_LIBDIR is lib
-- CMAKE_INSTALL_BINDIR is bin
-- CMAKE_INSTALL_DOCDIR is share/doc/OSL
When you look at the diff, it's all like for like... except docs.

Oh, I was not aware of the GNUInstallDirs. Nice. I'll give this a try, it's a nice simplification if it works.
Does everything work as expected on Windows? (I have no easy way to test that myself.)
Does it correctly make the python vs python3 directory distinction?

Ah, I see, there isn't a python module for OSL at this time. So 1/2 never mind.
But the other 1/2 -- what will we need to do to support Python modules in the future? The reason that complexity was here is that this section of the build scripts is just copied between the OIIO and OSL projects, and there is some utility in keeping them in sync (makes my life easier, for one thing). So I want to make sure that this solution can be propagated to the OIIO project as well without breaking something there.

@lgritz I noticed there were no python modules, but the variables were defined for it. Python is one of those tricky directories as each distribution seems to have their own structure, for example, on Gentoo: /usr/lib64/python3.5/site-packages/. The only way to do that is to have a variable that package managers can set. A default could be ${CMAKE_INSTALL_LIBDIR}/python3/site-packages. On Gentoo, we have tools that can define things during the configure phase that gets the site directory.
I haven't looked at OIIO yet as it's installing to lib64 for now, but it should be able to be done. I have submitted a PR for OpenEXR already, and have some lined up for OpenVDB, ctl, and OpenSubDiv. I could look at OIIO and do a switch over for it, as it does remove a lot of code and the paths remain overridable. It's illegal now on Gentoo to install to /usr/lib, it must be lib64 or lib32 for multilib systems. GNUInstallDirs handles all that for us.
I was told that GNUInstallDirs is usable on Windows.
More info here:
https://cmake.org/cmake/help/v3.4/module/GNUInstallDirs.html
Thanks for taking the time to look at this PR.

@lgritz handling python in CMake has historically been bad, so there's not a lot of involvement with GNUInstallDirs here.
But please merge GNUInstallDirs, it's an important part for making the CMake-based ecosystem as uniform as possible. All distributions have hooks for the GNUInstallDirs variables.

Do you stand by this review in its current form, or do you want to do a pass on it to compare to what we ended up with on the OIIO side and make sure they match?

@lgritz I will do a compare with the OIIO code. I want them to be as similar as possible. A lot of great changes were done. :)

@lgritz Just cleaned up the a few things to better match oiio. :) Now for a new round of checks.

LGTM. Just waiting for CI tests and I'll give it a try myself. If all pans out, I'll merge it.

Tests all pass. Merging.

authors: SoapGentoo dracwyrm lgritz

repo: imageworks/OpenShadingLanguage


text:
Add movie to homepage

@martimpassos Can you provide me with a web optimized walkthrough video that I can put on the homepage. It should have the sound removed so we can use autoplay.

ok. WebM is preferred?

You'd know better than me ¯_(ツ)_/¯

authors: davidheyman martimpassos

repo: imaginerio/imaginerioNext


text:
123页面选择符号或者数字后无法自动跳回ABC页面

在打字后，点击左下角的“123”选择符号或者数字后，无法返回ABC页面，需要手动ABC点击。
ios自带可以，习惯了这个操作。

嗯嗯，感谢反馈，这个会在下个版本优化。

1.6.11版本以上线符号设置功能，可在返回主键盘符号列表中添加/修改/删除自己想要点击后返回主键盘的符号。

repo: imfuxiao/Hamster


text:
Crop Area with focus point

Hello,
I am trying to combine the crop area of https://github.com/imgproxy/imgproxy/issues/551#issuecomment-779135957 with a focus point. The crop itself can handle gravity values like ce and nowe, but for the focus point, more parameters are required. When I combine crop and gravity, the gravity seems to be ignored and only used by the crop parameter.
.../crop:399.36:399.0053285968:ce:880.64:93.35701598579/gravity:fp:0.0007390625:0.00030836787053483/...
No matter what values gravity:fp takes, the gravity of the crop is used.
I hope you can help me with this problem.
Greetings

Hey @Suranex!
crop uses the gravity option value only when its own gravity argument is not specified. Actually, I can't understand what you're trying to achieve by using two gravities. Could you elaborate?

i don't want to use two gravities, but currently i have to set it to the crop option to use the 4th and 5th crop argument. And exactly here is my problem. i want to use the focus point argument as gravity, which i can only pass to the gravity option.

Background to my question: I am trying to replace TYPO3's internal image rendering. I want to do this because TYPO3 creates the images on the current page request and not sluggishly when the image is needed. In TYPO3 you can set a crop area and a focus area.

I have replaced the focus area by calculating the centre point for it und use the focus point. But for cropping the crop area is needed, for which I need the 4th and 5th parameter of /crop.
I hope it is now understandable what my use case is 🙈

Ok, I guess now I get it. I'm absolutely not familiar with TYPO3, but from what I've read on the internet, you're doing almost everything right. Correct me if I'm wrong:

The crop area is the area that is cropped no matter what. In other words, you don't want to use the parts of the image that are outside of the crop area. That's exactly what the crop option does, but you're using it a little bit wrong. You should use the nowe gravity type with offsets given to you by TYPO3. By the way, both crop size and offsets can be set as relative values (0.0 - 1.0 range).

The focus area is the area you want to keep when you resize the image to fill the provided size and you need to cut off some of its parts.  This is what the gravity option is meant for. You're using it right, but I'm not sure if TYPO3 gives you coordinates relative to the crop area or the whole area of the image. if it gives you coordinates relative to the whole area of the image, you need to make a little bit more calculations to translate the coordinates to the crop area space. Basically: (focus_point_x - crop_area_left) * image_width / crop_area_width. Same for the vertical coordinate.

authors: DarthSim Suranex

repo: imgproxy/imgproxy


text:
ImString should impl Index

ImString should impl Index<RangeFrom> like this:
impl Index<RangeFrom> for ImString {
    type Output = ImStr;
    fn index(&self, index: RangeFrom) -> &ImStr {
        &self.0[start ..]
    }
}

This came up because I want to reuse a string once with ## in front and once without this prefix, but without having to allocate a new string, because profiling showed that these small string allocations are my bottleneck.

I think this is still a relevant feature request - although ImString isn't used in as many places any more, this might still be a useful optimization for some applications

authors: Boscop dbr

repo: imgui-rs/imgui-rs


text:
When I use produce in reudcer state can be changed use getstate().

🙋♂ Question
Is there any way to make the data obtained by getstate() is immutable？
Link to repro
Please provide a CodeSandbox demo to clarify your question if possible. Typically, questions without minimal codesandbox demo won't be answered.
Environment
We only accept questions against the latest Immer version.

Immer version:
[ ] Occurs with setUseProxies(true)
[ ] Occurs with setUseProxies(false) (ES5 only)

such as :getstate().main.a='anychange'

Closing for the lack of an example and I have no idea what getstate() is.

repo: immerjs/immer


text:
Enable drop in for static fonts

I think this is such a nice font tester that it would be great to be able to drop in static fonts. I tried to make an edit but unfortunately couldn't understand where.

Sorry, basically I meant it would be good for it to support static fonts, but I didn't realise it was supported already. When I dragged the following OTF in, it merely changed the weight of the already set variable font.
WorkSans153-Regular.otf.zip
It seems to do with the font name having a number at the end, because when I remove the number it works.

Yes, It does seem to have the issue!
Thanks for reporting. I will look into this issue by this weekend.
Also, I'm planning to add more feature like

Glyph Inspector
Rich font metadata (like listing the language support and font metrics)
Switching the font parsing library from JS to WASM (it will improve the performance by at least 3x)
If you have any other suggestion, kindly let me know :)

Hi @weiweihuanghuang, the issue should be fixed by now.
Please do a hard refresh on the page and try it out.
Let me know, if you still face the issue.

Amazing, it works! Thank you.

authors: imohanvadivel weiweihuanghuang

repo: imohanvadivel/variable-font-playground


text:
Added data-substep=""; which will allow for a JavaScript callback to be ...

...used to perform actions upon a slide. Slide will only move forward when the substep function returns true. This allows for animations and the like to be performed on slides before moving on to the next slide

Hi @bendoh, in an effort to clear up older issues/PRs we are pinging back to know if you are still tracking this request.
To give a little bit of context, recently a decision was made in the project to make the development more active and the first task is to clear up older issues like this one to see if the OP is still interested in keep it going.

Closing due to the lack of feedback from the OP. If you want to work in the PR again, feel free to comment here to open up the discussion again.
In the meantime we will be tracking the substeps functionality on #81

authors: FagnerMartinsBrack bendoh


text:
Support passing annotations through to the underlying pods

Fixes #107
This change allows a user to specify annotations for the underlying pods in the spec field of the EtcdCluster resource.
This does not currently support amending annotations for pods once the cluster has been created. Raised #109 to track this separately.

First thing I did was go looking to see if there's any other way to point [Prometheus] at your pods and found this in the Prometheus operator:

Ah sorry I didn't document this well enough. There was a discussion about how we can do this, and we did discuss the Prometheus operator's ServiceMonitor feature. However, some users do still need the annotations as they might not yet be running be running the Prometheus operator.

repo: improbable-eng/etcd-cluster-operator


text:
Add workflow badges to Readme

Tests / Publishing

Potential badges beyond the original suggestions:


text:
引用外链cdn 在ios系统上总是加载很慢且有一定概率失败  导致空白时间过长

引用外链cdn 在ios系统上总是加载很慢且有一定概率失败  导致空白时间过长，能否提供配置本地引入cdn 资源

这些事例是个啥 有没有文档

https://imzbf.github.io/md-editor-v3/demo#🙍🏻♂ 自行引入扩展库
这里有一个替换的示例

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

authors: imzbf zhubufang


text:
キー自動特定のテストを追加

キー自動特定のテストを追加を追加しました
Issue: #63
使う曲

パッヘルベルのカノン
きらきら星
大きな古時計

助かります！

authors: inajob ts-uc

repo: inajob/toICN


text:
Signup flow

A user should be able to create an iNaturalist account using the mobile app. From the login screen, they can tap to create an account. Functionality:

[ ] Email input field
[ ] Consent checkboxes
[ ] Username and password fields
[ ] License photo checkbox
[ ] Terms of service and privacy policy links and checkbox
[ ] Create account button
[ ] Tap to open email client for confirmation email / link
[ ] Navigation: allow user to skip signup or return to the login screen
[ ] Keyboard: make sure the keyboard is not covering relevant elements on the screen, like create account button

We're going to go with the web sign up form in a web view... but we haven't figured out the flow yet, so I'm just going to close this for now and open a new issue when we've figured that out.

authors: albullington kueda

repo: inaturalist/iNaturalistReactNative


text:
Quit prompt cancel button does not cancel

As reported by a user:

When the game is in progress and the user goes back to the main menu and selects 'Quit', they are unable to click on 'Cancel' to continue playing. So the only option is to exit once you reach that dialog prompt.

The steam build and this repo will have the fix (https://gist.github.com/incoherentsoftware/6c744ccd69456d4930bc2b187d01efd2) added as part of a larger update towards the end of this month.  Workaround in the meantime is to press Esc (or B/O depending on gamepad) which will also close the quit prompt.

Fixed in 688680814b0189bf0b792cd99e0d1bd0f7f2f9d9

repo: incoherentsoftware/defect-process


text:
Le bouton "Recommencer" devrait créer un nouvelle simulation dans la liste si un persona est sélectionné

Aujourd'hui on a un bug assez important dans le cas d'utilisation d'un persona:
Lorsque l'on sélectionne un persona et que l'on souhaite 'recommencer' une simulation sans persona, on se retrouve toujours avec ce persona sélectionné : on devrait donc mettre à jour currentSimulationId pour ne plus avoir cet identifiant dans le State.
Bug introduit depuis la mise en place d'une liste de simulations sauvegardées dans le profil

J'ai l'impression qu'il n y'a que l'id du persona qui est conservé, il suffit peut être de générer un nouvel id lors de l'évènement reset_simulation.
Ou tout simplement, d'utiliser l'action deleteSimulationById à la place des actions du reset :
	dispatch(resetSimulation()) 	dispatch(resetActionChoices()) 	dispatch(resetStoredTrajets()) 	dispatch(resetStoredAmortissementAvion()) 	dispatch(resetCategoryTutorials())
Ca permettrait de se débarrasser 	de ses actions et de nettoyer un peu le rootReducer...

De mon côté, j'ai plusieurs retours utilisateurs qui me demandent comment faire pour refaire le test tout en conservant les données de leur premier. Si on pouvait avoir un historique de simulations, ce serait très utile je pense.

De mon côté, j'ai plusieurs retours utilisateurs qui me demandent comment faire pour refaire le test tout en conservant les données de leur premier. Si on pouvait avoir un historique de simulations, ce serait très utile je pense.

@dxb c'est pas ce qui est déjà en place ? Je viens d'essayer de faire une deuxième simulation et effectivement je n'ai pas accès à ma précédente simulation, pour parler en termes techniques : l'objet simulation est simplement vidé de sa situation si je comprends bien ?
En tout cas, je me demande si l'on ne pourrait pas revoir cela pour permettre la sauvegarde de plusieurs simulations et du coup peut-être changer l'intitulé du bouton "Recommencer" en "Repasser le test" ou autre avec une explication sur le fait que le précédent test peut être retrouvé à tout moment

@dxb c'est pas ce qui est déjà en place ? Je viens d'essayer de faire une deuxième simulation et effectivement je n'ai pas accès à ma précédente simulation, pour parler en termes techniques : l'objet simulation est simplement vidé de sa situation si je comprends bien ?

Nope, justement c'est seulement pour les personas de mémoire ! Effectivement, on le vide.. J'avais commencé qque chose ici mais je pense qu'il y a mieux à faire, notamment quand je regarde les points de ton commentaire

authors: Clemog bjlaa dxb margauxcoco

repo: incubateur-ademe/nosgestesclimat-site


text:
Impl Hash for IndexMap.

Sometimes, IndexMap is passed as a parameter. But many cache implementations are essentially a large hashmap. So if I want to cache the return value of a function which contains a parameter of type IndexMap, IndexMap must implements Hash. But currently is not.
I wrote a simple wrapper and it works fine:
use std::hash::{Hash, Hasher};

use derive_more::{Deref, DerefMut};
use indexmap::IndexMap;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq, Deref, DerefMut)]
pub struct HashIndexMap<K: Hash + Eq, V>(pub IndexMap<K, V>);

impl<K: Hash + Eq, V: Hash> Hash for HashIndexMap<K, V> {
    fn hash<H: Hasher>(&self, state: &mut H) {
        state.write_usize(self.0.len());
        for (k, v) in &self.0 {
            k.hash(state);
            v.hash(state);
        }
    }
}

The problem is inconsistency between Eq and Hash -- see #288. However, we have since published the ordermap crate, which is a thin wrapper around indexmap that does use map order for both Eq and Hash, and Ord as well.
Your own wrapper can work too, but you should re-implement PartialEq using iterator order, rather than deriving it.

repo: indexmap-rs/indexmap