Date range update

Closes #2315

Seems like maybe here is a UX bug.
Can select the same date for both start and end. Intuitively, I think this should be changed. End date should be at least one day after start date.
The Cliff date, in that case, is unselectable (every date is disabled in the calendar). This makes sense, because the Cliff must be between start and end, exclusive.
But, the Save button is disabled.

@adamgall Nice catch.
On "End date should be at least one day after start date", it should probably be at least two days after start date, so there's an "in-between" date that will be valid for the cliff lol

From a technical point of view sure I understand what you're saying. That would allow us to always be able to set a Cliff, assuming we have this requirement for cliff to exist between start and end exclusively.
From a product point of view, is that what we want? Maybe the cliff date is only available as long as there is at least one day in between start and end.
From a product point of view, I think we all would agree that a stream starting and ending on the same date doesn't make any sense. But a one day stream (with no cliff) does "make sense" imo.

From a product point of view, is that what we want? Maybe the cliff date is only available as long as there is at least one day in between start and end.

Hmm lemme put some thought into this

I'm gonna disagree with your latest commit @DarksightKellar. I would prefer that we don't require a "buffer" day between Start and End, and the Cliff day is simply unselectable if those Start and End days are sequential. The validation should still pass in this scenario though.

I'm gonna disagree with your latest commit @DarksightKellar. I would prefer that we don't require a "buffer" day between Start and End, and the Cliff day is simply unselectable if those Start and End days are sequential. The validation should still pass in this scenario though.

@adamgall checkout the latest latest commit
Only concern is the cliff date reset logic. While I like it, it's not super obvious this has happened to the user, and the save button remains enabled, and there's the risk they click save thinking they've got a cliff date (which would have been invalid) set, but they actually don't because it was reset.

@DarksightKellar good point. Let's ask @nicolaus-sherrill and @xanaramoss to chime in

@DarksightKellar good point. Let's ask @nicolaus-sherrill and @xanaramoss to chime in

The disable button alone it's not enough, but accompanied by an alert banner may do the trick.
Something like "To select a cliff, the start and end dates must be at least 2 days apart./ Cliff selection requires at least 2 days between the start and end dates."
From a product stand a one-day stream (start on day 1, end on day 2, with no cliff) should be valid and not require a buffer.
What if the cliff date only appears after the user selects a valid start/end date? Like that, the cliff option is only available when there's enough time.

The disable button alone it's not enough, but accompanied by an alert banner may do the trick. Something like "To select a cliff, the start and end dates must be at least 2 days apart./ Cliff selection requires at least 2 days between the start and end dates."
From a product stand a one-day stream (start on day 1, end on day 2, with no cliff) should be valid and not require a buffer. What if the cliff date only appears after the user selects a valid start/end date? Like that, the cliff option is only available when there's enough time.

Oh I like that last suggestion, showing the cliff picker only if it makes sense to, based on selected start and end dates. Lemme dive down that route
cc  @adamgall @xanaramoss

I dig it

Scenario:
User has selected start and end with > 1 day buffer, then selects a Cliff date.
Then, changes the End date to be Start+1, which hides the Cliff picker.
What happens to the cliff value in the form at that point? Is it nullified (as it should be?) Or does that Cliff date stick around in memory somewhere and end up borking the prop?

It's "nullified" via:
if (cliffDate && ((startDate && startDate >= cliffDate) || (endDate && endDate <= cliffDate))) {
      setFieldValue(`roleEditing.payments[${formIndex}].cliffDate`, undefined);
    }

in onDateChange


L515 Camera is not compatible with raspbian

Required Info

Camera Model
L515

Operating System & Version
RaspberryPi 4B Raspbian (no ubuntu)

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
Raspberry Pi

SDK Version
librealsense -2.35.2     master

Language
c++

Issue Description
=====First, I use camera L515 in RaspberryPi 4B Raspbian:
I run "rs-pointcloud.cpp" of examples, the process stops to "rs2::points points = pc.calculate(depth);"  and waits for a long time (about 2 minutes), and outputs "terminate called after throwing an instance of 'std::runtime_error' what():  Error occured during execution of the processing block! See the log for more info ".
Similarly，the "rs-hello-realsense.cpp" of examples,the process stops to "float dist_to_center = depth.get_distance(width / 2, height / 2);"  and waits for a long time (about 2 minutes. it seems to be blocked there...) ,and outputs "The camera is facing an object 0 meters away" in the loop.
I doubles the "depth" is broken...
====Sencond, I try using camera D345 to run the same program inRaspberryPi 4B Raspbian, it works very well.
=== Third , there's no problem with the camera L515 , because I had tested the same program in windows 10, it works very well.
=== Fourth, I also had tested the same program in Ubuntu 18.04 with the camera L515, it works very well.
====The reason what I can think is that L515 camera is not compatible with raspbian.
=== ===

I want to know why does this happen in RaspberryPi Camera L515.
how can I to solve it?
Thanks for your reply.

Hi @DreamLFairy
I ran some tests to reproduce the issue with Raspberry Pi, but both pointcloud and hello-realsense were functioning properly.
I'm on Raspbian release from February, but it should equally apply to the rebranded Raspberry Pi OS. I tried using USB-C power as well as Power-over-Ethernet. Also tested with recommended firmware (1.4.1) and an earlier one.
If camera was connected to USB2, applications would report "No device connected". If udev rules were not up to date, you would get error about ACCESS. So I'm not sure what is going on. hello-realsense may report 0 if there's a lot of ambient light, but I have no explanation for pointcloud behaviour.
Is this a newly shipped L515 or a pre-production device?

Hi @DreamLFairy
Were you able to have a look at the items proposed by dorodnic?

I've just solved the problem. I used a 32-bit Raspbian system before. Now I've switched to a 64 bit Raspbian system, it works very well.

Glad it's working. We'll go ahead and close this issue but should you have further issues feel free to re-open or create a new one.
Thanks


Swap closure state in the type-checker to var to avoid TDZ checks.

Follow-up from #52832.

@typescript-bot perf test this faster

It's sort of interesting that it's always 0.10ish seconds saved; is there a fixed window where this is problematic?

Ugh, probably conflating changes.
@typescript-bot perf test this

The parser scanner change was a huge win for the few variables it modified, but this one is 10x less of a win for like 4x the variables changed (a few hundred); do we think it's worth it?

Well, I guess xstate is consistently like 3%.

do we think it's worth it?

Definitely! I think it's very scoped, and the conceptual cleanliness buys us relatively little - so it's a free win to me. I could never argue with a developer using TypeScript that a 1-3% reduction in type-checking time wasn't worth it because we didn't want to disable our linter.
So I think we should even do this across the compiler. The only thing that might be lacking is some documentation on why it is that we're doing this.


Sphinx gallery formatting

Describe the bug
The thumbnail and title of nbsphinx gallery elements are misaligned. It seems to be specific to furo.
To Reproduce
https://nbsphinx.readthedocs.io/en/furo-theme/subdir/gallery.html
This uses the sphinx gallery css as far as I understand.
Expected behavior
https://nbsphinx.readthedocs.io/en/latest/subdir/gallery.html

Seems to be because nbsphinx-gallery is writing styles that aren't compatible with Furo's approach to centering items.

Should be resolved by 9ef867b963a953073d6e1ea20612350d1223f078. :)


Draw an individual class diagram

Draw a class diagram for how you think the dataflow should be, so that we can compare and draw a final diagram on Monday.

[ ] Mo
[ ] Navya
[x] Astrid
[x] Bardha
[x] Maja
[x] Yuhan

Diagrams shared in google drive


Updated readme with proper attribution.

Thanks @alexanderson1993 I missed that while duplicating !

It happens to everyone. I'm happy to help out!


Hotfix/email watchmap

Two things:

Emails now have correct URLs as in https://github.com/lsst-uk/lasair4/issues/176
A broken watchmap doesn't stop all the other watchmaps

Good to go


list command

Codecov Report

Merging #25 (0cc3cb6) into main (9af9b19) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   79.08%   79.08%
=======================================
  Files          14       14
  Lines         416      416
=======================================
  Hits          329      329
  Misses         87       87

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Make DirectionsViewController.directionManeuvers non-optional

@esreli Could you please review this at your earliest convenience?


Remove focus from publish_spec

Force pushed to trigger azure :thinking:

https://github.com/DFE-Digital/manage-courses-backend/pull/952
Fix contained here, closing this PR


[FEATURE] Colorful embedded progress bar

Currently, when progress bar is embedded and the head is behind some text it will not be visible. Add an option (possibly default) to have a colorful bar that would be visible behind the text (like htop has)

This was added in #21.
Albeit the "color" I decided to use is just bold. I didn't want to use any specific colors, as they might not work well with color scheme in user's terminal.
Example

Here we can see that the progress is represented by where bold ends.


[menu-bar] Refactor SystemIconView to work when switching themes

Why
Closes ENG-10386
How
Refactor SystemIconView to no longer inherit from RCTImageView and use NSImageView directly. This way we can easily set the image as a template and change the view contentTintColor
Test Plan
https://github.com/expo/orbit/assets/11707729/6d8b23e6-59b1-4b04-9694-c459509b0076

FWIW, <Image> has a tint property that is currently broken on RN macOS I think.. is that affecting y'all right now?

FWIW, <Image> has a tint property that is currently broken on RN macOS I think.. is that affecting y'all right now?

Ohh now things make more sense 😅
I remember that the SystemIconView component used to work a couple of months ago but for some reason it stopped working. Seems that it was related to the react-native-maps upgrade then


[BUG] the footer in not aligned properly for about page

the text is not aligned properly ! let me fix that !!
Thankuou

@akanksha1055 make sure to complete this issue within 2 days.

@akanksha1055 make sure to complete this issue within 2 days.

sure sir thanks

I would like to work on this issue pls assign me this @vivekvardhan2810

@Akanshaku don't spam in other issues, this is the warning.


[Release-v1.22.0] Changes for prepare release v1.22.0

Prepare for release v1.22.0:

update changelog
update recipe/meta.yaml
update version.py

chagnes has cherry picked to main, close this pr


[SPARK-48241][SQL][3.5] CSV parsing failure with char/varchar type columns

