Support proxy

Embedded Mongo supports proxy definition.
It would be nice to have the same feature for embedded-mysql.

Ok, on it - given I'm taking a slight departure from flapdoodle api, I will need to think a bit how to add it, but I have a working impl already, so I expect to ship it during next week if all is well.

@tleveque - sorry for taking much longer than I anticipated - work, life...
Anyway - is it still needed? I did some experimenting with introduction of this but did not like how it turned out. If it's still needed I will continue and will finish it eventually.

Hi.
I really appreciate if embeddedmysql supports proxy, since I wanna use embeddedmysql at my office but can't download tar.gz because of the proxy.
I download tar manually and put it to .embeddedmysql folder, but it still try to download tar.

@keihiromasa ok, first need to stabilize ci - for some reason started just failing..., Then add proxy support. I would expect eta < 1 month - work, life, summer:)

I will expect to support a proxy server with authentication. (I use it in my office)
Thanks.

@mikesmithson any luck?

initial support added, closing.


Fix extension-cli failing to upload

@Mergifyio backport release/2.17.0

@Mergifyio backport release/2.17.x


win10 support

Feature request  / 功能建议
It uses FastRotaryEmbedding, which relys on Triton. However triton is not available in win now. We may found some unofficial build Triton win10 wheels around. Tested and they doesn't support cogvlm（neither v1 and v2）.
Many many applications need to be deployed on win. Linux is limited to some web applications.
Local LLM is the future. Please pay more attention to local deployment support.
Motivation / 动机
none
Your contribution / 您的贡献
none

To infer this model, the xformer library must be used, which poses a significant challenge for Windows users. For versions v1 and v2, it is not straightforward to remove xformer without compromising quality (as we have tested before). We will try removing this dependency in future versions of the model.

Thanks. I do have xformer installed. And use it in other models such as stable diffusion nicely. The issue is the FastRotaryEmbedding use triton. I've no idea what is the connection between xformer and triton, or can it simply go with another FastRoraryEmbedding impl rather than the triton one?

Thanks. I do have xformer installed. And use it in other models such as stable diffusion nicely. The issue is the FastRotaryEmbedding use triton. I've no idea what is the connection between xformer and triton, or can it simply go with another FastRotaryEmbedding impl rather than the triton one?

same issue here. by the way v1 works perfect for me on windows even with 4bit
https://github.com/THUDM/CogVLM2/issues/169


Add Bogue+Coe 1981 simul algo

This adds the Bogue and Coe (1981) simultaneous algorithm functionality. This allows users to check the probability of correlating two directions with known precision parameter estimates and a known angle between them. This was written in Python by Scott Bogue, and I translated it into PmagPy functionality to hopefully make it more widely available.
This is my first time doing a commit. I'd like to start helping with this project more in the future.
Bogue, S.W., and Coe, R.S., 1981, Paleomagnetic correlation of Columbia River basalt flows using secular variation. Journal of Geophysical Research, v. 86, p. 11883–11897.

@apivarunas Great to have your contribution and it would be fantastic to have more contributions to PmagPy from you moving forward. I made a couple of suggestions in the code review that can help standardize things a bit in terms of parameter names and the docstring.

Thanks for the comments Nick. I've addressed them as follows:

named the function 'ipmag.simul_correlation_prob'. This is more informative, while creating the natural next name for the BC81 'rand_correlation_prob' algorithm which is just down the pipeline.
I renamed 'wordy' to 'print_result' and added to docstrings
I added trials to the parameter list with that default value and changeability.

Good deal. Could you also add an informative description to the docstring about what the output probability parameter is?

One other small change is that you have this line:
simul_prob=p1;

put that defined variable simul_prob is not used as you return p1 which means that line could be deleted. Or alternatively you could return simul_prob or change the line:
 p1=1.0*hit/num_trials

to
simul_prob=1.0*hit/num_trials

and return simul_prob
Similarly it seems like you should just have the parameter be num_trials rather than having this line in the function:
num_trials=trials

All small things, but implement how you see fit and we can then merge the pull request.

Thanks for that attention, Nick. I have added to the docstring, which should now make it clear what is being returned and how to find more information. I also added reference to the potential companion functions, which I can add in a new branch, or just keep working in this branch if that makes sense. Let me know what y'all prefer!
The redundant variables are now fixed, I decided to stick with simul_prob and trials, but now they don't get transmuted into redundant variables.
The print result output was giving both the explanatory sentence with simul_prob incorporated, and the returned value itself, so I made it only return simul_prob if print_result=False

Great. I just merged in the pull request. I think putting in future pull requests from this branch or from another one should both work fine.
One thing that we also have done in some of the docstrings that can be nice is to put in an example using the function — you can look at the formatting for those for some other functions. One thing that is nice about doing is is that they then get nicely rendered in the documentation: https://pmagpy.github.io/PmagPy-docs/api/api.html#pmagpy-ipmag


type mismatch of the parameter stgmaccess in function OpenPropertyStore

OpenPropertyStore here has a parameter stgmaccess which is u32. But the constant like STGM_READ and STGM_Write here is defined as i32.

Transferring to win32metadata. This is another example of microsoft/win32metadata#750.
Some more helpful information for others:
HRESULT OpenPropertyStore(
  [in]  DWORD          stgmAccess,
  [out] IPropertyStore **ppProperties
);

// win32metadata <IP_ADDRESS>516
public const int STGM_READ = 0;
public const int STGM_WRITE = 1;
public const int STGM_READWRITE = 2;
...


AppEngine integration

Hi,
I tried to use a database driver with my application today, which relies on this logger. I wanted to have my app run on Google App Engine, but I noticed that the only thing which is standing on my way is the use of syscall package. Looking at the code, I noticed that the original terminal_linux.go file is based on Go's official ssh/terminal repo. However, now that I took a look at ssh/terminal, they have updated it to use hard-coded constants for linux. In the end, I was able to get logrus build on appengine with some modifications.
Declaration of IsTerminal() in terminal_appengine.go is clearly a hack and I don't have any idea whether I may app may have side-effects from it.
Since the tests pass and the program compiles on Darwin and AppEngine, I was wondering if you could give me an opinion whether there could be chance for some hack like this to get into the main project? I'd imagine that at least some people on upstream projects could find the hack welcome.
If you are fine with the idea, I can make a PR of it.

Fine with me!

https://github.com/sirupsen/logrus/issues/343


Climate/Thermostat not working

Describe the bug

I installed the latest version of the plugin. The zigbee based switch works fine (as in, being able to show correct state, and toggle correctly), but the wifi based thermostat device is always showing Not Responding in Home app and therefore I can't control it.
Not sure what else is needed to debug. But please let me know if anything. Thank you!
Steps To Reproduce

Installed the homebridge-tuya-web plugin in homebridge and restart homebridge service.
See the Air Conditioner device showing up in Home app, but always in 'Not Responding' state.

Plugin Version

v1.1.2
Homebridge Config

{
    "name": "TuyaWebPlatform",
    "options": {
        "username": REDACTED,
        "password": REDACTED,
        "countryCode": REDACTED,
        "platform": "smart_life",
        "pollingInterval": 600
    },
    "defaults": [],
    "scenes": false,
    "platform": "TuyaWebPlatform"
}

Device Config

Getting credentials
Got credentials
{   'access_token': REDACTED,
   'expires_in': 864000,
   'refresh_token': REDACTED,
   'token_type': 'bearer'}
Getting devices
Got devices
{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
   'payload': {   'devices': [   {   'data': {   'online': True,
                                                 'state': 'false'},
                                     'dev_type': 'climate',
                                     'ha_type': 'climate',
                                     'icon': 'https://images.tuyaeu.com/smart/product_icon2/wk_1.png',
                                     'id': 'bfce7c77e0ccee29dbbvwl',
                                     'name': 'Air Conditioner'},
                                 {   'data': {'online': True, 'state': False},
                                     'dev_type': 'switch',
                                     'ha_type': 'switch',
                                     'icon': 'https://images.tuyaeu.com/smart/solution/331001/4772fad51dca8c64_cover.png',
                                     'id': 'bf3c90074bf5c437c3rsit',
                                     'name': 'Fan Switch'},
],
                  'scenes': []}}
!!!

Additional Context

I can control the Air Conditioner device perfectly fine in the Smart Life app.

FWIW, there is one thing I found suspicious, which is that the climate device has the state in the device config payload in plain string like 'state': 'false', as opposed to boolean like the rest.

Is there any information in the logs when you start homebridge/hoobs regarding this device?
Everything seems like it should work 🤔

@milo526 unfortunately no log at all, as if it was working fine.
Lately I tried to dig into it, and found that it may be because of the missing dps for current temperature from the thermostat.
So I tried to modify the file accessories/characteristics/currentTemperature.js file's public getRemoteValue(callback: CharacteristicGetCallback) method to return a fixed value (e.g. 15), that got it out of the always not responding state.
Also, I tried to play with the tuya-cli command to figure out what's supported by this thermostat, and these are all the dps and their values supported (which correspond to Smart Life app's interface):
 - On/off (dps index '1'): true, false
 - Mode (dps index '2'): 'cold', 'hot', 'wind', 'dry'
 - Target Temp (dps index '16'): [numerical, e.g. 23.0]
 - Level (fan speed, dps index '28'): 'auto', 'low', 'middle', 'high'
 - Child Lock (dps index '40'): true, false
 - Program (dps index '58'): 'manual', 'program'

for example, the tuya-cli command output for this device is like:
{
    "1": false,
    "2": "hot",
    "16": 22,
    "28": "middle",
    "40": false,
    "58": "manual",
}

I'm wondering if it's possible to combine this thermostat and another temperature sensor device in the same tuya account to have a full function thermostat (that shows current temp)? 🤔


some question regardin modsecurity

i'm running multiple sites based on joomla with npm plus ( before was the npm standard)
i upgraded to npm plus 2 weeks ago ( i already posted some issues)
now i have a couple of question regarding modsecurity and some adjustemd i had to do in the modsecurity-default.config to let my websites working ( at least to modify in the backend)

i had to edit the lines (adding some 0 at end):
SecRequestBodyLimit<PHONE_NUMBER>000
SecRequestBodyNoFilesLimit<PHONE_NUMBER>000
SecArgumentsLimit 1000000
SecRule &ARGS "@ge 1000000" \

