Failed to build iOS app

Steps to reproduce
59 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Building com.stipesolutions.realroadies for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: 744228JDT4
Running pod install...                                             11.2s
Running Xcode build...
Xcode build done.                                           51.0s
Failed to build iOS app
Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'collectProfileBetween'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:580:43

Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'discardProfiler'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:592:29

Encountered error while building for device.
Actual results
59 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Building com.stipesolutions.realroadies for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: 744228JDT4
Running pod install...                                             11.2s
Running Xcode build...
Xcode build done.                                           51.0s
Failed to build iOS app
Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'collectProfileBetween'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:580:43

Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'discardProfiler'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:592:29

Encountered error while building for device.

Logs
59 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Building com.stipesolutions.realroadies for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: 744228JDT4
Running pod install...                                             11.2s
Running Xcode build...
Xcode build done.                                           51.0s
Failed to build iOS app
Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'collectProfileBetween'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:580:43

Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'discardProfiler'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:592:29

Encountered error while building for device.

Flutter Doctor output
59 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Building com.stipesolutions.realroadies for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: 744228JDT4
Running pod install...                                             11.2s
Running Xcode build...
Xcode build done.                                           51.0s
Failed to build iOS app
Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'collectProfileBetween'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:580:43

Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'discardProfiler'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:592:29

Encountered error while building for device.

@lavkushry1

Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'collectProfileBetween'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:580:43
Swift Compiler Error (Xcode): Type 'PrivateSentrySDKOnly' has no member 'discardProfiler'
/Users/lavkushkumar/.pub-cache/hosted/pub.dev/sentry_flutter-7.20.1/ios/Classes/SentryFlutterPluginApple.swift:592:29

From the log, it seems it is coming from sentry_flutter package. Try to upgrade the package version to latest and run your scenario again to check if you still get the same behavior or not.
https://pub.dev/packages/sentry_flutter/changelog#810


ARROW-2562: [CI] C++ and Rust code coverage using codecov.io

Collect C++ and Rust coverage info on Travis-CI build, and upload it to codecov.io.
The C++ coverage info is gathered from both the C++ and Python test suites.

This probably needs an Apache Arrow account on codecov.io.

Nice, feel free to merge this. We should close https://github.com/apache/arrow/pull/1241 then.


Cannot close polygons.

I'm opening this issue to address a problem depicted in some comments in #308, one of which is mine.
Whenever I start drawing a polygon, big points appear, and I'me pretty sure there are two of them each time I click somewhere within the map. Thing is, this makes it impossible to close/end the polygon, probably because the "first point" is below the second (duplicated) one.

Leaflet version I'm using: 1.0.1
Leaflet Draw version I'm using: 0.4.7
Browser (with version) I'm using: Chrome 55.0.2883.87

I'm using Angular 2 with webpack.

You can find at here: https://b3ncr.github.io/docs/examples/full.html
Updated file: https://b3ncr.github.io/src/draw/handler/Draw.Polyline.js
Hope, can help you.

Thanks, it did the trick. (I just had to also import Draw.Polygon.js) https://b3ncr.github.io/src/draw/handler/Draw.Polygon.js
When is this fix arriving to the trunk?

I update Leaflet via npm update leaflet-draw, and the latest version I can update to is 0.4.7. Am I doing something wrong?

Check your package.json and make sure you are not locked to<EMAIL_ADDRESS>

I don't know why since I didn't change anything, but I was now able to update to 0.4.9. Thanks!


Request: new API endpoints

Placeholder issue for more API endpoints. I'll split these out into separate issues if these sound reasonable (already filed #352)

/project/:project_id

individual project, all data

/projects

project build object
all project data
last build, all data (nested)

/build/:build_id/

individual build data
nested in it: jobs, logs

/builds/:project_id

builds for that project

/jobs/:build_id

zero or more jobs that build

/logs/:job_id

zero or more logs for job

@seanknox  How do you distinguish between build logs and job logs? Right now we have:
	p := server.Project()
	rest.GET("/projects", p.List)
	rest.GET("/project/:id", p.Get)
	rest.GET("/project/:id/builds", p.Builds)
	rest.GET("/projects-build", p.ListWithLatestBuild)

	b := server.Build()
	rest.GET("/build/:id", b.Get)
	rest.GET("/build/:id/jobs", b.Jobs)
	rest.GET("/build/:id/logs", b.Logs)

	j := server.Job()
	rest.GET("/job/:id", j.Get)
	rest.GET("/job/:id/logs", j.Logs)

I can do one logs/:id endpoint, and basically have the ID be either a job or a build ID. But that seems a little bit unclear.


PLAT-10868 Remove certificates and private keys credentials

Ticket
PLAT-10868
Description
We want to remove all hardcoded credentials from the repo.
To do so, we use pytest fixture to generate these when running tests. These fixtures are session scoped so they will generate credentials (rsa key, certificate) only the first time they are requested.
These fixtures are put in a separate conftest.py to be accessed by all tests in the suite.

remove credentials
Fix related tests

Checklist

[x] Referenced a ticket in the PR title and in the corresponding section
[x] Filled properly the description and dependencies, if any
[x] Unit tests updated or added
[ ] Docstrings added or updated
[ ] Updated the documentation in docs folder

There are other files that need to be removed:
./tests/resources/key/private_key.pem
./tests/resources/key/private_key_from_cert.pem
./tests/resources/cert/megabot.pem

Just removed the remaining .pem files @symphony-elias


V2 Middleware API

A middleware API will allow you to easily create modules like a logger for Hyperapp 2.0.
Let's use this issue to discuss how middleware could look like in 2.0.
Please share your best ideas.

How about a Redux-inspired middleware? Add a middleware option to the app that's conceptually similar to Redux.applyMiddleware:
import logger from "@hyperapp/logger"

app({
  // ...
  middleware: [logger]
  // ...
})

For the definition of a middleware you could have something like:
const logger = next => action => {
  const getState = () => next(state => state)
  console.log('before state: ', getState())
  console.log('action: ', action)
  const result = next(action)
  console.log('next state: ', getState())
  return result;
}

Each next would call the next middlware the in chain except for the last, which would call dispatch. Currying is optional 🍛

app({
    // Your configuration here
}).hook(logger, otherMiddleware);

Is internal render function also middleware?

@sergey-shpak No, it isn't. Middleware will let you "hook" into the internal dispatch mechanism, that's all for now.

