Can't Chromecast

OS:
Antergos (Arch) Linux
Issue Description:
Unless I'm just blind, I don't see any option to Chromecast, despite the latest version (3.3.0, which I have double checked to ensure I have) stating it now supports it. I've checked to ensure my Chromecasts are visible on my network, which they are, and I can cast to them just fine from my phone and from Chrome on the same computer. Not sure if this is a bug, I'm doing something wrong, or if this is only an issue I'm having.

What operating system and do you have bonjour or avahi installed?
On Jul 3, 2016 7:32 PM, "CyanJDroid"<EMAIL_ADDRESS>wrote:

OS:
Antergos (Arch) Linux
Issue Description:
Unless I'm just blind, I don't see any option to Chromecast, despite the
latest version (3.3.0, which I have double checked to ensure I have)
stating it now supports it. I've checked to ensure my Chromecasts are
visible on my network, which they are, and I can cast to them just fine
from my phone and from Chrome on the same computer. Not sure if this is a
bug, I'm doing something wrong, or if this is only an issue I'm having.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1265,
or mute the thread
https://github.com/notifications/unsubscribe/AAucnY_C_uCOH0sEVHpojGE-iEA464JOks5qSEalgaJpZM4JD-MF
.

What operating system and do you have bonjour or avahi installed?
On Jul 3, 2016 7:32 PM, "CyanJDroid"<EMAIL_ADDRESS>wrote:
OS:
Antergos (Arch) Linux
Issue Description:
Unless I'm just blind, I don't see any option to Chromecast, despite the
latest version (3.3.0, which I have double checked to ensure I have)
stating it now supports it. I've checked to ensure my Chromecasts are
visible on my network, which they are, and I can cast to them just fine
from my phone and from Chrome on the same computer. Not sure if this is a
bug, I'm doing something wrong, or if this is only an issue I'm having.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1265,
or mute the thread
https://github.com/notifications/unsubscribe/AAucnY_C_uCOH0sEVHpojGE-iEA464JOks5qSEalgaJpZM4JD-MF
.

Antergos (Arch) Linux, and yes Avahi is installed on my system.

In theory it should be working, are you using a chrome cast or a cast
compatible device?
On Jul 3, 2016 7:47 PM, "CyanJDroid"<EMAIL_ADDRESS>wrote:

Antergos (Arch) Linux, and yes Avahi is installed on my system.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1265#issuecomment-230182702,
or mute the thread
https://github.com/notifications/unsubscribe/AAucnRccW-SDpopcgJOOfjfJLugjt5Kwks5qSEn_gaJpZM4JD-MF
.

I have two Chromecasts and one Android TV device on my network, so a mixture of both.

How did you install the update?
On Jul 3, 2016 8:27 PM, "CyanJDroid"<EMAIL_ADDRESS>wrote:

I have two Chromecasts and one Android TV device on my network, so a
mixture of both.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1265#issuecomment-230184433,
or mute the thread
https://github.com/notifications/unsubscribe/AAucnX00nI2sHLTeVIQPQL1S71ixtLmlks5qSFNVgaJpZM4JD-MF
.

