Boolean Variable With No Constraints raises TypeError: G must be a 'd' matrix

Describe the bug
I am trying to solve a mixed-integer program after installing CVXOPT as mentioned here. The following code snippet results in an error:
import cvxpy as cp

x = cp.Variable(boolean=True)
obj = cp.Maximize(0.23 * x)
prob = cp.Problem(obj)
print(prob.solve(solver="GLPK_MI", verbose=True))

It runs without error when I add a constraint though:
import cvxpy as cp

x = cp.Variable(boolean=True)
obj = cp.Maximize(0.23 * x)
prob = cp.Problem(obj, [x >= 0])
print(prob.solve(solver="GLPK_MI", verbose=True))

Expected behavior
The first code snippet should not result in an error.
Output
For the first code snippet:
===============================================================================
                                     CVXPY
                                    v1.1.18
===============================================================================
(CVXPY) Jan 24 01:45:36 PM: Your problem has 1 variables, 0 constraints, and 0 parameters.
(CVXPY) Jan 24 01:45:36 PM: It is compliant with the following grammars: DCP, DQCP
(CVXPY) Jan 24 01:45:36 PM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Jan 24 01:45:36 PM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.
-------------------------------------------------------------------------------
                                  Compilation
-------------------------------------------------------------------------------
(CVXPY) Jan 24 01:45:36 PM: Compiling problem (target solver=GLPK_MI).
(CVXPY) Jan 24 01:45:36 PM: Reduction chain: FlipObjective -> Dcp2Cone -> CvxAttr2Constr -> ConeMatrixStuffing -> GLPK_MI
(CVXPY) Jan 24 01:45:36 PM: Applying reduction FlipObjective
(CVXPY) Jan 24 01:45:36 PM: Applying reduction Dcp2Cone
(CVXPY) Jan 24 01:45:36 PM: Applying reduction CvxAttr2Constr
(CVXPY) Jan 24 01:45:36 PM: Applying reduction ConeMatrixStuffing
(CVXPY) Jan 24 01:45:36 PM: Applying reduction GLPK_MI
(CVXPY) Jan 24 01:45:36 PM: Finished problem compilation (took 4.708e-03 seconds).
-------------------------------------------------------------------------------
                                Numerical solver
