text:
Added 4th Tab "Personal"

Added 4th tab for social media stuff
Changed some of the links
Added comments in file style.css, index.html, and powerline.js on how to create new tabs to make it easier for future users.
Changed the hotkeys for i3 compatibility

I really like your startpage! It was fun using it to learn a little bit about html, css, and js. If you like the changes, keep 'em. Sorry about the breadcrumb trail of commits, I'm kind of new to this website still.

fuk u

I appreciate the pull request, and I'll try to document the code properly some time later, and also make it easier to add new tabs.
I can see the problem with the hotkeys, I don't know why I haven't just used the numpad without alt to begin with, which is the only part I intended to cherry-pick from your PR since most of it is personal customizations, but I ended up making a mess merging your commits with the master branch and just ended up reverting everything to how it was before.
I might make use of the comments you added later on, but I'll be closing the PR for now.
@Demonstrandum no u

source: gharchive/pull-request

authors: 0-l Demonstrandum zjpxshade

license: MIT

license_type: permissive

license_source: github-api


text:
external ip support

Add support for external IPs to ciao.
Fixes #532
Fixes #692
Fixes #693
Because some of the new ciao-cli commands (pools create/add) are admin only operations, to test you will need to either pull PR #813 or modify testutil/identity.go to switch the project name returned from the fake keystone server from "ilovepuppies" to "admin".

Coverage increased (+0.3%) to 65.216% when pulling 024b05add048492f40a94682256d932b80da71d4 on kaccardi:topic/combined-external-ips into 43401be4f7cc952a14829945777ee642e7c48dd5 on 01org:master.

Coverage increased (+0.3%) to 65.206% when pulling 2ede1e1fafe993e0c95870eed3d399734fb7094f on kaccardi:topic/combined-external-ips into 7140076e4f19aa09e878d45192b405c5f8bad931 on 01org:master.

@markdryan singlevm and ansible do not need changes initially. We will be starting a new service within controller, on a new port number. This port number can be configurable. For now, if no configuration is specified, it will use a default port number. I filed an request to add this change to ansible at a later date: https://github.com/01org/ciao/issues/881

Coverage increased (+0.2%) to 65.093% when pulling 1f214a1b4609634139d2aa0cbe4667d84857ab60 on kaccardi:topic/combined-external-ips into 7140076e4f19aa09e878d45192b405c5f8bad931 on 01org:master.

Coverage increased (+0.1%) to 65.009% when pulling 48cb4b6be90640af03fd4735a7d15192f799759d on kaccardi:topic/combined-external-ips into 7140076e4f19aa09e878d45192b405c5f8bad931 on 01org:master.

Coverage increased (+0.2%) to 65.071% when pulling a2ee6bc506a68598922fb1a6fef7915bfa44fdf4 on kaccardi:topic/combined-external-ips into 7140076e4f19aa09e878d45192b405c5f8bad931 on 01org:master.

Coverage increased (+0.2%) to 65.052% when pulling 19d087405d2f8667984e1c9aff16bcef4315127d on kaccardi:topic/combined-external-ips into 7140076e4f19aa09e878d45192b405c5f8bad931 on 01org:master.

Coverage increased (+0.2%) to 65.087% when pulling 19d087405d2f8667984e1c9aff16bcef4315127d on kaccardi:topic/combined-external-ips into 7140076e4f19aa09e878d45192b405c5f8bad931 on 01org:master.

Currently, the ansible scripts do not have a variable to choose what port to use on any service.
You could just update the configrstion.yaml file here
https://github.com/01org/ciao/blob/master/_DeploymentAndDistroPackaging/ansible/roles/ciao-controller/templates/configuration.yaml.j2

Coverage increased (+0.3%) to 65.082% when pulling 517cd98a9b902ab9ce85f6d0aae7ff7732bf7783 on kaccardi:topic/combined-external-ips into 14a0a250477afc65964f9cc32b2eebe8c462d475 on 01org:master.

I rebased to master to enable testing with newly merged keystone container and single VM.

#879 was opened to track the error handling which will be submitted in a separate PR after this PR is merged.

I'm afraid this needs to be rebased.  I'm getting  scheduler conflict.

@markdryan I rebased, and also apparently we are including the error path handling in this PR after all, so ignore my comment about a separate PR.

Coverage increased (+0.3%) to 65.105% when pulling 7bebf14cd0b2580a5cd35ad88232ac83ac962d76 on kaccardi:topic/combined-external-ips into cd27b8e36a75b4961908a6f591f8e208eaf39dc0 on 01org:master.

Coverage increased (+0.3%) to 65.095% when pulling e211e7dfed334b26f6f1c1988e51bdcf59f23e73 on kaccardi:topic/combined-external-ips into cd27b8e36a75b4961908a6f591f8e208eaf39dc0 on 01org:master.

Coverage increased (+0.3%) to 65.046% when pulling e211e7dfed334b26f6f1c1988e51bdcf59f23e73 on kaccardi:topic/combined-external-ips into cd27b8e36a75b4961908a6f591f8e208eaf39dc0 on 01org:master.

In general things are working okay for me but.
verify.sh is consistently failing
# UUID                                 Status Private IP SSH IP        SSH PORT
1 077e1016-cc25-4646-98a2-304bb8a28095 active 172.16.0.4 198.51.100.82 33004
2 7e3a5652-76c6-4abf-b86d-bae07a159692 active 172.16.0.5 198.51.100.82 33005
FATAL ERROR: ciao instances not deleted properly
7 Ciao event(s):
	[1] 2016-11-30 11:46:10 +0000 UTC: info:Mapped 203.0.113.1 to 172.16.0.2 (Tenant 89ed95cfba8a4c56a18e1ab42254c4b3)
	[2] 2016-11-30 11:46:14 +0000 UTC: info:Unmapped 203.0.113.1 from 172.16.0.2 (Tenant 89ed95cfba8a4c56a18e1ab42254c4b3)
	[3] 2016-11-30 11:46:15 +0000 UTC: info:Failed to map 203.0.113.1 to 73f8aee0-b739-4817-8c40-178ecb3a2483: Public IP assignment operation_failed (Tenant 89ed95cfba8a4c56a18e1ab42254c4b3)
	[4] 2016-11-30 11:46:16 +0000 UTC: info:Deleted Instance 73f8aee0-b739-4817-8c40-178ecb3a2483 (Tenant 89ed95cfba8a4c56a18e1ab42254c4b3)
	[5] 2016-11-30 11:46:16 +0000 UTC: info:Deleted Instance afed694d-d81b-491d-a4ec-f67ed0ad36b1 (Tenant 89ed95cfba8a4c56a18e1ab42254c4b3)
	[6] 2016-11-30 11:46:17 +0000 UTC: info:Deleted Instance 7e3a5652-76c6-4abf-b86d-bae07a159692 (Tenant 89ed95cfba8a4c56a18e1ab42254c4b3)
	[7] 2016-11-30 11:46:17 +0000 UTC: info:Deleted Instance 077e1016-cc25-4646-98a2-304bb8a28095 (Tenant 89ed95cfba8a4c56a18e1ab42254c4b3)

also, I came across another issue in which external-ips could not be unampped after the instances to which they were attached have been deleted, e.g.,
$ export CIAO_PASSWORD=giveciaoatry
$ export CIAO_USERNAME=admin
$ ciao-cli instance list
$ ciao-cli -tenant-name admin pool create -name test
Created new pool: test
$ ciao-cli pool add --name test -subnet "203.0.114.0/24"
Added new address to: test
$ ciao-cli instance add --workload 79034317-3beb-447e-987d-4e310a8cf410
Created new instance: bca08e2e-5795-434d-a38f-0cd2f43fff1e
$ ciao-cli instance list
# UUID                                 Status Private IP SSH IP        SSH PORT
1 bca08e2e-5795-434d-a38f-0cd2f43fff1e active 172.16.1.2 198.51.100.79 33258
$ ciao-cli external-ip map --instance bca08e2e-5795-434d-a38f-0cd2f43fff1e --pool test
Requested external IP for: bca08e2e-5795-434d-a38f-0cd2f43fff1e
$ ciao-cli external-ip list
# ExternalIP  InternalIP InstanceID                           TenantID                         PoolName
1 203.0.114.1 172.16.1.2 bca08e2e-5795-434d-a38f-0cd2f43fff1e e0ddcaf29f9e452e8eb4dfbbd3969f22 test
$ ciao-cli instance list
# UUID                                 Status Private IP SSH IP        SSH PORT
1 bca08e2e-5795-434d-a38f-0cd2f43fff1e active 172.16.1.2 198.51.100.79 33258
$ ciao-cli instance delete --all
os-delete all instances for tenant e0ddcaf29f9e452e8eb4dfbbd3969f22
$ ciao-cli instance list
$ ciao-cli pool list
# Name TotalIPs FreeIPs
1 test 254      253
$ ciao-cli external-ip list
# ExternalIP  InternalIP InstanceID                           TenantID                         PoolName
1 203.0.114.1 172.16.1.2 bca08e2e-5795-434d-a38f-0cd2f43fff1e e0ddcaf29f9e452e8eb4dfbbd3969f22 test
$ ciao-cli external-ip unmap --address 203.0.114.1
Requested unmap of: 203.0.114.1
$ ciao-cli external-ip list
# ExternalIP  InternalIP InstanceID                           TenantID                         PoolName
1 203.0.114.1 172.16.1.2 bca08e2e-5795-434d-a38f-0cd2f43fff1e e0ddcaf29f9e452e8eb4dfbbd3969f22 test

Finally, does anything need to be done to cleanup.sh?

@markdryan I filed issue #898 to track the delete instance bug.

Coverage increased (+0.4%) to 65.125% when pulling 59209c691a466b6062300333f0a90a303af3af80 on kaccardi:topic/combined-external-ips into cd27b8e36a75b4961908a6f591f8e208eaf39dc0 on 01org:master.

@markdryan cleanup should not need any changes as verify cleans everything up.

@kaccardi But if I manually create some external ips and map them and then shutdown single vm will everything get cleaned up properly?  Is the fact that the controller db gets delete enough or will there be some iptable stuff hanging around?

authors: albertomurillo coveralls kaccardi markdryan


text:
vp9_qp: setting qp to vp9 stream

Setting the qp to luma_ac_qindex, replace the default value.
to fix issue #696
Signed-off-by: wudping dongpingx.wu@intel.com

please help to review.

updated according to suggestion, please help to review.

verify+1

merged as 441ee5485f9e045970b9e00faed10151594704ea

authors: wang-fei wudping xuguangxin

license_source: bigquery


text:
linux-yocto-3.14.bbappend: remove

The linux-yocto-3.14.bbappend breaks compilation against current
OE-core master because linux-yocto-3.14.bb was removed. Therefore we
also need to remove the .bbappend.
The oldest supported OE-core is Dizzy, which already has linux-yocto
3.17. If someone still needs the 3.14 kernel patches, they will have
to maintain them in the BSP layer.
Signed-off-by: Patrick Ohly patrick.ohly@intel.com

+1

authors: mythi pohly

license: mit


text:
M44 based release

TODO:
1)Release notes.
2)Source release and test every thing works properly with appropriate Chromium release.

any news here? is @joone going to come up with a name and branch master?

@rakuco @kalyankondapally okay, I will do until this week.

@joone Any news on this?

@hobbitalastair its here https://github.com/01org/ozone-wayland/tree/Milestone-Jefferson