if the lines was at default i can't edit in the backend of my websites
[file "/data/etc/modsecurity/modsecurity-default.conf"] [line "67"] [id "200007"] [rev ""] [msg "Failed to fully parse request body due to large argument count"] [data ""] [severity "2"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/administrator/index.php"] [unique_id "172296146270.157715"]
this is the error i get
so the question is.. modify the lines can harm the security ?

it could make a lot cpu usage, if it needs to parse big files


Streaming handler + json

When using the streaming handler with the json format, it seems that is necessary to close the stream to flush the buffer or something. Otherwise, json message come in in large groups and cause a parsing error when trying to parse them.
Perhaps this is an error with my setup or is it something else?

Im going to reopen this. Even if I close the stream at my end, it seems the SocketHandler will hang on !feof() because of how the stream was closed. I would propose having the SocketHandler close the socket after every write to ensure the each json object is received individually. Thoughts?

I would propose having the SocketHandler close the socket after every write to ensure the each json object is received individually

closing and re-opening the socket on each write sounds like a bad idea performance wise.

It is, but its better than waiting 30 seconds for php to time out every time! I'm not proposing making it the default, just an options. For my dev environment, the performance penalty is really, really small.
I'm also open to other ideas on how to get the json objects send as individual messages to a remote server? The only way I can get it working is by closing the connection after every write...

@mbrevda maybe you could try to call SocketHandler::setTimeout(0.1) or something that fits your network model so that writes go through and do not block for 30seconds?

Great @Seldaek, I missed that. Thanks!

I think the remote is kinda borked if it can't read line by line.. so adding an option like that sounds a bit nasty, especially as it's so inefficient to close and reopen on every write. Would you mind sharing the code you have on the receiving end?

This is the gist of it. I agree closing the connection isn't very performant, but I don't see another way.

Closing as not sure what to do about this, sorry.


Artifact pull jobs say "SUCCESS" even when no artifact was fetched

In GitLab by @samthursfield on Jul 14, 2017, 12:51
It's misleading for users to see "SUCCESS" for a pull job, when in fact the pull job did nothing.
It should say something like "NOT FOUND" or "MISSING" instead so it's clear that it needs to be built.

In GitLab by @juergbi on Jul 19, 2017, 06:12
assigned to @juergbi

In GitLab by @tristanvb on Jul 19, 2017, 08:31
Not sure if it makes sense to flat out assign this to @juergbi ... anyway leaving as is for the moment...
The problems here are:

Plugin.timed_activity() assumes that any activity is either going to succeed or fail
The outer activity timer in the scheduler (job.py) does not have a way of knowing if a job is a succeed or fail kind of job either

So, we would have to fix both of these for more comprehensive output for the kind of task which only might have some effect.
First we'd need some parameter to timed activity to change the success message to something else (and we would have to know what that something else is going to be... green "OK" ? or what ?)
Then we'd have to mark the specific scheduler Queue with some attribute to inform the scheduler what kind of timed activity flavor to use.

In GitLab by @juergbi on Jul 19, 2017, 09:03
With my OSTree summary file branch, pull jobs are scheduled only when BuildStream knows that the remote artifact repository already has that artifact. I.e., the 'not found' case should not occur anymore. And as the build plan in my branch is constructed based on the summary file, pull errors can no longer be ignored.

In GitLab by @tristanvb on Jul 19, 2017, 09:30
@juergbi Good that we can just avoid this !
But I wonder how this plays out for:

User who has artifact cache configured
Is currently performing an offline build

In GitLab by @juergbi on Jul 19, 2017, 09:35
If fetching the summary file fails, we could switch to offline mode instead of bailing out.

In GitLab by @juergbi on Jul 20, 2017, 06:15
mentioned in merge request !59

In GitLab by @tristanvb on Jul 20, 2017, 09:28
closed via merge request !59


Feat/pool classification

Adds classification of pools for low/high price estimations
Enable liquidity range visualizer
Adds missing styles of liquidity range inputs

If pool id is null (create new pool), volatile token estimated low/high values fallback to +-10%. But what should be to the Visualizer? @af-afk


update rpc to 20.0.0-rc4

once this merges, we need to change the soroban preview 11 release docs, it has incorrect sha pointing to arm64 quickstart:testing image, need to get the multi-platform sha of the testing image from manifest / push job of this pr when it merges to master and builds that image and update docs with that.


Add text about getting help.

Add "(see below)" and text about how to getting help using the linux commands.

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

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

Looks good @frbc, congratulations on your first contribution to freeCodeCamp! In the future, be sure to complete the checklist in the PR template. Thanks and happy coding!


Multiple middle names?

I have two middle names, so I put that into the parser, and it recognizes my second middle name as a surname. I understand it is probably more common to have two surnames rather than two middle names, but I figured I'd let you guys know.

Similarly an example that simply fails to parse:
Philbert Justice Pillington "The Pill" Jr.
If you take "The Pill" out, it still fails to parse.

Hmm... not great. I wonder where we can find a data source with lots of
middle names.
On Wed, Apr 15, 2015 at 5:22 PM Thomas Luce<EMAIL_ADDRESS>wrote:

Similarly an example that simply fails to parse:
Philbert Justice Pillington "The Pill" Jr.
If you take "The Pill" out, it still fails to parse.
—
Reply to this email directly or view it on GitHub
https://github.com/datamade/probablepeople/issues/8#issuecomment-93585880
.

My father and all three of my children have three given names plus our surname (family name).
It seems that statistics on how many people have one, two, three, or more, given names is hard to come by.
And British names are by no means the hardest to recognize; in Spain one typically has a couple of given names plus both the mother's and the father's family name.


[APIM] Added version parameter for apim api import

Description
Version and version set support is added to apim api import command as requested in issue#15205
Testing Guide
History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X] I adhere to the Command Guidelines.

[X] I adhere to the Error Handling Guidelines.

APIM

Please fix ci issues first.


12.2 "mnsync status" has extra comma in output

Specifically the line:   "IsWinnersListSynced": true,,
{
  "AssetID": 4,
  "AssetName": "MASTERNODE_SYNC_GOVERNANCE",
  "AssetStartTime":<PHONE_NUMBER>,
  "Attempt": 8,
  "IsBlockchainSynced": true,
  "IsMasternodeListSynced": true,
  "IsWinnersListSynced": true,,
  "IsSynced": false,
  "IsFailed": false
}

dash-cli --version
Dash Core RPC client version v<IP_ADDRESS>-33e460f

dash-cli mnsync status
{
  "AssetID": 4,
  "AssetName": "MASTERNODE_SYNC_GOVERNANCE",
  "AssetStartTime":<PHONE_NUMBER>,
  "Attempt": 3,
  "IsBlockchainSynced": true,
  "IsMasternodeListSynced": true,
  "IsWinnersListSynced": true,
  "IsSynced": false,
  "IsFailed": false
}

Which version do you have ?

Looks like <IP_ADDRESS>-6ff7b7a

I have tested bamboo version.
coind@redis-01:~/1 $ ./dashcore-0.12.2/bin/dash-cli --version
Dash Core RPC client version v<IP_ADDRESS>-6ff7b7a

coind@redis-01:~/1 $ ./dashcore-0.12.2/bin/dash-cli mnsync status
{
  "AssetID": 4,
  "AssetName": "MASTERNODE_SYNC_GOVERNANCE",
  "AssetStartTime":<PHONE_NUMBER>,
  "Attempt": 7,
  "IsBlockchainSynced": true,
  "IsMasternodeListSynced": true,
  "IsWinnersListSynced": true,
  "IsSynced": false,
  "IsFailed": false
}

This is Bamboo version also. What version is your dashd?

coind@redis-01:~ $ uname -a
Linux redis-01 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
coind@redis-01:~ $ cat /etc/debian_version
8.3
coind@redis-01:~ $ ./1/dashcore-0.12.2/bin/dashd --version
Dash Core Daemon version v<IP_ADDRESS>-6ff7b7a

Hmm... Strange. I am running in Docker so maybe that has something to do w/it. Will research more and get back to you.

src part is : https://github.com/dashpay/dash/blob/v0.12.2.x/src/rpc/misc.cpp#L153-L165

This isn't an issue w/me for v<IP_ADDRESS>, so assuming some issue on my side.


[PTBR] Merge dev-pt in the main branch

Describe your changes
Merge dev-pt in the main branch
Related issue number or link (ex: resolves #issue-number)
N/A
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

hey @jihoon-seo, may I ask your opinion about this request ?
After approved by the teammates, could you please help us to merge ?
Thank you!

On behalf of the pt-br team, let me merge. :)
Thanks @brunoguidone


Skip constraint search against unfinished submaps.

The uplink server only receives the grid content of a submap after
that submap is finished for efficiency. Therefore, constraint
searches against that submap need to be skipped.
Also add checks to avoid this in the future.
FIXES=#1360

@MichaelGrupp This should fix #1360, could you please verify?

Will test.

Defer to @wohe. Not doing SLAM anymore these days.

@wohe Do you see any unexpected side effects on the constraint search when ignoring submaps with incomplete range data insertion? (I believe this didn't happen in single-process SLAM, so there shouldn't be side effects.)

@wally-the-cartographer merge

Merge requested by authorized user gaschler. Merge queue now has a length of 1.


Update 6.20.2

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@henryiii Feel free to merge if it passes

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Recipe maintainer "bluehood" does not exist

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.


fix(math): fix computing degree and size

Description

n = DegreeToSize(d) = d + 1
d = SizeToDegree(n) = n - 1

It is same implementation to https://github.com/kroma-network/tachyon/pull/139 !


I want to see my ETH balance when opening the dApp

User Story
As Chris, I want to see my ETH balance when opening the dApp so that I see how much ETH I have got.
Acceptance criteria
Tasks

Housekeeping. Closing. It'll come back or is getting reopenened, if it is valuable.


Ponyc reports type is not a subtype of another type, when they are equal

Code:
class Foo
  new create(arg: (Bytes | None) = None) =>
    let str = match arg
              | var z: Bytes => z.cstring()
              | var z: None  => "".cstring()
              end

actor Main
  new create(env:Env) =>
    None

