Add array serialization helpers

Add array serialize/deserialize helper, fix Message.photo, Message.new_chat_photo, Message.entities

Done. Won't fix for 2d arrays, there will be some boilerplate code in setter, but it's autogenerated anyway.


Create compose files for application development

Signed-off-by: Adam Ludvik<EMAIL_ADDRESS>

I decided this is a bad idea and we should instead get stable packages published to appropriate package management tools for each language.


feat: support sx-api with subqueries

Test with: https://github.com/snapshot-labs/sx-api/pull/152
Test plan

Whole app should work as before.

Changing to props.proposal.space.id here does the fix but there is still some issue to render the modal content.
https://github.com/snapshot-labs/sx-ui/blob/f9e5550097c81a40ebb55b98983c8e9ee08b0f81/src/components/Modal/Votes.vue#L25


 Seems like they should be show up as (parking) buildings.

What are they tagged as?
On Friday, October 9, 2015, Nathaniel V. KELSO<EMAIL_ADDRESS>wrote:

Around the new Mapzen SF office are a bunch of parking garage buildings
with height information, but they don't show up as buildings. Seems like
they should be show up as (parking) buildings.
—
Reply to this email directly or view it on GitHub
https://github.com/mapzen/vector-datasource/issues/295.

See the way on OSM: https://www.openstreetmap.org/way/192306745
amenity	parking
building	yes
height	30 m
parking	multi-storey

I added building=yes yesterday, but it already had a height and parking=multi-storey which to me implies building=yes.

Looks like there's about 18,000 uses of multi-storey, and while most appear to have some kind of building tag too, it's easy enough to make multi-storey imply building.
Should we do a similar thing with the underground parking and have it imply building and layer=-1?

My 2 cents: it might be useful to have some kind of general underground
designation, for easier filtering (and just less obscure to consumers than
layer=-1).
On Fri, Oct 9, 2015 at 12:18 PM, Matt Amos<EMAIL_ADDRESS>wrote:

Looks like there's about 18,000 uses of multi-storey
http://taginfo.openstreetmap.org/tags/parking=multi-storey, and while most
appear to have some kind of building tag too
http://taginfo.openstreetmap.org/tags/parking=multi-storey#combinations,
it's easy enough to make multi-storey imply building.
Should we do a similar thing with the underground parking and have it
imply building and layer=-1?
—
Reply to this email directly or view it on GitHub
https://github.com/mapzen/vector-datasource/issues/295#issuecomment-146915758
.

We’re using location=underground for buildings like BART starting in
v0.4.0
On Fri, Oct 9, 2015 at 9:23 AM, Brett Camper<EMAIL_ADDRESS>wrote:

My 2 cents: it might be useful to have some kind of general underground
designation, for easier filtering (and just less obscure to consumers than
layer=-1).
On Fri, Oct 9, 2015 at 12:18 PM, Matt Amos<EMAIL_ADDRESS>wrote:

Looks like there's about 18,000 uses of multi-storey
http://taginfo.openstreetmap.org/tags/parking=multi-storey, and while
most
appear to have some kind of building tag too
<http://taginfo.openstreetmap.org/tags/parking=multi-storey#combinations
,
it's easy enough to make multi-storey imply building.
Should we do a similar thing with the underground parking and have it
imply building and layer=-1?
—
Reply to this email directly or view it on GitHub
<
https://github.com/mapzen/vector-datasource/issues/295#issuecomment-146915758
.

—
Reply to this email directly or view it on GitHub
https://github.com/mapzen/vector-datasource/issues/295#issuecomment-146919023
.


Entry screen and Channel Loader improvements (perf part 4)

Summary
This is part 4 for the cold start improvements:
In this PR the Channel Loader is rendered without the LinearGradient, this way it takes about 200ms to load instead of 600ms, the PR also makes sure that the Entry Screen is loaded without localization files that way there is no more gap and there is no white screen visible for a short moment.

@miguelespinoza done!


UI unbundle

Hi guys,
with the following issue I would like to introduce a proposal to unbundle the micro-fe orchestration logic from the provided UI. The purpose of the proposal is to the decouple them and offer to our users the ability to build a custom UI around the orchestrator.
How we can divide it?
In the following picture I selected with an orange rectangle the part that should be in the UI package, while I selected with a green rectangle the part that should be in the orchestrator package.

How to re-organize it?
In order to encourage the creation of other UIs for micro-lc, I suggest to move the current UI part into a new repository. It can be seen as a net detachment, but I think that can be useful as base project to start your own new UI around micro-lc, to facilitate potential new users.
Technical approach
To follow the micro-lc's framework-agnostic principle, I suggest to keep a framework-agnostic approach even in this solution.
The UI around it can be done with every framework or even vanilla (for example, we will keep our UI made with React): to make it possible, micro-lc must be available as web-component.
The web-component, that is framework-agnostic by design, will act as always: it will call /api/v1/microlc/authentication and /api/v1/microlc/configuration and will manage the micro-frontend loading according to the defined pluginRoute.
Distribution methods
To facilitate the integration in other UIs, I suggest to make the micro-lc web-component available as npm package.
The current Docker Image will still be available, for who wants to use it as an application shell.
Also, a new Docker Image will be available for the default UI that we provide, to give the same deployment approach that we already provide.
Breaking changes
All this kind of work involve in a lot of breaking changes.
I tried to make a rough estimate, and here follows the results:

The micro-lc core configuration, exposed through /api/v1/microlc/configuration, will not contain anything about theming, analytics and so on. It will contain only the plugins' configuration.
The current plugin configuration in the core will loose all the UI-related information, as label, icon and order because it will not manage its display anymore.
The UI configuration will be exposed with the /api/v1/microlc/configuration/{configurationName} API, and will include the informations about theming, analytics... previously excluded.
In order to correctly associate a plugin with its labels, icons and behavior, will be used the plugin id.

An example of a new core configuration can be:
{
  "plugins": [
    {
      "id": "plugin-1",
      "aclExpression": "groups.admin || groups.superadmin",
      "integrationMode": "qiankun",
      "pluginRoute": "/myAwesomePlugin",
      "pluginUrl": "https://plugin-url.com",
      "props": {}
    },
    {
      "id": "plugin-2",
      "integrationMode": "href",
      "externalLink": {
        "url": "https://external-site.com",
        "sameWindow": false
      }
    }
  ]
}

While an example of configuration for the UI can be:
{
  "theming": {
    "header": {
      "pageTitle": "Mia-Platform",
      "favicon": "https://favicon-url.com"
    },
    "logo": {
      "url_light_image": "https://logo-url.com/light",
      "url_dark_image": "https://logo-url.com/dark",
      "alt": "My awesome logo"
    },
    "variables": {
      "primaryColor": "red"
    },
    "menuLocation": "topBar"
  },
  "analytics": {
    "privacyLink": "https://policies.google.com/",
    "disclaimer": "We use analytics cookies for...",
    "gtmId": "GTM-XXXXXX"
  },
  "plugins": {
      "plugin-1": {
          "label": "Plugin number 1",
          "icon": "fas fa-rocket",
          "order": 0,
      },
      "plugin-2": {
          "label": "Plugin number 2",
          "icon": "fas fa-TAG",
          "order": 1,
      }
  }
}

BE CAREFUL: the above UI settings will be used by the UI that we already provide. If a user wants to create his UI from scratch, he can create his own configuration
Communication interfaces between UI and micro-lc
In order to communicate to the UI the plugins that has been loaded with micro-lc, we can use two approach:

Make them available in an freezed object stored inside the window;
Include them in the detail part of a Custom Event.

I prefer the second approach, as it results much cleaner IMO.
Conclusions
This refactoring will make micro-lc more general purpose, and will allow our teams to customize the UI around each customer needs.
Let me know what do you think about it!

Good works!
Just a few questions.
With this change, theme is per configuration and not per micro-lc instance. But could be useful to have a basic default theme across all plugins? Because I suppose that all the pages of an instance should share a theme, and repeat it in multiple configuration could not be the better approach (at least for variables and logos). What do you think?
We could share it through a theme api exposed by micro-lc backend?
Also for the analytics, it is not really a UI configuration. It is correct to move it in another plugin?
In the communication interfaces, the Custom Element should be a Custom Event (as the link), I suppose.
With the approach of the Custom Event, if the layout load after micro-lc the component could not load correctly if the event is fired before the render of the UI.
With the approach of the freezed object in window, if we have multiple instance of micro-lc the object should be namespaced in some way. The freezed object must be read only from the UI plugin, and not from the micro-lc instance. Correct?

Hi @davidebianchi,
with this proposal, the UI package will be the component who load micro-lc: so, the theming configuration is loaded once for each micro-lc instance. This means that the UI that you will provide around micro-lc will always be there to show the registered plugins and so the shared theme between plugins could not be necessary.
The API that will provide these configurations could be the general-purpose /api/v1/microlc/configuration/{configurationName}.
For the analytics part, is an open point. I supposed to be an UI-related part because we currently show a pop-up to accept the cookie, and the user could customize even this aspect.
I confirm that the proposal for the communication is based on Custom Event (sorry, my bad), but I don't agree about the loose of the initial event: as I wrote at the start of this answer, the UI will always be around micro-lc, so its duty is to also load the micro-lc web-component inside itself. In this way, micro-lc is bootstrapped always after the ui and you can always receive the event.
For the freezed object, I imagine that its content is read-only, but the reference of the object can be replaced without any problem, because it is not actively used by micro-lc.

Thank you for the clarification, it's ok for me!

It's ok for me!
Great job @ilteoood

It's ok for me too! Nice feature!


[5.8] Remove unused Migrator $notes dynamic property

Migrator class has dynamic $this->notes property, which not using.
It looks like legacy code because there is note method, but it uses $this->output to write notes.
protected function note($message)
{
    if ($this->output) {
        $this->output->writeln($message);
    }
}

#24811 forgot to remove the property.

@staudenmeir, thanks for the link!


Add option to force the path to the Oracle client