Using my system package manager.
I did a fresh install of the app on another computer that's never had it installed on it before (also running Antergos) to see if it'd work there, and it doesn't, so a fresh install doesn't fix it. I also tried it on a Windows machine on my network and while it does work there, it fails to detect the Android TV (which isn't that big of a problem for me, but still seems like something that should work).

That could be just a discovery issue, the old one probably uses cast v1
dial discovery. Which we don't have support but in for. As far as it not
working via package manager... can you try installing from source / dev
environment? It could possibly provide more insight as to what's going on.
On Jul 3, 2016 8:59 PM, "CyanJDroid"<EMAIL_ADDRESS>wrote:

Using my system package manager.
I did a fresh install of the app on another computer that's never had it
installed on it before (also running Antergos) to see if it'd work there,
and it doesn't, so a fresh install doesn't fix it. I also tried it on a
Windows machine on my network and while it does work there, it fails to
detect the Android TV (which isn't that big of a problem for me, but still
seems like something that should work).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1265#issuecomment-230186213,
or mute the thread
https://github.com/notifications/unsubscribe/AAucnViRAYm6OBdpA4dIWIDbJjN1L2aBks5qSFsBgaJpZM4JD-MF
.

Also, you don't have a firewall or anything preventing network discovery
from UDP port 5353? I believe that's where it comes from.
On Jul 3, 2016 9:12 PM, "Jesse Ostrander"<EMAIL_ADDRESS>wrote:

That could be just a discovery issue, the old one probably uses cast v1
dial discovery. Which we don't have support but in for. As far as it not
working via package manager... can you try installing from source / dev
environment? It could possibly provide more insight as to what's going on.
On Jul 3, 2016 8:59 PM, "CyanJDroid"<EMAIL_ADDRESS>wrote:

Using my system package manager.
I did a fresh install of the app on another computer that's never had it
installed on it before (also running Antergos) to see if it'd work there,
and it doesn't, so a fresh install doesn't fix it. I also tried it on a
Windows machine on my network and while it does work there, it fails to
detect the Android TV (which isn't that big of a problem for me, but still
seems like something that should work).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1265#issuecomment-230186213,
or mute the thread
https://github.com/notifications/unsubscribe/AAucnViRAYm6OBdpA4dIWIDbJjN1L2aBks5qSFsBgaJpZM4JD-MF
.

I ensured that my firewall isn't blocking any activity on port 5353, and still nothing. Even tried turning the firewall off all together, but to no avail. Considering I can still cast from Chrome I doubt it's a firewall issue. Followed the directions for installing from source in the tar.gz's readme file, but still no casting. Looking through the terminal output, it's complaining a lot that the app is using "Apple Bonjour compatibility layer of Avahi" and wants the app to "use the native API of Avahi" instead. It also complains that "DNSServiceRegister() is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi".

@CyanJDroid Those avahi warnings are completely normal.  If I had to guess, there is something missing architecturally from your networking stack that is preventing avahi from scanning correctly.  (Just a guess).
Without your specific hardware and driver configuration it is virtually impossible for @jostrander or me to figure out exactly what is going wrong.  I have personally tested Chromecast support on W7, W8, W10, macOS, Ubuntu 14 and Ubuntu 16.
Purely due to hard drive space we can't have VM's for all the OS's under the sun 😆
The final thing I can get you to try is to run the following bash script.
cd ~/
mkdir tmp
cd tmp
touch test.js
npm i mdns
vim test.js

And input the following into test.js
const mdns = require('mdns');

var browser = mdns.createBrowser(mdns.tcp('googlecast'));
browser.on('serviceUp', function(service) {
  console.log("service up: ", service);
});
browser.on('serviceDown', function(service) {
  console.log("service down: ", service);
});
browser.start();

Then run
node test.js

And see if any services pop up 👍

You literally beat me to the bunch by 3 seconds.

@MarshallOfSound This is the output I get from that:
`*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
events.js:160
throw er; // Unhandled 'error' event
^
Error: getaddrinfo -3008
at errnoException (/home/cyanjdroid/tmp/node_modules/mdns/lib/resolver_sequence_tasks.js:199:11)
at getaddrinfo_complete (/home/cyanjdroid/tmp/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
at GetAddrInfoReqWrap.oncomplete (/home/cyanjdroid/tmp/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9)
`
@jostrander This is the output I get from that:
`/home/cyanjdroid/node-mdns-easy/dist/index.js:5
var mdns = new MDns();
^
TypeError: MDns is not a constructor
at Object. (/home/cyanjdroid/node-mdns-easy/dist/index.js:5:12)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.runMain (module.js:575:10)
at run (node.js:348:7)
at startup (node.js:140:9)
at node.js:463:3
`

@CyanJDroid Change @jostrander's code to be new MDns.default()

Now I get this:
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
{ Error: getaddrinfo -3008
    at errnoException (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:199:11)
    at getaddrinfo_complete (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
    at GetAddrInfoReqWrap.oncomplete (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9) code: -3008, errno: -3008, syscall: 'getaddrinfo' }
{ Error: getaddrinfo -3008
    at errnoException (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:199:11)
    at getaddrinfo_complete (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
    at GetAddrInfoReqWrap.oncomplete (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9) code: -3008, errno: -3008, syscall: 'getaddrinfo' }
{ Error: getaddrinfo -3008
    at errnoException (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:199:11)
    at getaddrinfo_complete (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
    at GetAddrInfoReqWrap.oncomplete (/home/cyanjdroid/node-mdns-easy/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9) code: -3008, errno: -3008, syscall: 'getaddrinfo' }

@jostrander I thought our resolver sequence fixed this issue?  It looks familiar?

I may have changed the resolver to only try and use IPv4 addressing...
https://github.com/GPMDP/node-mdns-easy/blob/master/src/browser.js#L17
change families[4] to families[0] and rerun npm run compile and then rerun node dist/index.js. You may have to change the code again to MDns().default() like @MarshallOfSound suggested.
Are you using IPv6 addressing by chance?

Same results, though I will note that each of those errors appears to correspond to a cast device, because only two of my cast devices are online this time and only two of the errors showed up, whereas last time all three of my cast devices were online and three showed up.
I am not using IPv6 addressing.

Ah! I suppose I should have mentioned that all of my Chromecast devices are Chromecast v1! Based on that plus that other issue, it would appear that is our problem!

I am running on Windows with two cast v2 devices and neither of them are picked up.

@Jostrander No I do not

Can you install bonjour and restart GPMDP and see if it resolves your issue?

Ok that fixed it

Sorry for the inconvenience, our fallback library (that doesn't require bonjour) is super flaky.

I'm also experiencing some problems! I can't see the button in the first place.
Although i'm using Sonos speakers. They do show up on a computers and mobile for casting!

Can you install bonjour and restart GPMDP and see if it resolves your issue?

From what i remember i have Bonjour, although i will install it, and see back!

Still isn't showing! Just to check this is Apple's Bonjour!

Can you follow the instructions here
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1292#issuecomment-231511635

Added to that page ^

This issue thread appears to have multiple resolved issues and one unresolved issue probably related to a OS specific network stack so I'm going to close this out

When I'm running the following test script with mdns on Arch Linux:
const mdns = require('mdns');

var sequence = [
  mdns.rst.DNSServiceResolve(),
  mdns.rst.getaddrinfo({ families: [0] }),
  mdns.rst.makeAddressesUnique(),
];
var browser = mdns.createBrowser(mdns.tcp('googlecast'), { resolverSequence: sequence });
browser.on('serviceUp', (service) => { console.log(service) });
browser.start();

I also get error "-3008":
Error: getaddrinfo -3008
    at errnoException (/tmp/tmp.TYjbuG604r/node_modules/mdns/lib/resolver_sequence_tasks.js:200:11)
    at getaddrinfo_complete (/tmp/tmp.TYjbuG604r/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
    at GetAddrInfoReqWrap.oncomplete (/tmp/tmp.TYjbuG604r/node_modules/mdns/lib/resolver_sequence_tasks.js:121:9)

The address that is being resolved is ea317ef7-2c7c-d4ec-d8cf-5c5ca034026c.local..
Any hints about how to continue debugging? I can't even find any reference to error "-3008" from "getaddrinfo".

I'm not 100% sure this is the reason that the Chromecast doesn't show up for me in GPMDP. When I'm starting GPMDP from the command line I don't see any error like the "-3008". Is there a better way to debug this in GPMDP?


fix: memory leaking...?

it was due to console_subscriber
run with ENV="PRODUCTION" and everything should work correctly


[BUG] Quota > Tariff - value cannot be changed

Describe the bug
There's no way to change a tariff value in Primate UI.
To Reproduce
Steps to reproduce the behavior:

Go to 'Quota > Tariff' - no way to change the tariff value.

Expected behavior
There must be a button for changing a tariff's value.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Pro x64
Browser: Chrome
Version: 80.0.3987.132 (Official Build) (64-bit)

Additional context
None

@vladimirpetrov is there a way to change that in the old UI? Sorry I'm not aware.

Consolidated here: https://github.com/apache/cloudstack-primate/issues/295


[SleepLog] screen refresh issues on banglejs 2

Affected hardware version
Bangle 2
Your firmware version
2v18
The bug
Everything updated, the sleep log app mangles the output when switching between days (left / right swipe), see image

expected behaviour: display texts properly, not have junk displayed on the left of the screen, or the "calculating data, please wait" text visible at all times
Installed apps
simple clock
simple pedometer
charging status
thermometer
launcher
message icons
weather
heart rate monitor
alarms widget
daylight saving
scheduler
health tracking
alarms & timers
astrocalc
tea timer
bluetooth widget
compass
notifications (default)
bootloader
batery level widget (vertical)
messages
sleep log
settings
my location
message ui
android integration

I just had this happen to me (Bangle 2, 2v19) after having used Sleep Log for a few months. It occurred immediately after changing the time zone setting (actually, installing Daylight Saving to do it for me). Was fine the previous day, then the next day after the time change, the UI is unreadable just as in the screenshot, apparently permanently. Possible clue?

I've had a skim through the code and noticed a width being used in place of a height, I'm not sure it impacts the exact issue here but I've deployed it if you wouldn't mind giving it a go?
@storm64 how does this look to you?
Out of interest, does the issue appear consistently now, or just temporarily after changing the timezone?

It seems consistent: even after changing the time zone back to its original setting the problem persists. It also persists when viewing past logs, including dates from previous log files before the currently-written one. I'll watch and see if the situation changes once the current log where the time change happened gets rotated out in a few days.
It doesn't appear that #3085 patch improves anything, unfortunately.

Thanks for the update and for trying out the patch even so - in that case the issue will be in the drawing code most likely, just an overlap of two draws. But yes, nice idea, let's confirm if it happens when the rotate-out occurs too

I haven't had time to investigate further, but a quick confirmation that even after a log rotation the symptoms are still present so far. The data still seems intact and reasonable if I view it from the app launcher, but it's still a mystery why the app UI remains confused so persistently.

No worries, thanks for confirming - @storm64 I don't suppose you saw anything like this during development of the app?

I just got my BJ2 up to date with all apps and haven't experienced this bug for now.
Tried to change the timezone manually to trigger the drawing issues, but the app draws as it should.
I might have an idea though: As you change the timezone and a sleeping state change is logged, its timestamp could be before the previous logged timestamp. As I remember the logged timestamps should be correct to UTC, but maybe there is something wrong on this part.
I'll try to have a look into this tomorrow.

Ah interesting, like if there's a shift back in time perhaps?

In my case, the local time did shift back an hour upon DST changes. Does the app use UTC internally? I wonder if it could cause problems if by some chance the internal system date/time got changed in an unexpected (i.e., non-monotonic) manner by some means and an incorrect stamp got appended in the log. It seems that would be hairy indeed to deal with.

The internal timestamps are all based on UTC as a timestamp is calculated from ´Date.now()´.
But I don't prevent non-monotonic system time changes as @ticalc-travis predicted.
For now I'm testing with my second BJ2 what might happen on a back shift in time.

Even though there might be some strange behaviors on a shift back in time the mentioned bug shouldn't be one of it.
I thought, that it looks like the width variable gets reset to 0. The width is set on app start by ´var width = g.getWidth() - 1;´. Just tested it by executing ´width=0´ from the Web IDE while inside the app and the screen output looks like described.

I just pushed a quick try to fix the bug by changing the var name to ´myWidth´.
Please check out version 0.16 on my temporary app loader: https://storm64.github.io/BangleApps/?q=sleeplog

Interesting - I wonder what else might be writing to width
If you want to check, run this after sleeplog's loaded and you might see an error backtrace when something tries to set width:
_width = g.getWidth() - 1;

Object.defineProperty(global, "width", { get: () => _width, set: () => {throw new Error("can't set width")} })

Thanks @bobrippling, nice way to troubleshoot.
Just changed the code again to be a bit more clean: I will recall ´g.getWidth()´ (or getHeight) on each occurrence of width, as it should'n change the runtime noticeable and might even be faster after minification.

I just pushed a quick try to fix the bug by changing the var name to ´myWidth´. Please check out version 0.16 on my temporary app loader: https://storm64.github.io/BangleApps/?q=sleeplog

This update does appear to restore the graph display back to normal. Thanks. :+1:

funnily enough, after I did a "compact storage" a few days ago in an attempt to get rid of an "out of memory" error when attempting to display messages, sleeplog refreshes correctly and it even has colored graphs now o.O
wondering if it's not some sort of corruption that ends up messing with whatever runs eventually, I have no idea what espruino does behind the scenes

Interesting - let's give it a month or so and see if the bug crops up, if not, I reckon we can close this as a hardware/storage caused issue

I'm a bit confused as to why it would have happened myself. But on the subject of corruption, I have noticed something a bit weird with the sleeplog StorageFile from time to time that doesn't quite make sense to me. This could be a totally unrelated issue, though. Essentially, every so often (say, once every couple of weeks or so) I'll notice a brief bit of missing data in the sleeplog graph. If I view the log right after this happens, I'll find something similar to the following:
2837016,4,2
2837017,0,02837023,2,0
2837024,3,0
2837027,2,0
…

Notice the second line, which suspiciously looks like it should be two separate lines, “2837017,0,0” and “2837023,2,0”, but with the line break missing. This seems to confuse the parser. I can't determine what triggers this behavior, but oddly whenever it happens it usually seems to occur somewhere around 7 or 8 AM local time (which corresponds to roughly 12:00 to 13:00 UTC). It doesn't appear that the watch is rebooting or doing anything strange around that time; I have had an app running at the time when this glitch has occurred, and that app had continued functioning undisturbed.
I once looked through the sleeplog code but couldn't seem to find any particular code path that some bug might trigger to cause this to happen. But the code involved seems rather complex, so I could have overlooked a possibility. Or else maybe there's some sort of weird system or hardware bug going on in my case, but so far it seems only sleeplog has been affected, and I've seen this specific type of incident occur on several occasions now.

Nice spot - that might impact the drawing. On a look through, this leading comma looks a little odd, but wouldn't cause the joined lines you're seeing:
https://github.com/espruino/BangleApps/blob/2b8399bb9bd076cae54d675baebf7f89b1eeb8d2/apps/sleeplog/boot.js#L130-L134
Whereas here I notice we're using writeJSON to the log file, whereas it should probably be write - @storm64 do these seem accurate changes to you?
https://github.com/espruino/BangleApps/blob/2b8399bb9bd076cae54d675baebf7f89b1eeb8d2/apps/sleeplog/lib.js#L171-L173


[vim] Run fzf-tmux asynchronously using Vim8/Neovim jobs (#775)

Hi @junegunn,
This is a PR for accompanying issue #775. I've tried to make it the least invasive as possible. Basically it just adds a separate code path s:execute_tmux_async to run fzf-tmux asynchronously if Vim8 jobs or Neovim are available. s:execute_tmux_async is closely modeled after s:execute_tmux and s:execute_term.
Please check the commit message for more details.
Tested on both Linux and Mac using Vim 8.0.0086 and Neovim 0.1.7.

This non-fullscreen renderer looks awesome! :+1: I'll definitely give it a try later.
Anyway, I believe my PR won't harm as long as you keep maintaining tmux support in Vim plugin.

I'll definitely give it a try later.

Please do. It's a non-trivial change and feedbacks are welcome. You can check out devel branch and run the install script to download the alpha binary.

I believe my PR won't harm as long as you keep maintaining tmux support in Vim plugin.

Yeah, --height can only cover down layout. fzf-tmux is still needed for up/left/right options, though they are rarely used in practice. I'm a little concerned that we may have a bit too many ways to start fzf within Vim.

Tried the latest 0.16.1 on Linux/Mac and it works smoothly w/ or w/out tmux. I don't need to run fzf in tmux pane anymore. Thank you for the great job!
Created a minor issue #814. It can be easily fixed by using non-silent mapping but it could be a potential bug.
I think this PR can be closed now.

Glad that you like the new option. Thanks for taking your time into this!


Use pg-native for postgres dialect if available

Fixes #575

Ok, I get the answer. Unfortunately node-pg-query-stream is not going to work with native bindings so closing this.

Can we support native bindings without streaming?

We'll take a PR if someone can find a clean way to detect native bindings and throw with a clear error message when stream is called while they're used. Otherwise, no.


Can not access extension settings

Describe the bug
Installed the extension but can't open it's settings window either by the Extensions app or the extension itself
How To Reproduce

Click on the extension icon in the taskbar
Click on the "Cog" icon to open it's settings
Window with error appears with "Something's gone wrong"

Versions

OS: Zorin OS 16
Kernel: x86_64 Linux 5.13.0-39-generic

GNOME Shell 3.38.4
GCH   Version: 14
org.gnome.shell.extensions.clipboard-history next-entry @as []
org.gnome.shell.extensions.clipboard-history disable-down-arrow true
org.gnome.shell.extensions.clipboard-history history-size 1000
org.gnome.shell.extensions.clipboard-history cache-size 100
org.gnome.shell.extensions.clipboard-history confirm-clear true
org.gnome.shell.extensions.clipboard-history strip-text false
org.gnome.shell.extensions.clipboard-history display-mode 0
org.gnome.shell.extensions.clipboard-history topbar-preview-size 10
org.gnome.shell.extensions.clipboard-history clear-history @as []
org.gnome.shell.extensions.clipboard-history private-mode false
org.gnome.shell.extensions.clipboard-history cache-only-favorites false
org.gnome.shell.extensions.clipboard-history process-primary-selection false
org.gnome.shell.extensions.clipboard-history paste-on-selection true
org.gnome.shell.extensions.clipboard-history notify-on-copy false
org.gnome.shell.extensions.clipboard-history toggle-menu ['<Super><Shift>V']
org.gnome.shell.extensions.clipboard-history move-item-first true
org.gnome.shell.extensions.clipboard-history window-width-percentage 33
org.gnome.shell.extensions.clipboard-history enable-keybindings true
org.gnome.shell.extensions.clipboard-history toggle-private-mode ['<Super><Shift>P']
org.gnome.shell.extensions.clipboard-history prev-entry @as []
Additional context (if a crash, provide stack trace)

The settings of extension<EMAIL_ADDRESS>had an error:
```
Error: Could not guess unspecified GValue type
```

Stack trace:
```
addKeybinding@/home/lucas/.local/share/gnome-shell/extensions/clipboard-history@alexsaveau.dev/prefs.js:368:9
_init@/home/lucas/.local/share/gnome-shell/extensions/clipboard-history@alexsaveau.dev/prefs.js:92:18
buildPrefsWidget@/home/lucas/.local/share/gnome-shell/extensions/clipboard-history@alexsaveau.dev/prefs.js:345:16
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
```

Logs:
abr 14 16:12:36 Desktop gnome-shell[2123]: Window manager warning: Trying to re-add keybinding "clear-history".
abr 14 16:12:36 Desktop gnome-shell[2123]: Window manager warning: Trying to re-add keybinding "prev-entry".
abr 14 16:12:36 Desktop gnome-shell[2123]: Window manager warning: Trying to re-add keybinding "next-entry".
abr 14 16:12:36 Desktop gnome-shell[2123]: Window manager warning: Trying to re-add keybinding "toggle-menu".
abr 14 16:12:46 Desktop gnome-shell[2123]: Window manager warning: Trying to remove non-existent keybinding "clear-history".
abr 14 16:12:46 Desktop gnome-shell[2123]: Window manager warning: Trying to remove non-existent keybinding "prev-entry".
abr 14 16:12:46 Desktop gnome-shell[2123]: Window manager warning: Trying to remove non-existent keybinding "next-entry".
abr 14 16:12:46 Desktop gnome-shell[2123]: Window manager warning: Trying to remove non-existent keybinding "toggle-menu".

Screenshot:

Only Gnome 40 and above is supported: https://github.com/SUPERCILEX/gnome-clipboard-history/blob/master/metadata.json#L7


Mark Traversable internal

I'm not sure if this will mark it stroked in client code.

See https://youtrack.jetbrains.com/issue/WI-45401


modulesManager is not respecting modulesManager when calling modulesManager:load(modulesManager)

By design, when calling modulesManager:load() on the modulesManager itself, getData() should be able to determine whether the module to load is the modulesManager or an unloaded module. To prevent issues with cloned modulesManager, I've hardcoded logic to "fake"-load the currently running modulesManager. However, it seems modulesManager is still getting cloned when loading it into the system. Further investigation is needed.

Reran through the design and fixed some flawed logic. Should be ready for further development + extensive testing


victor still facing this issue

victor still facing this issue
-- Building for: Visual Studio 15 2017
CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/CMakeDetermineSys                                                                                tem.cmake:174 (file):
file failed to open for writing (No such file or directory):
C:/Users/nEW u/Desktop/shogun_stable/shogun/build/CMakeFiles/CMakeOutput.log

Call Stack (most recent call first):
CMakeLists.txt:27 (project)
CMake Error: Could not open file for write in copy operation C:/Users/nEW u/Desk                                                                                top/shogun_stable/shogun/build/CMakeFiles/3.13.4/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/CMakeDetermineSys                                                                                tem.cmake:186 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:27 (project)
CMake Error at CMakeLists.txt:27 (project):
Failed to make directory:
C:/Users/nEW u/Desktop/shogun_stable/shogun/build/CMakeFiles/3.13.4

-- Configuring incomplete, errors occurred!
CMake Error: Cannot open file for write: C:/Users/nEW u/Desktop/shogun_stable/sh                                                                                ogun/build/CMakeCache.txt.tmp
CMake Error: : System Error: No such file or directory
CMake Error: Unable to open cache file for save. C:/Users/nEW u/Desktop/shogun_s                                                                                table/shogun/build/CMakeCache.txt
CMake Error: : System Error: No such file or directory
Originally posted by @jyotirmoy1997 in https://github.com/shogun-toolbox/shogun/issues/4563#issuecomment-472000349

please stop spamming our issue list via opening new issues @jyotirmoy1997 there is the other thread to discuss this (which I believe contained some clear hints on how to solve this problem)


Offer option to use aliased named string with VMA

Our strings all go through an Immutable pool, so don't need to be copied.  Would be nice to have a #define option for this.  It was easy enough to comment out calls to vmaFreeString and vmaCopyString for the names, but formalizing this would be good.

I am sorry, but I don't want to introduce this extra feature in the name of avoiding feature creep. I understand your names are immutable, but I expect most users to build these names dynamically, based on e.g. name of a texture file like "Models\Characters\MyTexture.dds", or formatted from data like "MyRenderTarget 10 3840x2160".
Assiging names to allocations and custom pools is a debugging feature, just like setting object names and labels in VK_EXT_debug_utils. I expect most users, especially game developers, to strip out this functionality in the final build of the application. Thus, its performance and memory usage is not critical.
Are you sure your application will not need dynamically formatted names in the future as it grows?
Did you observe any memory or peformance issue due to VMA making copies of these strings?
Please note that vkSetDebugUtilsObjectNameEXT also doesn't offer an option for using externally-owned strings as names.

No problem, just a suggestion.  We have all mutable string turned into immutable.  You can also alias immutable string if you don't have hotloading.   So with say 5000 uniform buffers all called PerObjectUniforms, we save a lot of allocations.  And with around 20000 unique resources it adds up.  It was easy enough to mod the sources, so no problem if this isn't formalized.

The original reason I was doing this, is that we were hitting UTF8 asserts (see bug about signed char) when doing Json dumps.  But something is turning strings > 32 chars into 38 chars with the last 5 chars garbage.  So I wanted to see if aliasing our immutable strings and avoiding all copies would help.

I found out what was corrupting our strings.  It was #define sprintf _sprintf.   Apparently Microsoft decided that _sprintf shouldn't null terminate on overflow, so it was turning all our strings sprintf-ed to a name[32] into garbage.  Still keeping out code to alias out strings though.  No point in copying them repeatedly, and they're typically repeated strings anyways.


Web host/run full option

Carlos,
Is it, or will it be possible to run from a www site, as with your demo, and have the local server finishing the connection to the IDE in the future?   I know your disclaimer on the online demo makes it pretty clear this is not possible right now.
I am working towards a custom mod that works with some of the hardware I have been using, and am looking for an easy way I can update features and broadcast them to others without having to get everyone to download every time.  If it is generally a bad idea to use this system in that way, please shut me down before I make too much of a mess thinking about it and wasting your time.  Thanks.

It is not possible at the moment, but once we get some of the core block functionality that is currently discussed in the issues and PRs done, then I will be able to continue moving the current implementation to use websockets. This update would also allow an online version of Ardublockly to easily talk with a server running locally with very minor changes on the front end.
As far as Ardublockly priorities go, I've always wanted to be able to provide an easy to use offline version, as it was one of the original requirements when I was first developing this application (workshops run on laptops without internet connection, which is also why all python dependencies are actually included in the repository). However it is true that an easy way to update the application should be provided. I had a quick look at the Electron squirrel updater (https://github.com/electron/electron/blob/master/docs/api/auto-updater.md), but it seems like I would need to maintain 3 different update methods (the server requirements for windows are different than os x, and in parallel I would have to somehow provide packages for linux package managers to fetch new versions), of which I really do not know anything about. So, while I would love to have an autoupdater, it looks like it is not something that will happen any time soon, since other feature will probably be prioritised.
(P.S: Something like https://github.com/jenslind/electron-gh-releases seems like a cool addition to squirrel, but it needs os x signed applications and doesn't solve the linux dilemma. If anybody knows of an easy way to solve multiplatform auto-updates I'd love to hear about it.)

I actually prefer your original goal of a simple offline version for my own use.
However, I am trying to figure out the best way to a) help the even less tech savvy than myself get up and coding quickly and b) easily add functionality such as blocks without the user needing to check for updates.  It is a tough balance between what I actually prefer and see as a stronger developed skillset in the future vs. what I find my target users being more comfortable utilizing.  My target users are mostly younger kids and the parents or teachers that are tasked with getting the kids up and running.
Thanks again, Carlos, to you and the others helping develop your project.

Unfortunately there is no real ETA for the move to websockets, but once that is done, you could host the Ardublockly front en on your website, updating it as necessary, and as long as the users had the server (either using Python, or the self executable packaged version) running on the computer browsing that page, then it should be able to communicate with it.
I've been thinking about a few ways of being able to update blocks and download extra blocks without updating the Ardublockly application (similar to the Arduino IDE library manager I guess), but in all honestly, I don't think I'll have the availability any time soon to implement it, as there are quite a few other things with a higher priority.


Fix analytics issues on the new csi drivers

Send install/ping events from csi controllers or provisioners - which was earlier sent through maya-apiserver.
this needs to be resolved before deprecating maya-apiserver which is currently sending these events.

Fixed by:

https://github.com/openebs/jiva-operator/pull/154
https://github.com/openebs/cstor-csi/pull/164
https://github.com/openebs/zfs-localpv/pull/386
https://github.com/openebs/lvm-localpv/pull/154
https://github.com/openebs/dynamic-localpv-provisioner/pull/108
https://github.com/openebs/dynamic-nfs-provisioner/pull/109


CI

Add CI for

[x] Linting
[x] Builds
[ ] Tests
[ ] Add icon for Readme

Blank API Secrets are proving hard to debug.  Should add something to make it more clear that the data must be >1 char

#9  Initial CI Flow complete


h1-h5, p sensible defaults (suggested initial settings)

Hi,
This isn't an issue, so much as a request/suggestion.
Would love to see some sensible defaults (reasonable initial settings for a new project) for h1-h5 and p for the $typi map, perhaps at your given breakpoints of 600, and 1200. Maybe with vertical rhythm settings for golden ratio on p as well. Just an idea.
Thanks for releasing this great utility!

For instance, http://gakimball.github.io/responsive-modular-scale/ suggests perfect fourth and perfect fifth intervals.

For example, here are some potential default settings. The null values increase at a rate of 1.25 (major third interval), the small values increase at a rate of 1.33 (perfect fourth) and large values increase at a rate of 1.5 (perfect fifth). Line height is golden ratio-ish.
$typi: (
base: (
null: (18px, 1.618),
small: (18px),
large: (18px)
),
h5: (
null: (22.5px, 1.618),
small: (23.9px),
large: (27px)
),
h4: (
null: (28.1px, 1.618),
small: (31.9px),
large: (40.5px)
),
h3: (
null: (35.2px, 1.618),
small: (42.6px),
large: (60.8px)
),
h2: (
null: (43.9px, 1.618),
small: (56.8px),
large: (91.1px)
),
h1: (
null: (54.8px, 1.618),
small: (75.7px),
large: (136.6px)
)
);

This seems to be a little better.
$typi: (
base: (
null: (18px, 1.25),
small: (18px, 1.33),
large: (18px, 1.5)
),
h5: (
null: (22.5px, 1.25),
small: (23.9px, 1.33),
large: (27px, 1.5)
),
h4: (
null: (28.1px, 1.25),
small: (31.9px, 1.33),
large: (40.5px, 1.5)
),
h3: (
null: (35.2px, 1.25),
small: (42.6px, 1.33),
large: (60.8px, 1.5)
),
h2: (
null: (43.9px, 1.25),
small: (56.8px, 1.33),
large: (91.1px, 1.5)
),
h1: (
null: (54.8px, 1.25),
small: (75.7px, 1.33),
large: (136.6px, 1.5)
)
);

Why would suggestions help?

Because they would save time and give users a starting point.
Users have brought this issue up in #1 and #23.

I don't believe in standard starting points for typography, unfortunately. So 🤷♂

Some people do :). Thanks @zellwk


The embeded darcula colorscheme is just wrong

Hi,
I'm the author of a vim color scheme project, that is a faithful reproduction of the original JetBrains IDE's theme -> darcula
My goal is to reproduce as accurately as possible the color scheme and apply it to vim.
Also I created a lightline color scheme that I find much more faithful to the original JetBrains UI (I picked the same colors) that the one already present in your color scheme list. It is bundled with my color scheme plugin and can be used through the lightline configuration ie.
let g:lightline = {
     \ 'colorscheme': 'darcula'
     \ }

The problem is that the name of my color scheme and the one already present ie. "darcula" conflict each other.
Can you please change the name of the existing one ?

Name conflict always give us headache. There are some users of the darcula theme in lightline repository so renaming would cause loading error so I can't easily do that. I would like to respect the author of the theme who give me the pull request at #216 where he says It is also compliant with vim's blueshirts/darcula theme.. It seems that there's already a Vim colorscheme https://github.com/blueshirts/darcula, the lightline theme is based on it and it is you created the name conflict so it's not reasonable for me to change the name of the theme.

Hi,
So I guess it is useless to propose a PR to replace the existing theme by the one I created (as you want to preserve the work of the author of the existing one)?
If yes, too bad.. I'll rename my color scheme.

Yes, I would like to maintain the appearance as possible. I'd like to accept a patch to tweak a few colors to match the original colorscheme but drastic change is difficult.

@doums, how about renaming your colorscheme to darcula2, trueDarcula, darculaOriginal or anything like that? Or maybe, you can contact the author of the other colorscheme and collaborate with him/her to create a better one.


Content copied across from AKS

I am confused by this page. The title says "Securing a custom VNET in Azure Container Apps" but the content has a lot of references to AKS. Is the content on this page (in terms of required Inbound and Outbound riles) relevant for Azure Container Apps?

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

ID: ef81bdd7-f089-0876-d8f0-a1db093edc93
Version Independent ID: e2a853a2-372b-7c08-c76f-1a67345e913b
Content: Securing a custom VNET in Azure Container Apps
Content Source: articles/container-apps/firewall-integration.md
Service: container-apps
GitHub Login: @JennyLawrance
Microsoft Alias: jennylaw

I have no clue what's going on
On Sun, Jul 3, 2022, 10:15 PM pnarsi @.***> wrote:

I am confused by this page. The title says "Securing a custom VNET in
Azure Container Apps" but the content has a lot of references to AKS. Is
the content on this page (in terms of required Inbound and Outbound riles)
relevant for Azure Container Apps?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com
http://docs.microsoft.com ➟ GitHub issue linking.

ID: ef81bdd7-f089-0876-d8f0-a1db093edc93
Version Independent ID: e2a853a2-372b-7c08-c76f-1a67345e913b
Content: Securing a custom VNET in Azure Container Apps
https://docs.microsoft.com/en-us/azure/container-apps/firewall-integration
Content Source: articles/container-apps/firewall-integration.md
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/container-apps/firewall-integration.md
Service: container-apps
GitHub Login: @JennyLawrance https://github.com/JennyLawrance
Microsoft Alias: jennylaw

—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/95223, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ4SJ5R4CLRHCD7GUIKYXEDVSJCMDANCNFSM52RUQ3NQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for your feedback and your contribution to Azure docs.
Feedback for this repository is moving away from GitHub to a system specific to the Microsoft Learn platform. Issues for this repository will soon be disabled, and additional comments from GitHub will no longer be possible. However, we are now tracking and triaging this issue in the new feedback system.
To learn more about our feedback systems, please see Provide feedback for Microsoft Learn content.
#please-close


Add support for 3rd party beneficiaries (collection partnerships)

The Splice protocol should be able to split platform fees with another selected beneficiary.
The style owner's minting share shouldn't be affected: they receive 85% of all fees. The remaining 15% can be further broken down.
Assuming we're partnering with an NFT collection. Upon style minting we're signalling that splice mints of that style are restricted to that collection's hodlers (now known as "collection constraint"). The partner will provide a beneficiary address that receives the split free. Upon a mint, the the beneficiary account receives 50% of the platform share ( = 7.5% )
Assume that even though we're partnering with a collection no one feels like minting. Partnerships are therefore timeboxed: x days after the style mint arbitrary NFT holders will be eligible to mint for their NFTs and the 3rd party beneficiary split becomes obsolete.
It should still be possible to restrict a style to mint only from certain origins, regardless of that origin collection being an active "partner" (because certain styles might be aesthetically related to a certain collection)

Splice enables collections to create new derivatives for their community. In collaboration, we enable a specific collection, the exclusive time-based mint opportunity, of a future Splice drop. After a - to be defined - timespan, the Splice drop is available for all other collections to mint. Furthermore, the collaborating collection can name a beneficiary (i.e. the collection treasury) that receives XX% fees from all mints, bringing more power and opportunities to their community.


Lower minSdkVersion ?

Any particular api call or functionality strictly depending on api level 16 ?
Wondering if it's feasible to lower it to 14 to support more devices.
Thanks
Robert

Choreographer.FrameCallback is api 16+.  Unfortunately that is the basis of the library. What I can recommend is to make a debug/local build that has a higher sdk level than your real build and enable tiny dancer there.


feat: update all models & add the mixin for the dry & remove google drive storage all models!

can be take the code from mixin.py some of repeat codes!
How the import that?
from apps.main.mixin import HttpRequest, HttpResponse, HttpResponseRedirect, RedirectOrResponse, TimeBasedStampModel

#For TypeHint Mixin!
import typing as t
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect

RedirectOrResponse = t.Union[HttpResponseRedirect, HttpResponse]

#For the ORM Mixin!
from django.db import models

# TimeBasedStamp Model Start
class TimeBasedStampModel(models.Model):
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)

    class Meta:
        abstract = True
# TimeBasedStamp Model End

lgtm


arkade e2e URL check tests are failing due to ktop release v0.3.6

E2E URL tests are failing due to ktop. Ktop latest release i.e. v0.3.6 does not have binaries in it.
See vladimirvivien/ktop#46

Looks to be fixed @ https://github.com/vladimirvivien/ktop/releases/tag/v0.3.7
Pattern is as previous and pipelines since v0.3.7 was released have been passing E2E.

/close: resolved @ https://github.com/vladimirvivien/ktop/releases/tag/v0.3.7

Thanks @rgee0


Order the authentications display order by authtype

Description
Order the authentications display order by authtype
Screenshot

Issue
https://github.com/ManageIQ/manageiq/issues/10027

@miq-bot add_label providers/containers, ui, enhancement
@simon3z @enoodle @alongoldboim please review

@yaacov LGTM :+1:

@simon3z @yaacov Should this be backported to Darga?

Should this be backported to Darga?

It is related to https://github.com/ManageIQ/manageiq/pull/9785 which is darga/yes, I will be happy if it was.

@miq-bot add_label darga/yes
@chessbyte yes thanks... it seems trivial enough and quite helpful.

Darga backport details:
commit 7bb8fa933788601064569f3c359d2e63f8ce82fc
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Mon Jul 25 09:36:51 2016 -0400

    Merge pull request #10028 from yaacov/sort-authentications-in-ems-summary-status

    Order the authentications display order by authtype
    (cherry picked from commit<PHONE_NUMBER>ef07903dc98309878331d632954b80)


Add test suite

It would be really good to have a test suite for this library just in case any GHC optimizations break the technique used here.

what should we test

I think we can close this. All the property tests in place provide this guarantee.


setup vpc connector for strr-api

Issue:

bcgov/entity/issues/

Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

as discussed, can add this to strr-pay's vault file as well

done


Choice of Q value in the policy loss of SAC algorithm

Hello,
Why the Q value 1 is chosen in order to calculate the policy loss in the SAC algorithm? Shouldn't it be the min of the two Q values? If not can you briefly explain me why?
In the following file, line 237:

stable_baselines/sac/sac.py

# Take the min of the two Q-Values (Double-Q Learning)
min_qf_pi = tf.minimum(qf1_pi, qf2_pi)

# ...

# Compute the policy loss
# Alternative: policy_kl_loss = tf.reduce_mean(logp_pi - min_qf_pi)
policy_kl_loss = tf.reduce_mean(self.ent_coef * logp_pi - qf1_pi) # min_qf_pi instead of qf1_pi?

Thank you for your help,

Hello,

Why the Q value 1 is chosen in order to calculate the policy loss in the SAC algorithm? Shouldn't it be the min of the two Q values?

I don't see obvious reason to choose one or the other option. This was done to follow the original implementation, even if they seem to have changed that in their new implementation (in fact this was changed in that commit: https://github.com/rail-berkeley/softlearning/commit/c4fc3d71f195208f376cbdd317f77c5d9f501b6f).
This is more a question for @hartikainen and @haarnoja then.
(I would expect no significant change in performance if you change it to the min instead of the first q value, but if you try, I'm interested in your results ;) )

Good question. Based on my tests, there was no difference at all between using the min vs. a single value, and I converged to using the min just to be consistent with the usage of Q in the TD-update.

@hartikainen thanks =) (and also good to know it is not significant)

Yeah, I believe there is no particular reason for that choice -- they all work pretty much equally well.

Thank you all for your answers ! Good to know it is not significant for my own implementation.
Have a nice day :)


Limit zkApp Commands Hardcap

Limit zkApp Commands to n >=0 in case of emergency
(See https://github.com/MinaProtocol/mina/pull/14783)

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

I did one simple test on this locally. I just ran a single bp node and set the limit to 0. I was told the apply_diff method is applied by a bp to itself after the block candidate is produced so when I fired a zkapp transaction at it the block height didn't change.
I will try a more sophisticated set up next.

!approved-for-mainnet

!ci-build-me

I conducted the test as outlined in the RFC (i.e. a network with a seed bp node without this fix and a non-seed/non-bp node with this fix, and checked that the block height never increased for the latter when zkapp transactions started). The test performed as expected.

I tried the more sophisticated test (as outlined in the ReadMe) and it performed as expected. The node with a lower limit refused to accept a block from another node with a higher-limit.

!ci-build-me

@georgeee Thanks for the review. Could you approve when you're happy?

!ci-build-me

@georgeee Do you know if there is an issue with Nix? The pipeline seems to be failing there. Thanks.

!ci-build-me

!ci-build-me

!ci-build-me

@ejMina226 some errors appear on Ci after merge of berkeley, could you take a look?

Hi @georgeee . It's a strange error. It's saying that there's an argument missing to the following function (Zkapp_command.Valid.to_valid) However, I didn't touch this file.

Actually, I've fixed one issue.

!ci-build-me

!approved-for-mainnet

@georgeee @mrmr1993 @deepthiskumar Can this be merged?


[for diff] add fp16 for bert

Don't merge, just for diff

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


Performance benchmarks

We have some micro-benchmarks now, which are useful for evaluating the immediate performance impact of code changes.
Eventually I would like to run them automatically for PRs and as part of CI, and track and publish benchmark results over time so we can see trends. But that's not urgent now.


Client: Simplify REQUEST/SUCCESS/FAILURE store payload creation

A lot of repetitve code could be placed into utility functions.

This was huuuge, but it's done and reaaaly nice!


[Cluster Federation] DNS CNAMEs are not cleaned up after Federation-System ns is deleted

@madhusudancs

Duplicate: https://github.com/kubernetes/kubernetes.github.io/issues/3043


Attach returns system box instead of system

It looks like when using the System.attach method, the returned value is actually the system box containing the system.
system.ts:218
        CHECK: if (!targetSystem) {
          throw new Error(`Attached system ${targetSystemType.name} not defined in this world`);
        }
        (this.system as any)[prop] = targetSystem;
      }

I think it should be targetSystem.system instead.
I have the code (and associated test fixed) on a fork, do you mind me raising a PR?

I have that fix pending and will be cutting a new release very shortly.  :)

Fixed in 0.8.2.

Oh, haha, thanks :D!


safety measure: add epoch to -o if is_live=true OR generic filename

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
For better a better overview and organization of the download folder and also in order to avoid data loss by unwanted overwriting, I would like to create unique filenames by adding the current time (epoch) as a safety measure in those situations where unintentional overwriting could occur:

live streams
untitled downloads where no metadata is available, e.g. chunklist.m3u8 (URL) resulting in generic filenames such as:
playlist\playlist [generic.playlist].mp4.part https://github.com/yt-dlp/yt-dlp/issues/6740#issuecomment-1500724964

Thanks to #6848 I know how to add epoch to -o in case is_live=true. So I can handle the first case.
But how can I detect the second case ?
And how can I add epoch if EITHER one of those cases is true ?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

live streams

The default behavior is to add epoch to livestreams. Your linked issue is already solved!

untitled downloads where no metadata is available, e.g. chunklist.m3u8 (URL) resulting in generic filenames such as:
playlist\playlist [generic.playlist].mp4.part [data loss] METABUG: don't overwrite files #6740 (comment)

But how can I detect the second case ?

What exactly is this second case? It looks like an arbitrary human choice to me of what is considered "generic filename". For the program, that is just the title and id like any other video. It has no way of knowing what names you consider "generic"

Here is a solution i have used in the past:
fragmented downloads from twitch are like this /chunked/0.ts then increment by 1
add option --seg-start 200 loop through fragment list until it finds /chunked/200.ts, start download
even if site does not use generic increment, it should still find the correct fragment it is up to
Another note:
Current downloader without arg --download-sections creates a .ytdl file what contains index:
{"downloader": {"current_fragment": {"index": 2}, "extra_state": {}}}
index can be found from the downloader .m3u8 and logged, not sure why this is not used for all fragmented downloads?

--download-sections use ffmpeg, not native downloader. So we cannot resume or keep fragment count.

is there a way to download without ffmpeg? appending .ts files together works fine but file is bigger and can be processed by ffmpeg after download is completed

No, because we have no way to determine what timestamp corresponds to what fragment. There is also need to deal with initialization fragment (for dash), which would be difficult since yt-dlp doesn't actually know how to distinguish headers from video stream.

ffprobe -i video.mp4 -show_entries format=duration
user start duration + ffprobe duration IF .part exists
could be a solution. seems to work ok


Coherent buffer pointers?

Afaik there is no clarification on how or if its possible to make coherent loads/stores with pointers.
If this is a missing feature i'd like to request some sort of way to be able to load/ store coherently.
Some algorithms require coherent memory.
It would also be great if there could be a way to incorporate the vulkan memory model for this (queuefamily vs globally coherent for example can make a big difference on some gpus).

I think id prefer the coherent to be a modifier to the pointee type.
So a pointer to coherent memory would be like this:
int coherent * ptr = 0ull;

Then its syntactically consistent with const.

I quickly tried adding support of globallycoherent to pointer typed parameters and variables and translate that to Coherent decoration in SPIRV. However it seems that spirv-opt doesn't work nicely with the decorations and will drop them during optimization. The Slang passes doesn't do a good job of preserving them either.
The correct way to implement this is to switch to Vulkan memory model and emit MakePointerAvailableKHR insts instead.

This will be a bigger scoped work so not something we can support in the short term due to other priorities.

Understandable. Thank your for the consideration.

Moving to Q4.

+1, most modern non-trivial compute kernels use decoupled lookback chains involving atomics, which require coherent to ensure workgroups see updates written by other SMs.
Perhaps for the time being we should raise an issue with the SPIRV-opt folks?


Where are default MYSQL credentials?

Requested Feature
Hi,
My devcontainer.json is:
{
  "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
  "features": {
    "ghcr.io/shyim/devcontainers-features/php:0": {
	"version": 8.1
    },
    "ghcr.io/devcontainers-contrib/features/mysql-homebrew:1": {},
  },
}

The problem here with MYSQL, is that I don't know what are default credentials for MYSQL, to be able to connect to the database.
Thanks in advance

I think devcontainer features in general only address the installation of additional packages / tools to the base image. So, like other devcontainer features, you can only select different version or different way of install the package. The default credential for MySQL seems like out of scope of devcontainer features. However, to achieve setting default credential of MySQL, you can try using postCreateCommand of devcontainer.
{
  "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
  "features": {
    "ghcr.io/shyim/devcontainers-features/php:0": {
	"version": 8.1
    },
    "ghcr.io/devcontainers-contrib/features/mysql-homebrew:1": {},
  },
 "postCreateCommand": "mysqladmin -u root password 123456"
}

where the user name is root and password is 123456. This script will run only once, when the devcontainer is created

This project is not associated with the devcontainer project and appears to have been abandoned https://github.com/devcontainers-contrib/features/issues/628 . The official project has removed all devcontainer-contrib features from their listing. https://github.com/devcontainers/devcontainers.github.io/issues/451. There is a fork that is being worked on to update and maintain the features https://github.com/devcontainers-extra/features


Small additions to writing.md

The page is good as is, so feel free to ignore all my changes. These are just the thoughts I had as I was reading through. Thanks!


feat(ui): add tooltips to all elements with onClick action

Except for those that are obvious and/or already have a text label

deprecated by #128


DE tootlip info not showing for armor types

DE info for pricing and what DEing an item breaks down into shows fine if the item is weapon but armor is not showing at all.
It will still show unknown on the beta if there are no DE mats for sale on the AH but the break down information will show.

One more thing to add.. It seems it is pulling up the disenchant tooltip entry for armor but is not showing pricing information which then does not show what the items breaks down into.

So it seems auctionator.lua and auctionatorhints.lua had some local variables defines as WEAPON and ARMOR. They had values assigned as 1 and 2 respectively.
Changing them to
local WEAPON = LE_ITEM_CLASS_WEAPON;
local ARMOR  = LE_ITEM_CLASS_ARMOR;
which means weapon=2 and armor=4 (the classID of these top level auction classes) fixed the issue.

Should be updated in most recent version with disenchanting refactoring (note that ilevels still not accurate, but that's captured in another ticket)


Page break cuts grid items in the middle while printing

Describe the bug
I'm using react grid layout for my view and when i'm printing the page break cuts the view in the middle even though i have dedicated styles rules to prevent this .
Here is what i have tried so far :

I have tried using break-inside along with break-before and break-after to prevent the page break but that did not work
I tried to prevent the page break via media queries like @media print { } but that did not work as well.

Your Example Website or App
https://github.com/react-grid-layout/react-grid-layout
Steps to Reproduce the Bug or Issue

Just add a text field within react grid layout and print it
The page break will mess with it like the image below.

Expected behavior
I was hoping that my css rules would prevent the page break from cutting the fields but i got no luck.
react-grid-layout library version
1.3.4
Operating System Version
macOs
Browser
Chrome
Additional context
Please let me know if there is any way through which i can prevent the page break from cutting the fields using css
Screenshots or Videos

I could not provide a reproducible demo since i had to keep my code confidential. I'm sorry for linking the repo url in the demo link area. Please help!


⚠ RPC server - Arbitrum has degraded performance

In 10b0e8c, RPC server - Arbitrum ($ARBITRUM_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 110 ms

Resolved: RPC server - Arbitrum performance has improved in a8dd6b5 after 16 minutes.


Remove jQuery usage

@trentmwillis do you have time for another release that includes this change?

@Turbo87 forgot I merged this! Yes, I'll do another release soon.

@Turbo87 just released 0.7.1

awesome, thank you! :)


Alexey-Ben meeting 2018-10-08

Goals from last week:

Submit multivariate traits paper -- Didn't work on. Waiting on Mike's comments.
PEcAn

Solidify Docker workflow -- Learned and documented RabbitMQ, and caught some Docker-related bugs in the process (PEcAn PR #2134)
Test model runs - Didn't get to
Also, spent ~3 hours giving others on the PEcAn team tutorials, and other help.

FoRTE

Background reading -- none. Needs to be better this week.
Outline first paper -- none. Needs to be better this week.

Hector

Parameter sensitivity analysis -- Very simple analysis of one variable for one scenario in vignette (Hector PR #268). Need to do this more rigorously.
Spent ~5 hours on experimenting with ways to simplify Hector installation (especially on Windows), and removing Boost dependency (including Hector PR #267).

Goals for this week:

Submit Frontiers paper (remote sensing and global change experiments) revisions -- ~3 hours
Revise multivariate traits paper -- ~6 hours
FoRTE

Background reading -- ~6 hours

Including Ben's Biogeosciences paper on modeling disturbance.

Paper outline -- ~3 hours

PEcAn

Test model runs at UMBS and SERC -- ~16 hours

Hector

Run different scenarios. Plot inputs and outputs to understand what's going on -- ~3 hours
Parameter sensitivities for each vegetation parameter x each scenario -- ~3 hours

Strategies for achieving goals:

Fewer "distractions". Lots of time last week went into things with no deliverables (e.g. PEcAn help), or that weren't a major priority (e.g. Hector Boost library stuff).
Work directly towards specific deliverables.

Also, question for discussion: Should I be attending the monthly GCAM meetings (e.g. the one this morning)? I know I'm not directly involved in GCAM at the moment, but I guess my work on Hector may be GCAM-related? Also, seems like it might be a good opportunity to learn what others at JGCRI are working on. But, it is another two hour meeting, so my time may be better spent on other work. Anyway, something worth briefly discussing.

Should I be attending the monthly GCAM meetings

My biggest concern here is that if you attend it, someone may get the bright idea that I should attend it :)


Add a link to the 2015 to 2016 CCG2 form

Brings in pull request #2033 from remote repository for merging.
(Still waiting on link to go live: http://media.slc.co.uk/sfe/1516/ft/sfe_ccg2_1516_d.pdf)
@keithiopia @lutgendorff

Looks like there was a slight typo. This is the right link, can @er-ke-de update this: http://media.slc.co.uk/sfe/1516/ft/sfe_ccg2_form_1516_d.pdf

Sorry about that - they gave me the wrong link. Glad we made them wait till it was meant to go live!

Ok great, I noticed the file is 295KB instead of 289KB, will update also

Glad you're on the ball, Erik! I guess they didn't know the size.


firefox-launch doesn't open Firefox

When I run yarn chrome-launch, it successfully compiles the code and opens a chrome instance with the extension installed. But, when I run yarn firefox-launch, it compiles but the Firefox instance never opens.

Solved it by upgrading web-ext to latest(6.4.0) version.


Delete shortened URL

Summary
Currently it is not possible to perform deletion of already existing shortened URLs. This is to allow users to perform delete actions for already existing URLs.

Note that deletion of a shortened url is permanent & should not be marked as deleted but rather should be permanently deleted from data stores.

Functional Requirements
There needs to be an endpoint that allows users to perform deletions on already created shortened urls. This endpoint as with all others should only serve requests that are authenticated & authorized. Any non authorized request should be dropped and an Unauthorized response returned.
This endpoint should allow deletion of an existing shortened url. If a shortened url does not exist, then an appropriate 404 response should be returned.
Requests should look like below:
DELETE /api/v1/curtz/urls/:id
HOST: <host>

:id is the id of the url to be deleted, , the publicly exposed host of the backend system.
It should not be possible to perform a delete operation on a record that does not exist.
Implementation Notes
A new handler function needs to be created to handle this new request, which should be added here.
A new method to perform a deletion on a url will need to be added to this interface and implemented by this struct.
A new method will need to be added to this repository interface to allow performing a delete operation in the datastore which should then be implemented by this struct.
Acceptance Criteria

It should be possible to perform a delete operation on existing shortened url records.
Any delete operation to a shortened url that does not exist should return a 404 status code.

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Gemini Pro Exp edit mode Vertex AI / Gemini and Gemini Pro 1.5 Pro 002 edit mode

Issue
Hello!
Just two observations with v0.60.1:

aider uses whole edit mode for vertex_ai/gemini-pro-experimental (probably because it doesn't know it), but the model is the same as gemini/gemini-1.5-pro-exp-0827, see https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/gemini-experimental, so it should probably use diff-fenced, too.

aider uses diff edit mode for gemini/gemini-1.5-pro-002, while all other Gemini Pro models use diff-fenced. On ~~https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/gemini-experimental~~ https://aider.chat/docs/leaderboards/, it says diff-fenced also for gemini/gemini-1.5-pro-002. I don't know, which mode is better for the model (maybe the newer Gemini Pro really works better with diff?), but either aider's model config or the benchmark page is wrong.

Hope it helps.
Version and model info
Aider v0.60.1 Model: gemini/gemini-1.5-pro-exp-0827 // vertex_ai/gemini-pro-experimental // gemini/gemini-1.5-pro-002

Thanks for trying aider and filing this issue.
You can set the edit mode with --edit-format.

Thank you!
The reason I opened the issue is more about

Suggesting to add vertex_ai/gemini-pro-experimental  to the known models with the same edit mode as gemini/gemini-1.5-pro-exp-0827, since it's the same model, assuming that the reason for Aider to chose whole edit mode for this model is that it does not know of the model.

Wondering what actually is the reason for Aider chosing diff as opposed to diff-fenced for gemini/gemini-1.5-pro-002, while diff-fenced is being described to be the proper edit mode in https://aider.chat/docs/leaderboards/ (sorry had originally added wrong link in op for this) and making sure the proper/best edit mode is automatically chosen and the information in the leaderboard is correct.

Done.
The change is available in the main branch. You can get it by installing the latest version from github:
aider --install-main-branch

# or...

python -m pip install --upgrade --upgrade-strategy only-if-needed git+https://github.com/Aider-AI/aider.git

If you have a chance to try it, let me know if it works better for you.

Thanks!
I tested release v0.63.0:

It uses diff-fenced for vertex_ai/gemini-pro-experimental now, so that is fixed.
Same as in op. Looks like this should be fixed, probably by changing gemini-1.5-pro-002 to use diff-fenced, unless there's a specific reason you chose diff for this version of Gemini Pro, then the leaderboard needs updating.

I'm labeling this issue as stale because it has been open for 2 weeks with no activity. If there are no additional comments, I will close it in 7 days.Note: A bot script made these updates to the issue.


Order By Not Working With Union In MySQL

For below code
 var q = db.FromQuery(new Query("User")); var q1 = db.FromQuery(new Query("User")); var u = q.Union(q1); u = u.OrderBy(new string[] { "Name" });
SqlKata is giving me below result, which is incorrect.
SELECT * FROM "User" ORDER BY "Name" UNION SELECT * FROM "User"

code:
            var q = new Query("User");
            var q1 = new Query("User");
            var u = q.Union(q1);
            u = new Query().From(u, "u");
            u = u.OrderBy(new string[] { "Name" });
            var c = new SqlServerCompiler();
            var result= c.Compile(u);
            Console.WriteLine(result.Sql);

result:
SELECT * FROM (SELECT * FROM [User] UNION SELECT * FROM [User]) AS [u] ORDER BY [Name]


[BUG]: shardformer: pipeline forward error with customized layer distribution

🐛 Describe the bug
Hi, I am trying to implement a custom shard policy with different layer distribution, but it seems all built-in policies have the following inconsistent implementation:
In get_held_layers(), a policy uses self.distribute_layers() and self.get_stage_index(), which are customizable:
https://github.com/hpcaitech/ColossalAI/blob/79718fae04fc4461a35ae80ab87f52b64260f394/colossalai/shardformer/policies/gpt2.py#L170-L175
But in set_pipeline_forward(), the policy uses Policy.distribute_layers() and Policy.get_stage_index():
https://github.com/hpcaitech/ColossalAI/blob/79718fae04fc4461a35ae80ab87f52b64260f394/colossalai/shardformer/policies/gpt2.py#L192-L193
which will raise an error during pipeline forward due to layer inconsistency if the functions are overridden.
How to reproduce
I tested with examples/language/gpt/hybridparallelism/finetune.py.
For hybrid_parallel plugin, add a custom policy:
 elif args.plugin == "hybrid_parallel":
        BATCH_SIZE = 128
        from colossalai.shardformer.policies.base_policy import Policy
        from colossalai.shardformer.policies.gpt2 import GPT2ForSequenceClassificationPolicy
        class CustomGPT2Policy(GPT2ForSequenceClassificationPolicy):
            @staticmethod
            def distribute_layers(num_layers: int, num_stages: int) -> List[int]:
                layers_per_stage = Policy.distribute_layers(num_layers - 4, num_stages)
                layers_per_stage[0] += 4
                return layers_per_stage

        plugin = HybridParallelPlugin(
            tp_size=1,
            pp_size=4,
            num_microbatches=None,
            microbatch_size=8,
            zero_stage=0,
            precision="fp16",
            initial_scale=1,
            custom_policy=CustomGPT2Policy(),
        )

which distributes layers in a slightly different way: first stage has 4 more layers.
This leads the following error:
...
  File "/usr/local/lib/python3.10/dist-packages/transformers/models/gpt2/modeling_gpt2.py", line 312, in forward
    query, key, value = self.c_attn(hidden_states).split(self.split_size, dim=2)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/pytorch_utils.py", line 107, in forward
    x = torch.addmm(self.bias, x.view(-1, x.size(-1)), self.weight)
TypeError: addmm(): argument 'input' (position 1) must be Tensor, not NoneType

Environment
torch 2.1.0 + cu118

Thanks for reporting. Would you like to submit a PR to solve this issue :)

Submitted!

Sorry for the delayed update, since I was assigned to another task for the last several months, and this issue is finally resolved.


fix: set KcpConnection timeout back to 5 seconds

This was changed during a stress test from the original 3 seconds. It ended up not solving the problem at the time but was not changed back.

did not expect the tests to fail on this. well....


Package is not working at Android debug

It's working at IOS debug but not on android.
It's giving me this error
Launching lib\main.dart on moto g32 in debug mode...
Incorrect package="com.tahamalas.internet_speed_test" found in source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.tahamalas.internet_speed_test" from the source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':internet_speed_test:processDebugManifest'.

A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
Incorrect package="com.tahamalas.internet_speed_test" found in source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.tahamalas.internet_speed_test" from the source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 29s
Error: Gradle task assembleDebug failed with exit code 1
Exited (1).

It's working at IOS debug but not on android. It's giving me this error
Launching lib\main.dart on moto g32 in debug mode... Incorrect package="com.tahamalas.internet_speed_test" found in source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. Recommendation: remove package="com.tahamalas.internet_speed_test" from the source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':internet_speed_test:processDebugManifest'.

A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
Incorrect package="com.tahamalas.internet_speed_test" found in source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.tahamalas.internet_speed_test" from the source AndroidManifest.xml: C:\Users\KrishnaSangale\AppData\Local\Pub\Cache\hosted\pub.dev\internet_speed_test-1.5.0\android\src\main\AndroidManifest.xml.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 29s Error: Gradle task assembleDebug failed with exit code 1
Exited (1).

try this flutter_speed_test_plus package


Try to install cycle 2.0

Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- cycle/database 2.0.0 requires spiral/core ^2.9 -> found spiral/core[dev-master, 2.9.x-dev (alias of dev-master)] but it does not match your minimum-stability.
- cycle/orm v2.0.0 requires cycle/database ^2.0 -> satisfiable by cycle/database[2.0.0].
- Root composer.json requires cycle/orm ^2.0 -> satisfiable by cycle/orm[v2.0.0].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require cycle/orm:*" to figure out if any version is installable, or "composer require cycle/orm:^2.1" if you know which you need.

We are working on integrating the ORM v2 with the Spiral Framework

I dont use the Spiral Framework

My composer is
  "require": {
        "php": "^8.0"
    },

@roxblnfk Do I have any chance to install cycle 2.0 ?

@roxblnfk Do I have any chance to install cycle 2.0 ?

Oh. Iooks like fail.
Right now you can set minimum stability to dev. Soon we'll release spiral/core 2.9

@roxblnfk any updates?


[OpenAPI] - BankFeed API Endpoints

The bankfeed api endpoints need open api comments added

Hii @ageddesi  pleas assign this to me
and also please elplain a bit more about this

Hi @siddharth1729 if you look at branch v.0.13.0 where the latest code lives you will see that other endpoints have OpenAPI comments within the api routes files. The task for this is to update the bank-feeds api route file to have its comments added.

ok means i have to properly comment he bankfeed api like other is dne in the project ?

Yes please, that would be ace. We use this to auto generate the swagger file now.


More specific configuration allows succesful cache:clear on prod

Initial error report:

[root@test-app Stepup-Middleware-2.0.0-20160808152839Z-b38acd98a77c89bffa2649d956f92709954aa036]# php app/console cache:clear --env=prod --no-debug
Clearing the cache for the prod environment with debug false
PHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found in /opt/stepup/Stepup-Middleware-2.0.0-20160808152839Z-b38acd98a77c89bffa2649d956f92709954aa036/src/Surfnet/StepupMiddleware/ApiBundle/Tests/Configuration/Entity/ConfiguredInstitutionTest.php on line 26
[Symfony\Component\Debug\Exception\ClassNotFoundException] Attempted to load class "PHPUnit_Framework_TestCase" from the global namespace.  Did you forget a "use" statement?

What seems to happen is that the cache cannot be cleared due to Test classes being loaded during the `cache:clear` command.

In order to reproduce this locally, run:
```sh
SYMFONY_ENV=prod composer install -o --no-dev

This should remove any dev dependencies and then attempt to clear the cache as if Symfony was running in prod mode, therefor causing a similar or the same error. This is reproducible with a command as reported originally:
SYMFONY_ENV=prod app/console c:c --env=prod --no-debug

For me this resulted in:
Clearing the cache for the prod environment with debug false
PHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found in /opt/workspace/SURFnet/Stepup-Middleware/src/Surfnet/StepupMiddleware/ApiBundle/Tests/Configuration/Entity/RaLocationTest.php on line 28
PHP Stack trace:
PHP   1. {main}() /opt/workspace/SURFnet/Stepup-Middleware/app/console:0
PHP   2. Symfony\Component\Console\Application->run() /opt/workspace/SURFnet/Stepup-Middleware/app/console:25
PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:120
PHP   4. Symfony\Component\Console\Application->doRun() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:90
PHP   5. Symfony\Component\Console\Application->doRunCommand() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:189
PHP   6. Symfony\Component\Console\Command\Command->run() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:852
PHP   7. Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:256
PHP   8. Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->warmup() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php:92
PHP   9. Symfony\Component\HttpKernel\Kernel->boot() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php:128
PHP  10. Symfony\Component\HttpKernel\Kernel->initializeContainer() /opt/workspace/SURFnet/Stepup-Middleware/app/bootstrap.php.cache:2447
PHP  11. Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() /opt/workspace/SURFnet/Stepup-Middleware/app/bootstrap.php.cache:2677
PHP  12. Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer->warmUp() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:48
PHP  13. Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getAllMetadata() /opt/workspace/SURFnet/Stepup-Middleware/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php:69
PHP  14. Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain->getAllClassNames() /opt/workspace/SURFnet/Stepup-Middleware/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:114
PHP  15. Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver->getAllClassNames() /opt/workspace/SURFnet/Stepup-Middleware/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php:128
PHP  16. require_once() /opt/workspace/SURFnet/Stepup-Middleware/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php:236

  [Symfony\Component\Debug\Exception\ClassNotFoundException]
  Attempted to load class "PHPUnit_Framework_TestCase" from the global namespace.
  Did you forget a "use" statement?

cache:clear [--no-warmup] [--no-optional-warmers]

This indicated that Doctrine was the culprit when attempting to generate the cache files for all entities within a specific mapping. This would trigger loading of test files, which apparently breaks things. Being more specific in the mapping circumvents this.

@arothuis

Ah, I must have generalized the configuration when adding my Doctrine types. Looks good to me. 👍

This fix resolves the issue.

Awesome, thanks for verifying!


ctrl+shift+n creates an empty window

Ubuntu 16.04, no errors in console.

Can reproduce on OS X 10.11.6, even in master, not sure what's causing it 🙌

Reproduce on my Mac, using current master(https://github.com/zeit/hyperterm/commit/7398593bc36b9624db25f3faee21c3a35b1ca415).

ctrl-shift-n create a new window, but not emit new event.

Find it, ctrl-shift-n is hterm's shortcut to open new window.

Overriding onCtrlN_ to a no-op function fix this issue.
hterm.Keyboard.KeyMap.prototype.onCtrlN_ = function() {};

I'd be pleasure to send a PR.

@Tyriar, is this still happening? cc/ @albinekb
I can't reproduce

Can no longer repro, but I filed https://github.com/zeit/hyper/issues/1159


How to set custom currency

Hello i need support
i need to know how to set currency in ``class: ModifyCurrency```
If i try set value: 5 it add to value, NOT set. I need help how to configure it

Hm I don't think there is a parameter to change it from a modify to a set, but you could try value: 5-$currency to set it to 5?

oh it work so nevermind. thx!


Trigger and Deployment Enhancement

Seems currently the spring cloud function framework does not cover the 2 issues. 1. Trigger binding for public cloud. 2. fine-grained deployment control, aggregate multiple functions as one function on the public cloud.
I wrote a demo. @CloudFunction marks a class as an aggregate for a group of functions. Subclass of @Trigger marks trigger binding for public cloud trigger.
https://github.com/a3nz3g/function-sample-scf/blob/master/src/main/java/com/a3nz3g/example/function/BarFunction.java
Does the Spring Cloud Function has a plan to cover function deployment orchestration?

I am not sure I follow. . .

Triggering binding for public cloud. Have you looked at spring-cloud-function-web module as well as spring-cloud-function-adapters that currently cover AWS, Azure etc. Are you asking something different? Also with regard to triggering we have other frameworks such as spring-cloud-stream which uses spring-cloud-function programming model while providing bindings to Kafka, Rabbit and more.
With regard to aggregate/orchestration we currently provide function composition. . . sort of func1.andThen(func2). Are you asking/proposing for something different?

Closing it as the issue went stale. Please feel free to reopen it if you can share more details


Add Sidebar component

Prerequisites

[X] This feature already exists in shadcn/ui - if not, it won't be considered here so don't continue with your issue.

Describe the feature
Shadcn released a new sidebar component. Here's a quick demo:
https://github.com/user-attachments/assets/385beee6-56eb-434c-b4d3-ef15205f84d9
I'm willing to help. Not sure if my TypeScript skills are good enough to get it on the first try, though.

Hunter finished the component, and is now working on the docs.
#1337
https://x.com/huntabyte/status/1848183702527922461


Formatting stops on read-only file with errors

Describe the bug
rustfmt cannot format a project if there is a readonly file.

To Reproduce
Any project and  make a file readonly, then all the files that come after it won't be formatted.

Expected behavior
rustfmt reads only the file but doesn't attempt to change a readonly file and continues formatting of the other files.

Meta

rustfmt version:  rustfmt 1.4.36-nightly (7de6968 2021-02-07)
From where did you install rustfmt?:  rustup
How do you run rustfmt:  cargo fmt

hi, thanks for reaching out. Could you help me understand what your use case is for having a project of rust code, making some of the .rs files readonly, and then running the formatter in the mode that overwrites the input files?
While I suppose we could technically support this, it seems like a rather unrealistic use case and without sufficient rationalization I just don't think the overhead/tradeoffs of attempting to do so would be worthwhile.

The code I compiled has a file that is generated by lalrpop and it's read-only.

Generated files are typically configured to have rustfmt ignore them. You're always going to have rustfmt exit with a non-zero code if you ask it to rewrite a file that's read-only, regardless of what does or does not happen with other files in the project.
Many generators will insert a #![rustfmt::skip] to the file(s) to avoid this, but if lalrpop isn't or can't then you can either use the ignore configuration option in your rustfmt config file, or add the rustfmt skip attribute as an outer attribute on the import of the generated file (which I presume you have somewhere in your project)

It's an old code (2017). Thank you, the ignore configuration option solved.


Fixed a sign compare warning.

Looks good to me. Please merge #221 and #222 yourself so that you are not blocked after merging one of them.


updated gopsutil to fix mac deprication

Issue:
GoPsUtil
# github.com/shirou/gopsutil/host
smc_darwin.c:75:41: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here

Fixed by https://github.com/shirou/gopsutil/pull/1191, updating package to v3 as recommended by https://github.com/shirou/gopsutil/issues/1164

Small cert error check addition also due to Mac


rm temporary patch

so https://github.com/JuliaLang/julia/pull/38210 now got merged, we don't need this temporary patch once the nightly is really replaced.

Codecov Report

Merging #62 into master will increase coverage by 0.58%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
+ Coverage   82.99%   83.58%   +0.58%
==========================================
  Files           9        9
  Lines         794      798       +4
==========================================
+ Hits          659      667       +8
+ Misses        135      131       -4

Flag
Coverage Δ

#unittests
83.58% <ø> (+0.58%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/abstractinterpretation.jl
93.79% <0.00%> (-0.78%)
:arrow_down:

src/print.jl
86.31% <0.00%> (+4.02%)
:arrow_up:

src/JET.jl
45.23% <0.00%> (+4.73%)
:arrow_up:

Continue to review full report at Codecov.

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


Misleading ToolTip on RunTime in App.Json

1. Describe the bug
The Tooltip on the "runtime" property in app.json is wrong and misleading.
The tooltip states:
The version of the runtime that the project is targeting. The project can be published to the server with an earlier or the same runtime version.
13.0: Business Central 2024 release wave 1
Which implies that I can publish this extension on a server running a runtime 12. It reads as if the requirement is <=13, when it's actually >=13.

3. Expected behavior
A clearer message indicating that server runtime must be higher, or that the project must be earlier or same as the server runtime
5. Versions:

AL Language: 13.0.1007491

Internal work item: AB#548302

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26.0.25537.0 and VS Code Extension Version 15.0.1179579.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://freddysblog.com/2020/06/25/working-with-artifacts/


javasrc2cpg: improve type resolution for missing types

Currently, if the JavaParserSymbolSolver cannot resolve a type, javasrc2cpg gives up and does not try to use available information to infer what the missing type should be. In many cases there would be sufficient type information available to fully infer the typeFullName, so a fall-back to this should be added.

[x] Use import statements where available to infer missing Parameter/VarDecl types
[x] For unresolved method calls, use the type of the target to infer part of the methodFullName
[x] For unresolved method calls, use known argument types and expected return type (where this is known) to infer the rest of the methodFullName
[x] For unresolved arguments to resolved method calls, infer argument type from call expectations
[x] Be more consistent with how unresolved types are handled. Currently some types are set as <unresolved>... and others are left empty. If type info is still missing after all of the above, then we do not know the type and should leave it empty.

probably related to this: some method fullnames are empty. E.g. for https://github.com/ShiftLeftSecurity/HelloShiftLeft:
cpg.method.internal.fullName("").code.l

  "public ModelAndView errorHtml(HttpServletRequest request)",
  "public ResponseEntity<Map<String, Object>> error(HttpServletRequest request)",
  "private HttpStatus getStatus(HttpServletRequest request)"

There have been various improvements to this since the issue was created and the original tasks have been addressed. We also no longer create methods with empty fullnames, instead just opting for unresolved types where information is missing.


Resizable window/panel

Would be possible to make the main window/panel resizable?
The symbols I have been working on all have really long names, its been a bit difficult to work without be able to read its full name.

@dgmaia I finally found some time to make some long overdue plugin updates, and I think I fixed this issue. Can you download version 0.20 and let me know if your experience is improved?

Thanks man, definitely better now.
Can't resize the panel but the dropdown list expands to show all items names.
Cheers, really appreciate.

Glad to hear it, and thanks for using my plugin!

@dgmaia I had to revert the plugin to the previous select box implementation (which cut off long names) because we lost the ability to search by typing with the newer select box I implemented.
So as a compromise, I am now setting a tooltip on the select box, which shows the full name of the currently selected item. It's not ideal, but I don't have a lot of options (without expanding the window, which is a last resort). Please let me know how it works for you.

Thanks for the heads up
I'm testing right now.

Yeah =/
It's not ideal for my use case... tooltip takes a while to popup.
But if you really need to revert to the old way, it does help.
I didn't know was possible to type on the field.
When I see a select box, I think that I have to pick an option from a list.
But I couldn't make it work.
Typing something didn't filter the options and hitting 'return/enter' or tab, didn't change it either.