Result: (Note the right and left side types are reported equal)
Building .
Building builtin
pony/try/nonesubtype/main.pony:3:13: right side must be a subtype of left side
    let str = match arg
            ^
pony/ponyc/packages/builtin/string.pony:123:18: right side type: (Pointer[U8 val] tag | None val)
  fun cstring(): Pointer[U8] tag =>
                 ^
pony/ponyc/packages/builtin/string.pony:123:18: left side type: (Pointer[U8 val] tag | None val)
  fun cstring(): Pointer[U8] tag =>
                 ^

With else case in match program compiles:
class Foo
  new create(arg: (Bytes | None) = None) =>
    var str = match arg
              | var z: Bytes => z.cstring()
              | var z: None => "".cstring()
              else             "".cstring()
              end

actor Main
  new create(env:Env) =>
    None

Perhaps in 1st piece of code match is not properly constructed (not all cases covered due to default capabilities), in which case i would like to know what is missing, since compiler message is highli misleading.

A Pointer[A] can never be a subtype of anything. This is because a Pointer[A] is not a Pony object: they are used for the C FFI only. A Pointer[A] has no object header (so no vtable, etc.).
We should print a more informative error message when a subtype check fails due to the presence of a Pointer[A].

That explains it, thanks

Because a Pony control structure is an expression, and so it always has an else branch. When you don't specify one, the compiler inserts an else None end. So if you do:
let x = if a then U32(1) end

Then the type of x is (U32 | None), because if a is false then the implicit else None end branch will be taken.
In your first code, you have let str = match .... The compiler does not (yet!) detect that your match expression is actually comprehensive (that is, some case will always match). So it inserts an else None end, and so str has the type (Pointer[U8] | None), but Pointer[U8] isn't a subtype of (Pointer[U8] | None). So the compiler complains - with an error message that needs improvement :)
In your second code, your else branch has a type of Pointer[U8] as well, so str is a Pointer[U8] - no union type is needed, and everything works fine.

Yes, that fully explains the issue. Looking forward to compiler understanding that match covers all possible cases, thanks


Bug with float32

Go Playground

$ go version

Does this issue reproduce with the latest release?
Also get the error on 1.15.8
What operating system and processor architecture are you using (go env)?
windows/amd64

package main

import (
	"fmt"
	"time"
)

var s float32
var i float32

func main() {

	t0 := time.Now()
	for i = 1; i <= 20000000; i++ {
		s += i + i
	}
	t1 := time.Now()
	fmt.Printf("run time = %v\n", t1.Sub(t0))
	fmt.Printf("s = %v\n", s)
}

What did you expect to see? The program to end
What did you see instead? The program doesn't end. In Float64 it takes less than 1 second to run. With float32 it just runs forever. I quit after 90 minutes, still did not end.

You have hit the limit of float32 precision, run this program and you'll see that i does not converge on 2e07
package main

import (
	"fmt"
	"time"
)

var s float32
var i float32

func main() {

	t0 := time.Now()
	for i = 1; i <= 20000000; i++ {
		s += i + i
		fmt.Println(i)
	}
	t1 := time.Now()
	fmt.Printf("run time = %v\n", t1.Sub(t0))
	fmt.Printf("s = %v\n", s)
}

Closing as this is not a bug in Go
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode

Wow, thanks Dave. I do not use floats in loops, but did it to try to get a relative speed comparison. Very astute!
Thanks. I just started Go and you've given me confidence in the language and the people involved.
Much thanks!
On Monday, February 8, 2021, 11:13:44 PM EST, Dave Cheney<EMAIL_ADDRESS>wrote:

You have hit the limit of float32 precision, run this program and you'll see that i does not converge on 2e07
package main
import (
"fmt"
"time"
)
var s float32
var i float32
func main() {
t0 := time.Now()
for i = 1; i <= 20000000; i++ {
	s += i + i
	fmt.Println(i)
}
t1 := time.Now()
fmt.Printf("run time = %v\n", t1.Sub(t0))
fmt.Printf("s = %v\n", s)

}
Closing as this is not a bug in Go
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Fix Bitcoin balance disappears from the UI on reorg

Fixes an issue where the BTC balance can disappear from the UI when there is a chain reorg.
See issue https://github.com/OmniLayer/omnicore/issues/219

After https://github.com/OmniLayer/omnicore/pull/220#discussion_r38665329 is addressed: ACK

There should be a check, whether walletModel != NULL.

Ahh good catch, thanks :)


Trouble using .ravel("A") on contiguous arrays

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

When trying to use .ravel("A") on a device array that is C-contiguous (though have seen the same with F-contiguous device arrays), it complains that the array is not contiguous. However "A" (at least for NumPy) means the array could be C-contiguous or F-contiguous and still be raveled without a copy. Would figure this would be the case for Numba as well, but it appears not. Please let me know if I'm just doing something silly though.
In [1]: import numba.cuda

In [2]: a = numba.cuda.device_array((10, 12))

In [3]: a.ravel("C")
Out[3]: <numba.cuda.cudadrv.devicearray.DeviceNDArray at 0x7f4a88394710>

In [4]: a.ravel("A")
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-4-65fd138a7dd9> in <module>
----> 1 a.ravel("A")

~/miniconda/envs/cupy37/lib/python3.7/site-packages/numba/cuda/cudadrv/devicearray.py in ravel(self, order, stream)
    483         stream = self._default_stream(stream)
    484         cls = type(self)
--> 485         newarr, extents = self._dummy.ravel(order=order)
    486
    487         if extents == [self._dummy.extent]:

~/miniconda/envs/cupy37/lib/python3.7/site-packages/numba/dummyarray.py in ravel(self, order)
    358
    359         else:
--> 360             raise NotImplementedError("ravel on non-contiguous array")
    361
    362

NotImplementedError: ravel on non-contiguous array

FWIW using .reshape() seems to works without issues on either C or F contiguous arrays. Perhaps it would be worthwhile to reimplement .ravel() in terms of .reshape()?
a.reshape((a.size,), order="A")


prepare named arguments

Hi,
This PR propose changing argument names when they don't match parents. In PHP8, this could cause unexpected errors if named arguments are used against a contract and the implementation has changed the names. (Here is the full rationale: https://psalm.dev/docs/running_psalm/issues/ParamNameMismatch/)
This is reported by Psalm, if this is merged, I have a few other Psalm issues fixes that I will submit in a next PR.

Personally not a fan of the shortened variable names, however it may just be easier to say we don't support named parameters for this (using @no-named-arguments).
Although, looking at the base interface that we extend, most of these methods seem to have been deprecated. 🤨  So we might need to work on implementing the new interfaces.

The entire collision package is internal and is not meant to be extended or used directly by a developer.

Thank you for the contribution tho.


Remove anonymous namespace causing TypeID failures

Without this builds without NDEBUG fail with an error about defining
explicit type IDs. I think the correct fix is really to have these
passes defined with ODS instead of using the static pass registration
that has been discouraged for years, but TF doesn't do that and we
don't try to clean up TF's messes here.
This wasn't caught in OSS because TF in OSS is unbuildable without
NDEBUG. Internally we can still manage to do that though, so I got
failures when integrating into our internal source control.
The error is:

LLVM ERROR: TypeID::get<mlir::iree_integrations::TF::(anonymous namespace)::LowerGlobalTensors>(): Using TypeID on a class with an anonymous namespace requires an explicit TypeID definition. The implicit fallback uses string name, which does not guarantee uniqueness in anonymous contexts. Define an explicit TypeID instantiation for this type using MLIR_DECLARE_EXPLICIT_TYPE_ID/MLIR_DEFINE_EXPLICIT_TYPE_ID or MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID.

Is this a big enough issue to block release? The anonymous namespace check isn't enabled with NDEBUG, but I'm not sure if it will actually cause a problem in practice for this particular binary. It seems like all the tests pass so it probably just happens to work here, I guess because there isn't any other mlir::iree_integrations::TF::(anonymous namespace)::LowerGlobalTensors

I don't think it is no, it works in the binary released and does the right thing.


Don't require an email address when deploying apps

This will make it easier to remove app metadata from the UAServer since it's stored in ZooKeeper now.

https://ocd.appscale.com:8080/job/Daily Build/3743/


Update package index with latest published versions

Update package index with latest published versions

ping @CamSoper for review

Any idea who owns this bot?
The PR has a build warning due to en-us in links, it needs to be updated to avoid this in future PRs.
@BillWagner @CamSoper


please help - Testing the car after training

after i finish training i run rc_driver_nn_only.py , the car stuck on forward and left only even tho the prediction of the neural network is right or forward !!!!!!
The prediction is true but the action is wrong why ??

maybe u mess up with your arduino pin setting

@hamuchiwa need help, after training and running rc_driver_nn_only the car is going forward and left only.


[v3] Details now requires a specific div for the content

We have run into a bug in the v3 alpha which now doesn't render details correctly if the content isn't in a div.
Previously we could do the following:

    Title
    content line 1
    some more content

Whereas now we have to do this:

    Title

      content line 1
      some more content

Not sure if this is desired behaviour or not, but I did note in #2307 this changed the way details were rendered, so this I would say is a regression.

thank you for your report, this was not desired, this is a regression from v2 when I refactored details/summary to avoid using context and providers, will be fixed in next alpha


TODO: run optimise_predictions.R with new code in main

Hi @vkhodygo - have updated the code in the optimise_predictions.R file to run a full set of optimising predictions. Will be a little longer than trial versions. Could you run then send the .rds files from the output folder (via email or onedrive)?
Most things fixed and should run smoothly, but let me know if not.

Affirmative.

OK, the problem with the number of cores persists, I had to hardcode the number.

Am now able to access workstation 👍


FindContainer should cache the storage account to avoid generating spurious 404s and for performance reasons

https://github.com/microsoft/onefuzz/blob/f1c37d861eee3426319e3a03923f27863f0c76b1/src/ApiService/ApiService/onefuzzlib/Containers.cs#L126
#AB152645

Also related to #1419 where we currently do not store any container metadata.


Outdoor LTE module support

Update the guides based on the testing (when complete) at https://github.com/NebraLtd/helium-miner-software/issues/35