What changes were proposed in this pull request?
Backport CSV parsing failure with char/varchar type columns to Spark 3.5.
Why are the changes needed?
For char and varchar types, Spark will convert them to StringType in CharVarcharUtils.replaceCharVarcharWithStringInSchema and record __CHAR_VARCHAR_TYPE_STRING in the metadata.
The reason for the above error is that the StringType columns in the dataSchema and requiredSchema of UnivocityParser are not consistent. The StringType in the dataSchema has metadata, while the metadata in the requiredSchema is empty. We need to retain the metadata when resolving schema.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Add a new test case in CSVSuite.
Was this patch authored or co-authored using generative AI tooling?
No.

Can we port the PR description here too？

thanks, merging to 3.5!


Fixed "custom frame_control" example for PLATFORM_WEB (#2380)

This PR addresses Issue https://github.com/raysan5/raylib/issues/2379.
After a lot of head-scratching I realized that PollInputEvents must always be called as late as possible! When SUPPORT_CUSTOM_FRAME_CONTROL is disabled, EndDrawing already calls PollInputEvents last.
It seems that the following pull request https://github.com/raysan5/raylib/pull/1573 was on to something.
I do not fully understand why this is a problem for PLATFORM_WEB and not PLATFORM_DESKTOP. I did spend enough time looking at rcore.h to conclude that this issue is a quirk of using emscripten, and not something inherently wrong with rcore.h's logic.

@thismarvin I'm afraid I'm not merging this PR.
Actually, this example is not intended for PLATFORM_WEB. WindowShouldClose() introduces a sleep of 16ms when compiled with ASYNCIFY for PLATFORM_WEB so PollInputEvents() shouldn't be moved before WindowShouldCLose(), it will introduce a delay of 16ms on inputs... that's the logic but then ASYNCIFY does it magic and could even defer the input reading (maybe that's the real issue).
In any case, moving PollInputEvents() before WindowShouldClose() is not the proper solution... neither using SUPPORT_CUSTOM_FRAME_CONTROL with ASYNCIFY, results could vary between browsers.

EDIT 1: This is probably the issue: https://github.com/emscripten-core/emscripten/blob/main/src/library_glfw.js#L20

The fact that glfwPollEvents literally does nothing definitely throws a wrench into all of this...

I don't know why but moving the function to the end is not the solution, or at least not a solution originated from an understanding of the problem.

I definitely do not fully understand the problem at hand; however, the official glfw documentation mentions the following:

Event processing is normally done each frame after buffer swapping.

The above quote seems to justify the changes I made; however, as you mentioned, also including WindowShouldClose() causes a delay for PLATFORM_WEB. With that said, should I adapt this particular example to use emscripten_set_main_loop in addition to my fix?

Event processing is normally done each frame after buffer swapping.

Yes, and actually, it's done after  SwapScreenBuffer() in current implementation because we are inside a loop.

should I adapt this particular example to use emscripten_set_main_loop in addition to my fix?

No, I don't think so. Now that I understand better the problem I agree with your initial comment that this example should work in web as is, like all the other examples.
The real issue should be investigated and fixed.


HV-539 - Modify how MANIFESTs are generated

https://hibernate.onjira.com/browse/HV-539

Applied. Thanks.


feat: Add example with pages and app folder

Thanks for the great library!
To help people with existing Next projects from < version 13 to continue adapting the new app folder and migrate their pages, I was looking for a way to use the existing pages folder and the new app folder at the same time.
I noticed that Next completely "disables" the app folder as soon as there is an i18n config in the next.config.js and internationalized routing is enabled as before, which causes the pages from the new app folder to stop working.
To support both configurations at the same time, locale-based routing must be set up manually for the pages folder as well.
This PR contains an example of how to use the app folder at the same time as any existing pages from existing projects.
I also noticed that the tests do not pass for me (not even in the existing example-next-13-advanced example).
Thanks for looking into it and I am open to improvements!

Thanks for the inputs! I have updated the example to match the basic next 13 example and added the most important steps in the README.

Thanks, I have now changed the example according to your comments and also left only the important steps in the README, since a lot of information can already be taken from the example itself.


Bump Go version to 1.9

Go 1.9 was released on Aug 24, set it as a default for update script.

Wow, I think we have both updated the default release almost at the same time!
My commit is here: https://github.com/udhos/update-golang/commit/0886870469caa9dde4a9352d1896f61dea966207
Thanks for the PR!

Wow, that's quite a coincidence :) Thanks!


Test edit // VG

Тестування відправки правок на рев'ю через іш'ю.
https://github.com/diia-engine/diia-engine-documentation/pull/10

The related PR https://github.com/diia-engine/diia-engine-documentation/pull/10 was successfully merged. I am closing this issue.
cc @C-center


feat: add lidar apollo instance segmentation

Related Issue
#1
Related Link
This PR depends on
Description
Add lidar apollo instance segmentation from https://github.com/tier4/AutowareArchitectureProposal.iv
How to review
Check the following item
Readme
Launch file

Create new PR #115


feat(arr-api): id lookups for torznab queries using arr-parse

closes #437
placeholder

rebased off v6-unstable and addressed pretty much everything i think?

rebased after merge of anime.

I made some changes to naming and deobfuscated some places we were using reflection in favor of more static techniques. Please take a look! At this point I'm fairly familiar with the code and feel pretty good about it.
One thing I noticed while testing is that if you don't have any arrs configured, this code sprays the verbose logs with "errors" that it was unable to lookup the ids. For development it's helpful but I don't think it will really make sense to log those errors for every user that doesn't have arrs configured. In the same vein, I think torrents that don't exist in an Arr shouldn't really be an error either.

It's looking good to me, I think we could easily check the typeof radarr and sonarr and just not log these messages in verbose if they're undefined.
I think there is some value to the fact that if someone mistypes their URL or their arr instance crashes, it will let them know the query failed.

I updated filterTimestamps to filter by support category first. Also updated getTag to getMediaType.
8076f17 (#640)

I updated filterTimestamps to filter by support category first.

Thanks for that fix!


The COLAB_TPU_ADDR environment variable is not set

This environment variable is important to have to use TPUs. It is set in the interactive notebook but appears to not be copied over to .bashrc so from ssh you can't use TPU. It would be good if the variable was added.

The COLAB_TPU_ADDR environment variable is now added to the .bashrc when running launch_ssh so it will be available when accessing the VM via SSH.


update the versions of several dependencies

This PR updates the following dependencies
i) spf13/cobra
ii) sirupsen/logrus
iii)golang.org/x/crypto
iv)gorilla/mux
v)golang.org/x/oauth2
vi)ncw/swift
It also updates the Go version to 1.12.x

@caervs @manishtomar Requesting your review :).

@manishtomar Would you be able to approve this PR?


User interface

hi @mcrd25 I am doing this section alone since there is no one in the same time zone who could be paired with me.
Thank you for your feedback :+1: ,
I will make the required changes and submit another pull request.

Summary of Changes

Print out welcome messages, I am going to move all of these to a separate display module in Milestone 3.

Ask for players names and store them for now in separate variables, will move to a dedicated player class to store all of these.

Validate all user input.


Set CI to Beta?

Now that async/await is on beta, should we alter CI configuration to build on it instead of nightly?
Edit: We'd need to remove a few features that are currently in use, including external_doc, but I'm not sure how much milage we're getting out of those unstable features anyway.

Why not targeting stable directly, at this point?
Are there other unstable features the library is using?

There aren't, and we probably could (and should) target stable. The biggest feature we're waiting on is async closures though, so by the time we have that in sight we may need to enable nightly again.


podnetwork: Handle network interface with multiple addresses

Fixes: #357
Signed-off-by: Pradipta Banerjee<EMAIL_ADDRESS>

Is it possible addrs[0] will contain wrong IP? anyhow, i guess for now it's good enough, thanks!

Possible. We need an improved mechanism to get the worker node IP.

Is it possible addrs[0] will contain wrong IP? anyhow, i guess for now it's good enough, thanks!

Possible. We need an improved mechanism to get the worker node IP.

I'm also worry about it, maybe @yoheiueda can comment on that?

Is it possible addrs[0] will contain wrong IP? anyhow, i guess for now it's good enough, thanks!

Possible. We need an improved mechanism to get the worker node IP.

I'm also worry about it, maybe @yoheiueda can comment on that?

Just to be clear, the existing code already used the first IP address of the network device. Just that it returned error when there were more than one ip addresses in the network device, which effectively meant that the code can only handle network interface with single IP address. So this PR just corrects that.
We do need a better (and faster) mechanism to get the worker node IP. Since we run cloud-api-adaptor as a pod, we might be able to use downward api to get the worker node primary IP and use the same. I can do that in a separate PR.


Bug fix: Allow multiple lazy resolutions using same root as bootable component

There was a bug where a resolution for an object using the same root key as a bootable component (e.g. resolving "kitten_service.fetch_kitten" where there is a bootable component named :kitten_service) would only allow the first object resolution to work. Subsequent resolutions (e.g. for “kitten_service.submit_kitten”) would raise Dry::Container::Error with a message like Nothing registered with the key "kitten_service.submit_kitten" (even when this component did actually exist).
The problem exists only when using a non-finalized container (i.e. when the container is lazy loading components). On the first resolution, Dry::System::Container.load_component doesn’t detect that there is a bootable component on the root_key, and calls .load_local_component, which resolves the named component and also properly detects and boots the bootable component named by the root key. On the subsequent resolution, .load_component does detect that the bootable component exists, and just tries to boot it again, totally skipping the call to .load_local_component, which means the named component never gets required/loaded, and we get the error.
At the root (heh) of this, this really seems to be a problem of muddled responsibilities between .load_component and .load_local_component when it comes to booting bootable components, as well as two different ways to detect bootable components, only one of which works when the container is non-finalized and has not previously loaded or booted that component.
Fixing the root cause will take a little more time and thinking, and bigger adjustments.
In the meantime, this bug is effectively resolved by changing .load_component to always check to see if the named component key exists after booting and components or importing other containers. If the key doesn’t exist at that point, always run .load_local_component to find the matching file, require it, and register the component. If that fails, then it can raise a (legitimate) “Nothing registered with the key” error.
@solnic I'll merge this in a few days since I think it's a pretty small change to fix this particular case, and the rest of the gem continues to work as before (at least that's what the specs tell me). Hopefully that gives you a chance to look things over if you'd like to.
I might also flag 2 follow-up issues, for:

Improving detection of bootable components for a lazy-loading (non-finalized) container when nothing has been booted previously
Clearing up .load_component and .load_local_component so that they both handle bootable components in the same way (or even better, if only one of them has to deal with them).

@solnic Yep, will do :)


