text:
🛑 Spryr is down

In 8356ca2, Spryr (https://spryr.com) was down:

HTTP code: 503
Response time: 2117 ms

Resolved: Spryr is back up in 830e429 after 14 minutes.


text:
VDSM - Did not start after updating to 7.15

Operating system
docker lxc container under latest proxmox version
Description
Hello,
after updating to vfsm 7.15 last night the container did not come up. The following lines are logged.
This is running in an infinite loop.
Rolling back to version 7:14 manually is working as desired and everything comes up as normal.
In the moment i've no plan what happend here and any help would be useful for me.
Thanks
Docker compose
services:
dsm:
image: vdsm/virtual-dsm:latest
hostname: synology
container_name: synology
environment:
DISK_SIZE: "768G"
ALLOCATE: "N"
CPU_CORES: "2"
RAM_SIZE: "2048M"
DHCP: "Y"
DEBUG: "N"
        VM_NET_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_SERIAL: "xxxxxxxxxxxxxxx"
        GUEST_SERIAL: "xxxxxxxxxxxxxxx"
        HOST_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_MODEL: "DSxxxx+"
    labels:
      com.centurylinklabs.watchtower.enable: true
    networks:
        vdsm:
            ipv4_address: yyy.yyy.yyy.yyy
    devices:
        - /dev/kvm
        - /dev/vhost-net
    cap_add:
        - NET_ADMIN
    volumes:
        - /synology:/storage
    restart: unless-stopped
    stop_grace_period: 1m
    device_cgroup_rules:
        - 'c *:* rwm'

networks:
vdsm:
external: true
Docker log
❯ Warning: unexpected clocksource: kvm-clock
❯ Booting Virtual DSM using QEMU v8.2.4...
❯ ERROR: qemu-system-x86_64: -netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30,script=no,downscript=no: ifname=, script=, downscript=, vnet_hdr=, helper=, queues=, fds=, and vhostfds= are invalid with fd=
❯ Starting Virtual DSM for Docker v7.15...
❯ For support visit https://github.com/vdsm/virtual-dsm
❯ CPU: Intel Core TM i5 6500T CPU | RAM: 4/5 GB | DISK: 303 GB (ext4) | HOST: 5.15.0-112...
Screenshots (optional)
No response

Yes, of course, you're right. After updating the stack via the portainer tool with reloading the source image again it works like desired.
Initial the stack was updated automatically via watchtower at 3:55 UTC time.
So everyone outside with the same problem. The solution in this case is:

Stop the stack with
docker-compose down
Start the stack again and force recreate
docker-compose up -d --force-recreate
Cleanup danging image with e.g. (Attention, this will clean all dangling images)
docker rmi $(docker images -f "dangling=true" -q) -f

A bit easier it is via portainer management tool.

Navigate to the desired stack and go to the edit mode
Scroll down until you see the button: "Update the stack", click on it.
In the popup window put the slider "Re-pull image and redeploy" to on and click on "Update"

This is doing nearling the same as the above docker-compose commands except cleaning up the dangling images
Have a nice day and thank you very much for your help.
Greetings from germany.
Michael

hi bro, how can you set HOST_SERIAL and GUEST_SERIAL?

Operating system
docker lxc container under latest proxmox version
Description
Hello,
after updating to vfsm 7.15 last night the container did not come up. The following lines are logged. This is running in an infinite loop.
Rolling back to version 7:14 manually is working as desired and everything comes up as normal.
In the moment i've no plan what happend here and any help would be useful for me.
Thanks
Docker compose
services: dsm: image: vdsm/virtual-dsm:latest hostname: synology container_name: synology environment: DISK_SIZE: "768G" ALLOCATE: "N" CPU_CORES: "2" RAM_SIZE: "2048M" DHCP: "Y" DEBUG: "N"
        VM_NET_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_SERIAL: "xxxxxxxxxxxxxxx"
        GUEST_SERIAL: "xxxxxxxxxxxxxxx"
        HOST_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_MODEL: "DSxxxx+"
    labels:
      com.centurylinklabs.watchtower.enable: true
    networks:
        vdsm:
            ipv4_address: yyy.yyy.yyy.yyy
    devices:
        - /dev/kvm
        - /dev/vhost-net
    cap_add:
        - NET_ADMIN
    volumes:
        - /synology:/storage
    restart: unless-stopped
    stop_grace_period: 1m
    device_cgroup_rules:
        - 'c *:* rwm'

networks: vdsm: external: true
Docker log
❯ Warning: unexpected clocksource: kvm-clock ❯ Booting Virtual DSM using QEMU v8.2.4... ❯ ERROR: qemu-system-x86_64: -netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30,script=no,downscript=no: ifname=, script=, downscript=, vnet_hdr=, helper=, queues=, fds=, and vhostfds= are invalid with fd= ❯ Starting Virtual DSM for Docker v7.15... ❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Core TM i5 6500T CPU | RAM: 4/5 GB | DISK: 303 GB (ext4) | HOST: 5.15.0-112...
Screenshots (optional)
No response

Hello JiweiMaster,
hello all other who are interested in setting host and guest serial.
i followed this forum thread:

In my case i really own a physical DS1815+ Synology NAS Device with 8 bays.
The virtual one is always on running as docker container for using Synology Photos.
I wanted to add Advanced Media Extensions and this is only possible with an valid synology account and with
the additional information in the docker container. On my physical NAS i already installed the media extensions.
I'm using this solution because the 8-bay NAS is consuming a lot of power and was running all the time (except sleepmode in the night). Now i upload photos to the virtuals synology and view them from there and when physical NAS is online the photos are synced via synology drive share sync. My homeserver is consuming only 15W and is hosting many docker services around the clock. So i save a lot of money every year.
Most of the needed information you can find here:

    VM_NET_MAC: "xx-xx-xx-xx-xx-xx"        # Via link above
    HOST_SERIAL: "xxxxxxxxxxxxxxx"           # Via link above
    GUEST_SERIAL: "xxxxxxxxxxxxxxx"          # In the webgui under Info-Center inside the virtual DSM
    HOST_MAC: "xx-xx-xx-xx-xx-xx"            # In the webgui under Info-Center inside the network tab of the physical NAS
    HOST_MODEL: "DSxxxx+"                      # In the webgui under Info-Center

That it. I'll hope this information is enough to answer your question and to help you fulfil your requirements.
Sincerly Michael
P.S. If you don't own a physical synology nas, it is maybe a way to by a used one from ebay for a few bucks and use the information from this device.

source: gharchive/issue

authors: JiweiMaster Masterciw

repo: vdsm/virtual-dsm

license: MIT

license_type: permissive

license_source: github-api


text:
faiss  编译

faiss 已经没有 ./configure文件

vearch现在使用的是faiss 1.6.3，我们已经有计划升级faiss到最新版

vearch faiss版本已经升级到v1.7.1

repo: vearch/vearch


text:
Screen when placing a voip call can be incredibly ugly

Here's a screenshot whilst I was phoning Amandine in a 1:1 this morning.  Unsure where it got the M from, given both users and the room had avatars, and I was calling Amandine, not Matthew.  But it's very ugly.  If we really don't have an avatar for the person being called, we should show a medium-size centred circular avatar with nicely rendered text rather than a zoomed avatar.  And if we do have an avatar, we should similarly show it instead.

@benbreckler provided a proper design: https://zpl.io/ZrzEJ0
https://zpl.io/Z1l1MlN

@giomfo the screen is still not showing room avatars for me :(

the design half of this is a dup of #598.
The implementation bug (that room avatars are missing) is still open.

Voice call design will be handled by https://github.com/vector-im/vector-ios/issues/598

repo: vector-im/vector-ios

license_source: bigquery


text:
List the PackageIdentifier of the package to be added to automation
FengHe.FocusNote
Details about the application
$body = @{
    platform = '0'
    prodNo = '0'
}
Invoke-RestMethod -Uri 'https://focusnote.com.cn/admin/version/listNew' -Method Post -Body $body

InstallerUrl: $result.data[0].downloadUrl or $result.data.downloadUrl ($result.data is an array and PowerShell automatically takes the first one)
PackageVersion: From InstallerUrl
e.g. https://download.kirakuapp.com/FN_PC/Focus Note Setup 2.12.6-661.exe -> 2.12.6-661

@SpecterShell Any way to post body as a string rather than a hashtable?

Invoke-RestMethod -Uri 'https://focusnote.com.cn/admin/version/listNew' -Method Post -Body 'platform=0&prodNo=0'

Thanks! Actually, I needed it because in the new automation, data types of parameters are fixed.

They have changed the source to a new URL in the latest version:
https://fn.kirakuapp.com/admin/version/listNew


text:
Filtering on click

Hi Daniel,
Do you have any idea about how I could change the default behaviour of filtering on keyup and replace it by a click?
The goal is to delegate the action of filtering to an extra button, as shown is the following example:

Regards,
Thibault

Doesn't look too intuitive (IMO), at least not when the filter is located above the column (maybe if it was in far away form/location it would make more sense). Can't think about something right now, will comment again later on

I guess that a new property can be added,  something like 'externally_triggered' that will remove the filter action from the filters and you will use the exFilterColumn later on.

Doesn't look too intuitive (IMO), at least not when the filter is located above the column

Absolutely. Much more intuitive when using an external form.
To go a bit further, what do you think of a exFilterAllColumns as exResetAllFilters? It would be used as a shortcut for multiple calls of exFilterColumn, one for each filtered column.

exFilterColumn can already handle filtering multiple columns at once, see docs https://github.com/vedmack/yadcf/blob/master/lab/jquery.dataTables.yadcf.js#L186

exFilterColumn can already handle filtering multiple columns at once, see docs https://github.com/vedmack/yadcf/blob/master/lab/jquery.dataTables.yadcf.js#L186

Indeed! Thanks!
Looking forward the externally_triggered option :-)

Hi Daniel,
Any update on this one? Or any idea when do you plan to work on it?

Hopefully in the following days, after current version will go final. so just to be sure I got you, you are planning to place bunch of filters into some form and let the user to play with them and them user has to click so button "filter now" and only then the table will get filtered based on the values in the filters?

Hopefully in the following days, after current version will go final

Great!

so just to be sure I got you, you are planning to place bunch of filters into some form and let the user to play with them and them user has to click so button "filter now" and only then the table will get filtered based on the values in the filters?

Absolutely.
If it can be of any help, the fork of jquery-datatables-column-filter I've used so far lives here: https://github.com/tduchateau/jquery-datatables-column-filter/.
Note:

the sPlaceHolder parameter, that can be set to none, meaning that filtering controls are external. See here: https://github.com/tduchateau/jquery-datatables-column-filter/blob/master/media/js/jquery.dataTables.columnFilter.js#L17
the sFilteringTrigger parameter which is used to bound keyup events only if its value equals "immediate"
the data-column-name attribute added on all filtering controls, then used by the legacy fnMultiFilter plugin so that all columns can be filtered in one call depending on values set in the filtering controls

Hope it helps!

And to be more visual...

Just saying that there wont be individual reset buttons for filters when user will use the externally_triggered mode and externally_triggered will be applied to all filters, you wont be able to mix filters that will work as normal and some that will be triggered externally , what do you think?

Just saying that there wont be individual reset buttons for filters when you will use the externally_triggered mode and... externally_triggered will be applied to all filters, you wont be able to mix filters that will work as normal and some that will be triggered externally , what do you think?

Makes a lot of sense to me.

p.s this will be the next feature that I'll add to yadcf

<3

Working on it, till now added to select / multi_select / text / auto_complete

Looks great Daniel!
I'm giving a try with the v0.8.8.beta.3 and encountering an issue with yadcf.exFilterExternallyTriggered(oTable_myTableId);.
While debugging, I realized that the selector property is null in:
function exFilterExternallyTriggered(table_arg) {
	var columnsObj = getOptions(table_arg.selector)
	...
}

Any idea?

that issue should be solved in 0.8.8.beta.4

It's working great with the v0.8.8.beta.4.
Tested using a DOM source and only with select and text filter types.
Now I'm encountering another issue with an AJAX source which contains a null object. Actually the exact same issue as #113. Let me try to provide an example...

I haven't tuned this feature for ajax yet, so I think you better delay your tests on ajax

Alright! (but still trying to provide an example :-))