To-do, add modules to a list, possibly at the bottom of this page here https://helium.nebra.com/outdoor-hotspot/lte-config
From this table here, possibly remove most of the other info and just put that these are a list of adaptors we have tested and just the model numbers.
https://github.com/NebraLtd/helium-miner-software/wiki/3G---4G-Module-Compatability-List

Mostly done now


EtcdAggregationRepository using jetcd

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

error

@malogan82 I guess this one should be closed?

yes @omarsmak I close it, there was an error in the commit


Add SLEAP data interface

Adding datainterface for conversions with sleap data. This should close #48.

A couple minor things I noticed from the file shared on Slack - not necessary to fix in this PR but just to be aware of...
a) None of the labels data fields are compressed. Not a huge deal for now but for a longer session with lots of labels it could add up. Recommend enabling compression for all such datasets.
b) labeled_videos and original_videos are written as absolute paths (probably depends on how you specified the paths given to SLEAP, I'm guessing) - would be great if this could be moved, copied to be adjacent to the nwbfile_path (similar to how dandi organize offers options for this), and/or the path itself altered to be a relative path to the NWB file to make just sharing easier. As it stands, the paths there only be meaningful on the system that wrote them (yours). Even if including those fields is just for provenance, then there's still a secondary concern about privacy (what if the names of upstream folders to the video path contain sensitive or privatized information?) so if it's just for provenance maybe just write the file stem?
c) The rate linked to some starting_times (e.g. track_0/eyeR) is 1.0 - is that just for simplicity in the example file? I would have thought it would be the fps of the associated movie.
d) Some of the labels on track_0 have rate/starting time and others have timestamps. Is this intentional and/or typical? I had assumed all time information would be consistent and drawn from the movie itself.

Thanks for taking the time to go over this, @CodyCBakerPhD

A couple minor things I noticed from the file shared on Slack - not necessary to fix in this PR but just to be aware of...
a) None of the labels data fields are compressed. Not a huge deal for now but for a longer session with lots of labels it could add up. Recommend enabling compression for all such datasets.

Yep, this is on the works.

b) labeled_videos and original_videos are written as absolute paths (probably depends on how you specified the paths given to SLEAP, I'm guessing) - would be great if this could be moved, copied to be adjacent to the nwbfile_path (similar to how dandi organize offers options for this), and/or the path itself altered to be a relative path to the NWB file to make just sharing easier. As it stands, the paths there only be meaningful on the system that wrote them (yours). Even if including those fields is just for provenance, then there's still a secondary concern about privacy (what if the names of upstream folders to the video path contain sensitive or privatized information?) so if it's just for provenance maybe just write the file stem?

Yep, to be fixed.

c) The rate linked to some starting_times (e.g. track_0/eyeR) is 1.0 - is that just for simplicity in the example file? I would have thought it would be the fps of the associated movie.

This is because sleap files do not have timestamps or the frame rates of the movies by default.  As the timstamps is a required argument they make up fake timestamps with one frame per second. I am trying to work with them to add that.

d) Some of the labels on track_0 have rate/starting time and others have timestamps. Is this intentional and/or typical? I had assumed all time information would be consistent and drawn from the movie itself.

This is intentional, not all the nodes of the pose estimation series are present in every frame (sometimes the prediction fails and therefore some frames do not have a prediction for let's say the left leg) so the timestamps are choppy. When they are not choppy and the timestamps are regular then a rate is loaded instead.

This is intentional, not all the nodes of the pose estimation series are present in every frame (sometimes the prediction fails and therefore some frames do not have a prediction for let's say the left leg) so the timestamps are choppy. When they are not choppy and the timestamps are regular then a rate is loaded instead.

Ohhh I see.
An alternative way of representing that would be observation_intervals like in the Units table: https://nwb-schema.readthedocs.io/en/latest/format.html#units. See https://github.com/NeurodataWithoutBorders/nwbinspector/blob/dev/tests/unit_tests/test_ecephys.py#L192-L205 for some practical examples of usage.

But that's for a dynamic table, each of the nodes is a PoseEstimationSeries which is just a TimeSeries with extra properties? Can those have observational units as well?

But that's for a dynamic table, each of the nodes is a PoseEstimationSeries which is just a TimeSeries with extra properties? Can those have observational units as well?

Ah, that's true, you're right. You could technically adapt the schema for the PostEstimationSeries to take an extra field that functions identically to the observation intervals idea but that would be quite a bit more work. But then you would also have the potential for Best Practice violations similar to what I linked from the Inspector tests where you could have manually specified timestamps occurring outside of those intervals, so maybe best to just stick to timestamps only.

thanks for the hard work on this, guys!


Add Display Property in Footer issue#170

Description

Category

[ ] Documentation
[ ] Resource Addition
[ ] Codebase
[x] User Interface
[ ] Feature Request

Related Issue

Fixes #170
Checklist

[x] I have gone through the CONTRIBUTING guide
[x] The name of the resource is spelled correctly (if applicable)
[x] The link to the resource is working (if applicable)
[x] The resource is added in the correct format (if applicable)
[x] I have tested changes on my local computer (if applicable)
Pull request for the issue #170

Thanks sir. It's my pleasure to Contribute on it..


Badges added

Please let me know if there are suggestions or anything else I can help you with !

Could you correct your description and title referring to https://github.com/datastrato/gravitino/pull/1353 ?

Thanks @hiirrxnn , merged to master.


Include agent-bond in all images

Right now we don't include agent bond in centos images, I guess due to productisation issues? We should now include agent bond so we get Prometheus metrics regardless of base image used.

Hmm it is included but agent bond is not being used, only jolokia.

which image do you mean specifically ?

Ah wait it's the jboss base images. Any problem with me adding agent-bond-opts the same as we do with the other images?

there was a reason that agent-bond is not in the jboss images. will check that later, but probably due to productisation.

will check that (and will also do an overhaul of the complete image stuff).

For now I'm going to add in agent-bond-opts to jboss images. We are going to use the JMX exporter for metrics anyway, even if it's hawkular or other pulling in the metrics.

i'm fine with that.

Cool thanks.

going to move it to fabric8-images and maybe integrate the s2i stuff here as well for the java base images (the appserver stuff will be separate) soon, too. feel free to play around as you like :)


add df statistic

https://www.npmjs.com/package/node-diskfree
I would like to get a warning when my host is running out of disk space

You should get the warning already.

The metrics are already collected: https://github.com/sematext/sematext-agent-docker/blob/master/lib/linuxAgent.js#L43
And SPM generates default alerts for 95% disk usage.

There is a problem in the UI, the disk space reports are missing in the current version, this will be fixed  soon (next UI update) - then you can create alerts for disk space using the UI.
To define an alert you could use the SPM API: http://blog.sematext.com/2015/04/01/spm-rest-api/
Here is an example, you might need to change estimatedValue (% disk usage), sendToEmail, apiKey and appToken:

curl -X POST -k -H "Content-Type: application/json" "https://apps.sematext.com/spm-reports/api/v2/alert/threshold/add" -d '{

  "alertRule": {
    "name": "Disk Space Used Alert",
    "enabled": "true",
    "estimateOperation": "MORE",
    "analyzingTime": "05",
    "backToNormalNeeded": false,
    "ignoreRegularEventsEnabled": true,
    "muteTimePeriodInMinutes": "30",
    "minDelayBetweenNotificationsInMinutes": "1",
    "maxNotificationsInMutePeriod": "3",
    "filterValues": "http:/host?hostFilter_selected=any&diskFilter_selected=any&&timeIntervalFilter_dataRetentionHours=4320&numfilcom=1",
    "metricLabel": "used space",
    "estimateValue": 80,
    "reportName": "diskReportPage",
    "chartKey": "ds",
    "sendToEmail"<EMAIL_ADDRESS>  },
  "apiKey": "XXXXXXXX-XXXX-XXXXXXXXXXXX",
  "appToken": "XXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXX"

}'

oh, great! Please close this when the UI is updated.

The UI update was deployed this morning to https://apps.sematext.com - including Disk I/O stats and Disk Space report in the OS tab.

In the chart Action Menu, you can find the alert definition as usual...


chore: 🤖 Route change handler

Closes: https://github.com/keen/keen/issues/75

Please, after merging deploy it to staging environment.


Is there a way to re-issue same request again

I am using Express to proxy requests to a separate API server which is protected by OAuth 2 access tokens. When a token expires, the server will return a 401 which I am now handling in my router middleware to then go and refresh the access token associated with the clients session (I am using express-session).
Here is my code:
router.js
app.use('/api', require('./routes.js'));
routes.js
    var express = require('express'),
      router = express.Router(),
      routesController = require('./routes.controller.js');

    router.route('/*')
      .get(routesController.fetch);

routes.controller.js
module.exports.fetch = function(req, res, next) {
      var options = helpers.buildAPIRequestOptions(req);
      request(options, function(err, response, body){
        if(response.statusCode === 401) {
          authController.refreshToken(req, res, next);
        } else {
          res.status(response.statusCode).send(body);
        }
      });
    };

authController
module.exports.refreshToken = function(req, res, next) {
      var formData = {
          grant_type: 'refresh_token',
          refresh_token: req.session.refreshToken,
          scope: 'PRODUCTION'
        },
        headers = {
          'Authorization' : 'Basic ' + consts.CLIENT_KEY_SECRET_BASE64_DEV
        };
      request.post({url:consts.ACCESS_TOKEN_REQUEST_URL_DEV, form:formData, headers: headers, rejectUnauthorized: false}, function(err, response, body){
        var responseBody = JSON.parse(body);
        if (response.statusCode === 200) {

          req.session.accessToken = responseBody.access_token;
          req.session.refreshToken = responseBody.refresh_token;
    	  next();
          //How to recall the same request issued from fetch controller function after this point?
        } else {
          console.log('SOMETHING ELSE HAPPENED!');
        }
      });
    };

After updating the token, I would like to re-issue the original API request that I am triggering using the request module in my fetch controller.
I'm a bit stumped how I actually go about doing this, is there an elegant way to achieve this?

You have to change your functions so that you call the original request after refreshing the token, how exactly is up to you.

Sure ok, I understand that something needs to change, I just can't picture in my mind how it would work - I have a question on SO to try and get some further advice from the community