Keep running into "You must specify a format!" error when trying to enable bridges?

Describe the bug
I just installed this docker container on my private Unraid server and I'm likely missing something obvious but I can't seem to get any of the bridges to work.
To Reproduce
Steps to reproduce the behavior:

Go to Home page
Click on "Apple App Store" bridge (also tried Amazon and Amazon Price Tracker)
Enter Twitter app id 333903271
Hit Enter (not sure if there's another way to enable a bridge?)
Get redirected to a page that just says "You must specify a format!" (http://<IP_ADDRESS>:8008/?action=display&bridge=AppleAppStore&id=333903271&p=iphone&country=US)

Desktop (please complete the following information):

OS: Unraid 6.8 (Linux)
Browser: Chrome
Version 87

You forgot to put &format={format param} after the URL, format parameter can be Html, Atom, Mrss, Json, Plaintext.
Also make sure you enable it in the whitelist.txt in the root repo before you run Docker so that you can use the bridge.

Whoops, yea I forgot to do the whitelisting part :)
Thx!


Bugfix/just the tooltip

LGTM 👍
i wanted to ask if there is an existing file which can fit attributeToName XD


Additional option for ignoring case

In my opinion something like "git grep -i" would be very helpful

Absolutely agree.

Fixed.

Thanks


Requests are processed in incorrect order

I am developing a backend API that processes chat messages (from vk.com) using Takes web framework. I have noticed that the http requests containing chat messages are passed to my Take instance in incorrect order. The expectation is that they are processed (passed to the specified Take instance) in the order that they were initiated. However, this expectation is sometimes not fulfilled. What can I do to resolve this issue?
p.s.

VK:

1
2
3
4

Server log:

// Notice the order does not match the aforementioned message sequence

2018-09-13 17:57:57 INFO  TkVkontakte:106 - Message "2" received
2018-09-13 17:57:57 INFO  TkVkontakte:106 - Message "1" received
2018-09-13 17:57:57 INFO  TkVkontakte:106 - Message "3" received
2018-09-13 17:57:57 INFO  TkVkontakte:106 - Message "4" received

Server.java:

new FtBasic(
    new TkFork(
        new FkRegex(
            "/vkontakte",
            new TkRegex() {
                @Override
                public Response act(final RqRegex req) throws IOException {
                    final String res = new RqPrint(req).printBody();
                    final JsonReader reader = Json.createReader(
                        new StringReader(res)
                    );
                    final JsonObject root = reader.readObject();
                    final JsonObject message = root.getJsonObject("object");
                    final int from = message.getInt("from_id");
                    final String text = message.getString("text");
                    Logger.info(
                        this,
                        "Message \"%s\" received",
                        text,
                        from
                    );
                }
            }
        )
    ),
    8080
).start(
    Exit.NEVER
);

@yegor256/z please, pay attention to this issue

@driver733/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

Job gh:yegor256/takes#851 is not assigned, can't get performer

This job is not in scope


Enhancements in golang client library.

Support for connection pooling.
Added API for client to pass in a func to get TLS config.
Cleaned up API.
Added pkg/client/README.md.

Replaced by pull #176.


Test for OPTIONS *

Hopefully I will get a chance to try more of these scenarios. Right now I only know about kestrel:
Kestrel: Passes * through to PathString which throws
We need to know what the other servers behavior is and decide on the right implementation to handle *.

Fixed in Kestrel and HttpSys. Closing.


speed up bayesian fit

the bayes fit stuff is slow, probably because the derivative methods are slow. either speed these up or replace them with some other derivative-calculating package.

i think i have to give up on this. other packages that calculate derivatives like numdiff seem not to be very reliable. the fitting is too complex to speed up with numba. if someone else wants to try to improve performance in the future, they are more than welcome


After the last update (0.6.1), the dayang.mosq.dyt16s mosquito repellent lamp stopped working.

Greetings!
After the last update (0.6.1), the dayang.mosq.dyt16s mosquito repellent lamp
(https://home.miot-spec.com/s/dayang.mosq.dyt16s)
stopped working. Previously there were such messages, but it turned on and off.
From Mi Home works correctly (dayang.mosq.dyt16s update version 2.2.1).
I see messages in the log:
2022-05-02 11:27:50 ERROR (MainThread) [custom_components.xiaomi_miot.switch] dayang.mosq.dyt16s(dayang.mosq.dyt16s): Got MiioException while fetching the state: Unable to parse message payload, mapping: {'mosquito_dispeller.on': {'siid': 2, 'piid': 1}, 'mosquito_dispeller.mode': {'siid': 2, 'piid': 3}, 'custom.timer': {'siid': 3, 'piid': 1}, 'custom.count_down': {'siid': 3, 'piid': 2}}, max_properties: 7/4

Please try to rebind it in MiHome APP.

Greetings!
Reconnected and tested.
When Wifi disappears for more than 2 minutes, such a violation occurs with all devices that are connected through integration. There is also a message in the notification about the violation of communication with devices. I have a router reboot set up at 00:00, and after the reboot, which ends at 00:03, such notifications come and there is a breakdown in communication with the devices, after a while the connection with the devices returns to normal.  Previously, this behavior was not observed and the devices did not fall off even while the router was rebooting.
Is there any way to disable notifications, or set, or can increase the interval of unavailability of devices?

Improved in https://github.com/al-one/hass-xiaomi-miot/commit/05c07b4575309a99c32b30ba141d35dc54c582f5, notification will be removed after all offline devices are restored.

Thank you for your help in solving the problem!
I am waiting for the release of a new version of the integration.

Thank you!


Misunderstanding on flush calculating

There's a flaw in the logic in calculating flushes. Score of 5 can occur on a normal hand AND a crib hand. Though a crib hand can not score 4 on a flush, as the crib hand cards must all be the same suit as the cut/starter card therefore a score of 5.
https://bicyclecards.com/how-to-play/cribbage/ (searching for flush) will provide these lines:

Flush. Four cards of the same suit in hand 4 (excluding the crib, and the starter)
Four cards in hand or crib of the same 5 suit as the starter
(There is no count for four-flush in the crib that is not of same suit as the starter)

I'm not sure how to call score_hand or score_hand_breakdown as there doesn't seem to be anyway to determine if the hand is a crib hand or not.

Here is a oneliner which will fix this and should be in the score_hand and score_hand_breakdown
flush = 0 if hand_scores["flush"] == 4 and five_card_flush else hand_scores["flush"]

I believe the comments will need to be adjusted to reflect the logic, to apply to the flush rules.

There is an option in score_hand, called five_card_flush. It is false be default. If you set it to true, it will only score a flush if there are 5 cards. If you were counting a crib hand, you would set that value to true.
score_hand_breakdown also has the same argument.
I designed these methods to assist in analyzing (and learning) a hand. The idea would be if you dealt a game you could input the cards in your hand to get a scoring breakdown to decide the best discard strategy. I didn't really design it to tally up the scores at the end - you can certainly do that by setting the appropriate option depending on whether you are scoring your hand or your crib.
I do have a blog post that describes the usage of the code: https://www.bluebill.net/cribbage2/
I hope this helps.


file name and line number?

is it possible to get filename and line number in the output? using tracing?

I don't believe it's possible with just runtime settings, but it seems to work with:
--- src/lib.rs
+++ src/lib.rs
@@ -166,6 +166,8 @@ fn expand_tracing_init() -> Tokens {

       let _ = ::tracing_subscriber::FmtSubscriber::builder()
         .with_env_filter(::tracing_subscriber::EnvFilter::from_default_env())
+        .with_file(true)
+        .with_line_number(true)
         .with_span_events(__internal_event_filter)
         .with_test_writer()
         .try_init();


Add LLVM 10.0.0 support

From LLVM 10.0.0, https://releases.llvm.org/ is no longer a valid URL prefix for LLVM prebuilt binaries; they have moved the hosting to github. Unfortunately for this script, they also changed the directory naming convention. I changed the script to not change how the llvm_mirror attribute is used, but this requires that the official LLVM mirror URLs need to be treated slightly differently from llvm_mirror.

The  (macos-latest, run_external_tests.sh)  test looks broken, it fails with 403 when downloading bazel releases, which seems unrelated to this PR.

Thank you so much for the PR! I will try to update our default to 10.0.0 and see what dependencies it needs on the various linux distros.


use nameservers from active interface only

Currently there doesn't seem to be a way to only use DNS servers assigned by the active tier ISP in a multi WAN setup.
Please see this forum thread for details
https://forum.pfsense.org/index.php?topic=126017.0
This patch updates the DNS configuration as gateway group state changes and fixes the issue described above. I did not have the opportunity for regression testing on other possible configurations.

Is there something I can help with to get this merged?

Change request not implemented in 6 months. Please resubmit if still desired.

Need straightforward instructions for local ISO image build from source for validating the changes.

You don't need to build a custom ISO to validate changes. You can install pfSense, then in System -> Package Manager you can install a package called System_Patches, that is a package to help users to get patches applied on current instance.
After that, you can apply a Pull Request patch to your system just adding .diff suffix to its URL. for example, to apply this PR you would use the URL https://github.com/pfsense/pfsense/pull/3592.diff


/golinter fmt does not work for files containing "-" in their name

What happened:
/golinter fmt replace - to / in file name.
https://github.com/pipe-cd/pipecd/pull/3270#issuecomment-1041339436
What you expected to happen:
How to reproduce it:
Environment:

piped version:
control-plane version:
Others:

/assign @knanao


Adding Campus Exceptions to the menu for administrators

Also updated valid courses comment
fixes #952
fixes #954

No longer using campus exceptions.


Add some words

like "uncomment" to "borrando etiquetas de comentarios"

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thanks!


How to add attribute (rel="nofollow") to anchor  for html nodes?

I'd like to add the rel="nofollow" attribute to (most of the) rendered links from markdown texts.
I came around #103 and created an extension that handles Link and AutoLink nodes. This works great.
Now, I'd also like to add the rel attribute to anchor elements that are entered as HTML in the markdown input, but I cannot find out which node I need to match or how to match this.
Do you have any pointers? Thank you :)
@Override
public void setAttributes(final Node node, final AttributablePart part, final Attributes attributes) {
  if (   (node instanceof Link || node instanceof AutoLink /*|| node instanceof ??SomeHTMLNode?? */)
      && (part == AttributablePart.LINK) ) {

    attributes.replaceValue("rel", "nofollow");

  }
}

@Elmervc, markdown does not parse HTML so you need to parse the node text for your tags and render the node in your extension with your changes. In this case the node is an HtmlInline, which will contain a contiguous run of HTML from the markdown.
If you don't have any mods for a particular node you can just let the previous renderer handle it by calling context.delegateRender()
The example from CoreNodeRenderer:
render(HtmlInline node, NodeRendererContext context, HtmlWriter html)
and the function which implements the meat of handling all the suppression and escaping options:
CoreNodeRenderer.java: Lines 742-750


Make env get and delete work for env and env prop

What was changed

Changed env syntax to as following
Read env key
temporal env get local.namespace
  namespace  canary

Read env
temporal env get local
  address    <IP_ADDRESS>:7233
  namespace  canary

Set env key
temporal env set local.namespace default
Set 'local.namespace' to: default

Delete env key
temporal env delete canary.namespace
Deleted env property: canary.namespace

Delete env entry
temporal env delete canary
Deleted env: canary

Why?

UX design decision
Checklist

Closes

How was this tested:

Updated unit tests and ran locally. There seems to be another unrelated issue when running in a GHA pipeline

Any docs updates needed?

verified the unit tests pass


Source git version from build-machinery-go Makefile

Makefile in build-machinery-go offers git metadata that can be included in the version sub-command.
Signed-off-by: Josef Karasek<EMAIL_ADDRESS>

good news, we can release as a community tool through GH release. So we can take this approach for now :)


Importing a Specific Folder Path

Of course, it should be done, but strangely, it didn't work, so I'm posting it.
I tried to get the notes in the folder by typing from "folder path" as if I was querying it in the database, but I couldn't get anything.
Is this function not implemented by any chance?

The from option works. The config is in YAML format; see the example here: https://github.com/tokenshift/obsidian-page-gallery?tab=readme-ov-file#usage
For your example, you'd use something like:
from: '"folder path"'

Thank you. I understood the confusion.
from: '"Images" AND #yosemite'
I thought you were using '' because of the AND option.
However, '' is also required when applying only the folder path.
It works. Thank you!


Print matrix in spiral order in java.

@bhumikatewary
I want to add this code. Can you please assign me this?

can i work on this?

pr merged


MirrorGodotEditorLinux closes when starting the project

Tested versions
MirrorGodotEditorLinux v4.3.dev.gh [e33f01e34]
https://storage.googleapis.com/mirror_native_client_builds/Engine/e33f01e3/MirrorGodotEditorLinux.x86_64

System information
Linux Ubuntu 23.10
Issue description
I have a problem running MirrorGodotEditorLinux v4.3.dev.gh [e33f01e34] on Linux Ubuntu 23.10. When I try to launch the application, it simply closes.
Steps to reproduce

Launch the MirrorGodotEditorLinux.x86_64 application (MirrorGodotEditorLinux v4.3.dev.gh [e33f01e34] ).
Run the import of mirror-godot-app and already at the stage of completing the import the application crashes.
After this, you can try to open the mirror-godot-app project again and run the project and the application closes without generating errors.

Minimal reproduction project (MRP)
I'm trying to run the latest version of mirror-godot-app https://github.com/the-mirror-gdp/the-mirror/tree/dev/mirror-godot-app

I'm going to reproduce this now


register

@JuliaRegistrator register()

Error while trying to register: "Project file should contain name, uuid and version"


Use a query-string, not an HTTP body for GET

This PR fixes GET so that it uses the query-string to pass parameters, not the HTTP body, which iOS ignores for GET.

There is a simple URLEncoding for dictionary which works for string, number, and bool values.
I included unit tests so you can see what is supported.

I tested this in Trello and it works great.

Hi @loufranco - awesome, thanks so much for contributing. I will test this with Mountebank tomorrow.
/cc @duncan

👍  Too bad that URLComponents.queryItems just arrived in OS X 10.10/iOS 8.0


Fix python-nest release number

Description:
fix #5365

I don't think this will work since the old version was already 3.0.2. This means pip won't upgrade automatically. See https://github.com/home-assistant/home-assistant/pull/5011/files for the PR that made the upgrade. The same day that this PR was made @technicalpickles bumped python-nest to 3.0.4. Maybe it was intended to use that commit?

Yeah, I think that is what happened 😓


View the image extended properties from Web UI

Enhancement
In the list of image files, I think it would be nice to be able to view the extended properties of the files.
The ability to EDIT those files might be useful too. But since its kind of an advanced feature, we can probably leave that to the command line.

@akuker A first stab at this here, using the same approach as 'device info': https://github.com/akuker/RASCSI/pull/270
Agreed that editing the properties should not be in the scope of rascsi-web.

The first PR got lost in the ether, so made a new one here https://github.com/akuker/RASCSI/pull/290


Using '~' as custom mapping

Defining custom mappings with '@' works like a charm, but defining the exact same alias using '~' does not show any autocompletion.
{
  // This works as expected, showing autocompletion
  "path-autocomplete.pathMappings": {
    "@": "${workspace}"
  },

  // This DOES NOT work, no autocompletion are shown
  "path-autocomplete.pathMappings": {
    "~": "${workspace}"
  }
}

I suspect this to conflict with the pre-defined home alias ('~').
Should we actually be able to use '~' in custom mappings ?
- If yes, what am I doing wrong ?
- If no, would you accept a PR to add this functionality ?

I just tried it locally and "~": "${workspace}" seems to work as expected.
The mappings are processed before we reach the default aliases.
Can you please provide more details about your environment ? OS, vscode version, path autocomplete version, file type where you are trying to insert the path

If you still find an issue on your local machine, yes a PR is always welcomed.

After a few more tries, I kinda got something.
When typing the string ~/src, here's what's happening :
1. I press ALT + N simultaneously (to get the ~ character)
2. The ~ character appears, but it's waiting for me to type another character. Depending on the key I'll press, it will combine into a single letter (ñ or õ), or it will be rendered as is (~)
That's where the magic appears !
3a.  The autocomplete will show after the next / (for exemple, ~/src/).
3b. If I press SPACE, I still get the expected ~/, but this time, the autocomplete shows up and everything works smoothly.

Basically, these exact keystrokes wont work
ALT + N       # ~
SHIFT + /     # ~/

But those works as expected
ALT + N       # ~
SPACE         # ~
SHIFT + /     # ~/

I'm using :

VSCode 1.25.1
macOS 10.13.4
An AZERTY keyboard

Thank you for investigating this.
I will consider this issue resolved.


Add file ID to multifile manifest

There is currently no logging available to store this but it is incredibly useful for anyone interested in replicating an analysis on the result of this unload.

I'm torn: on the one hand I think that civis_to_csv should, indeed, leave the user with a corresponding CSV at the file path but, on the other hand, we'll have to update the function anyways because we'll probably want to pass CSV settings to take advantage of changes to platform's export code. The change to CSV export function to allow CSV settings could leave the user with the possibility of triggering a multifile unload which would result in a manifest -- not a single CSV.
Originally, I separated these functions because I wanted users who know they were after a multifile unload to get exactly that without wanting to overload the civis_to_csv function. Now, I'm no longer sure that's the right approach, although I'm not sure allowing for the possibility that civis_to_csv could fail to write a CSV to disk is the best idea here. Thoughts?

After talking with @elliothevel I think it would make sense to keep this function and civis_to_csv separate, with the key difference being that the latter expects a CSV and writes it to disk whereas this function returns a manifest. Both functions could ignore any user given force_multifile parameter.
The question remains about adding a file ID to the manifest. @stephen-hoover if you'd like to keep the result in line with what a user would expect from a regular client API call, we could leave this manifest as is and this could very easily be re-uploaded to the files endpoint where needed. Otherwise, it makes sense to add something like manifest_file_id here.

I agree that it makes sense to keep civis_to_csv and civis_to_multifile_csv separate. One of my concerns with adding additional keys to the output is that it then becomes confusing to users which parts come from Platform and which from the client. That could also cause confusion when using, e.g., the (forthcoming) R API client.

That seems reasonable. I'll close this and make a separate PR to add csv_settings where applicable in the io module.


assignment3 commit

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Upload Iris dataset, data cleaning and visualization, bootstrapping samples.
What did you learn from the changes you have made?
K means clustering, bootstrapping

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

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

A3 complete


Upgrade Gogs v0.6.1 to v0.6.15 ?

@Unknwon
Please help me, I need some help on how to do this Upgrade

What help do you need? It's exactly same as from older version to v0.6.1.

Close for now but open for continuing discussion.


feat: Iteration on mobile and standalone input

Did an iteration on input system during GA academy lesson.

LGTM!


[markdown cleanup] <, > to «, »

Pre-Flight checklist

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets? https://github.com/mitodl/ocw-to-hugo/issues/476
What's this PR do?
Replaces instances of '<' and '<<' with '«' in resource link titles because \< is currently being rendered as >. Also, "«" looks better anyway.
For example:
For example, on page  https://ocw.mit.edu/courses/15-071-the-analytics-edge-spring-2017/pages/an-introduction-to-analytics/the-analytics-edge-intelligence-happiness-and-health-lecture-sequence
Before:
    {{% resource_link a958c6c3-2e8f-cfa1-cbab-a162067382a1 "\<Welcome to Unit 1" %}}
After:
    {{% resource_link "a958c6c3-2e8f-cfa1-cbab-a162067382a1" "« Welcome to Unit 1" %}}

ALSO: I reorganized some imports / files because the markdown_cleaning directory was driving me nuts.
How should this be manually tested?
Run docker-compose run --rm web ./manage.py markdown_cleanup resource_link_nextprev -o nextprev.csv --csv-only-changes --commit and inspect that the generated CSV looks reasonable.

Codecov Report

Merging #1245 (d2d40d5) into master (ba726c4) will increase coverage by 4.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1245      +/-   ##
==========================================
+ Coverage   90.55%   94.58%   +4.02%
==========================================
  Files         213      100     -113
  Lines        8883     3047    -5836
  Branches     1641      732     -909
==========================================
- Hits         8044     2882    -5162
+ Misses        729      162     -567
+ Partials      110        3     -107

Impacted Files
Coverage Δ

...gement/commands/markdown_cleaning/parsing_utils.py

...gement/commands/markdown_cleaning/rules/baseurl.py

.../commands/markdown_cleaning/rules/link_unescape.py

...nds/markdown_cleaning/rules/link_wrapped_images.py

.../markdown_cleaning/rules/metadata_relative_urls.py

...mands/markdown_cleaning/rules/rootrelative_urls.py

...mands/markdown_cleaning/rules/shortcode_logging.py

...t/commands/markdown_cleaning/rules/subsup_fixes.py

...ent/commands/markdown_cleaning/shortcode_parser.py

main/utils.py

... and 103 more

Continue to review full report at Codecov.

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


Move themes to 'Contributing', add theme contribution and fix grammar and spelling mistakes

Description

Quite a bit in this PR - I've moved the 'Custom Themes' to contributing as that is more appropriate, added a 'Contributing Themes' section, and a couple or so mistakes in the grammar.
Motivation and Context

Adds clarity to making a theme and suggests easier ways to create one. Fixes Spelling.

Closing as previously explained to @DeveloperWOW64.


new pr for Turkish NER

Can you run make style to fix the code format ?
Also it looks like the file file_downloaded/TWNERTC_TC_Coarse Grained NER_DomainIndependent_NoiseReduction.zip/TWNERTC_TC_Coarse Grained NER_DomainIndependent_NoiseReduction.DUMP is missing inside the dummy_data.zip
(note that TWNERTC_TC_Coarse Grained NER_DomainIndependent_NoiseReduction.zip is a directory name, not an actual zip file)

Hi Quentin, thank you for your patience with me. I've fixed the preprocessing pipeline, got this very weird error that Yacine told me to push. I've pushed it and after I'll find out that it will work, I will have my final pr on styling.

looks like you removed the dataset script file in your latest commit, is it expected ?


Add some code about error code 1-1, 4-1 with code optimization.

另附迄今为止使用的错误码：
0-1: Thread pool is EXHAUSTED! - 线程池资源耗尽。
0-2 - Property type mismatch. - 属性类型不匹配
1-1: Address invalid. - 地址非法（服务版本或分组不匹配）
1-2 - （空缺）
1-3: URL evicting failed. - URL 销毁失败
1-4 Empty address. - 空地址
1-5 Received URL without any parameters. - 接收到没有任何参数的 URL
1-6 Error when clearing cached URLs. - 清空缓存 URL 出错
1-7: Failed to notify registry event. - 通知注册中心事件失败
1-8: Failed to unregister / unsubscribe url on destroy. - 销毁时注销（取消订阅）地址失败
1-9: failed to read / save registry cache file. - 读写注册关系缓存文件失败
1-10 Failed to delete lock file. - 删除锁文件失败。
1-11 Failed to obtain or create registry (service) object. - 注册服务实例创建失败
1-12 Failed to fetch (server) instance since the registry instances have been destroyed. - 由于 “注册服务” 的实例均已销毁，因此没法获取服务提供（或订阅）方的服务器地址。
1-13 - reach the most times of retry. 达到最多的重试次数。
1-14 - Failed to parse raw dynamic config. - 动态配置识别失败
1-15 - Failed to destroy service. - 销毁服务失败
1-16 - Unsupported category in NotifyListener - 存有不支持的类别（在 NotifyListener 中）
1-17 - Address refresh failed. - 地址刷新失败
2-1 - Failed to execute routing. - 路由选址执行失败。
2-2 - No provider available - 没有可用的提供端。
3-1 - Failed to convert the URL address into Invokers. - 服务地址到 Invoker 对象的转换失败。
4-1 - Unsupported protocol - 不支持的协议。
4-2 - Can't find an instance URL using the default preferredProtocol. - 用指定的协议为条件找不到服务实例。
5-1 Failed to connect to configuration center. - 连接到注册中心失败。
6-1 - Failed to connect to provider server by other reason. - 因其它原因连接不上 Provider。
6-2 - Client-side timeout. - 客户端超时

Codecov Report

Merging #10500 (80e5734) into 3.1 (2cd701c) will decrease coverage by 0.72%.
The diff coverage is 29.03%.

@@             Coverage Diff              @@
##                3.1   #10500      +/-   ##
============================================
- Coverage     65.53%   64.80%   -0.73%
+ Complexity      295      292       -3
============================================
  Files          1275     1275
  Lines         55033    55044      +11
  Branches       8296     8271      -25
============================================
- Hits          36064    35670     -394
- Misses        15056    15443     +387
- Partials       3913     3931      +18

Impacted Files
Coverage Δ

...java/org/apache/dubbo/rpc/cluster/RouterChain.java
60.50% <ø> (-1.28%)
:arrow_down:

...apache/dubbo/common/extension/ExtensionLoader.java
79.17% <ø> (-0.92%)
:arrow_down:

...rg/apache/dubbo/common/url/component/URLParam.java
89.81% <ø> (ø)

...n/java/org/apache/dubbo/common/utils/UrlUtils.java
65.08% <ø> (ø)

...stry/client/ServiceDiscoveryRegistryDirectory.java
42.40% <0.00%> (-0.16%)
:arrow_down:

...he/dubbo/registry/zookeeper/ZookeeperRegistry.java
65.31% <ø> (ø)

.../dubbo/registry/integration/RegistryDirectory.java
45.74% <5.00%> (-1.57%)
:arrow_down:

...bo/registry/support/CacheableFailbackRegistry.java
77.64% <83.33%> (-1.77%)
:arrow_down:

...mon/src/main/java/org/apache/dubbo/common/URL.java
45.45% <100.00%> (+0.13%)
:arrow_up:

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 84 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bump-O-Matic: Update dependencies

Update dependencies.

Hmm - do we need all those windows addons in this bump?

They are transitive dependencies that don't really matter to us (and won't ever be used since we don't build for Windows). The Cargo.nix file just considers all possible paths in the translation.
My vote is: That's fine.


Timeline: Hot.

Create Hot list for the last N (48 by default) hours.
Use Votes to determine hot events.
Hot list should be availabe in both (Timeline and Outline) representations.

Show 'Hot' label in events from Hot list.


CNL_INT128 is not a macro

Really, there needs to be a <ccnlint.h> to match  with:
namespace cnl {
   int128_t, uint128_t
   intmax_t, uintmax_t
}

done


Need to runloop for STTwitter to do anything?

Clean run.
Doesn't do anything,neither success,fail was called.
After RunLoop was added.
The first run still doesn't do anything,but starts to respond from the second time

        __block NSMutableArray *followersIDs = [NSMutableArray array];

        __block STTwitterAPI *t = [STTwitterAPI twitterAPIAppOnlyWithConsumerKey:ConsumerKey consumerSecret:ConsumerSecret];
        [t verifyCredentialsWithUserSuccessBlock:^(NSString *username, NSString *userID) {

            [t getFollowersForScreenName:@"__PAGEZERO" successBlock:^(NSArray* followers) {
                NSLog(@"Follower List:%@",followers);

            }errorBlock:^(NSError* error){
                 NSLog(@"--1 %@", error);

            }];
        } errorBlock:^(NSError *error) {
            NSLog(@"--1 %@", error);
        }];

I understand that you are trying to get followers in a command line app.
If so, check the example following https://github.com/nst/STTwitter/blob/master/demo_cli/followers/main.m
If not, please give me more context.

Many thanks for your time.
 int main(int argc, const char * argv[])
{
        __block NSMutableArray *followersIDs = [NSMutableArray array];

        __block STTwitterAPI *t = [STTwitterAPI twitterAPIAppOnlyWithConsumerKey:ConsumerKey consumerSecret:ConsumerSecret];
        [t verifyCredentialsWithUserSuccessBlock:^(NSString *username, NSString *userID) {

            [t getFollowersForScreenName:@"__PAGEZERO" successBlock:^(NSArray* followers) {
                [followersIDs addObjectsFromArray:followers];
                NSLog(@"Follower List:%@",followers);
                return;

            }errorBlock:^(NSError* error){
                 NSLog(@"--1 %@", error);

            }];
        } errorBlock:^(NSError *error) {
            NSLog(@"--1 %@", error);
        }];
    if(followersIDs.count==0){

        [[NSRunLoop currentRunLoop] run];
    }
exit(0);
}

Without the RunLoop part,the program quit without logging out anything.
Put it back,the process stuck after printing out the followers.

And I also tried open a new project to flush the environment issue,still the same problem

Note that you need to use blessed consumer tokens to get the followers IDs.
I've just tried the "followers.m" example with "Twitter for iPhone" credentials and I get the requested data.

The following code
#import <Foundation/Foundation.h>
#import "STTwitter.h"

int main(int argc, const char * argv[])
{
    @autoreleasepool {

        __block NSMutableArray *followersIDs = [NSMutableArray array];

        __block STTwitterAPI *t = [STTwitterAPI twitterAPIAppOnlyWithConsumerKey:TWITTER_FOR_IPHONE_KEY consumerSecret:TWITTER_FOR_IPHONE_SECRET];

        [t verifyCredentialsWithUserSuccessBlock:^(NSString *username, NSString *userID) {

            [t getFollowersForScreenName:@"__PAGEZERO" successBlock:^(NSArray* followers) {
                [followersIDs addObjectsFromArray:followers];
                NSLog(@"Follower List:%@", [followers valueForKey:@"id"]);

            } errorBlock:^(NSError* error){
                NSLog(@"--1 %@", error);

            }];

        } errorBlock:^(NSError *error) {
            NSLog(@"--2 %@", error);
        }];

        [[NSRunLoop currentRunLoop] run];
    }

    return(0);
}

does print
2015-12-22 23:04:08.025 followers[37880:1147574] Follower List:(
    37889864,
<PHONE_NUMBER>,
    178671108,
    86315276,
    562750823,
    826966795,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
    16604957,
    207147193,
    192749227,
    131282204,
    795470076,
    64261195,
    310753146,
<PHONE_NUMBER>,
    175265857,
<PHONE_NUMBER>,
    525206194,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
    499987130,
    325560607,
    52738645,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>
)

well,I guess it's some problem in my environment.
(Which I have no idea)

I got the requested data as well.
The problem is I need to runloop it twice since it did nothing,or receive an empty array for the first time


TypeError: u is not a function

Describe the bug
Devskim 0.4.205 will not launch. Typing anything in TypeScript file I get the following output in VSC:
The extension isn't performing any checks
DevSkimServer: onDidChangeContent(file:///Users/rcoundon/Documents/Github/omw-pso-be/src/main/handler/HandlerUtils.ts)
DevSkimServer: validateTextDocument(file:///Users/rcoundon/Documents/Github/omw-pso-be/src/main/handler/HandlerUtils.ts)
(node:49374) UnhandledPromiseRejectionWarning: TypeError: u is not a function
    at Function.MakeRegex (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:242656)
    at f.runAnalysis (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:243074)
    at f.analyzeText (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:240869)
    at l.<anonymous> (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:189757)
    at Generator.next (<anonymous>)
    at u (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:185604)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:49374) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)
(node:49374) UnhandledPromiseRejectionWarning: TypeError: u is not a function
    at Function.MakeRegex (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:242656)
    at f.runAnalysis (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:243074)
    at f.analyzeText (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:240869)
    at l.<anonymous> (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:189757)
    at Generator.next (<anonymous>)
    at u (/Users/rcoundon/.vscode/extensions/ms-cst-e.vscode-devskim-0.4.205/server/dist/index.js:12:185604)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:49374) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13)