Should work now for all filter types with dom/ajax/server... let me know how it goes for you... only thing left is to make a better looking showcase page - will pull the filters out of the table into some form...

Thanks Daniel. I'll test it as soon as I can and get back to you.

Actually I forgot that I planned to move the externally_triggered into the table init function instead of setting it for each column (so you better test it after I do that)

externally_triggered can be set for yadcf constructor /init (and not per column) , see showcase http://yadcf-showcase.appspot.com/dom_source_externally_triggered.html

You mean now it can be set using both the constructor and column definitions?
Using constructor init is like a shortcut right?

Yep

Updated the showcase externally triggered  page a bit

authors: tduchateau vedmack

repo: vedmack/yadcf

license: mit


text:
Date range filter not working with function as data

I'm trying to use the range_date filter with a function in either the columns.render property or the columns.data property of the DataTable. However, yadcf does not seem to work with either one. This seems related to issue #95 but the script does not even reach the changed code.
Using a function in the columns.render property gives incorrect filter results as yadcf uses the _aData value rather than the _aFilterData value:
var table = $("#reqtable").DataTable( {
	"ajax": 'test.txt',
	"columnDefs": [
		{
			"targets": 0,
			"render": function ( data, type, row, meta ) {
				var jsDate = new Date(row[0] * 1000);
				return $.datepicker.formatDate("mm/dd/yy", jsDate);
			}
		}
	]
} );
yadcf.init(table, [
	{	column_number: 0,
		filter_type: "range_date"
	}
]);

Using a function in the columns.data property throws an error "dot_refs.split is not a function":
var table = $("#reqtable").DataTable( {
	"ajax": 'test.txt',
	"columnDefs": [
		{
			"targets": 0,
			"data": function ( row, type, val, meta ) {
				if (type !== 'set') {
					var jsDate = new Date(row[0] * 1000);
					return $.datepicker.formatDate("mm/dd/yy", jsDate);
				}
			}
		}
	]
} );
yadcf.init(table, [
	{	column_number: 0,
		filter_type: "range_date"
	}
]);

please provide a minimal jsbin that reproduces the issue to speed up the fix.

I'm not certain if this is the proper way to create the jsbin, but this should be all the code needed:
https://jsbin.com/tihumilehu/edit?html,js
The columns.data example does not seem to work with DOM-sourced data, and JS Bin does not seem to have a way to get AJAX-sourced data. Hopefully you can test that in some other way.

you can use a static file to feed the ajax source, just like I did in the showcase see second table, you can get the sources of the showcase from its github repo .
Or you can also provide a link to your webapp

Thanks for the hint. I've tweaked the jsbin to work with AJAX:
https://jsbin.com/samoxiyegi/edit?html,js,console,output
You can add/remove the leading / in the //* lines to comment or uncomment the columns.render and columns.data properties to see the behavior of either one.

fixed in 0.8.9.beta.30 , see jsbin sample

authors: khung vedmack


text:
How to set default value

Hi,
Sorry but i didn't find how to set 2 defaults values in the same column for multi-select type.
Thank you

You can use yadcf.exFilterColumn(oTable, [[0, ['Some Data 1','Some Data 2']]]); // for pre filtering multi select filter you should use array with values (or an array with single value) , read more in the docs.
next time please use stackoverflow for asking questions (github for bugs/features request only)

I'm Sorry,
do you have a specific stackoverflow ?

post you question on http://stackoverflow.com/questions/tagged/yadcf and tag it with yadcf and since i'm subscribed to yadcf tag I will be notified about new questions


text:
Extract menu into common package

The logic to generate the dropdown menu currently lives in the jupyter extension. To make it easier to support other contexts (Dash, Panel, pure JS, etc.), this logic should either be moved into vegafusion-wasm, or a new package like a vegafusion-embed.
A separate pure TS library would probably be easier than generating the menu from Rust/wasm, so I'm leaning toward creating a new vegafusion-embed package that would mirror the functionality of vega-embed. In addition to the menu logic and CSS, this is where theme support would be added (c.f. #64)

Also where schema detection should live (https://github.com/vegafusion/vegafusion/issues/60)

repo: vegafusion/vegafusion


text:
Categories should be configuration

With one pipeline, the big ugly categories object worked, even if it's not nice. Now we're adding a second pipeline to test for UI acceptance criteria, it is much less good.
Tasks

[ ] Decide how best to pass it in (it can be a big ugly command line param, but there is probably a better plan
[ ] Do it
[ ] Update pipelines to pass in category configuration

Closing this, as it's not going to happen any time soon and #46 has also added a similar file for priorities.

repo: vegaprotocol/approbation

license: Unlicense


text:
Update to Stockfish to current development version.

There are still issues with the variation display in the lichess app. Not sure if that's on Stockfish' side or an issue in the app. Hopefully this can help debug it: initialization no longer crashes.
See https://github.com/veloce/lichobile/issues/691

Great! I'll test that and hopefully be able to debug variation display (not sure what bug is that?).
I'm curious, since I've made the same changes on my side (not pushed yet) in stockfishjni.cpp and uci.cpp, so what it is that was causing the initialization crash?

Those changes are the only relevant ones - I assumed that because they're the ones that needed changing due to the SF update, they're the place a small bug might have crept in. If it's really exactly the same as yours, then this should crash for you in the same manner.

The issue with the display is almost certainly an issue with the app. Or perhaps Stockfish is displaying things different than it expects, but the SF output is right as per UCI.
This shows the bug:
https://photos.app.goo.gl/kGraXCiheK6P8Y6a7
This was the Stockfish output in logcat:
V/lichess (10380): out=info depth 14 seldepth 19 multipv 1 score cp 54 nodes 814426 nps 167992 hashfull 352 tbhits 0 time 4848 pv e2e4 e7e5 g1f3 g8f6 d2d4 f6e4 d4e5 d7d5 f1d3 b8c6 e1g1 f8e7 c1e3 e8g8 b1d2 e4c5 d3b5

Note that this is likely missing this patch: https://github.com/veloce/cordova-plugin-stockfish/commit/5e6454e3b32c9a6dc4a957605d748727157507bc#diff-79d9b1b1d55ae5bf86806c9b2dbee311
If it's still needed it will need to be applied on top of this pull.

Oh there's a bug that's resetting the FEN once too much, that's why this going wrong:
V/lichess (22345): cmd=position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 moves h2h3 g7g5 e2e3 h7h5
V/lichess (22345): cmd=go depth 99
V/lichess (22345): out=info depth 1 seldepth 1 multipv 1 score cp 47 nodes 495 nps 45000 tbhits 0 time 11 pv e2e4 d7d6

Ok, I believe that is working now.
I still see issues for example when switching to playing the local engine after analyzing, which seem thread related.

The problematic scenario right now is this: you play some games locally vs the engine, then you launch the analysis board.
Internally, this causes the plugin to exit, and I presume, attempt to be reinitialized. But this hangs.
My best guess is that not all of Stockfish's threads are being shut down properly, particularly now that uiThread exists as a static shared_ptr (which would eternally hold that thread alive). But fixing that didn't seem to make the problem go away.
Java_org_lichess_stockfish_CordovaPluginStockfish_jniExit reaches the end of that function.
The tombstone suggest it's actually the 2nd init that hangs:
 native: #00 pc 0003d440  /data/app/org.lichess.mobileapp-2/lib/arm/libstockfishjni.so (Position::init()+639)
  native: #01 pc 0001c66b  /data/app/org.lichess.mobileapp-2/lib/arm/libstockfishjni.so (Java_org_lichess_stockfish_CordovaPluginStockfish_jniInit+222)
  native: #02 pc 0027cfef  /data/dalvik-cache/arm/data@app@org.lichess.mobileapp-2@base.apk@classes.dex (Java_org_lichess_stockfish_CordovaPluginStockfish_jniInit__+82)
  at org.lichess.stockfish.CordovaPluginStockfish.jniInit(Native method)
  at org.lichess.stockfish.CordovaPluginStockfish.init(CordovaPluginStockfish.java:79)
  at org.lichess.stockfish.CordovaPluginStockfish.execute(CordovaPluginStockfish.java:64)

I think the cukoo tables are the cause: they're not 0-initialized, so repeated calls of Position::init() are problematic. I'm not sure this should be considered a bug in Stockfish, because commits like a66c73deef420104e74b6645ee60e20b37fd8549 hint that that should actually work.

@veloce I think this is all working correctly now. Please test :-)

I don't see the variation bug in the application.

It was fixed in one of the follow-up commits.

Also I think we still need the aforementioned patch, it solved crashes occurring on iOS only after a longer search.

The relevant code appears to already have been included in the stockfish-variant tree, e.g.: https://github.com/veloce/cordova-plugin-stockfish/pull/9/files#diff-b074e04ad7e10a48b5d4b715ec9633b4L58

source: gharchive/pull-request

authors: gcp veloce

repo: veloce/cordova-plugin-stockfish


text:
Hey I got a few Icon request for the german market

I tried myself in making these icons, unfortunately I am not 100% I did everything right.
But here are some suggestions:
Lastschrift

A German Bank Transfer Logo named: Bank Überweisung

Hallo, EC ist bereits mit von der Partie (.pf-ec), Bank-Überweisung kommt demnächst! Bitte nächstes mal ein Logo/Issue zwecks Organisation ;)

authors: AlexanderPoellmann panploenes

repo: vendocrat/PaymentFont


text:
Failed to load next.config.js

How I ended up here

Cloned the repo
Added .env.local
cd site and yarn dev

.env.local 👇🏻
# Available providers:
# @vercel/commerce-local
# @vercel/commerce-bigcommerce
# @vercel/commerce-shopify
# @vercel/commerce-swell
# @vercel/commerce-saleor
# @vercel/commerce-spree
# @vercel/commerce-ordercloud
# @vercel/commerce-vendure
# @vercel/commerce-kibocommerce
# @vercel/commerce-commercejs
COMMERCE_PROVIDER=@vercel/commerce-vendure

BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
BIGCOMMERCE_STORE_API_TOKEN=
BIGCOMMERCE_STORE_API_CLIENT_ID=
BIGCOMMERCE_CHANNEL_ID=
BIGCOMMERCE_STORE_URL=
BIGCOMMERCE_STORE_API_STORE_HASH=
BIGCOMMERCE_STORE_API_CLIENT_SECRET=

NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN=
NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN=

NEXT_PUBLIC_SWELL_STORE_ID=
NEXT_PUBLIC_SWELL_PUBLIC_KEY=

NEXT_PUBLIC_SALEOR_API_URL=
NEXT_PUBLIC_SALEOR_CHANNEL=

NEXT_PUBLIC_VENDURE_SHOP_API_URL=http://localhost:4000/shop-api
NEXT_PUBLIC_VENDURE_LOCAL_URL=http://localhost:4000/shop-api

ORDERCLOUD_CLIENT_ID=
ORDERCLOUD_CLIENT_SECRET=
STRIPE_SECRET=

KIBO_API_URL=
KIBO_CLIENT_ID=
KIBO_SHARED_SECRET=
KIBO_CART_COOKIE=
KIBO_CUSTOMER_COOKIE=
KIBO_API_HOST=

NEXT_PUBLIC_COMMERCEJS_PUBLIC_KEY=
NEXT_PUBLIC_COMMERCEJS_DEPLOYMENT_URL=

Update:
• Ran yarn turbo run build
• cd site & yarn dev and now I get this 👇🏻
`source` does not start with / for route {"source":"http://localhost:3000/:path*","destination":"http://localhost:4000/shop-api/:path*"}

Try installing the dependencies using the following in the directory you installed yarn:
For commerce.js:
yarn workspace @vercel/commerce run build
For local:
yarn workspace @vercel/commerce-local run build
For anything else just switch out the @vercel/... for whatever package is missing.

Having the same issue

@tharakabimal see if this helps overriding the build command to cd .. && yarn build https://github.com/vercel/commerce/issues/681#issuecomment-1046152179

Spinning up a local dev environment was working for me 16 days ago, March 4, but I ran into this error today. @GoodChem's comment solved it for me!
yarn workspace @vercel/commerce run build
yarn workspace @vercel/commerce-local run build
yarn workspace @vercel/commerce-shopify run build

after cloning this repo, and yarn install  - the issue for me was that next.config was trying to importnode_modules/@vercel/commerce-local/dist which for some reason was not present (all other builds dist for eg. commerce-shopify were there).
running yarn build in packages solved this issue.

Still happening to me and none of the solutions worked for me. I spent only 2 hours trying to run this project locally. It runs on the vercel but can't get it working locally. Has this happened to anyone else recently?

Hey there! Thank you for opening this issue. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966

authors: GoodChem SpareShade frvnkhl gregonarash jenniferhail leerob philsmithies tharakabimal

repo: vercel/commerce


text:
feature: provide config.isIdle indicating idle state and stop revalidation

Description
give user ability to decide whether they want revalidation in some edge cases:

page transition on slow connection that revalidations can cause more errors
page is in background sometimes they don't want any revalidation

Changes

add config.isPaused()
stop doing revalidation on config.isPaused() is true

related discussion 841

@shuding Thanks for the nice feedback! I was thinking the paused state might be related to sth (like DOM state) out of react, i.e. swr can be paused when document.visible is false like isOnline.
will update PR by comments 🙏

But the behavior of this option is to pause requests right (everything will be skipped)?

yup, I've changed to config.isPuased() to let user add some condition like
isPuased() { return document.visibility === 'hidden' }

and add one more case in revalidation catch branch, which is ignoring the errors when promises are been rejected under paused state

Thanks, this is a good fix!

authors: huozhi shuding

repo: vercel/swr


text:
Docs: Add guide on managing dependencies in turborepo

Describe the feature you'd like to request
Hello, I know in some monorepos people are installing packages on the root package.json so they only have one place to specify required packages.
In other repos people are doing it not consistently like some packages are in root package.json and some in workspaces eg. mantine.
And others only install devDependencies in the root package.json eg. material ui
I know that you recommend to install everything in workspaces, but are there any things that should be "hoisted" to the root package like eg. devDeps, do you have any recommendations on that?
Describe the solution you'd like
You could provide some docs so people won't make mistakes about managing deps and willl have a clear vision how to do it from the start, something similar to the nx one but maybe more monorepo beginner friendly? 😄
Describe alternatives you've considered
https://nx.dev/concepts/integrated-vs-package-based

Thank you for adding this, I've linked this issue through a discussion board as well. Hopefully gains some traction with the turborepo team.

@anricoj1 do you have a link to that discussion?

Would love to see this as well

I know that you recommend to install everything in workspaces

Where is that discussed?
I've grown increasingly convinced over the past year that the TypeScript monorepos should move towards installing everything at the root of the monorepo. This is also what Nx recommends, at least for brand-new monorepos:

This strategy has a lot of elegance to it, as it makes working in the repo ultra-simple and rips out a ton of the crappy complexity that we had before:

You only have one node_modules directory, and it's at the root of the monorepo. The mental model here is super clean.

You you don't use the "workspaces" feature of the package manager whatsoever.  It's very annoying to have to remember to put in workspace-related command-line flags whenever e.g. adding a new dep. This brings parity between "normal" single-project repos and monorepos.

You don't have to worry about making somewhat-arbitrary distinctions between "ESLint-like" deps that should apply to the entire mono-repo, and "library-like" deps that should only apply to specific packages. Everything just goes into the root as a normal dep or a dev dep (in the same way that a normal/single repo does it).

Updating dependencies becomes ultra simple - you don't need some over-engineered monorepo tool to do it! You can just run conventional tools like npm-check-updates, and then after updating a single "package.json" file, you can simply run npm/yarn/pnpm install.

And checking for breaking changes after a new dep update also becomes easy. After updating, we can trigger a commit, and TypeScript will take over and let you know in CI in any of the new API changes broke one of your existing packages. Then we can revert the commit if needed, or continue to go on and make another commit to fix to the individual broken packages (or coordinate with those teams, if necessary).

In some monorepos, some packages are published to npm, so they need their own individual "package.json" files. Nx offers the option to automatically create package.json files, but sometimes you will want more control over them, and will choose to manually manage them yourself. (Does Turborepo have an analogous feature?) If you do manually manage "package.json" files, then you need an additional tool to propagate version changes downward from the root "package.json". With that said, even in this situation, I think it is preferable to use simple tools like syncpack to do this, rather than complicated tools like e.g. lerna. (syncpack is essentially just a glorified copy-paster, so even in this situation, we are still maintaining the simple mental model of how dependencies work.)

@Zamiell:

I've grown increasingly convinced over the past year that the TypeScript monorepos should move towards installing everything at the root of the monorepo. This is also what Nx recommends, at least for brand-new monorepos:

This is what I've been doing, for most of your reasons, but the approach seems to prevent me from testing and debugging within VSCode. See the discussion I opened.
Unless someone can tell me how to get this working, I'll be migrating me repo to package-level-only installations.

I agree with @Zamiell's point about preferring root-level dependencies. Here's why.
I installed my first Turborepo monorepo by following this wonderful tutorial, which initializes everything with npx create-turbo@latest, rips out the default apps, and then installs a new app via yarn create next-app.
Unfortunately, this left me with react, react-dom, and their typings at different versions between apps/myapp and packages/ui, causing compilation errors. It cost me some time to troubleshoot. I thought it much wiser to have the packages use single root-level versions of these dependencies than to try to manually keep the versions in sync between packages. I moved all my packages to the root.
I have not yet explored the downside of trying to publish packages under this approach.

While this root-level dependency approach works for fresh turborepo projects I think we need documentation around combining already existing projects into a turborepo mono repo.  This kind of scenario would contain projects with different versions of dependencies, so the approach of defining dependencies at the root level  doesn't work.

I've been experimenting with running and debugging tests in VSCode using root-level dependencies and am finding it a pain to get working. When I do get things working, I'm not happy with how it works. VSCode fundamentally requires a package-level node_modules, and symbolically linking to the root node_modules doesn't work for all package configurations.
So now I'm thinking that if you want to be able to run and debug tests from within VSCode, you should keep package dependencies within each package and only put dev dependencies at the root.
I'm now looking for ways to synchronize package versions. The syncpack tool should work with Turborepo, but I'm not sure I want to be dealing with this extra chore. On the other hand, Rush and Bit both automatically keep versions consistent.

I now have testing/debugging working from within VSCode despite putting all dependencies in the root.
I solved the problem by changing the VSCode extension I was using to run Jest tests. The vscode-jest extension does not require a local node_modules, while the vscode-jest-runner extension does.
However, both still require that you set up a a VSCode project.code-workspace file and open VSCode in workspaces mode.
So I think I'm going back to recommending installing all dependencies at the root level.

@patoncrispy Apologies for the late response but I've tracked down the discussion board I was referencing.
However, there hasn't been a response on it and the last message was from me on September 23, 2022 linking users to this thread.

any updates here?

any updates here?