You have all the needed parts in your code working. Here is what you can do:

copy/paste the fetch code so that it is executed after the token have been refreshed
make sure it works as expected
now figure out how to DRY your code
repeat 1-3 each time when you are stuck with your implementation

Ok, I thought I was asking a sensible question, clearly not, hopefully I'll get some more friendly responses elsewhere.

Yep StackOverflow is the way to go for general questions, though I don't think unfriendly is the correct term to use for my response. In fact the points that I outlined above is what I usually do when I'm stuck with my own code.

Ok I apologise just frustration on my part! Thanks for the pointers


hang for ~1min while ...  "database: DB: writing to database"

01:24:00|database: DB: writing to database
then when it start back to normal it receive a buch of shares very fast.
Is this normal ?
(running on a VM stored on a fast SSD)

No. It should be running the database in a separate thread so file I/O isn't blocking it. Was this the first time you started it up? I'll take a look and see if I can set up multiqueries to speed things up.

No it was not the first time I had started it.
Do you recommend to restart BH after a length of time ?

Ok, so it looks like this is an sqlite issue. I'm going to swap to berkelyDB for higher file i/o performance.

Actually I'm not. That adds another issue. However I added the vacuum command to our sqlite database handling which should solve a bunch of issues. Try rerunning with the latest version.

Thanks / will update

Update to the latest. I moved us to gevent and fixed sqlite to work properly. I wasn't having it run in another thread due to a bug.

I'm closing this issue as it is fixed in the latest version.

I have not been able to find a working BH since this issue was suposedly resolved,
I'm still at 2.6.6 and now suffer from having an outdated pool config
AND hang for ~1min while ... "database: DB: writing to database"
BUT at least I can have more than 6ghs on it without it refusing more work.

This bug is fixed in the current version. What is broken in the very latest commits is long polling. Specifically it is dieing somewhere and causing massive share breakage. We are working on it.


PIP "You are using the wrong version" even though the right version is installed

Whenever I run this:
bash scripts/install_ext.sh
I get this error in 4 variations for the 4 things it is trying to build:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-lNLBKq-build/
You are using pip version 8.1.1, however version 22.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

My PIP version is up to date:
pip --version
pip 21.2.4 from C:\Users\Tom_New\miniconda3\lib\site-packages\pip (python 3.9)

@MrGoatsy Hi, this seems to be an environment problem. Could you try with a new conda environment?

@ashawkey How would I do that?


Night CI 2023-07-05: Failed

action url: https://github.com/spidernet-io/spiderpool/actions/runs/5468565932

Failed to generate aggregated report.
[ReportAfterSuite] [FAILED] [0.000 seconds]
[ReportAfterSuite] Autogenerated ReportAfterSuite for --json-report
autogenerated by Ginkgo

  Timeline >>
  [FAILED] Test Report unavailable because a Ginkgo parallel process disappeared
    The aggregated report could not be fetched for a ReportAfterSuite node.  A
    Ginkgo parallel process disappeared before it could finish reporting.

  In [ReportAfterSuite] at: autogenerated by Ginkgo @ 07/05/23 20:23:08.412
  << Timeline
------------------------------

Ginkgo timed out waiting for all parallel procs to report back
Test suite: subnetmanager (./pkg/subnetmanager)

This occurs if a parallel process exits before it reports its results to the
Ginkgo CLI.  The CLI will now print out all the stdout/stderr output it's
collected from the running processes.  However you may not see anything useful
in these logs because the individual test processes usually intercept output to
stdout/stderr in order to capture it in the spec reports.

You may want to try rerunning your test suite with
--output-interceptor-mode=none to see additional output here and debug your
suite.

Output from proc 1:
  --- FAIL: TestSubnetManager (0.16s)
  FAIL
  	github.com/spidernet-io/spiderpool/pkg/subnetmanager	coverage: 57.0% of statements

Output from proc 2:

** End **ginkgo run failed
  Failed to combine cover profiles
  Unable to read coverage file /home/runner/work/spiderpool/spiderpool/pkg/subnetmanager/coverage.out.2:
  open /home/runner/work/spiderpool/spiderpool/pkg/subnetmanager/coverage.out.2: no such file or directory
exit status 1
make: *** [Makefile:279: unitest-tests] Error 1
Error: Process completed with exit code 2.
##[debug]Finishing: Run unitest


chore: remove unused set_option in

Found by the linter #13653.

!bench

Thanks for doing this! The code itself looks good. I looked at the benchmark results in detail (checking the files with a set_option removed): most are fine or get slightly faster, with one or two exceptions:

RootsOfUnity gets very slightly slower (170 Mio); overall instructions are neutral/better (+700 Mio)
Haar.OfBasis gets appreciably slower (44,2 -> 45,6*10⁹ instructions, for a single line change): can you profile or benchmark that file locally? If the slow-down persists, I would rather leave the set_option and leave a comment that this is kept for performance purposes.

Feel free to maintainer merge on my behalf once you have done so.

Here are the local heartbeat counts:
Roots of unity
-- no `set_option tactic.skipAssignedInstances false in`
Used 16863 heartbeats, which is less than the current maximum of 200000.

-- with `set_option tactic.skipAssignedInstances false in`
Used 16154 heartbeats, which is less than the current maximum of 200000.

Haar of Basis
-- no `set_option tactic.skipAssignedInstances false in`
Used 48121 heartbeats, which is less than the current maximum of 200000.
-- with `set_option tactic.skipAssignedInstances false in`
Used 42718 heartbeats, which is less than the current maximum of 200000.

Using set_option trace.profiler true with and without the option shows that Basis.prod_parallelepiped benefits from the option, since elaboration goes from ~5 to ~4 seconds.  The following declarations in the file take much less than a second with or without the option.
Thus, removing set_option tactic.skipAssignedInstances false in results in a 1 second slowdown in the declaration.
I really do not know what is the cut-off time limit for preferring to add a set_option.

bors merge


⚠ Processors has degraded performance

In 729b559, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 78 ms

Resolved: Processors performance has improved in 5dfe926.


since 5.10.2018 new version of google admobs require extra things in …

since 5.10.2018 new version of google admobs require extra things in AndroidManifest.xml, 16.0.0 is the last compatible version

Wow , Thank you. You are life saver. This works for me too!

Thanks to @slaszu for the advice.
The plugin has been modified to resolve this issue as a temporary solution.
Try updating the plugin to<EMAIL_ADDRESS>

I upgraded Admobpro to @2.32.6 but my app now fails to connect to the internet.

On phonegap build, building with this plugin enabled

land to the following compilation error:
 What went wrong:
Execution failed for task ':app:transformDexWithDexForArmv7Release'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/api/internal/zza;

Removing the plugin compile correctly...

Same problem as cepenking here.
With Phonegap Build, I've got this error:
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "cordova-plugin-admobpro" via npm Installing "cordova-plugin-admobpro" at "2.35.3" for ios Fetching plugin "cordova-plugin-extension" via npm Installing "cordova-plugin-extension" at "1.5.4" for ios Fetching plugin<EMAIL_ADDRESS>via npm Error during untar for /Users/gimlet/.cordova/lib/npm_cache/cordova-admobsdk/7.35.0/package.tgz: Error: EACCES: permission denied, open '/Users/gimlet/.cordova/lib/npm_cache/cordova-admobsdk/7.35.0/package/GoogleMobileAds.framework/GoogleMobileAds' Failed to install 'cordova-plugin-admobpro': CordovaError: Failed to fetch plugin<EMAIL_ADDRESS>via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL.

Same problem as juxfr here - but only on ios build using phonegap build. The android build works fine.
Interestingly I found the JumpRope pgb example project referenced in the WIKI and tried building that and it gives exactly the same error

If I run the test ads isTesting: true everything works correctly but if I set it isTesting: false the ads are no longer displayed. someone to help me with this, I have not been able to solve it for 2 days.

@mauricioLopezRamirez please double check your admob ad unit id, and make sure the ad unit is created for the right platform and right type.

Hello. On ios banner works, but instead of interstitial ads go to   googleads.g.doubleclick.net
How can this be solved?

Same problem as juxfr & kevin-finesse
With Phonegap Build, I've got this error:
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin<EMAIL_ADDRESS>via npm Installing "cordova-plugin-admobpro" at "2.35.4" for ios Fetching plugin "cordova-plugin-extension" via npm Installing "cordova-plugin-extension" at "1.5.4" for ios Fetching plugin<EMAIL_ADDRESS>via npm Error during untar for /Users/gimlet/.cordova/lib/npm_cache/cordova-admobsdk/7.35.0/package.tgz: Error: EACCES: permission denied, open '/Users/gimlet/.cordova/lib/npm_cache/cordova-admobsdk/7.35.0/package/GoogleMobileAds.framework/GoogleMobileAds' Failed to install 'cordova-plugin-admobpro': CordovaError: Failed to fetch plugin<EMAIL_ADDRESS>via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: EACCES: permission denied, open '/Users/gimlet/.cordova/lib/npm_cache/cordova-admobsdk/7.35.0/package/GoogleMobileAds.framework/GoogleMobileAds' at /usr/local/lib/node_modules/pgb-plugman-151/node_modules/pgb-cordova-lib/src/plugman/fetch.js:215:37 at _rejected (/usr/local/lib/node_modules/pgb-plugman-151/node_modules/q/q.js:797:24) at /usr/local/lib/node_modules/pgb-plugman-151/node_modules/q/q.js:823:30 at Promise.when (/usr/local/lib/node_modules/pgb-plugman-151/node_modules/q/q.js:1035:31) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/pgb-plugman-151/node_modules/q/q.js:741:41) at /usr/local/lib/node_modules/pgb-plugman-151/node_modules/q/q.js:557:44 at flush (/usr/local/lib/node_modules/pgb-plugman-151/node_modules/q/q.js:108:17) at process.internalTickCallback (internal/process/next_tick.js:70:11) Failed to fetch plugin<EMAIL_ADDRESS>via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: EACCES: permission denied, open '/Users/gimlet/.cordova/lib/npm_cache/cordova-admobsdk/7.35.0/package/GoogleMobileAds.framework/GoogleMobileAds' - You can fix this here
Any help would be appreciated ...