DevSkimServer: onDidChangeContent(file:///Users/rcoundon/Documents/Github/omw-pso-be/src/main/handler/HandlerUtils.ts)
DevSkimServer: validateTextDocument(file:///Users/rcoundon/Documents/Github/omw-pso-be/src/main/handler/HandlerUtils.ts)

Versions

OS: [MacOS 10.15.7]
Devskim Version [0.4.205]

Thanks for your report and sorry you're encountering this issue. I seem to be able to reproduce this.  The latest update was just a dependency bump but I'll take a deeper look and hope to have a fix this week.

Should be fixed by #254.


Minor fixes to support the latest changes in Xray Cloud

There appear to be some changes in Xray cloud that have caused some problems for this plugin. I made some minor fixes to adapt to these changes.

The authentication token is returned by the API authenticate endpoint as a quoted string. The quotes are now stripped out before the token is used.
The response from the import execution API call does not include the testExecIssue{"key": "..."} parameter. Instead, the key parameter is stored at the top level in the JSON response.
Updated the tests for the new behavior.

Thanks for the update. It looks good.


Copy-Paste Issue in Recent Versions of PabloDraw

Description:
In the latest versions of PabloDraw, a bug has been identified where copying and pasting content into a new document does not retain the original colors. This issue affects users relying on accurate color representation when transferring data between documents.
Steps to Reproduce:
Open PabloDraw (latest version).
Create a document with colored content.
Copy the content.
Paste it into a new document.
Observe that the colors are missing.
Expected Behavior:
The copied content should retain its original colors when pasted into a new document.
Actual Behavior:
The content pastes without its colors, losing critical visual details.
Additional Notes:
This issue has been consistent in recent updates. Users working with color-dependent designs are significantly affected.
Request for Fix:
We kindly ask the developers to investigate this bug and provide a fix in upcoming updates. Thank you for your attention to this matter.

Hi, thanks for submitting the issue, but what is (latest version)?  Is this the beta?  What exact version are you using?


heads up: possible that ssl on linux is broken on ubuntu 20201210.0

we just observed that our CI broke on GitHub actions, the thread is here: https://github.com/intuit/karate/pull/1403#issuecomment-747302016
the tests that broke involved SSL
and this was when the ubuntu 18.04.5 version was auto upgraded from 20201129.1 to 20201210.0
when the os was forced to ubuntu 20.04 things are working again
sorry I don't have more details or a way to replicate, but wanted to give you this heads up

Thanks for sharing such a beautiful information with us.
FIA jobs

an update, looks like the same problem when Ubuntu switched from  20.04: 20201210.0 to 20210123.1
this is for netty 1.3.0 - error message includes this: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

an update, looks like the same problem when Ubuntu switched from  20.04: 20201210.0 to 20210123.1
this is for netty 1.3.0 - error message includes this: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

@ptrthomas Sorry to hear that. Does this problem go away with #3310?

@ptrthomas Sorry to hear that. Does this problem go away with #3310?

@trustin I'm relieved to report that this is not an issue with netty or native libraries. this really confused me for a while but it was a combination of things, when ubuntu + java versions changed, the ordering of junit execution changed and surfaced a problem in our ssl tests running in parallel with other tests. this took a while and was a huge pain to figure out
just FYI we are maven-shading armeria and all netty dependencies, it was tricky to figure out how to get the native binaries to still work, but seems okay - am mentioning this in case this helps as a reference for others
am closing this. thanks for checking in and the support !

@trustin I'm relieved to report that this is not an issue with netty or native libraries. this really confused me for a while but it was a combination of things, when ubuntu + java versions changed, the ordering of junit execution changed and surfaced a problem in our ssl tests running in parallel with other tests. this took a while and was a huge pain to figure out
just FYI we are maven-shading armeria and all netty dependencies, it was tricky to figure out how to get the native binaries to still work, but seems okay - am mentioning this in case this helps as a reference for others
am closing this. thanks for checking in and the support !

Great to hear that it was not an Armeria/Netty problem after all. Please feel free to report any issues later!

Great to hear that it was not an Armeria/Netty problem after all. Please feel free to report any issues later!


how to build libegl1-mesa freeglut3 freeglut3-dev in pi5  yocto image

Hi all,
Sorry to bother you again,
Our apps will use opencv, and need to install libegl1-mesa freeglut3 freeglut3-dev in yocto image,but there are no their receipts, only there is a mesa. I can install with apt install  libegl1-mesa freeglut3 freeglut3-dev in ubuntu 22.04 , in my understanding, they exist but they should can build in yocto.
how to do?
any ideas?
thank you very much.

Thank you so much for your reply so soon.
I am going to do.
I just grep -r "virtual/egl" .  it seems mesa already including  egl


Stackable buttons (stacked-for-small button-group) are uneven when unstacked

How can we reproduce this bug?

Create a div with class .button-group
Put at least two buttons in it (anchor tags with class .button)

What did you expect to happen?
I expected that the bottom of each button would be in line with the others when they are not stacked.
I believe that none of the buttons should have a bottom-border, but I'm not sure that's the right way to go.
What happened instead?
Each button except the last button has a 1 px border-bottom, and only the last button has no border-bottom, even when they are not stacked.
Test case:
Here's a CodePen: http://codepen.io/anon/pen/wGZaWN
And here's the same behavior in the Foundation docs: http://foundation.zurb.com/sites/docs/button-group.html#stacking
I'm using Google Chrome on Windows 10.

I guess this is caused by #8616
There was a margin-bottom: 0 introduced

Eek! Sorry if my PR introduced this bug. I'll get it fixed…

Actually, this is not an issue in the develop branch. So the upcoming 6.2.2 patch should take care of it. Please reopen this issue if you can reproduce this after the next release.


add doc code-of-conduct.md

Add code of conduct #2
I added the document code-of-conduct in the root of the project.
In the document I updated the document with<EMAIL_ADDRESS>instead of the placeholder email address.

Actually I just changed that.

Thanks @simonherlin  - looks great now!


Add CSS Standard Status

Hey there. I’m just trying to get the word out that cssdb has badges to help users know the status of your CSS polyfill.
cssdb is a list I’m compiling of CSS features and their positions in the process of becoming implemented web standards.

Since the issue has no any comment for 2 weeks, I will accept it. Revert if you don’t like it.
(Also you can ask me to not accept critical commits for you :smile:)

Since the issue has no any comment for 2 weeks, I will accept it. Revert if you don’t like it.
(Also you can ask me to not accept critical commits for you :smile:)


Availability Zones

Hi,
I don't see any reference to Availability Zones in this documentation. Are all components deployed in 1 AZ?
Rgds,
Dennis
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 48293d9f-3c16-3b03-d315-157ecda6dc02
Version Independent ID: 824d9271-2aab-9db4-e038-ffe07d8a52a3
Content: High availability components in Azure HDInsight
Content Source: articles/hdinsight/hdinsight-high-availability-components.md
Service: hdinsight
GitHub Login: @JasonWHowell
Microsoft Alias: jasonh

@Nimleth  Thanks for the question! We are investigating and will update you shortly.

I remember Availability Zones are only in preview and the doc was published yesterday.
https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-use-availability-zones
CC: @yanancai

@Nimleth  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi,
Why is it closed? I didn't get an answer and the document wasn't updated.
Or is the answer 'no, we're not leveraging AZs'?
Rgds,
Dennis


RFC: show robust tactic state

Proposal
The goal of this RFC is to have the tactic state not change too much while typing.
This is a complaint I have heard more than once from beginners: "The goal state is jumping around too much". You can pause the goal state, but this is a bit of an inconvenient workaround.
Examples with current behavior:
-- in each example place the pointer right before the `--`
example : True ∧ False ∧ True := by
  simp only [false_and]
  ex -- <no tactic state>, errors: unknown tactic / unsolved goals

example : True ∧ False ∧ True := by
  simp only [false_and]
  exact -- Tactic state: No goals / error: unexpected token

example : True ∧ False ∧ True := by
  simp only [false_and]
  exact true -- Shows the correct tactic state / error: type mismatch

example : True ∧ False ∧ True := by
  simp only [false_and]
  exact true_ -- Tactic state: No goals / error: unknown identifier

example : True ∧ False ∧ True := by
  simp only [false_and]
  apply true_ -- Shows the correct tactic state / error: unknown identifier

Desired behavior: All examples should show the tactic state that is shown in examples 3 and 5.

User Experience: This should be a improvement for all users.

Beneficiaries: Especially new users, slow typers. But can affect anyone that tries to apply a tactic, see that it errors, and wants to easily see the previous tactic state.

Maintainability: Should not significantly impact maintainability.

Implementation speculation: Hopefully the first example can be fixed by having a rule that any non-existent tactic still shows the tactic state from the start of the line. And maybe example 2 can be fixed by having a parse error do the same?
Example 4 can probably be fixed in the implementation of exact (it works with apply, see example 5).
Community Feedback
Zulip
Impact
Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.

Just crosslinking my work in that direction at https://github.com/leanprover/lean4/pull/4177.
You describe a fine goal; what I don't know though if there is going to be a simple catch-all solution, or if improved usability here is going to be a game of whack a mole where we fix different ”error conditions” one after another.

I expect that this will be a bit of whack-a-mole (see Implementation speculation in my first message). If it works in the 90% most common cases, that is already very helpful.


Add output to CSV

Add output to CSV so exported data, device listings etc can easily be handled by programs that prefer CSV.

Done


Records inserted multiple times under heavy load and IO errors.

OrientDB Version, operating system, or hardware.

[x] v2.2.11
[x] v2.2.12

Operating System

[X] Linux

Expected behavior
There are exactly 2 million records in the db and the following query will not return any records: select * from (select name, count(name) as c from LiveTable group by name) where c != 2. Also Inmemory records count is 2M.
Actual behavior
Live updaters soon crash on both (sometimes on only one) nodes, Caught Network I/O errors on <IP_ADDRESS>:2424/testDb, trying an automatic reconnection... (error: Timeout on reading response) [OStorageRemote]. Usually there are 2,000,002 records in the db when the loop finishes, some tests ended with 2,000,001 records. The above-mentioned select returns data like this:
name       | c
---------- | ----
Name_41415 | 3
Name_2734  | 3

Also, as the live queries crashed, the inmemory copy has much less than 2M records, eg 35740 on one and 46738 on another node.
Steps to reproduce the problem
Run the attached program in a 2-node environment (change NODE_1 and NODE_2 placeholders in the hazelcast.xml file first). Both nodes will try to insert 1M records, so there should be 1M different entries, 2 copies of each. But some records are entered 3 times. Seems that one extra from every node where the IO error occurred.
orient_6874.zip

Hi @dominioon, could you please try with the version in 2.2.x branch?

Hi @lvca,
tried, but unfortunately the problem still extist: 2,000,002 records added and both live updaters died, one of them usually having a bit longer stacktrace:
Caught Network I/O errors on <IP_ADDRESS>:2424/testDb, trying an automatic reconnection... (error: Timeout on reading response) [OStorageRemote]com.orientechnologies.common.concur.lock.OInterruptedException: Thread interrupted while waiting for request
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:256)
	at com.orientechnologies.orient.client.binary.OAsynchChannelServiceThread.execute(OAsynchChannelServiceThread.java:54)
	at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)
