text:
7 months is a long time, is there a release coming to work with flutter 3.10.x and dart 3 please

thanks so much :)

Sure! Firstly try to use master branch before releasing. Btw do you know that, new features have been added to the master branch ;) Mainly:

run the same test code using host machine without a simulator, much faster (e.g. 10x) and stabler
a simple yet useful monkey (to be open sourced)

Because of the new features, I hope I can find a bit of time to update README and then release the new version.

is this project dead?

NO! I use it personally everyday!

v1.3.0 is published :)

authors: ahmdt fzyzcjy neiljaywarner


text:
Fix tls_certificate_check build errors on OTP 20.1+, when on top of macOS Big Sur

As described under tls_certificate_check's issue #3.

Released under 1.13.1 (published to Hex as well.)

source: gharchive/issue

repo: g-andrade/locus

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Hacker News is down

In b60bb8e, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hacker News is back up in 276a6fe.


text:
🛑 Hacker News is down

In ede4033, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 86 ms

Resolved: Hacker News is back up in 29e9bdf after 9 minutes.


text:
Проверка работоспособности

Консольный бот работает нормально
В телеграм боте почему-то не отрабатывают кнопки, подвисают, и количество повторов не изменяется.  После этого и другие сообщения не отрабатывают, он опять присылает кнопки
Можешь проверить?

Проверил. Работает. Сделал клон репозитория и запустил по инструкции. Прошу проверить еще раз.

authors: gKrokod roman-bodavskiy

repo: gKrokod/botReborn


text:
Editable display name for organizations and collections

Feature Request
Desired behaviour
Organizations and Collections would have an editable display name that is separate from the UUID and url. This display name should be unique (given on a first come, first served basis), and allow for special characters and spaces. The display name should be editable on the user interface for organization/collections maintainers.
┆Issue is synchronized with this Jira Story
┆Sprint: Seabright Sprint 3 Electric
┆Issue Number: DOCK-516

Just to clarify, will the display name ever be used to link directly to an organisation?

Also, this was what I had in mind for displaying the display name alongside the main name

Ah Twitter. That's actually a good example. Twitter handles don't change, but you do the see the display change in lists, replies, and the like.

What should we allow? alphanumeric, spaces, and punctuation (\p{Punct})

During review, one issue:

Expected the non-display names (just called "names") to be used in the URLs when browsing around normally (currently using database ids)
Expected display name to be used when browsing (seems working)

What should we allow? alphanumeric, spaces, and punctuation (\p{Punct})