I have problems i try get reward in video reward but freeze and no show reward. Im use cordova 6.5.0 api Android 26 admobpro lady version.

@floatinghotpot I'm seeing the same thing as @mauricioLopezRamirez.  Test banner ads work in Android but changing over to live ads I see nothing.  I've verified the type of add associated with the ad id matches in Admob and in my app.  I did change my build.gradle file to use
compile "com.google.android.gms:play-services-ads:+"
and project.properties to have
cordova.system.library.6=com.google.android.gms:play-services-ads:+
in order to get around the build issues when building my Ionic app.

If you guys can see the test ads, it means the SDK and plugin are both working fine.
The only different is, the test ad unit id is from Google test team, the live ad unit id is created by your own.
Please ensure:

your ad unit id is created for the exact platform (ios/android) and type (banner/interstitial/video).
run the app on real device, not simulator.
some dev guys cannot see live ad in his country just because there is no advertiser buying ad at that time, while other users installed the same app can see live ad in other countries. (I've tested and confirm that possibility by installing app from a dev guy).

@floatinghotpot test Ads not show in ios phone. And not error... Please help me

Please find the Google test ad units here:
https://developers.google.com/admob/android/test-ads
https://developers.google.com/admob/ios/test-ads

@floatinghotpot  I using
<plugin name="cordova-plugin-admobpro" spec="^2.37.2">         <variable name="PLAY_SERVICES_VERSION" value="16.0.0" />     </plugin>
document.addEventListener('deviceready', onDeviceReady.bind(this), false);

    function onDeviceReady() {
 navigator.splashscreen.hide();
        // Handle the Cordova pause and resume events
        document.addEventListener('pause', onPause.bind(this), false);
        document.addEventListener('resume', onResume.bind(this), false);

            initAd2();
    };
function initAd2(){
    var admobid = {};
      if( /(android)/i.test(navigator.userAgent) ) {
        admobid = {
          banner: 'ca-app-pub-XX/XXX',
          interstitial: 'ca-app-pub-XX/XX'
        };
      } else if(/(ipod|iphone|ipad)/i.test(navigator.userAgent)) {
 admobid = {
 banner: 'ca-app-pub-XX/XX',
 interstitial: 'ca-app-pub-XX/X'
 };
      } else { // for windows phone
        admobid = {
          banner: 'ca-app-pub-XX/XX',
          interstitial: 'ca-app-pub-XX/XX'
        };
      }
    if (! AdMob ) {  return; }

      // this will create a banner on startup
      AdMob.createBanner( {
        adId: admobid.banner,
        position: AdMob.AD_POSITION.BOTTOM_CENTER,
        isTesting: true , // TODO: remove this line when release
        overlap: false,
        offsetTopBar: false,
        bgColor: 'black'
      } );
}

In Staging/ config.xml write
<feature name="AdMob">
        <param name="ios-package" value="CDVAdMobPlugin" />
        <param name="onload" value="true" />
    </feature>

But not show Ads... May be my code error?

Please use this "index.html" to test on your phone.
https://github.com/floatinghotpot/cordova-admob-pro/blob/master/test/index.html

I just change code to your index.html file. But not have any Ads...


PreDecorationFilter overrides X-Forwarded-Host

Hi,
Today I have encountered the following issue:
We have an application running behind multiple reverse-proxies. Here is a simple schema:
Client => RP1 => RP2 => Zuul => App
RP1 - reverseproxy.com
RP2 - reverseproxy2.com
Client
===> RP1 (x-forwarded-host: reverseproxy.com)
===> RP2 (x-forwarded-host: reverseproxy.com, reverseproxy2.com)
===> Zuul (x-forwarded-host: reverseproxy2.com)
===> App
I have found that PreDecorationFilter is replacing x-forwarded-host instead checking whether it exists before. Is that a proper behaviour? As far as I understand X-Forwarded-Host is original host header (RP1 hostname) not the previous one.
Below snippet of code reponsible for it:
https://github.com/spring-cloud/spring-cloud-netflix/blob/master/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/pre/PreDecorationFilter.java#L101-L102

I can see why that might be inconvenient, but the Zuul filter only replaces the x-forwarded-host header with what it finds in the request, so if the app is configured normally (for any app behind a proxy) it should pick the right value. There's a section in the Spring Boot user guide about how to configure an app for use behind a proxy (TL;DR set server.use-forward-headers=true).

Yes, you're right. Zuul always replaces x-forwarded-host with servername:
ctx.addZuulRequestHeader("X-Forwarded-Host",ctx.getRequest().getServerName());
Maybe I am wrong, but as far as I know if request goes throught multiple reverse proxies X-forwarded-Host should keep always at least original server name (usually other reverse proxies just append server names to the end as in RP2 example).
My app is deployed to PCF (by default server.use-forward-headers=true) and I have an issues generating hateoas links. It has some simple configuration without any extraordinary things so I assume it should pick the right value. But from my investigation I have found that hateoas is using x-forwarded-host to build proper link:
https://github.com/spring-projects/spring-hateoas/blob/master/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilder.java#L237
All requests coming to my app are with x-forwarded-host: zuul-address.com instead of reverseproxy.com. so I assume that the issue comes from zuul itself ;/

so should we be appending to the list if it already exists?

No, I don't think so: X-Forwarded-Hist is single valued. Maybe one of the other proxies is messed up, or maybe your Zuul gateway does not have `session.use-forward-headers=true"?

I ask because Spring Hateoas treats it like it can be a comma separated list https://github.com/spring-projects/spring-hateoas/blob/master/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilder.java#L237-L243

From apache mod-proxy documentation:
https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers

Be careful when using these headers on the origin server, since they will contain more than one (comma-separated) value if the original request already contained one of these headers

So I suppose that it should be comma separated list. Another thing as you mentioned is that Hateoas also treats it as list.

I've never seen x-forwarded-host multi valued, but anyway, the container should be dealing with it for us so we shouldn't have to care. All we care about is that the servlet request has the right host info, and that's not in our hands AFAIK.

Have the same problem. PreDecorationFilter just overrides header from previous reverse proxy server. I had to disable adding proxy headers using zuul.add-proxy-headers=false, but i believe filter should add one more X-Forwarded-Host header

Would there be anything wrong if the filter only set the header if they weren't already present?

@dsyer  Not only Spring Hateoas, but Spring in general supports multi valued host header. See for instance https://jira.spring.io/browse/SPR-11140 .
So I think, Zuul could / should support it as well.
I don't understand why you say it is not under your control, since as far as I understand @smilasek , you overwrite the Header with a single value instead of appending to it.

I think when I said you didn't have to care it was from the point of view of the downstream (and I was wrong anyway). The simplest fix would be to only set the header if it is not already present. An equivalent workaround with no changes would be to set zuul.add-proxy-headers=false.

There's another, more complete workaround in that duplicate #1286 (a custom filter).

Thanks for the workarounds and for reconsidering.

Fixed in a38b7b7 (but see comment there about the "Forwarded" header, which is recognized by UriComponentsBuilder, but not able to convey port information).


There is no examples dir

on the README there is this line:
There is an example program raku-fuser in the examples directory which provides a Raku implementation of that command.

But there is no examples dir... should it be bin dir?

:-)  TYPO-TASTIC!
Cheers.

All good now, https://github.com/jonathanstowe/Raku-Linux-Fuser/blob/master/README.md  cheers!

thank you!


Installing on a Synology NAS

Could you please write instructions on how to install on a Synology NAS in the readme?

I personally haven't used Synology NAS but I'd assume using the docker compose file is standard.

Thanks, I've now used the Docker version and it works great.


Forgets to mention the ASP.NET Core Logging Integration extension

After several hours of research I determined that you must go to Extensions and install/update the ASP.NET Core Logging Integration extension to enable Application Logging, otherwise you won't get anything. Having the latest version of the extension is important--if it's an older version, you may not get any Application Logging.
After installing/updating the ASP.NET Core Logging Integration extension you must also stop and start your Web App.

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

ID: bfc316af-0d30-b449-a04f-3019b7a16bc1
Version Independent ID: 01c4c435-fda9-374a-70b3-f1d7f13c7651
Content: Enable diagnostics logging - Azure App Service
Content Source: articles/app-service/troubleshoot-diagnostic-logs.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

Thanks for the feedback and bringing this to our notice. At this time we are reviewing the feedback and will update the document as appropriate.

Thanks for the feedback and bringing this to our notice. At this time we are reviewing the feedback and will update the document as appropriate.

As mentioned in the linked (ASP.NET Core logging in Azure), Once the provider package is added to the project, then you need to enable Application Logging (file System/blob) in the Azure Portal. When the settings are updated, typically the changes take effect immediately without requiring a restart or redeployment of the app.  Kindly check this blog . Thanks again for your feedback.

As mentioned in the linked (ASP.NET Core logging in Azure), Once the provider package is added to the project, then you need to enable Application Logging (file System/blob) in the Azure Portal. When the settings are updated, typically the changes take effect immediately without requiring a restart or redeployment of the app.  Kindly check this blog . Thanks again for your feedback.

Thank you Ajay. I would recommend that you mention "ASP.NET Core logging in Azure" because if somebody attempts to follow the instructions under "Enable diagnostics logging for apps in Azure App Service" they will be extremely frustrated, as I was, because it's not clear that there are extra steps required for ASP.NET Core applications.

Thank you Ajay. I would recommend that you mention "ASP.NET Core logging in Azure" because if somebody attempts to follow the instructions under "Enable diagnostics logging for apps in Azure App Service" they will be extremely frustrated, as I was, because it's not clear that there are extra steps required for ASP.NET Core applications.

Thanks again for your feedback! Your feedback has been shared with the content owner for further review.
@cephalin, Requesting your comment on this.

Thanks again for your feedback! Your feedback has been shared with the content owner for further review.
@cephalin, Requesting your comment on this.

Just to clarify, the same doc  that you're referring to, does highlight about 'ASP.NET Core logging in Azure' under the section 'Add log messages in code'
Apologies for any frustration with this, I' have already shared your feedback with the doc author, if there is anything to emphasis on this more (/add more clarity) would be reviewed, and changes would be made if required. Thanks again for your feedback. We will close this for now.