Caused by: java.lang.InterruptedException
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2173)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:244)
	... 2 more

Another error message seen: Caught Network I/O errors on <IP_ADDRESS>:2424/testDb, trying an automatic reconnection... (error: Timeout on reading response) [OStorageRemote]
PS, the machines may have a bit different performance. Technically both are Intel® Core™ i5-3570 CPU @ 3.40GHz × 4, but one has Ubuntu 14, another Ubuntu 16, and that last one seem to finish the inserts always before the other one.

@luigidellaquila and @tglman any idea about this?


[Feature Request] How to change the class to another?

Existing Component
Yes
Component Name
el-select
Description
Hello. I do not speak English well :) I'm writing a translator through Google.
Such a question, for example, I insert the  and the input has the .el-input__inner class. But I took also uikit for development. How do I change the .el-input__inner class to another one that I want?

Class names cannot be changed. If you're looking to add your own styles to a component, simply add a custom class to that component and apply styles to the custom class.


Android location permissions not being requested using Cordova 9

Bug Report
Problem
I am trying out using Cordova 9, and most things seem to be working alright, but the geolocation plugin is not adding the appropriate uses-permission tags to the android manifest file.
Note: this works fine if I revert back cordova-cli@8 and cordova-android@7
What is expected to happen?
Adding cordova-plugin-geolocation should add the appropriate permissions to the manifest file and allow requesting location in the app.
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