-------------------------------------------------------------------------------
(CVXPY) Jan 24 01:45:36 PM: Invoking solver GLPK_MI  to obtain a solution.
Traceback (most recent call last):
  File "test_mixed_int.py", line 6, in <module>
    print(prob.solve(solver="GLPK_MI", verbose=True))
  File "/Users/benq/Documents/UAT-Optimization/venv/lib/python3.8/site-packages/cvxpy/problems/problem.py", line 473, in solve
    return solve_func(self, *args, **kwargs)
  File "/Users/benq/Documents/UAT-Optimization/venv/lib/python3.8/site-packages/cvxpy/problems/problem.py", line 975, in _solve
    solution = solving_chain.solve_via_data(
  File "/Users/benq/Documents/UAT-Optimization/venv/lib/python3.8/site-packages/cvxpy/reductions/solvers/solving_chain.py", line 343, in solve_via_data
    return self.solver.solve_via_data(data, warm_start, verbose,
  File "/Users/benq/Documents/UAT-Optimization/venv/lib/python3.8/site-packages/cvxpy/reductions/solvers/conic_solvers/glpk_mi_conif.py", line 71, in solve_via_data
    results_tup = cvxopt.glpk.ilp(data[s.C],
TypeError: G must be a 'd' matrix

Version

OS: macOS 12.1, Intel chip
CVXPY Version: 1.1.18

Additional context

CVXOPT Version: 1.2.7
Related: https://github.com/cvxpy/cvxpy/issues/988

Doesn't mean this isn't a bug, but you can get around this by using integer rather than boolean variables:
import cvxpy as cp

x = cp.Variable(integer=True)
obj = cp.Maximize(0.23 * x)
prob = cp.Problem(obj, constraints=[0 <= x, x <= 1])
print(prob.solve(solver="GLPK_MI", verbose=True))

This is a fairly simple fix. All the needed logic is in the CVXOPT interface (https://github.com/cvxpy/cvxpy/blob/master/cvxpy/reductions/solvers/conic_solvers/cvxopt_conif.py#L152). It should be added to the standard GLPK (non-MIP) interface as well.

I'd be happy to implement! Looks like a simple first contribution

Fix: https://github.com/cvxpy/cvxpy/pull/1621


Fetch dependent P.L descriptors

As HKube manager I want to be able to fetch all the dependent pipeline descriptors which exists in the pipeline's Repository, so I can know which pipeline descriptors are configured as dependent.

Done
use hkube/api-server/api/v1/pipelines/triggers/ to test

#pipeline tree test
File:pipeline_tests.js
describe : "Trigger pipeline"

Test
description

Trigger tree
validate /pipelines/triggers/tree Get pipelines triggers

Trigger get result tree
validate /exec/tree/{jobId} Get pipeline execution tree

Trigger cycle pipeline tree
validate /pipelines/triggers/tree can handle cycle


Collect CSP sandbox through dependencies.

This PR makes use of the new TaskArrayFunction.walk_deps method to solve a long-standing issue. So far, in our tasks we overwrote the sandbox parameter with that of the requested CSP. However, for that lookup, we only used the sandbox value by the CSP itself regardless of its dependencies.
I added a new method, get_sandbox(), which is traversing dependencies and collection sandbox values. In case no or a single sandbox was found, None or the single sandbox are returned. When more than one unique sandbox was found, there is a configurable collision handling that would either issue a warning or raise an exception. More elaborate methods could be included in the future.

I was thinking about the exact same thing, but I guess this involves attributing flags to sandboxes like "is_compatible_with_sandbox_XYZ". This requires some discussions and sounds like a future PR :)


Login problems

I can only login through the webroser from the link provided in the app. And even then after I get access to exhentai in app if I mess with even one setting in app, all content from exhentai is closed off from me. I can easily access exhentai content from the webbroser but   not the app.

Me too. App is acting weird after updating.

@Drunkhow-tw Im glad im not the only one havin these problems. I mean
I had to make a account on github for the first time just to get the word out about the new update being bugged lol. I never had any problems with the older versions. The app WAS perfuct :pensive:

Sad Panda？

Both sad panda and "panda sits alone"
On Tue, Feb 13, 2018, 1:18 PM seven332<EMAIL_ADDRESS>wrote:

Sad Panda？
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/seven332/EhViewer/issues/332#issuecomment-365153895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ActS_Wc4GmSSmKJVJBmeQEPx2zcVdjHnks5tURsQgaJpZM4SC-3U
.

--
Drunkhow

The EHentai website upgraded, the app has to update to fit the website. I don't know why the new version calls Sad Panda out on your phones.
When did you get Sad Panda? Immediately after updating the app, or after clicking the EHentai Settings in Settings->EH.

It's after updating the app, and I tried installing the old version, but
still wasn't working.
But the website is working in browser though.
seven332<EMAIL_ADDRESS>於 2018年2月13日 週二 下午1:39寫道：

The EHentai website upgraded, the app has to update to fit the website. I
don't know why the new version calls Sad Panda out on your phones.
When did you get Sad Panda? Immediately after updating the app, or after
clicking the EHentai Settings in Settings->EH.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/seven332/EhViewer/issues/332#issuecomment-365156981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ActS_SwIpdBQkLsRQhO9pEDnCjYBwoGBks5tUSAsgaJpZM4SC-3U
.

--
Drunkhow

Please get the cookies from your browser, click "Sign in via cookies", enter your cookies.

@Drunkhow-tw yep im having the exact same problem 😐

How does one get the cookies out of the google chrome app on android?

@seven332 How does one get the cookies out of the google chrome app on android?

It's pretty difficult to get cookies from Android Chrome. Please try it on PC.

@kbn230 "And even then after I get access to exhentai in app if I mess with even one setting in app"
The "even one setting" is the setting in Settings->EH->EHentai Settings?

Ahh! The app start loading after I change to list view on the setting page
of the website, so   Is it about parsing in a wrong pattern?
On Tue, Feb 13, 2018, 8:17 PM seven332<EMAIL_ADDRESS>wrote:

@kbn230 https://github.com/kbn230 "And even then after I get access to
exhentai in app if I mess with even one setting in app"
The "even one setting" is the setting in Settings->EH->EHentai Settings?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/seven332/EhViewer/issues/332#issuecomment-365250236,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ActS_cJ9WL2E3jChYbfTZERevonxXG0_ks5tUX1PgaJpZM4SC-3U
.

--
Drunkhow

Yes, it is. It's mentioned on the help page. http://www.ehviewer.com/help

Yes, it is. It's mentioned on the help page. http://www.ehviewer.com/help
please provide english language for wider audience.

@Nexxkinn This is a google translation of that page. Im not that tech savy If it makes sense to you let me know 😅
Sad Panda At this time, developers are not clear how to solve this problem, because developers are not webmasters. But a few points may help you to avoid this problem.

Access in the browser If you do not encounter Sad Panda on your browser then you can get cookies from your browser and use "sign in with cookies." As for how to get a cookie in your browser, search for it.

Log out and re-login, and use the Americas or European countries IP Certain IPs do cause certain accounts to encounter Sad Panda.
In short try to avoid using the mainland when landing, Japan's IP, if the first time did not encounter Sad Panda, even if the replacement IP will no longer appear Sad Panda.

Play HentaiVerse HentaiVerse is a role-playing game on EHentai. There are rumors that playing Hentai Verse can help solve the Sad Panda issue, but no evidence has been found to support this. The above points do not guarantee that Sad Panda will be solved. "Exclude language", "Home exclusion classification" disappeared EHentai website is updated, the user settings are no longer stored as cookie local, but directly saved on the server.
Therefore, users need to configure directly on the webpage and enter "Settings-> EH-> EHentai Settings" to configure. It is recommended to click "Create New" to create an EhViewer-specific configuration file to avoid affecting the effect of using the browser directly. One of the "Front Page Settings" one must select "List View", otherwise it will parse the error, there is "nothing found" error; "Popular Right Now" to select "Yes, display it", otherwise the hot topic is gone. The rest can be configured according to their own preferences. Do not forget to click Save in the upper right corner.

All are "Nothing Found" Please read the previous one Thumbnails become blurred Please read the above article Favorites sort chaos Please read the above article The "clear read redundancy" option is missing Beginning with version 0.9.0, reading directly instead of downloading, the image file is saved in the cache. Cache is the maximum space constraints, it can not be unlimited storage of documents, but also need to worry about unlimited space. EhViewer read the image cache size is 80MB, about 100 pictures can be cached. Because the cache space will not be unlimited expansion, there is no need to "clean up the reading of the redundant".
Why "preloaded images" does not have "unlimited preload" option As the above article said, the picture is stored in the cache, and the cache can not store images unlimited. If the infinite preloading, while the gallery page has thousands of pages, in the preloading process will appear before the preloaded image is pre-loaded picture extrusion caching phenomenon, but when you read the page to Reload, resulting in a waste of time and bandwidth

I'm not good at English. I doubt that I can make the translation clear. I'm planing to move the website to gh-pages, anyone can pull requests.

I finnaly got around to signing in with cookies. These are the steps I took and got sad panda
(1) After signing in with cookies.  I tapped on an doujin.
(2) Then I tapped the back butten on my phone not the app.
(3) I then swiped down on the screen of my phone to do a refresh of the home page in the app.
(4) I was then greated with a sad panda.

That sounds weird. @kbn230 Please try the process on the old version, 1.0.25 is OK. Will you get a sad panda too?

@seven332 I downloaded the 1.0.25 version and logged in with cookies. when I set the app to e-hentai and not exhentai the homepage and every thing else works fine. I was able to search/read/download anything I wanted.
But when I switch over to exhentai option in the settings im greated to a sad panda on the homepage and now I cant search/read/download anything.

@seven332 On version 1.0.25 the app wouldnt let me login the normal way so  I tryed signing in from web link provided at the bottem of the login page of the app. I was able to view exhentai content.
But once i backed out of a doujin to the homepage, I swiped down to refresh and I was greated with sad panda. Also the cookies login did not work aswell.

So it's not because of the app, as you said, "The app WAS perfect", and the old version doesn't work now either.
But you can search/read exhentai content on a browser, like Chrome or FireFox? Did you use the app and browsers in the same network, or the same WIFI?

Yes to all the first half of your last post. And yes I can only freely browse exhentai content on my moblie phone and pc with chrome. I must say im appreciate you responding to all my posts. I hope Im helping to get to the root of the problem.

@seven332 Yes to all the first half of your last post. And yes I can only freely browse exhentai content on my moblie phone and pc with chrome. I must say im appreciate you responding to all my posts. I hope Im helping to get to the root of the problem.

Please install this apk. https://drive.google.com/open?id=1uTJmoikPxBInqxSwpfp1rPGRJrhOkydP
Repeat the process you mentioned before. Then click Settings->Advanced->Dump logcat. Send the log file to me if you trust me. The file contains cookie information of http requests from EhViewer. Anyone can access your ehentai account if he/she get the cookies. So don't share it. Just send it to me via e-mail if you trust me. You can get my e-mail in Settings->About.

I'll try and make a side account later

@seven332 I'll try and make a side account later

I'm sure a new account always get Sad Panda, even in browser.

I had this problem and it was fixed when I switched to list view in the ehentai settings page. Maybe you could modify the message you get when there's a parsing error from "Settings->About->Help" to "Try switching to List View in Settings->EH->EHentai settings->Front Page Settings" or something like that?

Ok, I'll take a look.
On Feb 15, 2018 at 6:17 AM, <stdowl<EMAIL_ADDRESS>wrote:
I had this problem and it was fixed when I switched to list view in the
ehentai settings page. Maybe you could modify the message you get when
there's a parsing error from "Settings->About->Help" to "Try switching to
List View in Settings->EH->EHentai settings->Front Page Settings" or
something like that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/seven332/EhViewer/issues/332#issuecomment-365897744,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae2RhpC1F9LP94bonr_gqxCVD1ZOMhQKks5tVBJmgaJpZM4SC-3U
.

@steinuil I cant even get access to those settings. And im positive that I signed in. Ill try using the cookie signin in the app later when im near my pc.

@kbn230 are you using the latest version? I'm pretty sure those settings only appeared with the latest update.

Yep I have 1.0.26 installed.

Are you using e-hentai or exhentai in your settings

@steinuil Are you using e-hentai or exhentai in your settings

@kbn230 exhentai. I think the problem is that EH switched from storing its settings in a cookie to storing them on the server, and most people will already have Thumbnail view selected on their home PC setup which will make the parser fail, but if you can't even access the settings page then it might be something else.

@steinuil Dude your a god send. It works perfectly right now. Maybe thair will be a patch to fix the problem

Help page is updated. http://www.ehviewer.com/help

@seven332 I was wondering what is the best way to leave sugestions for features for future updates?

@kbn230 Just open issues here. One suggestion on issue.

@seven332 @seven332 I think a slideshow option would be vary nice. And to make a slideshow option even better is a way to control how long the slideshow stays on one image in milliseconds. A good example of this is in the "Perfect Viewer" app on android. This feature would be perfect for viewing imagesets in your app.


MRG: Add doutib plots

Coverage remained the same at 51.702% when pulling ddca08a08203c6873e56710cc763ddcfd947a401 on jarrodmillman:add-doutib-plots into c69b9318c2f929efcc0d1e50eb3c220cca279c5e on berkeley-stat222:master.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/AlGu1/ioBroker.hombot

[ ] [E118] Versions in package.json and in io-package.json are different
[ ] [E150] No common.connectionType found in io-package.json
[ ] [E152] No common.dataSource found in io-package.json
[ ] [E506] More non translated in german or russian words found in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] [E301] Tests on Travis-ci.org are broken. Please fix.
[ ] [E605] No actual year found in copyright. Please add "Copyright (c) 2021 Alexander Gurtzick<EMAIL_ADDRESS>at the end of README.md
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 Alexander Gurtzick<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Do you need help fixing the bugs?


Update iOS SDK to Xcode 14.3 final

To give our customers a chance to use the iOS SDK with Xcode 13.4 beta RC2, it is necessary to rebuild our iOS SDK with the latest 16.4 iOS frameworks.
Also, we'll use this task to move our current production branch in vouched-ios-private from develop to master

Released as 1.6.1


[zh] sync statefulset.md

Sync with en.
content/zh-cn/docs/concepts/workloads/controllers/statefulset.md

Preview: https://deploy-preview-38448--kubernetes-io-main-staging.netlify.app/zh-cn/docs/concepts/workloads/controllers/statefulset/

/lgtm
/approve


Add parameters to the dump of the ros model

Supersedes https://github.com/ipa-hsd/ros_model_parser/pull/1

@ipa-nhg

Closing this as it was solved in https://github.com/ipa-hsd/ros_model_parser/pull/3


Archives GitBook - January 2025

Week 1
Fri 3rd

[ ] Marketing Guild
[ ] Writers Workgrou
[ ] Video Workgroup

Sat 4th

[ ] Gamers Guild

Week 2
Monday 6th

[ ] AI Ethics
[ ] Strategy Guild

Tuesday 7th

[ ] Governance Workgroup
[ ] Ambassador TH

Wednesday 8th

[ ] Archives WG
[ ] Education Guild
[ ] R&D Guild
[ ] LatAm

Thursday 9th

[ ] AI Sandbox
[ ] Onboarding
[ ] Open GovWG

Friday 10th

[ ] Marketing Guild
[ ] Video WG
[ ] Writers Workgroup

Week 3
Monday 13th

[ ] Strategy Guild

Tuesday 14th

[ ] Governance Workgroup
[ ] Ambassador TH

Wednesday 15th

[ ] Education Guild
[ ] R&D Guild
[ ] LatAm

Thursday 16th

[ ] Sandbox
[ ] Open GovWG

Friday 17th

[ ] Marketing Guild
[ ] Writers Workgroup
[ ] Video Workgroup

Sat 18th

[ ] Gamers Guild

Week 4
Monday 20th

[ ] Strategy Guild

Tuesday 21st

[ ] Governance Workgroup
[ ] Ambassador TH

Wednesday 22nd

[ ] Education Guild
[ ] R&D Guild
[ ] LatAm

Thursday 23rd

[ ] Sandbox
[ ] Onboarding
[ ] Open GovWG

Friday 24th

[ ] Marketing Guild
[ ] Writers Workgroup
[ ] Video Workgroup

Week 5
Monday 27th

[ ] Strategy Guild

Tues 28th

[ ] Governance WG
[ ] Ambassador TH

Weds 29th

[ ] Education
[ ] R&D
[ ] LatAm

Thurs 30th

[ ] Sandbox
[ ] Open Gov

Friday 31st

[ ] Marketing Guild
[ ] Writers Workgroup
[ ] Video Workgroup


Ability to pass flags to the node process

Hey TJ. So basically I'm looking to invoke the --expose-gc flag along with my tests. I couldn't see an immediate way to do this with the mocha bin, so it would be sweet to expose the ability to proxy those flags (the harmony ones too, etc.).

See ./node_modules/.bin/mocha-debug for an example of passing params to node

Duh, haha, I'm retarded. I guess it wouldn't be possible to do it the other way around anyways.

i tried to come up with an alternative but i couldn't think of anything reasonable other than mocha(1) just shelling out again

nvm i have a plan i think


Streamline L7 visibility annotations documentation

The documentation for L7 visibility annotations is here:
http://docs.cilium.io/en/stable/policy/visibility/
Its first example is an invalid example, as shown shortly thereafter in the status section.
For high-level introduction of a feature, the examples should always work. If necessary, we can describe how to troubleshoot this using kubectl get cep in the troubleshooting docs instead.
Tasks:

[ ] Fix the base example to always work
[ ] Remove the redundant  example <Ingress/53/UDP/DNS>,<Egress/80/TCP/HTTP>; the kubectl annotate example immediately below shows full examples for DNS and HTTP.
[ ] Remove (or shift to troubleshooting) the example when the annotation is malformatted

Optionally we should consider changing the example over to using the standard demo app we use, eg:
$ kubectl annotate pod tiefighter io.cilium.proxy-visibility="<Egress/53/UDP/DNS>,<Egress/80/TCP/HTTP>"
pod/tiefighter annotated
$ kubectl get ciliumendpoint tiefighter
NAME         ENDPOINT ID   IDENTITY ID   INGRESS ENFORCEMENT   EGRESS ENFORCEMENT   VISIBILITY POLICY   ENDPOINT STATE   IPV4         IPV6
tiefighter   3441          52622         false                 false                OK                  ready            <IP_ADDRESS>
$ kubectl exec tiefighter -- curl -s -XPOST deathstar.default.svc.cluster.local/v1/request-landing
Ship landed


getting failed to verify certificate: x509: certificate signed by unknown authority for oidc authenticator

I am running eksa on vsphere. I dont see any parameter specified in the documentation on how to provide root cert to oidc configuration. I am seeing follwing error on the api server

oidc authenticator: initializing plugin: Get <> tls: failed to verify certificate: x509: certificate signed by unknown authority"

Hi @rajatscripts!
We don't support self-signed certs or certs signed by your own CA.
In order to bypass this, you can could your CA cert to the trusted certs of your OS in the vm template. That way, all programs running in the new created machines will trust this CA, including the API server.
Here are some docs on how to customize ubuntu ovas: https://anywhere.eks.amazonaws.com/docs/getting-started/vsphere/customize/customize-ovas/

/area external

/label external


macOS 12.1: Cannot find libPCBUSB.dylib

After a fresh installation from Github I get the following error stacktrace when running the tests:
Traceback (most recent call last):
  File "/Users/me/git/being/setup.py", line 9, in <module>
    import being
  File "/Users/me/git/being/being/__init__.py", line 10, in <module>
    patch_pcan_on_darwin()
  File "/Users/me/git/being/being/can/pcan_darwin_patch.py", line 32, in patch_pcan_on_darwin
    lib = cdll.LoadLibrary('libPCBUSB.dylib')
  File "/Users/me/.pyenv/versions/3.9.7/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/Users/me/.pyenv/versions/3.9.7/lib/python3.9/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(libPCBUSB.dylib, 0x0006): tried: 'libPCBUSB.dylib' (no such file), '/usr/local/lib/libPCBUSB.dylib' (no such file), '/usr/lib/libPCBUSB.dylib' (no such file), '/Users/me/git/being/libPCBUSB.dylib' (no such file), '/usr/local/lib/libPCBUSB.dylib' (no such file), '/usr/lib/libPCBUSB.dylib' (no such file)

Note that all tests run fine when patch_pcan_on_darwin() is not executed (though I haven't connected any hardware to my computer).

Will get fixed in version 1.0.2. We should only patch if possible and necessary.
Future note: It seems that the underlying issue will be fixed with python-can version >= 4.0.0. So hopefully soon to be removed.


Conditional expressions should only evaluate "else" predicate if "if" predicate is false

Describe the bug
For conditional expressions, we currently evaluate both the true and false expressions, which can lead to correctness issues.
For example, we cannot run this valid query.
❯ select case when x is null then 42 else x * x end  from (select null as x);
ArrowError(ExternalError(Internal("Data type Null not supported for binary operation 'multiply' on primitive arrays")))

To Reproduce
Expected behavior
Additional context

This looks like a coercion issue -- the null should be coerced into the appropriate type (e.g. ScalarValue::Int32(None))

Aka https://github.com/apache/arrow-datafusion/blob/fbff8e27630bef42d3700538af5abb5454cba1c6/datafusion/expr/src/type_coercion/binary.rs#L658 should be able to coerce null to whatever the primitive type is

ok, I'll try and find a better example ..


[Enhancement] update starlet to v1.0.5

update hadoop-3.3.6
fix cache ttl calculation
fix add shard info mismatch
fix hdfsDelete doesn't report NotFound error

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[X] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[X] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


Added --disable-samples.

Note: Dimension anomalies doesn't currently support empty sampling and causes the report to crash.
Pending on the a new bundle by @nimrodne.

What about docs?
@elongl @IDoneShaveIt


Description field of Repo not encoded properly

Something odd going on with the Description field of a repo where on prod, repos like the Vietnamese Bible can't save the Vietnamese to the Description, as the non-Latin characters get changed to question marks:
Vietnamese Contemporary Bible (Kinh Thánh Hiện Đại)
gets changed to
Vietnamese Contemporary Bible (Kinh Thánh Hi?n ??i)
Yet on QA and Develop DCS I can't even save it, as it gives an error:
updateRepository: update: Error 1366: Incorrect string value: '\xE1\xBB\x87n \xC4...' for column 'description' at row 1
On try.gitea.io and gitea.com it works fine to save that string. So I guess we have something set wrong for the encoding in our DBs?

This one has been resolved already


cargo-make: 0.20.0 -> 0.21.0

Motivation for this change
Update cargo-make to the latest release.
https://github.com/sagiegurari/cargo-make/releases/tag/0.21.0
Note: doCheck is set as false.
Some tests fail because they need network access. However, Travis-CI ensures a proper build.
https://travis-ci.org/sagiegurari/cargo-make/jobs/550981829
https://travis-ci.org/sagiegurari/cargo-make/jobs/550981830
https://travis-ci.org/sagiegurari/cargo-make/jobs/550981831
cargo-make is a subcommand for cargo. You need to invoke cargo-make via cargo command.
To test the binary files in ./result/bin, consider the following commands:
[john@nixos:~/result/bin] PATH=.:$PATH cargo make --version
cargo-make 0.21.0
[john@nixos:~/result/bin] makers --version
makers 0.21.0

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks!


Upgrading from v1.2.2 to v1.3.1 resets the input value

Hi Max,
I added 200 ms delay in handle_params so it is visible in the recording below.
The log is the same in both versions:
[debug] HANDLE EVENT "option_click" in LiveUIWeb.Admin.UserLive.Index
  Component: LiveSelect.Component
  Parameters: %{"idx" => "0"}
[debug] Replied in 118µs

[debug] HANDLE EVENT "users-update-filter" in LiveUIWeb.Admin.UserLive.Index
  Parameters: %{"_target" => ["company_id"], "company_id" => "1", "company_id_text_input" => "ACME INC", "filters" => %{"0" => %{"field" => "company_id"}, "1" => %{"field" => "email", "op" => "ilike", "value" => ""}}}
[debug] Replied in 173µs

[debug] HANDLE PARAMS in LiveUIWeb.Admin.UserLive.Index
  Parameters: %{"_target" => ["company_id"], "company_id" => "1", "company_id_text_input" => "ACME INC", "filters" => %{"0" => %{"field" => "company_id"}, "1" => %{"field" => "email", "op" => "ilike", "value" => ""}}}
[debug] QUERY OK source="users" db=0.3ms idle=1814.9ms
SELECT ...
[debug] QUERY OK source="users" db=0.2ms idle=1816.1ms
↳ Flop.meta/3, at: lib/flop.ex:929
[debug] Replied in 2ms

It is triggered when the updated stream is added to the socket:
socket |> stream(:items, items, reset: true)

Looks like the whole component is re-rendered:

https://github.com/maxmarcon/live_select/assets/7764/331491fd-2fbc-4bba-b21b-6b5ff668a933

Hi Damir. Can you please share a minimal example (ideally with a repo) that reproduces the issue? Thanks

I am facing the exact same issue, I have two components on the page and the component is reset suddenly after a few ms. Debugging it right now. Let's see if I can help.

@shamanime thanks, that would be really helpful. If you could create a minimal repo that reproduces the issue, that should be enough for me to dig into it and fix it.

I've updated this repo to simulate the issue: https://github.com/shamanime/async_stream_test
Run it, add a user, go to the show page, click edit, update cars/fruits and click save. This action won't redirect/patch, instead it will just reload the form and then the live_select options disappear.
I've sent you a DM on Elixir's Slack. Ping me there if you need more details or want to pair on it.

thanks a ton @shamanime ! I can replicate the issue using your repo. I will dig into it soon.

Thanks again for putting together the repo.
The problem here is that live select doesn't know how to map the shape of the AsyncStreamTest.Accounts.Item into an option.
You're working around this problem in your update/2 callback in the FormComponent, however, the callback is no longer being called when the form is simply reloaded, and so the selected options disappear. In any case, having to write this logic in the update/2 callback is cumbersome and counterintuitive.
Live select looks at the value of the form's field, and assumes it's in the expected format for an option. I realize now that this is a bit naive and only works for simple fields like integers and strings, but not for fields whose values can be structs, like in your case.
Perhaps a possible solution could be to provide a value_mapper assign. The user could use the assign to pass a function that maps the value in the form to the value expected by live select.
For example, in your case, something like this:
<.live_select value_mapper={fn %Item{name: name, id: id} -> %{label: name, value: id} end} />

What do you think?

it seems to be more complex than I initially thought. The element of an embedding could also be a changeset .
I need to think about it with more calm. Any idea is welcome!

FYI: Ok I think I wrapped my head around this. Will come back with a plan when I find some time. Stay tuned!

Closed with 1.4.0


Env is already set

[Symfony\Component\Console\Exception\LogicException] An option named "env" already exists.

Thank you very much for the PR. I will review it as soon as possible.


the make init doesn't seem to do anything else

Describe This Problem
it just echo branch
Proposal
Initialize the environment or install the necessary tools, e.g. gpk-config, libssl-dev.
Additional Context
No response

I think current usage is a convention, init is a common task(such as setting env vars) which others can depend on.
It should be light weighted, install dependencies is kinds of a heavy task, so it may not suit here.

Whether ceresdb will have commands to install dependencies in the future? e.g. make setup.
I recently used ceresdb in a new environment and would it be much easier to have such a command

We can add new a target to install those dependencies. Example:
dev-setup:
  if macOS
    brew install protobuf
  if Ubuntu
    sudo apt install --yes protobuf-compiler


Task names with forward slashes cannot be enqueued manually in the web UI

Let's say I have two cron tasks one with a forward slash in the name and the other without.

The one with the forward slash returns a 404 when I press the Enqueue Now button and click okay.

The one without the forward slash works as expected without any problems.

This seems like some sort of URL escaping bug at a glance. Not the end of the world though because it can easily be enqueued from the console but it's just something we ran into so I thought I'd mention it.

This seems like some sort of URL escaping bug

100% agree, please feel free to send a patch.
Thanks for your detailed report!

Hi @markets @kevinrobell-st,
I wanted to get your input regarding forward slashes in job names. As mentioned, cron jobs with forward slashes in their names currently return No route matches when the "Enqueue Now" button is pressed, which seems to be a URL escaping issue.
To address this, we could implement a straightforward fix by adding a validation to prevent job names from containing forward slashes. However, if having forward slashes in job names is necessary for your use case, we can plan a fix to support that functionality.
Would love to hear your thoughts on this!

To address this, we could implement a straightforward fix by adding a validation to prevent job names from containing forward slashes

Maybe raising an error is too much 🤔, but a warning (plus documentation) is acceptable? Not sure if many people uses the UI part, so no need to restrict this probably, as this is only an issue if you want to enable/enqueue jobs from the UI.
Ideally, we should use some url-safe enconding, but let's consider the complexity we'll add by implementing this encode/decode pattern. I'm also quite sure that having those kind of chars in job names is exceptional... And the fix is easy, just rename it! Even easier if we document it somewhere and print a warning.

@markets Any final thoughts on this? Implementing a warning along with proper documentation seems like a good approach. Since using forward slashes in job names is an uncommon use case, a warning should be sufficient to guide users without enforcing a hard restriction.
Using URL-safe encoding is a more robust solution, but it might introduce unnecessary complexity with encoding and decoding patterns.

Implementing a warning along with proper documentation seems like a good approach

I agree! I'd go with this.
@kevinrobell-st What do you think?

I'm in favor of the URL-safe encoding option but I'm not sure how big of a lift that is. If you'd prefer to reduce the scope of task names to avoid a larger refactor, I think that it should made to fail instead of just being a warning with documentation. I see no reason to allow the current broken behavior.

@markets Given the differing perspectives on how to handle the job names with special characters, could you share your final thoughts on which option we should proceed with?

Ideally, would be nice to allow URL-safe encoding names, but not sure how many changes we'll need to support that... I'd be -1 if that needs a big refactor.
Initially I thought that a warning + docs would be enough, as this only affects people using operations via the UI. But I'm also ok to raise an error... I have no strong opinion on that point.


Config logging advanced mode will enter the elasticsearch advanced mode

What kind of request is this (question/bug/enhancement/feature request):
Bug
Rancher version: rancher/rancher:master 03/05
Config logging advanced mode. Regardless of the choice of any logging target, it will switch to the elasticsearch advanced mode.
<match *>
  @type elasticsearch

</match>

Version: Master 2.2 (3/5/19)
Confirmed issue. I no longer reproduce, this is working as expected now.
Pick the target you want in the UI (Edit as Form) then switch to Edit as File and it will show the right target per what you picked.
Some examples below:
pick fluentd target then switch to advanced mode (Edit as File):
<match *>
  @type forward

</match>

pick splunk target then switch to advanced mode (Edit as File):
<match *>
  @type splunk_hec

</match>

I tested with all the providers and they all work. They show the correct type for each.


learn: Add support for text-based questions

Add support for text-based questions on top of multiple and single choice, for example:
What does this program output?

`print "hello"`

Write your answer output below:

```

```

For this to work we must now handle the text and multiple-texts question
types in the question frontmatter. We will also store expected answer text in
the answer key.

Demo deployment with answers
Demo deployment without answers

The PR description says something about handling multiple-texts, but I don't see anything in this PR for that. Should the PR description be updated?

The PR description says something about handling multiple-texts, but I don't see anything in this PR for that. Should the PR description be updated?

Fixed.


Identifiers validation failed for dataset General Biodiversity Records from Ireland

Identifier validation failed for the dataset General Biodiversity Records from Ireland:

Crawler attempt: 592
Publishing organization: National Biodiversity Data Centre
Publishing country: IRELAND
Installation: HTTP Installation
Number of occurrences indexed for this dataset at the time of the issue: 82
Cause: GBIF ID problems exceed 50% threshold: 69% duplicates; 14215 total records; 9778 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3618169/step

New IDs sample:

97737392
97737410
97737513
97737516
97739949
97739987
97739940
97739967
97739945
97739933

Old IDs sample:

ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222611
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222612
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222613
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222614
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222615
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222616
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222617
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222618
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222619
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222620

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the General Biodiversity Records from Ireland : https://doi.org/10.15468/w8q1jm.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset General Biodiversity Records from Ireland:

Crawler attempt: 593
Publishing organization: National Biodiversity Data Centre
Publishing country: IRELAND
Installation: HTTP Installation
Number of occurrences indexed for this dataset at the time of the issue: 82
Cause: GBIF ID problems exceed 50% threshold: 69% duplicates; 14216 total records; 9779 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3618181/step

New IDs sample:

97755577
97755595
97755698
97755701
97758134
97758172
97758125
97758152
97758130
97758118

Old IDs sample:

ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222611
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222612
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222613
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222614
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222615
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222616
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222617
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222618
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222619
ie.nbdc.dataset.BiodiversityRecordsFromIreland.98670573613222620

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the General Biodiversity Records from Ireland : https://doi.org/10.15468/w8q1jm.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


how to obtain the dataset

Thank you for your code. May I ask how to obtain the dataset used in this code?

have found it. Sorry for the disturbance.

@minqi-source  where did you find the dataset. Can you share the link with me?


Change directory separator (config flag)

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[ ] Mac OS X
[x] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish

Is there configuration for changing the directory separator in the fzf binary in Windows? I use cmder which uses /  forward slashes but fzf uses backward slashes and it creates an issue when opening files from vim.

Please read through the README page which should answer your question.

I read through the man page but could not find a solution. We are using Linux via WSL and Windows path interchangeably. When I am looking for a file, the path sometimes has forward slashes in them and at other times they are backslashed while pointing to the same file. Windows is forgiving so you can specify both, but is there an option to treat both / and \ as a valid path separator in fzf?

For others who find this issue and prefer forward slashes on Windows (Cygwin, WSL, etc.), there is no longer an answer in the README. However, per documentation for fastwalk, specifically DefaultToSlash(), forward slashes can be "forced" on Windows by setting the MSYSTEM environment variable to an arbitrary string.


[Enhancement]: Update naming scheme of tiered items

Minecraft Version
1.19
Fabric Version
latest
Mod Version
latest
Details
Update the upgrade naming scheme for tiered items
Basic/Structure Name --> Improved --> Advanced
This will be a breaking change as we will be updating item names in-game.
Examples:
Aqua Base --> Improved Aqua base
Warehouse --> Improved Warehouse
Basic House --> Improved House --> Advanced House
Basic Farm --> Improved Farm --> Advanced Farm
Basic Modern --> Improved Modern --> Advanced Modern

Done


Multiple ToonCrafter repos (Issue in other repo)

Hello,
I've touched base with Kijai, the author of the dynamiccrafter repo), and I would like to have some communication set up between the repos so we can decide how to proceed. You can view the issue here. Kosinkadink, the author of the animatediff evolved repo, also has plans on developing ToonCrafter (probably in his own repo) as well so I will be letting him know about the open issue as well. Let's figure this out together!

YEES~https://github.com/kijai/ComfyUI-DynamiCrafterWrapper/issues/46


AMBARI-25962: Host apps metadata is not synced to other collectors when multiple collectors are installed

What changes were proposed in this pull request?
Compare not only host but also list of apps associated with the host
How was this patch tested?
Written UT to reproduce and fix issue
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

+1


Able to add mention by tap Return key

Hi @szweier
I'm add new protocol for user who need return key action for add mention
*need to init SZMentionsListener with addMentionOnReturnKey: true
*should implement shouldAddMentionOnReturnKey() from SZMentionsManagerProtocol to make it work.
*declaring SZMentionsManagerProtocol as an Objective-C protocol  for optional function purpose.

This looks good, I had just made a couple changes that resulted in a conflict with the PR though.

@szweier I'm working on it.

@szweier okay fixed.


Maintainer needed

I don't have enough free time to maintain this project so I'm asking your help. You will be the main maintainer and I'll help you when you ever need some help. If you got interested, please comment bellow or contact me (@jukkah) on Sequelize's Slack.

Hi @jukkah , I am interested

@chakrihacker Great. You don't have any previous experience with Umzug so please send a PR with any kind of improvement first so that I can review you with other Sequelize members.

Give me 2 to 3 days, I will make it

I offer my help as well. I'm using umzug in some projects and would like to keep it alive.

Cool

@PascalPflaum I've made you an admin. Feel free to take control of this project. In addition, please join to slack (if you are not there already) so that I can add you to maintainers group.

@jukkah
The Workspace is invite only.

Don't have an account on this workspace yet?
Contact the workspace administrator for an invitation

Ah, try this http://sequelize-slack.herokuapp.com/

Thanks I joined and pinged you at slack.

Update README.md to remove the [kinda scary] "maintainers needed" callout?


I want to create release plan with WI attach with PR only

Hi ,
I am using Generate Release Notes (Crossplatform). I am using in release pipeline. I have created with one release plan where I have around 27 build artifacts added I have created one stage with tasks.

Generate Release Notes
Wiki Updater.

The current process of release pipeline process  is whenever I merge my dev branch in release branch the Release Notes pipeline get triggered and display list WI. sometimes it display the huge work items list which is not attached in PR.
I am using this inline template in my Generate Release notes extension
template :
{{#forEach workItems}} {{#if isFirst}}{{/if}}
{{#if (or (contains (lookup this.fields 'System.WorkItemType') 'User Story') (contains (lookup this.fields 'System.WorkItemType') 'Defect'))}}

[ ]  #{{this.id}}  $(Release.TriggeringArtifact.Alias)
{{/if}}{{/forEach}}

Problem :  I have created one feature branch from release branch, I did some changes and raised the PR with 2  WI.
when I complete PR My Release Notes pipeline get triggered and uploaded release notes to wiki but 20+ WI which I haven't attach to my PR. I am not able to understand why it's happening .
Solution which I am looking  : I want exact WI list which is there in my Pull Request.
suppose in my PR I have around 5 items, it should display only 5 items.
Please let me know if you need more clarification on this.
Thanks.

On option is to focus you release notes in the pull requests, not sue if that helps
{{#forEach pullRequests}}
{{#if isFirst}}### Associated Pull Requests (only shown if  PR) {{/if}}
*  **PR {{this.id}}**  {{this.title}}
{{/forEach}}

After that I would need to see a detailed log of what is gong on. If you set an environment variable system.debug=true the log will contain detailed steps of where it finds all the work item i.e which artifact the are released to.


Please, Please let us set without having to call other parameters!

For example:
var obj = {'abcdef' : 1, 'qqq' : 13, '19' : [1, 2, 3, 4]};
memcache.set("obj", obj, 123213, function(err) { });

ONLY works if we have the timeremaining and the function parameters... I don't want a function parameter because It's stateless. I want to set the data and if has an error, it should handle it internally, I don't want to write the callback every freaking time. :( :(
Is there a way to fix this? :)
ALso, I already set  maxExpiration: 2592000 as well

+1. It looks like the .set function will fail silently if you do not include a callback function. It took me a long time debugging to figure out what was going on here.

My pull request fixes this and his been waiting for a while.
https://github.com/3rd-Eden/memcached/pull/249
It's one line of code that needs to be changed if you want to update your local version.

Need it too. I searched during 1 hour (and lost it) why the hell my keys were not added to store. Just because i did'nt provide the expiration time and the callback (which are useless in my use case


electron is incorrectly marked as not installed

When using the electron framework you use require('electron') even though you don't have a module called "electron" installed.  This should be a hard coded exception in the logic of npm-check.
Possibly consider electron installed if electron-prebuilt is installed.

Ditto that. We basically need an alias from electron-prebuilt to electron.

Actually, I don't think that it's that easy. electron is really another runtime (as node is) which has its own built in modules. The list of built in modules for electron happens to include electron.
The electron-prebuilt package has a bin field that looks like { "electron": "..." } which is what we should be looking at. It means that it will expose a binary under the name "electron". Ideally npm-check should see this binary being used in e.g. the "start" script of the application being checked, and thus consider it as used.
Pull requests welcome!


Remove fallback static font.

It is sufficient to use UITextField's default font instead of static fallback font.
Due to intialized font([UIFont boldSystemFontOfSize:12.0f]) & derived font at updateDefaultFloatingLabelFont difference make placeholder text shrink.
(In my case, setAttributedText: method call updateDefaultFloatingLabelFont when firstResponder changes)
According to Apple Doc, UITextField always have default font.

The default font is a 12-point Helvetica plain font.

So, it doesn’t have to have fallback font : [UIFont boldSystemFontOfSize:12.0f].
Reference : Issue #98

Thanks for the fix


J1 and J2 MobilEye Connector Numbers

Moved the numbers so that they are in the correct order. Makes for better debugging and less mistakes

You have other things on this PR than fixes to the schematics. Can you either close or fix?

The pull request was only for the J1 and J2. I am not sure why the others got added. I don't even know how to just add one commit as a pull request.


Unable to #delete_all with IMAP

I am unable to use #delete_all. I've attempted this with v2.60 - 2.6.3
I continue to get a Net::IMAP::BadResponseError: No mailbox selected. when I see that the default is 'INBOX'. Error is coming from here
The following works, but I'd rather understand what's going on with the #delete_all rather than work around it.
while (messages = mailbox.find_and_delete).size > 0
   # do some things
end

Looks like this has been broken since a3a46fe9e624a4d435c260364e3a6aef0cb6c0a8 which removed the mailbox selection.


feat(UI): add quotes when tests pass

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Ref #46178

Accidentally ran git push -f on previous branch for PR #46429 - Added the e2e test as suggested here.

Fixed typo in file name for quote.tsx
Ran pnpm run cypress run --spec=cypress/e2e/default/learn/challenges/lower-jaw.ts:

Let me know if there are any more test cases you think should be handled and I could add them.

I went ahead and gave it an id so it is not confused with the hint description.

Do we want to provide any context to the quote?

This is one of those questions where you really need to do some user testing to get a good answer. Otherwise, you try your best and rely on feedback. Personally, I think the way we have it now is OK, but I'm not a native screen reader user, so I may be wrong.
We use the check mark icon as a visual signal that the step passed. But we also have text that says "Congratulations, your code passes", which is a text alternative to the icon, so the icon basically becomes irrelevant. In other words, the check mark icon is not needed in order to understand that the step was passed.
We do have a quote icon next to the quote. I guess the question is, is that quote icon necessary to understand the context of the text quote? If not, then we probably don't need a text alternative for it. If so, then we probably do. Personally, I always thought it was just there to match up with the check mark icon and considered it decorative. I'd be interested to hear what message other people think the icon is conveying. Or maybe even with the quote icon it is still not clear to sighted users what the quote represents? This could perhaps be more than just a screen reader only issue.
Long story short, I think we are OK with what we have now, but I'm leaving room open for different opinions or future feedback from screen reader users. Such is the way with accessibility. Sometimes there is no one right answer.


protect VLOG by use_logging

Fixes #704

Coverage decreased (-0.03%) to 76.432% when pulling 65199ed0b82d0cdee4aab529a9588e3507f46a92 on protect-vlog into b79e18b78b7ffad059a58e5e1448373cfa94d206 on master.


MARP-1703 end2 end testing tryout with adding a new test to call to real endpoint

Hi @ivy-rew
I have just prepared some new test cases for API testing using the approach we discussed in the previous meeting.
Should we remove old test cases (with mock server) that just check the response status and the instance of results?


Add support for Info object on resource listing

See https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#513-info-object
Maybe we could simply add a property to SwaggerConfig on which you can set these values?

So this was added.
I added it as a static function call to SwaggerMetadataProvider quickly, but if anyone wants to use a better design, they're welcome to refactor it.


Fixes HCCO reconcile error for kubevirt csi driver

ClusterRoles and ClusterRoleBindings are cluster scoped, and do not need namespaces.  Trying to set the namespace during reconciliation results in errors like the one below.

ClusterRoles and ClusterRoleBindings are cluster scoped, and do not need namespaces. Trying to set the namespace during reconciliation results in errors like the one below.

Thanks. This makes total sense.
btw, if you intended to put an error message in the PR description, it seems to be empty.

/test kubevirt-e2e-kubevirt-aws-ovn

/hold
investigating kubevirt ci failure

/test kubevirt-e2e-kubevirt-aws-ovn
i don't really understand the error. But apparently something errored out while gathering pre teardown data. I'll restart the job.
error: errors occurred while gathering data:\n    [skipping gathering secrets/support due to error: secrets \"support\" not found, skipping gathering sharedconfigmaps.sharedresource.openshift.io due to error: the server doesn't have a resource type \"sharedconfigmaps\", skipping gathering sharedsecrets.sharedresource.openshift.io due to error: the server doesn't have a resource type \"sharedsecrets\"]\n"}

/test kubevirt-e2e-kubevirt-aws-ovn

/test kubevirt-e2e-kubevirt-aws-ovn

/test kubevirt-e2e-kubevirt-aws-ovn

/test kubevirt-e2e-kubevirt-aws-ovn

/test kubevirt-e2e-kubevirt-aws-ovn

/test kubevirt-e2e-kubevirt-aws-ovn

/test kubevirt-e2e-kubevirt-aws-ovn

/retest-required
/test  e2e-kubevirt-aws-ovn

/hold cancel


SC5P-PE and SC5P-R2

Thanks for the great tool. I have 10 SC5P libraries where 4 were sequenced with SC5P-PE and 6 were sequenced with SC5P-R2. If I run the standard workflow on the SC5P-PE libraries and pool the results to identify the location of tCRE can I then use those locations to count and analyze the SC5P-R2 samples (even though they do not contain the TSO-DNA junction)? Similarly, could you use the tCRE locations from SC5P-PE samples to analyze a SC3P sample (even though it may have less sensitivity)?

Theoretically possible, but to count SC5' R2, you'll have to define customs ranges instead of using tCREs ranges. Typically the SC5' R2 should be couple of hundreds bp downstream of SC5' R1. For SC3' reads, the distance to TSS could be quite variable. This is similar to some colleagues using FANTOM CAGE defined eRNA loci to count RNASeq signal, for example in this paper (https://www.nature.com/articles/s41467-019-12543-5) they used +/-3kb to count RNASeq read.
To do that you would have to supply a custom bed file to the count script in SCAFE.


Command to list all open issues

It would be nice if git-work can list the opened issues, something like $  git work issues and the opened issues appear. I'll handle it.

All right, that's a good idea... but it could be more complex or take more time.
Do you agree that we need to have #10 as soon as possible to move faster?

Maybe we can start opening just one issue, using the branch name.
Some options for the new command:

git work issue 123 -v and/or git work issue 123 --view
git work view 123 (it needs to check if branch name is a valid number)

@mdbs99 WDYT something like:
git work view issues to view all issues
git work view issue 123 to view issue 123
git work view prs to view all pull requests
git work view pr 123 to view pull request 123

@fabriciofx perfect.


Weird handling of dots in translation tokens.

Whenever a translation string contains a dot something like this gets generated.
{{ 'inc. IP' | translate }} becomes:
"Inc": {
" IP": "Geinc. up"
},
It's weird, but not a huge issue because it does actually work. "Inc. IP" does get replaced by "Geinc. up".
When the original ends with a dot it gets even weirder.
{{ 'Mr.' | translate }} becomes:
"Mr": {
"0": "Dhr."
},
And now it doesn't work any more "Mr." does not get translated to "Dhr.".

You should consider the tag as a variable, so it's right!

ngx-translate however does not put such restrictions on variables, it would be perfectly happy with:
{
"Inc. IP": "Geinc. up",
"Mr.": "Dhr."
}

Sounds like you're using --format namespaced-json which treats . as a namespace and will nest strings.
Try using --format json instead.


KITTI visualization bug

python.exe C:/Users/Guo/PycharmProjects/mmdetection3d/tools/misc/browse_dataset.py configs/base/datasets/kitti-mono3d.py --task mono-det --aug --output-dir ./kitti_vis --online
image of 65/3712

It seems some boxes outside of the image are not filtered and the projection is from boxes behind the image plane. Do you locate the bug successfully? If not, we will reproduce and fix it ASAP.

It seems some boxes outside of the image are not filtered and the projection is from boxes behind the image plane. Do you locate the bug successfully? If not, we will reproduce and fix it ASAP.

I have not located that, but during locating I found another bug that the 2D bbox is not tightly attached to 3D bbox, the problem is in image_vis.py line 199, it use P2 to project with translation but the 3D bbox coordination has been translated to camera 2 coordinate system, so I simply add  cam2img[:, -1] = 0 in line 200.

Thanks for your report. Actually, we find another tricky bug that may cause some boxes not to be correctly filtered here. We should input a custom argument for image size on KITTI for this function. We will fix it afterward, but it may need other regression validation. If convenient, you can also try to fix it and have a look at this issue again.

It seems some boxes outside of the image are not filtered and the projection is from boxes behind the image plane. Do you locate the bug successfully? If not, we will reproduce and fix it ASAP.

I have not located that, but during locating I found another bug that the 2D bbox is not tightly attached to 3D bbox, the problem is in image_vis.py line 199, it use P2 to project with translation but the 3D bbox coordination has been translated to camera 2 coordinate system, so I simply add cam2img[:, -1] = 0 in line 200.

Maybe the box3d is better to be unified into the camera0 system and the projection would be more smooth. This is really a subtle problem lying in the definition of coordinate systems on KITTI. We will also consider adjusting it afterward.

@ZCMax Please have a look at this issue. We may make a plan to adjust related codes and make a regression for validation.


Sealed classes is pain to extend

How am I supposed to extend your classes if you make them all sealed?
I would like to parse a proprietary protocol based on ethernet. Deriving from EthernetDatagram does not work because EthernetDatagram is sealed. Deriving from EthernetBaseDiagram does not work because constructor is internal.
What approach do you recommend? What is the point in making these class sealed? What harm is done if someone derives from your classes?

I tried to derive from DataSegment, but doesn't work either because I cannot really access the buffer. I can call ReadMacAddress but not ReadUShort for example. Lot of useful functions are internal.

Use the Pcap.Net Q&A Group to ask questions.
Only Pcap.Net's API is public.
You're welcome to fork and make changes.
You're also welcome to contribute changes, including making things more public.
Changes would be accepted if they make sense with the general ideas behind Pcap.Net.


LN payment sent twice for same invoice, only shows once in tx list

I was trying to pay an LN invoice for 10k sats issued from a Breez wallet.
When I paid, BLW said transaction failed, and offered to 'retry'.
But in Breez, after that first try, the 10k sats showed up, and i was even able to spend some of them.
I restarted BLW, transaction still showed as failed. so I clicked 'retry'.
It then said 'successful', seemed like it updated my balance (i'm not sure actually, since I didn't note exactly the number of sats i had before this whole thing happened). And another 10k sats showed up in my Breez wallet.
But in BLW, the transaction list only shows the one 10ksat transaction.
I'll be glad to provide debug info or whatever other info needed, just lmk.

Sorry for late response, did not notice this earlier.
What happened here is some node along a payment route failed to deliver preimage back to BLW but instead failed a first payment which is actually good for you the payer since you've gained 10k sat in Breez but did not lose them in BLW.
Faulty relay node along a payment route is a bearer of costs here. This does look a lot like this issue: https://github.com/lightningnetwork/lnd/issues/2865.

Ah, thank you for following up. Based on that LND issue, they say it's fixed as of 11days ago, so... hopefully that fixes it. If i notice something like this again I'll post.
And thank you for making BLW, my favorite mobile wallet!


Won't Open

Platform
Windows
Geode Version
1.1.0
Mods Installed
N.A.
Steps to Reproduce
open gd
Crash Report
geode/crashlogs/ does not exist
Geode 19 Aug 22.51.15.log
Additional Information
Works fine on 1.0.3 but after i updated it wont open

it seems  you have a few mods installed, does it work without them?

it seems you have a few mods installed, does it work without them?

sorry, when the crash happens on a fresh install of gd it doesn't create log. it dose the same thing either way with and without mods.

Can you recreate the same issue in 1.3.0?

closing due to inactivity. reopen if the issue is not solved


Map UID

XCreds should be provide a way to map an OIDC or AD attribute for UID when creating the user account.

Hi,
in response to the question in slack:
The login should fail if the UID is already used.
The claim name should be configurable.
Thank you

look like a duplicate of https://github.com/twocanoes/xcreds/issues/74.
And yes, we are still interested in the function.


InternalName property on field attribute is null during view creation

InternalName property of FieldAttributeBase is empty if not assigned explicitly. Affects view creation and repository.

Does not apply to refactored code.


Backup / Restore API Status

Hi Utelle,
Are the information displayed in the old readme for the backup / restore api (https://github.com/utelle/wxsqlite3/tree/0b3cad24b38406927568b9997302f6fe5642cc9e/sqlite3secure#backupapi) still applicable to this "new and reworked" version of the library ? Are there any major changes ?

In principle, the information about the backup / restore API given in the old readme is still correct. The backup / restore API of SQLite has the restriction that the number of reserved bytes can not be changed. Therefore it is strongly recommended to use the same cipher for both, source and target.
The new implementation should work in the same way as the previous implementation, since the encryption methods have not changed. However, I have to admit that I haven't tested yet the backup / restore API with different ciphers for source and target using the new implementation. And as said, it should be strongly discouraged to use the backup / restore API with different ciphers for source and target.
If one really needs to convert from one cipher to another, one should use the new form of the VACUUM SQL command with the INTO clause. For the target database any cipher scheme can be used. However, this approach is slower than the backup / restore API.

Thanks for the information :)


WIP: Add specializ(ed/able) RWs

This PR is not to be merged, it tracks each of the components as I test and merge them separately:

[x] boolean semantics on a unsigned byte
[x] statically typed list (with fixed width optimization)
[ ] statically typed map (with kay/val fixed width optimizations)

[x] as Object
[x] as Entries
[ ] as Map

[ ] statically typed struct
[ ] statically typed union

cc @kriskowal @leizha

The idea is that this layer can replace the entire uglify/reify A* layer of thriftify, leaving it to care only about parsing and scope concerns.

I'll be breaking this out into separate PRs, keeping this branch around for integration testing, and this PR open until all of its components are merged.

Hey, @jcorbin, I made some progress on this, working from the Thrift IDL parser down, where this is working from the bottom up. In #15, I met you in the middle. In that WIP, there’s some overlap here, but it’s toward the same result. I’m getting @malandrew boot-strapped on this project by consolidating and decomposing this WIP and the #15 WIP.
To begin, I shaved off #16 (base type RWs and Specs) and @malandrew is getting that branch up to our coverage standard now. In the end, we’ll have a Spec constructor that is interface-compatible and feature-parity+ with Thriftify. Again, mapped this out on #15. I’m picking up MapSpec and statically typed StructSpec. That leaves Union stranded here.

@kriskowal hello, could you describe your current plans on that PR? We want to start using the library and make some enchantments to support import, but we don't understand, which library/branch we should use.

Pretty sure it's all done now on master, @kriskowal can correct if anything is still outstanding.


Board::us() not properly displaying the perspective of the board.

I imagine Board::us() is supposed to return the bitboard from the perspective of the player that currently has to play a move. This is not what is happening, it seems that no matter who's turn it is, Board::us() will always make black appear on the bottom and white on top(both on the stringified version of Board::us() and the actual bitboard data itself, I checked manually). Same thing applies to Board::them(), the person's turn has no effect on the direction of the bitboard returned.

Running the unit tests I get this representation.
For a bitboard which has the Square A1 set.
Bitboard::fromSquare(Square::underlying::SQ_A1);
../tests/bitboard.cpp:297: SUCCESS: CHECK( static_cast<std::string>(str1) == str1 ) is correct!
  values: CHECK( 00000000
00000000
00000000
00000000
00000000
00000000
00000000
10000000
 == 0x560cc950f420 )

and this for Square A2
Bitboard::fromSquare(Square::underlying::SQ_A2);
../tests/bitboard.cpp:301: SUCCESS: CHECK( static_cast<std::string>(str2) == str2 ) is correct!
  values: CHECK( 00000000
00000000
00000000
00000000
00000000
00000000
00000000
01000000
 == 0x560cc950f498 )

So I don't see anything wrong atm.

Oh you are talking about the direction? The direction obviously doesn’t change.
Each bit of the bitboard is representing a square on the chess board.
which matches these squares.

White should be on the bottom. Not sure how if my stringification is currently displaying it on the bottom as well. Gotta check that later, but one side will always be on the bottom and the other on the top. The players turn shouldn’t have an effect on that

Interesting okay. Then what is the point of having board.them and board.us?

To get the underlying bitboards to do operations on them?
You can get your bitboard (us) and their (them) bitboard. Since ~usisn't equivalent tothem`. They are not just for visualization but are at the low level the basis of how moves and the board is represented in an efficient way. https://www.chessprogramming.org/Bitboards

Yes but there is a color parameter that you pass to both us and them. If the direction of the board doesn't change when calling us or them(aka white is always on the bottom), then what's the point of having two separate functions?

Ah, mh good point.. I think some time ago it didn't take a color parameter, so yeah, might also be more self explanatory if you write board.them(c); instead of board.us(~c); perhaps?

I see okay, personally I suggest having just one function Bitboard getBitboard(Color color) const; function to avoid confusion? maybe that's a good change idk


Libnet init for PCAP logging fails on active OpenVPN tun0

When initializing libnet for PCAP logging while OpenVPN has tun0 open, sslsplit fails with:
Failed to init pcap libnet: unknown physical layer type 0xfffe
/usr/local/bin/sslsplit: failed to preinit logging.

When shutting down OpenVPN, or when not using PCAP logging, the issue disappears. The following patch against libnet also fixes the issue:
--- libnet-1.1.6+dfsg.orig/src/libnet_link_linux.c
+++ libnet-1.1.6+dfsg/src/libnet_link_linux.c
@@ -68,6 +68,10 @@
 #include "../include/os-proto.h"
 #endif

+#ifndef ARPHRD_NONE
+#define ARPHRD_NONE 0xFFFE
+#endif

 int
 libnet_open_link(libnet_t *l)
@@ -125,6 +129,7 @@ libnet_open_link(libnet_t *l)
         case ARPHRD_SLIP6:
         case ARPHRD_CSLIP6:
         case ARPHRD_PPP:
+        case ARPHRD_NONE:
             l->link_type = DLT_RAW;
             break;
         case ARPHRD_FDDI:

We should get the above patch into upstream libnet and/or as port/package patch into as many relevant distributions as possible. Additionally, we will want to consider the following two options:

Tell libnet to use a specific interface when calling libnet_init() for PCAP logging; this needs to be an interface type that leads to good PCAPs and no portability issues. Doable, but requires some portability effort and likely will need root privileges. Untested if it reliably resolves the issue. Tell libnet not to open any interface.
Get rid of libnet in PCAP logging mode: In PCAP mode, we only use libnet to construct the TCP/IP/Ether headers and calculate the checksums. We could construct the headers manually, like we construct the PCAP headers, reducing the use of libnet to only mirroring mode. This would be an inherently portable approach. It also has the potential to be a little faster, avoiding some memory allocations and state juggling of the libnet packet construction code.

This is a follow-up bug of #215.

I cannot reproduce this issue on OpenBSD 6.3 or Linux Mint 19.
My OpenVPN setup uses tun0 for server and tun1 for client: e.g. Tue Oct  9 22:07:17 2018 TUN/TAP device tun0 opened. But I've used a simple configuration to start client and server on the same machine and interface, just to reproduce the issue, so the client and server successfully connect, but nobody uses them. I have used the same setup for both OpenBSD and Linux, using the client and server conf files on UTMFW.
I had both http and https proxy spec on sslsplit with both pcap and mirror logging on, mirror logging on both the same interface as and a different interface from openvpn. Btw,  both sslsplit and openvpn were running as root on Linux, as I didn't have special users for them. I started sslsplit after openvpn.
Is it some configuration causing this issue? Do you think I need a more realistic openvpn configuration?

I believe I found a simple way to avoid the issue in libnet: We can use LIBNET_NONE instead of LIBNET_LINK for the PCAP log libnet instance. This causes libnet to not open any interface; based on my reading of the libnet source code, this should avoid the issue entirely. Quick tests indicate that PCAP writing is still fully functional with LIBNET_NONE, we generate type 1 (LINKTYPE_ETHERNET) PCAP records.
@sonertari Can you test drive the above linked commit?
@jgelens Can you confirm this fixes the issue for you with an unpatched libnet?

@droe sure will try tomorrow! (11 Oct. CEST)

@droe I remember trying LIBNET_NONE on OpenBSD, but I had given up because libnet on OpenBSD does not define it. And if I define it myself with the same value as in Linux, sslsplit gives:
Failed to init pcap libnet: libnet_init(): unsupported injection type

./sslsplit: failed to preinit logging.

Btw, libnet appends a new line at the end of error messages already as above (libpcap doesn't), that is why I wasn't appending new lines to libnet log_err_printf() calls :).
Please note again that I couldn't reproduce the issue earlier.

I believe OpenSSL has a very different version of libnet than Debian/Ubuntu. For instance, I cannot see any newlines in the error messages produced by https://github.com/sam-github/libnet/blob/master/libnet/src/libnet_init.c . We can #ifdef __OpenBSD__, or better, #ifdef based on libnet version, or existence of LIBNET_NONE. The latter is probably the best approach for now.

Ah, found the commit. The newlines were removed in November 2012: https://github.com/sam-github/libnet/commit/1f39883bc656605ecde816fc1f5238ff86b83e53
The problem with libnet is that there are different forks with slight differences such as these.

Thanks for confirming; I’ll take care of finalizing this portably on our side as soon as I am back on decent Internet tonight.

So, are we going to #define LIBNET_NONE LIBNET_LINK on OpenBSD? Otherwise, it is an unsupported injection type.

I was thinking of this:
#ifdef LIBNET_NONE
libnet_init(LIBNET_NONE, NULL, errbuf);
#else
libnet_init(LIBNET_LINK, NULL, errbuf);
#endif

On OpenBSD effectively the same as mapping LIBNET_NONE to LIBNET_LINK, but more explicit and less misleading.

Hm, ok. And thanks for searching the newline issue. No need to worry about it, as the libnet version on OpenBSD is <IP_ADDRESS> from 2005.

Merged to develop. I will open a follow-up issue to perhaps get rid of libnet for PCAP logging, removing the drawbacks of LIBNET_LINK where LIBNET_NONE is not available.


Something to add to this page

Regarding 'The debugger cannot connect to the remote computer'
I was attempting to attach the VS debugger to my Web API site hosted on my local IIS and was still getting this error even with a matching url.  After reading about the part about Visual Studio being 32-bit, I changed the App Pool option for 'Enable 32-bit applications' from false to true, restarted IIS, and now the VS debugger works against the local IIS.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 12b3da70-ab86-495d-abfe-384f369660fe
Version Independent ID: 2456d73a-68bd-cc6b-bff0-e7666e53f404
Content: Error: Unable to Start Debugging on the Web Server - Visual Studio
Content Source: docs/debugger/error-unable-to-start-debugging-on-the-web-server.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@dtdono0 That's good info! I will plan to update the doc.