Is your feature request related to a problem? Please describe.
At work I normally use a 32 bits Oracle (I don't know why. The environment comes ready for every new employee and it targets a shared drive), but SQLTools requires 64 bits, giving me the following error when I try to connect:

Describe the solution you'd like
it would be great to have a setting to override the environment variable and set it like this:
"sqltools.oracle_home": "Path I want SQLTools to use instead of the default environment variable"
Describe alternatives you've considered
I have both changed the path and oracle_home variables and the message keeps being shown with the wrong path in it. It is still trying to connect to the old path, so may be a bug as well?
Additional context
EDIT
I found out why it wasn't working. I had two environment variables called Path. My suggestion for overriding though, is still valid.

Node-oracledb driver used in extension doesn't include pre-built 32-bit binaries at the moment unfortunatelly. https://github.com/oracle/node-oracledb/releases/tag/v3.1.0 and https://github.com/oracle/node-oracledb/issues/923

Just added a config that allows you to achieve this.
This is the text added to the docs:
If you want to use 32bits drivers or set a different ORACLE_HOME to be used with the node driver, you can achieve this using the sqltools.languageServerEnv.
{
  ...
  "sqltools.languageServerEnv": {
    "ORACLE_HOME": "YOUR PATH HERE"
  },
  ...
}

Thank you so much.
It helps me to fix another issue with another database.


v3.1.0 - Array.prototype.forEach called on null or undefined in configParser.js:154

If i use multiCapabilities the following error comes up:
[10:13:38][Step 4/5] TypeError: Array.prototype.forEach called on null or undefined
[10:13:38][Step 4/5]     at forEach (native)
[10:13:38][Step 4/5]     at Function.ConfigParser.getSpecs (/data/buildagent/work/e0815e63242a3116/node_modules/protractor/lib/configParser.js:154:27)
[10:13:38][Step 4/5]     at new TaskScheduler (/data/buildagent/work/e0815e63242a3116/node_modules/protractor/lib/taskScheduler.js:32:20)
[10:13:38][Step 4/5]     at /data/buildagent/work/e0815e63242a3116/node_modules/protractor/lib/launcher.js:173:21
[10:13:38][Step 4/5]     at _fulfilled (/data/buildagent/work/e0815e63242a3116/node_modules/protractor/node_modules/q/q.js:834:54)
[10:13:38][Step 4/5]     at self.promiseDispatch.done (/data/buildagent/work/e0815e63242a3116/node_modules/protractor/node_modules/q/q.js:863:30)
[10:13:38][Step 4/5]     at Promise.promise.promiseDispatch (/data/buildagent/work/e0815e63242a3116/node_modules/protractor/node_modules/q/q.js:796:13)
[10:13:38][Step 4/5]     at /data/buildagent/work/e0815e63242a3116/node_modules/protractor/node_modules/q/q.js:604:44
[10:13:38][Step 4/5]     at runSingle (/data/buildagent/work/e0815e63242a3116/node_modules/protractor/node_modules/q/q.js:137:13)
[10:13:38][Step 4/5]     at flush (/data/buildagent/work/e0815e63242a3116/node_modules/protractor/node_modules/q/q.js:125:13)
[10:13:38][Step 4/5] >> /data/buildagent/work/e0815e63242a3116/node_modules/protractor/node_modules/q/q.js:155
I was able to fix that by wrapping the code within an if condition like this:

I also get this problem and I am not using multicapabilities. My protractor config file:
exports.config = {
    baseUrl: 'https://staging-i6.localhost/app_test.php',
    directConnect: true,
    framework: 'custom',
    frameworkPath: require.resolve('protractor-cucumber-framework'),
    allScriptsTimeout: 60000,
    getPageTimeout: 60000,
    rootElement: 'body',
    capabilities: {
        browserName: 'chrome',
        'chromeOptions': {
            args: [ 'ignore-certificate-errors=true' ]
        },
        specs: [
            'jsfeatures/*.feature'
        ]
    },
    cucumberOpts: {
        require: 'jsfeatures/steps/*_steps.js',
        //uncomment the follwing line if you want to only run the features tagged @run
        //tags: ["@run"],
        format: 'pretty'
    }
};

Thanks for the quick error reports. This is fixed in release 3.1.1, which is out now!


[FX-2080] Utilizes ModalBase to break out of weird homepage stacking context

Re: https://artsy.slack.com/archives/C04KVDZU6/p1593699708206700
There's a lot that's weird about this 😅
You'll notice in the video in that Slack thread that it's a touch device (iPad) but if you actually try to debug this in Chrome and hit the site with touch enabled you get the Microgravity homepage view, which has a stacking context for the nav in which this isn't an issue.
So how touch is detected and routed — there's almost certainly a bug there...
The desktop/non-touch homepage also renders the nav in a different container than the rest of the site which is why it's behind everything on that view. You won't see this unless you disable touch in the responsive view. (Side note: the stack on the homepage is deeply weird — which I think stems from the way that sticky hero is hacked in there with a position: fixed and z-index: -1.)
Anyway; the ModalBase component portals out to the bottom of the document — which is how any kind of modal should work — so as to exit any immediate stacking context.

Do you have a video/screen shot of what the fix looks like @dzucconi ?

Code looks good to merge, would be helpful to have a visual of what the new changes look like, so feel free to merge when ready.

👍
Before

After

Behavior on other platforms and other viewport sizes remains the same


Update Auth to SilentAuth app-sso Sample

Bug link -
https://github.com/OfficeDev/Microsoft-Teams-Samples/issues/1015

Executed Build pipeline:
https://github.com/OfficeDev/Microsoft-Teams-Samples/actions/runs/6956660542


[WIP] Update RKDE

📝 Description

Use MaskRCNN
Remove detection and replace with new InferenceBatch dataclass

Old Results
main branch
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃        Test metric        ┃       DataLoader 0        ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│        image_AUROC        │    0.9746031761169434     │
│       image_F1Score       │    0.9677419066429138     │
│        pixel_AUROC        │    0.8531677722930908     │
│       pixel_F1Score       │    0.4130888879299164     │
└───────────────────────────┴───────────────────────────┘

New result
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃        Test metric        ┃       DataLoader 0        ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│        image_AUROC        │    0.9507936835289001     │
│       image_F1Score       │    0.9384615421295166     │
│        pixel_AUROC        │    0.7983909249305725     │
│       pixel_F1Score       │    0.3402256965637207     │
└───────────────────────────┴───────────────────────────┘

✨ Changes
Select what type of change your PR is:

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🔨 Refactor (non-breaking change which refactors the code base)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 📚 Documentation update
[ ] 🔒 Security update

✅ Checklist
Before you submit your pull request, please make sure you have completed the following steps:

[ ] 📋 I have summarized my changes in the CHANGELOG and followed the guidelines for my type of change (skip for minor changes, documentation updates, and test enhancements).
[ ] 📚 I have made the necessary updates to the documentation (if applicable).
[ ] 🧪 I have written tests that support my changes and prove that my fix is effective or my feature works (if applicable).

For more information about code review checklists, see the Code Review Checklist.

Closing as RKDE will be removed


Remove DockerDesktopEdgeInternal <IP_ADDRESS>-49104

Signed-off-by: Stefan Scherer<EMAIL_ADDRESS>
[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Cleanup and remove internal builds of Docker Desktop, which are not really useful for the community.
Microsoft Reviewers: Open in CodeFlow

/azp run


[macOS 15] Add Xcode 16.1 final version (replace the RC)

Description
Hi

do you have an ETA for replacing RC with the final version?
Thanks
Platforms affected

[ ] Azure DevOps
[ ] GitHub Actions - Standard Runners
[X] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[X] macOS 15
[ ] macOS 15 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
xcode 16.1
Is it regression?
no
Expected behavior
16.1 instead RC
Actual behavior
RC instead final one
Repro steps
read documentation

Hi @salvatoreboemia We will look into the issue and keep you posted with updates.

Hey @salvatoreboemia! 👋
It will be available with the next image release. Applied changes:

https://github.com/actions/runner-images/pull/10880
https://github.com/actions/runner-images/pull/10906

We are working on providing it ASAP, but unfortunately it cannot take less than three business days after pre-release anyway. 😞

Changes to track (macos-15, Intel-based images both regular and larger): https://github.com/actions/runner-images/pull/10912

Hey @salvatoreboemia! 👋
It will be available with the next image release. Applied changes:
* [[macOS] Add Xcode 16.1 and 16.2 Beta 1 to macOS15 #10880](https://github.com/actions/runner-images/pull/10880)

* [[macOS]Add Xcode 16.2_beta_2 to macOS 15 #10906](https://github.com/actions/runner-images/pull/10906)

We are working on providing it ASAP, but unfortunately it cannot take less than three business days after pre-release anyway. 😞

super, so basically this week will be available the new Xcode 16.1 for all macOS 15 image.
Thanks

Hi @salvatoreboemia
Xcode 16.1 is now available on macOS 15 and macOS 15 ARM. Please check.
Closing this issue. Feel free to reach out if you have any further queries.


Dockerfile image build process follow-ups

Read per commit

test-me-please

CI hit known flakes and we have approvals. Merging.


feature: support url check with regular expression matching and dynamic upstream selection

Issue description
Support url check with regular expression matching.
If  url contains some specical characters and regular expression defined matching.
Set dynamic proxy upstream point to  HTTTP Server A.
If msimatch regular expression.
Set dynamic proxy upstream point to  HTTTP Server B.
Example
URL: http://<IP_ADDRESS>/index.php?a=

@shengnoah I think Apache APISIX already support this, you can use https://github.com/api7/lua-resty-radixtree#operator-list to match uri with regex operator ~~

Yeah , "operator-list" is OK.
I think i shoud edit issue title,
"support url check with regular expression matching  and  dynamic upstream selection"
According to regular expressions match result to select a upstream server by the definition of users.

@shengnoah I think Apache APISIX already support this, you can use https://github.com/api7/lua-resty-radixtree#operator-list to match uri with regex operator ~~

@shengnoah you can write an example of this plugin. What do you think?
{
    "uri_list": [
        "/foo/glay/*", "/foo/bar", "/foo/gloo/*"
    ],
    action: {
        reject_code: 200,
        delay: 10     # 1 sec
        body: xxxx
    }
}

{
"uri_list:" [
"/test?Username=laoli&DeviceId=XDS3EFG756767676DXCVXV234234"
],
rules: {
rule:  (?:laoli)&DeviceId=XDS3EFG756767676DXCVXV234234
},
action: {
OK_proxy_pass:https://iresty.com/testcase_one
NG_proxy_pass:https://apisix.com/testcase_one
}
}

step1:
{
    uri_rules: [
        "(?:liuneng)&DeviceId=XDS3EFG756767676DXCVXV234234",
        "(?:zhaosi)&DeviceId=CDF7EFG1212345687XCEVXV678976",
    ],
    rejected_code: 403
}

step2:
{
    uri_rules: [
        "(?:liuneng)&DeviceId=XDS3EFG756767676DXCVXV234234",
        "(?:zhaosi)&DeviceId=CDF7EFG1212345687XCEVXV678976",
    ],
    honey_pot: "https://apisix.com/testcase_one"
}

step3:
{
    uri_rules: [
        "(?:liuneng)&DeviceId=XDS3EFG756767676DXCVXV234234",
        "(?:zhaosi)&DeviceId=CDF7EFG1212345687XCEVXV678976",
    ],
    honey_pot: "https://apisix.com/testcase_one",
    syslog_server: "udp://xxxx:2380/"
}

plugins:

allow-list
block-list

we can implement the plugin by 3 steps:
step1: hit rules and set response code
{
    uri_rules: [
        "(?:liuneng)&DeviceId=XDS3EFG756767676DXCVXV234234",
        "(?:zhaosi)&DeviceId=CDF7EFG1212345687XCEVXV678976",
    ],
    rejected_code: 403
}

step2: hit rules and set specify upstream
{
    uri_rules: [
        "(?:liuneng)&DeviceId=XDS3EFG756767676DXCVXV234234",
        "(?:zhaosi)&DeviceId=CDF7EFG1212345687XCEVXV678976",
    ],
    honey_pot: "https://apisix.com/testcase_one"
}

step3: hit rules and write the log to specify syslog server
{
    uri_rules: [
        "(?:liuneng)&DeviceId=XDS3EFG756767676DXCVXV234234",
        "(?:zhaosi)&DeviceId=CDF7EFG1212345687XCEVXV678976",
    ],
    honey_pot: "https://apisix.com/testcase_one",
    syslog_server: "udp://xxxx:2380/"
}

Maybe it's better to change the variable name.
uri_rules -> filter-rules
Because not just filer URLs in future.
honey_pot -> honeypot


Problem with Proposal_layer : TypeError: 'NoneType' object has no attribute 'getitem'

Hi! When I try to test the network I get the following errors:
Traceback (most recent call last):
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/script_ops.py", line 82, in call
ret = func(*args)
File "/home/user/Desktop/Diploma Thesis/Pre-Trained/tf-faster-rcnn/tools/../lib/layer_utils/proposal_layer.py", line 46, in proposal_layer
keep = keep[:post_nms_topN]
TypeError: 'NoneType' object has no attribute 'getitem'
W tensorflow/core/framework/op_kernel.cc:993] Internal: Failed to run py callback pyfunc_1: see error log.
Traceback (most recent call last):
File "./tools/test_net.py", line 138, in
test_net(sess, net, imdb, filename, max_per_image=args.max_per_image)
File "/home/user/Desktop/Diploma Thesis/Pre-Trained/tf-faster-rcnn/tools/../lib/model/test.py", line 160, in test_net
scores, boxes = im_detect(sess, net, im)
File "/home/user/Desktop/Diploma Thesis/Pre-Trained/tf-faster-rcnn/tools/../lib/model/test.py", line 96, in im_detect
_, scores, bbox_pred, rois = net.test_image(sess, blobs['data'], blobs['im_info'])
File "/home/user/Desktop/Diploma Thesis/Pre-Trained/tf-faster-rcnn/tools/../lib/nets/network.py", line 355, in test_image
feed_dict=feed_dict)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 767, in run
run_metadata_ptr)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 965, in _run
feed_dict_string, options, run_metadata)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1015, in _do_run
target_list, options, run_metadata)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1035, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: Failed to run py callback pyfunc_1: see error log.
[[Node: resnet_v1_101_3/rois/PyFunc = PyFunc[Tin=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_STRING, DT_INT32, DT_FLOAT, DT_INT32], Tout=[DT_FLOA]
Caused by op u'resnet_v1_101_3/rois/PyFunc', defined at:
File "./tools/test_net.py", line 126, in
anchor_ratios=cfg.ANCHOR_RATIOS)
File "/home/user/Desktop/Diploma Thesis/Pre-Trained/tf-faster-rcnn/tools/../lib/nets/network.py", line 305, in create_architecture
rois, cls_prob, bbox_pred = self.build_network(sess, training)
File "/home/user/Desktop/Diploma Thesis/Pre-Trained/tf-faster-rcnn/tools/../lib/nets/resnet_v1.py", line 201, in build_network
rois, _ = self._proposal_layer(rpn_cls_prob, rpn_bbox_pred, "rois")
File "/home/user/Desktop/Diploma Thesis/Pre-Trained/tf-faster-rcnn/tools/../lib/nets/network.py", line 109, in _proposal_layer
[tf.float32, tf.float32])
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/script_ops.py", line 189, in py_func
input=inp, token=token, Tout=Tout, name=name)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_script_ops.py", line 40, in _py_func
name=name)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op
op_def=op_def)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2327, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/user/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1226, in init
self._traceback = _extract_stack()
InternalError (see above for traceback): Failed to run py callback pyfunc_1: see error log.
[[Node: resnet_v1_101_3/rois/PyFunc = PyFunc[Tin=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_STRING, DT_INT32, DT_FLOAT, DT_INT32], Tout=[DT_FLOA]
Command exited with non-zero status 1
36.86user 2.62system 0:44.07elapsed 89%CPU (0avgtext+0avgdata 616096maxresident)k
526184inputs+32outputs (656major+892344minor)pagefaults 0swaps
Any ideas?

I faced this issue while making the cpu version of Faster R-CNN. The The issue was due to a wrong nms return from the nms wrapper.
Editing the nms_wrapper.py in /lib/model fixed the problem for me :
def nms(dets, thresh, force_cpu=False):
   #Dispatch to either CPU or GPU NMS implementations.

    if dets.shape[0] == 0:
        return []
    if cfg.USE_GPU_NMS and not force_cpu:
        #return gpu_nms(dets, thresh, device_id=cfg.GPU_ID)
        return cpu_nms(dets, thresh)
    else:
        return cpu_nms(dets, thresh)

Can you create a PR?


Fix sslCreds and credentialsLoader bugs

Current coverage is 83.23% (diff: 100%)

Merging #774 into master will not change coverage

@@             master       #774   diff @@
==========================================
  Files           305        305
  Lines         11646      11646
  Methods           0          0
  Messages          0          0
  Branches       1540       1540
==========================================
  Hits           9693       9693
  Misses         1526       1526
  Partials        427        427

Powered by Codecov. Last update 6b3bebc...dd7a048

Do you have any references for the bugs (threads, issues filed, etc)?

Only the email thread from earlier today, I cc'd you. Should I create issues for each of these?

Ahh ok. LGTM


Release Google.Cloud.Diagnostics packages.

Adds Google.Cloud.Diagnostics.AspNetCore3, the Google Cloud Logging, Trace and Error Reporting Instrumentation Libraries for ASP.NET Core 3. Closes #4750.
Packages in this release:

Release Google.Cloud.Diagnostics.Common version 4.2.0-beta02
Release Google.Cloud.Diagnostics.AspNetCore version 4.2.0-beta02
Release Google.Cloud.Diagnostics.AspNetCore3 version 4.0.0-beta01

The change detector is failing in Travis because Diagnostics.AspNetCore3 does not target netstandard2.0, which is true, but also right.
Looking at the script now...

I'm pretty sure it omits specific packages, and we probably just want to add this to that list - or make it smarter about not needing netstandard2.0...

Created release for Google.Cloud.Diagnostics.Common-4.2.0-beta02
Created release for Google.Cloud.Diagnostics.AspNetCore-4.2.0-beta02
Created release for Google.Cloud.Diagnostics.AspNetCore3-4.0.0-beta01


Fix usings for PR 547

@irvinesunday I fixed missing usings that were preventing the PR from compiling.
I was also considering adding a dictionary to store additional properties. But after some pondering, I wonder if we should have a dictionary of labels and pathItems.

@irvinesunday I fixed missing usings that were preventing the PR from compiling.
I was also considering adding a dictionary to store additional properties. But after some pondering, I wonder if we should have a dictionary of labels and pathItems.

What's the use case? I presume the expectation is to have only one pathItem and label per node (path)?


disable password complexity on windows

I am using a Hyper-V provider vagrant box that already has the vagrant/vagrant username/password set. These were set as part of the unattended setup bypassing password complexity enforcement.  If password complexity has not been disabled on the base box, the recipe will fail.

Just noticed this was already submitted in #105 by @manderson26 . Closing and will chime in there.


Update game_server.py

According to Nitrado docs, the parameter name is file

These are only the parameters I wanted to use, I have a feeling others might not work either.

Its been a while. I'll check in on it next week to see if any updates have occurred. Thank you.


[Style] Enhance the hover effect of navbar

Description
Update the footer hover effect by changing the background color to a lighter shade and adding a subtle text shadow. This enhancement provides clear visual feedback, making footer links more engaging and easier to interact with.
Screenshots
https://github.com/user-attachments/assets/9d60d7ef-833b-45ce-88dd-b2dde5b19b69
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

In title, you have mentioned navbar, but in the description it is footer. So whose hover effect you exactly want to enhance @heli0707

@Rakesh9100
sorry it's my mistake
I want to change the navbar hover effect and update this
https://github.com/user-attachments/assets/dc7b8b73-6654-41ee-af0c-4d27c6e30b8a
make something like this

Do you want to work @heli0707

Any update @heli0707

I'm interested in working on issue #1217. I've already reviewed the issue description and believe I have the necessary skills to contribute.
Please let me know if you're open to assigning this to me."

I am interested and capable of providing the solution to the issue. I have read and understood the issue. So please let me know if you can assign this issue to me.

Hi @Rakesh9100 , I'd like to work on this issue! I'll update the footer hover effect by adjusting the background color to a lighter shade and adding a subtle text shadow to enhance user interaction. Could you please assign this issue to me? Thanks!


support agent revocation status; refactring resolve opts

@ilya-korotya skip revocation option is supported on sdk level and allows not to include revocation info into the circuits, so zkp will be generated without checks for non-revocation of credentials.
At this moment JS SDK will not generate proof on revoked credential despite the option skip revocation


Fix large memory consumption when preprocessing

Hi,
I have recently been running your DeepHiC model on some new data and ran into some memory issues (~600Gb) when preprocessing the HiCPro output format.
It seems that the reason for this was converting the sparse contact matrix to dense matrix prematurely. By using sparse matrix operations all the way through I think you can significantly save memory and time.
Thank you for providing your code and models!

Thank you!


Report specificity, sensitivity etc for binary classification with -test

I made a small patch on my own fork to report a little bit more data with -test when growforest is finishing. It looks like this:
Error: 0.06121835978431722
Accuracy: 48510 / 51673 = 0.9387881485495326
True Negatives 24999 / Total Negatives 26585 = Specificity (True Negative Rate) 0.940342
True Positives 23511 / Total Positives 25088 = Sensitivity (True Positive Rate) 0.937141
True Positives 23511 / Predicted Positives 25097 = Precision (Positive Predictive Value) 0.936805
True Negatives 24999 / Predicted Negatives 26576 = Negative Predictive Value 0.940661
F1 Score: 0.936973

I didn't make a PR because in my little patch I just assumed I was performing classification with 2 categories (it's what I always do) and didn't check if this was really the case.
Would this be useful in general? If so, I can add the checks to run this only when it makes sense and submit it.

I'm not sure how useful it is to have these reported by the utility (i mostly export the predictions and do my validation elsewhere using roc auc) but they could certainly be in the code somewhere for others to use if needed. Thoughts?


injecting dynamic imports

I've been trying to tackle porting a project that used requirejs over to systemjs and being new to systemjs I ran into a snag.
Long story short, I'm trying to use the systemjs builder to dynamically create a build file that will inject imports into the main module based on a user request . I was able to accomplish this by hooking into the onBuildRead function in requirejs where my main module file looked something like:
var dep1 = require('dep1')
// other dependencies injected here by build
var otherDeps = {{ depsInjectedByServer }};

// to stuff with otherDeps and otherDeps to sub modules

Is there anyway I can accomplish this with systemjs?
I looked at the systemjs plugin api but I don't think it would suffice as I would need to pass along the user parameters to the translate.
Hopefully I explained what I'm doing clear enough.
Thanks.

It would help if you could clarify the use case a little more here - you're injecting requires into the main entry point based on data in the main entry point?

Sure no problem. The project I'm trying to move over to systemjs from requirejs allows users to build little widgets that are composed from many React components. The end product I'm trying to create is a single bundled js file that the user can download. Because I don't want to bundle every single React component in the library I want to be able to dynamically create a build file with only the components selected by the user.
To accomplish this in requirejs, the main entry point was injected with all the requires of the components that were needed and then bundled everything together to produce the single js script.
I'm just experimenting with SystemJS so I'd understand if this isn't in the current scope of the project. However I do enjoy using it :)
Thanks again.

Ah right I think I see what you mean - you should be able to use the builder arithmetic to generate custom bundles containing what you need. See https://github.com/systemjs/builder#example---exclusion, you could effectively do the same for addition of trees.
Alternatively you could generate the initial main entry point before running builder, containing the imports you need and then run that through the builder perhaps.

Appreciate the input. Generating the main entry point before running the builder sounds ideal. Is there a way to pass the builder the file contents as a string rather then a file path for the inital main entry point? Would a plugin be the best way to accomplish that?

@jschr do you want to generate the main entry point because you want all the scripts loaded upfront in the app? How come you don't need this functionality in development though?

The functionality is part of the process so it would be needed in dev or production. The end product is allowing users to essentially create there own dashboard. The workflow for the user is:

Select some components to import. These are UI components so I plan to generate a live preview. I was thinking I would on-demand load each component via System.import because there could be hundreds of components to choose from.

When the user is happy, they will "publish" there dashboard, at which point I will bundle all of the components they selected together into a single script file. This script file could then be downloaded or hosted but the main idea is it should only contain the components needed to render their custom dashboard.

Appreciate you taking the time to help, sorry if this is a bit out of scope!

After looking into advanced builder options, it does look like I can modify the the trace tree to either inject the imports directly into the source of the main file before calling buildTree so I might go with that approach. Thanks for your help and your work on this library.


pdctl: support health check

As mentioned in #750

what is the output for this command in pd-ctl?

@siddontang  {"health": "true"} or {"health": "false"}

LGTM.


Add ko locale

Hello!
Thanks for making a nice admin page.
I added adding Korean locale.

@hmu332233 awesome, thanks a lot!


Parse CPP line directives

It's common for advanced CMurphi users to use the C pre-processor to parameterise models. To assist with this we could (a) make # a comment-starting character and (b) have support for interpreting line directives from CPP when giving users error messages.

I think it's safe to conclude that this feature would be considered harmful by encouraging users to continue to use CPP. Closing as WONTFIX.


CPU and Memory showing weird and wrong numbers [FIXED!] #30

The changes made to INDEX.HTML was to fix the issue #30.
https://github.com/velinath/zabbixweb/issues/30

Have these changes been tested with Linux and Windows servers? Will this break backwards compatibility with Zabbix 1.8/2.2?

Closes #30, #21. References #19.
Thanks @heyvoon for your contribution!


[stable/tensorflow-notebook] Fixes compatibility with 1.16

To support 1.16. A quick overview of deprecated APIs can be found on their blog post: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/.
Signed-off-by: Xiang Dai<EMAIL_ADDRESS>

/ok-to-test

@zanhsieh test pass!

/assign @cheyang
@cheyang
Please help. Thank you.

/lgtm
/approve


Directory.Delete(outPath, true)

Seriously? What kind of Psychopath does that , without even asking for confirmation.
My bad for executing code without reading it completely first i guess.

The bank extractor is literally just used for development and debugging purposes. I didn't intend for, nor expect, anyone to download the project, compile it without reading the (very small) file, and then run it on a directory containing important stuff. This is why there is no published release, nor mention of the bank extractor in the readme. This point of this repository is the library.


jump over nested vlan tags

This PR strips all vlan tags from the packet when replaying - supporting networks with nested vlans

Thank you!


Add slot filter functions for node attribute

Description
Changes:

general filter with python lambda, but may be a little slow with big slot number
override comparison operations on attribute in c++ side, will be a little faster, but less powerful.

Linked issue(s)/Pull request(s)

issue_number

Type of Change

[ ] Non-breaking bug fix
[ ] Breaking bug fix
[ ] New feature
[ ] Test
[ ] Doc update
[ ] Docker update

Related Component

[ ] Simulation toolkit
[ ] RL toolkit
[ ] Distributed toolkit

Has Been Tested

OS:

[ ] Windows
[ ] Mac OS
[ ] Linux

Python version:

[ ] 3.6
[ ] 3.7

Key information snapshot(s):

Needs Follow Up Actions

[ ] New release package
[ ] New docker image

Checklist

[ ] Add/update the related comments
[ ] Add/update the related tests
[ ] Add/update the related documentations
[ ] Update the dependent downstream modules usage

Codecov Report

Merging #273 (15235df) into v0.2 (93db212) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             v0.2     #273   +/-   ##
=======================================
  Coverage   64.01%   64.01%
=======================================
  Files         114      114
  Lines        5605     5605
=======================================
  Hits         3588     3588
  Misses       2017     2017

Flag
Coverage Δ

unittests
64.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 93db212...15235df. Read the comment docs.


"Failed to Fetch Predictions" Error on Results Page in Cloned Branch

Description: When accessing the results page, an error message, "failed to fetch predictions. please try again," consistently appears. This prevents the predictions from being displayed correctly.
Details:
Error Message: "failed to fetch predictions. please try again."
Location: Results page
Branch: Cloned branch (not on personal fork)
Logs: No relevant logs observed in the frontend or backend consoles.
Environment:
Operating System: Windows 11
Node.js Version: 20.10.0
Additional Notes: Please let me know if there are specific files or components to review for debugging. I will also check for any related open issues, especially those concerning chatbot functionality, as they may provide relevant solutions or insights.
Thank you!

Thank you @PragatheeshAshok for bringing this up.
The issue is due to missing instructions in the README to initialize 6ml/6ml/server.py for running predictions locally.
This is on me , give me some time, I'll provide you instruction to set that locally and fix this issue .

As earlier, I found out that the issue was because the ML route wasn’t initialized, and even after initialization, it wasn't hitting the correct route. I've fixed it and pushed the changes to the localhost branch localhost. Just follow the updated README.md to set it up again.
here are the key changes in the installation instructions that were missing earlier:
Ensure Python 3.8+ is installed.
Install pip for installing Python dependencies.
Install Python dependencies for the ./6ml/6ml server:
cd ./6ml/6ml
pip install -r requirements.txt

Start the ML server:
cd ./6ml/6ml
python server.py

Let me know if you run into any other issues!


Augmentations history / Test Time Augmentation with imgaug

I'd like to do TTA with imgaug with a NN to predict bounding boxes.
So, at predicting time, let's say I'll predict 10 different versions (augmentations) of the image, and average the output.
Augmentations would include transformations like translate, zoom, etc.
Once the predictions have been done for the augmented images, how could I reverse transform the bounding boxes back to fit the original image?
For example, If imgaug a apply zoom factor of 1.15 and then shift the image 25 px to the left previous to the model.predict(...).  Then the output bounding box should be first translated 25px to the right, and the apply a zoom of 1/1.15.
If it isn't implemented by imgaug yet, it could be enought to have the augmentations history in oder my script to apply to the bounding boxes
Thanks in advance

That is currently not supported by the library. The best one can do is to use non-stochastic parameters and manually invert them. Something comparable to the following might work:
image = ... # must be defined
model = ... # must be defined

bbs_pred = []

flip = [0.0, 1.0]
crop = [0, 5, 10]
scale = [1.0, 1.1, 1.2]
for flip_i, crop_i, scale_i in itertools.product(flip, crop, scale):
    flip_i_inv = 1.0 - flip_i
    crop_i_inv = -crop_i
    scale_i_inv = 1/scale_i
    seq = iaa.Sequential([
        iaa.Fliplr(flip_i),
        iaa.CropAndPad(px=crop_i),
        iaa.Affine(scale=scale_i)
    ])
    seq_inv = iaa.Sequential([
        iaa.Fliplr(flip_i_inv),
        iaa.CropAndPad(px=crop_i_inv),
        iaa.Affine(scale=scale_i_inv)
    ])
    seq_det = seq.to_deterministic()
    seq_inv_det = seq_inv.to_deterministic()
    image_aug = seq_det.augment_image(image)
    bbs_pred_i = model.predict(image_aug)
    bbs_pred_i_inv = seq_inv_det.augment_bounding_boxes(bbs_pred_i)
    bbs_pred.append(bbs_pred_i_inv)

# ... average bounding boxes ...

First, thank you for this answer ! Is it planned to implement TTA with imgaug ? I would find it very useful !

Will be added at some point. Not sure yet when, as the implementation might end up being difficult and hence time-consuming for some augmenters.

Thanks ! :)