What does actually happen?
Adding cordova-plugin-geolocationdoes not add the appropriate permissions, and thus, my app is not able to request a GPS location.
Environment, Platform, Device
Android (have not attempted iOS yet)
Version information
I am using
"cordova-plugin-geolocation": "4.0.1"
"cordova-android": "^8.0.0"
"cordova": "^9.0.0"
"ionic": "4.12.0"

Checklist

[ x] I searched for existing GitHub issues
[x ] I updated all Cordova tooling to most recent version
[x ] I included all the necessary information above

After further discussion on the other issue I posted, this clearly does not seem like the correct place for this one.  Does not seem at all related to cordova-plugin-geolocation.  Closing the issue here.

This happened to me but i solved this moving the code that used the geolocation plugin all over the end of the platform.ready() listener and then it started to ask properly for permissions using cordova 9 but my platform was android 7.0.0. Hope that this data helps!


add Maven wrapper

Describe the solution you'd like
add mvnw and mvnw.cmd commands to the root directory to allow building the project without having Maven installed.

> mvn -N io.takari:maven:wrapper


bug about webcam demo

❓ Questions and Help

Hi, I tried to run the webcam.py demo, but it occurs this problem, I am wondering what's wrong with it?
Thanks!

I think you might have a problem with OpenCV not being able to read from your webcam.
See https://stackoverflow.com/questions/21043394/opencvs-video-capture-not-returning-an-image for more information.
I'm closing this issue as this is not a problem with maskrcnn-benchmark