Reopening; there are several commits in Milestone-Jefferson which actually do not work with M44. 30cd769cc8709ebc1addf328265c31db3b4cc110 and d526b09391bfcf7144806b24d1a7e9e1893c35ac are broken, and #338 even updates the release scripts with an M45 version number. This all belongs in Milestone-Trask (#402).

@joone ping
@rakuco confused about #338

Oops, I meant #383.

Should this bug be closed again?

@rakuco ?

Oops, I thought my PR would've closed this issue automatically. I've now removed the Chromium-V45.0 tag that was pointing to an earlier M-Jefferson commit. The only thing the branch still needs is a RELEASE-NOTES.txt. If it's not necessary, then we can finally close it.

We need to fix that too @rakuco Can you push that ?

I just don't know what to write :-) For example, I just used Debian sid's packages for the dependencies, and I'm not entirely sure what was new in this release.

We have usually included information like chromium revision, wayland/weston version this has been tested against and included issues fixed in Ozone-wayland. For Ozone-Wayland related changes, you can query for closed issues during this period i.e. https://github.com/01org/ozone-wayland/issues?q=milestone%3AJefferson+is%3Aclosed  which seems 0. I guess we can skip this part.
I will update it later today and close this.

Done

source: gharchive/issue

authors: hobbitalastair joone kalyankondapally rakuco


text:
Optimize Chinese translation

Standardized use of punctuation and spaces:

Add spaces before and after numbers.
Add spaces before and after English words.
Format the use of ( , ,, ， and （.
Fix minor typos.

Hi, @WHMHammer . Since you are an active translator of the OpenTaiko project and it's my first time to contribute to it, please review my pull request and give me a feedback. Thank you :)

Hello! Thank you for your contribution, will wait for WHMHammer's approval and will merge if it is all good!

I'm OK with the changes. Thank @ludoux for your contribution and thank @0auBSQ for your trust!

authors: 0auBSQ WHMHammer ludoux


text:
🛑 E-Surat is down

In 698c699, E-Surat (https://esurat.unej.ac.id/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: E-Surat is back up in 6b02497 after 1 hour, 23 minutes.


text:
Add docker compose setup for running in containers

It was a bit complicated to get this working
a) without baking env secrets into the container image and
b) switching the svelte adapter so the app can run a standalone server
I guess the adapter switching in svelte.config.js could also be done via an env setting, but this can also be done later.

Thanks again!

authors: danhstevens djmaze


text:
Release v0.3.4

Minor fix for issue #118

Thanks for this wonderful release !! 💯


text:
Thermostat temperature is off by factor of 10, possible fix

The thermostat temperature of a IR heater is off by a factor of 10.
This is the same issue as in the offical plugin, see issue https://github.com/tuya/tuya-homebridge/issues/268
There's a possible fix mentioned in the comments. https://github.com/xlinur/tuya-homebridge/pull/1/files
Maybe you can take a look at it.

I think its already fixed by #20. Are you still facing this problem?

And same issue here: https://github.com/0x5e/homebridge-tuya-platform/discussions/2#discussioncomment-3990021

Please upload logs and reopen the issue if problem still exists.


text:
Add support for adaptive lighting

The main thing that keeps me on https://github.com/iRayanKhan/homebridge-tuya (aside from local control) is that the plugin implements Apple's adaptive lighting, which adjusts the color temperature based on time of day and brightness. It would be a useful feature in this plugin.

+1

sorry for the delay, I was over optimistic about my develop time. I hope I can start this at april. can anyone help me to find some guide of how to integrate adaptive lighting?

please try beta.34, I don't have home hub to test.

It took some minutes to change but it seems to be working! It's the sun icon!

@0x5e I have other bulbs with brightness control only. Is it possible to override them and use adaptive lighting to control them? it would be a nice feature :)

😢
Ok than!

When I turn the light off with adaptive lighting enabled, the light turns on again after 2 seconds. Is this the expected behavior when enabling adaptive lighting on HomeKit?

Well, it seems to be a bug on HomeKit!
I have two scenes: One that turns the light on and another that turns it off.
If I turn the light with adaptive lighting enabled off, it turns on again after a few seconds. I found out a workaround which now   I disable adaptive lighting when turning the light off! :)
Nevertheless, if I tap on Home app to turn the light off, it stays off. ¯_(ツ)_/¯

@0x5e
I've done more tests and the adaptive lighting is working well! :)
My light is connected on my Zemismart hub with HomeKit support and I found out that if a turn it off with Zemismart accessory it works! The problem seems to be on some state not synced between Homebridge and my hub.
An example of both accessories:

When I turn the light off through a scene, this is the log:
path = /v1.0/devices/eb7223f24a5afdb744rcsg/commands
query = null
headers = {
  "t": "",
  "client_id": "",
  "nonce": "",
  "Signature-Headers": "client_id",
  "sign": "",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.36"
}
body = {
  "commands": [
    {
      "code": "switch_led",
      "value": false
    },
    {
      "code": "work_mode",
      "value": "white"
    },
    {
      "code": "temp_value_v2",
      "value": 2
    }
  ]
}

path = /v1.0/devices/eb7223f24a5afdb744rcsg/commands
data = {
  "result": true,
  "success": true,
  "t": 1681473762564,
  "tid": "42a0446fdabc11edaca32ec9655454eb"
}

topic = cloud/token/in/a3673ba3cb3908aee6b24312c1f69466
protocol = 4
message = {
  "dataId": "",
  "devId": "",
  "productKey": "e020aaaj",
  "status": [
    {
      "1": false,
      "code": "switch_led",
      "t": "1681473762",
      "value": false
    }
  ]
}
t = 1681473762

topic = cloud/token/in/a3673ba3cb3908aee6b24312c1f69466
protocol = 4
message = {
  "dataId": "",
  "devId": "",
  "productKey": "e020aaaj",
  "status": [
    {
      "1": true,
      "code": "switch_led",
      "t": "1681473762",
      "value": true
    }
  ]
}
t = 1681473762

topic = cloud/token/in/a3673ba3cb3908aee6b24312c1f69466
protocol = 4
message = {
  "dataId": "",
  "devId": "",
  "productKey": "e020aaaj",
  "status": [
    {
      "4": 2,
      "code": "temp_value_v2",
      "t": "1681473762",
      "value": 2
    }
  ]
}
t = 1681473762

When I turn the light off by tapping the icon, this is the log:
path = /v1.0/devices/eb7223f24a5afdb744rcsg/commands
query = null
headers = {
  "t": "1681473946651",
  "client_id": "",
  "nonce": "",
  "Signature-Headers": "client_id",
  "sign": "",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.36"
}
body = {
  "commands": [
    {
      "code": "switch_led",
      "value": false
    }
  ]
}

path = /v1.0/devices/eb7223f24a5afdb744rcsg/commands
data = {
  "result": true,
  "success": true,
  "t": 1681473947484,
  "tid": "b0dcf2c4dabc11edaca32ec9655454eb"
}

topic = cloud/token/in/a3673ba3cb3908aee6b24312c1f69466
protocol = 4
message = {
  "dataId": "",
  "devId": "",
  "productKey": "",
  "status": [
    {
      "1": false,
      "code": "switch_led",
      "t": "1681473947",
      "value": false
    }
  ]
}
t = 1681473947

And now the logs when it turn it self on automatically.
path = /v1.0/devices/eb7223f24a5afdb744rcsg/commands
query = null
headers = {
  "t": "1681474320694",
  "client_id": "",
  "nonce": "",
  "Signature-Headers": "client_id",
  "sign": "",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.36"
}
body = {
  "commands": [
    {
      "code": "work_mode",
      "value": "white"
    },
    {
      "code": "temp_value_v2",
      "value": 546
    }
  ]
}

path = /v1.0/devices/eb7223f24a5afdb744rcsg/commands
data = {
  "result": true,
  "success": true,
  "t": 1681474321519,
  "tid": "8fced55bdabd11edaca32ec9655454eb"
}

topic = cloud/token/in/a3673ba3cb3908aee6b24312c1f69466
protocol = 4
message = {
  "dataId": "",
  "devId": "",
  "productKey": "e020aaaj",
  "status": [
    {
      "1": true,
      "code": "switch_led",
      "t": "1681474320",
      "value": true
    }
  ]
}

topic = cloud/token/in/a3673ba3cb3908aee6b24312c1f69466
protocol = 4
message = {
  "dataId": "",
  "devId": "",
  "productKey": "e020aaaj",
  "status": [
    {
      "4": 546,
      "code": "temp_value_v2",
      "t": "1681474321",
      "value": 546
    }
  ]
}
t = 1681474321

@felipehjcosta I noticed there's difference between these, but I think I can't control it. the homebridge api only let's me implement how to turn on/off the light, set brightness, set temperature, separately... will this difference make things wrong?

Understood!
The issue is: the light is turn itself on alone. Below you can find the list of events in reverse order.

Time
Device Event
DP ID
Event Details
Source
Source Details

2023-04-18 13:37:56
publish by cloud api
publish by cloud api
success
open api
cloud2cloud

2023-04-18 13:37:56
Publish
Mode
White
cloud2cloud

2023-04-18 13:37:56
Publish
Color Temp
685
cloud2cloud

2023-04-18 13:36:58
Report
ON/OFF
OFF
device itself

2023-04-18 13:36:57
Report
ON/OFF
ON
device itself

2023-04-18 13:36:57
Report
ON/OFF
OFF
device itself

@felipehjcosta So the issue is, when the lightbulb is off, send brightness/temp command without on command, should it be turned on, right? does anyone have the official supported homekit lightbulb to test it's behavior?
I'm able to add a filter to remove these command when lightbulb is off, but I'm not sure if it should be like this.

I will try to findo an official supported homekit lightbulb to test it out!
Meanwhile, can I customize this behavior via deviceOverrides from ADVANCED_OPTIONS.?

I tested with another lightbulb and it's everything ok until now! :)
The original ceiling light I have posted before has the issue. The thing that stood me out is that the ceiling light has a power-on behavior which could be the original source of the problem:

Besides that, there is a documentation by Tuya called Why does my light turn on by itself? which called my attention about the power supply voltage of the device could be unstable.
I will review the power stuff and if I find any new issue, I'll post here!