Was this either specified? I'm finding that only some special characters and punctuation are accepted. Good news: consistent between organizations and collections, and also consistent between UI and swagger.
Accepted: &(),'-_
Rejected:`~!@#$%^*+={}[]|.?<>;:"

@Ldcabansay Denis and I decided on the accepted &(),'-_ and not all punctuation. The logic was that it is better to be more restrictive at first and slowly relax constraints than to go the other way. I had updated the constraints in the code but I forgot to update them here in this issue, thanks for looking into it.

Verified that this works on 1.6.0-beta.3

authors: Ldcabansay agduncan94 denis-yuen

license_source: bigquery


text:
Replace call to run_tests in documentation

In http://ga4gh-reference-implementation.readthedocs.io/en/latest/installation.html#installing-the-development-version-on-mac-os-x
Under Test and run when I ran the script for testing it wouldn't ran, and complained IOError: [Errno 2] No such file or directory: u'.travis.yml'

That should probably just say python -m nose tests to run tests instead. That script isn't in the source tree, is it?

The ga4gh_common package should install a executable called ga4gh_run_tests which replaces the scripts/run_tests.py scripts

Closed with https://github.com/ga4gh/ga4gh-server/commit/77d42db46268875549511edfffab2dca22528c5e


text:
Update to yajl 2.0

It would be great if you could update to yajl 2.0.

Released new pod as YAJLO. See new README.

authors: gabriel rdingman

repo: gabriel/yajl-objc

license: mit


text:
sectorTrend and industryTrend not working

output is empty for TSLA AAPL and etc:  {"industryTrend":{"maxAge":1,"symbol":null,"estimates":[]}}

Please, please, please, fill out the issue template! It exists for a reason! Please open a new issue with the issue template filled out! Now nobody has any idea about what the problem is!
Quick question, though: How did you open a new issue without a label? You shouldn't be able to.

This is what the API gives us. Go to https://query2.finance.yahoo.com/v10/finance/quoteSummary/AAPL?modules=sectorTrend and you will get the same output. This is not our problem. This is Yahoo's problem. Maybe they removed the submodule. We have no control over it.

Hey @GameGC, thanks for your issue.  I believe we found the problem why your issue didn't have any template, so don't worry about that.  As @PythonCreator27 said, however, all this library does make it easier to consume data from Yahoo, and certain data is only available for particular stocks / symbols / markets.
As Yahoo's API isn't a public service, there's no documentation about what we can expect where (but fortunately, this library goes to great lengths to ensure data is always returned in a consistent format).  However, if you figure out any patterns in this regard, and feel inclined to add it to the wiki here on this repository, I think many other users could benefit from it too.
Thanks and good luck!

authors: GameGC PythonCreator27 gadicc


text:
Failed validation: #/definitions/SearchResult

Validation Error
Minimal Reproduction

y2.search("AMZN").then(d=> d.quotes);

Symbol(s) that it happened for

AMZN

Error Message

> The following result did not validate with schema: #/definitions/SearchResult
[
  {
    instancePath: '',
    schemaPath: '#/additionalProperties',
    keyword: 'additionalProperties',
    params: { additionalProperty: 'screenerFieldResults' },
    message: 'must NOT have additional properties'
  },
  {
    instancePath: '',
    schemaPath: '#/additionalProperties',
    keyword: 'additionalProperties',
    params: { additionalProperty: 'timeTakenForScreenerField' },
    message: 'must NOT have additional properties'
  }
]

This may happen intermittently and you should catch errors appropriately.
However:  1) if this recently started happening on every request for a symbol
that used to work, Yahoo may have changed their API.  2) If this happens on
every request for a symbol you've never used before, but not for other
symbols, you've found an edge-case.  Please see if anyone has reported
this previously:

  https://github.com/gadicc/node-yahoo-finance2/issues?q=is%3Aissue+Failed%20validation%3A%20%23%2Fdefinitions%2FSearchResult

or open a new issue (and mention the symbol):

  https://github.com/gadicc/node-yahoo-finance2/issues/new?labels=bug%2C+validation&template=validation.md&title=Failed%20validation%3A%20%23%2Fdefinitions%2FSearchResult

For information on how to turn off the above logging or skip these errors,
see https://github.com/gadicc/node-yahoo-finance2/tree/devel/docs/validation.md.

Uncaught FailedYahooValidationError: Failed Yahoo Schema validation
    at Object.validate [as default] (/Users/aronrodrigues/workspace/tribie-app/functions/node_modules/yahoo-finance2/dist/cjs/src/lib/validateAndCoerceTypes.js:194:15) {
  result: {
    explains: [],
    count: 10,
    quotes: [ [Object], [Object], [Object], [Object], [Object], [Object] ],
    news: [ [Object], [Object], [Object], [Object] ],
    nav: [],
    lists: [],
    researchReports: [],
    screenerFieldResults: [],
    totalTime: 83,
    timeTakenForQuotes: 478,
    timeTakenForNews: 700,
    timeTakenForAlgowatchlist: 400,
    timeTakenForPredefinedScreener: 400,
    timeTakenForCrunchbase: 400,
    timeTakenForNav: 400,
    timeTakenForResearchReports: 0,
    timeTakenForScreenerField: 0
  },
  errors: [
    {
      instancePath: '',
      schemaPath: '#/additionalProperties',
      keyword: 'additionalProperties',
      params: [Object],
      message: 'must NOT have additional properties'
    },
    {
      instancePath: '',
      schemaPath: '#/additionalProperties',
      keyword: 'additionalProperties',
      params: [Object],
      message: 'must NOT have additional properties'
    }
  ]
}

// Returned quotes:
[
    {
      exchange: 'NMS',
      shortname: 'Amazon.com, Inc.',
      quoteType: 'EQUITY',
      symbol: 'AMZN',
      index: 'quotes',
      score: 31857500,
      typeDisp: 'Equity',
      longname: 'Amazon.com, Inc.',
      isYahooFinance: true
    },
    {
      exchange: 'MEX',
      shortname: 'AMAZON COM INC',
      quoteType: 'EQUITY',
      symbol: 'AMZN.MX',
      index: 'quotes',
      score: 20328,
      typeDisp: 'Equity',
      longname: 'Amazon.com, Inc.',
      isYahooFinance: true
    },
    {
      exchange: 'NEO',
      shortname: 'AMAZON.COM CDR (CAD HEDGED)',
      quoteType: 'EQUITY',
      symbol: 'AMZN.NE',
      index: 'quotes',
      score: 20152,
      typeDisp: 'Equity',
      isYahooFinance: true
    },
    {
      exchange: 'BUE',
      shortname: 'AMAZON COM INC',
      quoteType: 'EQUITY',
      symbol: 'AMZN.BA',
      index: 'quotes',
      score: 20064,
      typeDisp: 'Equity',
      longname: 'Amazon.com, Inc.',
      isYahooFinance: true
    },
    {
      exchange: 'OPR',
      shortname: 'AMZN Aug 2021 3300.000 put',
      quoteType: 'OPTION',
      symbol: 'AMZN210813P03300000',
      index: 'quotes',
      score: 20026,
      typeDisp: 'Option',
      isYahooFinance: true
    },
    {
      exchange: 'OPR',
      shortname: 'AMZN Aug 2021 3400.000 call',
      quoteType: 'OPTION',
      symbol: 'AMZN210813C03400000',
      index: 'quotes',
      score: 20025,
      typeDisp: 'Option',
      isYahooFinance: true
    }
  ]

Environment
Node
Node version 16.5.0
Npm version: 6.14.13
Library version 1.14.3
Additional Context

Hey @aronrodrigues, thanks for reporting.  Looks like Yahoo just added this field.  This is fixed in our devel branch, but since it's very new, I'm not releasing yet until we've had a little more experience with it.

In particular, we're accepting { screenerFieldResults?: Array<any>; } since we have no data yet on what this new field is meant to contain.

Hey @aronrodrigues, v1.14.4 partially fixes this, so that it no longer throws an error, but we still don't actually know what this data looks like.  Will track further developments in #259, but closing at least this validation error for now.  Thanks again for reporting!

authors: aronrodrigues gadicc


text:
How to use Google Light?

I want to use Google Light
{
  "plugins": ["prism", "-highlight"]
}

"pluginsConfig": {
  "prism": {
    "css": [
      "syntax-highlighting/assets/css/prism/prism-base16-google.light.css"
    ]
  }
}

But I get the error:
Error: Cannot find module 'syntax-highlighting/assets/css/prism/prism-base16-google.light.css'

Did you npm i atelierbram/syntax-highlighting -D?

I installed atelierbram/syntax-highlighting from GitHub and it works, thank you!
npm install https://github.com/atelierbram/syntax-highlighting/tarball/master

authors: kiwenlau robmcguinness

repo: gaearon/gitbook-plugin-prism


text:
fix bug 2370

fixes #2370

Can you point me to where to update the docs?

Thanks for the contribution!

Can you point me to where to update the docs?

Docs can be updated in the /// rustdoc above the relevant code items

source: gharchive/pull-request

authors: elizabethdinella prestwich

repo: gakonst/ethers-rs


text:
Include the package pkg-config on role.

This necessary for the correct installation of many galaxy tools and it is also listed in the page https://wiki.galaxyproject.org/Admin/Config/ToolDependenciesList page as a required package.

Thanks.

authors: afgane fabiorjvieira

repo: galaxyproject/ansible-galaxy-os


text:
Repair of a hand-on box

Repairing a box, Issue #1467

thanks!!

authors: Delphine-L shiltemann

repo: galaxyproject/training-material


text:
101 for everyone: fix workflow configuration & licensing concerns

The customization of the scatterplot steps that needs to be done by the
user in the workflow run dialog was described incompletely, which caused
problems in trainings when users selected column 4 both for plotting and
for grouping. The updated version explains in more detail the purpose of
the customization and clearly states which columns need to be selected
for plotting and grouping.
In addition, the "4Cs of diamonds" image got removed from the tutorial
(and is now only linked to) because of licensing concerns.
fixes #1972

@annefou @jennaj does this look good to you?

Thanks!


text:
How to add a coupon in my order?

I tried to use one of the coupons from the list. In this case, I'm using the coupon number 9175 which is "Any Large Specialty Pizza". The number is supposed to retrieve the product code; but, in the function, add_coupon from the object class Order says missing 1 required positional argument: 'code'
What am I missing in here?

@zedin27 Could you share some code that would let me reproduce your issue? Everything you need to do from from pizzapi import * to Order.add_coupon() would be very helpful.

@gamagori sure thing. I knew what was my mistake after realizing I missed one tiny line in the code. I forgot to have an order variable to store what I'm supposed to order before adding the coupon. However, I encountered another error after trying to add the coupon by doing order.add_coupon(9103), which display a KeyError: 9013. This is what I have in my python file (this is my first time playing with python lol):
from pizzapi import *

def ordertest():
	zeid = Customer('Zeid', 'Tisnes', 'zeidtisnes@gmail.com', '5555555555')
	address = Address('ur address here', 'ur city', 'UR', '00000')
	local_dominos = address.closest_store(zeid)
	menu = local_dominos.get_menu()
	order = Order(local_dominos, zeid, address)

	order.add_coupon(9103) #1 Medium 3 Topping Pizza (here is where it complains)

Error message:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/ztisnes/Desktop/pizzapi/pizzapi/order.py", line 52, in add_coupon
    item = self.menu.variants[code]
KeyError: 9118

You can remove ordertest and just write everything I have from that function in the interpreter.

@zedin27 I see what's going on - this is a code issue, not a usage issue.
In the add_coupon() function, the item = self.menu.variants[code] is looking for the coupon ID that you're passing it, but it's looking for it in the 'variants' part of the menu, rather than the 'coupons' part of the menu.
You should be able to fix this locally by changing that line to item = self.menu.coupons[code]. I need to get some other things in place before I can fix and test this properly, but I'll be sure to let you know once it's good to go.

I made a PR for that specifically. Let me know when it is all good :). Thank you!

That still wont work as menu.coupons just returns a list of the coupon objects...

authors: bryceswarm gamagori zedin27

repo: gamagori/pizzapi


text:
領収書:　代表名の役職、但し書きはどうするか？いまはDBに存在しない。

ついでに、領収番号は請求番号でいいのか？
いまは、暫定的に請求番号を入れている。

役職は特に必要無いと思うとの事。
但し書きは確かに変えれるようにした方が良いとの事。SohoLifeでは印刷時に自由に入力できるようになっていて、デフォルトでは件名が入るようになっている。
領収番号は請求番号と同じで問題ない。

では、現状次のようにする。
①但し書きは件名とする。
（現時点では印刷時の入力は対応しない）
②領収番号は請求番号と同じ。
③役職名欄は削除。

authors: gamasenninn monomonosu

repo: gamasenninn/soho-caddie


text:
Error bars

(With the danger that you take away my github account, I'll continue starting issues, even for minor stuff)
Noticed that we have to think as well about error bars.
Looking at the following plot make me think that there are some missing? Would that be difficult?

Same for effective focal length, d80, ...

I agree.
The difficulty really depends on the specifics of each plot.
In this case, the eff area comes from a fraction of photons detected/simulated. A binomial uncertainty should give what we want.
I'll implement that.
It's important to note that it won't always be so easy nor worth it. In this case, the eff area is basically flat, which makes very small fluctuations look so ugly. If the error calculation here was complicated, I'd say it's not worth it because it's in general very small.

Agree - don't put a huge amount of work into it. I didn't notice the very suppressed y-axis, which amplifies the flucutations.
Errors bars should be wherever they make sense and can be achieved with reasonable effort.

Ok.
I think it's better to implement this ones later. I'll finish going through the documentation issues first.

I can help implementing error bars here if you wish. Also, I am not sure the fluctuations are that small (1-2 m^2 is non-negligible no?).

Orel is actually right - where does the uncertainty of 1 m^2 come from? Although this is a ray-tracing experiment, the result should be almost deterministic. Of course we should see partly the imprint of the structure / beams etc.

You don't see the imprint of the structure because we do not simulate it in sim_telarray. To include it we use the telescope transmission function, but for the LST (which is what I assume is simulated, should add a label to the plot), that function is flat.
However, shouldn't we see the imprint of the camera? That we do simulate I think.

I suggest to close this issue.
The requirement on having uncertainties on all results is a generic task and written down in the requirements and concept document.

authors: GernotMaier RaulRPrado orelgueta

repo: gammasim/simtools


text:
Gang Huo - Submission of assignment 2 questionnaire design part_a

… for sampling course
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Completed all the tasks in assignment 2 (questionnaire design part a) of the sampling course.
What did you learn from the changes you have made?
Based on the scenario #1, I described the survey purpose, target population, sampling frame,  and sampling strategy of the survey and designed some survey questions. I learned how to design the survey questions.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

A2 Observational units missing, please be more specific about sampling units

I don't understand what you means by observational units missing. Can you please elaborate about that? Is my assignment 2 complete or not? Please confirm. Thanks

A2 Observational units missing, please be more specific about sampling units

Hi Amanda, I have made amendment to my answer based on your comments. Please confirm if my assignment 2 is complete or not. Look forward to your early reply.  Thanks


text:
improve the compatibility for python 3

For python3 (I was using python 3.4), there are two cases as follows that flask-swagger throws exceptions. This commit is to fix it.

python code:   swagger(app, template=a_template)
command line:   flaskswagger -h

Thanks!

authors: atlithorn wushaobo

repo: gangverk/flask-swagger


text:
Question No.3 - Answer example incorrect

The function defined in the prototype function displayIncreasedSalary() is trying to call the private function increaseSalary() defined in the constructor function. This doesn't work.

I don't think we need that section of code anyway

authors: ganqqwerty mavrik


text:
建议|功能增强：路径优化

建议在展示前端时路径可以隐藏“01@”

建议在展示前端时路径可以隐藏“01@”

嗯，目前设计的还是比较简单

authors: echs-top gaowei-space

repo: gaowei-space/markdown-blog


text:
用python复现ch7中手写高斯牛顿法解pnp 无法收敛及陷入局部最优

高博@gaoxiang12 及其他看到这个issue的朋友们新年好。我在尝试用python手写14讲书中介绍的高斯牛顿法解PnP。但是遇到一些问题：1. 对相机外参的初始值很依赖，如果将外参初始化为[1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1],也就是sophuspy这个库定义SE3时默认的值，则迭代无法收敛，重投影误差会变大。2. 如果把迭代次数加大，把break条件取消，虽然收敛了，但是会陷入局部最优，与cv2求接结果差距较大。
（见代码
R = sp.SO3(R_init)
pose = sp.SE3(R.matrix(), t_init)
# pose = sp.SE3()
# if I use pose = sp.SE3() to initialize pose, the iteration cannot converge）
#若把pose = sp.SE3(R.matrix(), t_init)注释掉，把# pose = sp.SE3()的注释取消则与高博书中或者github的代码一致（我认为）。

如果使用cv2求解出的外参（R_init,t_init）作为初始值，则可以正常收敛。
主要参考高博的https://github.com/gaoxiang12/slambook2/blob/master/ch7/pose_estimation_3d2d.cpp
中line 172~244的函数。 我用了sophuspy(https://github.com/craigstar/SophusPy), numpy两个库。
虽然说迭代法会对初值敏感，也有可能陷入局部最优，但我觉得我遇到的现象是不正常的，理由是我的solvepnp函数什么都没有设置，使用的应该是LM方法，cv2能求出一个正确结果的话高斯牛顿方法不应该误差那么大。
请高博以及诸位帮我看看我的函数是否存在错误，我的完整代码如下：
import sophus as sp
import numpy as np
import math
import cv2

cam1_matrix = np.array(([330.6,0,326.8336],[0,330.6,251.8424],[0,0,1]),dtype=np.double)

object_3d = np.array(([-8.6, 147, 31.2],
                      [8.6, 147, 31.2],
                      [8.6, 147, 14],
                      [-8.6, 147, 14]),
                     dtype=np.double)

object_2d = np.array(([306.0,167.0],
                      [381.0,165.0],
                      [385.0,239.0],
                      [307.0,241.0]),
                     dtype=np.double)

dist_coefs1 = np.array([-0.302587121740377,0.068024115878877,0.001645011282553,0.002976587367681,0],dtype=np.double)

found, rvec, tvec = cv2.solvePnP(object_3d, object_2d, cam1_matrix, dist_coefs1)
rotM = cv2.Rodrigues(rvec)[0]

cvresult=sp.SE3(rotM,tvec)
print(cvresult)

def gaussnewtonpnp(points_3d,points_2d,K,R_init,t_init):
    iterations = 20
    cost = 0.0
    last_cost = 0.0
    fx = K [0][0]
    fy = K [1][1]
    cx = K [0][2]
    cy = K[1][2]
    R = sp.SO3(R_init)

    pose = sp.SE3(R.matrix(), t_init)
    # pose = sp.SE3()
    # if I use pose = sp.SE3() to initialize pose, the iteration cannot converge

    iter_num = 0
    while iter_num<iterations:
        H = np.zeros((6, 6), dtype=np.double)
        b = np.zeros((6, 1), dtype=np.double)
        cost = 0
        i = 0
        #compute cost
        while i<(np.size(points_3d)/3):

            pc = pose * points_3d[i]
            # print (pc)
            inv_z = 1.0 / pc[2]
            inv_z2 = inv_z * inv_z

            proj = np.array((fx*pc[0]/pc[2]+cx,fy*pc[1]/pc[2]+cy),dtype=np.double)
            # print(proj)
            e = points_2d[i] - proj
            cost += np.linalg.norm(e, 2) * np.linalg.norm(e, 2)
            # print(cost)
            J = np.array(([-fx * inv_z, 0, fx * pc[0] * inv_z2, fx * pc[0] * pc[1] * inv_z2,
                           -fx - fx * pc[0] * pc[0] * inv_z2, fx * pc[1] * inv_z],
                          [0, -fy * inv_z, fy * pc[1] * inv_z2, fy + fy * pc[1] * pc[1] * inv_z2,
                           -fy * pc[0] * pc[1] * inv_z2, -fy * pc[0] * inv_z]
                          ), dtype=np.double)

            H += np.dot(J.T, J)
            b = np.dot(-J.T, e)

            i +=1

        dx = np.zeros((6, 1), dtype=np.double)
        dx = np.linalg.solve(H, b)
        # print(dx)
        # if math.isnan(dx):
        #     print('result is nan')
        #     break
        # if iter_num>0 and cost>=last_cost:
        #     print('update is not good')
        #     break

        # update estimation
        pose = sp.SE3.exp(dx)*pose
        # print(sp.SE3.exp(dx))
        last_cost=cost
        if np.linalg.norm(dx)<0.00001:
            print('converged')
            break

        iter_num += 1
    return iter_num,pose

num,pose = gaussnewtonpnp(object_3d,object_2d,cam1_matrix,rotM,tvec)
print(num,pose)

我又看了一下opencv的迭代法，它确实是要先用DLT方法，解SVD求一个初始值出来，在此基础上再调用LM求解器减少重投影误差。但我现在还是好奇为什么高博的代码（如下）没有进行外参的初始化就能直接计算了呢？是这个算例特殊吗？还是我有什么理解不对的地方。
cout << "calling bundle adjustment by gauss newton" << endl;
  **Sophus::SE3d pose_gn;//在这里初始化外参为默认值？[1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1]？**
  t1 = chrono::steady_clock::now();
  **bundleAdjustmentGaussNewton(pts_3d_eigen, pts_2d_eigen, K, pose_gn);**
  t2 = chrono::steady_clock::now();
  time_used = chrono::duration_cast<chrono::duration<double>>(t2 - t1);
  cout << "solve pnp by gauss newton cost time: " << time_used.count() << " seconds." << endl;

Hello @yorklyb
书上那个算例确实也没考虑收敛性。
但是你这个算例应该用的是Gauss-Newton而非L-M？G-N的话确实可能存在误差增长使得无法继续迭代的情况。你可以考虑用python实现一个L-M？

Hello @yorklyb
书上那个算例确实也没考虑收敛性。
但是你这个算例应该用的是Gauss-Newton而非L-M？G-N的话确实可能存在误差增长使得无法继续迭代的情况。你可以考虑用python实现一个L-M？

感谢高博的回复。确实是用的GN方法，我仿照您书中给的例子写的。并且我看到您书中之前的章节确实有提到迭代需要一个好的初始值。我现在对这个没有疑问了。


text:
关于Aria2c 未知错误

今天复现出来了，原因是因为机器上有残留的aria2c进程，这个运行中的进程使用的配置文件不对。正常由APP自身自动运行的aria2c进程如下：
/Applications/小白羊云盘.app/Contents/Resources/engine/aria2c --stop-with-process=31288 --conf-path=/Applications/小白羊云盘.app/Contents/Resources/engine/aria2.conf --rpc-listen-port=16800 -D
解决办法：杀死残留进程，重启应用即可。
mac, linux 可以执行： ps -ef |grep aria2c 查看进程PID，执行kill -9 PID
windows：
tasklist | findstr "aria2c"
taskkill /F /PID pid  pid修改为上个命令查处的pid

有用！

关于洗码--选择要洗码的文件夹  下面的选择框能不能调的长一点    有时候选了想看一下里面内容太短了很不方便

@gaozhangmin 感谢大佬

@gaozhangmin  大佬，我操作 tasklist | findstr "aria2c" 之后，没有显示有残留进程

我执行完tasklist | findstr "aria2c"之后，没有显示有残留进程，但是我重启之后还是不能下载 @gaozhangmin

也可以参考该问题下的解决方法：#216

无法关闭, 因为不停得在启动, 有bug, pid刷新的很频繁：

btop查看发现这个：

这个sleep命令的进程，无法kill掉，因为pid变得很快。

 我执行完 tasklist | findstr "aria2c"之后，没有显示有残留进程，但是我重启之后还是不能下载 @gaozhangmin

找到一种可能的解决方法：在aria2.conf中将disable-ipv6改为true(我也跟你一样，出现了这个问题，现在用这个解决了)

可以用远程模式。

关于ARIA2C一直无法连接的问题，github上的解决方式都试过了，一直显示不成功。包括ipv6关闭的办法，没有反应，显示aria2c启动失败。后来通过关闭系统防火墙，成功解决这个问题。应该是防火墙阻挡，导致这个问题。上几个版本还没有问题，在26版本出现，系统22621.2361。

Aria2c dns解析失败怎么办？

为什么还是报错啊，已经按照上面的方法试过了

是不能用了吗？最近几天都下不了东西 T.T

authors: 178065310 CZXW Michael-J-ScofieldOVO YangtseSu daivinding gaozhangmin huimeng0812 m-dnxbf ogios yetier55 yzw20020919 zpoyqx

repo: gaozhangmin/aliyunpan


text:
hassio version 115 issue

the integration will not load due to missing constant   UNIT_PERCENTAGE
They have removed the UNIT_ from the constant
to fix edit all instances of UNIT_PERCENTAGE to PERCENTAGE in the init.py file

When replacing all instances from UNIT_PERCENTAGE to PERCENTAGE, I get this error in the logs:
Setup failed for ecowitt: Unable to import component: cannot import name 'PERCENTAGE' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
23:20:11 – setup.py (ERROR)

My mistake, this error appeared before I updated to the 115 beta. It disappears when upgraded from 114. I'm still left with these errors and no created entities:
2020-09-13 23:32:38 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.8/site-packages/pyecowitt/ecowitt.py", line 262, in handler
    weather_data = self.convert_units(data_copy)
  File "/usr/local/lib/python3.8/site-packages/pyecowitt/ecowitt.py", line 163, in convert_units
    data["windspdkmh_avg10m"] = float(data["windspdmph_avg10m"]
TypeError: float expected at most 1 argument, got 2
2020-09-13 23:33:16 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type maxdailygustms
``

I can confirm that the issue is solved with changing UNIT_PERCENTAGE to PERCENTAGE in version 0.115.

Confirm - replacing UNIT_PERCENTAGE to PERCENTAGE solved error. It's related to 0.115 as I made change on 0.114.4 prior to update and addon couldn't start.

I just updated to 115.1 and get this notification

and this is display

Been working fine up until 115.1

I've created a Pull request to get this solved.

The suggestion above worked for my install as well. Thank you.

I've created a Pull request to get this solved.

Seems like the pull request was not succesfull:
File "/hacs/custom_components/hacs/repositories/integration.py", line 32, in localpath
return f"{self.hacs.core.config_path}/custom_components/{self.data.domain}"
AttributeError: type object 'HacsCore' has no attribute 'config_path'

@arjen-w, to be honest, I have no idea how to pass the HACS validator.
The changed lines of code is working fine with HASS.IO v0.115 without any issue. If you have experience with HACS validator, then please pass your advise here, and I will look at it. Meanwhile the owner of the integration/repo has not replied to any messages, neither here, neither on the Home Assistant community forum.

If we can't get a PR into this repo can we just create a new fork (until the repo owner want's to get back in to it) and move over to that  ?
What is the etiquette in doing that on Git ?

If we can't get a PR into this repo can we just create a new fork (until the repo owner want's to get back in to it) and move over to that ?
What is the etiquette in doing that on Git ?

Not sure, but as long as you are referring to this project as source in your release notes and code, I personally think it won't be an issue.
On the other hand, for me everything is working after fixing things manually, so for me having a fork isn't necessary at the moment.

Sorry about this.. this is now fixed in 0.3.1  Was very busy for a few months with annoying life stuff.

authors: GSzabados MimbaMonkeyHouse arjen-w cpuks garbled1 gilperme mr-sneezy ronjtaylor scooper1


text:
Enable renovate for UI and CLI repositories

/kind enhancement
What this PR does / why we need it:
With this PR the UI and CLI repositories will be watched by renovate 🤖
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

Awesome, welcome 🥳
/lgtm
/approve

authors: oliver-goetz petersutter

repo: gardener/ci-infra


text:
[ci:component:github.com/gardener/autoscaler:v1.21.0->v1.22.0]

Release Notes:
sync the changes till v1.22.0 of upstream autoscaler

IT retry to scale up and down the pod in case on conflicts. Retry of 5 times with interval of 10 millisecond is kept

This needs manual change will update it .

The PR doing the relevant change https://github.com/gardener/gardener/pull/6163

repo: gardener/gardener


text:
Provide valuegardener.seed.name for controller registration helm charts.

How to categorize this PR?

/area control-plane
/kind enhancement
What this PR does / why we need it:
The value gardener.seed.identity is deprecated, as "identity" implies global uniqueness. Instead it is recommended to use the value gardener.seed.clusterIdentity. For the dns-shoot-service we would prefer to continue with using the seed name as part of the the DNSOwner id, as it has contains the gardener.garden.clusterIdentity to make it unique.
With introducing gardener.seed.name, we can still use the seed name for better readability.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Related to #2851
Release note:

provide value `gardener.seed.name` for controller registration helm charts.

/invite @rfranzke

/test pull-gardener-integration

/test pull-gardener-e2e-kind-upgrade

/test pull-gardener-integration


text:
Split codegen target and further enhance generate script

How to categorize this PR?

/area dev-productivity
/kind enhancement
What this PR does / why we need it:
This PR splits the codegen target as well for various groups, and also fixes a minor bug to make it run in parallel. Now, MODE is also available for codegen target.
Invalid options for codegen are skipped.
It is possible to pass any folder path for manifests target.
❯ make generate PRINT_HELP=y

# Usage: make generate [WHAT="<targets>"] [MODE="<mode>"] [CODEGEN_GROUPS="<groups>"] [MANIFESTS_FOLDERS="<folders>"]
#
# Options:
#   WHAT              - Specify the targets to run (e.g., "protobuf codegen manifests logcheck gomegacheck monitoring-docs")
#   CODEGEN_GROUPS    - Specify which groups to run the 'codegen' target for, not applicable for other targets (e.g., "authentication core extensions resources operator seedmanagement operations settings operatorconfig controllermanager admissioncontroller scheduler gardenlet resourcemanager shoottolerationrestriction shootdnsrewriting provider_local extensions_config")
#   MANIFESTS_FOLDERS - Specify which folders to run the 'manifests' target in, not applicable for other targets (Default folders are "charts cmd example extensions imagevector pkg plugin test")
#   MODE              - Specify the mode for the 'manifests' or 'codegen' target (e.g., "parallel" or "sequential")
#
# Examples:
#   make generate
#   make generate WHAT="codegen protobuf"
#   make generate WHAT="codegen protobuf" MODE="sequential"
#   make generate WHAT="manifests" MANIFESTS_FOLDERS="pkg/component plugin" MODE="sequential"
#   make generate WHAT="codegen" CODEGEN_GROUPS="core extensions"
#   make generate WHAT="codegen manifests" CODEGEN_GROUPS="operator controllermanager" MANIFESTS_FOLDERS="charts example/provider-local"
#

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/cc @timuthy @seshachalam-yv
Release note:

NONE

/test pull-gardener-unit

/test pull-gardener-e2e-kind-upgrade

/test pull-gardener-e2e-kind-ha-multi-zone

/test pull-gardener-e2e-kind-ha-multi-zone

/hold

/test pull-gardener-unit

@seshachalam-yv I have reworked this PR to allow passing any folder to manifests target. Can you PTAL?

/test pull-gardener-unit

/unhold

ping @seshachalam-yv

/assign

PTAL! @ary1992 @ialidzhikov

authors: ialidzhikov rfranzke seshachalam-yv shafeeqes


text:
Deployment

#DEPLOYMENT
##User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
#Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

Deployment completed through GitHub Pages


text:
Update props

Thanks for the library. Excellent. Please see all props and add them to the documentation. For instance - textContainerStyle;
Add the ability to indicate your own icon (an arrow next to the flag);
Ability to change the size of the flag
Thanks! package 5 stars

Thanks for the advice. Kindly check v1.1.0 for new updates.


text:
Add Tingle Map Shuffle

Shuffles Tingle and his Maps into the Pool.
Adds CAN_USE_PROJECTILE Logic Check to the list.
Adds TWIN_ISLANDS to the Regions List
Renamed Dungeon Map RI's since overworld maps are listed as such.

Build Artifacts

2ship-linux.zip
2ship-mac.zip
2ship-windows.zip

Merged

authors: Caladius garrettjoecox


text:
能不能增加支持R3G机型呢？

R3G硬件配置和AC2100差不多，连breed都是通用的。能不能加个这个型号？

同求，一个R3G的固件


text:
[Netty] Failed in the runtime

After upgrade to version 3.7.1 catch the error during the launch. The error appears after choose simulation and fill description.
I tried to do this:

change different JDKs (8, 11)
get demo project and launch there

Error log:
computerdatabase.BasicSimulation is the only simulation, executing it.
Select run description (optional)

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000133fb11f2, pid=1636, tid=5635
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (11.0.11+9) (build 11.0.11+9)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (11.0.11+9, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C  [libnetty_tcnative_osx_x86_6417779003216119739014.dylib+0x1671f2]  __isPlatformOrVariantPlatformVersionAtLeast.cold.1+0x152
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/pavelbairov/IdeaProjects/gatling-maven-plugin-demo-scala/hs_err_pid1636.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

And there is full log
hs_err_pid1636.log
As you can see from the log, the problem is somewhere in the netty library itself...

Weird, I don't have any issue.
% uname -a
Darwin Stephanes-MacBook-Pro 20.5.0 Darwin Kernel Version 20.5.0: Sat May  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64

% java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (Zulu 8.58.0.13-CA-macosx) (build 1.8.0_312-b07)
OpenJDK 64-Bit Server VM (Zulu 8.58.0.13-CA-macosx) (build 25.312-b07, mixed mode)

Could you please try a different OpenJDK build than the ones from AdoptOpenJDK, eg Zulu?
If you still experience an issue, please provide your uname -a and your java -version.

No issue either with Java 11:
% java -version
openjdk version "11.0.13" 2021-10-19 LTS
OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)

Nor Java 17:
% java -version
openjdk version "17.0.1" 2021-10-19 LTS
OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS)
OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, sharing)

uname -a
Darwin bairov.local 19.0.0 Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 x86_64

I tried Zulu. Also Corretto, AdoptOpenJDK

Something strange. Ok, I will try JDK 17 and then maybe try to update my OS

Yeah, your MacOS version is pretty old, that could be the issue.

Still, if that fixes your issue, it might be worth reporting it to Netty.

Great!

authors: Amerousful slandelle

repo: gatling/gatling


text:
Fix feeder shuffle description

Problem
Feeder shuffle description had a typo:
shuffle entries, then behave live queue
Solution
Change live -> like

Thanks! I had already fixed on our private branch, but I'll cherry-pick yours instead so you're credited with the commit :)

:-) thanks

cherry-picked

authors: joemeszaros slandelle


text:
CONFERENCE FAILED: conference.authenticationRequired

throwing this error, i didn't find solution
<Jitsi
roomName={roomName}
displayName={displayName}
password={password}
config={{ startWithAudioMuted: true, startWithVideoMuted: true }}
interfaceConfig={{ filmStripOnly: false }}
containerStyle={{ width: '100%', height: '100%' }}
onAPILoad={handleAPI}
domain={process.env.REACT_APP_JITSI_SERVER}
/>
i m using react-jitsi library

sorry for the noise, its mistake in my displayName and password

repo: gatteo/react-jitsi


text:
ignored gear

Bug Description
the bot ignores already provided netherite gear to make iron gear for some reason on all modes
Steps to Reproduce (as best as you can)
have netherite gear, doa command like @gamer or something
Expected Behavior
utilize the provided gear
Actual Behavior
completely ignore the provided gear and make iron tools
Crashlogs and Screenshots (if applicable)

Fix Idea (Personal Noes for when I fix this later)
gearSatisfied(Slot) -> returns whether a gear of a certain material or better is in that slot. From now on use that whenever checking for gear equipment.
EquipArmorOrBetterTask -> Keep EquipArmorTask, but have this extra option where it will equip the best armor in our inventory and use gearSatisfied to determine if it has enough gear to equip.

btw this applies to tools also

I believe that this has been applied for tools. Possibly armor.

repo: gaucho-matrero/altoclef


text:
feat: add option to link from top level menu items

From the mailing list

It is possible to add a landing page to the name of the dropdown menu?

It is not possible. Simply because I find it a bit confusing to have such a menu, but my limited capacity shouldn't hinder others from doing so.

This needs more testing and consideration. It is a bit too easy to create nonsense menus.
Mobile support needs thinking through and probably also some guidelines on how to do proper landing pages for such top level links

repo: gbif/hosted-portals


text:
Failed to update DOI

IPT version: 2.3.3-r01
When trying to publish a new version of a dataset the following message appears:

Publication log:
An error of type DOI was encountered during publishing: Failed to update doi:10.15472/xcpipy metadata: HTTP 500:
Restored version #2.0 of resource bios_microorg_seaflower_2016 after publishing failure 3:58:38 PM

I've already checked both data and metadata for inconsistencies but they are fine.
Any advice?

Thanks Nestor,
As per DataCite's API documentation when encountering a 500 server internal error, you should "try later and if problem persists please contact us". Can you please try again and report back if it works this time?
Otherwise, I'd recommend turning on debugging mode in your IPT settings and looking for more detailed information in your IPT logs.
By the way, it says your IPT is based on version "2.3.3-r01" but the officially released version is "2.3.3-rdb4ab13". I should raise again the warning in https://github.com/gbif/ipt/issues/1319#issuecomment-280310595 regarding using non-officially released versions in production.
If you are just customizing the style there is no problem of course. Here is one problem with the re-styling that I noticed by the way:

Thanks Kyle, today finally the publication was successful. I'll check the issues with the re-styling.

Wonderful, glad to hear that. Thanks for this feedback.
I will close this issue then.

authors: kbraak nestorjal

repo: gbif/ipt


text:
Fetch demo: cats count input on:input callback is not working

I used code from fetch example.
When running this example locally, nothing changes when I change number of cats.
However, if I add on:input callback to input's label, then it works:
<label on:input=move |ev| {
    let val = event_target_value(&ev).parse::<u32>().unwrap_or(0);
    set_cat_count(val);
}>
    "How many cats would you like?"
    <input type="number"
        value={move || cat_count.get().to_string()}
    />
</label>

Removing label also fixes callback not firing.

Hm... I'm not able to reproduce this.

I'm going to guess that wrapping "How many cats" in a <span> also fixes it? Is that correct?
Are you running this within the repository, or as a separate example and if so, using what Leptos version? (If you're running locally using leptos = "0.0" is it 0.0.16 or 0.0.17? Is it fixed if you update to 0.0.17 or use a git dependency on the repo, i.e., leptos = { git = "https://github.com/gbj/leptos" } in your Cargo.toml)

I was running it using leptos = "0.0.16". Switching to 0.0.17 actually fixed the issue!

Perfect! Yeah 0.0.16 had a rendering bug unfortunately.

authors: alordash gbj

repo: gbj/leptos


text:
Phrokka gff contig name

phrokka version: 0.1.0
Python version: 3.9
Operating System: MacOS

Description
Small thing, but I noticed that in the .gff output that the names for the CDS and the tRNA hits are different - seems trimmed.

Should be fixed with v0.1.7 removal of hhsuite


text:
options.styles.keywords isn't applied to some highlights

In lua/nord/treesitter.lua

    -- Keywords
    ["@keyword"] = vim.tbl_extend("force", { fg = c.frost.artic_water }, options.styles.keywords), --  various keywords
    ["@keyword.function"] = vim.tbl_extend("force", { fg = c.frost.artic_water }, options.styles.functions), --  keywords that define a function (e.g. `func` in Go, `def` in Python)
    ["@keyword.operator"] = { fg = c.frost.artic_water }, --  operators that are English words (e.g. `and` / `or`)
    ["@keyword.return"] = { fg = c.frost.artic_water }, --  keywords like `return` and `yield`
    ["@conditional"] = { fg = c.frost.artic_water }, --  keywords related to conditionals (e.g. `if` / `else`)
    ["@repeat"] = { fg = c.frost.artic_water }, --  keywords related to loops (e.g. `for` / `while`)
    ["@debug"] = { fg = c.snow_storm.origin }, --  keywords related to debugging
    ["@label"] = { fg = c.frost.polar_water }, --  GOTO and other labels (e.g. `label:` in C)
    ["@include"] = { fg = c.frost.artic_water }, --  keywords for including modules (e.g. `import` / `from` in Python)
    ["@exception"] = { fg = c.frost.artic_water }, --  keywords related to exceptions (e.g. `throw` / `catch`)

options.styles.keywords isn't applied to "@keyword.operator" etc.
I wonder whether this is a bug or a feature?

You're right, I'll fix it ;)

Fixed

authors: Isrothy gbprod

license: WTFPL


text:
add Distributive functor

This PR provides the notion that is categorically dual to Traversable.
A Distributive Functor is one that you can push any functor inside of.
distribute :: (Functor f, Distributive g) => f (g a) -> g (f a)

Compare this with the corresponding Traversable notion, sequence.
sequence :: (Applicative f, Traversable g) => g (f a) -> f (g a)

Is there a reason why Distributive and Traversable don't have corresponding fantasy interfaces?

AFAIK FantasyTraversable does exist. FantasyDistributive seems not possible since the outer type is HKT<G, _>. What do you propose?

The spec for fantasy-land Traversable is here:
https://github.com/fantasyland/fantasy-land#traversable
If I understand correctly, Distributive would just be a reversion of the arrows?

AFAIK FantasyTraversable does exist

I mean that is already defined in fp-ts https://github.com/gcanti/fp-ts/blob/ee67de4b897cb9a5b87be9d39cee6751a1353251/src/Traversable.ts#L11
The signature
distribute :: (Functor f, Distributive g) => f (g a) -> g (f a)

suggests that adding a method to the prototype of Distributive g is useless since the value at hand is a f (g a)

Oh my bad, right, it's FantasyFilterable that doesn't exist, I looked at the wrong file.
I'm not sure I understand how your version of Distributive works yet, I'll play around with it a bit tomorrow and look if I can come up with a sensible Fantasy version.

it's FantasyFilterable that doesn't exist

Ah you are right (and Witherable as well). Would you like to send a PR for them? Writing the Fantasy* instances for Filterable and Witherable should make clear why I think is not possible to do the same for Distributive: both the missing definitions involve a HKT<F, A> value where F is the "main" type parameter of the interfaces while in Filterable the main type parameter is F but the involved value is G-parametrised. Does it make sense?

Ah, cool, yeah, I was finishing up one of the Immutable collections yesterday and ran into this part of the library. I'll have a look if I can solve the conundrum.

You are correct.
I looked up all the theory behind it (and why a monadic operation such as distribute or traverse only needs respectively a Functor or an Applicative) and I get it now. Without extension methods in TypeScript, you cannot attach the Distributive to anything. You can always write a Fantasy type of a dual, unless that dual forces the focus type into the output slot. Makes total sense. There's no hidden way to express it that would give rise a Fantasy type.

authors: SimonMeskens gcanti

repo: gcanti/fp-ts


text:
Bug report: JWT Verify doesn't require an algorithm

As detailed here, JWT verification functions should require specifying the algorithm that should have been used, in order to prevent an attacker from changing the algorithm to a symmetric algorithm from an asymmetric one and using the public key to sign the token. Probably low priority for this particular app, but it would be good to at least have the option.

Hi Josh,
Correct me if i am wrong or misunderstand you, but isn't the problem you link to, a serverside issue where developers simply trust whatever alg the token specifies? Removing "none" from Cyberchef won't help the problem. Servers need to interpret the tokens with the alg it writes the tokens with.
Having the "none" alg there is a great tool for testing your implementation of JWT verification, to catch the problems mentioned in the link.

I don't mean removing the none algorithm, I meaning allowing the user to specify which algorithm is expected and raise an error if the jwt defines it differently. The relevant part of the article is this: https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries/#RSA-or-HMAC-. Specifically "If a server is expecting a token signed with RSA, but actually receives a token signed with HMAC, it will think the public key is actually an HMAC secret key." Basically, the solution is, rather than trusting the jwt alg field, allowing the user to define the algorithm. Hope that makes more sense.

Yeah, that would be good especially since the JWT header isn't shown at all. I recommend using https://jwt.io/ for playing with JWT tokens.

authors: LabanSkollerDefensify joshbarth mifriis

repo: gchq/CyberChef


text:
Add example of applying validation to multiple properties in a schema

This should be added to the Schema walkthrough in the dev guide.

Merged into develop.

repo: gchq/Gaffer


text:
Parquet Store generates too many files for HDFS to handle when importing RDD

The is an issue where importing an RDD with lots of partitions and wanting to split the data into lots of files per group, will worst case cause
 x  x  files to be generated which HDFS will struggle to handle.

This bug was fixed during the major rewrite of the Parquet store in #1884 .


text:
Gh-3098 Improve Testing of GafferEntityGenerator

Improves tests for the GafferEntityGenerator coverage now > 80%
Small tweak to the main class so it checks for null values and to use easier to read lambdas.
Related issue

Resolve #3098

You've added null checks for the vertex properties, but this is showing as untested.

I haven't added them they were in the existing logic although looking at the code a bit more is impossible to actually make a GafferPop Edge or Vertex with a property that has a null key as it is validated when its added and also the properties are technically stored in a HashMap which also fundamentally does not allow it. Therefore these checks likely can just be removed as they are adding nothing.


text:
PAL 185 - Added .clone() .equals() .hashCode() methods to hr-generator types

While not likely necessary for production, this is required for testing to validate (a lack of) changes to records after applying Rules

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

Held back for a bit by a JUnit bug, be aware if using Theories in the future
https://github.com/junit-team/junit4/issues/1629#issue-504602826

repo: gchq/Palisade


text:
Allow an operation chain to be execute on load of the UI

Create a url query param 'preQuery' that a user/system could set to invoke an operation chain when the UI first loads. This would allow click through from other apps and queries to be shared between users.

Merged into develop

repo: gchq/gaffer-tools


text:
SupersededOutputHelper is not initialised

20181213.txt

For some reason the ReferenceDataLoad pipeline is trying to write an output stream. This isn't expected to be the case.

The SupersededOutputHelper will no longer check that output is superseded for pipelines that exist outside of normal processing.
Change will be available in v6.0-beta.21 onwards

repo: gchq/stroom


text:
🛑 Burotic is down

In 3b332c2, Burotic ($BUROTIC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Burotic is back up in a95cc0c after 13 minutes.

repo: gcommeuneidee/upptime


text:
How to check for alarm stops when stopping from notification stop button? and onTap of Notification.

Alarm plugin version
4.0.0-dev.3
How i check for is my alarm is stopped from notification stop button.
In my app to stop alarm i am using Alarm.stop(id); to stop the alarm so here after i called it i can do something in my code,
but what about stopping alarm from notification button? here i have to call a function when i stop alarm from notification
as me, you can provide onStop method when stop from notification stop button.
If there is method like this then everyone can perform some task on alarm stop from stop button of notification.
And also need onTap of notification
If there is onTap for notification then user can perform task accordingly.
Additional context
For my app i have to show non dismissible notification when user stops the alarm. This is possible when i use  Alarm.stop(id); but need to do from notification stop button. I used flutter_local_notifications for non dismissible notification.
And also want to open Alarm screen when tap on notification, so for it onTap is useful.

Hi @dhavalmnjtech
Thanks for your interest in the package.
I'll consider adding a onStop callback when the alarm is stopped from the notification and a onTap when app is opened from the notification. I'll keep you updated here.

Hello @gdelataillade

I was working on it but faced a technical limitation on Android. If someone with Kotlin experience could help me this PR #275 it would be great !

authors: dhavalmnjtech gdelataillade

repo: gdelataillade/alarm


text:
버그 수정

스페이스바 눌러서 나오는 공백을 입력하면
node:_http_outgoing:652
throw new ERR_HTTP_HEADERS_SENT('set');
^
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (node:_http_outgoing:652:11)
at ServerResponse.header (D:\20220904-backup\Documents\imitated-seed-2-master\node_modules\express\lib\response.js:794:10)
at ServerResponse.send (D:\20220904-backup\Documents\imitated-seed-2-master\node_modules\express\lib\response.js:174:12)
at IncomingMessage.eval (eval at  (D:\20220904-backup\Documents\imitated-seed-2-master\routes\router.js:27:5), :120:8) {
code: 'ERR_HTTP_HEADERS_SENT'
}
Node.js v20.10.0
오류가 뜹니다

스페이스바를 어디에 입력하신건가요?

여기요

근데 타 위키에서는 또 검색이 잘 되고 문서로 가기 누르면 대문으로 가지더라고요

엔진은 최신버전인가요?

네

license: Unlicense


text:
IPV6端口转发问题

网络结构：主路由为硬路由拨号（IPv6 Native 并关闭防火墙），旁路由 iStoreOS 21.02.3 2023052616 （添加了 LAN6 接口并把防火墙加入了 LAN 域）

可以通过/64前缀的公网IPv6地址访问旁路由后台

Lucky：通过 iStore 安装的 v1.10.8 版本，非 docker

端口转发配置（访问主路由web管理页面）

访问/64前缀公网IPv6地址的对应端口，显示502 Bad Gateway nginx/1.12.2

端口转发规则日志

2023-05-29 15:24:25	{"ExtInfo":{},"level":"info","msg":"[端口转发][开启][tcp6@:30000 ===> [192.168.31.1]:80]"}
2023-05-29 15:25:03	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70:45d8:8424:afc4:7839]:60962]安全检查通过"}
2023-05-29 15:25:03	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70:45d8:8424:afc4:7839]:60963]安全检查通过"}
2023-05-29 15:25:03	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12401]安全检查通过"}
2023-05-29 15:25:03	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12403]安全检查通过"}
2023-05-29 15:25:10	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12405]安全检查通过"}
2023-05-29 15:25:10	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12407]安全检查通过"}
2023-05-29 15:25:10	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12409]安全检查通过"}
2023-05-29 15:25:10	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12411]安全检查通过"}
2023-05-29 15:25:10	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12413]安全检查通过"}
2023-05-29 15:25:10	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12415]安全检查通过"}
2023-05-29 15:25:13	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12417]安全检查通过"}
2023-05-29 15:25:13	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12419]安全检查通过"}
2023-05-29 15:25:13	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12421]安全检查通过"}
2023-05-29 15:25:16	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12423]安全检查通过"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"error","msg":"tcp6@:30000 ===> [192.168.31.1]:80 error:dial tcp 192.168.31.1:80: i/o timeout"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12423 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12421 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12419 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12417 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12415 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12413 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12411 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12409 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12407 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12405 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12403 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12401 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70:45d8:8424:afc4:7839]:60962 断开连接"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12427]安全检查通过"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12429]安全检查通过"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12431]安全检查通过"}
2023-05-29 15:25:21	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12433]安全检查通过"}
2023-05-29 15:25:22	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12435]安全检查通过"}
2023-05-29 15:25:22	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12437]安全检查通过"}
2023-05-29 15:25:22	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000]新连接[[240e:398:45b2:8c70::1]:12439]安全检查通过"}
2023-05-29 15:25:23	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70:45d8:8424:afc4:7839]:60963 断开连接"}
2023-05-29 15:25:23	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12427 断开连接"}
2023-05-29 15:25:23	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12429 断开连接"}
2023-05-29 15:25:23	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12431 断开连接"}
2023-05-29 15:25:23	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12433 断开连接"}
2023-05-29 15:25:23	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12435 断开连接"}
2023-05-29 15:25:23	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12437 断开连接"}
2023-05-29 15:25:27	{"ExtInfo":{},"level":"error","msg":"tcp6@:30000 ===> [192.168.31.1]:80 error:dial tcp 192.168.31.1:80: i/o timeout"}
2023-05-29 15:25:27	{"ExtInfo":{},"level":"info","msg":"[tcp6@:30000][240e:398:45b2:8c70::1]:12439 断开连接"}

- 程序日志

2023/05/29 14:58:59 Set LoalTimeZone CST-8 [+8.00]
2023/05/29 14:58:59 可以将下面指令加入cron计划任务，每分钟定时检测lukcy进程防止奔溃影响使用。
2023/05/29 14:58:59  */1 * * * * test -z "$(pidof lucky)" && /usr/bin/lucky -c /etc/lucky/lucky.conf -p 16601  >/dev/null 2>&1
2023/05/29 14:58:59 RunMode:prod
2023/05/29 14:58:59 version:1.10.8	commit 65c9d93e6491301115fe027096f6e9b188fdd8f8, built at 2023-04-23T11:13:16Z
2023/05/29 14:58:59 后台http端口[16601]来自启动命令指定
2023/05/29 14:58:59 AdminWeb(Http) listen on :16601
2023/05/29 14:58:59 后台登录网址: http://[IP]:16601
2023/05/29 14:58:59 模块[动态域名]已启用
2023/05/29 14:58:59 模块[端口转发]已启用
2023/05/29 14:58:59 模块[Web服务]已启用
2023/05/29 14:58:59 模块[STUN内网穿透]已启用
2023/05/29 14:58:59 模块[WebDAV]已启用
2023/05/29 14:58:59 模块[网络唤醒]已启用
2023/05/29 14:58:59 模块[ACME]已启用
2023/05/29 14:58:59 模块[计划任务]已启用
2023/05/29 14:59:08 [192.168.31.185]后台登录成功
2023/05/29 14:59:19 执行首次NTP同步时间

我记得小米路由器不能直接转发80端口的，你试试8080端口

我记得小米路由器不能直接转发80端口的，你试试8080端口

换成 8080 端口可以了，非常感谢。另外我也试了 TrueNAS 的 80 端口也可以转发。（我应该早点试试的


text:
update composer.json to fix install in site/plugins

update composer.json to fix install in site/plugins

Thank you very much for fixing this issue. This will make the plugin even more convenient 👍

authors: felixhaeberle gearsdigital

repo: gearsdigital/kirby-reporter


text:
Fix for a MatchData issue

I was getting an exception using this formatter:
rspec-formatter-webkit/lib/rspec/core/formatters/webkit.rb:176:in `expand_path': can't convert nil into String (TypeError)
    from rspec-formatter-webkit/lib/rspec/core/formatters/webkit.rb:176:in `block in backtrace_line'

The issue (for me at least) was that gsub wasn't matching the line appropriately and wasn't generating the correct MatchData variables ($1, $2).
I fixed the .gsub syntax that was not parsing lines correctly and switched to .match instead, which cleared up my issue.

nevermind, I was dumb and didn't see what all this is actually doing. I've lost some functionality in this commit. I'll rework it, sorry about that.

So weird, I can't reproduce the error now. Ah well, guess I was jumping at shadows :)

repo: ged/rspec-formatter-webkit


text:
Generated Python code for Game of 2048 largely inconsistent

Bug description
I tried to create the Game of 2048 as instructed in the Intro section and I used the OpenAI model "gpt-4-turbo-preview". I set up MetaGPT using conda on my macOS system, using Python 3.9. I initialized the config to use OpenAI with a valid API-KEY and the best model available (see above).
Unfortunately, the generated code is not self-consistent. MetaGPT created multiple Python files and the generated code looked superficiously good. But when trying to run the main.py code, many errors were raised. Most errors are the result of code references to either Python constants, methods, or constructors of generated Python code that did not exist or were referenced with an incorrect name.
The errors are too numerous to fix. I have attached the generated Python code for further details. I renamed all Python files to use the filename extension '.txt', since an upload of Python files seems to be prohibited by Github.
main.txt
game.txt
ui.txt
logic.txt
constants.txt

Let me add that I tried the --code-review as well as the -no-code-review option. Moreover, the --run-tests option does not seem to work. Here I would have expected that MetaGPT recognizes that there are errors and tries to incrementally fix the errors through revised code generation trials.

About the generated code is not self-consistent: LLM does not always produce good design and then write good code. I
suggest you retry if it failed.

About --run-tests option does not work: The value of --n-round is  too small. --n-round is a safety valve that will terminate the inference if the number of reference round exceeds it. Unit testing will not start until the code is successfully written. The QA is not working  indicating that the code has not been successfully written.

Thanks for the specific suggestions on how to get better results with MetaGPT. I will certainly try the suggestions.

authors: crjaensch iorisa

repo: geekan/MetaGPT


text:
Wish to add a program that convert wind directions in degrees to compass directions.

Hi, Repo Owner,
I wish I can add a program in this repo. The program is about to convert a degree number like 44.5 to NE.
Would you allow me?
Best,
Yan

Hi , can you assign me this issue .

You both are assigned the task.
@yanliutafewa @Anxhul10
Submit a PR for review and tag me along.
It will be merged.
Thank you,
@NitkarshChourasia

authors: Anxhul10 NitkarshChourasia yanliutafewa

repo: geekcomputers/Python


text:
Adding a Search Engine to the repo

This PR contributes a search engine that can be used to search for documents that contain a search term

Hi, @geekcomputers , kindly see that @NitkarshChourasia left a comment for me to squash some commits, I planned on working on that this weekend, but I see that you have merged the PR regardless. Will the squashing still be needed?

Hi, @geekcomputers , kindly see that @NitkarshChourasia left a comment for me to squash some commits, I planned on working on that this weekend, but I see that you have merged the PR regardless. Will the squashing still be needed?

No

It is to reduce the number of commits, so as to handle it in future. If needed.
Next time try to squash them when the commits are huge in numbers as per to the features introduced. @Xceptions
Thank you,
@NitkarshChourasia

okay thank you.
Looking to make more contributions soon

sure!
On Sat, 18 May 2024 at 14:41, Xceptions @.***> wrote:

okay thank you.
Looking to make more contributions soon
—
Reply to this email directly, view it on GitHub
https://github.com/geekcomputers/Python/pull/2196#issuecomment-2118726130,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVTTXYG7QPVRJ7A7P7GMXATZC4LKXAVCNFSM6AAAAABHYAB34KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYG4ZDMMJTGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Nitkarsh Chourasia

authors: NitkarshChourasia Xceptions


text:
Add Github Action Welcome Bot

Add Github action greeting bot which greets first time contributors with a welcome message and message to follow contributing guidelines.

@geekquad @kritikaparmar-programmer Can I look into this issue?

Sure @Aayush-hub. Go ahead!

@geekquad @kritikaparmar-programmer Waiting for my #23  PR to be merged. Will make a PR soon after that solving this issue!

Hey @Aayush-hub, you can make a new branch for the same and continue your work.

Hey @Aayush-hub, you can make a new branch for the same and continue your work.

@geekquad Done :)

authors: Aayush-hub geekquad

repo: geekquad/Image-Processing-OpenCV


text:
🛑 blist is down

In 4f74582, blist (https://Blistingsnip.geeks121.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blist is back up in d9d2b5a.


text:
nodejs: forever is not installed

Following the nodejs example I get the error:
TASK [Check list of running Node.js apps.] *************************************
fatal: [default]: FAILED! => {"changed": false, "cmd": "forever list", "failed": true, "msg": "[Errno 2] No such file or directory", "rc": 2}

Further invocations of vagrant provision produce the same error and interestingly the "Install Forever (to run our Node.js app)" task is marked as changed every time. I logged into the machine and found out forever wasn't being installed at all.
Changing the "Install Forever" task so that state=present rather than state=latest fixes the problem.
However, my understanding is that state=latest should also ensure the package is installed so maybe this is a bug in the ansible npm module?
I am using Ansible version: 2.0.0.

@lihop - Yes, state=present should be preferred, and should work fine... it looks like there's a chance the npm module has a bug in 2.0.0. Note that it's still pre-release software—you may want to report this bug in the Ansible project's queue.

Thanks for confirming @geerlingguy. I've downgraded to ansible 1.9.4 and the playbook runs fine as is. I was using Ansible 2.0.0 because that is the version shown in the "Installing Ansible" section of the book. I didn't realize the software was pre-release, so I will look into making a bug report.

Looks like the bug has already been reported here: ansible/ansible-modules-extras#1375

Thanks for the update!

authors: geerlingguy lihop

repo: geerlingguy/ansible-for-devops