Just to clarify, the same doc  that you're referring to, does highlight about 'ASP.NET Core logging in Azure' under the section 'Add log messages in code'
Apologies for any frustration with this, I' have already shared your feedback with the doc author, if there is anything to emphasis on this more (/add more clarity) would be reviewed, and changes would be made if required. Thanks again for your feedback. We will close this for now.

#assign:snagraw

snagraw is not a valid GitHub ID, or is not a collaborator on this repo.

#assign:SnehaAgrawal-MSFT

#unassign:SnehaAgrawal-MSFT


0.4.5 does not open.

Version 0.4.5 does not open on Windows 10 latest version. Version 0.4.4 works perfectly but when I try to open 0.4.5 it does not open

Please update to the latest Microsoft Visual C++ Redistributable: https://aka.ms/vs/17/release/vc_redist.x64.exe.
Let me know if this helps.  I will be updating the release notes.


ok

l,k

ok

ok

ok

It looks like you are attempting to push a change to the template repository, for help with deploying your own website please start a new thread in the discussions.


several services (microservices) in different ports in internal network, internal domain names problems configuring caddy /docker

Hi guys,
I would like to know the right way to configure caddy for several services, in separated cookiecutter-django projects, in an internal network using local domain names. Or alternatives.
Let me know how much it will be for an example thanks. Danny or Nikita.
my configuration uses docker, celery, whitenoise,  I also have another problem, in the second config redis cannot connect I changed ports in .envs/.production/.django and entrypoint to a different port and still cannot connect but this is secondary I wont need celeryworker in this one, but I might need it later.
thanks a lot for your time an effort.

:-( try another config.


High CPU usage

We seem to use a ton of CPU. Investigate!

There is a fix for this here:
https://github.com/shane-kerr/Mintcoin-Desktop-Wallet/tree/speed-minting

Merged into upstream, closing issue.


Keycloak Authz service

Summary
Louketo can do a request to Keycloak to check authorization policies for a resource.  Louketo will receive the decision from the application of policies then accept or not the user to access the asked resource.

@belint Is this feature already available in keycloak-gatekeeper?


Test on Windows using Travis CI

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: link tbd.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] CI related changes
[ ] Documentation content changes
[ ] tooling / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Use Travis CI for Windows and Linux.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Hi @jantimon,
can you describe why the PR was closed? Do you not want to test on Windows?

Hi @jantimon,
can you describe why the PR was closed? Do you not want to test on Windows using Travis CI?

Hey @DanielRuf I closed this pull request as the pipeline failed and there was no update for 4 month.

We could hae triggered a new build.
Some older Travis CI builds had issues with npm. See https://travis-ci.org/namics/webpack-config-plugins/jobs/490564863
I'll open a new PR to test the current setup.

Cool thanks 👍


[JENKINS-69135] Add a "Versions to include" field to the Global Library Cache feature

You can now specify versions to be included for caching. This allows only those specific versions to be cached. This feature can be very useful when there are many versions and you want only one or more of them to be cached. It has the same working mechanism as that of the "Versions to exclude". One thing to be noted is that "Versions to exclude" will always take precedence over "Versions to include" for similar substrings mentioned in both at the same time.
This is pertaining to the Jenkins feature request: JENKINS-69135
This PR pertains to an elaborate documentation of the cache retrieval mechanism with the updated feature that current PR caters to.
Another important feature as per the PR: https://github.com/jenkinsci/pipeline-groovy-lib-plugin/pull/4, to delete only a specific version from cache, was tested in collaboration with "Versions to include". The branch for the same: Versions to include + delete specific version.
Bonus Points: The cache deletion method for a specific version can be invoked remotely such that:
final cacheControl = new LibraryCachingConfiguration.DescriptorImpl();
cacheControl.doClearCache(libraryName, branchName, false);

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

I will be further making changes to handle the scenario if the versions to include is null or  " ", but the cache is enabled.

I have updated the changes mentioned in the previous comment in the latest commit.
I have updated the documentation for the plugin that can viewed in the PR : jenkins-infra/jenkins.io#5375

Looks good. Hoping someone can find time to review this.

Thank you so much @sboardwell for the review.
Please do let us know if anything more has to be done from our end.

This change has been here for a year, so perhaps there is no one able to pick this back up, if that is the case I could try to get it over the finish line, unless anybody objects?


feat: compound and aave tvl models

Compound uses the exchange rate to convert the issued cTokens to the underlying.
There is difference (likely due to rounding) between net (reserve + liability - borrow) and tvl (cash from cToken)


SX1272 LoRa radio support

This is an alternative to #29085. I've attempted to prevent code duplication by reworking existing SX1276 driver towards SX1272 support. Feedback is very welcome.
I've tested this driver on a custom STM32L1+SX1272-based device, but further testing would be also much appreciated.

@mniestroj @andysan @Mani-Sadhasivam Could you look at this and verify my approach?

@mniestroj @andysan @Mani-Sadhasivam Could you look at this and verify my approach?

I can provide two products suitable for testing this - please let me know if you'd like it sent to you.

I can provide two products suitable for testing this - please let me know if you'd like it sent to you.

Thank you very much, but I've already got some HW. Now I'm trying to find some time for testing.

I tested this on hardware with #29841 and a nucleo_f429zi board. Since i do not have a lorawan gateway, i only saw that the driver is initialized and i can send a lora packet at the specified frequency and i can send a cw signal. Both verified with an sdr by inspecting the radio spectrum.
-> It seems that this code is working.

I tested this on hardware with #29841 and a nucleo_f429zi board. Since i do not have a lorawan gateway, i only saw that the driver is initialized and i can send a lora packet at the specified frequency and i can send a cw signal. Both verified with an sdr by inspecting the radio spectrum.
-> It seems that this code is working.

Thanks! I do have a gateway, so I've tested Join procedure and data uplink over a SX1272.

@carlescufi @nashif Please merge!


Add documentation about image widget

Describes the image widget in slightly more detail - how to set corner radius, have a dynamic texture or what filtermode is, along with an example.
Check that the links are correct - I couldn't figure out how to set them properly for kludgine or external dependencies.

Thank you, this looks great! For the links to types from other crates, I just link them to the type rather than going through docs.rs. This seems to work well when deployed to docs.rs. I'm not sure whether the link to the image crate should be done that way or as you have done. In theory linking to the image crate through its Rust path will link users directly to the specific image crate version's docs that Cushy currently depends on, rather than the latest.


running

how do I run and use this programming language

you better don't since it doesn't really work yet

if you still want to:
install rust
run cargo run your-file-name

and how do I write code for it?

you just write some code into a file and then run it
but I repeat, don't, even function calls are broken

lmao alright thanks


Update README.md

Fixed my error. Changed the filenames to the correct images

Closing because an updated PR was merged.


Question: What's the appropriate behaviour to use xmake with vcpkg?

Note: If you use the fuzzy expressions such as 'can't use/no effect/problem/error', but don't give any relevant auxiliary information according to the template below, this issue will be not replied.

Describe the bug
It seems that xmake doesn't recognize the boost installed by vcpkg. As I'm new to xmake, I thought I have made some mistakes on xmake.
I've run "xmake g --vcpkg d:\vcpkg" to get xmake known about vcpkg.
I've tried setting the runtime to each in "MT", "MD" and "MTd", and requirement name to each in "vcpkg::boost", "vcpkg::boost:x64-windows" and"vcpkg::boost 1.76.0".
Xmake asks me to install vcpkg::boost, even I already have one installed, which I think has the same runtime with what I've specified in xmake.lua. And after I took minutes to wait for xmake to install boost, xmake gave me a failure.
Expected behavior
Xmake found boost 1.76.0 in vcpkg, and continue to run xmake.lua.
Error output
If applicable, please add verbose the errors output to help us analyze your problem.

If it is a xmake related compilation problem, please add the -v -D parameter and give the detailed compilation output information.

Below is .xmake\cache\packages\2108\v\vcpkg_boost\1.76.0\installdir.failed\install.txt
fetch vcpkg::boost-1.76.0 failed!

I've tried detailed output
PS > xmake -D -v | echo
checking for vswhere.exe ... C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
checking for cl.exe ... D:\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30423\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2022
checkinfo: cannot runv(dmd.exe --version), No such file or directory
checking for dmd ... no
checkinfo: cannot runv(ldc2.exe --version), No such file or directory
checking for ldc2 ... no
checkinfo: cannot runv(gdc.exe --version), No such file or directory
checking for gdc ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: BusyBox v1.34.0-FRP-4264-gc79f13025 (2021-07-25 15:12:48 BST)

Usage: unzip [-lnojpq] FILE[.zip] [FILE]... [-x FILE]... [-d DIR]

Extract FILEs from ZIP archive

        -l      List contents (with -q for short form)
        -n      Never overwrite files (default: ask)
        -o      Overwrite
        -j      Do not restore paths
        -p      Write to stdout
        -t      Test
        -q      Quiet
        -x FILE Exclude FILEs
        -d DIR  Extract into DIR

checking for unzip ... no
checking for 7z ... D:\scoop\apps\xmake\current\winenv\bin\7z
checking for git ... ok
checkinfo: BusyBox v1.34.0-FRP-4264-gc79f13025 (2021-07-25 15:12:48 BST)

Usage: gzip [-cfkdt123456789] [FILE]...

Compress FILEs (or stdin)

        -1..9   Compression level
        -d      Decompress
        -c      Write to stdout
        -f      Force
        -k      Keep input files
        -t      Test integrity
D:\scoop\apps\busybox\current\busybox.exe: unknown option -- version

checking for gzip ... no
finding boost from vcpkg ..
checking for vcpkg::boost ... no
note: install or modify (m) these packages (pass -y to skip confirm)?
yin vcpkg:
  -> vcpkg::boost 1.76.0 [vs_runtime:MT]