Adaptive Lighting are disabled by default since v1.7.0-beta.42.
It make some light device beep every minute (https://github.com/0x5e/homebridge-tuya-platform/issues/298), and some device not able to turn off :(

I'm having trouble enabling adaptive lighting in this newest version. I've looked through what you have available on it and it isn't making much sense to me how to enable adaptive lighting. In the previous version, adaptive lighting worked fine on all the bulbs I have. Can you advise?

authors: 0x5e ZooGuru benwtf felipehjcosta


text:
depends: update rust-bitcoin

Currently, rust bitcoin v0.29.2 is used. Current latest release is https://github.com/rust-bitcoin/rust-bitcoin/releases/tag/bitcoin-0.30.2

I'll try this 🙌

Note that rust-bitcoin 30.2 is the latest release on GitHub, but not the latest version of the crate on https://crates.io/crates/bitcoin. We should update to the latest version of the crate if possible.

yes even I was thinking the same, in docs.rs/bitcoin it shows 0.32.2

I've opened a PR in https://github.com/0xB10C/peer-observer/issues/31 for this. I wasn't sure if you were still working on it.

I've opened a PR in #31 for this. I wasn't sure if you were still working on it.

okay, I was working on it!! but no worries!!


text:
add: cli arg to specify a bitcoind PID

Partly addresses #58
This is optional for now but will become required if  bitcoin/bitcoin/26593 is merged.

I've tested that this indeed works well with #26593. Existing setups will continue to work.


text:
Check MPT state transition integrity when aggregating proof

Currently, we only check that the 2 proofs(of stark verifier circuits) are satisfiable independently, without checking the order relationship of the proofs.

start working


text:
update README for Edge v0.9.0

Description
Updated README for Edge v0.9.0
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

recheck


text:
Add trait to encode objects for the advice map

What should be done?
Currently there is a single trait to convert the different types of transactions to advice inputs:
https://github.com/0xPolygonMiden/miden-base/blob/38340550a077a488d0466118c6868fe1144a38fc/miden-lib/src/transaction/inputs.rs#L18-L22
However, there is not trait to convert individual structs into advice map data, so the whole map is populated via standalone functions:
https://github.com/0xPolygonMiden/miden-base/blob/38340550a077a488d0466118c6868fe1144a38fc/miden-lib/src/transaction/inputs.rs#L85-L98
This creates a problem while testing, because to populate the advice for testing, a transaction is needed, to create a transaction, one needs a the block header and account, and so on. This results in a lot of setup code to write tests and hides the important details.
To facilitate testing, it would be good to have a trait similar to the following (just a sketch, needs further work)
trait ToAdviceMap<T> {
  fn to_advice_map(&self) -> impl Iterator<Item=(Word, T)>;
}

It should make it easier to write tests without requiring creating the whole mock state.
How should it be done?

When is this task done?
After adding a strategy to simplify tests, perhaps with the trait above, and there is a test example to demonstrate the new approach.
Additional context
The motivation for this is testing of the new account verification code, which currently runs the complete prologue because there is no easy way to provide just the account seed:
https://github.com/0xPolygonMiden/miden-base/blob/38340550a077a488d0466118c6868fe1144a38fc/miden-lib/src/tests/test_prologue.rs#L341-L361

Well, I wrote the above thinking that populating the advice map would be sufficient because I was thinking mostly about validate_seed:
https://github.com/0xPolygonMiden/miden-base/blob/38340550a077a488d0466118c6868fe1144a38fc/miden-lib/asm/miden/kernels/tx/account.masm#L396-L398
But there are other procedures which would also be great to test in isolation, that require advice stack data too, like process_acct_data:
https://github.com/0xPolygonMiden/miden-base/blob/38340550a077a488d0466118c6868fe1144a38fc/miden-lib/asm/miden/kernels/tx/prologue.masm#L423-L427
maybe another trait for stack inputs would also be useful. I also proposed more general traits in the crypto crate https://github.com/0xPolygonMiden/crypto/issues/312

To facilitate testing, it would be good to have a trait similar to the following (just a sketch, needs further work)
trait ToAdviceMap<T> {
  fn to_advice_map(&self) -> impl Iterator<Item=(Word, T)>;
}

It should make it easier to write tests without requiring creating the whole mock state.

One potential issue here is that the way an object is to be added to the advice provider is not an intrinsic property of an object but rather a property of the program which will use this object. So, for example, the transaction kernel may expect a block header to be inserted into the advice map in one way, while block header may expect it to be inserted in another way. Not to say that this will always happen (and maybe in case of the block header it will be the same in both cases), but it is definitely possible. This was the primary reason for introducing ToTransactionKernelInputs trait (and in the future we could have ToBlockKernelInputs trait as well).
Would it not be possible to implement ToTransactionKernelInputs trait on a mock struct to simplify testing?

authors: bobbinth hackaugusto


text:
[Bug]: Miden node does not get build with --target=aarch64-unknown-linux-gnu target

Version
v0.2.0
Other packages versions
only the node
What happened?
DevOps told us that the Miden node does not get build with --target=aarch64-unknown-linux-gnu target. Can someone check and either file a proper bug report or close this issue as resolved
What should have happened?
Not sure
How can this be reproduced?
Not sure
Relevant log output
No response

@polydez tested it and it works for main and next


text:
Allow loading contracts with only ABI

starknet.getContractFactory  could be modified to not require both contract.json and contract_abi.json artifacts. This way using contractFactory.getContractAt  would only be supported, contractFactory.deploy  wouldn't.

@robinstraub Sorry for the delay in replying. I don't understand how removing abiPath would allow users to load contracts only with ABI. Shouldn't it be the other json artifact that would require removing? Also note that since the introduction of Cairo 1 the plugin currently requires another artifact: contract.casm (due to Sierra mid-layer).

This will probably handled as well by https://github.com/0xSpaceShard/starknet-hardhat-plugin/issues/396

authors: FabijanC ivpavici


text:
why does it play with no audio ?

it just has video.

This is wrong

That is not true.

The case is when playing on mac os ,not IOS .

I can hear audio very well both on iOS and on OS X. Also, please have a look at the contributing guidelines to learn how to file a good bug report.

authors: 0xced codepython tommybananas


text:
[Feature Request] add vmplex to the Winget repository

Please add vmplex-ws to the Winget repository for easy installation and updating.
Ideally i'd rather install and update it through Windows store but not sure if you need to pay to publish in there and if portable programs are supported.
I think doing either of these will make things easier for users.
Winget supports portable software:
https://learn.microsoft.com/en-us/windows/package-manager/winget/
by installation, I mean copying the executable to a local directory and add its icon to the start menu.

I would love to have winget support in the future. 👍

@jxy-s
In my opinion, I think maybe vmplex can be submitted to the Microsoft Store. It achieve get vmplex via both winget and msstore.
Note: I am the author of NanaGet, a third-party lightweight XAML-based out-of-box-experience oriented Hyper-V client based on Host Compute System API, Remote Desktop ActiveX control and XAML Islands. I had submitted NanaBox to Microsoft Store successfully. So, I think VMPlex Workstation also can achieve that.
Kenji Mouri

Decided to go directly with winget instead of the store. I think that's a better workflow for the people consuming this type of tool. The request is in, CI has passed, we're waiting on moderator approval 🤞 : https://github.com/microsoft/winget-pkgs/pull/102646

This is complete 🎉 : https://github.com/microsoft/winget-pkgs/pull/105827
winget install vmplex

authors: MouriNaruto jxy-s lulMeow


text:
Small todos

logic for model input size limiting based on window size
~add feature flag for style (eg, "I want the output to use spaces instead of tabs")~
Let the LLM select a "search google" option in the debug step
add natural language files in the source for the LLM to integrate into proper code, compatible with the rest of the project

Now being tracked in README


text:
Can't see camera stream

In your demo after clicking on the camera icon, the document I am pointing at is captured fine. However the camera stream only shows a black background with several red lines flickering around.

Tried in a local build and it works there...

Happens on mobile...


text:
🛑 Medical Devices Establishment License Listing is down

In b22eee9, Medical Devices Establishment License Listing (https://health-products.canada.ca/mdel-leim/) was down:

HTTP code: 404
Response time: 82 ms

Resolved: Medical Devices Establishment License Listing is back up in 0aca3b3 after 1 hour, 45 minutes.


text:
Add ashur.cab to sites

Finally moved my personal site to Eleventy 🎈🐭

Yay! Thank you!

authors: ashur zachleat


text:
uid is missing from the docs

Known existing prior art: https://youtu.be/p0wDUK0Z5Nw?t=454

Also https://11ty.rocks/posts/understanding-webc-features-and-concepts/

One note - when you document this, please explain the rules of the random string. For example, will it be safe to use as IDs for DOM elements. (If not, let me know and I'll file an issue for that. ;)

authors: cfjedimaster zachleat


text:
incorrect PQ tracking for .hdr images in "no effect" mode

I did some tests using HDR + WCG viewer using one of our NVIDIA GSYNC HDR10 monitor prototypes. Our debug tools can observe the exact HDR PQ12 codes coming in from the PC to the monitor. And it looks like brightness of a .hdr image displayed by HDR + WCG is about 8.5x too high at default brightness and when selecting Render Effect = No Effect (all other settings have special transformations we don’t want for our tests).
Consider the attached 4k ‘simultaneous contrast’ style test image we use. It has a 1400 nits bright bar at top. At bottom it has a greyscale with 14 steps, starting with 0.02 nits and increasing by 1.5x for every step to the right. We verified that the .hdr brightness is as we want it with 'tev' (see table).
When we display this with an in-house viewer, we get PQ12 values that translate to the correct nits (within RGBE quantization accuracy). Table below shows PQ12 values/nits values we get with HDR+WCG viewer.
We’d be very interested to see a fix, so we can recommend use of this viewer for our partners/monitor makers.

ContrastTest_0p02_1p5_3840_2160.zip
PS: we did these experiments with Win10 21H2 (19044.1706), and a 27” 4k 144 Hz 1000 nits GSYNC Ultimate monitor (max 1107 nits).

Thanks for your patience and for reporting this!
Tentative findings from my initial investigation:
From the RGBE file format spec, there is an EXPOSURE header variable:

EXPOSURE
A single floating point number indicating a multiplier that has
been applied to all the pixels in the file. EXPOSURE values are
cumulative, so the original pixel values (i.e., radiances in
watts/steradian/m^2) must be derived by taking the values in the
file and dividing by all the EXPOSURE settings multiplied
together. No EXPOSURE setting implies that no exposure
changes have taken place.

In this file, that value is:
EXPOSURE=0.11713
which corresponds to a multiplier of about 8.5, the discrepancy between the two apps.
This isn't my area of expertise, but from my reading of the spec, a decoder does need to divide color values by the EXPOSURE, i.e. the 8.5x higher values produced by the HDR image viewer are indeed correct. I am relying on directxtex for RGBE radiance decoding, and it looks like it is applying this divider.
However, I'm not an expert on the RGBE format. It's entirely possible that the EXPOSURE directive isn't widely used so it practically should be ignored; however I need to do further research on how to achieve this while using DirectXTex.

Attaching a quick and dirty hex-edited version of the repro image with
EXPOSURE=1.00000
ContrastTest_0p02_1p5_3840_2160-exposure1.zip
When loading this image, my MaxCLL histogram calculation gives 1517 nits, which is within the expected 10% margin of error to 1400 nits design point.

Thanks, Simon. Let me consult with someone inside NVIDIA that's an RGBE expert who gave me the encoding library.
From: Simon Tao @.>
Sent: Tuesday, December 27, 2022 8:08 AM
To: 13thsymphony/HDRImageViewer @.>
Cc: Gerrit Slavenburg @.>; Author @.>
Subject: Re: [13thsymphony/HDRImageViewer] incorrect PQ tracking for .hdr images in "no effect" mode (Issue #51)
Thanks for your patience and for reporting this!
Tentative findings from my initial investigation:
From the RGBE file format spechttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffloyd.lbl.gov%2Fradiance%2Frefer%2Ffilefmts.pdf&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138067982|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9chZ4DOtGjI187VZgwVTVGRXokdtlqfrUhg2tKXP42k%3D&reserved=0, there is an EXPOSURE header variable:
EXPOSURE
A single floating point number indicating a multiplier that has
been applied to all the pixels in the file. EXPOSURE values are
cumulative, so the original pixel values (i.e., radiances in
watts/steradian/m^2) must be derived by taking the values in the
file and dividing by all the EXPOSURE settings multiplied
together. No EXPOSURE setting implies that no exposure
changes have taken place.
In this file, that value is:
EXPOSURE=0.11713
which corresponds to a multiplier of about 8.5, the discrepancy between the two apps.
This isn't my area of expertise, but from my reading of the spec, a decoder does need to divide color values by the EXPOSURE, i.e. the 8.5x higher values produced by the HDR image viewer are indeed correct. I am relying on directxtexhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FDirectXTex&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138067982|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=PntAc1uYaJL%2Bmka0okpPg8uHIz%2Ffigq5niXORJETeiQ%3D&reserved=0 for RGBE radiance decoding, and it looks like it is applying this dividerhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FDirectXTex%2Fblob%2F23b7fd1f385d33f40093a0786ca5b54147f2f24a%2FDirectXTex%2FDirectXTexHDR.cpp%23L878&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138067982|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=x2Mf5uWZjDhEKTHGn%2BK2cE2U%2Fb8qiv0%2FAfeIcro78bU%3D&reserved=0.
However, I'm not an expert on the RGBE format. It's entirely possible that the EXPOSURE directive isn't widely used so it practically should be ignored; however I need to do further research on how to achieve this while using DirectXTex.

Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2F13thsymphony%2FHDRImageViewer%2Fissues%2F51%23issuecomment-1366014242&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138223762|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=FAsDK86ailY2j4eEe0aPMzHVtN50179qY9e5SYZ7oPA%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZJVWE5HP2ATNCEXMYOPWUDWPMH4NANCNFSM5WXS4HZQ&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138223762|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=OBaALWspm%2Ft9azVWaxozRJQkjwlswO1KKgB4AnLcBrs%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.@.>>

Hi Simon,
I just tested your 'hacked' version of the Contrast Test image that edited the header to have EXPOSURE 1.0 (whereas my test image had exposure 0.11713)

NVIDIA's in-house viewer, HDRshow.exe appears to ignore the header exposure, the PQ codes I get are same for both versions !
'tev' also ignores the header exposure value, it reports "17.5" (*80 = 1400 nits) for the bright bar in both images !

I think the easiest solution is for me to change my .hdr image generation program to always use exposure 1.0. Then it should give identical results on all viewers. (to be confirmed)
Gerrit, NVIDIA
From: Gerrit Slavenburg @.>
Sent: Tuesday, December 27, 2022 8:34 AM
To: 13thsymphony/HDRImageViewer @.>; 13thsymphony/HDRImageViewer @.>
Cc: Author @.>
Subject: RE: [13thsymphony/HDRImageViewer] incorrect PQ tracking for .hdr images in "no effect" mode (Issue #51)
Thanks, Simon. Let me consult with someone inside NVIDIA that's an RGBE expert who gave me the encoding library.
From: Simon Tao @.>
Sent: Tuesday, December 27, 2022 8:08 AM
To: 13thsymphony/HDRImageViewer @.>
Cc: Gerrit Slavenburg @.>; Author @.>
Subject: Re: [13thsymphony/HDRImageViewer] incorrect PQ tracking for .hdr images in "no effect" mode (Issue #51)
Thanks for your patience and for reporting this!
Tentative findings from my initial investigation:
From the RGBE file format spechttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffloyd.lbl.gov%2Fradiance%2Frefer%2Ffilefmts.pdf&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138067982|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9chZ4DOtGjI187VZgwVTVGRXokdtlqfrUhg2tKXP42k%3D&reserved=0, there is an EXPOSURE header variable:
EXPOSURE
A single floating point number indicating a multiplier that has
been applied to all the pixels in the file. EXPOSURE values are
cumulative, so the original pixel values (i.e., radiances in
watts/steradian/m^2) must be derived by taking the values in the
file and dividing by all the EXPOSURE settings multiplied
together. No EXPOSURE setting implies that no exposure
changes have taken place.
In this file, that value is:
EXPOSURE=0.11713
which corresponds to a multiplier of about 8.5, the discrepancy between the two apps.
This isn't my area of expertise, but from my reading of the spec, a decoder does need to divide color values by the EXPOSURE, i.e. the 8.5x higher values produced by the HDR image viewer are indeed correct. I am relying on directxtexhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FDirectXTex&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138067982|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=PntAc1uYaJL%2Bmka0okpPg8uHIz%2Ffigq5niXORJETeiQ%3D&reserved=0 for RGBE radiance decoding, and it looks like it is applying this dividerhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FDirectXTex%2Fblob%2F23b7fd1f385d33f40093a0786ca5b54147f2f24a%2FDirectXTex%2FDirectXTexHDR.cpp%23L878&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138067982|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=x2Mf5uWZjDhEKTHGn%2BK2cE2U%2Fb8qiv0%2FAfeIcro78bU%3D&reserved=0.
However, I'm not an expert on the RGBE format. It's entirely possible that the EXPOSURE directive isn't widely used so it practically should be ignored; however I need to do further research on how to achieve this while using DirectXTex.

Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2F13thsymphony%2FHDRImageViewer%2Fissues%2F51%23issuecomment-1366014242&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138223762|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=FAsDK86ailY2j4eEe0aPMzHVtN50179qY9e5SYZ7oPA%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZJVWE5HP2ATNCEXMYOPWUDWPMH4NANCNFSM5WXS4HZQ&data=05|01|gslavenburg%40nvidia.com|d89b0653df374bc221b708dae82477af|43083d15727340c1b7db39efd9ccc17a|0|0|638077542138223762|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=OBaALWspm%2Ft9azVWaxozRJQkjwlswO1KKgB4AnLcBrs%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.@.>>

That's great to hear, let me know how it turns out!


text:
CloudFoundry-l-ELB-YWDSV69AFFFK needs to be updated or deleted

Currently uses invalid certificate

Not sure what it is, but seems unrelated to CF or anything FR related. Might be specific to a partner agency. @dlapiduz ?

This was the first ELB for CF. Deleting it was long overdue but I am a melancholic person.
Here is proof for posterity on what it was:

Thanks @dlapiduz!

authors: dlapiduz rogeruiz sharms


text:
Optionally obscure sensitive information in subset

For protecting PII, etc.  Should be able to integrate with an existing library to obscure data while preserving its overall "flavor".

This would be useful in my group (Laboratory Medicine department in the University of Washington Medical Center) which has databases with PHI (http://en.wikipedia.org/wiki/Protected_health_information). After extracting test data from such a database, the PHI must be mangled prior to storing in a repository.
Perhaps by specifying the PHI columns and their data types, the program could generate random data for that data type. This could work well for scalar types.

I would find this useful too.

To be specific, my use case is that I'm the primary developer of Warehouse, which will replace the software that powers PyPI, and one of the challenges of that (as an OSS project itself) is how do we create a public dataset that is representative of the real data without being the entire set of real data and without exposing anything sensitive. Currently my method of doing this is basically manually copying some data and then going in and manually sanitizing it to remove data. It would be great to be able to rely on rdbms-subsetter to automate this for me though.

I agree that this would be a great feature.
For the moment, I'm first extracting a subset, then using another tool to do the anonymization.

authors: brki catherinedevlin dstufft twekberg


text:
Make Connect sidecar of Operator

Summary
Making Connect sidecar of the Operator would limit the Connect scope to inside pod, which in turn would mean that no ports would need to be opened outside the pod. This would limit the risk of misconfiguration and exposing the Connect too widely accidentally.
Use cases
When you only need Connect for serving Operator. For example I only need Connect to serve the Operator so I don't need the endpoints to be exposed to anything else. I would sleep my nights better if it were abstracted away.
Proposed solution
Implement a possibility to make Connect sidecar of Operator
Is there a workaround to accomplish this today?
Not that I know.
E: Actually this is exactly the reason why I'd rather keep the Connect as a sidecar for the Operator: https://github.com/1Password/connect-helm-charts/pull/65 It is too easy to expose the endpoints to external world.

Thanks for reaching out. I think there are use cases for both running 1Password Connect run from outside of the Connect Operator or as a separate sidecar so I think it might be nice to have an optional field in the helm chart to deploy as a sidecar rather than in a separate pod. We will look into potentially implementing this in the future.

Yes an option would probably make sense in this case since if the connect is used for something else than the operator only, sidecar is not that good option. But if it is used solely for the operator, it would isolate the connect well and thus reducing the risk factor significantly as well as make the setup simpler.

authors: jillianwilson villesau


text:
Axios Error:

Hi, when using this library, I encountered following problem:
My Code:
  const reqBody = await req.json();
  const openAIApi = new OpenAIApi(
    new Configuration({
      apiKey: openAIApiKey,
      azure: {
        endpoint: openAIEndPoint,
        apiKey: openAIApiKey,
        deploymentName: openAIChatGPTDeploymentName,
      }
    })
  );
  console.log("reqBody", reqBody)
  const res = await openAIApi.createChatCompletion({
    model: openAIChatGPTDeploymentName,
    prompt: reqBody.messages,
    temperature: 0,
    frequency_penalty: 0.0,
    presence_penalty: 0.0,
    max_tokens: 1000,
  });

Error:
error - adapter is not a function

In my package.json:
"axios": "^1.3.4",

Is anything wrong with my code or dependencies?

@richardeee , can you share more error description?

Binance Free Tokens Giveaway - Claim Yours Now! 🎉💰
Welcome to the exclusive Binance Free Tokens giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this fantastic opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Act swiftly and enjoy your tokens! This limited-time offer won't be available forever. 🌐💰
Steps to Claim:

Spread the Excitement on Twitter:

Share the news about claiming your free tokens!

Tweet: Share this Airdrop

Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, go to the Binance Rewards.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook

authors: 1openwindow richardeee xcluz-git


text:
Upload doesn't work with Azure Blob

Hi I have problem with upload with Azure Gaufrette Adapter. Oneup\UploaderBundle\Uploader\Storage
GaufretteStorage trying set metadata before before move data to Filesystem.
Gaufrette\Adapter\AzureBlobStorage throws \RuntimeException in setMetadata method: "Failed to set metadata for blob "574ee7eecf341.jpg" in container "photoset": The specified blob does not exist. (BlobNotFound).
So probably there is no option to set file metadata befor file is upload to Azure.

Hi @pawel-winiecki
Do you have a callstack of some sort? Is it possible that it is this line which is a problem?
Could it be that we're trying to set metadata before we even uploaded the file?

Hi @sheeep sorry for the late reply. I didn't see GitHub notification.
I use InMemory, Local and Azure adpters. Problem is only with Azure.
I've got callstack, but in JSON format. I hope that is not a problem. You're right that [this line] is a problem. I've made quick experiment and moved setting metadata after line 43. It worked with Azure.
{
   "error":{
      "code":500,
      "message":"Internal Server Error",
      "exception":[
         {
            "message":"Fail:\nCode: 404\nValue: The specified blob does not exist.\ndetails (if any): \ufeff<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>BlobNotFound<\/Code><Message>The specified blob does not exist.\nRequestId:ed41a449-0001-0054-1c8d-f1f758000000\nTime:2016-08-08T15:57:31.1755017Z<\/Message><\/Error>.",
            "class":"MicrosoftAzure\\Storage\\Common\\ServiceException",
            "trace":[
               {
                  "namespace":"",
                  "short_class":"",
                  "class":"",
                  "type":"",
                  "function":"",
                  "file":"project\/vendor\/microsoft\/azure-storage\/src\/Common\/Internal\/ServiceRestProxy.php",
                  "line":228,
                  "args":[

                  ]
               },
               {
                  "namespace":"MicrosoftAzure\\Storage\\Common\\Internal",
                  "short_class":"ServiceRestProxy",
                  "class":"MicrosoftAzure\\Storage\\Common\\Internal\\ServiceRestProxy",
                  "type":"::",
                  "function":"throwIfError",
                  "file":"project\/vendor\/microsoft\/azure-storage\/src\/Common\/Internal\/ServiceRestProxy.php",
                  "line":187,
                  "args":[
                     [
                        "string",
                        "404"
                     ],
                     [
                        "string",
                        "The specified blob does not exist."
                     ],
                     [
                        "object",
                        "GuzzleHttp\\Psr7\\Stream"
                     ],
                     [
                        "string",
                        "200"
                     ]
                  ]
               },
               {
                  "namespace":"MicrosoftAzure\\Storage\\Common\\Internal",
                  "short_class":"ServiceRestProxy",
                  "class":"MicrosoftAzure\\Storage\\Common\\Internal\\ServiceRestProxy",
                  "type":"->",
                  "function":"send",
                  "file":"project\/vendor\/microsoft\/azure-storage\/src\/Blob\/BlobRestProxy.php",
                  "line":2071,
                  "args":[
                     [
                        "string",
                        "PUT"
                     ],
                     [
                        "array",
                        {
                           "x-ms-meta-contentType":[
                              "string",
                              "image\/jpeg"
                           ]
                        }
                     ],
                     [
                        "array",
                        {
                           "comp":[
                              "string",
                              "metadata"
                           ]
                        }
                     ],
                     [
                        "array",
                        [

                        ]
                     ],
                     [
                        "string",
                        "photoset\/57a8abebb4d6e.jpg"
                     ],
                     [
                        "string",
                        "200"
                     ]
                  ]
               },
               {
                  "namespace":"MicrosoftAzure\\Storage\\Blob",
                  "short_class":"BlobRestProxy",
                  "class":"MicrosoftAzure\\Storage\\Blob\\BlobRestProxy",
                  "type":"->",
                  "function":"setBlobMetadata",
                  "file":"project\/vendor\/knplabs\/gaufrette\/src\/Gaufrette\/Adapter\/AzureBlobStorage.php",
                  "line":300,
                  "args":[
                     [
                        "string",
                        "photoset"
                     ],
                     [
                        "string",
                        "57a8abebb4d6e.jpg"
                     ],
                     [
                        "array",
                        {
                           "contentType":[
                              "string",
                              "image\/jpeg"
                           ]
                        }
                     ]
                  ]
               },
               {
                  "namespace":"Gaufrette\\Adapter",
                  "short_class":"AzureBlobStorage",
                  "class":"Gaufrette\\Adapter\\AzureBlobStorage",
                  "type":"->",
                  "function":"setMetadata",
                  "file":"project\/vendor\/oneup\/uploader-bundle\/Oneup\/UploaderBundle\/Uploader\/Storage\/GaufretteStorage.php",
                  "line":28,
                  "args":[
                     [
                        "string",
                        "57a8abebb4d6e.jpg"
                     ],
                     [
                        "array",
                        {
                           "contentType":[
                              "string",
                              "image\/jpeg"
                           ]
                        }
                     ]
                  ]
               },
               {
                  "namespace":"Oneup\\UploaderBundle\\Uploader\\Storage",
                  "short_class":"GaufretteStorage",
                  "class":"Oneup\\UploaderBundle\\Uploader\\Storage\\GaufretteStorage",
                  "type":"->",
                  "function":"upload",
                  "file":"project\/vendor\/oneup\/uploader-bundle\/Oneup\/UploaderBundle\/Controller\/AbstractController.php",
                  "line":125,
                  "args":[
                     [
                        "object",
                        "Oneup\\UploaderBundle\\Uploader\\File\\FilesystemFile"
                     ],
                     [
                        "string",
                        "57a8abebb4d6e.jpg"
                     ]
                  ]
               },
               {
                  "namespace":"Oneup\\UploaderBundle\\Controller",
                  "short_class":"AbstractController",
                  "class":"Oneup\\UploaderBundle\\Controller\\AbstractController",
                  "type":"->",
                  "function":"handleUpload",
                  "file":"project\/vendor\/oneup\/uploader-bundle\/Oneup\/UploaderBundle\/Controller\/BlueimpController.php",
                  "line":24,
                  "args":[
                     [
                        "object",
                        "Symfony\\Component\\HttpFoundation\\File\\UploadedFile"
                     ],
                     [
                        "object",
                        "Oneup\\UploaderBundle\\Uploader\\Response\\EmptyResponse"
                     ],
                     [
                        "object",
                        "Symfony\\Component\\HttpFoundation\\Request"
                     ]
                  ]
               },
               {
                  "namespace":"Oneup\\UploaderBundle\\Controller",
                  "short_class":"BlueimpController",
                  "class":"Oneup\\UploaderBundle\\Controller\\BlueimpController",
                  "type":"->",
                  "function":"upload",
                  "file":null,
                  "line":null,
                  "args":[

                  ]
               },
               {
                  "namespace":"",
                  "short_class":"",
                  "class":"",
                  "type":"",
                  "function":"call_user_func_array",
                  "file":"project\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php",
                  "line":139,
                  "args":[
                     [
                        "array",
                        [
                           [
                              "object",
                              "Oneup\\UploaderBundle\\Controller\\BlueimpController"
                           ],
                           [
                              "string",
                              "upload"
                           ]
                        ]
                     ],
                     [
                        "array",
                        [

                        ]
                     ]
                  ]
               },
               {
                  "namespace":"Symfony\\Component\\HttpKernel",
                  "short_class":"HttpKernel",
                  "class":"Symfony\\Component\\HttpKernel\\HttpKernel",
                  "type":"->",
                  "function":"handleRaw",
                  "file":"project\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php",
                  "line":62,
                  "args":[
                     [
                        "object",
                        "Symfony\\Component\\HttpFoundation\\Request"
                     ],
                     [
                        "string",
                        "1"
                     ]
                  ]
               },
               {
                  "namespace":"Symfony\\Component\\HttpKernel",
                  "short_class":"HttpKernel",
                  "class":"Symfony\\Component\\HttpKernel\\HttpKernel",
                  "type":"->",
                  "function":"handle",
                  "file":"project\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/DependencyInjection\/ContainerAwareHttpKernel.php",
                  "line":69,
                  "args":[
                     [
                        "object",
                        "Symfony\\Component\\HttpFoundation\\Request"
                     ],
                     [
                        "string",
                        "1"
                     ],
                     [
                        "boolean",
                        true
                     ]
                  ]
               },
               {
                  "namespace":"Symfony\\Component\\HttpKernel\\DependencyInjection",
                  "short_class":"ContainerAwareHttpKernel",
                  "class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel",
                  "type":"->",
                  "function":"handle",
                  "file":"project\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/Kernel.php",
                  "line":185,
                  "args":[
                     [
                        "object",
                        "Symfony\\Component\\HttpFoundation\\Request"
                     ],
                     [
                        "string",
                        "1"
                     ],
                     [
                        "boolean",
                        true
                     ]
                  ]
               },
               {
                  "namespace":"Symfony\\Component\\HttpKernel",
                  "short_class":"Kernel",
                  "class":"Symfony\\Component\\HttpKernel\\Kernel",
                  "type":"->",
                  "function":"handle",
                  "file":"project\/web\/app_dev.php",
                  "line":30,
                  "args":[
                     [
                        "object",
                        "Symfony\\Component\\HttpFoundation\\Request"
                     ]
                  ]
               }
            ]
         }
      ]
   }
}

I'm also having trouble with Azure Blob Storage but is with chunk upload using jquery file upload and flysystem. The interface is upload just a slice of the file.

Hi @sheeep
This line is indeed the problem since by commenting it the error disappears. As you pointed out, this seems to do with trying to set metadata for an object which is not yet instantiated. The problem goes down to the Azure's Gaufrette Adapter, which implements setMetadata without verifying that the blob actually exists. Have anybody had a deeper look into it? This really needs to be solved in order to use the bundle with Azure.

authors: cassianotartari mark-sp pawel-winiecki sheeep


text:
Hide when product out of stock

I believe that the pay in x should be hidden when a product is not in stock - see image for a better description.

Hello @mrabsinthe,
Thank you for your message !
You're right, the pay in x button should be hidden when a product is not in stock. We share the issue with Paypal to found the best way to fix it. We will integrate the fix as soon as possible in a future release.
I will let you know when the issue is resolved.
Best regards,
Team 202

Fixed in 5.6.0

authors: JeromeG202 clotairer mrabsinthe


text:
Allow vaping probes with same name as plugins, or error?

Vaping probes are just plugins, and since the name of a plugin is used to store it, currently there is a conflict with a config like this:
probes:
  # same name as plugin
  - name: mtr
    type: mtr
    output:
      - vodka

    host: 1.1.1.1

plugins:
  # same name as probe
  - name: mtr
    type: fping_mtr
    count: 3
    interval: 3s

Vaping currently does not raise an error with this setup, but will not work as expected either as the probe will never be instantiated with the new config since a plugin with the same name already exists.

This should raise on config load, can wait until confu to do it.

authors: grizz vegu


text:
ルート53でのドメインの購入

概要
AWSルート53を使用して、新しいドメインを購入する。
詳細
タスク

AWSマネジメントコンソールにログイン
ルート53のダッシュボードに移動
新しいドメインを検索して購入

要件

AWSアカウントを持っていること
クレジットカード情報が登録されていること

技術スタック

AWSルート53

参考資料

ルート53でのドメイン購入方法

SC4PE.netを取得


text:
Any chance for Linux support for Python with Unreal?

If not, wondering if there would be a way to help with that. Thanks very much.

Just add a new "if block" here for linux:
https://github.com/20tab/UnrealEnginePython/blob/master/Source/UnrealEnginePython/UnrealEnginePython.Build.cs#L79
the procedure should be the same of osx

Oh and if you manage to run it, make a pull request ;)

Thanks so much for that suggestion. I've tried putting what I thought was the equivalent here, but it seemed to still crash, saying that there is an invalid plugin.
else if (Target.Platform == UnrealTargetPlatform.Linux)
	{
            if (pythonHome == "python35")
            {
                string linux_python = "/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu/";
                PublicIncludePaths.Add("/usr/include/python3.5/");
                PublicAdditionalLibraries.Add(Path.Combine(mac_python, "libpython3.5m.so"));
                Definitions.Add(string.Format("UNREAL_ENGINE_PYTHON_ON_LINUX=3"));
            }
            else if (pythonHome == "python27") {
                string l_python = "/usr/lib/python2.7/config-x86_64-linux-gnu/";
                PublicIncludePaths.Add("/usr/include/python2.7/");
                PublicAdditionalLibraries.Add(Path.Combine(mac_python, "libpython2.7.so"));
                Definitions.Add(string.Format("UNREAL_ENGINE_PYTHON_ON_LINUX=2"));
            }
	}

Apologies in advance if this seems obvious. I've tried to include in a similar fashion the python development headers and linux equivalent of the dylib file in mac.

Can't you enable logging of the build phase ?
By the way, check the UnrealEnginePythonPCH.h file as you need to se the right includes

Thanks, here's what I find in my logfile that I think is relevant:
[2016.09.22-13.43.37:737][  0]LogModuleManager:Warning: No filename provided for module UnrealEnginePython
[2016.09.22-13.43.37:737][  0]LogModuleManager:Warning: ModuleManager: Unable to load module 'UnrealEnginePython' because the file '/home/daeil/Programs/UnrealEngine/Engine/Binaries/Linux/' was not found.
By UnrealEnginePythonPCH.h, i couldn't find that, but found UnrealEnginePythonPrivatePCH.h which I think you were referring to. Modified it to include this:
#elif UNREAL_ENGINE_PYTHON_ON_LINUX == 2
#include <python2.7/Python.h>

Linux is now officially supported:
https://github.com/20tab/UnrealEnginePython#installation-on-linux-64-bit

authors: daeilkim rdeioris


text:
Need fresh binary for macOS

Hi!
Can you, please, upload fresh macOS binaries?
macOS 10.13
Python 3.6
Thanks!

Hi, versions for 4.17 and 4.18 have been released

authors: ExarKunFan rdeioris


text:
Annotating Array, Set and Dictionaries (attributes & parameters) (native subclassing)

When using native subclassing API, the docs demonstrate how to create a float array property, but there is no talk of TDictionaries or TSets. Are those possible yet?
Furthermore I have not been able to create a function which takes an array either. I tried list, list(str) and [str], but list isn't supported altogether (missing __args__ attribute) and [str] cannot be parsed (leaving the parameter ignored). Is this not possible yet?

For the function param stuff, see PR #635 for an unofficial patch that adds support for it. Unsupported, but we've been using it in our project for awhile and it's worked well for us. With the patch you can have e.g.:
def Foo(stuff : [str]) -> [bool]:
     ...

for a function that takes an array of strings and returns an array of bools.

authors: Kiruse dfb


text:
List of blocked sites

[ ] viralnova.com

Goose found correct top node, but was unable to fetch images inside it (403 forbidden error), thus it had to try getting opengraph images. It was lucky because the site had that kind of data.
Examples:
http://www.viralnova.com/family-on-the-moon/

[fixed] add user_agent when downloading images


text:
Field.ButtonOption 按钮选中状态文案颜色、背景色高亮 禁止失效

设置了activeHighlight false 属性 照常失效
组件版本 0.3.21

是想要达到这样的效果？

跟普通按钮一样   选中不会有高亮选中效果

两个截图的样式表现是一致的。
如果想达到点击后没有选中的效果可以如下。
const Demo = () => {
  return (
    <Field.ButtonOption
      title="快速输入"
      options={options}
      // 给一个 options 里不存在的值
      value={-1}
      onChange={(v) => {
        // 点击按钮响应回调，value 不更新，没有任何按钮激活
        console.log("v -> ", v);
      }}
    />
  );
};

增加这个    value={-1} 有用
会修复activeHighlight 这个属性的设置吗

activeHighlight 应该是理解不同。
activeHighlight 的初衷是按钮激活的时候呈现不同样子。

例如上面两组按钮分别是 active={true}&activeHighlight={true} 和 active={true}&activeHighlight={false} 状态的表现。
现在有一个小问题，activeHighlight 的描述是「选中状态文案颜色、背景色高亮」，现在只是对文案颜色做了处理。对于 type="outline" 的背景色不正确。

这组优化后的才达到「选中状态文案颜色、背景色高亮」。


text:
ONTS를 라즈베리 파이로 이동시키자

이제 노트북 좀 퇴역 시키자

사유 : 오픈나무 노트북의 배드섹터 우려

아 나중에 개인적으로 처리하자


text:
Support for ABC-Panels

Hi and thanks for this awesome library!
I have a P2-128x64-32S-4.0 Panel from Aliexpress.
I added a MUX variant for this panel using the algorithm of @mcpgza who fixed these panels in the RPi Matrix Library by @hzeller. Now I would like to use a ESP8266 to drive this panel.
The only problem right now is that the middle line (32) is shifted to the last line (64).

And here is a demo video
Furthermore it only works with display_ticker interval 0.01 but not faster.
Maybe you @2dom or anybody else knows how to fix it.

Can you post the code how you configure those panels? Especially what row_pattern

Oh yes. I set the row_pattern/scan rate to 32.
#define P_LAT D0
#define P_A D1
#define P_B D2
#define P_C D8
#define P_OE D4

PxMATRIX display(128, 64, P_LAT, P_OE, P_A, P_B, P_C);

and
display.begin(32);
display.setMuxPattern(ABC);
display.setFastUpdate(true);

Here are the full sketches.

Thanks...could you draw a diagonal line for me? for (int x=0; x<32;x++) display.drawPixel(x,x,0xFFFF);

This the output:

I hope it helps!

Hey @themultiplexer ! Looking at your code, I guess you kind of implemented the same what I did ( https://github.com/xsrf/PxMatrix/blob/shift-mux/PxMatrix.h#L1011 ) for Issue #117 ...
However, your code is not touching PIN_B at all. You're using A as Clock and C as Data, as I do. But your not latching any data. What is B connected to in your setup? Do you know what Chip is used for the row mux shift register?
If the chip actually has no latch connected to B this could explain some issues with the wiring in #117 where we tested a shared SPI bus between the column and row registers...

I've edited my code since you are possibly right, B is not a latch... I've also added optimization which should reduce the time to select the mux to 1/16 in your case.
https://github.com/xsrf/PxMatrix/blob/384ba4acd98fda61501852f68c79ac2ba139da6b/PxMatrix.h#L1011

can you help me
my panel 16x16 rgb
letters that appear upside down

my panel 16x16 rgb
letters that appear upside down

Why are you posting this here? Do you have a panel with shift-register on ABC?
If not, please open a regular issue.
Also, try SPI.setBitOrder(LSBFIRST) (or MSBFIRST) after display.begin()

I don't know whether the type of register is ABC, so I try to ask ...

Use setFlip(true) and turn upside down?

again, please open another Issue if you have problems. This is the wrong place.
Also have you tried SPI with LSBFIRST? I'm not sure what SUBUH is, but when I flip every Byte it looks reasonable to me.

@themultiplexer your panel should now be supported by the recent master which includes code for it if you select SHIFTREG_ABC as mux pattern. Does it work?

@xsrf Awesome work! It works flawlessly.
Even with display ticker 0.004 👌

again, please open another Issue if you have problems. This is the wrong place.
Also have you tried SPI with LSBFIRST? I'm not sure what SUBUH is, but when I flip every Byte it looks reasonable to me.

sorry if I enter this forum .. I hope there is an answer that I get ... if you may know how you reverse per byte .. that's correct .. the dawn writing ...

authors: 2dom SMEKH themultiplexer xsrf


text:
(3/5) Configure the gcpFilestoreBackups helm chart to use chartpress

Context
chartpress is a useful tool for automatically building and publishing helm charts for use downstream. Let's setup chartpress for the gcpFilestoreBackups project so that our downstream 2i2c infrastructure can make use of it.
Definition of Done

[ ] chartpress automatically builds and publishes the gcpFilestoreBackups helm chart for downstream use

Need to figure out how/where to publish the helm chart to.
Firstly I tried copying jupyterhub's gh-pages approach, but formatting the website felt like too much effort.
So then I moved onto trying to use GHCR like Tarashish has, but receiving Error: invalid_reference: invalid repository errors.

@sgibson91 https://github.com/2i2c-org/unnamed-thingity-thing should be a simpler working example than jupyterhubn for the gh-pages approach, also the binderhub-service repo and crypronono

Website doesn't actually load the versions, but I'm going to leave it as is and get on with other things now.
https://2i2c.org/gcp-filestore-backups/


text:
Switch default branch in this repo to main

Fixes #3581

For reference, https://github.com/jupyterhub/team-compass/issues/412 includes detailed steps on doing this kind of procedure.
Action points

[x] PR approved
[x] Erik renames master to main via project settings
[x] Erik updates readthedocs, sets main as the default branch explicitly: admin -> advanced -> default branch
[x] Erik merges PR
[x] Erik verifies various github workflows work still

Things seem to work still, a deploy hubs workflow and misc validat workflows for example worked out fine.

Thanks for the quick review @GeorgianaElena!


text:
WIP: [NeuroHackademy] Adds an R profile.

Is this correct? I was not sure how to adjust the image just for one image, but I reasoned that maybe this is the way to over-ride the global setting?

Changed to WIP, because I will need to change the tag once I have the image correctly configured. I am still experimenting with that.

Removed the WIP designation, because I have now tested this and this image/tag should work fine for our purposes.

I think it should work too - try it after this lands, we can tweak it monday if needed

Doesn't look like it works. I get a new profile, but it uses the same image as the regular CPU instance.

authors: arokem yuvipanda


text:
Update OHW Python image and user groups

First update to OceanHackWeek's Python image for 2024 (we're trying pixi!). Additionally updating our user groups and adding Christian as an admin.
xref #4469

ty @abkfenris!

authors: abkfenris yuvipanda


text:
🛑 MS - HELP is down

In 61d244c, MS - HELP ($MS_HELP_URL) was down:

HTTP code: 503
Response time: 215 ms

Resolved: MS - HELP is back up in 01085a2 after 57 minutes.


text:
🛑 MS - WALLET is down

In f6961d2, MS - WALLET ($MS_WALLET_URL) was down:

HTTP code: 503
Response time: 230 ms

Resolved: MS - WALLET is back up in ee9ce73 after 8 minutes.


text:
🛑 MS - WORKER-PAYMENTS-JUDGE is down

In 03996ff, MS - WORKER-PAYMENTS-JUDGE ($MS_WORKER_PAYMENTS_JUDGE_URL) was down:

HTTP code: 404
Response time: 232 ms

Resolved: MS - WORKER-PAYMENTS-JUDGE is back up in bb2245f after 8 minutes.


text:
Fix python link in Windows.md

Extra space breaking things

Youch! Thank you.

authors: Daft-Freak Gadgetoid


text:
🛑 Dendrite Matrix is down

In cbb6b35, Dendrite Matrix (https://matrix.frai.se/_matrix/static/) was down:

HTTP code: 502
Response time: 800 ms

Resolved: Dendrite Matrix is back up in f347b64 after 10 minutes.


text:
Add support for typestyles like "oblique" or "monospace"

Currently default hardcoded typeface is "Arial", but this font is not
available by default everywhere. This commit allows using typestyles
like "monospace" instead of concrete typefamily, thus using system
defaults.

I've only tested this on Linux.

Hi,
Thanks for the PR. I confirm it works with OSX as well. I really like the idea and think we definitely should have this.
But I have a few more notes on that. As you may realized that, we actually use the Font::name which is the font-family name when we generate SVG images.
However, the SVG spec doesn't support "oblique", "italic", "bold" in font-family field.
Generally speaking, I think monospace seems a good description of font name, which refers the default monospace. And otherwise, it seems we could have a default font setting.
For bold, italic and oblique, all those seems to be a variant of the same font. Thus I think it's better to make another API that allows user choose different variants.
So to conclude my thoughts, I think it's a good idea in general. And could we only support "default" and "monospace". For other options, I think I should create another task to design a better  API for them.
Thanks again!
Hao

I see, that's cool.
You mean for the SVG, we can always put the actual font family name to the attribute? But for SVG it seems nice to have some generic font family name. So should it is compatible with SVG and CSS, thus our SVG backend can produce valid output.

For some reason I used oblique without actually understanding what it means...
I've added a new type FontFamily which should make a bit more sense then previous approach.
Tomorrow I'll take a look at the changes I've made again, as it seems I'm too tired to think properly ;)


text:
Add empty album checking

Handle no album situation for new account, fixes #117

Thanks for your PR 🎉
I'll merge.


text:
Code review: overview

It would be great to have some level of code review for this project.
The first step would be to provide a general overview:

is the general strategy sound?
could any of the tasks be simplified / removed?
are we happy with the existing frameworks (eg Flask, Luigi, SQLAlchemy)

For info: @sreenathnair has suggested a couple of changes in the development branch.

Flask -> FastAPI
PostgreSQL -> MongoDB

This work has been completed (before and during BioHackathon2021).
Overview:

Flask -> FastAPI (API only, lose local web pages)
PostgreSQL -> MongoDB (easier to work with JSON documents)
Luigi -> Snakemake (simpler to work with)
Quality score -> drop for the moment (TODO)

Git flow:

old default branch master archived to master-deprecated
new default branch is main
all changes get merged to development
changes can be merged from development to main at any point


text:
Non-Western fonts cannot align Western fonts and formulas

As the picture showed, Non-Western(Chinese, Japanese, for example) fonts cannot align Western fonts and formulas.

Here is the code:
from manimlib import *
class Example(Scene):
    def construct(self):
        self.play(
            Write(
                MTexText("勾股定理 Pythagorean theorem のぬ $a^2+b^2=c^2$")
            )
        )

I reinstall textlive-fontsextra solve this problem

I reinstall textlive-fontsextra solve this problem
Im sorry but could you please tell me more details? Thanks a lot.

authors: TXFK sundebug


text:
Demos in README.md run v1.8.0

The demos in the readme run on v1.8.0. Should we update this?

I've updated the demos to the latest version of the web client. All the demos in the README file should work now. However, as @thomashkolbe said, these demos are somewhat old (that still use the deprecated Google Fusion tables) and should be later replaced with newer ones.

authors: BWibo Son-HNguyen


text:
2 different checkpoints for GCN

Thank you for sharing your work. I have one question:

There are 2 checkpoints for GCN, model_gcn and model_gcnwild. What is the difference between the two? I notice that model_gcn is used for H36M evaluation and model_gcnwild is used for MuPoTs. Is it because H36M and MuPoTs have different keypoints definition?

Thanks for your interest in our work.
The major reason there are two checkpoints for GCN (model_gcn and model_gcnwild) is that model_gcn is trained on H36M training set only, and model_gcnwild is trained on training+testing sets of H36M. A second reason is that model_gcn used unnormalized skeleton and model_gcnwild used normalized skeleton because the normalized skeleton setting is more suitable for wild videos and the unnormalized skeleton works better on H36M dataset.

Thanks for the prompt reply. By normalization, do you mean scaling the average joint-to-pelvis distance to 1?


text:
本系統不支援facebook, link等app內部瀏覽，請用一般瀏覽器開啟，方可登入，謝謝

"link"是否是指 line?

對, 應該改成line, 歡迎直接修詞

authors: bestian leechiuhui


text:
Odd safari UA not supported

The user agent string Safari/12602.4.8 CFNetwork/807.2.14 Darwin/16.4.0 (x86_64) seems to not be recognized as a valid browser.
This has also been reported in another detection library: https://github.com/bestiejs/platform.js/issues/124

Cfnetwork isnt a browser; https://developer.apple.com/library/content/documentation/Networking/Conceptual/CFNetwork/Introduction/Introduction.html
On Apr 13, 2017, 3:25 PM -0700, thashimalayaratnam notifications@github.com, wrote:

The user agent string Safari/12602.4.8 CFNetwork/807.2.14 Darwin/16.4.0 (x86_64) seems to not be recognized as a valid browser.
This has also been reported in another detection library: bestiejs/platform.js#124 (https://github.com/bestiejs/platform.js/issues/124)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/3rd-Eden/useragent/issues/104), or mute the thread (https://github.com/notifications/unsubscribe-auth/AABtp6Wqv9JxUOWVV5KxHyV4zOFKZgC5ks5rvqDkgaJpZM4M9Rd8).

Ah okay, thanks.


text:
ejs crash on latest code

I have tried to upgrade exchange software ShorelineCrypto to latest code base here with no success so far. It appears now that that main cause is the "ejs" module that crashed on opentrade, from old or new code base. The error was very non-informative like "Something broke!" on web browser.  This same error persist no mater what I used, new code base latest on opentrade, or older version without coupon feature.  Even restore git commit to a working version in Nov still get same error same crash.  Nodejs 6.0.0 to 8.10 to 12.6, Ubuntu 16.4 or Ubuntu 18.4 all tried,  Same crash same error.
Now I recalled that that right before the big crash 2 days ago, I had many commit versions of a working exchange. This crash came after I did "npm install ejs" for testing around.  The fresh droplet of Ubuntu 18.4 on kzv's latest code base master branch,followed exactly steps on OpenTrade README first page,  just modify some IP, recaptcha parameter, and coin password,  the latest opentrade master branch runs with below error on web.  This point to "ejs" module is really the culprit that causes trouble:
SyntaxError: Unexpected token . in /root/opentrade/server/views/pages/index.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
   at new Function (<anonymous>)
   at Template.compile (/root/opentrade/node_modules/ejs/lib/ejs.js:626:12)
   at Object.compile (/root/opentrade/node_modules/ejs/lib/ejs.js:366:16)
   at handleCache (/root/opentrade/node_modules/ejs/lib/ejs.js:215:18)
   at tryHandleCache (/root/opentrade/node_modules/ejs/lib/ejs.js:254:16)
   at View.exports.renderFile [as engine] (/root/opentrade/node_modules/ejs/lib/ejs.js:459:10)
   at View.render (/root/opentrade/node_modules/express/lib/view.js:135:8)
   at tryRender (/root/opentrade/node_modules/express/lib/application.js:640:10)
   at Function.render (/root/opentrade/node_modules/express/lib/application.js:592:3)
   at ServerResponse.render (/root/opentrade/node_modules/express/lib/response.js:1012:7)

After  below command in opentrade folder, the opentrade web page comes up:
npm unstall ejs
npm install ejs-lint

It seems the latest version ejs bug. Please check new commit OpenTrade. Should be fixed now


text:
:zap: 衝突判定用の関数とそのテストを作成

タスクやディスカッションのリンク

#150

やったこと

ボールやパドルの位置・速度ベクトルの持ち方を自作の構造体から、numpyの配列に変更
以前作成したMatchHandlerクラス内のボールとパドルや壁の衝突判定をする関数が、ボールのスピードを上げたときにすり抜けを起こしてしまうものになっていたので、新しく線分交差アルゴリズムなどを使用して衝突を判定する関数を作成。
その関数のテストを作成

やらないこと

作成した関数のゲームへの適用はまた別のPRで行います。
ボールの1フレーム後の位置を導出する関数の作成は次のPRで行います。

動作確認

作成したテストを実行

特にレビューをお願いしたい箇所

テストのバリエーションが十分か

test_geometry_utils.pyの方はさらっと確認程度で大丈夫ですので、どちらかというとtest_intersect.pyの方のボールとペダルや壁の衝突のケースがほかに考えられたら教えてほしいです。（ある程度のバリエーションはそろってるはずですが見落としがあるかもなので）

新規作成した関数の置き場所（ほかのモジュールかクラスの静的メソッドか）が適切か
関数自体はテストケースが十分かつそれが通っていれば大丈夫なので、さらっと確認程度でいいと思います。関数のコードがわかりづらいところとかあれば言及していただければと思います。

その他

特になし

参考リンク

ベクトルの外積を利用した線分交差判定
pythonでの内積外積計算
https://zenn.dev/ryutorion/articles/game-math-vector

Summary by CodeRabbit

新機能

ジオメトリ計算のためのユーティリティ関数を追加
ボールとパドル、壁の衝突検出ロジックを改善

依存関係の更新

NumPyパッケージを追加
複数のパッケージのバージョンを更新

テスト

衝突検出のための新しいテストスイートを追加

リファクタリング

データ構造をNumPy配列に変更
ステージ列挙型を更新

@ayase-mstk
すみません、PR の量が多いと merge までに時間がかかるので、できれば分けていただけると非常に助かります…！
例えばですが、geometry_utils 関連と衝突判定関連は分けられたりしないでしょうか？
numpy もあまり触れたことがないので、さらっと確認というのも普通に時間がかかりそうです…
PR 作成していただいた後で本当にすみませんなのですが、検討していただけると🙏

@ayase-mstk
すみません、PR の量が多いと merge までに時間がかかるので、できれば分けていただけると非常に助かります…！
例えばですが、geometry_utils 関連と衝突判定関連は分けられたりしないでしょうか？
numpy もあまり触れたことがないので、さらっと確認というのも普通に時間がかかりそうです…
PR 作成していただいた後で本当にすみませんなのですが、検討していただけると🙏

@habvi @weijuan82113 @s1-haya
失礼いたしました、、、！！🙇♂
おっしゃる通り量が多すぎたかもしれません！
では先にgeometry_utilsから見ていただこうと思います！
branchを分けますので少々お待ちください！！

@habvi @s1-haya @weijuan82113
新規で2つのPRを作成しそこに分割しようと思うので、こちらのPRはCloseさせていただきます！
作成したらそちらでまたレビュー連絡をさせていただきます。

authors: ayase-mstk habvi


text:
Add thrown items to trash can's inventory instead of deleting them

Instead of simply deleting the items when thrown in, it would be nice if they were simply added to the trash can's inventory.

Added in latest commi


text:
Can't add thumbnailer along with syncfusion_flutter_pdfviewer,font_awesome_flutter in dart 3.0.0

I am trying to add thumbnailer: ^2.2.0 in my project where I used font_awesome_flutter: ^10.4.0 and syncfusion_flutter_pdfviewer: ^21.2.3 which doesn't allow me to add thumbnailer.Below was the failed message that I got 👍
Because thumbnailer >=2.1.0 depends on pdfx ^2.3.0 which depends on device_info_plus ^4.0.0, thumbnailer >=2.1.0 requires device_info_plus ^4.0.0. And because syncfusion_flutter_pdfviewer >=21.1.35 depends on device_info_plus ^8.1.0, thumbnailer >=2.1.0 is incompatible with syncfusion_flutter_pdfviewer >=21.1.35. So, because ourec_school depends on both syncfusion_flutter_pdfviewer ^21.2.3 and thumbnailer ^2.2.0, version solving failed.
Earlier I got the same kind of incompatibility for thumbnailer with font_awesome_flutter.

Looks like we need to bump dependency versions.


text:
rt: introduction of the minimal replacement runtime

Updates #102.
Changes:

cmd/dist will build code under the rt directory for the runtime package
rt/unimpl.go contains (nearly) all the unimplemented builtin functions needed by the compiler
rt/types.go and rt/vars.go: necessary types and vars for runtime, mostly from runtime/runtime2.go
rt/sys_linux_arm64.s: verbatim copy of runtime/sys_linux_arm64.s
rt/asm_arm64.s: nearly verbatim copy of runtime/asm_arm64.s, except that rt0_go will call main.init and main.main after basic essential setups
other files in rt are mostly derived from respective files in runtime, simplified

Current status:
empty.go and test/helloworld.go can run. We can now run simple single goroutine programs to test various parts of the backend now.
Next steps:
implement string and map, memory allocation, interface handling, defer/panic/recover.
add backtrace code and debug signal handling.

Thanks!
I did a non-ff merge to have an easy reference point.


text:
Wrongly added

The site zverokruh seems legit, I suppose they just sell food for animal.

I bet there are more legit sites on the list as it was firstly derived by a merge with the most reknown anti-porn hosts. I hope that with a community effort we can remove those legit sites and increase the bad ones. Thanks

I bet there are more legit sites on the list as it was firstly derived by a merge with the most reknown anti-porn hosts. I hope that with a community effort we can remove those legit sites and increase the bad ones. Thanks

The zverokruh site is removed in #36

The zverokruh site is removed in #36


text:
EXCEPTION: Uncaught (in promise): Error: Error in :0:0 caused by: [mobx] Invariant failed: no observable property 'someProperty' found on the observable object 'DomainStore@1'

In my ngOnInit, I am calling observe(this.store, "currentGreeting") to react to the greeting value changing in my store.  However, I am getting this error:
Error: Uncaught (in promise): Error: Error in :0:0 caused by: [mobx] Invariant failed: no observable property 'currentGreeting' found on the observable object 'DomainStore@1'
    at resolvePromise (polyfills.dll.js:18122)
    at polyfills.dll.js:18099
    at ZoneDelegate.invoke (polyfills.dll.js:17896)
    at Object.onInvoke (vendor.dll.js:26246)
    at ZoneDelegate.invoke (polyfills.dll.js:17895)
    at Zone.run (polyfills.dll.js:17789)
    at polyfills.dll.js:18155
    at ZoneDelegate.invokeTask (polyfills.dll.js:17929)
    at Object.onInvokeTask (vendor.dll.js:26237)
    at ZoneDelegate.invokeTask (polyfills.dll.js:17928)

Unhandled Promise rejection: Error in :0:0 caused by: [mobx] Invariant failed: no observable property 'currentGreeting' found on the observable object 'DomainStore@1' ; Zone: angular ; Task: Promise.then ; Value: ViewWrappedError {_nativeError: Error: Error in :0:0 caused by: [mobx] Invariant failed: no observable property 'currentGreeting' f…, originalError: Error: [mobx] Invariant failed: no observable property 'currentGreeting' found on the observable ob…, context: DebugContext} Error: [mobx] Invariant failed: no observable property 'currentGreeting' found on the observable object 'DomainStore@1'
    at invariant (eval at ./node_modules/mobx/lib/mobx.js (http://localhost/js/bundle.js:718:1), <anonymous>:2577:15)
    at getAtom (eval at ./node_modules/mobx/lib/mobx.js (http://localhost/js/bundle.js:718:1), <anonymous>:2407:13)
    at getAdministration (eval at ./node_modules/mobx/lib/mobx.js (http://localhost/js/bundle.js:718:1), <anonymous>:2424:34)
    at observeObservableProperty (eval at ./node_modules/mobx/lib/mobx.js (http://localhost/js/bundle.js:718:1), <anonymous>:498:12)
    at Object.observe (eval at ./node_modules/mobx/lib/mobx.js (http://localhost/js/bundle.js:718:1), <anonymous>:478:16)
    at EventComponent.ngOnInit (eval at ./src/components/event.component.ts (http://localhost/js/bundle.js:838:1), <anonymous>:32:16)
    at Wrapper_EventComponent.ngDoCheck (/AppModule/EventComponent/wrapper.ngfactory.js:22:53)
    at CompiledTemplate.proxyViewClass.View_EventComponent_Host0.detectChangesInternal (/AppModule/EventComponent/host.ngfactory.js:28:32)
    at CompiledTemplate.proxyViewClass.AppView.detectChanges (http://localhost/js/vendor.dll.js:51989:14)
    at CompiledTemplate.proxyViewClass.DebugAppView.detectChanges (http://localhost/js/vendor.dll.js:52082:44)
consoleError @ polyfills.dll.js:18048
_loop_1 @ polyfills.dll.js:18075
drainMicroTaskQueue @ polyfills.dll.js:18079
ZoneTask.invoke @ polyfills.dll.js:18001
polyfills.dll.js:18050 Error: Uncaught (in promise): Error: Error in :0:0 caused by: [mobx] Invariant failed: no observable property 'currentGreeting' found on the observable object 'DomainStore@1'
    at resolvePromise (polyfills.dll.js:18122)
    at polyfills.dll.js:18099
    at ZoneDelegate.invoke (polyfills.dll.js:17896)
    at Object.onInvoke (vendor.dll.js:26246)
    at ZoneDelegate.invoke (polyfills.dll.js:17895)
    at Zone.run (polyfills.dll.js:17789)
    at polyfills.dll.js:18155
    at ZoneDelegate.invokeTask (polyfills.dll.js:17929)
    at Object.onInvokeTask (vendor.dll.js:26237)
    at ZoneDelegate.invokeTask (polyfills.dll.js:17928)

Here is my DomainStore:
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
import 'shared/rxjs-small';
import { Observable } from 'rxjs/Observable';
import { observable, computed, action, autorun } from 'mobx';

import { plainToClass, Type } from "class-transformer";
import { UserModel } from 'models';
import { ApiService } from 'services';

@Injectable()
export class DomainStore {
      version = '<{version}>';

      @Type(() => UserModel)
      @observable users: UserModel[] = [];

      @observable currentUserId: number;
      @observable currentGreeting;

      @observable initialLoadComplete;
      @observable refresh = { events: false, config: false };

      constructor(private apiService: ApiService, private router: Router) {
            autorun("getUsers", () => {
                  let self = this;

                  if (self.refresh.events || self.users.length === 0) {
                        return self.apiService.get("users")
                              .subscribe(tables => {
                                    self.users = tables.users;
                              });
                  };
            });
      }

      @computed get isLoggedIn() {
            return this.currentUser && this.currentUser.token && this.currentUser.token.length > 0;
      }

      @computed get currentUser() {
            return this.users.find(u => u.id === this.currentUserId);
      }
}

Here is my WelcomeComponent that calls observe from ngOnInit:
import { Component, OnInit, ChangeDetectionStrategy, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { Router, ActivatedRoute, Params } from '@angular/router';
import { observe } from 'mobx';

import { DomainStore } from 'stores';
import 'shared/rxjs-small';
declare var $: any;

@Component({
      selector: 'welcome',
      templateUrl: 'welcome.html',
      changeDetection: ChangeDetectionStrategy.OnPush
})
export class WelcomeComponent implements OnInit {
      constructor(private router: Router, private route: ActivatedRoute, public store: DomainStore) { }

      ngOnInit() {
            let self = this;

            this.route.params.subscribe((params: any) => {
                  this.store.changeCurrentEvent(params["site"]);
                  if (!this.store.currentEvent) {
                        this.router.navigate(["home"]);
                  }
            });

                        observe(this.store, "currentGreeting", change => {
                              if (change.newValue) {
                                    alert("Your greeting has changed.");
                                    $("#myModal").modal("hide");
                              }
                        });
      }
}

I have all of my components wrapped in
...
 and they all have changeDetection: ChangeDetectionStrategy.OnPush set.  I'm not sure why it is not detecting that the property is decorated with @observable.  Am I missing a step?

Hey,
I made some changes in 1.2.0 (specifically made mobx a peer dependency).
Can you update and see if the error repeats?
Thanks

I updated ng2-mobx to 1.2.0, and i installed mobx 3.0.2.  I now get this error:
EXCEPTION: Error in ./AppComponent class AppComponent - inline template:66:13 caused by: Cannot read property 'transform' of undefined

at View_AppComponent1.createInternal (component.ngfactory.js:310)
    at View_AppComponent1.AppView.create (vendor.dll.js:51784)
    at View_AppComponent1.DebugAppView.create (vendor.dll.js:52040)
    at TemplateRef_.createEmbeddedView (vendor.dll.js:37450)
    at ViewContainerRef_.createEmbeddedView (vendor.dll.js:37574)
    at new MobxAutorunDirective (eval at ./node_modules/ng2-mobx/dist/directives/mobx-autorun.directive.js (bundle.js:734), <anonymous>:20:40)
    at new Wrapper_MobxAutorunDirective (wrapper.ngfactory.js:7)
    at CompiledTemplate.proxyViewClass.View_AppComponent0.createInternal (component.ngfactory.js:21)
    at CompiledTemplate.proxyViewClass.AppView.create (vendor.dll.js:51784)
    at CompiledTemplate.proxyViewClass.DebugAppView.create (vendor.dll.js:52040)
    at CompiledTemplate.proxyViewClass.View_AppComponent_Host0.createInternal (host.ngfactory.js:16)
    at CompiledTemplate.proxyViewClass.AppView.createHostView (vendor.dll.js:51791)
    at CompiledTemplate.proxyViewClass.DebugAppView.createHostView (vendor.dll.js:52051)
    at ComponentFactory.create (vendor.dll.js:25638)
    at ApplicationRef_.bootstrap (vendor.dll.js:24063)

In the meantime, I've converted this whole app to mobx, and was wondering if there were any other mobx mechanisms I could use to trigger code when a mobx observable changes besides "observe" which isn't currently working?

Hey,
which Angular version are you using?
Can you share your code?
On Tue, Jan 24, 2017 at 5:33 AM, John Hamm notifications@github.com wrote:

I updated ng2-mobx to 1.2.0, and i installed mobx 3.0.2. I now get this
error:
EXCEPTION: Error in ./AppComponent class AppComponent - inline template:66:13 caused by: Cannot read property 'transform' of undefined
at View_AppComponent1.createInternal (component.ngfactory.js:310)
at View_AppComponent1.AppView.create (vendor.dll.js:51784)
at View_AppComponent1.DebugAppView.create (vendor.dll.js:52040)
at TemplateRef_.createEmbeddedView (vendor.dll.js:37450)
at ViewContainerRef_.createEmbeddedView (vendor.dll.js:37574)
at new MobxAutorunDirective (eval at ./node_modules/ng2-mobx/dist/directives/mobx-autorun.directive.js (bundle.js:734), :20:40)
at new Wrapper_MobxAutorunDirective (wrapper.ngfactory.js:7)
at CompiledTemplate.proxyViewClass.View_AppComponent0.createInternal (component.ngfactory.js:21)
at CompiledTemplate.proxyViewClass.AppView.create (vendor.dll.js:51784)
at CompiledTemplate.proxyViewClass.DebugAppView.create (vendor.dll.js:52040)
at CompiledTemplate.proxyViewClass.View_AppComponent_Host0.createInternal (host.ngfactory.js:16)
at CompiledTemplate.proxyViewClass.AppView.createHostView (vendor.dll.js:51791)
at CompiledTemplate.proxyViewClass.DebugAppView.createHostView (vendor.dll.js:52051)
at ComponentFactory.create (vendor.dll.js:25638)
at ApplicationRef_.bootstrap (vendor.dll.js:24063)
In the meantime, I've converted this whole app to mobx, and was wondering
if there were any other mobx mechanisms I could use to trigger code when a
mobx observable changes besides "observe" which isn't currently working?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/500tech/ng2-mobx/issues/8#issuecomment-274692302, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACUsQ0kNxtx-t6OcY28KYpMcEqNlu-5-ks5rVXEYgaJpZM4LmFUy
.

--
Adam Klein
CTO & Co-Founder
Tel. +972-52-747-5633
blog.500tech.com http://blog.500tech.com
meetup.com/angularjs-il

Now I see your original error has nothing to do with ng2-mobx - you are using mobx' observe method directly. You can also use autorun and reaction instead of observe.
And don't forget to dispose of the observers in the ngOnDestroy hook.
As for the error you are getting in ng2-mobx 1.2.2 - what Angular version are you using?

BTW, you can use reaction instead of observe:
this.dispose = reaction(() => this.store.currentGreeting, (greeting) => {
  alert("Your greeting has changed.");
  $("#myModal").modal("hide");
});

// don't forget to dispose the listener:
ngOnDestroy() {
  this.dispose();
}

Hey, updated version 1.2.3 to include AoT metadata, can you recheck the error you got?
Thanks

Closing this, if the problem persists please reopen. Thanks

authors: 500tech-user adamkleingit johnhamm