Will be added at some point. Not sure yet when, as the implementation might end up being difficult and hence time-consuming for some augmenters.

Hi, any plans to address this issue? Ta


highlighting paused state of the safe token contract in the asset list

Overview
When we launch SAFE, the token will be untransferable and while we educate about this within the claiming app, other Safe owners might try to transfer the token.
Executing the transaction will show a warning message, that the transaction is likely to fail as a fallback.
In the future we might want to think how paused contracts can be handled by the CGW.
Requirements

[ ] check if SAFE contract is paused
[ ] add paused icon to the safe token in the asset list
[ ] show message when hovering over paused icon The Safe Token contract is paused and the token cannot be transferred

Designs
(@liliiaorlenko)
Links

https://github.com/safe-global/safe-react/pull/4079


Add effect upon copying DAO address

Pressing the copy button does not produce visible effect for user to confirm they have copied the address

Closed in #149


Add additional information to the beans

I would like to have the following additional information around as I wasn't entirely sure of what I would need or not in the UI. Better include them while we're playing with the GraphQL queries.
Pull requests

[x] description
[x] merge date
[x] labels
[ ] current milestone

Issue

[x] description
[x] author
[x] URL to the issue

User

[ ] first name
[ ] last name

@gsmet the PR's current milestone is already set in https://github.com/quarkusio/quarkus-backports/blob/master/src/main/java/io/quarkus/backports/model/PullRequest.java#L16, do you mean something different?