A simpler alternative (from Hyperapp's implementation perspective) would be to write middleware as a higher-order dispatch function:
const logger = dispatch => action => {
  console.log('before state: ', state => state)
  console.log('action: ', action)
  const result = dispatch(action)
  console.log('next state: ', result)
  return result
}

app({
  middleware: logger
})

Essentially your middleware is passed the original dispatch function and you return a function that will replace it and allow for for adding additional logic.
The main downside to this approach is that using multiple middlewares will require the use of a compose function that either we provide (like Redux) or is on the user to bring their own.

@okwolf What is console.log('before state: ', state => state)?

@jorgebucaran What is console.log('before state: ', state => state)?

A typo. 😒  See the correction above.

An advantage/disadvantage of the higher-order dispatch approach is that we could choose to unconditionally call the middleware instead of replacing the existing dispatch. The net effect is that middleware would be unable to prevent the original action from being dispatched but only dispatch additional actions. 🤔

@okwolf If so it would be hard to implement things like shouldComponentUpdate().

@okwolf A crazy strategy could be to publish our own modified apps that support different functionalities. The main problem with that is combinability, like if there is a withApp1 and withApp2, how to use both?

@jorgebucaran  A crazy strategy could be to publish our own modified apps that support different functionalities. The main problem with that is combinability, like if there is a withApp1 and withApp2, how to use both?

You mean like how Elm supports browser navigation by publishing their own program? I can't say I'm a particularly big fan of this approach. Publishing an entire new app as the API for extension seems a bit heavy-handed for most use cases. As you mentioned, they also don't compose unless we go back to the HOA approach again...

If middlewares are an High Order disptach why it is not done in userland ? I will be able to create my own dispatchAndLog that will use dispatch under the hood.
Or I am missing something ?

I think the only real advantage to wrapping the entire app is you get full control over all arguments including init, view, subscriptions, etc. That is probably too much power and also a bit too magical IMHO. I'd rather our middleware/extension mechanism just wraps dispatch and everything else be explicit.

@jorgebucaran what's the planned middleware API at this point?

@okwolf I still don't know. 😥

🙏

At this point should we even try and include middleware in the first release, or add it later?

@okwolf I don't think so.

@jorgebucaran think of the devtools!

@okwolf Maybe something like this could work. What do you think?
import { app } from "hyperapp"

const actionMiddleware = action => action

app(actionMiddleware)({
  // The usual propspects.
})

e.g.
app(action => console.log(action.name))({
  // The usual props.
})

// or also

app(action => (state, data) => newState)({
  // The usual props.
})

@jorgebucaran would this example prevent the original action from being dispatched?
app(action => console.log(action.name))({
  // The usual props.
})

If not, would this run before or after the state was updated?
Wouldn't the real logger be more like this?
app(action => (state, data) => {
  console.log('before state: ', state)
  console.log('action: ', action)
  const result = action(state, data)
  console.log('next state: ', result)
  return result
})({
  // The usual props.
})

@okwolf Ah, that is unless we invoke the middleware callback for every state change with the name of the action instead. 👍
But then why would you use middleware for other than logging?
We need to answer that question in order to move forward with this issue.

What about redux dev tools? Logging is not the most effective way to debug for some people

I can see how this could open somewhat of a Pandora's box if we're not careful. 📦
Middleware could be used to add support for features that go against the philosophy of 2.0, like dispatching Promises. Or middleware could be used for integrating state merging logic, since that's not longer included. You could also use middleware in a larger app if you want actions that are dispatched to some event sink, perhaps even another app on the same page (possibly using a different library like Redux)! Those are a few of the non-devtools use cases I've seen folks use for middleware in the past.
I don't think there's really a huge practical difference between a higher-order action or dispatch, since with the former you could always write an action that some of the time returns the original action and other times returns an effect that gives you full access to dispatch anyway. 🤷♀

Two other production use cases for middleware:

Error handling for actions/effects.
Automatically persisting state.

Technically you could use subscriptions for the latter, although it would be somewhat awkward to wire up and require resubscribing to a different sub each time for a potential performance hit.
We need more voices to weigh in on this topic!
@infinnie @frenzzy @Swizz @SkaterDad?

@okwolf Automatically persisting state.

That is the job of a subscription. I really didn't understand the downside you wrote below. 🙈

I am going to close here and create a new issue (soon / when I'm ready) to discuss the middleware API again, from scratch. The scope of the issue was too wide and while the discussion was fruitful, I want to narrow down the discussion to the specific kind of middleware that I'd like to see in V2.
The kind of middleware that I want to see is the least invasive kind, the one that allows you to build a logger or a time travel debugger, but not modify how dispatch works in order to, among other things, add Promise support to actions, etc.

@jorgebucaran That is the job of a subscription. I really didn't understand the downside you wrote below.

Then either I don't understand the philosophy behind subscriptions or we should consider changing their API. It was my impression that the effect part of subscriptions was intended to be run once, and then it would be responsible for calling dispatch to "push" actions to your app. In order to use subs for this, you would have to implement your sub in a way that it returned a. a new effect each time or b. different other props of your sub. This is generally a bad practice for subs because you're going to be unsubscribing and resubscribing with every state update. And then I also thought the state argument to subscriptions was only intended for controlling which subs to enable, not for passing to them. To me using subs to run a side effect on state update seems like a hack

@jorgebucaran The kind of middleware that I want to see is the least invasive kind, the one that allows you to build a logger or a time travel debugger, but not modify how dispatch works in order to, among other things, add Promise support to actions, etc.

Do you have a proposal yet for how to have the former without the latter? 🤔

@okwolf The effect part of subscriptions is run once when a subscription is started. Subscription can be restarted, when their props change, this means canceling it first then starting it again.
I'll create a couple of new issues to explain effects and subscriptions like I did for actions in #749.

@jorgebucaran The effect part of subscriptions is run once when a subscription is started. Subscription can be restarted, when their props change, this means canceling it first then starting it again.

I understand how subscriptions work, as I've written a few already for testing in @hyperapp/fx. What I'm getting at though is that forcing a sub to be canceled and then a new one to be subscribed with every state update feels like an abuse of subscriptions but I could be wrong. 🤷♂

I don't understand what you mean by abuse.

@okwolf Feel free to bring the subs discussion over to #752 if you have anything further to add or want to start from scratch.


feat: tendsto_of_integral_tendsto_of_monotone

Add tendsto_of_integral_tendsto_of_monotone, as well as ...of_antitone and the corresponding results for lintegral.
Also:

move some results about measurability of limits of (E)NNReal valued functions from BorelSpace.Metrizable to BorelSpace.Basic to make them available in Integral.Lebesgue.
add lintegral_iInf', a version of lintegral_iInf for a.e.-measurable functions. We already have the corresponding lintegral_iSup'.

Thanks a lot for the improvements!

bors r+


Error with 0.6.2 - Downgrade to 0.6.1

Describe the bug
Updating to the latest version of Loxone config/miniserver and the latest version of Pyloxone in Hac i got the 2 errors and non of the climate entities load
Firmware of your Miniserver
<IP_ADDRESS>
HomeAssistant install method
Hacs
Version of HomeAssistant
Core
2024.1.6
Supervisor
2023.12.1
Operating System
11.4
Frontend
20240104.0
Version of Pyloxone
0.6.2
Update pyloxone
yes
Log

Logger: homeassistant.setup
Source: setup.py:403
First occurred: 9:21:18 PM (2 occurrences)
Last logged: 9:21:18 PM
Unable to prepare setup for platform 'loxone.climate': Platform not found (Exception importing custom_components.loxone.climate).

Logger: homeassistant.loader
Source: loader.py:842
First occurred: 9:21:18 PM (2 occurrences)
Last logged: 9:21:18 PM
Unexpected exception importing platform custom_components.loxone.climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/loxone/climate.py", line 108, in
class LoxoneRoomControllerV2(LoxoneEntity, ClimateEntity, ABC):
File "/config/custom_components/loxone/climate.py", line 114, in LoxoneRoomControllerV2
| ClimateEntityFeature.TURN_OFF
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 784, in getattr
raise AttributeError(name) from None
AttributeError: TURN_OFF

I am having the same issue, I think the problem is that the newest release of PyLoxone implemented features that are based on the dev version of homeassistant and have not been released yet through the stable release channel.
As you can see the release 2024.1.6 does not have the "TURN_OFF" flag yet: https://github.com/home-assistant/core/blob/2024.1.6/homeassistant/components/climate/const.py#L165
It was only added here: https://github.com/home-assistant/core/commit/bc720b48b476d2fa1ad754166d6aca72e0d180cf and included in pre-release https://github.com/home-assistant/core/releases/tag/2024.2.0b2

same here

@KurtKeunen
@estragonator
@funbirdcas
Ok I saw it. I tested only against my dev environment which is already using the new features. I disabled the release as long as homeassistant is not updated.

2024.2.0 has been released, this 0.6.2 probably works now?

I can confirm 0.6.2 works with 2024.2.0 in my setup.
On Thu, Feb 8, 2024 at 9:43 PM Kurt Keunen @.***> wrote:

2024.2.0 has been released, this 0.6.2 probably works now?
—
Reply to this email directly, view it on GitHub
https://github.com/JoDehli/PyLoxone/issues/237#issuecomment-1934903194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD3HX22QRFAR7UVE5HRFADYSU2GHAVCNFSM6AAAAABCVSRF56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUHEYDGMJZGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Doppler shift

Hello,
does gps-sdr-sim introduce the doppler effect in GPS signal?

Yes. In gpssim.c line 1312.
// Pseudorange rate.
rhorate = (rho1.range - chan->rho0.range)/dt;

// Carrier and code frequency.
chan->f_carr = -rhorate/LAMBDA_L1;
chan->f_code = CODE_FREQ + chan->f_carr*CARR_TO_CODE;

LAMBDA_L1 = 0.190293672798365 = SPEED_OF_LIGHT/GPS_L1_FREQUENCY

Thank you :)
2016-11-09 15:20 GMT+01:00 sundw2014<EMAIL_ADDRESS>
Yes. In gpssim.c line 1312.
// Pseudorange rate.
rhorate = (rho1.range - chan->rho0.range)/dt;
// Carrier and code frequency.
chan->f_carr = -rhorate/LAMBDA_L1;
chan->f_code = CODE_FREQ + chan->f_carr*CARR_TO_CODE;
LAMBDA_L1 = 0.190293672798365 = SPEED_OF_LIGHT/GPS_L1_FREQUENCY
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/osqzss/gps-sdr-sim/issues/54#issuecomment-259425163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFreR14wUYJsBTAcYjoOa3sJvGz3BYlKks5q8da7gaJpZM4KtWJR
.


Is there any pytorch implementation of DCAN, DIST, MICRO-NET?

If you require DCAN, DIST, Micro-Net, then please refer to the tensorflow branch of the repository. Currently we only support HoVer-Net in the PyTorch branch. We have organised things in such a way that separate models are contained within their own models directory, allowing users to easily add models if they would like. For example, you will see that HoVer-Net specific code is located here.

If you require DCAN, DIST, Micro-Net, then please refer to the tensorflow branch of the repository. Currently we only support HoVer-Net in the PyTorch branch. We have organised things in such a way that separate models are contained within their own models directory, allowing users to easily add models if they would like. For example, you will see that HoVer-Net specific code is located here.


Issue 33: Get GPG apt key from keyserver.ubuntu.com

Fix some issues with the Dockerfile and sample role.yml, to demonstrate the problem in #33 on Ubuntu 14.04. Then, fix it by downloading the GPG key from keyserver.ubuntu.com instead of https://deb.nodesource.com.

I have merged this to workaround to offset the current issues.
Will revisit when nodesource team sort out the issues.


Add  warning to SDK docs page

🚀 Deployed on https://662979e70acff6134c857e93--cozy-fox-0defec.netlify.app


Add Network component diagram

Sketched this high level network component that helped me understand better the different actors for the solution.

Added drawio file that can be edited using diagrams.net
Added PNG that can be added to markdown such as a README.md or a Wiki
Modified readme to add a section for the diagram

Also add a label to the arrow from OBS to twitch.
Also add a label for Twitch in the middle

Also add a label to the arrow from OBS to twitch.
Also add a label for Twitch in the middle

@codingvibe Agree, see below changes!


sort incompatibility introduced by ansible 2.14 devel branch

As development of 2.14 started recently, we found that it broke ansible-compat. We need a fix for it.
Apparently a change introduced in 2.14 devel branch broke the output format of ansible-config dump, which is no longer parseable:
ansible-config dump|grep COLLECTIONS_PATHS
COLLECTIONS_PATHS(default) = {{ ANSIBLE_HOME ~ "/collections:/usr/share/ansible/collections" }}

Before this the values were loadable using python eval.

This was fixed on ansible side.


add property to differentiate between open vs closed audience

it needs to be possible to describe whether an event is free to come for whoever wants to participate or if it is a closed thing. I guess this can be implied by the fee specification, in that if the fee is specified as 0€ one could assume it to be free to attend for everyone. But off course it could be free of charge but you might need to be member of some kind of organization to participate.

But off course it could be free of charge but you might need to be member of some kind of organization to participate.

I guess this is the most important part. Is an event open to the public or not? An event can have a scientific character, but still be closed. But in my eyes it would not be relevant for ConfIDent in this case. Closed scientific events would include seminars or workshops that are for members of one institution or project.


GradleBuild.startParameter.includedBuilds does not work

Hello!
I try to create a build task in my build.gradle like this:
task buildDebug(type: GradleBuild) {

    startParameter.includedBuilds = [
        new File('../component1'),
        new File('../component2')
    ]

    tasks = [ 'build' ]
}

And when I run gradle buildDebug I get an error Could not resolve all files for configuration... i.e. some dependencies from component1 and component2 weren't resolved. But if I do the same using command line:
$ gradle --include-build ../component1 --include-build ../component2 build

It works fine.
What should I do to fix this problem?
Expected Behavior
Value of startParameter.includedBuilds are used during execution the specified tasks.
Current Behavior
It seams that value of startParameter.includedBuilds are ignored.
Context
Composite build.
Your Environment

Build scan URL: https://scans.gradle.com/s/m5q2mcrggxbza/

FWIW, nested composites work now in Gradle v4.10 ... except with the GradleBuild task :disappointed:


AJAX calls

If I use the documented route format in Ajax calls, will the redirection shown in your htaccess file still happen?

It will work as expected. AJAX/Fetch calls work in the exact same way as any other page. Just point to the correct route.


Fill only a selected range of days.

It would be nice to be able to select a range of days that is to be filled with commits.
Instead of the existing commands append and fill a range of dates (or multiple ranges?) would be given.
The calender should probably still be parsed, so that either only days that do not yet contain activity are filled or only a certain number of commits (up to the current maximum) is created on each day.

Implemented in d50d111a1e63afeb97a7e6a44d93ad3307644db4.
One or more dates can now be given as the 'mode' argument. Only those days are filled then.


Revamped Shadowrun 2E Character Sheet.

I originally began to improve this sheet from the original which was broken,
In order to play 2E with friends. Some of the designs have been from there requests.
The Condition Monitor and Dice Pools are always present no matter what tab you are on.
Character/Lifestyle Tab -- Attributes and Lifestyle Info and Karma.
SKills/Edges/Flaws-- These have been grouped together to make it easier to apply any
modifiers related to them when rolling.
Magic/Spells -- Tab includes Spells/Notes Physical Adepts and a section for Shamans.
Combat -- Weapons info has been moved to Combat.  This makes it easier to figure out
damage and resisting without having to move tabs during combat.
All combat related mods are here, and a section included for recording
weapon skill ratings so no tab change needed when the Ranged and Melee rolls
ask for weapon skill rating.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ X] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[X ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[X ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[X ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Hey there @BalambStudent , I perceived some of you input tags are missing the quotes like:

Even though those are not mandatory and in this specific case it wont make the attribute invalid, it is a good practice to add quotes. Do you want to do some refactoring or should I merge it the way it is?

I thought I got them all, pesky quotes. LOL I would like you to merge it the way it is so people can use it and I will do a clean up of it another time if that's okay. I am planning on making on monitering this sheet anyway.

@mperes I have no idea what has gone wrong here!  I might just re upload everything!  It kept saying there was a file conflict weith the .json file, then it went all haywire.


remove unused mConfig

remove unused mConfig in network. Here is my reason:

it is unused;
we can get this config from memberlist.Config

Just a kind of minor change, feel free to tell me if I miss something
Signed-off-by: allencloud<EMAIL_ADDRESS>

LGTM

LGTM


Hello World in Python

This Pull Request resolves Issue #11
Priniting Hello World in Python

Are there any updates here or should we close the PR and label it as spam?

spam!


Misc fixes

What I Did
Fixed the generated docs destination
Fixed the test CircleCI task when CircleCI is building a PR without env vars
How I Did it
Changed the path
Changed the conditional run of make ci-upload-coverage to depend on the environment variable it requires
How to verify it
Description for the Changelog
Picture of a Boat (not required but encouraged)

i suppose that's techinically a boat


Unable to resolve module (RN v0.17)

I'm having trouble loading some modules that for sure are in my node_modules folder.
I get the Unable to load module error in the Simulator. It also seems to be trying to find the module in /Users/node_modules ?
Here's how the error looks:

Things i've tried:

source my .zshrc file from react-native-xcode.sh, though that seemed pointless due to it already doing the correct thing of loading my nvm.sh file.
Added PATH="$(npm prefix -g)/bin:$PATH to react-native-xcode.sh
npm cache clean
Fully re-installed node and npm
Cleared the haste cache

I'm all out of ideas :/

Appears to be a duplicate of #4968

@christopherdro you're right! thanks


Update _cim.scss

added thicker border for answer icons in _cim.scss  file for your wife .

Haha, thanks, but this doesn't seem to fix the issue:

The border we are using is actually a fake border provided by text-shadow.
    text-shadow: rgb(0, 0, 0) 1px 0px 0px, rgb(0, 0, 0) 0.540302px 0.841471px 0px, rgb(0, 0, 0) -0.416147px 0.909297px 0px, rgb(0, 0, 0) -0.989993px 0.14112px 0px, rgb(0, 0, 0) -0.653644px -0.756803px 0px, rgb(0, 0, 0) 0.283662px -0.958924px 0px, rgb(0, 0, 0) 0.96017px -0.279416px 0px;
}

In the original system, we were applying a class to flag that would add a ::before pseudo-element to it, like so:
div.flag-incorrect::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    content: "\f00d";
    color: red;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: black;
    font-weight: bold;
    font-size: 5rem;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

But this required that all of our flags be fa classes. In the new system, we have hidden divs that we show when a selection is made and importantly those hidden divs are using the standard fork-awesome CSS, so they look like this:

And fa-check and fa-times are bringing with them their own :before psuedo-selector, which I cannot figure out how to modify to add the --webkit-text-stroke-width attribute.
So I think we either need to just thicken the text-shadow created pseudo-border or go back to manually specifying the :before content.
Having written this out to understand the problem, I realized that it's probably pretty easy to do the latter, so I created #32.
Thanks for helping out!


Android back button closes the app

We're using the Fluro router in our Flutter app but experience an issue where the Android back button always closes the application instead of popping a route. When we remove Fluro and use the native router, the back button works fine.
Are others experiencing this as well? What might cause this issue, and what might fix it?
Thanks!

Hmm. I'll investigate but, in the meantime, do you have a simple test case that replicates this?


Implementing mkdir -p

I'm implementing Wasi for AssemblyScript and currently I'm confused with the API for creating a directory.  Is it safe to assume that by default trying to create a directory, whose parent(s) don't exist that it would fail?
Also what is the best way to determine if a file or directory exists?

Yes, __wasi_path_create_directory only creates one directory, similar to POSIX mkdir, and fails if the parent doesn't exist.
The typical way to test whether a file or directory exists is to just try to do whatever you would want to do, and handle errors in case it doesn't work. For mkdir -p, this means that you can just call __wasi_path_create_directory once for each path component. At each component, if you get __WASI_EEXIST, then it already exists and you can move the the next component. If it succeeds, then you just created it and you can move to the next component.

Thanks! That makes a lot of sense.

Closing this based on @sunfishcode's comment.


Export EOF detection

Hi,
In my code I need to detect EOF to do some decisions (basically flush the line stack in multiline parser). However tail does not export the file handle file thus I have to write my own short func to use os.Open the file, seek to the position where tail.Tell() is and try to read one byte to see if I got error is EOF.
This is not efficient I think. In my opinion there should be a better way tail package can export the state for us. Or at least export the file handle so I don't have to call one system os.Open again.
Any ideas to solve it? Or I am missing the doco and not using it right.
Thanks for excellent work and Kind regards

I don't know if this is useful to you, but I merged a PR that exposes SeekInfo information:
https://github.com/nxadm/tail/blob/master/tail.go#L31
Because this repo seems to be dormant for more than a year, I forked it and added the PRs that needed to be merged.

Hi thanks for suggestion but it seems not be useful. The SeekInfo only gives me pos and whence but no way to see if it is an EOF.
however good to know that your repo has better maintained than this.


Question: iohyve second disk different dataset

Hi,
How do you do with iohyve to add a second disk and point it out to a different dataset ?
I'm using Freenas but I can setup iohyve with one array of disk with a dataset but I don't know how to add a second vm to another dataset or add a second disk to the same VM to use another dataset from a different array of disk.
Thanks

If you want to add a disk that lives on a separate pool than the boot disk, you can set up iohyve on the second pool with something like iohyve setup pool=nameofsecondpool and then follow the steps on adding a new disk, as detailed in the man page.

Closing this issue. Please feel free to respond to this ticket if my answer did not solve your problem. Thanks!


Subject:experiment mapping should be specified in pyrat and added to Experiment.Subject table

As so for all subjects, plus the arena name (e.g. 'social0.3-aeon2'):

This could be used as a check for finding which animals are in which experiments / blocks, as mentioned here:
https://github.com/SainsburyWellcomeCentre/aeon_mecha/pull/438#discussion_r1823057400

Hey @ttngu207 this first part is done. FYI some animals may have more than one comment under the 'aeon' Project tag that begins with 'experiment', so just take the most recent one (we can't delete comments on pyrat)

Done in #451


Please include reference to Vnet Peering and Azure Bastion

[Enter feedback here]
The "Required roles" in section https://docs.microsoft.com/en-us/azure/bastion/bastion-connect-vm-rdp-windows should reference the requirements listed in section https://docs.microsoft.com/en-us/azure/bastion/vnet-peering
Something along the lines:
When using bastion on a peered vnet (typical in a hub-spoke networking model) please see additional requirements here (https://docs.microsoft.com/en-us/azure/bastion/vnet-peering)  Especially note that READER role is required on the entire vnet, not just the NIC with the private IP of the virtual machine.

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

ID: 0c234d88-d9f6-f33e-c245-e307cc37394e
Version Independent ID: 7a7a2f04-d668-c395-51fb-fc240a1a30af
Content: Connect to a Windows VM using RDP - Azure Bastion
Content Source: articles/bastion/bastion-connect-vm-rdp-windows.md
Service: bastion
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

Thanks for the feedback! I have assigned the issue to the content author to investigate this and update the document as appropriate.

#reassign: @AbdullahBell

Fixed and should publish this week. It was in the FAQ, but hadn't made it to this article. Thanks for letting us know. #please-close


Call anyio.to_thread.run_sync with abandon_on_cancel

The cancellable parameter emits a warning message since 4.1.0: https://anyio.readthedocs.io/en/stable/versionhistory.html
It has been replaced by abandon_on_cancel:
https://anyio.readthedocs.io/en/stable/api.html#anyio.to_thread.run_sync
As opposed to the abandon_on_cancel, the cancellable parameter can also be null, but asyncer did not allow the parameter to be None, so the change is just about renaming the parameter.

Looking at the requirements, it would require bumping the anyio dependency to >4.1.0.

Thanks! This was solved in https://github.com/fastapi/asyncer/pull/202, keeping compatibility with AnyIO 3.x :nerd_face:
This is available in Asyncer 0.0.8, just released. :tada:
I'll now close this one, but thanks for the interest! :coffee:


How do I detect Threshold on swipe

Does anyone know how I can detect threshold on swipe.

Also how to control the reverse animation.


Enable CONFIG_BPF_LSM

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?

Enable CONFIG_BPF_LSM, which allows users to use BPF LSM programs.
KConfig
This LSM is by default not active because of performance concerns. See: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1905975. There has been some work in progress to address that, most recent one is: https://lwn.net/Articles/951158/

Change Log

Enable CONFIG_BPF_LSM (=y)
Bump release numbers for relevant spec files

Does this affect the toolchain?

YES
Associated issues

https://microsoft.visualstudio.com/OS/_workitems/edit/46844937/

Test Methodology

Buddy build: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=458700&view=results
Local build
Successfully enabled lsm and ran a couple of examples from https://github.com/cilium/ebpf/tree/main/examples (kprobe, xdp, ..)
Boot time:

Size:

Hey @trungams, Thanks for adding this support. Appreciate it.
I believe just enabling the CONFIG_BPF_LSM wouldn't be enough.
If you try to check the value of /sys/kernel/security/lsm, you would see that bpf won't be present which would suggest loading of BPF LSM programs is still not possible.
We would need to add bpf to CONFIG_LSM as well
CONFIG_LSM="...,bpf"
Or configure the lsm parameter in some other way.


Error message has wanted and got checksums reversed

In b2/b2.go:
		return errors.Errorf("object corrupted on transfer - SHA1 mismatch (want %q got %q)", receivedSHA1, calculatedSHA1)

The two arguments to that error message should be the other way.

I think they are probably the right way round, but it is arguable!  The receivedSHA1 is the SHA1 we got when we fetched the object details, ie what we are expecting the SHA1 to be (hence want) but got is what we actually calculated.
Maybe there are better words than want and got.
BTW if you are looking at that code then you will be interested in 8207af9460fa7984b2b013567cd20e58d0ac585d I expect!

Maybe there are better words than want and got.

maybe: source / new copy
(I assume remote would be confusing, esp. when copying from remote to remote)

This was fixed. Closing out.


arm/keyvault: List returns all resources instead of key vaults

ListPreparer uses path "/subscriptions/{subscriptionId}/resources". But it should be something like "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults".

I've confirmed the behavior and built out a quick repro that demonstrates the issue, the code can be found here: https://github.com/marstr/issue696

I did a little more testing, and validated that this bug isn't applicable to the ListByResourceGroup(string, *int32) function that is also available on the keyvault.VaultsClient. I also found this issue in the Azure/azure-rest-api-specs repository that suggests this may be a known behavior.
That said, I agree with @chessman that this is at best very confusing behavior, and at worst actively misleading. @amarzavery, do you have any context you can help me out with?

Alright, there are two futures I could see for this issue:

The KeyVault team actively supports this scenario of Listing vaults for an entire subscription. In this case, we'd simply need to update the path used for this operation. It's kinda a breaking change, but falls into the category of "folks should have never been using it this way."
The KeyVault team does not support this. In which case, I would argue that Swaggers for future API Versions not include this function what-so-ever.

Either way, the line in question is here. Due to its location, I'm going to transfer this issue to the azure-rest-api-specs repository for further discussion.

Closing in favor of Azure/azure-rest-api-specs#1464.


Bug surface format

CI gfxreconstruct build queued with queue ID 9230.

CI gfxreconstruct build # 2025 running.

CI gfxreconstruct build queued with queue ID 9246.

CI gfxreconstruct build # 2027 running.

CI gfxreconstruct build # 2027 passed.

CI gfxreconstruct build queued with queue ID 9830.

CI gfxreconstruct build # 2029 running.

CI gfxreconstruct build # 2029 passed.


fix: remaining characters counting

Hey, friend! :wave:
First of all congrats for the amazing project! It's really awesome :smile:
This is a simple fix to solve the bug where the remaining characters count was not working.
Before

After

@JoaoVSouto Thank you!


stg_ga4__event_items needs a date field

It would be more flexible if the stg_ga4__event_items model had a date field to give larger sites to partition marts built on this model.

@dgitis this was closed with #133 , yes?

yes


Support Linked addons

I use npm link while in development so I can develop my addons and realize the changes immediately when running ember serve against my application that uses them.
I was wondering if it is possible to have this plugin "know about" the source folder for my addon such that when I use gf on a HandleBars component it'll find the source for it in the addon folder?

Even if I have to specify the extra addon paths manually for the plugin to use, that's fine

This seems like a nice functionality to have. Just to be clear, the addon is installed somewhere in the node_modules directory, correct? So, the logic could be something like:

gf on a component
Check if there is a component under app/components/<component-name>
If not, check if there's a component somewhere under node_modules

For the last step, could you describe what the path to this component would look like? To be honest, I've never written an addon, so I'm not sure what to look for. A guide to writing addons might help, but a concrete example would be even more useful (something like, "here's the github repo of one such addon, it would be under node_modules/foo/bar/...").

@AndrewRadev You got it. the entry in my application's node_modules for the addon in question (after doing the npm link) is as follows:
$ ls node_modules
lrwxrwxrwx 1 ctatar01 Domain Users 69 Apr  3 11:36 my-ui-addon -> /c/Users/ctatar01/AppData/Roaming/npm/node_modules/my-ui-addon//

Not sure what the deal is with the double // at the end of the target, but essentially it's a symlink as you described.  If you take a look at the folder it's linking to, it symlinks to the actual folder on my hard drive where my addon is located:
$ls -al /c/Users/ctatar01/AppData/Roaming/npm/node_modules/my-ui-addon
lrwxrwxrwx 1 ctatar01 Domain Users 31 Apr  3 11:34 /c/Users/ctatar01/AppData/Roaming/npm/node_modules/my-ui-addon -> /c/workspace/my-ui-addon//

It'd actually be a good idea to detect whether the current project is itself an addon (i.e. check for the existence of an addon folder).  The reason being is, when you are developing an addon, the app folder basically just contains a bunch of shim files that extend from the actual files located under ../addon.  For instance:
// app/components/api-version-check.js
export { default } from 'my-ui-addon/components/api-version-check';

I guess this all gets transpiled properly to fulfill that export, but really the code for api-version-check is really in addon/components/api-version-check.js not app/components/api-version-check.js.  So for gf and :A you'd want to be able to navigate to the file in the proper folder. ( I realize :A is from a different plugin, but if you know how to facilitate what I've described through the .projections.json file I'd be much appreciative.
Adding this bit of functionality would be great for me, a heavy user of custom addons. :+1:

@AndrewRadev if you'd like I can take a shot at implementing this

Well, I created a test addon to experiment with, but I give no guarantees about when I'd really get around to it. If you'd like to try it out yourself, I'd certainly appreciate a PR, even if it's incomplete. There are tests, if you can get a ruby environment going, so you'd have some feedback if you accidentally break something. You might even write a test or two to guide you as you work, I think they're fairly straightforward to write for the gf cases in particular.
Either way, I'll see when I can get around to it as well and I'll let you know if I have something working.


[bug] Unhandled Promise Rejection: path not allowed on the configured scope

Describe the bug
I tried multiple configurations, but they all failed. Everything works fine in development mode, but once built with tauri-action, the problem occurs.
"fs": {
  "all": true,
  "scope": [
    "$HOME/*",
    "$HOME/.chatgpt/*",
    "$HOME/.chatgpt/cache_mode/*"
  ]
}

Reproduction
No response
Expected behavior
No response
Platform and versions

<EMAIL_ADDRESS>tauri
tauri

Environment
› OS: Mac OS 13.0.1 X64
› Node.js: 18.7.0
› npm: 8.15.0
› pnpm: 7.18.0
› yarn: 1.22.19
› rustup: 1.25.1
› rustc: 1.65.0
› cargo: 1.65.0
› Rust toolchain: stable-x86_64-apple-darwin
Stack trace
No response
Additional context
No response

I only were able to test in on Windows so far and there were 2 issues i could see. The first one, probably windows-only, was your usage of the join function in conjunction with isRoot == true because this resulted in a path that looked like this \C:\Users\... (notice the additional \). This can be fixed by replacing it like the join lines in readJSONOpts and writeJSONOpts with
let file = path;
if (!isRoot) {
    file = await join(root, path);
}

The second one, probably problematic on all platforms is the scope config itself. Try using ** instead of *, so like "$HOME/.chatgpt/cache_model/**" (btw there was a typo in cache_model here)

Thanks, I'll try again.

Thanks, it is useful.
let file = path;
if (!isRoot) {
    file = await join(root, path);
}


Multi-part image downloads from GitHub releases being rate limited?

We're seeing transient 403 errors when downloading multi-part node images from GitHub Releases.  I bleieve that this may be due to rate limiting.  GitHub allows 5000 requests/hour for authenticated users and this is reduced to something like 60/hour for unauthenticated users.
Something interesting: GitHub is hosted on AWS!

I guess this makes sense because GitHub was operating well before MSFT bought them but it's funny that one of MSFT's most successful cloud services isn't running on Azure.  It must be tough for MSFT to cut a huge check for this every month.
Here are the error details as returned in the response content:
<?xml version="1.0" encoding="UTF-8"?>
<Error>
   SignatureDoesNotMatch
   <Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
   <AWSAccessKeyId>AKIAIWNJYAX4CSVEH53A</AWSAccessKeyId>
   <StringToSign>AWS4-HMAC-SHA256
20211018T183431Z
20211018/us-east-1/s3/aws4_request
f95322396460faf40bed3de2478a3ef27a263ca5daab15936c8d881f64844240</StringToSign>
   <SignatureProvided>e3549acfc6c1a9703e6b695f5d75b063680152caf06bc3f813255b47b032d16e</SignatureProvided>
   <StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 31 31 30 31 38 54 31 38 33 34 33 31 5a 0a 32 30 32 31 31 30 31 38 2f 75 73 2d 65 61 73 74 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 66 39 35 33 32 32 33 39 36 34 36 30 66 61 66 34 30 62 65 64 33 64 65 32 34 37 38 61 33 65 66 32 37 61 32 36 33 63 61 35 64 61 61 62 31 35 39 33 36 63 38 64 38 38 31 66 36 34 38 34 34 32 34 30</StringToSignBytes>
   <CanonicalRequest>GET
/github-production-release-asset-2e65be/376649274/bca8b44b-4bef-44b2-94ee-af37f06e1457
X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211018%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211018T183431Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=376649274&response-content-disposition=attachment%3B%20filename%3Dpart-02&response-content-type=application%2Foctet-stream
host:github-production-release-asset-2e65be.s3.amazonaws.com

host
UNSIGNED-PAYLOAD</CanonicalRequest>
   <CanonicalRequestBytes>47 45 54 0a 2f 67 69 74 68 75 62 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 72 65 6c 65 61 73 65 2d 61 73 73 65 74 2d 32 65 36 35 62 65 2f 33 37 36 36 34 39 32 37 34 2f 62 63 61 38 62 34 34 62 2d 34 62 65 66 2d 34 34 62 32 2d 39 34 65 65 2d 61 66 33 37 66 30 36 65 31 34 35 37 0a 58 2d 41 6d 7a 2d 41 6c 67 6f 72 69 74 68 6d 3d 41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 26 58 2d 41 6d 7a 2d 43 72 65 64 65 6e 74 69 61 6c 3d 41 4b 49 41 49 57 4e 4a 59 41 58 34 43 53 56 45 48 35 33 41 25 32 46 32 30 32 31 31 30 31 38 25 32 46 75 73 2d 65 61 73 74 2d 31 25 32 46 73 33 25 32 46 61 77 73 34 5f 72 65 71 75 65 73 74 26 58 2d 41 6d 7a 2d 44 61 74 65 3d 32 30 32 31 31 30 31 38 54 31 38 33 34 33 31 5a 26 58 2d 41 6d 7a 2d 45 78 70 69 72 65 73 3d 33 30 30 26 58 2d 41 6d 7a 2d 53 69 67 6e 65 64 48 65 61 64 65 72 73 3d 68 6f 73 74 26 61 63 74 6f 72 5f 69 64 3d 30 26 6b 65 79 5f 69 64 3d 30 26 72 65 70 6f 5f 69 64 3d 33 37 36 36 34 39 32 37 34 26 72 65 73 70 6f 6e 73 65 2d 63 6f 6e 74 65 6e 74 2d 64 69 73 70 6f 73 69 74 69 6f 6e 3d 61 74 74 61 63 68 6d 65 6e 74 25 33 42 25 32 30 66 69 6c 65 6e 61 6d 65 25 33 44 70 61 72 74 2d 30 32 26 72 65 73 70 6f 6e 73 65 2d 63 6f 6e 74 65 6e 74 2d 74 79 70 65 3d 61 70 70 6c 69 63 61 74 69 6f 6e 25 32 46 6f 63 74 65 74 2d 73 74 72 65 61 6d 0a 68 6f 73 74 3a 67 69 74 68 75 62 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 72 65 6c 65 61 73 65 2d 61 73 73 65 74 2d 32 65 36 35 62 65 2e 73 33 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d 0a 0a 68 6f 73 74 0a 55 4e 53 49 47 4e 45 44 2d 50 41 59 4c 4f 41 44</CanonicalRequestBytes>
   <RequestId>Z13QKRE1AEMJ3TFN</RequestId>
   <HostId>t4SE/cW8/IAU5f3VyfX0Dh4TD1gilElnGBD6e1hFD9Sp6bjhKLFaCdGLXuat7AU7RkQZQRMiCls=</HostId>
</Error>

It looks like Amazon is expecting the the request be signed by an auth token which is weird because we're assuming that GitHub downloads are supposed to work without being authenticated with GitHub (or AWS).  It's weird though that these requests seem to work a lot of the time.
I'm betting this is due to rate limiting.  GitHub allows 5000 API requests/hour for authenticated users and a lot fewer for unauthenticated requests.
The bummer here is that users may need to provide us with their GitHub credentials so that downloading (for free) from GitHub Releases will work.

We've decided to abandon using GitHub releases for publishing node/ready-to-go images in favor of multi-part images uploaded to AWS and/or elsewhere: #1299


IF statement is parsed incorrectly

The following statement is parsed incorrecly on SphereX and returns true, which leads to unexpeded behavior in scripts.
  if (1 + 2 ) > 10
    serv.log 'DEBUG' false-positive
  endif

It works fine when you add more parentheses, but it's a huge work to migrate existing shard scripts from 56b/c/d to SphereX due to this, as there is no warning and you have to review all your code and add missing parentheses.
  if ((1 + 2 ) > 10)
    serv.log 'DEBUG' bla bla
  endif

I'm using SphreX nightly version from Sep 14, 2021.
discord discussion

I tested and it's Fix in this commit: https://github.com/Sphereserver/Source-X/commit/1ec0790b415d6772c036898cbb2efac1b5a61d79

fix sent by nolok


Terraformer timeouts when provisioning Azure VMs

Code="OSProvisioningTimedOut" Message="OS Provisioning for VM 'ts1-azure-8yuszmh-azure-compute-2' did not finish in the allotted time. The VM may still finish provisioning successfully. Please check provisioning state later. For details on how to check current provisioning state of Windows VMs, refer to https://aka.ms/WindowsVMLifecycle and Linux VMs, refer to https://aka.ms/LinuxVMLifecycle."

This happens e.g. after 20 minutes of Terraform waiting for Azure to return the "success" signal.
I don't think this is a problem on the Terraform level though, because the timeout in Terraform is 60 minutes.
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_machine#timeouts
This error spawns a lot of other errors. Terraform doesn't know the VM is successfully provisioned in the end, tries to create it, but fails.
At the moment, this seems quite common in our E2E pipelines, causing failures.

closing this issue as it was not been seen since updating the images to ubuntu 22.04, if this issue arises again updating the image to the latest version should be tried first to resolve it.


Partly fix incorrect code review comment line number

A quick fix for #30844
The solution is updating the comment line when load diff.
We will get the diffs from the commit SHA of this comment when it is created to the current PR's commit SHA.
Then we can get the correct line number. (whether the commented line is deleted or becomes to another line)
But this will increase the I/O cost.
TODO

[x] when add comments still have a bug: hidden comments will display
[ ] fix test

Why close?

The solution of this PR is not good enough. We need to update the line when user pushes new commits.
I have tried to rewrite a new one. But I notice that the current DB design is not good enough. (It is related to 3) We need to discuss it.
There's no template ( a correct rule to display these line numbers ), as GitHub also have some similar bugs, so we should decide them first. e.g.

when should we remove the comment
do we need to recover the comment after user deleted and re-added the changes again. e.g. line 6 + aaa' there's a comment, then the next commit removed this line, so this comment will also be removed, and then the next next commit added this change back ( same line number or different line number ), do we need to show this comment again or not. And also another question : should this comment keeping outdated` status?
how to pin the line number to the comment, IMO, we need to save the line number when the comment created ( this is what we did ), and also the line number of the latest status.


html2pdf doesn't work, nothing happened

i'm using this code
https://codesandbox.io/s/xlnzq7y28q
but when i click export pdf button, that html2pdf() function like didn't execute anything

Same here. Nothing happens when I call the html2pdf() function.
The demo is not working as well.
Is there any fix or update for this?

我正在使用此代码
https://codesandbox.io/s/xlnzq7y28q
但是当我单击导出pdf按钮时，该html2pdf()功能没有执行任何操作

Do you solve this problem？ I had the same problem

i'm using this code
codesandbox.io/s/xlnzq7y28q
but when i click export pdf button, that html2pdf() function like didn't execute anything

that worked here but if it still doesn't for you, maybe include browser, OS, etc. I also noticed that link was using older 0.8.2 fwiw

I've been with a similar problem for a long time today, in my case, your codesandbox is working so if you see it working on your sandbox but not on your computer you might have a similar problem as I had: this lib does not work when opening directly from the html file, check your browser and the url, if you see "file" it won't work, this is due to browser's security, since some attacks are made this way.
You need to test it with an IDE that have live preview, for example brackets.io or get a plugin on your visual studio code. With live preview you will see that the url changes to a port on your localhost, then your code should work as in your sandbox 😄


Ability to search by author

It would be easier for me to know which plugins I still need to submit to postcss-plugins if I could easily search for plugins by my author name. Similarly, I would like to easily discover plugins written by quality authors like beneb.

👌 PRs very welcome!

postcss-plugins does record author as a property for each plugin, so theoretically this wouldn't be too hard...

The relevant code is right here, it's just a matter of checking if the author name is in the search query: https://github.com/mxstbr/postcss.parts/blob/0b4dae8c1ca7b1eeccc72715a677dca4e123dcfb/js/components/PluginList.js#L14-L21


Expose Parse Tree

Expose two new functions (parse and compileParsed) for each step of the
compile process.
So that a user of the library may, if needed, transform the parse tree
before translating and compiling it into a function.

@miguel76 Could you clarify cases when you have to transform parsed tree?

The case for which I thought it was for using jspath against JSON-LD.
JSON-LD is expressed in JSON but the data model is richer. So it makes sense for a parse engine to expose things not directly expressed in the JSON data, like property values derived from other property values. Some of this could be done by "path rewriting".
Generally speaking, I think that it makes sense to expose the parse tree to use the jspath syntax for different contexts. For example on streaming JSON data.


Fix the lack of handling the case of an error

There's a case when some commands can return error object instead of result. You should keep in touch with a documentation and provide a control to developers to handle these cases.
This would be a breaking change but it needs to be done.

@sergeyampo thank you for PR!
What you mean about error objects? Can you show example?

@SocketSomeone https://centrifugal.dev/docs/server/server_api#publish

@SocketSomeone centrifugal.dev/docs/server/server_api#publish

I think it not best way to remove mapping to result field, we just need to check
if ('error' in data) {
   throw new CentException(err)
}


Double :: in some editor fields

Description of Problem or Question
Minor cosmetic issue:
In editor screen the texts Min Duration, Max Duration and Difficulty have a double ::

Valkyrie Version
2.4.06

Will be in 2.4.10


Add behavior to Discard repeated back-to-back messages from the queue caused by finger freak

Thanks for the PR :smile:


Fix the flaky tests

Overview
Fix the timeouts in tests
Use a larger timeout of 5 seconds, and run these tests sequentially
as each of them creates its own thread pool increasing contention
for CPU.
Log the start event properly
As the server starts asynchronously the actual port is accessible
only after that operation completes (not immediately). The previous
implementation almost always logged 0 when 0 was requested.

Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage decreased (-0.03%) to 86.016% when pulling 89a16285564c896473e19233be0eb574540365c7 on dmitry-timofeev:fix-the-timeouts into a502189a3dcf0e2693f77c916c97134e357c4f43 on exonum:master.


Add latest dependency checker and notebook standizer

Do we want to run the notebook standardizer on this? I think typically we have left the outputs present in our demo notebooks so that people can visit the repo and read through the notebooks and see how they work without having to clone the repo, download the data and run (which can take significant time in some cases).

@thehomebrewnerd Good point. Removed
https://github.com/alteryx/open_source_demos/pull/30/commits/c8f2368e318c273b696d92f0472fdeae278eed55

Are you thinking that we will eventually try to implement some CI checks to run the notebooks when the versions get updates? Right now there are no CI tests in this repo so we won't get feedback on whether dependency updates break any notebooks, but that would be really nice to have!

yes, we do want to have some CI checks to run the notebooks when the Alteryx libraries get updated.


.streamrole doesn't seem to work -  self host

have tried using the .streamrole the bot doesn't know what to do with it its not showing in the bot command prompt screen so wondering what happened to it.

Streamrole definitely works perfectly.
What's your bot's version? Do you have sufficient permissions?

Im now using 1.6 and it works it wouldnt respond to that command in 1.55.7 that i was on.


Ping providers (at least) as a part of CI

We have a lightweight script that pings providers. If that runs as a part of the CI, it would provide a lot of protection against issues such as the one fixed here https://github.com/api3dao/chains/pull/69

Do you have anything in mind for how you would like this to work? Typically we wouldn't want a faulty provider to hold up our CI, so I guess this would probably be a parallel CI process. i.e. separated from the process that runs linting, unit tests and builds the app.
Maybe something like:

An Github workflow that runs on an hourly cron schedule
It just runs the ping providers script
Any failing providers are posted to Slack (?)
Maybe there's a badge on the README as well that shows x/49 chains responsive. Not sure how difficult this is to implement though

Bullets 1-3 sound good to me, though I think we'd be fine with daily (or less?) rather than hourly.

A daily test sounds good, but it wouldn't stop us from merging and releasing with an invalid provider URL.

We do currently validate providerUrl values are a valid URL here: https://github.com/api3dao/chains/blob/4f71dbbcee661bcc2d169ff9eda4355c0965fe71/src/types.ts#L25
I don't like the idea of pinging each providerUrl blocking us from merging & releasing though. We have 49 chains at the moment and this list is only going to grow larger. There's a decent chance that one of them is being flakey/having some downtime which will make the process of merging & releasing way more painful.

It wasn't a valid provider URL in that it was a block explorer URL


Extra Options

The second "options" expected to be "Extra Options", Otherwise explain what are the differences and usage of both

PR: https://github.com/cartologic/cartoview_geo_collect/pull/44


How does the enclosed-box attach to the rack?

Sorry if this is obvious, but I'm struggling a bit to visualize how the enclosed-box rails attach to the rack.
From the gifts of the enclosed-box and the assembly guide, I'd guess that the enclosed-box rails should attach with screws to each MainRail; there are rows of screw holes along the "sides" of the MainRails that I think would allow for that.
But when I render my enclosed-box parts, the supports on the rails are only ~50mm apart or so, which doesn't seem nearly far enough apart to attach to the MainRails. My rack dimensions are configured to be:
["custom", [
      ["maxUnitWidth", 236],
      ["maxUnitDepth", 102],
      ["numRailScrews", 16]
    ]],

I'm guessing that because my maxUnitDepth is 102mm, the screw holes in the enclosed-box rails (only ~50mm apart) won't line up with the mounting holes in the MainRails.
Am I missing something here? Or maybe I've got something misconfigured, and the enclosed-box rails should have their screw holes further apart?

I think what you have is correct. Yes, the side rails are to be mounted with the "side" holes of the main rail.
The maxUnitDepth here measures the distance between the "front" faces of the front and back main rails.
The distance between the front of the main rail, and the middle of the main rail's "side" hole is around 22mm (the distance here is only along the dimension representing "depth"). So 22mm + 22mm + 50 mm ~= 102 mm.
I'm a bit fuzzy on this though. If you end up printing it and it doesn't work out please let me know.

Did you set 'profileName = "micro";' to 'profileName = "custom"; in the rackFrame.scad file? If you don't change this, the entry.scad file will not grab the correct dimensions for your rack.


OS: Add Bedrock Linux

I'd like to add Bedrock Linux support.  I believe there were discussions about doing this in the past, but at the time Bedrock was not in a suitable position to cleanly inter-operate with neofetch.  We are now beta testing Bedrock Linux 0.7 Poki which includes changes I explicitly made with the aim of getting it to play more nicely with neofetch.  I hope to have Poki out of beta and properly released in around a month, and it'd be great if I could show it off with neofetch then.
Looks like a lot of preliminary work was done in the intervening time period:

https://gist.github.com/dylanaraps/ec1eb7e8dc13fef54740
https://github.com/dylanaraps/neofetch/pull/229

which makes me hopeful this will go well.
Some background, in case readers are unfamiliar with Bedrock Linux:  A Bedrock system is composed of features from other distros.  For example, I'm typing this on a system where my init comes from Void Linux, my Xorg server from Debian Stretch, my window manager from Gentoo Linux, and my web browser comes form Arch.
A couple Bedrock specific concepts that I think neofetch should handle:

Sometimes users want Bedrock to integrate different distros together, and sometimes they want the given piece of software to be restricted to its native stratum.  Bedrock offers a strat -r feature which can be used to disable cross-distro integration.  When strat -r is not used, neofetch should report the system as Bedrock and list all of the packages from all of the strata.  When strat -r is used, neofetch should report the system as the given stratum's distribution and only count its packages.  For example, while neofetch should report the system as Bedrock, strat -r arch neofetch should report the system as Arch Linux.  We can detect this strat -r feature is set by looking for the absence of /bedrock/cross/ directories in the $PATH.
A Bedrock system can have multiple instances of the same package manager.  For example, a Bedrock system could have components from both Debian and Ubuntu, and thus have two dpkg's.  Package counts should reflect this.

For package counts that are generated by running a command, we can loop over all of the strata and run each package manager with strat -r.  For example, we can run strat -r debian dpkg-query -f '.\n' -W and strat -r ubuntu dpkg-query -f '.\n' -W.
For package counts that are generated by counting files, we can list all instances of files on all strata by prefixing /bedrock/strata/*/.  For example, we can count both /bedrock/strata/gentoo/var/db/pkg/*/*/ and /bedrock/strata/funtoo/var/db/pkg/*/*/

I don't want Bedrock's unusual attributes to make a mess of the very clean neofetch code base.  If there is any disagreement with how I implemented these features I'm happy to change things accordingly.

Looks like the previous commit, 0168516a2c00b115b7b0ace7e36ac7f2da6ece7e, broke the test suite by having lines that are too long.  Could probably refactor it to have some new variable that contains the result of hw_pagesize / 1024 / 1024.

The code to calculate the width of the ASCII logo included backslashes used for escaping in its calculation, which made it overestimate the width of the logo I'm proposing here.  I've added a line to squash doubled up backslashes in the calculation which should resolve the concern for specifically the Bedrock logo.  It's probably possible to make a more generalized solution for escaped characters than the hard-coded escaped-backslash one I'm proposing here.

Other successfully merged OS additions had screenshots, figured I should add one in case it's a requirement:
https://i.imgur.com/EZaATD5.png

Apologies for the push spam.  Spent some time iterating on the ASCII logo with the Bedrock community.  I think we've settled on something, at least for the time being.
Other successfully merged OS additions had screenshots, and so I figured I should add one in case it's a requirement:

I think this will need approval from @dylanaraps since it changed the way get_packages() works.
LGTM, though. And good luck for the Bedrock Linux project! I'll definitely try it one day.

I don’t like the changes to get_packages(). When I can get a Linux machine
I’ll come up with another solution.
On Tue, 27 Nov 2018 at 15:16, M. Herdiansyah<EMAIL_ADDRESS>wrote:

I think this will need approval from @dylanaraps
https://github.com/dylanaraps since it changed the way get_packages()
works.
LGTM, though. And good luck for the Bedrock Linux project! I'll definitely
try it one day.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dylanaraps/neofetch/pull/1118#issuecomment-442054277,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGfAa2Q6Rp07LjXXdxPzKDH5-jCMOtFHks5uzTsugaJpZM4YrCBX
.

I still don’t have access to a computer but I’ll try and get access to a VM on someone else’s so I can get this merged.

I certainly understand being busy.  Don't feel obligated to rush in a merge, especially at the expense of code quality/style preferences.  I'm happy to show off Bedrock with neofetch whenever the opportunity manifests.

It’s less that I’m busy and more that I don’t have access to anything other
than a phone nor do I have an address where I can purchase and ship a
charger for my laptop (so that I can use it again).
It will likely be several months before I’m able to work on anything again.
I’m currently living in a village and none of the buildings on this island
have a postal address (nor a real address either).
I can get access to an old Windows laptop (For an hour at a time) but I’ll
have to setup a VM or boot a Linux distro from a USB stick.
I don’t mind working to get this PR merged it’ll just take me some time to
setup a dev environment.
On Sat, 15 Dec 2018 at 13:09, Daniel Thau<EMAIL_ADDRESS>wrote:

I certainly understand being busy. Don't feel obligated to rush in a
merge, especially at the expense of code quality/style preferences. I'm
happy to show off Bedrock with neofetch whenever the opportunity manifests.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dylanaraps/neofetch/pull/1118#issuecomment-447560559,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGfAa8WdbjXi3QlLUlc8CHB2qxMR2bQDks5u5Nh2gaJpZM4YrCBX
.


[BUG] Scaling down nodePool doesn't reassing all shards

What is the bug?
When scaling down nodePool, Operator shows messages about drain of removed node, but after it finished health status is Red and some shards remain unassigned.
How can one reproduce the bug?
Current setup is I have 4 nodepools - master with 3 replica (role master), nodes with 2 replica each 300Gi storage (role data+ingest), ingests with 3 replicas each 100Gi storage (role ingests) and data with 5 replica each 1Ti storage (role data). Scaling down nodePool nodes introduces issues with shard allocation and health status of cluster.
What is the expected behavior?
Expected behavior is that after Operator drains node and decommissions it, cluster health status will be Green.
What is your host/environment?
k8s v1.27.13, OpenSearch k8s operator 2.5.1, OpenSearch cluster 1.3.16
Do you have any screenshots?
yes I will post screenshots
Do you have any additional context?
nodePool nodes and data existed first, then ingests was added and now goal is to remove old nodes nodePool.
I did this same setup with OpenSearch cluster version 2.XX on different k8s cluster and it worked as expected - when one nodePool was removed, operator drained nodes of that nodePool 1 by 1 and removed them and there was no interruption to service and after it finished cluster health status remained green.
When doing these same steps on OpensSearch cluster version 1.3.16, it results it cluster health status RED and some shard unable to allocate. Sometimes it is 1 shard that remains unallocated, sometimes more shards.
I tried removing nodePool in manifest specification all at once and then I tried just to scale it down by one replica but got same outcome.
In operator logs, I see that it correctly waits for node to drain and then decomissions it, but at that very moment cluster goes into RED state and I see error with allocations.
When I add removed nodepool/replica back to manifest, after pod is up and running status of cluster is back to Green and everything is behaving normally.
I tried this several times and get one of few errors about allocation every time.
Also as seen in screenshots bellow, before scaling down, nodes have 12.3gb used storage for disk.indicies but when one of nodes in nodePool gets removed, number of shards seems to be redistributed, but disk.indicies number stays same for all nodes, or changes just minimally but does not cover 12.3gb that should have been relocated to remaining nodes... and when nodePool is scaled back up to original and removed Pod mounts its old PV, everything is back to normal green state.
{"level":"debug","ts":"2024-09-11T17:39:26.493Z","logger":"events","msg":"Start to Exclude int2-opensearch/int2-opensearch","type":"Normal","object":{"kind":"OpenSearchCluster","namespace":"int2-opensearch","name":"int2-opensearch","uid":"4b093d1c-5644-411a-a010-af0c78faf969","apiVersion":"opensearch.opster.io/v1","resourceVersion":"173437926"},"reason":"Scaler"}
{"level":"info","ts":"2024-09-11T17:39:26.531Z","msg":"Group: nodes, Node int2-opensearch-nodes-1 is drained","controller":"opensearchcluster","controllerGroup":"opensearch.opster.io","controllerKind":"OpenSearchCluster","OpenSearchCluster":{"name":"int2-opensearch","namespace":"int2-opensearch"},"namespace":"int2-opensearch","name":"int2-opensearch","reconcileID":"b99653cd-8ca2-46c7-ba4a-b558f966345a"}
{"level":"info","ts":"2024-09-11T17:39:26.546Z","msg":"Reconciling OpenSearchCluster","controller":"opensearchcluster","controllerGroup":"opensearch.opster.io","controllerKind":"OpenSearchCluster","OpenSearchCluster":{"name":"int2-opensearch","namespace":"int2-opensearch"},"namespace":"int2-opensearch","name":"int2-opensearch","reconcileID":"93813285-fb36-4c9e-b2d1-1b2d08e28df5","cluster":{"name":"int2-opensearch","namespace":"int2-opensearch"}}
...
...
{"level":"debug","ts":"2024-09-11T17:39:26.637Z","logger":"events","msg":"Start to Drain int2-opensearch/int2-opensearch","type":"Normal","object":{"kind":"OpenSearchCluster","namespace":"int2-opensearch","name":"int2-opensearch","uid":"4b093d1c-5644-411a-a010-af0c78faf969","apiVersion":"opensearch.opster.io/v1","resourceVersion":"173438036"},"reason":"Scaler"}
{"level":"debug","ts":"2024-09-11T17:39:26.637Z","logger":"events","msg":"Start to decreaseing node int2-opensearch-nodes-1 on nodes ","type":"Normal","object":{"kind":"OpenSearchCluster","namespace":"int2-opensearch","name":"int2-opensearch","uid":"4b093d1c-5644-411a-a010-af0c78faf969","apiVersion":"opensearch.opster.io/v1","resourceVersion":"173438036"},"reason":"Scaler"}

Cluster health status
{
  "cluster_name" : "int2-opensearch",
  "status" : "red",
  "timed_out" : false,
  "number_of_nodes" : 12,
  "number_of_data_nodes" : 6,
  "discovered_master" : true,
  "active_primary_shards" : 92,
  "active_shards" : 183,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 1,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 99.45652173913044
}

Allocation before change

Example of allocation after change

Example of unallocated shard explanation
{
  "index" : "***********",
  "shard" : 1,
  "primary" : true,
  "current_state" : "unassigned",
  "unassigned_info" : {
    "reason" : "NODE_LEFT",
    "at" : "2024-09-11T18:04:19.246Z",
    "details" : "node_left [pDXfgCn9TQuRA5bGR1DKPw]",
    "last_allocation_status" : "no_valid_shard_copy"
  },
  "can_allocate" : "no_valid_shard_copy",
  "allocate_explanation" : "cannot allocate because all found copies of the shard are either stale or corrupt",
  "node_allocation_decisions" : [

EDIT:
I did tried it again in order to collect more and noticed that when I scale down nodePool nodes from 2 to 1 ... Operator goes from int2-opensearch-nodes-0, int2-opensearch-nodes-1 to int2-opensearch-nodes-0 and drains node int2-opensearch-nodes-1, during this process, it reallocates some shards to node that is being drained and then node pod is terminated and removed from cluster and logs from operator are as I posted above

[Triage]
Thanks @pbagona for the detailed description, I assume this has to do something with 1.3.16 version of OpenSearch (since as you mentioned it works with 2.x). Also since 1.3.x is just in maintenance mode I would recommend to use the latest 2.x version of OpenSearch.
Also when the state is RED have to tried to scale down to zero and then scale up (or a fresh restart)?
Thank you
@swoehrl-mw @getsaurabh02

I concur with @prudhvigodithi here. This looks like a problem with opensearch itself. From your description opensearch is not able to correctly recover some shards if one of the replicas is removed. Since the 1.x version is no longer developed it does not make sense to implement special logic for this in the operator.

@prudhvigodithi I tried to do fresh restart/scale down&up and status stayed same.
thanks guys for help and confirmation where the issue is. We are running on 2.x where we can, but on some k8s clusters we need to keep 1.x due to APP compatibility. They should provide new version which will work with Opensearch 2.x next year, so at least now we have another reason to push them to provide it ASAP.
For now I forwarded this info in team to be super careful when scaling down and removing replicas.
Should I close issue with "Close as not planned"?

Thanks for confirmation @pbagona, I will close this issue for now, please feel free to comment or re-open if required.
@swoehrl-mw @getsaurabh02.


Scrape Hacktoberfest Events 2020

The script should scrape all the events from the Hacktoberfest event's website and stores them in a .CSV file.
LINK

Pull Request


Move custom navmesh data to a separate file, to be grouped by levels in functions

This change had to be done.
Bloating entity.gc was not nice. And it led to merge conflicts if the modbase changed a navmesh while a modbase-using mod also had navmeshes. So these changes will resolve all problems.
Now you can have your navmeshes in a function, in the navmesh-data.gc file. Should be much more readable, and much harder to get conflicts.

Not merging this yet, I am not happy about the names... Need to sleep on it.


How to disable pdf file download by pressing ctrl + s

How to disable the download of files by pressing ctrl + s in the standard pdf viewer or replace it with the download of the html page? Thanks.
https://mozilla.github.io/pdf.js/web/viewer.html

There is no useful data on the html page, so it's not worth to saving it. Closing as won't fix.

use css
display: none;

Can close. Commented the line downloadManager.download (blob, url, filename) in app.js, and now you can not load it with ctrl + s.

@recived Thanks


release 5.2.1

Could you release 5.2.1?

Version 5.2.1-1 just released: https://github.com/floragunncom/search-guard-kibana-plugin/releases/tag/v5.2.1-1


Question: Is CurrentPlatform.Init(); still required?

With the update to use SQLite.raw we no longer need to init for iOS, but what about Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); for iOS/Android?

nm it is :)

How about for Xamarin Forms?

Ditto for Xamarin Forms.

+1 from Xamarin.Forms


Module not found: Error: Can't resolve 'redbox-react'

I think the build is broken. I installed the package and tried to include it in my project and I'm getting the above error. Taking a look inside index.js, it tries to import redbox-react, which I assume should not be part of the production build.

same issue

➕1⃣


Ice and Fire dragon riding looks super wonky

This is also visible in first person, and presumably to other players.
Unrelated, but the player model is very jittery when turning in first person on a horse.

Unrelated, but the player model is very jittery when turning in first person on a horse.
I can look into that one.  It looks like the mod might hide the real player and render a custom version of the player as part of the dragon model. Might take some time to look into it since currently some rewrites are being done. Is this with the current 2.0.0 builds?

Unrelated, but the player model is very jittery when turning in first person on a horse.
I can look into that one.  It looks like the mod might hide the real player and render a custom version of the player as part of the dragon model. Might take some time to look into it since currently some rewrites are being done. Is this with the current 2.0.0 builds?

This is on 2.0.0 Forge. It also shows in first person, with the players model duplicated in front of and below the camera

This is on 2.0.0 Forge. It also shows in first person, with the players model duplicated in front of and below the camera

It seems like this happens without your mod.. I'll open an issue in the Ice and Fire repo

It seems like this happens without your mod.. I'll open an issue in the Ice and Fire repo

Yea that's an odd issue. I guess it renders the 2nd player on the dragon and places the real player above to fake the 3rd person? Could probably be done better 😅.

Yea that's an odd issue. I guess it renders the 2nd player on the dragon and places the real player above to fake the 3rd person? Could probably be done better 😅.


[TH2-1873] Added the ability to handle actions from the root window

Merged as part: https://github.com/th2-net/th2-grpc-hand/pull/29


chore: add SAST scanning

Refs #84
Signed-off-by: Justin Abrahms<EMAIL_ADDRESS>

Codecov Report

Merging #108 (71aca52) into main (715fd03) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #108   +/-   ##
=========================================
  Coverage     91.84%   91.84%
  Complexity      175      175
=========================================
  Files            19       19
  Lines           380      380
  Branches         23       23
=========================================
  Hits            349      349
  Misses           20       20
  Partials         11       11

Flag
Coverage Δ

unittests
91.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I'm currently experimenting with how to get the build time for this step lower. If I can't, I'll probably kick it off on a schedule.

GitHub CodeQL can only be used on codebases that are released under an OSI-approved open source license, or to perform academic research, or to generate CodeQL databases for or during automated analysis, continuous integration (CI) or continuous delivery (CD) in the following cases: (1) on any Open Source Codebase hosted and maintained on GitHub.com, and (2) to test CodeQL queries you have released under an OSI-approved open source software license. It can't be used for automated analysis, continuous integration or continuous delivery, whether as part of normal software engineering processes or otherwise, except in the express cases set forth herein. For these uses, contact the sales team.

Seems like we're pretty squarely in the good here. Interesting terms tho!


Minor Edits

Reference Issues/PRs
What does this implement/fix? Explain your changes.

Menu optimized

Any other comments?

@sadrasabouri Please review this PR 🥇


vscode.dev tunnel is down

Sanity checking 1.89.1 build.

created a tunnel using code tunnel
use the provided link to open it in a browser

Get:

Hi Dirk, are you still seeing this issue?


Ory editor

I think integrating the Ory editor in some way for StreamBlocks could be very powerful:
https://github.com/ory/editor

I just found this editor and immediately thought the same as i saw it!
Id love to see my favored CMS having a great editor!

Thanks for pointing this out! There are indeed very strong similarities with what we're doing with Streamfield, and ideas that I'd very much like to adopt such as being able to seamlessly move the text cursor between blocks. However, given the difference in technology stack (we still need to be able to define block types in Python code) and other design decisions they've made (it seems to be built around the principle of giving editors complete freedom over page layout, rather than enforcing any structure in the data model), I think it's unlikely we'd be able to use the Ory editor as anything other than a source of inspiration.


Monocular Image Application

Hello
Can this code be used for single images or is it strictly for video?
Thanks

The code links to different single-image depth estimation networks.  You can directly try those out. And at the beginning of the code, given all frames in color_full/ and frames.txt which documents the timing and frame sizes, it will compute monodepth for each frame using the model you choose.


Fixing MDN.17 rule to be avaialble only for LDNMOS devices

Fixing MDN.17 rule to be avaialble only for LDNMOS devices

Fixed in #82


Some fixes after commons upgraded

./gradlew build succeeded

@cgtz Upgraded the json version like you suggested and fixed all the build/test errors that showed up. ./gradlew build && ./gradlew test succeeds


Add types to SQLite columns, use JSON5 for config, add includeKeysRegex, add -show-keys-info

Codecov Report

Merging #5 (a37f016) into master (f53568f) will decrease coverage by 1.74%.
The diff coverage is 52.38%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   55.09%   53.34%   -1.75%
==========================================
  Files           9        9
  Lines         481      553      +72
==========================================
+ Hits          265      295      +30
- Misses        160      197      +37
- Partials       56       61       +5

Flag
Coverage Δ

unittests
53.34% <52.38%> (-1.75%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

flatjsonl/flags.go
25.58% <0.00%> (-0.61%)
:arrow_down:

flatjsonl/reader.go
55.00% <ø> (-0.74%)
:arrow_down:

main.go
0.00% <0.00%> (ø)

flatjsonl/processor.go
61.05% <51.06%> (-9.78%)
:arrow_down:

flatjsonl/sqlite_writer.go
53.01% <77.77%> (+2.34%)
:arrow_up:

Continue to review full report at Codecov.

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


.validateAll() always returns a resolved promise

I noticed that the .validateAll() method always returns a resolved promise, even if the validation fails. This seems like an odd decision to me, mostly because it means users can't take advantage of await/async syntax.
Per the docs at http://vee-validate.logaretm.com/examples.html#validate-data-example
Description:
export default {
  name: 'form-example',
  data: () => ({
    email: '',
    name: '',
    phone: '',
    url: ''
  }),
  methods: {
    validateBeforeSubmit() {
      this.$validator.validateAll().then((result) => {
        if (result) {
          // eslint-disable-next-line
          alert('From Submitted!');
          return;
        }

        alert('Correct them errors!');
      });
    }
  }
};

While it works, this doesn't pass most linter configurations (because of the early return statement).
If this method did return a rejected promise if validation fails, then it is possible use the following:
methods: {
  async validate() {
    await this.$validator.validateAll()
    this.someAction()
  }
}

Also, there is a small typo there "From submitted" should be "Form submitted" ;)

the promise does not reject anymore because of #507 which had very good points about "expected outcomes" and it is much cleaner using async/await since previously you would have to try/catch to find if validation fails.
const result = await this.$validator.validate(); // or validateAll

if (!result) {
  // invalid input, validation failed
}

Fair enough :)

I couldn't find this change in the docs easily and I see that others had the same question, maybe something to consider making more clear?


added pencil cursor for canvas

Closes: #159
replaced crosshair with a custom pencil cursor
Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Mention any unusual behaviour of your code (Write NA if not)
NA
Checklist:

[X] My code follows the guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly whereever it was hard to understand.
[X] My changes generate no new warnings.
[X] Any dependent changes have been merged and published in downstream modules.

@avinal, that url is a data url, not web url, so it won't ever happen that the link becomes broken. I used a data url instead of a file path since it means 1 less http request, which makes the site faster. However, if you still want me to use a local svg file instead, I can do that too.
Also, please re-review, the cursor should appear as expected now

Can u please share the screen recording of ur code been implementing . Its easy to review

https://user-images.githubusercontent.com/68962290/118356748-62a99400-b594-11eb-9597-c82c9459dbd3.mp4
@ankitapuri

@avinal it's alright, thank you!


The generated uploadFiles method should be accessible for unauthorized users.

Problem
When upload files using the generated nextjs code, it returns an csrf empty issue while not logged in.
Suggested solution
The generated uploadFiles should be accessible for anonymous users.
Alternatives
Or this behavior can be configurable.
Additional context
Discord discussion here: https://discord.com/channels/738739428314316823/896556567753789460/1052126195963142195

Thanks for reporting @erguotou520 we will be releasing the advanced s3 uploads RFC soon, which gives you more controls over authorizing uploads.

This has been fixed in #646


Multiple forms, default values get lost

I am trying to implement two forms within the same view. and submitted data are processed in the same view. In each form there are some hidden input boxes (a form id, etc). These hidden values are populated with the default parameter and whenever I have POST data, I try to identify what happens form the hidden values. However, when I submit the first form, the default values for the second forms, are never set (they are just empty). The same happens when I submit the second form. So, when I submit the second form, after submitting the first one, all hidden values are corrupted.
The problem still exists even with using the prefix parameter in each form.
I can't figure out if I am not using the forms right, or it is at some point a bug.
An idea to avoid the problem was to use hardcoded
<input id="formLogin-idForm" name="formLogin-idForm" type="hidden" value="formLogin">
instead of just a
{{ form_login.idForm }} which apparently is just a bad hack
Thank you very much for your support and time.

Any update about this? I am having exactly the same issue as you can see here. http://stackoverflow.com/questions/31242772/multiple-forms-in-the-same-page-keep-the-pre-populated-data-when-submitting