Yes. I've spent months researching this issue, gaining experience, collecting notes, and writing a four-part article on managing dependencies in Turborepo and Nx, which I'll be publishing shortly. Follow me or JavaScript in Plain English to see the article when it finally comes out. I enumerate special considerations for React, Svelte, Vue, Jest, and VSCode.
There is only one right way to manage dependencies in Turborepo. I have come to understand that it was my reading about Nx that caused my confusion with Turborepo, as Nx is more flexible with dependency strategies. And you'll want to do so with pnpm to reduce issues (my article explains this too).
If you want Turborepo to rebuild (or perform some other task) whenever a dependency changes, you MUST isolate that dependency as a package within the monorepo and add a dependency on that package to package.json. If you rely on root-level dependencies, you will have to manually force a rebuild without the cache for any change, which is especially not advised if you're working on a team and need everyone to rebuild for the change.
So if you have a common tsconfig, jest config, eslint config, tailwind config, etc., and if you want any changes to those configurations to induce a rebuild (or retest, etc.), you'll need to make each of these configurations its own package and configure your projects to use these package configurations rather than strictly local configurations. (My article explains every detail of how to do this with the popular tools.)
The Turborepo example monorepos do exactly this for most tools, so you can degit or model these examples to create your own monorepos.
Also, with just minor additions to a Turborepo monorepo, the monorepo will also work with Nx (though the reverse isn't generally true). My article also covers this.

Hey everyone, I just finished my series on monorepos with Turborepo, also covering Nx for the case where they can both run on the same monorepo. Please let me know of any issues you find.
Sharing TypeScript with Turborepo and Nx

Hi @jtlapp, Can you please help with the turborepo issue I have?
I have several apps in monorepo and these are using different react versions.
These apps are coming from different repos, so using different versions make more sense.
But when I run npm install, dependencies are installed in both root and workspace directories, and makes some test scripts fail because of version incompatibilities.
I would like to install dependencies in only workspace directory for each app. Do you know how to achieve this?

RoyalDevGit

Hi @jtlapp, Can you please help with the turborepo issue I have? I have several apps in monorepo and these are using different react versions. These apps are coming from different repos, so using different versions make more sense. But when I run npm install, dependencies are installed in both root and workspace directories, and makes some test scripts fail because of version incompatibilities. I would like to install dependencies in only workspace directory for each app. Do you know how to achieve this?

I think this is off-topic for this thread, and I'm not sure I can help, but feel free to email me at arachnojoe@gmail.com to have this conversation.

FYI for those following along with this issue: I've got a new version of the documentation currently underway on the docs-new branch, including the guide being requested: https://github.com/vercel/turbo/blob/docs-new/docs/content/repo-docs/crafting-your-repository/managing-dependencies.mdx

I am getting the same issue in #4019. How are you guys able to solve it?

This guide is now live at https://turbo.build/repo/docs/crafting-your-repository/managing-dependencies.

authors: RoyalDevGit Zamiell aiampogi anricoj1 anthonyshew dlombardi jtlapp patoncrispy srivastavarnav szymon-99

repo: vercel/turbo


text:
write to csv

the output of the csv is not good (different time resolutions when coarsening)

solved in #65


text:
Data loss observed from ernemq to clients where clients doesn't have a clientID but uses the same username and password

To help us save time and help you faster
Before opening a new issue, please make sure that there isn't already an open (or closed/resolved) issue reporting the same problem. Please always open a new issue rather than posting to a closed one - but please reference the possibly related old issue.
Please do not insert images of text, but add the text instead.
Environment

VerneMQ Version:1.10.3

OS:AWS limed

Erlang/OTP version (if building from source):

VerneMQ configuration (vernemq.conf) or the changes from the default

Cluster size/standalone: standalone container

Expected behaviour
There shouldn't be a dataloss
Actual behaviour
Dataloss observed

Clients are using the shared subscription

@onrao could you be even more specific? what is data loss? how do you determine that?
how many shared subscribers, with what shared subscriber policy? have you tested with providing a ClientID vs no ClientID?

Hi ioolkos
Thank you for the reply,
We would like to understand the behaviour  of verneMQ when

There is no clientID in Connect request and client provides only registered username,password, keepalive session as 0, connect timeout as 60601000

2.We had this client application from 3rd party  which is enabling the Shared subscription with policiy  on topic filter "$shared/json//+/+/attrs"
When such two instances of the same client aplication is running Ideally because of the shared subscription by the clients ,VerneMQ should distribute based on the clients connected and session active conditions , Here we are seeing thedistribution of the subscribed topics properly inbetween we are loosing some published topics (10 to 20%)which are under this shared subscription topics.
Please find the docker configuration of VerneMQ is used
DOCKER_VERNEMQ_ACCEPT_EULA	yes
DOCKER_VERNEMQ_ALLOW_ANONYMOUS	off
DOCKER_VERNEMQ_listener.tcp.LISTENER.proxy_protocol	on
DOCKER_VERNEMQ_listener.tcp.proxy_protocol_use_cn_as_username	on
DOCKER_VERNEMQ_LOG__CONSOLE	off
DOCKER_VERNEMQ_LOG__CONSOLE__LEVEL	debug
DOCKER_VERNEMQ_MAX_INFLIGHT_MESSAGES	0
DOCKER_VERNEMQ_MAX_OFFLINE_MESSAGES	-1
DOCKER_VERNEMQ_MAX_ONLINE_MESSAGES	-1
DOCKER_VERNEMQ_persistent_client_expiration	never
DOCKER_VERNEMQ_plugins.vmq_passwd	on
DOCKER_VERNEMQ_USER_client1	client1
DOCKER_VERNEMQ_USER_client	client
DOCKER_VERNEMQ_OUTGOING_CLUSTERING_BUFFER_SIZE	100000

Closing this. For future readers: VerneMQ will assign a random ClientID for MQTT clients that connect without giving a ClientID.
This is not suitable for shared subscriptions (and persistent sessions), which need stable ClientIDs.

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

authors: ioolkos onrao

repo: vernemq/vernemq


text:
How to read epub in async mode?

I try to read epub in UWP with the following code.
But get the Exception:
System.InvalidOperationException: 'Synchronous operations should not be performed on the UI thread.  Consider wrapping this method in Task.Run.'
public async void test()  {    EpubBook epubBook = await EpubReader.ReadBookAsync("C:\test.epub"); }

Are you sure this is the right way to access files in UWP? Could you try to open this file directly using UWP without the EpubReader library?

Closing due to inactivity.

repo: vers-one/EpubReader

license: unlicense


text:
Failed to login as admin/admin

I have run the following command and seen the application on the host.
$ docker-compose -f versioneye-base.yml up -d
$ ./versioneye-update
After entering the API key succesfully I get the login screen that tells me to login with admin/admin.
This fails with the following error: Invalid email/password combination.
Am I missing a step?

No, you don't miss a step. You found a bug 👍  Up to know I was setting up the instances for VersionEye Enterprise with an Ansible playbook which also did some initialization of the database. That step is missing in the Docker Compose setup. I have to think about it how to bring it tin.

@kyuff You can init the database with this command:
docker exec -it tasks /app/init_enterprise.sh

That assumes that ALL VersionEye Docker Container are up and running successfully.

I just added a note to the README about initializing the database.

authors: kyuff reiz


text:
Add Jupyter notebook examples

Description
Jupyter with Spark ML or PySpark is a common use case for our users. We should look into best practices on sharing Jupyter notebook as part of the examples on the repo. This should include instruction on how to connect a Jupyter environment to a Spark-Vertica environment.
Should try to pull in connector dependencies from maven
Reason: Helps with adoption and reduces time to get started with Spark connector.

Also looking at existing Vertica examples to keep the demo experience consistent across offerings.  For example, see the Vertica Linear Regression example here.

authors: Aryex jeremyp-bq

repo: vertica/spark-connector


text:
Depot volume is not expanded when local.requestSize is changed

In production we are often required to expand depot volume for already existing and running vertica database.
Since Depot pvc is managed by statefulset created by vertica operator, we tried to expand it by increasing local.requestSize.
This didn't work:
2022-07-12T07:41:18.503Z	INFO	controllers.VerticaDB	aborting reconcile of VerticaDB	{"verticadb": "vertica/vertica-cel-1", "result": {"Requeue":false,"RequeueAfter":0}, "err": "StatefulSet.apps \"vertica-cel-1-defaultsubcluster\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden"}

Since depot pvc and statefulset are managed by vertica operator, it should provide a way of expanding depot size to remediate issues like this:
Volume [/depot/celonis/v_celonis_node0001_depot] has insufficient space

thanks for the detailed answer @spilchen
Unfortunately patching PVC manually is not a good option for us as we follow gitops.
We would also need to change PVC template in STS and requestSize anyways so in the event of upscale or creating new subclusters we also have an adequate new PVC size.
Also expanding PVC for depot w/o updating storage location has no effect unless its size is recalculated with alter_location AFAIK. It would be also great if operator could handle it automatically.

Thanks, this is the context I was looking for.

authors: spilchen vyaslav

repo: vertica/vertica-kubernetes


text:
Is x === Option::None the same as x.is_None() in spec/proof code?

Hi Verus team,
I see there are many examples using is_None/is_Some for Option type but I didn't find their definition.
I am just wondering is x===Option::None exactly the same as x.is_None() when used in spec/proof code?
Besides, I find get_Some_0 very handy. And I am wondering what would happen if we call it when x is actually None?
For example
if x.is_None() {
  x.get_Some_0() ...
}

Yeah, x.is_None() is the same as x === None.
If x is None and you call get_Some_0() it just returns an arbitrary value.

Just realized I missed one of your questions.
These 2 functions are generated from the #[is_variant] attribute. You can apply it to any enum definition.

authors: marshtompsxd tjhance

repo: verus-lang/verus


text:
[debezium] Bump up Debezium version to 1.2.1.Final

There is a known issue in Debezium 1.2.0.Final which has been fixed and released in 1.2.1.Final, see https://issues.redhat.com/projects/DBZ/issues/DBZ-2278.
It would be great to bump up the version and release a bugfix version flink-cdc-connectors 1.0.1.

Fixed in 1f73211e36f5da3442fed3fb19974c7f4c0b5892

repo: ververica/flink-cdc-connectors


text:
br: the graph service must be restarted after the restoration process

After restoration, on nebula-console, I can see the new graph space ("nba") from the backup file. But when I ran USE nba, no graph space was found. I restarted the graph service and then all the data can be queried as expected.

Hello, this problem is caused by the synchronization of schema information and meta, you can wait for a period of time and then the schema synchronization can be used.

repo: vesoft-inc/nebula-storage


text:
最短路径操作是否可以在可视化界面直接操作，不要先在console执行命令再可视化展示？

https://github.com/vesoft-inc/nebula-web-docker/pull/169/files
这样的操作流程太过割裂了，这个console命令用explore也是可以拼装出来的。

这个可以的，目前的流程开始来是 Console -> Explore 的便捷操作，我们单独在Explore交互下增强下探索的选择：子图，应该就ok了，相当于增强Explore本身的图探索功能，两者我理解都应该存在。

是的。

嗯，这个找时间加一下，预计在2.0连接兼容以后吧🤝

fixed in explorer

authors: hetao92 nianiaJR whitewum

repo: vesoft-inc/nebula-studio


text:
Special tokens support

As mentioned on gitter, I am trying to query data (with a yql), to find all documents that match the string "&Free".
The exact query I'm executing is:
"SELECT text_raw FROM sources post WHERE text_raw CONTAINS '&free';"
This query only filters documents that contain the string "free", not "&free".
The specific use-case for this is that I am looking for brand names within documents.
Vespa version: 7.165.5

Is the use case here that "&free" is a proper name that you need to match?

Yes, correct

Please see match modes https://docs.vespa.ai/documentation/reference/search-definitions-reference.html#match. Default for string fields is text which implies tokenization where punctation characters are removed.

I think this is to make "special tokens" work independently of the linguistics plugin then. I'll try to find some time somewhere to do that.

Yes that would be great if we could use an escape, for example "\x##" to get an exact match of the string. Cheers!

That's no problem but doesn't solve the problem because the engine need to decide at wqrite time what tokens to index.

soon timed out

authors: baldersheim bratseth jeffkayne jobergum

repo: vespa-engine/vespa


text:
Remove redundant logging

There is another info message produced elsewhere on session activation with more detail

This message is produced on all config servers in a cluster, the other message only on the config server that receives the HTTP  deployment request (if it is the one I think you refer to), so it is useful. But I am working on getting rid of remote sessions and this message altogether...

Yes that's right, ok

authors: bratseth hmusum


text:
Upgrade questdb 6.2 -> 6.3.1

@bjorncs PR

Newest minor version is 6.7 (https://central.sonatype.com/artifact/org.questdb/questdb/6.7/overview). I believe the non jdk8 suffixed version should be used instead as it's targeting JDK11.

authors: baldersheim bjorncs


text:
allow inputs { query(foo) string }

@bratseth please review
not really sure how useful this is, the effect is the same as if the input was not declared at all.

@bratseth please take another look now
@hmusum FYI - handles SD with "long" now

Was there something with demanding newline breaking something that needs to be handled before merging?

I think we can merge this, the integration test failed with:
`Failed parsing rank-profile from 'related_articles_factual_grade.profile': Encountered "  "long"" at line 4, column 41.
Was expecting one of:
"\n" ...
<TENSOR_TYPE> ...
"}" ...
":" ...
"double" ...
At position:
query(storyRecentSpikeStartTime) long: 0`
and handling long seems to be covered by this PR.
If there are still issues the integration test should cover that as well.

authors: arnej27959 bratseth hmusum


text:
Revert "Revert "- Use C++11 for loops.""

Reverts vespa-engine/vespa#3454
@balder fix

Will be superceed a bit later


text:
Balder/prevent large adjustments

@geirst PR
@havardpe FYI

typos fixed and test added.


text:
[RSDK-1071] extract painted surface to pcd

Uses the PaintMap functionality in cartographer to generate a PCD file with probability information included. Currently has a limitation on how fast a PCD can be sent due to using paint map and possibly other inefficiencies in the code.
Assumptions for PCD generation:
RDK expects a 2D map to appear in the XZ plane
Positions generated from pixels are translated+rotated to match the GetPosition output, but are then rotated onto the XZ plane.
Probability is writted to the rgb channel on a scale of 1-100, where 100 assumes that cartographer thinks the object is an obstacle.
pixels with a probability of 0 or an rgb value of [102,102,102](or an int value of 6710886) are filtered out from the PCD file
Jira: RSDK-1071
due to an issue with RDK's PCD viewer, a PCD may not consistently load. This issue is currently present with the previous implementation of GetMap and a ticket has been filed to look into it https://viam.atlassian.net/browse/RSDK-1807

here is the current map when viewed through a different pcd viewer

Reduced the resolution and spam refreshed the map until RDK was able to load the pcd in the viewer

output from my desk in live mode after sliding the lidar around for ~30 seconds

Theres a few comments I have not fully addressed yet because I want to investigate them abit more(flipped map, struct format, error handling for GetLatestPaintedMapSlices), but all others should have my current answer to them

To confirm, with the changes to rotate the position by pcdRotation, the map and robot marker drawn by rdk now have the orientation you expect? After this question, I'm ready to sign off (mod remaining comments).

tweaked the math because I had a typo when initially setting up the rotation. Also added an offset to ensure the orientation is about the Y-axis, which corresponds with the shift to the XZ plane

repo: viamrobotics/slam


text:
🛑 SC storefront productend is down

In a7a947d, SC storefront productend (https://shop.line.me/@024azltq/product/319384970) was down:

HTTP code: 404
Response time: 1070 ms

Resolved: SC storefront productend is back up in 91c973f after 1 minute.

repo: vichaos/upptime


text:
Mounting Google storage bucket or folder

Is it possible to mount Google Cloud  Storage bucket or folder using DokanCloudFS ?  The gdrive schema seems to connect to Google Drive which I understand is very different from Google Storage.

Hi @jodonya,
there is no explicit support for Google Cloud Storage in DokanCloudFS.
Unless I am grossly mistaken, Google Cloud Storage falls short of the 10 GB free storage volume requirement formulated by the CloudFS library in Supported Cloud storage services.
You're welcome to give it a try, but I'd be surprised if the Google Drive API worked for Google Cloud Storage.

If there were some funding (read donation) from a couple engineers, would it possible (ie acceptable from licensing standpoint as well as not too complicated technically) to implement a version of the Google Drive API that would instead work with Google Cloud Storage?

There is certainly nothing license-related that would prevent a Google Cloud Storage gateway within the CloudFS library. A Google Cloud Storage gateway would not replace the existing Google Drive gateway, however, but be an additional option.
As to the technological complexity I can't really say if this would be hard to implement because I haven't yet looked into the GCS architecture. If the relevant API library is well maintained - which I'd expect from prior contact with Google APIs - and the storage layout is not too far removed from a traditional file system there shouldn't be much of a problem. Authentication could be tricky, though, unless it's the same encapsulated OAuth scheme used in Google Drive.
The greatest obstacles to my engaging in the development of any given gateway are the outright lack of a free account plan (GCS, AWS), an unstable signup procedure (Baidu), or an unattractive free account model (DropBox). If there is enough stated interest from the community, all of these can be overcome.

Excellent. I'm glad to hear that there is no licensing related issues. And
yes, apologies for my quickly written email earlier: I've course realize
that any Google cloud storage library would be a separate library from
Google Drive gateway, but what I meant to imply is that it's possible that
it ends up being a very very similar API. (When I took an extremely
extremely quick cursory view yesterday, it appeared that the APIs were
similar, at least if one uses the rest API; however, the Google cloud
storage provides a .NET API, so my understanding is that would be the
preferred API language for DokanFS.) With respect to the authentication, I
am 99.5% sure that he uses the exact same type of OAuth  authentication
that Google drive uses. (A quick cursory look at their .NET  examples of
how to access Google cloud storage shows the use of the "credential"
object. That said, it would be great if we could pass said an actual
id_token,  since we would received it from a separate application and so we
can stick that string value into the XML configuration file and in this way
remove an unnecessary relogging in.)
I believe we can help fund this effort for the community and I am 99% sure
that the community would benefit from it. (I did take a cursory look, and
though Google cloud storage doesn't provide 90 free days, I think they
provide 60 days free as part of the  Google cloud platform trial etc. In
any case, we are happy to fund it since we need it for our own efforts and
I am still certain that many many other users, especially developers trying
to build a solution, would find it useful.) Is this something that you
would be able to work on in the short term? Even if you could just
prototype it, we could probably clean it up from that point onwards and
give back our efforts to the community.
Thanks in advance, ViciousViper.
On Tue, Sep 13, 2016 at 4:43 PM, viciousviper notifications@github.com
wrote:

There is certainly nothing license-related that would prevent a Google
Cloud Storage gateway within the CloudFS library. A Google Cloud
Storage gateway would not replace the existing Google Drive gateway,
however, but be an additional option.
As to the technological complexity I can't really say if this would be
hard to implement because I haven't yet looked into the GCS architecture.
If the relevant API library is well maintained - which I'd expect from
prior contact with Google APIs - and the storage layout is not too far
removed from a traditional file system there shouldn't be much of a
problem. Authentication could be tricky, though, unless it's the same
encapsulated OAuth scheme used in Google Drive.
The greatest obstacles to my engaging in the development of any given
gateway are the outright lack of a free account plan (GCS, AWS), an
unstable signup procedure (Baidu), or an unattractive free account model
(DropBox). If there is enough stated interest from the community, all of
these can be overcome.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/viciousviper/DokanCloudFS/issues/22#issuecomment-246817518,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANp9sDMgAzpegdNWlNbhxjbY8-I97BlOks5qpwr_gaJpZM4J6x5H
.

--
*Gautam Saxena *
President & CEO
Integrated Analysis Inc.
Making Sense of Data.™
Biomarker Discovery Software | Bioinformatics Services | Data Warehouse
Consulting | Data Migration Consulting
www.i-a-inc.com http://www.i-a-inc.com/
gsaxena@i-a-inc.com
(301) 760-3077  office
(240) 479-4272  direct
(301) 485-7364 fax

Hi again,
done some research and it definitely looks doable based on the available APIs.
It's true that Google offers 60 days "free" usage of their cloud services capped at 300$ pseudo-money. They still require registration of credit card details which I'm not prepared to disclose to them.
Before I go any further there will have to be a way of accessing GCS without surrendering all kinds of personal info - via a preexisting account maybe.
We should probably take the rest of the discussion someplace else - contact me at GCSFS@emailn.de if you like.

authors: gsaxena888 jodonya viciousviper

repo: viciousviper/DokanCloudFS


text:
Not needing to define the value and onChange props

What ?
For an external user, not needing to define value and onChange props of the MuiTelInput component.
Why ?
For a user that doesn't want to control the value everytime it changes - but only on submission - to lighten the code.
Example
Someone developing a form with a field corresponding to the phone number, the access to the value is only needed at the form validation.
On my opinion, we should be able to do something like:
import { FormControl } from "@mui/material";
import React, { FormEvent } from "react";
import { MuiTelInput } from "mui-tel-input";

const MyComponent = () => {
  const handleValidate = (event: FormEvent<HTMLFormElement>): void => {
    event.preventDefault();
    const data = new FormData(event.currentTarget);
    const phoneNumber = data.get("phonenumber");
    // ... do anything with the value
  }

return (
  <FormControl
    component="form"
    onSubmit={handleValidate}>
      <MuiTelInput name="phonenumber" />
   </FormControl>
  )
}

How ?
I didn't dig that much in the source code, but I would guess that a default value for the value/onChange props would do the trick.

Hey @Doreapp !
I agree that this allows for lighter code in your application, but, the library was not designed to be uncontrolled. Just like many libraries with custom inputs.
I'll reopen the issue if it's really a big pain for the community, but it would require a lot of work.

authors: Doreapp viclafouch

repo: viclafouch/mui-tel-input


text:
add workflow

add ci-cd (deploy & test)

close because of ci-cd failure


text:
removed /

Just started using this great theme, after deploying the website live I found out I get /fonts/fontawesome-free/webfonts//fa-* errors. After removing the trailing / in $fa-font-path no more errors.
Maybe it's just my setup or not the right way but this fixes the problem.

Thank you both!

Thank you both!

repo: victoriadrake/hugo-theme-introduction


text:
Include an option to remove the navigation menu

The PR includes an option to show/remove the navigation menu if necessary (Resolves #339)
It adds an if statement in the layouts/partials/nav.html, without displaying the navbar if it evaluates to false.
It also adds some information about the new option in the README.md file, and updates the config.toml file in the example site.

This comment is just a reminder that I'm still interested in getting this feature into the master branch, and removing the https://github.com/victoriadrake/hugo-theme-introduction/labels/no-activity label from the PR.


text:
Wrong documentation

https://github.com/viercc/coercible-subtypes/blob/f8a80e508ce2847441c1f1a94925c08ba308a3a8/src/Newtype/Intersection.hs#L61

Resolved in 761f1f0df06860abe0fd1442d7d255e241ce98fe

repo: viercc/coercible-subtypes


text:
64bit self compile try

I did it like announced here: http://www.appcelerator.com/blog/2014/11/alpha-version-of-titanium-sdk-64-bit-support-now-available/
and here
https://jira.appcelerator.org/browse/TIMOB-18065
But the architecture remains to "armv7 i386"
Do you/anyone have an idea?

@viezel: https://github.com/viezel/TiSocial.Framework/commit/6683224e35f618435cd6aac550b24c4c25f71391#commitcomment-9217406

So... the build.py was not correctly?

you did almost the right thing, but since some modules are very old, the default settings are not enough, you need to explicit show which arch you want:
https://github.com/viezel/TiSocial.Framework/commit/6683224e35f618435cd6aac550b24c4c25f71391#diff-47fcb586479148dd2bc04ee5ac19194eR277

Thanks. I will have a try

Which settings are this in xcode?

http://cl.ly/image/0I093V0G3M3n

Got it. thanks for your help.

What matters is the archs.. Nvm the build.py.

authors: FokkeZB caspahouzer viezel


text:
Update http4s-dsl to 0.23.12

Updates org.http4s:http4s-dsl from 0.23.11 to 0.23.12.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s", artifactId = "http4s-dsl" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #193.

repo: vigoo/zio-aws


text:
improved user details page Ui

I have created a details.css file to design the user details page
I made some changes to details.html, like adding fontawesome cdn, etc.

You have done a great job @syprogrammer
I appreciate for your work.
Best wishes for your future.
Keep contributing.

You can Add your profile as well and raise a new PR.

authors: syprogrammer vijayyprajapati

repo: vijayyprajapati/Share-Your-Bookmarks


text:
function expressions

Thus far the calculate transform is mostly useful for string concatenation and can't yet do any meaningful math or other logical evaluations. With that said, it's easy enough to look for values that map to functions that don't take any parameters and substitute those values – "random()" becomes () => Math.random(), and so on.

This will mostly be useful for jittering points based on "random()".

repo: vijithassar/bisonica


text:
[vike][Wrong Usage] Can't access pageContext.pinia on the client side. Because it can't be serialized, see server logs.

Description
chunk-B8FgST7x.js:2 Error: [vike][Wrong Usage] Can't access pageContext.pinia on the client side. Because it can't be serialized, see server logs.
at w (chunk-DIG79TLW.js:1:1502)
at ae (chunk-DIG79TLW.js:2:954)
at Object.get (chunk-B8FgST7x.js:1:16082)
at op (chunk-BxOFPIm6.js:2:103)
at chunk-BxOFPIm6.js:18:13078
at Array.map ()
at An (chunk-BxOFPIm6.js:18:13043)
at xp (chunk-BxOFPIm6.js:18:14464)
at chunk-B8FgST7x.js:2:9396
at chunk-DIG79TLW.js:2:2638
**"vike": "^0.4.193",
"vike-vue": "^0.8.3",
"vike-vue-pinia": "^0.1.1"**

Can you provide a minimal reproduction?

https://github.com/amumufun/vike-pinia-demo.git
Reproduction steps: After running, click to switch to the about page, and then click the Home link on the about page.
Related to +data.ts

Fix released in vike-vue-pinia@0.1.3.

authors: amumufun brillout

repo: vikejs/vike-vue


text:
Not working right now

nepi-jano stopped working about a week ago. Since it still works if you load the s.sme.sk with the article ID manually, I suppose just a small and simple fix will be enough to get it working again.

Please what is your add-on version and URLs that do not work? I tested from my end and all works fine with the latest version in Firefox.

I have just checked and it works with Firefox 47, but does not work with Firefox 45.0.2, both with nepi jano version 1.2.2
Same URL http://domov.sme.sk/c/20194001/lesko-ak-kalinak-zvladne-basternaka-zvladol-by-aj-vrazdu-v-priamom-prenose.html?ref=tit

I have retested on my latest FIrefox 47 and Firefox ESR 45 and it works fine. The ESR version reguired restart for the add-on to work however. Do you still experience an issue or may I close this one?

It works after restart, I haven't realised that I haven't restarted since the new version has been released, thank you.

Nepijano doesn't work on firefox 50 developer edition, but works on firefox android 50 and 51. Chrome without problem.

@Buntaci It works fine for me. Please provide more details such as the non working URL for further investigation.

authors: Buntaci Dehumanizer77 viliampucik

repo: viliampucik/nepi-jano


text:
Vscode Neovim runner.

Hi,
Thanks for this amazing plugin. I use Neovim in VS Code  and wrote a simple runner for it.
Please add into the plugin.
if vim.g.vscode then
    -- Custom vim-test Strategy for VS Code Terminal
    -- Runs test commands in the VS Code terminal when using Neovim in VS Code.
    -- Focuses the terminal, clears it, and sends the test command.
    vim.cmd([[
        function! VSCodeStrategy(cmd)
            " Optional: Focus the VS Code terminal
            " call VSCodeNotify('workbench.action.terminal.focus')
            " Clear the terminal
            call VSCodeNotify('workbench.action.terminal.sendSequence', {'text': "clear\n"})
            " Send the test command to the terminal
            call VSCodeNotify('workbench.action.terminal.sendSequence', {'text': a:cmd . "\n"})
        endfunction

    let g:test#custom_strategies = {'vscode': function('VSCodeStrategy')}
    let g:test#strategy = 'vscode'
    ]])
else
    vim.g["test#strategy"] = "vimux"
end

Hi! Thank you for contributing, you can use https://github.com/vim-test/vim-test/pull/766 as a guide for adding a new strategy to the repository. You are most of the way there, just make sure you adhere to code organization and style.
I suggest taking a look at it and https://github.com/vim-test/vim-test/pull/770 to see which options can be reimplemented in your strategy. I would suggest naming it neovim_vscode for consistency.

repo: vim-test/vim-test


text:
After opening the terminal and a file, you have to close the file two times.

Describe the bug
If you open a text file, and you also open a vertical split with the terminal, you have to issue twice the command to close the text file.
To Reproduce

open vim (works also with vim --clean)
type "vertical terminal"
run a process in the terminal (for example open a file using "less"), but I've noticed that it happens also if you let the terminal sit idle.
open a text file in the first split (not the one with terminal)
wait a while (maybe 10 minutes)
close the text file
close the terminal typing "exit"
now, and this is wrong, vim opens again the already closed text file...
close again the text file because it didn't close in step

Expected behavior
After step 7, vim should go back to the start screen, it makes no sense to open again the last opened file. In my case the start screen is Startify, but this happens also with "vim --clean".
The bugs happens also if you open the text file before opening the terminal, inverting steps 3 and 4.
Environment (please complete the following information):

vim 8.1-473
OS: ubuntu 18.10
terminal: GNOME terminal 3.30.1 Using VTE version 0.54.1 +GNUTLS -PCRE2

Yes, in this case it should close the tab page or exit Vim.

Is it now intended that doing e.g.
:terminal ++curwin ++close git log
in a single-window session causes vim to exit when the subprocess exits?  I was using this kind of idiom as a better alternative for :! git log etc.  Is there any way to restore this original behavior?  I'd want the terminal to exit when the subprocess exits, but I'd like it to behave just as if a buffer was closed in that I'd like to go back to the most recent opened buffer.

We have ++close and (not ++close). Maybe we should have ++return as well

Is it now intended that doing e.g.
:terminal ++curwin ++close git log
in a single-window session causes vim to exit when the subprocess
exits?  I was using this kind of idiom as a better alternative for :! git log etc.  Is there any way to restore this original behavior?
I'd want the terminal to exit when the subprocess exits, but I'd like
it to behave just as if a buffer was closed in that I'd like to go
back to the most recent opened buffer.

How about using :terminal ++rows=999 ++close git log
The previous behavior was a bit strange, in that it would go to some
other buffer.
--
You have heard the saying that if you put a thousand monkeys in a room with a
thousand typewriters and waited long enough, eventually you would have a room
full of dead monkeys.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Using ++rows=999 instead of ++curwin works for me -- thank you!

authors: GianniGi andymass brammool pppalka

repo: vim/vim

license: Vim


text:
Feature Request: Repeat last saved/used macro with dot

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Currently macros are executed (and repeated) with key different than dot . (one character), namely @@ (two characters). This is not in line with vim's convention of . repeating last action.
Describe the solution you'd like
If macro is saved, make it repeatable with .. For example to quote (while reviewing changes) all hello words in document:
/hello<CR>qqi"<Esc>wi"<Esc>n.n.n.n.n.n.n.n.n.n.

Also one can select different macro to repeat, like so:
@w..........

Describe alternatives you've considered
Some hacks from stack overflow, but they have many issues:
https://vi.stackexchange.com/questions/11210/can-i-repeat-a-macro-with-the-dot-operator
Most notably . repeats just last command from macro, not whole macro..

I don't think this can be done in a way it is backwards compatible.
Perhaps if instead of @w another command is used to execute the register.  q@w ?

How about q. for starting recording macro that can be repeated with .?

That would mean the register has a special type.  And there are other ways to fill a register.
This the executing has to be done differently.

Register that serves as a way to marks commands that are repeated with . sounds actually perfect. After all that's why most people have https://github.com/tpope/vim-repeat installed

authors: brammool sheerun


text:
Vim9: should a colon always be parsed as a delimiter between indexes in a slice?

Consider this Vim9 snippet:
vim9script
def Func()
    var l = [1, 2, 3, 4, 5]
    var x = 1
    var y = 3
    echo l[x:y]
enddef
defcompile

It raises E1075:
E1075: Namespace not supported: x:y]

I'm not sure the error message is easy enough to understand what is wrong with the code.  Usually, the way I fix these kind of issues, is by adding a space:
# before
echo l[x:y]

# after
echo l[x :y]
        ^

Which gives:
vim9script
def Func()
    var l = [1, 2, 3, 4, 5]
    var x = 1
    var y = 3
    echo l[x :y]
enddef
defcompile

✔

But I've always found this awkward.  Would it make sense for Vim9 to always parse a colon as a delimiter between 2 indexes inside a slice?  If one of the index is a variable with a prefix including a colon (e.g. b:name), then to remove any ambiguity the latter could be doubled:
              delimiter between the two indexes in the slice
              v
echo l[b::name:123]
        ^^
       delimiter between the buffer namespace and the "name" variable in that namespace

This way, the first snippet would not raise any error anymore.  And if someone uses a variable with a b:, g:, w:, ... prefix, without doubling the colon:
echo l[b:name:123]
        ^
        ✘

an error would be raised such as:
E1234: too many ":" delimiters in slice

Note that the original snippet raises an error only in a :def function, not at the script level, which is inconsistent:
vim9script
var l = [1, 2, 3, 4, 5]
var x = 1
var y = 3
echo l[x:y]

[2, 3, 4]

With the suggested change, the code would work both in a :def function, and at the script level, which would be more consistent.

The other benefit is that the code would be more readable.  Right now, when we read a colon inside a slice, we have to check what comes before to determine whether it's a delimiter between indexes, or whether it's part of a variable name.  With the suggested change, a colon would always be a delimiter between indexes; and 2 colons would always be a delimiter between a scope and a name.

Here is another example, where it's currently not obvious what is wrong, and which could benefit from the suggested change:
vim9script
var s = 3
var line = 'abcdef'
echo line[s:]

E731: using Dictionary as a String

A newcomer to Vim9 might wonder what is wrong, and why Vim talks about a dictionary in the error message.  And while I do know why "Dictionary" is mentioned, I'm not sure why Vim refers to "String"; in a string slice, we typically use numbers, not strings, to index some bytes (legacy) or characters (Vim9).

Here is yet another confusing example.  This snippet works:
vim9script
var c = 3
var line = 'abcdef'
echo line[c:]

def

This one does not:
vim9script
var l = 3
var line = 'abcdef'
echo line[l:]

E121: Undefined variable: l:

Which does not make sense since l: is not a valid scope in Vim9 script.
Same thing with with a::
vim9script
var a = 3
var line = 'abcdef'
echo line[a:]

E121: Undefined variable: a:

Not to mention that – so far – across all those snippets, 3 different error messages are given (E1075, E731, E121), which all result from the same underlying issue: a single colon is too ambiguous in a slice.

There are probably many more ambiguous situations.  Since the test left and right of the colon is an expression, it's hard to impose restrictions on them.  The simplest solution would be to require white space before and after the colon used for the range.
The syntax originates in Python, which does not use a colon for a namespace, thus doesn't need this restriction.

authors: brammool lacygoill


text:
[runtime, bash.vim] add shDblParen to shLoopList

This should allow code such as:
declare -i i j
for i in foo bar
do ((j = 1 << j))
done

to parse correctly

Thanks,
does that need to be in an condition  exists('b:is_bash')? Or in other words, is this plain posix shell syntax or only valid for kornshell/bash?

Thanks, does that need to be in an condition exists('b:is_bash')? Or in other words, is this plain posix shell syntax or only valid for kornshell/bash?

Not sure.
The following script:
for i in 1 2 3
do
   ((j = 1 << i))
   echo $j
done

seems to work fine when bash is given the --posix option, so my guess is it's fine.  I suppose to be sure we'd have to consurt IEEE 1003.1

Well, it seems dash doesn't know (( expression )) but only $(( expression ))

Well, it seems dash doesn't know (( expression )) but only $(( expression ))

Better safe than sorry, then.  I'll add an other commit.

thanks

authors: chrisbra grondilu


text:
trigger CompleteChanged even no match item when completion active

Problem:
after add new leader and when is no matched items (compl_match_array is NULL) , vim doesn't fire any events.
Solution:
when completion is actived and no item matched.  still trigger CompletChanged event

Hm, the test seems to succeed even without your code changes?

yup sry for confused. should be fine now.

thanks!

authors: chrisbra glepnir


text:
lua moonjit support

Support building with moonjit which is a fork of luajit:
https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk .

Hmm, that gives confusing output.  I'll re-order that a bit.  Please check when the patch is out.

authors: brammool shlomif


text:
Generate quiz short URLs

We need to generate short urls for quiz to point user directly to the quiz.

short urls genrated.

repo: vinaymavi/interactive-training


text:
Patch Mellanox OFED with mlnxofed-patch

This PR adds mlnxofed-patch to patch it.

[!NOTE]
MLNX is not yet supported, but the patch is already available so we won't forget about it in the future.

I forgot to mention this before so I'll now. I put it under "throw" on purpose because OFED is not supported yet.

I'm not sure this is a good implementation. Maybe the patch should be absorbed by the system but just "wgetting | bash" is not good, it does not add predicability and will eventually break.
I don't know how to properly implement this addition but I know that's isn't the way.
Perhaps we should host our own patched repository, so this would eventually became just a repo addition.

authors: lbgracioso viniciusferrao

repo: viniciusferrao/cloysterhpc


text:
Client and server mismatch

Hi
I'm using the build solution and everything appears to work OK except that I am getting an error that the client and server don't match:
react_devtools_backend.js:6 Warning: Prop href did not match. Server: "/products" Client: "/en/products". This is my setup (currently only using one language):
"allLanguages": ["en"],
"defaultLanguage": "en",
"currentPagesDir": "pages_",
"finalPagesDir": "pages",
"localesPath": "locales",
"defaultLangRedirect": "root",
As I'm using defaultLangRedirect, I don't see the /en on the href attribute on the client - could it be that on first render it has this attribute before it is corrected to the default language subsequently?

Are you using Link component from next-translate/Link? Could you share your /products page code?
Currently in our example, we also are using "defaultLangRedirect": "root" together with <Link /> and we don't have this warning.
Which version of next-translate & next are you using?

Thanks for the quick reply. I actually realised I was using i18nprovider in a component wrapper higher in the tree in _app, which may not be recommended usage so I've switched it off for now while I try to get my head around options here.
However, I still have one outstanding issue inside Component with next-translate/Router:
Router.pushI18n( '/products/[...products]', '/products/running-shoes/2', {shallow: true});
// tries to load '//products/running-shoes/2' -> should load '/products/running-shoes/2'
If I switch to   "defaultLangRedirect": "lang-path" I get the same result, and also in all combinations of adding /en to the front of the href and/or as path, as well as removing the preceding slashes, though I believe they should be there. The documentation doesn't include any examples using 'as', is this supported?
Versions:
"next": "^9.3.5",
"next-translate": "^0.16.1",

authors: aralroca tomgreeEn

repo: vinissimus/next-translate


text:
Service errors throw panics

The init process should never panic, especially on something like this
Any error should be sent to logs/startup

Few issues:

Some errors are absolutely stop the world. For these, though, we shouldn't panic but drop into a shell
We shouldn't log directly, but add them to a chan where we can (at least) write to a log file and console
If a service file is badly formed, we should error and skip (on boot up).

repo: vinyl-linux/vinit


text:
SDK package version number should change with feature changes

At the moment, the sdk package version is a constant "0,0,2" in the file "src/Vircadia.ts" and the NPM package version in "package.json" is "0.0.1".
The accessable sdk version should somehow be set from the NPM package version
Additionally, the sdk version should change as features change. Particularly when there are protocol changes or API additions.

The SDK package version is still not being updated. There have been bug repair and feature addition PRs merged but the version number is still 0.0.5. A PR merge should bump the package version number!

Version number was set for the 2022.1.0 release and has been incremented to 2022.1.1 for the new development work and the next release.

authors: Misterblue ctrlaltdavid

repo: vircadia/vircadia-web-sdk


text:
Pass rotation along position and guid when delegating custom Spawn and Unspawn

Hello,
Following the explanation in this link:
https://mirror-networking.com/docs/Guides/GameObjects/SpawnObjectCustom.html
I'd like to have the ability to pass extra parameters (Like rotation, or a netID that belongs to the owner) in spawner and unspawner when registering the delegation.
(I hope my English is understandable)

Fixed by #1215


text:
breaking: fix: Weaver replaces [SyncVar] with SyncVar internally. IMPORTANT: old Inspector configured values for [SyncVars] will all be lost once (fixes #2939)

Fixes #2939
======= REOPENED =========
there might be solutions to make this even easier to use.
TODO

player.target == monster and != null: on master!

hook must be static? do what we do for SYncLists
fix david test
fix invalid IL when having a SyncVar test = 42  because weaver still tries to pass hook to ctor. needs to do .Callback.

User Code for [SyncVar] int
    public class Test : NetworkBehaviour
    {
        [SyncVar(hook=nameof(OnChanged))]
        public int health = 42;

        void OnChanged(int oldValue, int newValue) {}

        void Usage()
        {
            health = 1337;
            int test = health;
        }
    }

Weaver generated [SyncVar] (OLD):
NOTE: previous GameObject/NetworkBehaviour/NetworkIdentity was even more complex.
public class Test : NetworkBehaviour
{
    [SyncVar(hook = "OnChanged")]
    public int health = 42;

    public int Networkhealth
    {
        get
        {
            return health;
        }
        [param: In]
        set
        {
            if (!NetworkBehaviour.SyncVarEqual(value, ref health))
            {
                int oldValue = health;
                SetSyncVar(value, ref health, 1uL);
                if (NetworkServer.localClientActive && !GetSyncVarHookGuard(1uL))
                {
                    SetSyncVarHookGuard(1uL, value: true);
                    OnChanged(oldValue, value);
                    SetSyncVarHookGuard(1uL, value: false);
                }
            }
        }
    }

    private void OnChanged(int oldValue, int newValue)
    {
    }

    private void Usage()
    {
        Networkhealth = 1337;
        _ = health;
    }

    private void MirrorProcessed()
    {
    }

    public override bool SerializeSyncVars(NetworkWriter writer, bool forceAll)
    {
        bool result = base.SerializeSyncVars(writer, forceAll);
        if (forceAll)
        {
            writer.WriteInt(health);
            return true;
        }
        writer.WriteULong(base.syncVarDirtyBits);
        if ((base.syncVarDirtyBits & 1L) != 0L)
        {
            writer.WriteInt(health);
            result = true;
        }
        return result;
    }

    public override void DeserializeSyncVars(NetworkReader reader, bool initialState)
    {
        base.DeserializeSyncVars(reader, initialState);
        if (initialState)
        {
            int num = health;
            Networkhealth = reader.ReadInt();
            if (!NetworkBehaviour.SyncVarEqual(num, ref health))
            {
                OnChanged(num, health);
            }
            return;
        }
        long num2 = (long)reader.ReadULong();
        if ((num2 & 1L) != 0L)
        {
            int num3 = health;
            Networkhealth = reader.ReadInt();
            if (!NetworkBehaviour.SyncVarEqual(num3, ref health))
            {
                OnChanged(num3, health);
            }
        }
    }
}

Weaver generated SyncVar (NEW):
public class Test : NetworkBehaviour
{
    [SyncVar(hook = "OnChanged")]
    public int health = 42;

    public SyncVar<int> health_generated;

    public int health_generated_property
    {
        get
        {
            return health_generated.Value;
        }
        [param: In]
        set
        {
            health_generated.Value = value;
        }
    }

    private void OnChanged(int oldValue, int newValue)
    {
    }

    private void Usage()
    {
        health_generated_property = 1337;
        _ = health_generated_property;
    }

    public Test()
    {
        health_generated = new SyncVar<int>(health, OnChanged);
        InitSyncObject(health_generated);
    }

    private void MirrorProcessed()
    {
    }
}

Weaver Generated code SyncVar<T>, SyncVarGameObject, SyncVarNetworkIdentity, SyncVarNetworkBehaviour

// Mirror.Examples.Tanks.Test
using System.Runtime.InteropServices;
using Mirror;
using Mirror.Examples.Tanks;
using UnityEngine;

public class Test : NetworkBehaviour
{
    [SyncVar(hook = "OnChanged")]
    public int health = 42;

    [SyncVar(hook = "OnChangedGO")]
    public GameObject targetGO;

    [SyncVar(hook = "OnChangedNI")]
    public NetworkIdentity targetNI;

    [SyncVar(hook = "OnChangedBH_abstract")]
    public NetworkBehaviour targetBH_abstract;

    [SyncVar(hook = "OnChangedBH_inherited")]
    public Test targetBH_inherited;

    public SyncVar<int> health_generated;

    public SyncVarGameObject targetGO_generated;

    public SyncVarNetworkIdentity targetNI_generated;

    public SyncVarNetworkBehaviour<NetworkBehaviour> targetBH_abstract_generated;

    public SyncVarNetworkBehaviour<Test> targetBH_inherited_generated;

    public int health_generated_property
    {
        get
        {
            return health_generated.Value;
        }
        [param: In]
        set
        {
            health_generated.Value = value;
        }
    }

    public GameObject targetGO_generated_property
    {
        get
        {
            return targetGO_generated.Value;
        }
        [param: In]
        set
        {
            targetGO_generated.Value = value;
        }
    }

    public NetworkIdentity targetNI_generated_property
    {
        get
        {
            return targetNI_generated.Value;
        }
        [param: In]
        set
        {
            targetNI_generated.Value = value;
        }
    }

    public NetworkBehaviour targetBH_abstract_generated_property
    {
        get
        {
            return targetBH_abstract_generated.Value;
        }
        [param: In]
        set
        {
            targetBH_abstract_generated.Value = value;
        }
    }

    public Test targetBH_inherited_generated_property
    {
        get
        {
            return targetBH_inherited_generated.Value;
        }
        [param: In]
        set
        {
            targetBH_inherited_generated.Value = value;
        }
    }

    private void OnChanged(int oldValue, int newValue)
    {
    }

    private void OnChangedGO(GameObject oldValue, GameObject newValue)
    {
    }

    private void OnChangedNI(NetworkIdentity oldValue, NetworkIdentity newValue)
    {
    }

    private void OnChangedBH_abstract(NetworkBehaviour oldValue, NetworkBehaviour newValue)
    {
    }

    private void OnChangedBH_inherited(Test oldValue, Test newValue)
    {
    }

    private void Update()
    {
        health_generated_property = 1337;
        _ = health_generated_property;
        targetGO_generated_property = ((Component)this).get_gameObject();
        _ = targetGO_generated_property;
        targetNI_generated_property = base.netIdentity;
        _ = targetNI_generated_property;
        targetBH_abstract_generated_property = this;
        _ = targetBH_abstract_generated_property;
        targetBH_inherited_generated_property = this;
        _ = targetBH_inherited_generated_property;
    }

    public Test()
    {
        health_generated = new SyncVar<int>(health, OnChanged);
        targetGO_generated = new SyncVarGameObject(targetGO, OnChangedGO);
        targetNI_generated = new SyncVarNetworkIdentity(targetNI, OnChangedNI);
        targetBH_abstract_generated = new SyncVarNetworkBehaviour<NetworkBehaviour>(targetBH_abstract, OnChangedBH_abstract);
        targetBH_inherited_generated = new SyncVarNetworkBehaviour<Test>(targetBH_inherited, OnChangedBH_inherited);
        InitSyncObject(health_generated);
        InitSyncObject(targetGO_generated);
        InitSyncObject(targetNI_generated);
        InitSyncObject(targetBH_abstract_generated);
        InitSyncObject(targetBH_inherited_generated);
    }

    private void MirrorProcessed()
    {
    }
}

note that usage can be more difficult than before.
for example:
[SyncVar] public ItemSlot trash;
is now:
public readonly SyncVar trash = new SyncVar(default);
because they have to be readonly, and need to be initialized..

converted ummorpg2d fully to SyncVar for testing.
works just fine:

for future reference: replacing [SyncVar] with SyncVar internally through weaver wasn't possible because we'd have to replace all read access to 'health' with 'Networkhealth.get'. which isn't possible with a direct IL replacement since ldfld can be used in too many combinations


text:
fix: Stop calling ClientDisconnect on host

Fix #534

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


text:
Unintuitive Set-Cookie behavior

const request = require('supertest');

const app = require('express')()
  .get('/cookies', (req, res, next) => {
    res.cookie('one', '1');
    res.cookie('two', '2');
    res.json(res._headers['set-cookie']);
  });

describe('/cookies', () => {
  it('should have correct anatomy', () =>
    request.agent(app)
      .get('/cookies')
      .expect(200, ['one=1; Path=/', 'two=2; Path=/']) // This is what I expect below
      .then(res => {
        expect(res.headers['set-cookie'].length).toBe(1); // should be 2
        expect(res.headers['set-cookie']).toEqual(['one=1; Path=/,two=2; Path=/']); // why is this a single string?
      })
  );
});

No?

Hello, I just tried your example using supertest version 2 and 3 and both are working for what you expect. ie this is true:
.expect(200, ['one=1; Path=/', 'two=2; Path=/']) // This is what I expect below
What version of express are you using?
Mike@Michaels-MacBook-Pro:exp-supertest $ npm list --depth=0
exp-supertest@0.0.1 /Users/Mike/git/exp-supertest
├── body-parser@1.17.2
├── chai@4.0.2
├── compression@1.6.2
├── cookie-parser@1.4.3
├── express@4.15.3
├── restify@4.3.0
├── should@8.4.0
└── supertest@3.0.0

Hey @mikelax
I wasn't very clear above... but that's not the line that is giving me problems.
These two lines are the issue:
expect(res.headers['set-cookie'].length).toBe(1); // should be 2
expect(res.headers['set-cookie']).toEqual(['one=1; Path=/,two=2; Path=/']); // why is this a single string?

Yes, they pass... because I put the passing code into the snippet. My concerns are in the comments. I expect the cookie to be an array just like
expect(200, ['one=1; Path=/', 'two=2; Path=/']) // This is what I expect below

but it's not.

hmm, weird I just tried two different scripts and in both cases I am seeing the cookie be an array of two values, ie. what you are expecting. Here are the scripts:
Server
const express = require('express');
const supertest = require('supertest');
const compression = require('compression');
const bodyParser = require('body-parser');
const path = require('path');

const app = express();
app.use(compression());
app.use(bodyParser.json());

app.get('/cookie', (req, res) => {
  // res.cookie('name', 'tobi', { domain: '.example.com', path: '/admin', secure: true });
  res.cookie('one', '1');
  res.cookie('two', '2');
  res.json(res._headers['set-cookie']);
});

Mocha Test 1
  it.only('Get cookie header', done => {
    supertest.agent(app)
      .get('/cookie')
      .expect(200)
      .end((err, res) => {
        console.log(res.headers['set-cookie']);
        console.log(res.headers['set-cookie'].length);
        console.log(res.body);
        if (err) return done(err);
        done();
      });
  });

Mocha Test 2 (using .agent)
  it.only('Get cookie header', done => {
    supertest.agent(app)
      .get('/cookie')
      .expect(200)
      .then(res => {
        console.log(res.headers['set-cookie']);
        console.log(res.headers['set-cookie'].length);
        console.log(res.body);
        done();
      });
  });

Output for both cases:
  Test gzip with file upload
[ 'one=1; Path=/', 'two=2; Path=/' ]
2
[ 'one=1; Path=/', 'two=2; Path=/' ]
    ✓ Get cookie header (88ms)

  1 passing (102ms)

Oh that is odd. I just tried with mocha and am getting
[ 'one=1; Path=/', 'two=2; Path=/' ]

whereas jest is getting
[ 'one=1; Path=/,two=2; Path=/' ]

I'll have to dig into what they're doing...

:+1:, looks like I'm hitting this exact issue too. Also running jest.

authors: jaygood jbinto mikelax

repo: visionmedia/supertest


text:
VTK8 - Locally running trunk (3.0) behaves differently on OSX if XQuartz/Grab are running

I finally built trunk on my OSX system using build_visit build_visit buildmode Debug required optional allio fortran parallel thirdparty-path /Users/miller86/visit.new/thirdparty/3.0 \ debug noadios2 nofastbit nofastquery nonektarpp no-pyside The 5 trailing no-xxx args were to disable things that were preventing build_visit from completing successfully. However, I noticed that I am seeing that same build behave differently depending on whether or not I have other applications running such as XQuartz or sometimes Grab. I've attached two pictures one with and one without XQuartz running. However, this isn't always reproducible. Sometimes, even when I quit XQuartz, I still see the bad behavior. Also, am noticing this on stderr, for both good and bad cases, when running... dlerror() = dlopen(libospray_module_ispc.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_native_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx2_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_sse4_float.dylib, 10): image not found #osp: INITIALIZATION ERROR > could not open module lib ospray_module_ispc Running: engine_ser dv idletimeout 480 host 127.0.0.1 -port 5600 dlerror() = dlopen(libospray_module_ispc.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_native_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx2_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_sse4_float.dylib, 10): image not found #osp: INITIALIZATION ERROR > could not open module lib ospray_module_ispc
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 3266
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: VTK8 - Locally running trunk (3.0) behaves differently on OSX if XQuartz/Grab are running
Assigned to: -
Category: -
Target version: -
Author: Mark Miller
Start: 11/20/2018
Due date:
% Done: 0%
Estimated time:
Created: 11/20/2018 01:23 pm
Updated: 11/27/2018 06:52 pm
Likelihood: 4 - Common
Severity: 4 - Crash / Wrong Results
Found in version: 2.12.3
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
I finally built trunk on my OSX system using build_visit build_visit buildmode Debug required optional allio fortran parallel thirdparty-path /Users/miller86/visit.new/thirdparty/3.0 \ debug noadios2 nofastbit nofastquery nonektarpp no-pyside The 5 trailing no-xxx args were to disable things that were preventing build_visit from completing successfully. However, I noticed that I am seeing that same build behave differently depending on whether or not I have other applications running such as XQuartz or sometimes Grab. I've attached two pictures one with and one without XQuartz running. However, this isn't always reproducible. Sometimes, even when I quit XQuartz, I still see the bad behavior. Also, am noticing this on stderr, for both good and bad cases, when running... dlerror() = dlopen(libospray_module_ispc.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_native_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx2_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_sse4_float.dylib, 10): image not found #osp: INITIALIZATION ERROR > could not open module lib ospray_module_ispc Running: engine_ser dv idletimeout 480 host 127.0.0.1 -port 5600 dlerror() = dlopen(libospray_module_ispc.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_native_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx2_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_avx_float.dylib, 10): image not found dlerror() = dlopen(libospray_module_ispc_sse4_float.dylib, 10): image not found #osp: INITIALIZATION ERROR > could not open module lib ospray_module_ispc
Comments:

with xquartz running

without xquartz running

repo: visit-dav/visit


text:
Fixed FORTRAN include for Libsim. Added new machine config.

Description
Resolves # (If this PR is unrelated to a ticket, please erase this line)
Please include a summary of the change
Type of change
Please select one below (Please click check boxes AFTER submitting ticket)

[x] Bug fix
[ ] New feature
[ ] New Documentation
[ ] Other (please describe below)

How Has This Been Tested?
Please describe the tests you've added or any tests that already cover this change. Include relevant information, such as which operating system you tested on.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have updated the release notes
[ ] I have made corresponding changes to the documentation
[ ] I have added debugging support to my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have added any new baselines to the repo
[ ] I have assigned reviewers (see VisIt's PR procedures for more information).

I have to have a reviewer for this kind of check-in?


text:
Formatting

Black
Flake8

You could look at adding a pre-commit config like this:
https://github.com/geoxarray/geoxarray/blob/main/.pre-commit-config.yaml
And then pip install pre-commit locally, run pre-commit install in the repository root, and then every time you make a commit it will run these checks.

authors: almarklein djhoese