Ah no, I simply missed it :). Sorry for the noise!


Differential Query for Azure AD B2C

I am trying to use a Azure AD Graph differential query to find changes in users within an Azure AD B2C tenant.
For example:
GET https://graph.windows.net/{tenantId}/users/?api-version=1.6&deltaLink=
Which results in:
Request_UnsupportedQuery Change enumeration is not supported for requested tenant.
What is a supported tenant? Should this work for Azure AD B2C?

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

ID: 44d6245e-2ebc-c815-2d35-c29450062f3b
Version Independent ID: 98ead160-0377-d530-345f-1909e0039955
Content: Azure Active Directory Graph API
Content Source: articles/active-directory/develop/active-directory-graph-api.md
Service: active-directory
GitHub Login: @CelesteDG
Microsoft Alias: celested

@sirjameswood Thanks for the feedback! We are currently investigating and will update you shortly.

A differential query is an enterprise feature rather than a B2C one. This is why it isn't available in an Azure AD B2C tenant.
Alternatively, you can access the audit logs in the Azure AD B2C tenant for the CRUD operations on users, using the Azure AD Reporting API.

We will now proceed to close this thread. If you have further questions feel free to reach out to me on MSDN and I will gladly continue the discussion. https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD


Automatic PR from RestAPI-PR641

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/641