please input: y (y/n/m)
y
installing boost from vcpkg ..
checking for vcpkg ... D:\vcpkg\vcpkg
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] BuiltinRegistry initialized with: ""
[DEBUG] Using vcpkg-root: D:\vcpkg
[DEBUG] Using installed-root: D:\vcpkg\installed
[DEBUG] BuiltinRegistry initialized with: ""
[DEBUG] Using buildtrees-root: D:\vcpkg\buildtrees
[DEBUG] Using downloads-root: D:\vcpkg\downloads
[DEBUG] Using packages-root: D:\vcpkg\packages
[DEBUG] Using scripts-root: D:\vcpkg\scripts
[DEBUG] Using ports-root: D:\vcpkg\ports
[DEBUG] Using versions-root: D:\vcpkg\versions
[DEBUG] Default binary cache path is: D:\1853308\AppData\Local\vcpkg\archives
Computing installation plan...
[DEBUG] Found path: D:\scoop\shims\cmake.exe
[DEBUG] CreateProcessW("D:\scoop\shims\cmake.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after   161543 us
[DEBUG] CreateProcessW("D:\scoop\shims\cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg -DPACKAGES_DIR=D:/vcpkg/packages -DBUILDTREES_DIR=D:/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DDOWNLOADS=D:/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg\buildtrees\0.vcpkg_dep_info.cmake")
[DEBUG] cmd_execute_and_stream_data() returned 0 after   115351 us
The following packages are already installed:
    boost[core]:x64-windows-static -> 1.76.0
Package boost:x64-windows-static is already installed

Total elapsed time: 38.7 us

[DEBUG] C:\a\1\s\src\vcpkg\install.cpp(1085)
[DEBUG] Exiting after 1088180 us (1085816 us)
finding boost from vcpkg ..
checking for vcpkg::boost ... no

error: ...\modules\private\action\require\impl\actions\install.lua:194: fetch vcpkg::boost-1.76.0 failed!
stack traceback:
    [C]: in function 'error'
    [@programdir\core\base\os.lua:821]: in function 'raiselevel'
    [@programdir\core\sandbox\modules\utils.lua:181]: in function 'assert'
    [...\modules\private\action\require\impl\actions\install.lua:194]:
    [C]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:121]: in function 'try'
    [...\modules\private\action\require\impl\actions\install.lua:137]: in function 'action_install'
    [...modules\private\action\require\impl\install_packages.lua:350]: in function 'jobfunc'
    [@programdir\modules\private\async\runjobs.lua:208]:
    [C]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:121]: in function 'try'
    [@programdir\modules\private\async\runjobs.lua:201]: in function 'cotask'
    [@programdir\core\base\scheduler.lua:365]:

  => install vcpkg::boost 1.76.0 .. failed
error: @programdir\modules\private\async\runjobs.lua:232: ...\modules\private\action\require\impl\actions\install.lua:253: install failed!
stack traceback:
    [C]: in function 'error'
    [@programdir\core\base\os.lua:821]: in function 'raise'
    [...\modules\private\action\require\impl\actions\install.lua:253]: in function 'catch'
    [@programdir\core\sandbox\modules\try.lua:127]: in function 'try'
    [...\modules\private\action\require\impl\actions\install.lua:137]: in function 'action_install'
    [...modules\private\action\require\impl\install_packages.lua:350]: in function 'jobfunc'
    [@programdir\modules\private\async\runjobs.lua:208]:
    [C]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:121]: in function 'try'
    [@programdir\modules\private\async\runjobs.lua:201]: in function 'cotask'
    [@programdir\core\base\scheduler.lua:365]:

stack traceback:
        [C]: in function 'error'
        @programdir\core\base\os.lua:821: in function 'raise'
        @programdir\modules\private\async\runjobs.lua:232: in function 'catch'
        @programdir\core\sandbox\modules\try.lua:127: in function 'try'
        @programdir\modules\private\async\runjobs.lua:201: in function 'cotask'
        @programdir\core\base\scheduler.lua:365: in function <@programdir\core\base\scheduler.lua:362>
D:\vcpkg\vcpkg install boost:x64-windows-static --debug

Related Environment
Please provide compiling and running environment information:

xmake version: v2.5.6+202107260800
os: Windows 10
target platform: Just built for my host, amd x64, msvc, visual studio 2022 preview.

Additional context
Add any other context about the problem here.
Global configuration
configure
{
    proxy_pac = pac.lua
    theme = default
    vcpkg = d:\vcpkg
    network = public
}

.xmake\windows\x64\xmake.conf
{
    __toolchains_windows_x64 = {
        "msvc",
        "yasm",
        "nasm",
        "cuda",
        "rust",
        "go",
        "gfortran"
    },
    theme = "default",
    ccache = true,
    vs = "2022",
    host = "windows",
    buildir = "build",
    network = "public",
    arch = "x64",
    vcpkg = [[d:\vcpkg]],
    ndk_stdcxx = true,
    proxy_pac = "pac.lua",
    mode = "release",
    kind = "static",
    plat = "windows"
}

PS D:\vcpkg> ./vcpkg --version
Vcpkg package management program version 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04

See LICENSE.txt for license information.
PS D:\vcpkg> ./vcpkg install boost boost:x64-windows boost:x64-windows-static
Computing installation plan...
The following packages are already installed:
    boost[core]:x64-windows -> 1.76.0
    boost[core]:x64-windows-static -> 1.76.0
    boost[core]:x86-windows -> 1.76.0
Package boost:x64-windows is already installed
Package boost:x64-windows-static is already installed
Package boost:x86-windows is already installed

Total elapsed time: 1.164 ms

The boost package is not a single package in vcpkg, it is split into many sub-packages by vcpkg, so there is actually no package name vcpkg::boost, only vcpkg::boost[core], vcpkg::boost-xxx and so on.
add_requires("vcpkg::boost[core]")
add_requires("vcpkg::boost-multiprecision")
...

As for the specific boost package names, you need to find them from the vcpkg repo.
And you can also use xrepo search command to search them.
$ xrepo search vcpkg::boost
The package names:
    vcpkg::boost:
      -> vcpkg::boost-1.75.0: Peer-reviewed portable C++ source libraries
      -> vcpkg::boost[mpi]: Build with MPI support
      -> vcpkg::boost-accumulators-1.75.0: Boost accumulators module
      -> vcpkg::boost-algorithm-1.75.0: Boost algorithm module
      -> vcpkg::boost-align-1.75.0: Boost align module
      -> vcpkg::boost-any-1.75.0: Boost any module
      -> vcpkg::boost-array-1.75.0: Boost array module
      -> vcpkg::boost-asio-1.75.0#1: Boost asio module
      -> vcpkg::boost-assert-1.75.0: Boost assert module
      -> vcpkg::boost-assign-1.75.0: Boost assign module
      -> vcpkg::boost-atomic-1.75.0#1: Boost atomic module
      -> vcpkg::boost-beast-1.75.0: Boost beast module
      -> vcpkg::boost-bimap-1.75.0: Boost bimap module
      -> vcpkg::boost-bind-1.75.0: Boost bind module
      -> vcpkg::boost-build-1.75.0: Boost.Build
      -> vcpkg::boost-callable-tr...-1.75.0: Boost callable_traits module
      -> vcpkg::boost-chrono-1.75.0#1: Boost chrono module
      -> vcpkg::boost-circular-bu...-1.75.0: Boost circular

@waruqi thanks a lot. And as a suggestion, maybe you can add some notices on the docs about importing from vcpkg, or just make the output a little bit more explicit when users reference a package that can be found and installed by vcpkg but is not actually one package?

xmake cannot quickly determine whether the package name is valid, and vcpkg does not have a convenient interface to provide enough information.
But if the installation fails, vcpkg has already prompted obvious package name information.

The following packages are already installed:
boost[core]:x64-windows-static -> 1.76.0

boost[core]

Yes, you're right, but it won't show if I didn't pass "-v -D" to xmake. And I ignored the output, as I'm used to cmake, by which I can write "find_package(Boost COMPONENTS ...)". Well, I think you have done it well enough.
Anyway, another thanks for you.

find_package(Boost COMPONENTS ...)

you can also use xmake packages in xmake-repo
add_requires("boost")
add_requires("boost", {configs =  {context = true})


default generated migration table's 'version' column data length not big enough

What steps will reproduce the problem?
the default generated migration table with its "version" column set to varchar(180), but when we create a long alter table column migration,  it will drop some characters, such as the following one:
m170726_070258_add_reqm_source_column_temp_theme_column_baselib_config_column_deploy_date_column_pass_review_column_pass_test_column_rollback_time_column_regular_check_column_to_task
What is the expected result?
right migration apply result
What do you get instead?
migration want to re-apply old ones
workaround:
issue SQL "alter table migration modify version varchar(360);"
Additional info

Q
A

Yii version
2.0.12

PHP version
5.6.30

Operating system
Mac os 10.9.5

I think need to limit name and mb truncate migration name during creating migration instead increasing length in DB.

Probably.

yep, migrate controller should validate migration names before inserting into db, not only on create, but in general, to avoid people creating too long names manually.

then how do we implement such "long column change" migration requirement ?  by split it into multiple steps to fit the length limit ? one line deal to multiple?  i don't think it is a good idea. besides the original column length is not enough, by changing its type to "text" is not a big move.

How about naming it shorter?

 [yiisoft/yii2] default generated migration table's 'version' column data length not big enough

i also can't create file longer then 255 symbols through file_put_contents on MacOs


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 52a99b8, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 7655 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in c9f734b.


PutItem & DeleteItem where clause respected

Looks like there were a couple bugs related to this. The first was batching doesn't respect ConditionExpressions so they were ignored completely. The second was that ConditionExpressions for DeleteItem and PutItem were being rendered incorrectly. This fixes both bugs and adds a couple of tests to cover these cases.
I also updated the string match for one of the failing transactions to be more specific.
Should close #112

Ah - one think I forgot to mention is that all these fixes also need to be applied to the ZIO 2.0 branch as well

Yea I'm gonna do one PR this week for both the empty sets and this fix.


Issues with Scope of Requirements:

[x] Numerous shouldn’t start with capital letter.
[x] The first sentence need some changes : “There are Numerous algorithm has been proposed to improve”, you can say: “Numerous algorithms have been proposed to improve or there are numerous algorithms to improve.
[x] I don't get what you means by saying "one iteration for the reflections".

Thank you so much @MinMah23 for really helpful comments. It was easy to track.
I have updated the SRS document in https://github.com/DeeshaPatel/CAS-741-Solar-Cooker/commit/0ac1d57e09d53bd19224626a13caf6c1c1dd5227 commit for #3  #4 #5 #6 issue.
Closing these four issues.