Thanks! @fmassa
I tried to just run simple prediction using

but it occurs

I checked my gcc version

and CUDA

and I am wondering why I still cannot run simple demo. TAT

I'd recommend uninstalling maskrcnn-benchmark, deleting the build folder and installing again, making sure that you are using the same python environment for compiling and for running the code

@sheep1234567 hi! have you solved the problem about webcam?


Area Code 223 is not supported and going into service on Sept. 26, 2017

According to the NANPA website, the Pennsylvania area code 223 is going into service on September 26th, 2017.  However, libphonenumber does not currently support this number.  Link to the planned area codes below.
https://www.nationalnanpa.com/enas/plannedNpasNotInServiceReport.do

@Silenthillnight,
Thanks for providing all the details we need! We've accepted this issue and will fix this in an upcoming release. For your next metadata issue, we invite you to file issues in Google's new Issue Tracker, which we're currently testing.
Please note that you have submitted this information with the knowledge that we may use, modify, reproduce, publicly display, and distribute the information in accordance with our open source policies. Please let us know if you did not intend to submit the information for such use.

Fixed in release 8.8.2.


Update to new treesitter api

Closes #12;
This PR adds the ability to specify the buffer and the start node; thus giving developers and the user more flexibility.
The old, deprecated APIs have been removed. However, we should probably check what minimum versions the new APIs from Neovim require and note this in the README.md.

Nice! Can we merge this?

Sure, just did it


Make naming of kubectl subcommands consistent

Some of the kubectl subcommands do not respect the convention we have across the rest of the CLI interface, specifically that words are separated by dashes. Specifically, this PR changes rollingupdate to rolling-update, clusterinfo to cluster-info, and apiversions to api-versions. If there's somewhere we can document this as a conventions, please point me to it and I can update it.

I am on a phone, so not reviewing at the moment.  Is this a compatible
change or breaking?
On Mar 27, 2015 4:29 PM, "Sam Ghods"<EMAIL_ADDRESS>wrote:

Some of the kubectl subcommands do not respect the convention we have
across the rest of the CLI interface, specifically that words are separated
by dashes. Specifically, this PR changes rollingupdate to rolling-update,
clusterinfo to cluster-info, and apiversions to api-versions. If there's
somewhere we can document this as a conventions, please point me to it and
I can update it.
You can view, comment on, or merge this pull request online at:
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118
Commit Summary

Make naming of kubectl subcommands consistent

File Changes

M cluster/kube-up.sh
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-0
(2)
M contrib/recipes/README.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-1
(2)
A contrib/recipes/docs/rolling_updates_from_jenkins.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-2
(57)
M contrib/recipes/docs/rollingupdates_from_jenkins.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-3
(4)
M docs/cli-roadmap.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-4
(2)
A docs/kubectl-api-versions.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-5
(52)
M docs/kubectl-apiversions.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-6
(6)
A docs/kubectl-cluster-info.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-7
(52)
M docs/kubectl-clusterinfo.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-8
(6)
R docs/kubectl-rolling-update.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-9
(10)
M docs/kubectl.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-10
(6)
M docs/man/man1/kubectl-apiversions.1
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-11
(6)
M docs/man/man1/kubectl-clusterinfo.1
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-12
(6)
M docs/man/man1/kubectl-rollingupdate.1
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-13
(10)
M docs/man/man1/kubectl.1
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-14
(2)
M docs/replication-controller.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-15
(2)
M examples/update-demo/README.md
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-16
(4)
M pkg/kubectl/cmd/apiversions.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-17
(2)
M pkg/kubectl/cmd/clusterinfo.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-18
(2)
M pkg/kubectl/cmd/rollingupdate.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-19
(14)
M test/e2e/kubectl.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118/files#diff-20
(4)

Patch Links:

https://github.com/GoogleCloudPlatform/kubernetes/pull/6118.patch
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118.diff

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118.

Breaking. I don't know of a way to continue to support the old versions in parallel that doesn't make things really messy. You could abstract the relevant cobra commands and add them twice under two different names, though that would also make both new and old names show up when you run kubectl help.
I do think we need to not delay doing this since we should set and stick to the convention now before 1.0 when we can't change it at all. These are also fortunately three of the less-oft-used commands so IMO the change is unfortunate but acceptable at this point.

Is supporting both old and new at the same time such a bad answer?
On Mar 28, 2015 3:43 PM, "Sam Ghods"<EMAIL_ADDRESS>wrote:

Breaking. I don't know of a way to continue to support the old versions in
parallel that doesn't make things really messy. You could abstract the
relevant cobra commands and add them twice under two different names,
though that would also make both new and old names show up when you run kubectl
help.
I do think we need to not delay doing this since we should set and stick
to the convention now before 1.0 when we can't change it at all. These are
also fortunately three of the less-oft-used commands so IMO the change is
unfortunate but acceptable at this point.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118#issuecomment-87324428
.

Assigning @thockin, feel free to re-assign.

At minimum, a breaking change would need to be pre-announced on kubernetes-announce.
What commands adhere to this convention now? Just port-forward and run-container, which almost nobody even knows about? I'd guess that rollingupdate is more widely used than those.
FWIW, our resource types (e.g., replicationcontroller) are not hyphenated.

It looks like cobra does support command aliases:
https://github.com/spf13/cobra/blob/master/command.go#L38

Users shouldn't need to worry about what's hyphenated and what's not hyphenated. How about we make the canonical names hyphenated for readability, but also support unhyphenated forms, and potentially abbreviations as well?

It looks like cobra does support command aliases

I missed that - I will add aliases to make this a non-breaking change.

What commands adhere to this convention now? Just port-forward and run-container, which almost nobody even knows about? I'd guess that rollingupdate is more widely used than those.

This is more about the future than the present. As we add more commands we should follow a convention, and already all of our command line parameters and half our subcommands follow hyphens, so I propose we keep that.

Users shouldn't need to worry about what's hyphenated and what's not hyphenated. How about we make the canonical names hyphenated for readability, but also support unhyphenated forms, and potentially abbreviations as well?

I like the git way of doing this - have only one built-in way of doing it, and allow people to configure custom aliases in their .kubectlcfg files. I think we should add these aliases for backwards compatibility for now, announce that we're deprecating them, and eventually remove them by 1.0. Otherwise it's just too much cruft in the long run to juggle several aliases for every subcommand.

I'm fine with aliasing and deprecating.
On Mon, Mar 30, 2015 at 11:34 AM, Sam Ghods<EMAIL_ADDRESS>wrote:

It looks like cobra does support command aliases
I missed that - I will add aliases to make this a non-breaking change.
What commands adhere to this convention now? Just port-forward and
run-container, which almost nobody even knows about? I'd guess that
rollingupdate is more widely used than those.
This is more about the future than the present. As we add more commands we
should follow a convention, and already all of our command line parameters
and half our subcommands follow hyphens, so I propose we keep that.
Users shouldn't need to worry about what's hyphenated and what's not
hyphenated. How about we make the canonical names hyphenated for
readability, but also support unhyphenated forms, and potentially
abbreviations as well?
I like the git way of doing this - have only one built-in way of doing it,
and allow people to configure custom aliases in their .kubectlcfg files. I
think we should add these aliases for backwards compatibility for now,
announce that we're deprecating them, and eventually remove them by 1.0.
Otherwise it's just too much cruft in the long run to juggle several
aliases for every subcommand.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/6118#issuecomment-87782871
.

@jlowdermilk re. protocol for deprecating commands in kubectl

I think the nice way to deprecate commands is to have the deprecated command issue a warning but continue working for at least one release. This gives a window to fix up tests/scripts/documentation/etc that use the command before it breaks

This is no longer a breaking change. Using the old version prints a deprecation warning but still works.
This is ready for review - the implementation of the deprecation warning is not abstract, but it's because cobra doesn't tell us the actual command that was run (that I could tell), and automatically extracting the right param that matches the command that is being run is non-trivial. If anyone can see a better way to do it I'm happy to implement it.
Likely the right long-term solution is to port this into cobra itself, but for now since this code hopefully only needs to be in here for a couple releases, and we shouldn't be needing to do rename subcommands like this too often in the future, this seems sufficient.

LGTM. Thanks for making it non-breaking.


Add support for lists in from html plugin

Hi Guys,
I tried to add support for OL and UL lists in from_html plugin.
I have few issues there, the biggest one is that I don't know how to add bullet point so there is dash for now.
Another one si with spacing from bottom on lists which is probably not done very clever way :)
Feel free to ignore or change anything here as its not perfect, but I saw few people demanding support for lists so it might help someone.

Weirdly enough, this version of the plugin (the one referenced and linked in the Fiddle) supports bulleted lists, but in the current version, the bullet is bottom-aligned to the current  tag it belongs to when the text exceeds two lines - why would an older version support a feature the newer version no longer does?
I've tested my content in the Fiddle above, and even downloaded the version in the fiddle and tested against the content, and it aligns correctly, but going back to the current version (1.2.61), the bullets are bottom-aligned to the list-item block of text (again, when the text exceeds two lines).


[discussion] using feathers-vuex as a client-side incremental cache

One of the wonderful things about feathers-vuex is that it loads back-end data, keeps them in browser's memory (vuex states), and updates them via socketio when needed. This makes it a handy tool to do client-side cache so that we don't need to waste band-width to request the same data again and again.
Here I want to discuss what we should do to make it easier to turn feathers-vuex into an out-of-box client-side incremental cache.
Previously I use raw client-side feathers services to cache data, and use feathers-reactive and vue-rx to let vue components be able to subscribe these data from the client-side feathers services. This approach requires considerable knowledge of rxJS, and not all team members feel comfortable with it.
Another possibility is to use the newly developed feathers-offline-realtime and feathers-offline-publications. Pros: they provide out-of-box data-replica and syncing between client and server, and furthermore, allow easy configuration and optimization of event filtering on the the server side. Cons: 1) they are designed to sync the whole back-end service data or a subset of the data with a given query, so they do not support incremental cache (i.e. querying and caching some records at first, and then run new find\get methods to add more records into the cache later); 2) Still need to write some rxJS code to glue feathers data and vue components.
I have discussed similar topic with @eddyystop on the feathers-offline-realtime project (https://github.com/feathersjs/feathers-authentication-management/issues/8#issuecomment-313148338). Later I realized the realtime strategy, by its nature, is for replication of a given service over a given query, not for incremental caching.
I think feathers-vuex is currently the best way to fulfill a full-functional client-side incremental cache for applications using feathers and vue. It naturally allows incrementally adding new records into the store, and since it uses vuex, no need for rxJS subscriptions.
Based on what we already have, I propose several new APIs for the service module, which can make the caching process easier:

a new option in the params object  for the get action, which makes the get firstly look for the given id in the vuex state (similar to the get gettter). If the item exists, bypass the remote request and just return the item in the vuex state with a resolved promise; if not, request the item from remote server normally, cache it in the vuex store, and return it (similar to the original get action).

a new option in the params object for the update and patch actions,  which enables optimistic mutation, i.e., mutating the data in the vuex state first, letting the back-end do the same mutation, and in case of back-end error, restoring the old data to the vuex state. Currently we can write some code to use the copy object to do this job, but it would be nice to include this in the offical API.

(not necessary) some volume-control strategies to prevent the unlimited growing of the cache in the vuex store. It would be wonderful to provide some API to let user determine the maximum size of the keyedById object of a certain service module, and use LRU or random strategy to expire some old records in the module when it grows too big. Or we can have an expiration time for all the records in the service module.

What do you guys think of it?

I like these ideas.  I've wanted to implement a fall-through cache since I made the first version.  I've spent all my time thinking of how to implement it for find.  Pagination makes it difficult.  Implementing get will be very easy, though.
For #1, I'd like to see some internal connection detection and have the default behavior be checking the store, first, immediately returning any cached result while simultaneously making the remote query.  When it returns, we'd update the data.  We could use the param you mention to disable the request.
I really want to implement fall-through caching for find, but it's a bit difficult when it comes to pagination.  $skip is particularly problematic, because you don't have all of the same records on the client as you might on the server.  Still looking for a solution that works well.
For #2 (similar to #1) I also wanted to make optimistic mutation the default and allow the ability to turn it off two ways: a param or an init option.
For #3, maybe we can keep a timestamp of when every record is changed and allow a configurable expiration to wipe out old data.  It could occur at an interval OR manually.

I have been thinking of the fall-through find for a long time, and then realised that in most cases people just do not need such an intelligent find. When we do get we always are not sure if the item wanted has been cached by a previous find or not; on the contrary when we do find we are probably aware of whether we want to find in cache or from server.
So in my opinion this is not a very commonly required feature, and we can try to dig it further in the future.

@beeplin this makes perfect sense for .get requests, and I definitely support implementing it.  Please branch all PRs from the models branch, since I’m about to release, and it has a lot of changes.  ;)

sure, will check the models branch soon.

This has been released in<EMAIL_ADDRESS>

Hello @marshallswain we have been creating an app that needs to work in online / offline modes and we're using feathers-vuex. It works great in offline mode (i.e. state keep values cached) but when app starts in offline mode it fails on 'authenticate()' method. Is there a solution to this?

Yes.  Don’t authenticate.  Instead, decode the JWT and grab the userid
Have a great day!
Marshall

From: HireBrains<EMAIL_ADDRESS>Sent: Wednesday, August 14, 2019 10:04 AM
To: feathers-plus/feathers-vuex
Cc: Marshall Thompson; Mention
Subject: Re: [feathers-plus/feathers-vuex] [discussion] using feathers-vuex as a client-side incremental cache (#42)
Hello @marshallswainhttps://github.com/marshallswain we have been creating an app that needs to work in online / offline modes and we're using feathers-vuex. It works great in offline mode (i.e. state keep values cached) but when app starts in offline mode it fails on 'authenticate()' method. Is there a solution to this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/feathers-plus/feathers-vuex/issues/42?email_source=notifications&email_token=AAA7OWPMGPITD4BG4N7YMHDQEQUI5A5CNFSM4DYGK7T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JJAYQ#issuecomment-521310306, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAA7OWMOWIZNAQPB6XLGQKDQEQUI5ANCNFSM4DYGK7TQ.


Can't Build in nw.js 0.25.0

errno: -4058,
code: 'ENOENT',
syscall: 'lstat',
path: 'C:\Users\AppData\Roaming\npm\node_modules\node-webkit-
builder\cache\0.25.0\win32\ffmpegsumo.dll' }
Can't build simple application using nw.js. I was done all the solution for this error. But still i'm facing this issue. Any one please help.

I just tried it here on my Mac and it was fine. Is this still a problem for you? I can try it on a Windows machine when I get a chance

closing due to staleness