Coverage decreased (-0.002%) to 56.169% when pulling d5b2e83c50ab6b77b22b31a157e4fcded1e5ded1 on AutorestCI:RestAPI-PR641 into 3da0d8f5f57ea33d21d98c734847b09caef014b6 on Azure:dev.

Coverage decreased (-0.002%) to 56.169% when pulling d5b2e83c50ab6b77b22b31a157e4fcded1e5ded1 on AutorestCI:RestAPI-PR641 into 3da0d8f5f57ea33d21d98c734847b09caef014b6 on Azure:dev.

Coverage decreased (-0.002%) to 56.169% when pulling d5b2e83c50ab6b77b22b31a157e4fcded1e5ded1 on AutorestCI:RestAPI-PR641 into 3da0d8f5f57ea33d21d98c734847b09caef014b6 on Azure:dev.


Update Travis file to build & push Node.js v12 image to Docker Hub.

Related to #126
Forgot to include this in the last PR... doh.

@jthomas you can merge when travis is done


Feat: ApplyOptions and CreateResolver decorators.

Closing until Favna's and my PRs are merged in klasa-decorators


time: Timer.Reset documentation not accurate for AfterFunc timers

https://golang.org/pkg/time/#Timer.Reset says:

Resetting a timer must take care not to race with the send into t.C that happens when the current timer expires. If a program has already received a value from t.C, the timer is known to have expired, and t.Reset can be used directly. If a program has not yet received a value from t.C, however, the timer must be stopped and—if Stop reports that the timer expired before being stopped—the channel explicitly drained:

And proceeds to give an example of proper usage of Reset.
But a Timer created by AfterFunc never sends on the channel.
We should probably say something about AfterFunc in the Timer.Reset docs.
/cc @dmitshur @ianlancetaylor

We should probably say something about AfterFunc in the Timer.Reset docs.

Agreed.
My parsing of the Reset documentation was that the f parameter to AfterFunc being executed is equivalent to a value being received from t.C, and I figured that t.C gets received internally by AfterFunc to call f (or an equivalent mechanism).
However, it'd be great to be explicit and more accurate about AfterFunc.

If Reset returns true, the function passed to AfterFunc will not be called.  If Reset returns false, the function has already been called in a separate goroutine.

What about changing:

Reset should be invoked only on stopped or expired timers with drained channels.

to:

For a timer created with NewTimer, Reset should be invoked only on stopped or expired timers with drained channels.

?

If we're going to change something we may as well explain what happens with a timer created by time.AfterFunc.


[BUG]: Missing type ConfirmCashappSetupOptions in "<EMAIL_ADDRESS>

What happened?
After upgrade the library to version 3.0.4 we are getting an error about missing the type: ConfirmCashappSetupOptions
It works fine in version 3.0.3
Environment
No response
Reproduction
No response

@cbala-stripe when will this be released?

This change should be released early next week. In the meantime, you can use 3.03, which should continue to work.

@richnologies @BojanKogoj The fix for this has landed in v3.0.6. Thank you for your patience. I'm going to close this ticket. Feel free to open a new issue if it resurfaces.


Change HostStatus to use only one stat per host.

This PR refactors the HostStatus module so that only one stat is created per host.  The single stat is now a string value rather than an int value.  The string value is a serialized copy of the HostStatRec struct containing all the reason codes, down times, and marked down times.  When ATS is restarted, the stat data is read from records.snap, deserialized and loaded so that each host status state is recreated from the persistent record.
Because of the stat type change from int to string, it may be required that you remove the records.snap file on a build with this commit.

Hi @vijay mamidi.  I made all the changes to the HostStatus PR and I squashed the commits.  traffic_ctl only can mark up/down using reasons active, local, and manual.  there is now-longer a down_time for self_detect.  When you look at the files on github, you need to load the diff for HostStatus.cc at the bottom.  There you’ll the handle_record_read() callback that loads the stats from records.snap

@vmamidi @jrushford I don't think we can pull this into 8.0.x can we? It's an incompatible change, right ?

@zwoop it can be done.  I cherry picked it into our internal ATS 8 and I had a back port PR for 8.0 ready but it was never merged to 8.0, https://github.com/apache/trafficserver/compare/master...jrushford:host_status_8.0.x_backport


Tool: settings.xml-overrides gets saved into speedment.json

If you open the tool, enter a different username and then save the file, it will be persisted into the speedment.json file. However, if you then rerun the tool, the default username is back. Same thing if you manually create a speedment.json-file and then run mvn speedment:reload, it is the default username that will be used.

Hm, the reason for this seems to be that overrides done in settings.xml make it into not just the runtime version of the configuration model, but also the tool input fields. This means that if you save the same file you loaded, you will save the settings.xml-username into the speedment.json-file.

The overriding values mentioned in this issue probably refers to settings.properties.

I have tried to follow the description of this bug without being able to reproduce.
settings.xml (pressumably in ~/.m2) does not affect the tool. Since #535 is fixed, I do not see how settings.properties does either.
Closing issue, please reopen with description of how to reproduce if the problem persists.


WPS_CONFIG_INIT_DEFAULT(type) error (IDFGH-1191)

Add brackets to be compatible with C99 (error: C99 designator '.manufacturer' outside aggregate initializer)

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

What can I do to be merge? Resolve a bug for arduino user

I tried that changes on a Mac, with PlatformIO, a Heltec WiFi shield, C++, (c99.
The result: it's compiling and running like I expect.
It would be a charm when this gets merged.

This has been addressed with first https://github.com/espressif/esp-idf/commit/9ebd2cc0f617c7c9b656f55868719db46562f581#diff-64c6b86dcd8c64c62ee1ef3380d4cefc and then https://github.com/espressif/esp-idf/commit/50588ff3f7cab7baa99091535e3b54991d55af07#diff-64c6b86dcd8c64c62ee1ef3380d4cefc. Fix is different than this PR to make it consistent across standards (C99 and C++).
Closing this PR.


FEAT: component de-duplication

based on the outcome of #304

[ ] have a CI switch to enable the extra processing
[ ] have implementation according to the outcome of #304
[ ] have tests according to the outcome of #304

@jkowalleck do you still plan to add this cli switch? any plan when?

@jkowalleck do you still plan to add this cli switch? any plan when?

as soon as #304 is solved.


Very slow rendering performance with very long lines

See also #6885 (closed), #55605 (seems to be a different cause), and #61533 (about tokenisation).
If I open a JSON file with very long lines, and set it to plain text (so it isn't tokenised / syntax highlighted), then scrolling performance is very bad. Selection and editing do not seem too bad (with plain text mode at least).

VSCode Version: 1.28.2
OS Version: MacOS 10.13.6

Steps to Reproduce:

Make a file with a load of long lines (mine are 2400 characters long).
Try and scroll in it.

Here's the profiler output - seems pretty clear where the problem is! The smaller purple bit is 'recalculate style'.

Does this issue occur when all extensions are disabled?: Yes

@rebornix, can you link me to the duplicate?


added example ollama bot (may change signiticantly)

added new command !goToCoordinates and changed commands !nearbyBlocks and !entities to be more descriptive
also made some changes to the log function so that it's failure doesn't stop the ai from completing a task

Closing. Looks like a personal edit with many experimental and debugging changes, many of which I disagree with like removing gotoblock.
To be accepted, a PR should be focused on a single feature or change.


Use xhr.onreadystatechange for basic ie8 compatibility.

Use with es5-shim, es5-sham and es6-promise.

See #96.

I'm maintaining a fork camsong/fetch-ie8 will support IE8 in the near future.


Update Pallet placeholder struct as per FRAME v2

In the entire codebase, this change has been done as per FRAME v3:
- pub struct Pallet<T>(PhantomData<T>);
+ pub struct Pallet<T>(_);

That's it!

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable-int
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2970637

bot merge

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable-int
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2970979

@abhi3700 please fix the CI errors, eg:
error: unused import: `marker::PhantomData`
    --> frame/contracts/src/lib.rs:132:26
     |
 132 | use sp_std::{fmt::Debug, marker::PhantomData, prelude::*};

Ok will fix it.

bot merge


Add configuration back

@dbu Better now?
Two things I am not completely sure about:

Currently the service is defined in the extension. I didn't want to inject the config as parameters. Does it violate any Symfony Best Practice?
If translations are turned of, you can and you HAVE TO override all the labels, otherwise you get trans keys. Any ideas to make it better?

Currently the service is defined in the extension. I didn't want to inject the config as parameters. Does it violate any Symfony Best Practice?

i am not exactly sure if there are rules about that. but i always see setting the configuration in a container parameter and have the service definition. imho it would be the expected way, rather than define the whole service in the extension class. there is no harm in having that container parameter imho. and a parameter can also contain an array, so you would not need to change the twig extension signature.


Piping data from the built-in prompt into a script

Please describe the problem you're trying to solve
I don't like that I have to show the terminal if my simple script binding requires an input. I know it could be worked around using lua plugin, but for simple scripts I would like to stay with TOML config.
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
It would be nice to show a simple input UI already built-in to gather some text and pass it to the next command. I would like to have something like:
{ on = "a", run = [ "show-input", "shell --block --confirm 'echo "$INPUT_DATA"'" ] }

or something like that
Additional context
No response

I don't think this makes sense because Yazi's commands are executed concurrently. The show-input command needs to wait for user input, so it's an asynchronous command. This means the shell command will execute immediately without waiting for show-input.
Also, while show-input is running, any background plugin could interrupt it (plugins have full control over the input component), leading to incorrect shell parameters unless we introduce additional execution state between commands.
In Yazi, plugins are first-class citizens. The functionality you're describing can easily be implemented through the plugin system and would make a great general-use plugin. What you're asking for is very similar to https://github.com/Ape/open-with-cmd.yazi.
Given these reasons I'm going to close this issue as it's not in the plan.

I tried to create such a plugin, but with the current syntax of args it looks pretty messy. Imagine something like that:
run = "plugin --async run-with-input --args='--block --confirm --title=\"Archive name:\" --command=\"zip %s $@\"'"

and it is just for a simple case. That's why it would be better to have it built-in. As you said, the current implementation wouldn't work because of asynchronous issues. So maybe, there could be introduced a different mechanism for such case?
Like:
run_with_input = "shell --block --confirm 'zip %s.zip $@'" , input_title = "Archive:"

However, I understand if you don't want to introduce more options in the config and if you prefer to delegate such cases to Lua.

I plan to simplify the shell and plugin commands in the next target (0.3.1) by adding macros. At that point, you'll be able to write it as:
!run-with-input "zip %s $@" --block --title="Archive name:"

where !run-with-input represents plugin run-with-input --args='...' (note that the plugin command doesn't have the --async flag because it's asynchronous by default).
The --confirm option will also be deprecated in the next target, as it will no longer be necessary once we require the explicit --interactive option.
Similarly, shell commands will also be simplified. For example, shell --block --confirm 'echo "$@"' can be written as :echo "$@".
I believe that through this series of simplifications, it will allow plugins to be more expressive.

Sounds great! Those changes will simplify keymaps a lot.


chained action in response is not clickable, can only be deleted

Issues
When in the action screen on the response tab, a chained action once attached, does not go to edit screen once clicked:

Only the x icon works. I think when I click on "chained thanks" it should be a button that allows me to edit the chained action.

Did you download a release or pull from Master? Which release?
release 22.0
What operating system are you running?
10 pro
Are you running locally or in the cloud?
local
Which browser are you using?
FF

I imagine we'll tackle this one along side of #734

Closed by https://github.com/samtecspg/articulate/commit/362c36f70e01e30b7ad28503c0c2d4955799fa83


Update the docs

Remove docs.rs link from README; docs.rs can't build this crate
For some reason, gh-pages don't get pushed automatically; figure out why and update them

Fixed in 840887a555d988a714e2c1de9792734ea8e453e7 and 1a1f1468615a3ed87903acf859b4113f4f04f0e6.


autovalidate issues

[x] pkgdown is used in R/dataset_vignette.R. pkgdown is not available on enableR 4.0.4 so it should be removed from this file. Replace pkgdown::in_pkgdown with identical(Sys.getenv("IN_PKGDOWN"), "true").

[x] pkgdown can't be temporarily installed on enableR 4.0.4 because of a system dependency issue. All suggested packages must be temporarily installed to pass the validation so this causes an issue. The two solutions are to remove it from Suggests or to add a note in cran-comments.md justifying why this issue can't be resolved. I will bring this up in our Tuesday meeting and get back to you with our advice.

[ ] There are test failures at test-derive_param_exposure.R:81:3 and test-derive_param_tte.R:600:3. Both have the same problem of a date-time column not having a timezone attribute.

x |   3 1     | derive_param_exposure [0.2 s]
──────────────────────────────────────────────────
Failure (test-derive_param_exposure.R:81:3): new observations are derived correctly for AVAL
Differences found between the objects!

A summary is given below.

There are columns in BASE and COMPARE with differing attributes !!
All rows are shown in table below

  ===============================================
   VARIABLE  ATTR_NAME  VALUES.BASE  VALUES.COMP
  -----------------------------------------------
    AENDTM     tzone       NULL          UTC
    ASTDTM     tzone       NULL          UTC
  -----------------------------------------------

x |  10 1     | derive_param_tte [1.5 s]
──────────────────────────────────────────────────
Failure (test-derive_param_tte.R:600:3): new observations analysis datetime based on DTC variables are derived correctly
Differences found between the objects!

A summary is given below.

There are columns in BASE and COMPARE with differing attributes !!
All rows are shown in table below

  ===============================================
   VARIABLE  ATTR_NAME  VALUES.BASE  VALUES.COMP
  -----------------------------------------------
     ADTM      tzone                     UTC
  -----------------------------------------------

[x] Remove hms from Imports because it is not used anywhere in the package.

[x] Move admiral.test from Imports to Suggests because it isn't used in the package functions.

[x] Remove cross-links like "[ae]" from R/data.R file, they cause a few issues so if they are not absolutely needed they should be removed.

[x] All exported functions need to be covered by at least one test. 5 functions are not covered by any test. I am also getting a warning that the reexported functions in R/reexports.R don't have any tests. This can be solved by adding a single test for each but I will discuss with my team what the best way to handle this is.

dataset_vignette is not covered by any test
derive_agegr_fda is not covered by any test
derive_var_worst_flag and/or derive_worst_flag are not covered by any test
get_many_to_one_dataset is not covered by any test
get_one_to_many_dataset is not covered by any test

Some further comments:

Nothing needs to change with pkgdown, it can stay in Suggests
You don't need to add tests for reexported functions

@dgkf-roche I cannot re-produce the failing tests due to a missing timezone attribute (neither locally nor on CI plus CRAN did not detect those either). Any ideas?

Thanks @thomas-neitmann - let me double check on this. My suspicion is that this is dependent on the environment variable TZ. The system that I'm testing this against has TZ unset.
It's probably uncommon that TZ is unset on a system, so this is probably a rare test issue. Whether set or not, it looks like this test may fail if TZ is ever a location that falls outside of UTC. In any case, it might be a good idea to set a fixture for this envvar to constrain the test.

Okay, I did a bit more investigation and found that it's not related to the TZ envvar at all. It's stemming from bind_rows - likely due to an outdated package on my end.
Tracing the variable attributes through the error, they make it up until this bind_rows call:
https://github.com/pharmaverse/admiral/blob/346733b012df8bb64a2b7708ea769faeae29223c/R/derive_param_exposure.R#L210
I think this boils down to needing an updated version of vctrs, but I need to dot more digging to pin down the point of failure. Surprisingly, doing a simple bind_rows on two POSIXct columns does not drop this attribute, and I'm still trying to pinpoint what is unique about the example that is causing the attributes to get dropped.
For the record, I'm running
dplyr 1.0.5
vctrs 0.3.7
rlang 0.4.10

And, finally a reproducible example that distills this issue:
Debugging the bind_rows call, I see that expo_data has an extra iso_dtm subclass
https://github.com/pharmaverse/admiral/blob/346733b012df8bb64a2b7708ea769faeae29223c/R/derive_param_exposure.R#L210
Browse[1]> attributes(dataset$AENDTM)
# $class
# [1] "POSIXct" "POSIXt"
#
# $tzone
# [1] "UTC"

Browse[1]> attributes(expo_data$AENDTM)
# $tzone
# [1] "UTC"
#
# $class
# [1] "iso_dtm" "POSIXct" "POSIXt"

Similarly, if I just create two minimal tibbles to try to join, I see the same thing
t <- ymd_hms("2020-02-22T00:00:00")
l <- tibble(x = t)
r <- tibble(x = admiral::as_iso_dtm(t))

attr(l$x, "tz")
# [1] UTC

attr(r$x, "tz")
# [1] UTC

attr(dplyr::bind_rows(l, r)$x, "tz")
# NULL

attr(vctrs::vec_rbind(l, r)$x, "tz")  # vec_rbind called internally by bind_rows
# NULL

As far as I can tell, there aren't other moving pieces to break down. bind_rows seems to be primarily dependent on vctrs::vec_rbind behavior, and vec_rbind just calls out to some C code. I tried running this against the latest vctrs release as well to no avail.
Let me know if there's anything more I can do to chase this one down.


Blank screen after unexplained WebGL failure

Discord username
No response
What type of issue is this?
Transient – Occurring only once
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
On a fresh run, out of nowhere, got a blank screen.

Expected behaviour
Probably chrome went nuts. But even if, we should have some way of notifying the user and potentially suggesting a restart.
How we can reproduce it?
One-off, not able to reproduce.
Screenshots or screencasts
See screenshot.
Logs
No response
Enso Version
6de2700209a51d70b7a6aa8d5664ba6062d98f51
Browser or standalone distribution
Chrome
Browser Version or standalone distribution
110.0.5481.100
Operating System
Linux
Operating System Version
No response
Hardware you are using
No response

Probably chrome went nuts. But even if, we should have some way of notifying the user and potentially suggesting a restart.

And we need to do it in HTML if WebGL does not work. I will merge it with #5201

In new GUI there is no webgl


[BUG]: Login With GitHub Not Working

Operating system
MacOS Ventura 13.2.1
Bug description
Logging in with GitHub doesn't redirect me to the dashboard. Probably something to do with timer in _app.ts deleting the expect-user=true local storage object too early, but need to investigate further
Steps to reproduce
When attempting to login with Github  in DLP on Firefox, it stays at the /login page

@dwu359 this problem doesn't hapen in chrome? just firefox and safari?

Yes, because Chrome is one of the only browsers that still allows third-party cookies by default I think, although that will start to change in 2024.


Dragging selects text in items below

I have a vertical stack of items. As I drag one item over the the others, the text in the items that I drag over is getting selected, as would be expected if I click-and-dragged normally. What's the best way to suppress that behavior? Do I need to write callbacks for the dragged-over items to ignore that mouse-down event?

Hi there, i'm facing the same problem here.
Using the library to make a  as the SortableContainer and rows as SortableElements is getting me this behavoir...
When dragging an element up or down, the 'brothers' (others rows) are getting selected, it's very annoying.
Could you fix it?
Thanks

I was facing the same issue. The alternative to using the helperClass prop is just applying user-select: none; to your sortable items, e.g.:
const StyledImageContainer = styled.div`
  position: relative;
  pointer-events: auto;
  user-select: none;
`;


Resolve issue #276: Validate target property descriptions

This PR addresses issue #276 by validating target property descriptions to ensure accuracy and clarity.

Validity check for Python target properties
Methodology: A toy example was executed for each target property to verify successful program compilation and execution. The programs were compiled using lfc (version 0.8.0)
Unsupported Properties
Properties: auth, build, cargo-dependencies, cargo-features, compiler, external-runtime-path, export-dependency-graph, no-runtime-validation, runtime-version, rust-include, scheduler, single-file-project
Supported Properties
Overview

Target Property
Support (Web)
Support (Actual)
Comments

build
:x:
:orange_circle:
Review

build-type
:white_check_mark:
:white_check_mark:
Update

docker
:white_check_mark:
:white_check_mark:
It works

fast
:white_check_mark:
:white_check_mark:
It works

files
:white_check_mark:
:white_check_mark:
Update

logging
:white_check_mark:
:white_check_mark:
It works

no-compile
:white_check_mark:
:white_check_mark:
It works

protobufs
:white_check_mark:
:white_check_mark:
Suggestion

single-threaded
:white_check_mark:
:white_check_mark:
It works

timeout
:white_check_mark:
:white_check_mark:
It works

workers
:white_check_mark:
:white_check_mark:
It works

Comments
build

Support:

Web: :x:
Actual: :orange_circle:

Review
The build property for the Python target is not supported according to the website documentation. However, when I set this property, it does compile the program without indicating that the property is unsupported. The issue arises when it struggles to resolve the path to the executable file. For instance, let's say I have a compile.sh script in the src/ directory. If I set:
target Python {
    build: "./compile.sh"
}

After compiling the program, I get the following error:
lfc: error: The command ./compile.sh could not be found in the current working directory or in your PATH.

Even when using the absolute path, I encounter the same error.
build-type

Support:

Web: :white_check_mark:
Actual: :white_check_mark:

Update
The build-type property for the Python target was previously undocumented on the website, but I successfully compiled and ran an LF program with this property. It accepts four arguments: Debug, Release (default), RelWithDebInfo, and MinSizeRel. I’ve updated the documentation to reflect this support.
files

Support:

Web: :white_check_mark:
Actual: :white_check_mark:

Review
The website incorrectly displayed examples for both Python and C targets. I have corrected this oversight.
protobufs

Support:

Web: :white_check_mark:
Actual: :white_check_mark:

Review
The target property works smoothly. However, I suggest improving the documentation on how to correctly install and set up protobuf on a local machine.


Boards: optimize Makefile for targets

Optimize Makefile for targets in boards.
Fix rule in tests/test.mk

Signed-off-by: Himanshu Sahdev aka CunningLearner<EMAIL_ADDRESS>

Thanks for your pull request, looks good to me and I'll merge it.

Just FYI, most work on this bootloader has stopped. Instead we are working on a new bootloader called foboot. It uses a rewritten USB stack written in Migen.


Data corruption with Java comments in HTML  element

I'm using atom-beautify 0.30.4, but I'm filing this here because that's what Glavin will tell me to do.
I have the following HTML, in the middle of a well-formed XHTML5 file:

Examples of local time classes.

//someone's date of birth: May 30, 1970
final LocalDate dateOfBirth = LocalDate.of(1980, Month.MAY, 30);
//someone's birthday: May 30
final MonthDay birthday = MonthDay.of(Month.MAY, 30);

//a typical end of a workday: 5:00 p.m.
final LocalTime endOfWorkday = LocalTime.of(17, 0);

//current date and time
final LocalDateTime = LocalDateTime.now();

In Atom when I format the file with atom-beautify, somehow the parser gets lost and jumbles the content! That gets turned into:

Examples of local time classes.

//someone's date of birth: May 30, 1970
        href="https://docs.oracle.com/javase/8/docs/api/java/time/ZonedDateTime.html#of-java.time.LocalDate-java.time.LocalTime-java.time.ZoneId-">ZonedDateTime.of(LocalDate date, LocalTime time, ZoneId zone).

java.time.ZoneId

Identifies a time zone from the IANA Time Zone Database.

java.time.ZonedDateTime

Represents an absolute date and time in a particular time zone.

Examples of absolute time.

And so on. Something throws it off --- perhaps the comments in the  section? --- and it skips content, arriving at some (arbitrary?) location later on. This completely corrupts the content.
I would try to experiment more and give you more details, including those dumps you love, but I'm already behind in trying to get this lesson to my student, not to mention my consulting work. Let me know if you can't reproduce it, and I can see what I can get for you.

Here's my .jsbeautifyrc file:
{
	"indent_with_tabs": true,
	"preserve_newlines": true,
	"max_preserve_newlines": 2,
	"end_with_newline": true,
	"wrap_line_length": 0
}

When I run the input on http://jsbeautifier.org/ it doesn't have the problem you describe.  What is that name of the file you're working with?

Yeah, I tried it on your web site too, and didn't see the problem. I just got the lesson to my student, so I can come back and look at this just for a few minutes today.
The actual file is pretty big (endless hours of researching and writing), and represents proprietary educational content which I'd prefer not to share right now. But let me see if I can pare it down to a test case...

Well, if you don't see the problem on the website, it is likely that the problem not in the engine but the editor (yes, you're back to this situation, sorry).  My question about the file name was to see if it was possible  that the file extension was changing the behavior.  Beyond that, I'm not sure how much help I can be.

No no no. I mean I didn't see the problem with the excerpt I posted above. Which means that something in the surrounding content is what's triggering it. (I haven't tried the entire document on the web site yet --- this is proprietary content I don't want being shipped around.) Like I said, I'm paring it down. Give me just a few minutes.
One thing for sure is that it's really odd --- it's completely getting lost and moving around huge sections of text. The actual sections moved around change depending on what the surrounding content is. But I'm trying to pare it down while still demonstrating the error. Stay tuned...

Here is about the smallest excerpt I could get to screw up in Atom. (This happens both with .xhtml and .html extensions, and both with and without the XML declaration and namespace declarations.) The only problem is: I cannot get this to reproduce on your jsbeautifier.org web site:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <title>Time</title>
    <meta name="author" content="Garret Wilson" />

    This document is an excerpt from the GlobalMentor Complete Course on Software Development. Copyright © 2016–2017 GlobalMentor, Inc. All Rights Reserved. For more information, contact <a<EMAIL_ADDRESS>Inc..

ISO 8601

The standard that governs time representation around the world is ISO 8601: Data elements and interchange formats — Information interchange — Representation of dates and times. This document is put out by the <dfn>International Organization for Standardization</dfn> (ISO), and prescribes various format for representing dates and times. One of the most most common is the representation for a date and time of day, with an included offset from UTC, such as 1985-04-12T10:15:30+04:00.

Beyond the specific syntax, however, ISO 8601 is based on a certain conception of dates and times. Dates are based on the Gregorian calendar, and rules are introduced for representing dates before the institution of the Gregorian calendar in 1875. Week numbers and day ordinals are fixed, and definitions are put into place regarding time scales and leap years. Thus many time library implementations rely not only on ISO 8601 for how time should be represented as text, but also for its basic model of time representation.

Representing Time

The latest versions of Java provide built-in libraries for tracking time, located in the java.time package. Lower-level time processing classes may be found in the java.time.temporal subpackage including the java.time.temporal.Temporal interface that underlies most of the Java time-related types, and an even lower-level interface java.time.temporal.TemporalAccessor which allows access to individual fields of time classes. The time classes represent value objects, which you have studied. You can therefore expect the time classes to be immutable to be comparable with equals(…), and to include static factory methods typically named of(…).

    The Java time classes include extensive support for extracting time units, converting between types, and moving forwards and backwards on the timeline. The API explained here presents but the most basic methods. When solving a time-related problem you must consult the full java.time API to get a complete idea of the functionality available.
    Most of the Java time classes, both for human time representation and for computer time, include static factory method now() which returns an instance of that class based upon the current system time in the current time zone.

Local and Zoned Time

Representing a general date date or time, not tied to any time zone, is accomplished using the java.time.LocalDate and java.time.LocalTime classes. These types correspond to the date marked on a calendar or the time displayed on a clock, respectively. These classes represent immutable value types, so it is no surprise that they provide many static factory methods including LocalDate.of(int year, int month, int dayOfMonth) and LocalTime.of(int hour, int minute, int second). The local date and time classes provide a variety of static factory methods, including some that use the java.time.Month enum.

java.time.LocalDate

A general year, month, and day not fixed to any time zone.

java.time.MonthDay

A month and a day not fixed to any time zone or even associated with a particular year.

java.time.Month

A single month of the year.

java.time.Year

A year without regard to any time zone.

java.time.LocalTime

A general time not associated with any particular date nor fixed to any time zone.

java.time.LocalDateTime

A combined date and time not fixed to any time zone.

Examples of local time classes.

//someone's date of birth: May 30, 1970
final LocalDate dateOfBirth = LocalDate.of(1980, Month.MAY, 30);
//someone's birthday: May 30
final MonthDay birthday = MonthDay.of(Month.MAY, 30);

//a typical end of a workday: 5:00 p.m.
final LocalTime endOfWorkday = LocalTime.of(17, 0);

//current date and time
final LocalDateTime = LocalDateTime.now();

    A LocalDate is used for a date of birth and a birthday, because someone will commemorate  their birthday on the same date regardless of where they are in the world. A person born in New York, for instance, will recognize the local of their birthday while traveling in France without regard to the technicalities of the literal date in New York when the date arrives in France.

Local dates and times are relative or <q>floating</q>; they do not provide sufficient information to determine precisely when an event occurred or will occur. Recording the date and time of a birth, for instance, must include the time zone. A journal entry as well would normally indicate the time zone in order to fix the exact moment in an absolute way worldwide: <q>December 11, 2016 10:53 a.m. America/Los Angeles</q>.

The zoned time classes keep track of a time zone in addition to their other time components, and thus are able to represent absolute times in history. To represent the time zone itself Java provides the class java.time.ZoneId. You can create a ZoneId using its static factory method ZoneId.of(String zoneId) with the identifier from the IANA Time Zone Database, such as ZoneId.of("Europe/Paris"). The current time zone of the system can be found using ZoneId.systemDefault().

The main zoned time class is java.time.ZonedDateTime, which is essentially a LocalDateTime combined with a ZoneId. It can be created using all its components using the static factory method ZonedDateTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneId zone). There exist various other static factory methods, including one from an existing LocalDate, and LocalTime, with the addition of a time zone using ZonedDateTime.of(LocalDate date, LocalTime time, ZoneId zone).

java.time.ZoneId

Identifies a time zone from the IANA Time Zone Database.

java.time.ZonedDateTime

Represents an absolute date and time in a particular time zone.

    Copyright © 2016–2017 GlobalMentor, Inc. All Rights Reserved. Content may not be published or reproduced by any means for any purpose without permission. Version 2017-08-09.

That gets "formatted" to:
<!DOCTYPE html>

	<meta charset="UTF-8" />
	<title>Time</title>
	<meta name="author" content="Garret Wilson" />

	This document is an excerpt from the GlobalMentor Complete Course on Software Development. Copyright © 2016–2017 GlobalMentor, Inc. All Rights Reserved. For more information, contact <a<EMAIL_ADDRESS>Inc..

ISO 8601

The standard that governs time representation around the world is ISO 8601: Data elements and interchange formats — Information interchange — Representation of dates and times. This document is put out by the <dfn>International Organization for Standardization</dfn> (ISO), and prescribes various format for representing dates and times. One of the most most common is the representation for a date and time of day, with an included offset from UTC, such as 1985-04-12T10:15:30+04:00.

Beyond the specific syntax, however, ISO 8601 is based on a certain conception of dates and times. Dates are based on the Gregorian calendar, and rules are introduced for representing dates before the institution of the Gregorian calendar in 1875. Week numbers and day ordinals are fixed, and definitions are put into place regarding time scales and leap years. Thus many time library implementations rely not only on ISO 8601 for how time should be represented as text, but also for its basic model of time representation.

Representing Time

The latest versions of Java provide built-in libraries for tracking time, located in the java.time package. Lower-level time processing classes may be found in the java.time.temporal subpackage including the java.time.temporal.Temporal interface that underlies most of the Java time-related types, and an even lower-level interface java.time.temporal.TemporalAccessor which allows access to individual fields of time classes. The time classes represent value objects, which you have studied. You can therefore expect the time classes to be immutable to be comparable with equals(…), and to include static factory methods typically named of(…).

	The Java time classes include extensive support for extracting time units, converting between types, and moving forwards and backwards on the timeline. The API explained here presents but the most basic methods. When solving a time-related problem you must consult the full java.time API to get a complete idea of the functionality available.
	Most of the Java time classes, both for human time representation and for computer time, include static factory method now() which returns an instance of that class based upon the current system time in the current time zone.

Local and Zoned Time

Representing a general date date or time, not tied to any time zone, is accomplished using the java.time.LocalDate and java.time.LocalTime classes. These types correspond to the date marked on a calendar or the time displayed on a clock, respectively. These classes represent immutable value types, so it is no surprise that they provide many static factory methods including LocalDate.of(int year, int month, int dayOfMonth) and LocalTime.of(int hour, int minute, int second). The local date and time classes provide a variety of static factory methods, including some that use the java.time.Month enum.

java.time.LocalDate

A general year, month, and day not fixed to any time zone.

java.time.MonthDay

A month and a day not fixed to any time zone or even associated with a particular year.

java.time.Month

A single month of the year.

java.time.Year

A year without regard to any time zone.

java.time.LocalTime

A general time not associated with any particular date nor fixed to any time zone.

java.time.LocalDateTime

A combined date and time not fixed to any time zone.

Examples of local time classes.

//someone's date of birth: May 30, 1970

Local dates and times are relative or <q>floating</q>; they do not provide sufficient information to determine precisely when an event occurred or will occur. Recording the date and time of a birth, for instance, must include the time zone. A journal entry as well would normally indicate the time zone in order to fix the exact moment in an absolute way worldwide: <q>December 11, 2016 10:53 a.m. America/Los Angeles</q>.

The zoned time classes keep track of a time zone in addition to their other time components, and thus are able to represent absolute times in history. To represent the time zone itself Java provides the class java.time.ZoneId. You can create a ZoneId using its static factory method ZoneId.of(String zoneId) with the identifier from the IANA Time Zone Database, such as ZoneId.of("Europe/Paris"). The current time zone of the system can be found using ZoneId.systemDefault().

The main zoned time class is java.time.ZonedDateTime, which is essentially a LocalDateTime combined with a ZoneId. It can be created using all its components using the static factory method ZonedDateTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneId zone). There exist various other static factory methods, including one from an existing LocalDate, and LocalTime, with the addition of a time zone using ZonedDateTime.of(LocalDate date, LocalTime time, ZoneId zone).

	A LocalDate is used for a date of birth and a birthday, because someone will commemorate  their birthday on the same date regardless of where they are in the world. A person born in New York, for instance, will recognize the local of their birthday while traveling in France without regard to the technicalities of the literal date in New York when the date arrives in France.

Local dates and times are relative or <q>floating</q>; they do not provide sufficient information to determine precisely when an event occurred or will occur. Recording the date and time of a birth, for instance, must include the time zone. A journal entry as well would normally indicate the time zone in order to fix the exact moment in an absolute way worldwide: <q>December 11, 2016 10:53 a.m. America/Los Angeles</q>.

The zoned time classes keep track of a time zone in addition to their other time components, and thus are able to represent absolute times in history. To represent the time zone itself Java provides the class java.time.ZoneId. You can create a ZoneId using its static factory method ZoneId.of(String zoneId) with the identifier from the IANA Time Zone Database, such as ZoneId.of("Europe/Paris"). The current time zone of the system can be found using ZoneId.systemDefault().

The main zoned time class is java.time.ZonedDateTime, which is essentially a LocalDateTime combined with a ZoneId. It can be created using all its components using the static factory method ZonedDateTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneId zone). There exist various other static factory methods, including one from an existing LocalDate, and LocalTime, with the addition of a time zone using ZonedDateTime.of(LocalDate date, LocalTime time, ZoneId zone).

java.time.ZoneId

Identifies a time zone from the IANA Time Zone Database.

java.time.ZonedDateTime

Represents an absolute date and time in a particular time zone.

	Copyright © 2016–2017 GlobalMentor, Inc. All Rights Reserved. Content may not be published or reproduced by any means for any purpose without permission. Version 2017-08-09.

Obviously that's a huge corruption --- it's taking entire blocks of content and moving them around.
I'm using Atom 1.19.0 ia32 with atom-beautify as I mentioned.
Arg, now I have a gazillion places to file bugs. Is it an atom-beautify error? An Atom content buffer error? (sigh) Why do things just keep breaking?
I'll go file a but with atom-beautify. This is a major, show-stopper issue.
Thanks for looking into this.

OK, @bitwiseman, if you ever wonder why I sound cranky when reporting these bugs... read this and you can weep with me: https://github.com/Glavin001/atom-beautify/issues/1802#issuecomment-321416895
It appears to have something to do with mixed line endings. So that puts me no closer to knowing if it's a js-beautify issue, an atom-beautify issue, or an Atom editor issue. 😦 But the only thing I know is that I have no hope of reproducing it using your web interface, as the web interface probably normalizes the line endings to CRLF when I paste it in.
Who processes the line endings, atom-beautify or js-beautify?
Perhaps if you have time you could kindly run the attached raw file through your program. At some point I can try to do this myself, but... it's been a long day and I need a little break.
js-beautify-1225.zip

Nope, no repro.  And it looks like you've found the source in atom-beautify.

Yeah, @bitwiseman , I think that's where the problem lies. I was waiting to verify it; don't worry, I would have come back and closed it here once it was verified. But at the moment we don't know for sure the ultimate cause.
But thanks for reading it anyway. I see you've already closed this.

Yep, they confirmed it was a bug with the Atom buffer rewrite.