node-gyp build fails on NFS because of flock

flock is used to link by the generated Makefile from node-gyp.
This causes the build to fail when built on NFS. Installs fine on the local disk.
This is from an npm install or a manual installation (the example is fibers:  https://github.com/laverdet/node-fibers)
$ tar xvfz ~/.npm/fibers/0.6.9/package.tgz
$ node-gyp configure
$ node-gyp build
yp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/lophilo/lophilo/tmp/package/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
  CXX(target) Release/obj.target/fibers/src/coroutine.o
../src/coroutine.cc:23:41: warning: converting to non-pointer type ‘pthread_key_t {aka unsigned int}’ from NULL [-Wconversion-null]
../src/coroutine.cc:24:40: warning: converting to non-pointer type ‘pthread_key_t {aka unsigned int}’ from NULL [-Wconversion-null]
../src/coroutine.cc: In constructor ‘Coroutine::Coroutine()’:
../src/coroutine.cc:87:46: warning: passing NULL to non-pointer argument 5 of ‘void coro_create(coro_context*, coro_func, void*, void*, long int)’ [-Wconversion-null]
  CC(target) Release/obj.target/fibers/src/libcoro/coro.o
  SOLINK_MODULE(target) Release/obj.target/fibers.node
flock: ./Release/linker.lock: Bad file descriptor
make: *** [Release/obj.target/fibers.node] Error 65
make: Leaving directory `/home/lophilo/lophilo/tmp/package/build'
gyp ERR! build error Error: `make` failed with exit code: 2
gyp ERR! build error     at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:214:23)
gyp ERR! build error     at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! build error     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! not ok

After a fail build, returning to the linking step manually completes ok (while a make -C build after a node-gyp configure fails the same).
$ make -C build
make: Entering directory `/home/lophilo/lophilo/tmp/package/build'
  SOLINK_MODULE(target) Release/obj.target/fibers.node
  SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished
  COPY Release/fibers.node
make: Leaving directory `/home/lophilo/lophilo/tmp/package/build'

Workaround is to export LINK=g++.
system info:
$ flock -V
flock (util-linux 2.20.1)
$ uname -a
Linux lophilo 3.4.4+ #34 Sat Oct 6 16:28:57 CST 2012 armv5tejl GNU/Linux

Perhaps a note about this in the actual error message instead of "flock: ./Release/linker.lock: Bad file descriptor"


Fix 4.11 VR Issues with Multiple Public Subnets

Description

This PR resolves 2 issues related to Virtual Routers with multiple public interfaces, and works around a third.

Fixes: #3353 - Adds missing throw routes for eth0/eth1 to eth3+ when there are >1 public IPs
Fixes: #3168 - Incorrect marks set on some static NAT rules (some code references were changed from hex(int(interfacenum)) to hex(100 + int(interfacenum)) - this change just adds the remaining ones
Works around #3352 - Sends Gratuitous ARP messages when a HA VR becomes master to work around the problem of the MAC address being different between HA VRs.  If that issue is fixed properly (i.e. a database entry for the subsequent interfaces so they can be static) then this is unnecessary, though should not cause any problems.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

How Has This Been Tested?

These changes form part of the ISO we are deploying in production.  Upon upgrading from 4.8 to 4.11.2, we ran into the issues described above and fixed them in a scripts ISO we have customised for our deployment.
Our deployments are all advanced networking/non-VPC.  These changes are mostly within conditionals which should stop them making any difference to a "standard" advanced VR (i.e. single public interface).

@b

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2807

@rhtyd The third issue I would prefer to be solved by making the MAC address constant somehow, but I don't really know enough about why it's been done like it is to know what problems it may cause.  Hopefully it can be solved properly still, but I figured it wasn't a trivial task and might not make it into the next release!

@richardlawley fair enough, I've fixed few pylint errors caught by travis. Will kick regression tests now.
@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3605)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 32275 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3361-t3605-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 68 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Test lgtm


SGF Analysis tools

It's easy to grab a bunch of SGFs with gsutil cp ... After that, we're looking at statistics largely by doing 'grep'... which is getting slower as we add more stuff to our SGF comments.
It'd be nice to:
a. See opening move stats per generation, with reflection/symmetry taken into account. This could be made pretty fast by only reading the head of the file until the 1st move, etc.
b. Figure out what moves the network is moving towards/away. This involves looking at how the visit counts after search match with the priors -- if a move (on the whole) is getting more visits than the priors suggested, after d-noise, then we can expect that move to be more represented in the next generation, & vice versa.
c. It'd be nice to look for the 'most surprising moves' in a game -- e.g., greatest difference from policy prior and final exploration rate.
d. Similarly, there are some nice questions about the times in a game when it has many options vs when it only has one or two; some nice ways to explore these would be good.

I found these tools for SGF file we could use for the analysis tool Is GPL 2  or later compatible with the Apache 2 license?
https://github.com/lightvector/leela-analysis/tree/master/sgftools

@sethtroisi 's cloudygo takes care of most of the original list, and then some.  I know he's been chatting with lightvector but i don't know if he was using those tools.


Known UI Issues

[ ] Trace: On long trace logs, Jaeger Trace Component trims the logs from a certain spot and displays an empty space. It causes a long empty page from a certain point.

Possible fixes:

Find a possible fix within the Trace component (3rd party component).
Implement a custom trace component
Show a reasonable amount of logs (1000+ log lines are not reasonable), redirected to Jaeger trace page on demand.

[x] Markdowns: with the current implementation, on every markdown request, we saving its info in the UI state, it may cause memory/performance issues when a user fetches "many" markdowns.

Possible fixes:

Refactor the markdown implementation, without abusing the state object.

[x] Performance: with the current implementation, we re-render the Job Table on every socket fetch, the render time exponentially grows depending on the total jobs, it may cause UI thread to block the application use.
Average render time is 123ms (After the memoization refactor which reduced the render time from 215ms).

Possible fixes:

Optimization to the buttle neck which is the JobsTable component- every job should be with a unique id for rendering indication.

[x] Production Bundle-Size: Current size 8.06MB and the main chunk (the first chunk delivered to the client) is 7.48MB, causes a long build time and a warning (not recommended bundle size) on each build.

Possible fixes:

Code-Splitting:

Splitting monaco-editor reduced bundle to 6.18MB and main chunk 4.63MB
Splitting vis-graph reduced main chunk to 3.93MB
Splitting codemirror which is dependency of SimpleMDE (markdown editor) and minor lodash functions reduced the main chunk to 3.64MB which is recommended size.

After some tweaking, final result: bundle size 4.91MB and main chunk 3.66MB.
You can inspect the prev source map and the final result.

[ ] User Exp

[x] When the user leaves webhook empty, no webhooks should be sent, e,g:
"webhooks": {
    "progress": "http://",
    "result": "http://"
}

[x] Add pause and resume implementation.

[ ] On edit pipeline/algorithm, open the wizard, not JSON.

[ ] Add option to download source code of algorithm.

[x] Add Default button for json editors.

[x] Versions - View the specific version details (JSON).

[ ] Update algorithm name will create a new algorithm (need to block on
edit)

[ ] Add algorithm keep value on changing to editor view.

[ ] Job Card remains in card view.

[ ] README

[ ] There is no option for adding README when on adding a new pipeline/algorithm.

[ ] Batch

[ ] Need to fetch batch items by demand using the API /graph//parsed.

[x] Logs

[x] Add option to select log provider (k8s, es)
[x] Add option to change logger's verbosity level

[ ] Enable restart stopped build

[ ] remove status and results from JSON view
[ ] change name from JSON to information
[ ] add overflow to logs

[x] Run algorithm from entry row


Add new column to store Usernameless device support

When registering FIDO2 devices in the IS, it is required to display to the user, whether the registered device is supporting usernameless authentication or not. For this, it is required to add a new column to the FIDO2_DEVICE_STORE table.

Closing as the public fix is already merged.


Proper fix for Scrap Mechanic

Hi, Scrap Mechanic still doesn't load properly. I've seen your DX11 fix but wasn't able to apply it. Is there a patch I could run to fix it? Thank you.

@ZakBR the game does not start even with wined3d now
but you can use wine with old ntdll
for example: https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.2-GE-2

@Iglu47 Hi Dmitry, thank you for replying! I'm using windows, should I download these, extract and run something? I cant find any .exe files in those files.

i check on master, works fine for me
my spec

nvidia proprietary driver: 440.82; gtx nvidia 1080ti
arch linux, liquorix-5.6.11-2
https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.2-GE-2
dxvk 1.6.1-63-g e7455b6460b9dbfc5ae20e5d829b55f3d796c0cf

ScrapMechanic_d3d11.log

How would you use that in windows?

@ZakBR https://github.com/doitsujin/dxvk/releases

Copy DLLs to the directory where the game's executables are, done.

should be path-to\Scrap Mechanic\Release\d3d11.dll (use x32)
also can use "User Environment Variables"
for example DXVK_HUD=fps,frametimes,compiler,version
(full list: https://github.com/doitsujin/dxvk#hud)

You also need to copy dxgi.dll on Windows.

@K0bin Thank you for your reply. I'm trying to run Scrap Mechanic but it's not loading no matter what. I have a pretty powerful rig, it's something related to DirectX.

So it doesn't work with your normal D3D11 driver? What GPU do you have anyway?

but it's not loading no matter what

it's something related to DirectX

That's not helpful at all. Is that with or without DXVK?

@K0bin Yes, it won't work with my Directx 11 or 12. I'm using windows 10 64 with a Geforce 2080ti from EVGA. Game loads and crashes before the Axolot logo.
There is a long discussion about it here:
https://steamcommunity.com/app/387990/discussions/0/152393186503184409/?ctp=40

If the game doesn't work on your Windows even without DXVK, you probably need to fix your Windows setup.


NuxtLink not working when using useSanityQuery

Version
module: 1.9.0
nuxt: 3.10.3
What is expected?
If you click on a NuxtLink it changes to the page in the NuxtLink.
What is actually happening?
The URL changes but it does not change the page, this happens if useSanityQuery is used.
Steps to reproduce
Clone nuxt sanity repo with the movie example
Additional information
NuxtLink does work if I query the data with useSanity but than the live preview does not work.
Checklist

[x]  I have tested with the latest Nuxt version and the issue still occurs
[x]  I have tested with the latest module version and the issue still occurs
[x]  I have searched the issue tracker and this issue hasn't been reported yet

Thanks for reporting, I can replicate. Looks like there's a promise somewhere that never resolves, will hopefully have a fix for you shortly.


fix labels; fix gpu_options lookup

Codecov Report

Merging #764 into master will increase coverage by 0.3%.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##           master     #764     +/-   ##
=========================================
+ Coverage   79.86%   80.17%   +0.3%
=========================================
  Files          51       51
  Lines        4605     4605
=========================================
+ Hits         3678     3692     +14
+ Misses        927      913     -14

Impacted Files
Coverage Δ

vent/core/rq_worker/watch.py
46.92% <33.33%> (ø)
:arrow_up:

vent/menus/main.py
73.47% <0%> (-0.54%)
:arrow_down:

vent/api/plugins.py
92.28% <0%> (+0.24%)
:arrow_up:

vent/menus/tools.py
78.22% <0%> (+0.4%)
:arrow_up:

vent/api/plugin_helpers.py
73.19% <0%> (+0.67%)
:arrow_up:

vent/api/actions.py
74.7% <0%> (+1.83%)
:arrow_up:

Continue to review full report at Codecov.

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


lattice build issue (docker/docker and brtfs issue)

Trying to build lattice using instructions on https://github.com/cloudfoundry-incubator/lattice/blob/master/docs/development-readme.md. Getting errors at two places, a) with go get ./... in lattice repository
docker dependency errors.
package github.com/goamz/goamz/aws
imports github.com/vaughan0/go-ini
imports github.com/goamz/goamz/s3
imports github.com/gizak/termui
imports github.com/mattn/go-runewidth
imports github.com/nsf/termbox-go
imports github.com/codegangsta/cli
imports github.com/docker/docker/registry:
/Users/npramod/workspace/diego-release/src/github.com/docker/docker exists
but /Users/npramod/workspace/diego-release/src/github.com/docker/docker/.git
does not - stale checkout?
package github.com/goamz/goamz/aws
imports github.com/vaughan0/go-ini
imports github.com/goamz/goamz/s3
imports github.com/gizak/termui
imports github.com/mattn/go-runewidth
imports github.com/nsf/termbox-go
imports github.com/codegangsta/cli
imports github.com/docker/docker/image
imports github.com/docker/docker/image
imports github.com/docker/docker/image: cannot find package "
github.com/docker/docker/image" in any of:
/usr/local/go/src/github.com/docker/docker/image (from $GOROOT)
/Users/npramod/workspace/diego-release/src/github.com/docker/docker/image
(from $GOPATH)
package github.com/goamz/goamz/aws
imports github.com/vaughan0/go-ini
imports github.com/goamz/goamz/s3
imports github.com/gizak/termui
imports github.com/mattn/go-runewidth
imports github.com/nsf/termbox-go
imports github.com/codegangsta/cli
imports github.com/docker/docker/image
imports github.com/docker/docker/nat
imports github.com/docker/docker/nat
imports github.com/docker/docker/nat: cannot find package "
github.com/docker/docker/nat" in any of:
/usr/local/go/src/github.com/docker/docker/nat (from $GOROOT)
/Users/npramod/workspace/diego-release/src/github.com/docker/docker/nat
(from $GOPATH)
package github.com/goamz/goamz/aws
imports github.com/vaughan0/go-ini
imports github.com/goamz/goamz/s3
imports github.com/gizak/termui
imports github.com/mattn/go-runewidth
imports github.com/nsf/termbox-go
imports github.com/codegangsta/cli
imports github.com/docker/docker/image
imports github.com/docker/docker/nat
imports github.com/docker/docker/utils
imports github.com/docker/docker/utils
imports github.com/docker/docker/utils: cannot find package "
github.com/docker/docker/utils" in any of:
/usr/local/go/src/github.com/docker/docker/utils (from $GOROOT)
/Users/npramod/workspace/diego-release/src/github.com/docker/docker/utils
(from $GOPATH)
b) and if we ignore these go get errors from a), at last step of recompile_lattice throws the following error
recompile-lattice
Running command with /workspace/diego-release/src/
github.com/cloudfoundry-incubator/lattice/pipeline/01_compilation/compile_lattice_tar
/workspace/cf-release/src/loggregator /workspace
/workspace
setting up go env
copying diego release
copying cf release
copying lattice
staging common files
staging scripts
compiling cell
compiling garden linux
github.com/docker/docker/daemon/graphdriver/btrfs
/root/workspace/diego-release/src/
github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/docker/docker/daemon/graphdriver/btrfs/btrfs.go:8:25:
fatal error: btrfs/ioctl.h: No such file or directory
#include <btrfs/ioctl.h>
^
compilation terminated.
Any thoughts on what the issue could be?
(we are trying some diego placement changes and getting lattice build to work is a blocker)

oot/workspace/diego-release/src/
github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/docker/docker/daemon/graphdriver/btrfs/btrfs.go:8:25:
fatal error: btrfs/ioctl.h: No such file or directory
#include

This appears to be related to garden-linux build failure.  Garden Linux uses the version of docker which needs btrfs so you need to [Install Btrfs tools if not present on your machine] (https://github.com/cloudfoundry-incubator/garden-linux) to get past it.

Installed btrfs-tools on the machine (ubuntu 14.04) the error changed to
github.com/docker/docker/daemon/graphdriver/btrfs
/root/workspace/diego-release/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/docker/docker/daemon/graphdriver/btrfs/version.go:6:27: fatal error: btrfs/version.h: No such file or directory
#include <btrfs/version.h>
^
compilation terminated.
We also updated the cloud foundry/lattice-pipeline image to include btrfs-tools --  same error
Anyone with full lattice development environment working - can u pls share ur environment details.

We updated (https://github.com/cloudfoundry-incubator/lattice/commit/a49ebc14327e76e9a9548a04b12b681e736d87af) the development-readme a bit to hopefully reflect the two changes I think you need:

checkout 0.1360.0 tag under diego-release (current compatible diego version for lattice on master is in DIEGO_VERSION

a. cd $GOPATH && ./scripts/update   ## assumes GOPATH is diego-release folder

rm -rf $GOPATH/src/github.com/docker/docker  ## same assumption

a. godep restore
If you get a chance, give our new instructions a try from the top, you might find this easier than trying to repair your current setup.  The "long form" instructions should be replaced very soon -- we are currently working on automating the open source developer environment setup with [#98769190], and this should be a much better experience than what it is today.

Thanks a ton for the quick update. I tried the updated instructions from scratch -- works like a charm!!!
Thx

cool!  i'll close this out then


Support for adding custom overlays

Is your feature request related to a problem? Please describe.
I want to add a black transparent layer over the screen with a circular process indication. But I didn't see that Get had any API for that.
I was experimenting with the following controller. It works but needs the BuildContext. I tried using Get's context but this did not seem to work and give a null reference exception on overlaystate when trying to insert the entry.
class OverlayController extends GetController {
  static OverlayController get to => Get.find();
  bool _isShowing = false;
  OverlayEntry _overlayEntry;

  bool get isShowing => _isShowing;

  show(BuildContext context, Widget overlay) {
    if(_overlayEntry != null)
      return;
    final OverlayState overlayState = Overlay.of(context);
    _overlayEntry = OverlayEntry(
      builder: (context) => overlay,
    );
    //Get.context doesn't work here and throws an error that overlaystate is null
    //Get.overlay context work here and throws an error that overlaystate is null
    overlayState.insert(_overlayEntry);
    _isShowing = true;
    update(this);
    print('insert overlay');
  }

  void remove() {
    if (_overlayEntry == null) return;

    _overlayEntry.remove();
    _isShowing = false;
    update(this);
    print('remove overlay');
  }

  static Widget loadingOverlay() {
    return AbsorbPointer(
      child: Container(
        width: Get.context.size.width,
        height: Get.context.size.height,
        color: Colors.black.withOpacity(0.8),
        child: Center(
          child: PlatformCircularProgressIndicator(),
        ),
      ),
    );
  }
}

Describe the solution you'd like
I would like to be able to insert / remove any overlay widget from anywhere in my app.

Sorry, but I think you crossed the line that I would not recommend you to cross.
The idea of Get is precisely to separate the View from the business logic, and sending a widget by parameter or inserting it into the controller goes against the scope of the project.
I understand that there is an interest in adding and removing Overlays dynamically, I myself have already thought about doing something similar in a project, and I came to the conclusion that the overlay widget must really be in the widget tree, for reasons of application security (all stack of the Flutter is built on top of an overlay widget, manipulating the state of an overlay outside the tree, can cause unwanted effects), and for reasons of design patterns (a widget must always be in the widget tree, even when opening dialogs , I create a widget for the dialog, and just call it from the controller with a Get.dialog, and I don't insert the entire dialog widget into the controller. This can make your project unreadable for another dev). Unfortunately I will have to close this issue, because I have no plans to make this possible, as it goes against the scope of Get.

Is there a solution now ? How did you create an overlay or stack above the entire App ? I'd like create a YouTube like floating widget ( an Application level Pip )

@brightchip @duck-dev-go
I think you guys need to learn about persistence widget.
Please search it over the google for that.
There are many ways to implement it.
Oh yeah,
if you are using GetX in persistence widget to show any of snackbar and dialog, you won't get any error at all. I have tested it. The only problem is if you want to show those basic widgets (snackbar and dialog from Flutter) on persistent widget. It will give an error which you cannot fix, unless you use GetX snackbar and dialogs, or a modified GetX snackbar like what I am working on.


Unify addons and agent packages

Addons and agent packages were previously defined separately
in the spec but had a lot of similarities. This changes combines
them into one concept of "packages". The resulting spec is
significantly shorter while providing the same functionality.
It may also reduce the code duplication in implementations.
Resolves https://github.com/open-telemetry/opamp-spec/issues/4

@open-telemetry/opamp-spec-approvers I made this a draft for now, please tell what you think about it.

@andykellr it would be also good to have your thoughts on this.

I can look at it in more detail tomorrow or Wednesday, but at first glance it makes sense to me.

@open-telemetry/opamp-spec-approvers I spent a bit more time thinking about this change and feel reasonably confident that this is a move in the right direction I think this is ready for review.

@pmm-sumo it would be great if you could also have a look at this.


Document how to write a config.py that loads config from the environment

On Heroku, we can't add a local config instance/config.py that's not part of the repo. Instead, they support configuration through env vars. Document this pattern.
myapp/config.py:
MAIL_USERNAME = os.environ.get('FLASK_MAIL_USERNAME', 'default')
LDAP_PORT = int(os.environ.get('FLASK_LDAP_PORT', 636))

@davidism where in the docs should this go?

@kennethreitz this can be a section in docs/config.rst.

I did a little write-up that I think works as a starting point.  I intentionally didn't go into configuration file composition (e.g. config_prod.py where a secret key is required and debug is statically set to false) as that sounds like the role of the following "best practices" section and I opted for duplication of text from the previous "configuration from files" for reasons of anchor links.
Let me know if my branch name needs to change (slipped my mind to create a more descriptive branch -- will follow what seems like a convention in other PRs from now on) and I'll re-open the PR.

Thanks @tristanfisher, that's just what we needed.


removed empty "puts"

:+1:
Can we get this merged?
I'm also extremely worried about using this gem at all, why are you opening this for a discussion?
'puts' has no purpose here, it is a wasted method call, and it does nothing but confuse people who use Skittles in IRB or in their tests(let's throw a surprise newline into your buffer for no reason).
An interface shouldn't communicate its progress through 'puts', but through meaningful return values.
Please fix it by merging this request.


.lnk shortcuts need quotes around the strings

Hi, the desktop & start menu shortcuts now point to
C:\Windows\System32\cmd.exe \c C:\Program Files (x86)\I2P\I2PBrowser-Launcher\i2pbrowser.bat
and as a result all they do is launch a command prompt.  In order for them to work the path of the .bat file should be in quotation marks.

I think I've fixed it, but don't have the ability to test it until I get home. I put the new exe up the releases if you want to try it now..

Just tested it - almost there.  What's left is to change the "\c" to "/c" and it will work.

Awesome


Avatar-related settings feedback

This checkbox should probably be hidden if gravatar is disabled.

Enable Custom Avatar   Enable this to disable fetch from Gravatar

Add a button to delete current uploaded avatar
Display current custom avatar

Thanks your feedback!

It should be noted that the user profile also still has the gravar tooltip and hyperlink when gravatars are disabled.

Be sure you read the tooltip by each world.

Adjust some changes about avatar, and you can delete current avatar now.


issues during install

Steps Prior to Error:

Purchase Operator Mono Font from https://www.typography.com/fonts/operator/styles/
pip installed fonttools successfully. pip freeze returned:

Click==7.0
Flask==1.0.2
Flask-SQLAlchemy==2.3.2
fonttools==3.38.0
greenlet==0.4.15
imcsdk==0.9.6
itsdangerous==1.1.0
Jinja2==2.10
MarkupSafe==1.1.0
msgpack==0.6.0
neovim==0.3.1
psutil==5.4.8
pynvim==0.3.1
pyparsing==2.3.1
pysqlite3==0.2.1
six==1.12.0
SQLAlchemy==1.2.16
textrazor==1.4.0
wakatime==10.8.0
Werkzeug==0.14.1

changed node version to 7.6 with nvm
Cloned the repo here and then cd into the repo and ran npm install
copied and pasted font from downloads to orginal

ran ./build.sh which returned:

I have attached the error message below as well in case the picture is too small
Building OperatorMonoLig-Book
./build.sh: line 19: ttx: command not found
Reading original font file ./original/OperatorMono-Book.ttx
(node:45790) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open './original/OperatorMono-Book.ttx'
(node:45790) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
./build.sh: line 21: ttx: command not found
Building OperatorMonoLig-BookItalic
./build.sh: line 19: ttx: command not found
Reading original font file ./original/OperatorMono-BookItalic.ttx
(node:45794) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open './original/OperatorMono-BookItalic.ttx'
(node:45794) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
./build.sh: line 21: ttx: command not found
Building OperatorMonoLig-Medium
./build.sh: line 19: ttx: command not found
Reading original font file ./original/OperatorMono-Medium.ttx
(node:45798) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open './original/OperatorMono-Medium.ttx'
(node:45798) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
./build.sh: line 21: ttx: command not found
Building OperatorMonoLig-MediumItalic
./build.sh: line 19: ttx: command not found
Reading original font file ./original/OperatorMono-MediumItalic.ttx
(node:45804) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open './original/OperatorMono-MediumItalic.ttx'
(node:45804) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
./build.sh: line 21: ttx: command not found

figured it out.. I ran the directory in a virtualenv and then reinstalled fonttools. Works like a charm now! Thanks!!

Awesome. Glad you figured it out.


As an editor I want it to be possible to create sites that provide alternate language and menu structure so that it is possible to produce separate campaign sites or alt language sites from the global site

Acceptance criteria

Possible to build satellite sistes that are accessible from global site

Most definetely an epic! How does it compare to multilingual support?

Covered by individual epics per language


Implement private modules

Closes #7304
Pull Request Description
Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[ ] Unit tests have been written where possible.
[ ] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

A single independent compiler pass does not seem to be sufficient to implement private modules. The problem is in test Test_Private_Modules_4 which invokes Test_Private_Submodules_4/src/Main.enso. Modules can be accessed via FQN and in this case, we have two submodules - one private and one public. We need to ensure that outside the project, the private submodule is not accessible and the public submodule is accessible. This cannot be done by any compiler pass.
To support this, we should think about introducing some runtime access checks (append more fields to arguments in every frame? Enforce CallerInfo creation?). Or just not support mixture of private/public submodules.
Note that for other private stuff implementation, we will need to introduce runtime access check anyway. It might be worthwhile to include it in this PR.
@JaroslavTulach what do you think? Disallow mixture of private/public submodules or think about runtime access checks?


Build generates ES5 bundles even though "es5BrowserSupport" is set to false

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
No, because "es5BrowserSupport" didn't exist before.
Description
I've disabled es5BrowserSupport in my angular.json file (in architect.build.options section of the file), but when I run ng build --prod I still see the message in the console while building:
Generating ES5 bundles for differential loading...
Also, in my /dist folder there's some js-files which indicate that es5 files are generated (i.e. polyfilles-es5.sf24fa3d.js, main-es5.sdlfjhsfhlecy34.js.
🔬 Minimal Reproduction
run ng build --prod with es5BrowserSupport: false in angular.json.
🔥 Exception or Error
Console outputs:
Generating ES5 bundles for differential loading...
It should not generate es5 related files.
🌍 Your Environment

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 9.0.1
Node: 12.7.0
OS: win32 x64

Angular: 9.0.0
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.1
@angular-devkit/build-angular     0.900.1
@angular-devkit/build-optimizer   0.900.1
@angular-devkit/build-webpack     0.900.1
@angular-devkit/core              9.0.1
@angular-devkit/schematics        9.0.1
@angular/cli                      9.0.1
@angular/http                     7.2.16
@ngtools/webpack                  9.0.1
@schematics/angular               9.0.1
@schematics/update                0.900.1
rxjs                              6.5.4
typescript                        3.8.2
webpack                           4.41.2

The es5BrowserSupport option is a deprecated option that controls whether ES5 targeted builds will include a separate conditionally loaded polyfill for older browsers.  It was the precursor to full differential loading support.
The Browserslist file is now used to control the behavior of the CLI.  The CLI uses the set of browsers listed in the file to automatically build the appropriate application output that will execute  on the specified browsers.  This allows the support requirements of the application to be used directly when configuring the application.
An example module script only browserslist file (please adjust for application requirements):
last 2 Chrome major versions
last 2 iOS major versions
last 2 Safari major versions


two separate waypoint components firing simultaneously

Sorry if my question is relatively novice level but I'm very new to React and React Waypoints. Currently I'm running into an issue where I have two waypoint components, each within its own container element, and as soon as I land on the page both the uppermost waypoint and the waypoint immediately after are both firing despite not scrolling to the second waypoint. Here is an example of my code.
//import react
import React, {Component} from 'react';

// Components
import Nav from '.././Partials/Nav.jsx';
import {Col, Row, Grid} from 'react-bootstrap/lib';
import Waypoint from 'react-waypoint';
import {Link} from 'react-router';

class ProfessionalContributions extends Component {
  constructor(props) {
    // super simply allows us to call methods defined on any parent Components of this Component
    super(props);
    this.state = {
     entered: false
    };
  }

  componentDidMount(e) {
    setTimeout(function() {
      this.setWaypoint(true, 1);
    }.bind(this), 10);
  }

  setWaypoint(bool, int) {
    console.log(int);
    // Set waypoint state
    if (!bool) {
      this.setState({ entered: false});
    } else {
      this.setState({entered: true});
    }

    // Use updated state for UI waypoints animation.
    if(!this.state.entered) {
      document.getElementById('wp-dot-' + int).className = 'empty';
    } else {
      document.getElementById('wp-dot-' + int).className = 'filled';
    }
  }

  render(){
    return(

          <Row className="work-item professional-contributions-header">
            <Col xs={12} className="text-left">
              <Waypoint
                onEnter={this.setWaypoint.bind(this, true, 1)}
                onLeave={this.setWaypoint.bind(this, false, 1)}
              />

This page represents a collective body of work built during my employment as a full-time developer within an organization, startup or agency. Feel free to peruse the projects and contact me if you have any questions, concerns or skeptical inquiries.

            </Col>
            <Col xs={12}>

            </Col>
          </Row>

          <Row className="work-item kickfurther">
            <Col className="text-left" xs={12} md={6}>
              <Waypoint
                debug={true}
                onEnter={this.setWaypoint.bind(this, true, 2)}
                onLeave={this.setWaypoint.bind(this, false, 2)}
              />

A Thing Called Kickfurther

The Micro-Retail Revolution.

            </Col>
            <Col xs={12} md={6}>

            </Col>
          </Row>

    )
  }
}

ProfessionalContributions.propTypes = {
  // .....
}

export default ProfessionalContributions

Hi @MarcZenn, I'm glad you're getting into react and react-waypoint!
Just to make sure I understand this correctly: you expect the first waypoint to fire onEnter on page load, and the second waypoint to fire onEnter after scrolling down (to bring it into the viewport)?
If that's ^^ the case, then the most common issue is that there's something above the waypoint that's lazy-loading, so that it doesn't have a height initially and then suddenly it has. I don't see any obvious suspects for that in your code however, but it depends a little on how your devicon- styles behave. Could it be that the CSS for those classes are lazy-loading?

Hey trotzig thanks for the tip! It sounded like that actually might've been the culprit but once I removed the devicons I still am seeing the same behavior. To clarify, the expected behavior is that upon landing on the page only the first waypoint onEnter event fires while the the other waypoint further on down the page remains inactive until  it is scrolled to and its onEnter event fires. Instead what I'm seeing is that both waypoint onEnter events fire immediately upon landing on the page (the first waypoint onEnter fires and then immediately afterwards the second waypoint onEnter fires further down the page without having to scroll to it).

Is there a publicly accessible url where I can test this? Or perhaps you can provide a minimal(ish) repro case somewhere?

To clarify, the expected behavior is that upon landing on the page only the first waypoint onEnter event fires while the the other waypoint further on down the page remains inactive until it is scrolled to and its onEnter event fires.

Just to clarify, is the other waypoint further down on the page is offscreen? If both are unscreen, then I would expect both to fire. This is probably not the issue, but I figured I'd mention it just to be explicit that multiple waypoints will fire if they're all on screen at once.
If this isn't the issue, then no worries. I think a demo somewhere, like @trotzig mentioned above, might be the best way for us to help ya troubleshoot this :v:
Sorry for the trouble, @MarcZenn !

Hey no worries at all!
Currently you can view my project here http://marczenn.com and the specific page where I'm encountering the issue here: http://marczenn.com/#/professional-contributions
I have another Component in this project that uses waypoints nearly exactly the same way and that page works just fine. Here's the link to that: http://marczenn.com/#/works
I'm using a free heroku Dyno so if the page takes awhile to render it's because my heroku server is booting back up :/ (figured I'll pay up once my project is nearer to completion).
Thanks again guys for all the help on this!

Thanks for the links!
@trotzig (and anyone else interested) , here's a commit that can help identify the location of this lib's usage within the source code.
I'll dig around myself to see what I can find when I've got some time ✌

Thanks for the links @jmeas and @MarcZenn. I've been (and still am) afk. I'll have a look when I'm back at it.

After looking at your site, I have a few theories. One is how your CSS is applied. It seems you are using the style-loader webpack loader. It's possible that styles are injected after the DOM has been updated, which would lead to waypoints being mispositioned on initial render. I don't have enough experience with that loader though to know if this could be the case. Another theory is that font loading is somehow interfering. It looks like the body is rendered invisible at first, and made visible when fonts are available. I don't actually know how element positioning would work in this scenario. Both of the theories would explain why the /works page works, because that page has a splash screen that will stay long enough for both fonts and css to be applied before the real content is shown.
I hope you're able to track this down, and I'm interested to hear what you find out. There's probably something here that others could benefit from.

I'm still interested to hear if you were able to find anything @MarcZenn! In the meantime, I'm going to close out this issue.


How do I reproduce？

How do I reproduce the garden sample with the pre-trained model

Hi, sorry for late reply. You could try to follow our instructions in README, thanks!


Next.js Dependency not fulfilled for RC 2 in beta branch

Describe the Bug
The current beta version of payload only requires Next.js canary version 173, which the new RC 2 version of Next.js satisfies. (15.0.0-rc.1)
 ⨯ Error: Dependency next is on version 15.0.0-rc.1, but >=15.0.0-canary.173 or greater is required. Please update this dependency.
    at checkDependencies (/Users/motz/Documents/Entwicklung/darta/.next/server/chunks/ssr/node_modules_payload_dist_ec74b9._.js:14578:31)
    at async RootLayout (/Users/motz/Documents/Entwicklung/darta/.next/server/chunks/ssr/node_modules_@payloadcms_c70ccb._.js:3166:9)

Link to the code that reproduces this issue
package.json-related (follow the steps below)
Reproduction Steps

Create a blank payload beta repo.
Update Next.js to the RC 2 using npx @next/codemod@canary upgrade rc
Run the app and access the payload admin panel at /admin

Which area(s) are affected? (Select all that apply)
area: core
Environment Info
Binaries:
Node: 20.18.0
npm: 10.8.2
Yarn: N/A
pnpm: N/A
Relevant Packages:
payload: 3.0.0-beta.115
next: 15.0.0-rc.1
@payloadcms/db-mongodb: 3.0.0-beta.115
@payloadcms/email-nodemailer: 3.0.0-beta.115
@payloadcms/graphql: 3.0.0-beta.115
@payloadcms/next/utilities: 3.0.0-beta.115
@payloadcms/plugin-cloud: 3.0.0-beta.115
@payloadcms/richtext-lexical: 3.0.0-beta.115
@payloadcms/translations: 3.0.0-beta.115
@payloadcms/ui/shared: 3.0.0-beta.115
react: 19.0.0-rc-cd22717c-20241013
react-dom: 19.0.0-rc-cd22717c-20241013
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:25 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6030
Available memory (MB): 18432
Available CPU cores: 11

117 beta supports stable Next.js version 15.0.0 so it's not relevant anymore


[Gssoc'21] Enhance the footer as much as possible

INCLUDE ALL NECESSARY FIELDS AND DELETE FIELDS THAT ARE NOT NECESSARY.
The footer was looking very dull previously .

Fixes #73
Type of Change:
Delete irrelevant options.

Code
Quality Assurance
User Interface

Code/Quality Assurance Only

New feature : Cool social media icons

How Has This Been Tested?
https://user-images.githubusercontent.com/55352601/114375644-81d29180-9ba2-11eb-87c1-473b0464e6a9.mp4

@sakshi300699 @ishubham21 @anika-001 kindly review my PR.
and please add labels of gssoc and level 3 (if possible) If you like my work its very time taking to make it responsive in both screens (Desktop and mobile)
Dont't worry of extra social media icon i will remove that one which will be unnecessary

@arpit456jain This PR is for which issue?

@arpit456jain This PR is for which issue?

@rupeshmohanty its for issue #73
I had also mentioned this is PR creation

I had improved the footer. Added a wave feature and social media icons with animation in footer and make them responsive as you can see previously the footer was not responsive in mobile view

After this pr i will immediately open a pr for 404 page the work is already has been done.
But i prefer to work on a single pr at a time

@arpit456jain Okay cool!

Awesome Work!

Thank you @sakshi300699
@ishubham21  @anika-001 kindly review my PR

thanks @anika-001 @ishubham21
@rupeshmohanty kindly review my PR


🐛 fix: miscellaneous bug fixes

Test manifests:
adds validation for applying cloud disk on device deployment
---
apiVersion: apiextensions.rapyuta.io/v1
kind: Package
metadata:
  description: Sootballs Printer Cups package
  labels:
    app: printer_cups
  name: sootballs_printer_cups
  version: 2.0.1-kokubu
spec:
  device:
    arch: amd64
    restart: always
  executables:
  - docker:
      image: nginx
    name: cups
    runAsBash: false
    type: docker
  runtime: device
#---
apiVersion: apiextensions.rapyuta.io/v1
kind: Deployment
metadata:
  depends:
    kind: package
    nameOrGUID: pkg-oytmqdbzeajwyxsgczeawfzd
    version: 2.0.1-kokubu
  labels:
    app: printer_cups
  name: sootballs_printer_cups
spec:
  device:
    depends:
      kind: device
      nameOrGUID: romil-v3
  runtime: device
  volumes:
  - execName: cups
    mountPath: /etc/cups/printers.conf
    subPath: /opt/rapyuta/configs/cups/printers.conf
#    depends: #not for device
#      kind: disk
#      nameOrGUID: "romil"

test Resolves misleading execution of command in wrong project in case of changing organization
rio organization select Rapyuta2  --no-interactive
rio device create biswa --runtime dockercompose

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


Update 06a-data-warehouse-load.md

The Lakehouse name should be a specific name - ExternalData, not "a name of your choice", as this name will be used later in the SQL script:
CREATE VIEW [Sales].[Staging_Sales]
AS
SELECT * FROM [ExternalData].[dbo].[staging_sales];
GO
Also to properly load the sales.csv file, the separator should be ',' (comma) not '\n' as the initial lab values which would cause loading errors.
Lab: 06a
Fixes # .
Changes proposed in this pull request:

Hello @luconsta
That piece of the code was updated and moved lower, to now match the same logic :

Regards,
Mihai


when opening from url, and set default-back-href, click invalid

Bug Report
Ionic version:
Ionic:
ionic (Ionic CLI)             : 4.9.0
Ionic Framework               : @ionic/angular 4.0.0
@angular-devkit/build-angular : 0.12.3
@angular-devkit/schematics    : 7.2.3
@angular/cli                  : 7.2.3
@ionic/angular-toolkit        : 1.2.2
System:
NodeJS : v10.10.0
npm    : 6.4.1
OS     : macOS Mojave
Current behavior:
when opening from url, and has default-back-href, click invalid
<ion-back-button
                    color="dark"
                    text=" "
                    default-href="placeholder"
            ></ion-back-button>

Speculate on the reasons
https://github.com/ionic-team/ionic/blob/v4.0.0-rc.3/core/src/utils/theme.ts#L45
Because angular router is used, win.document.querySelector('ion-router'); is null

same here. I had to add routerLink to make it work after a page reload.
<ion-back-button default-href="/" routerLink="/"></ion-back-button>
If I didn't put the default-href the back button would disappear.

Angular properties should be written in camelCase. Please try using defaultHref and let me know if you are still seeing this issue. Thanks!


feat(kibbeh): added a breadcrumbs feature to Kibbeh for better nav UX

Added breadcrumbs to the middle panel to help with Navigation UX, couldn't find anything in the Figma file so just based it off the tailwind config.

this seems like a good feature but as I've mentioned before please confirm design related things with @ajmnz first. as if he/ben aren't ok with it then your work would just be wasted...

ill be closing on @ajmnz's request

or @TheOtterlord can close it too XD

If it's not on Figma it's because it hasn't been thought/planned yet.

@ajmnz yeah fair enough, gave it a fair crack anyway.
It would be worth considering considering it makes navigation a little bit less painless.
Thanks for your time gents. 🙏🏽


WIP: decode legacy :binary_old subtype binary data

The problem is discussed in Issue #290.
This PR is a work in progress.  The proposed code change is working on my production dataset.
Remaining is devising a test strategy.  I don't think it's going to be possible to insert the old binary format into a test DB so we may need to do something else.

Tests added according to my understanding of the BSON spec for binary_old.

Thank you!


Disable deprecated warnings

Try to do same thing as https://github.com/mirumee/saleor/pull/3211 which still have a lot of deprecated warnings.
I believe the derecated warnings in third-party packages won't be removed recently, and maybe it is better to just disable them at all just as many open source project did.
Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] The changes are tested.
[x] The code is documented (docstrings, project documentation).
[x] GraphQL schema and type definitions are up to date.

If you already tried the solution proposed in #3211 and it didn't work, let's try this one and see if it solves the issue.


bugfix x & y flip when reading centroids

Naturally, MOM_CENTR1 corresponds to column values of the centroids,
while MOM_CENTR2 corresponds to row values.
Clearly, right?

This happens to me all the time!
Merged.


Rename helloworld2.py to helloprogram.py

What does the program do ?

In what programming language it is written?

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Moved homebridge from raspberrypi to Debian 8 - but ios cannot find homebridge

I've been running homebridge successfully on a raspberry pi for months.  I just installed Debian 8 on a AMD64 box and installed homebridge, copied over my json.config file, and installed the http accessory.
Homebridge starts up fine on Debian, but my iOS devices (running eve) cannot find it. I deleted both persist directories and changed the username in the config file, but still no luck.
Any suggestions?

When you move it, you really should copy over the persist folder as it contains the pairing information for the phone. As it is, you need to reset HomeKit on the phone and delete the persist folders one more time.

Thank you.  That fixed it.  Unfortunately, I lost all of my scenes in Eve on my iPhone, but at least all of the accessories are still there.  Thanks

Where are the persist folders located? Complete newb question, I know.

xena68 - try disabling ipv6 in avahi ..
 sed -i '/^use-ipv6=/s/=.*/=no/' avahi-daemon.conf  /etc/avahi/avahi-daemon.conf


[SPARK-34897][SQL] Support reconcile schemas based on index after nested column pruning

What changes were proposed in this pull request?
It will remove StructField when pruning nested columns. For example:
spark.sql(
  """
    |CREATE TABLE t1 (
    |  _col0 INT,
    |  _col1 STRING,
    |  _col2 STRUCT<c1: STRING, c2: STRING, c3: STRING, c4: BIGINT>)
    |USING ORC
    |""".stripMargin)

spark.sql("INSERT INTO t1 values(1, '2', struct('a', 'b', 'c', 10L))")

spark.sql("SELECT _col0, _col2.c1 FROM t1").show

Before this pr. The returned schema is: `_col0` INT,`_col2` STRUCT<`c1`: STRING> add it will throw exception:
java.lang.AssertionError: assertion failed: The given data schema struct<_col0:int,_col2:struct<c1:string>> has less fields than the actual ORC physical schema, no idea which columns were dropped, fail to read.
	at scala.Predef$.assert(Predef.scala:223)
	at org.apache.spark.sql.execution.datasources.orc.OrcUtils$.requestedColumnIds(OrcUtils.scala:160)

After this pr. The returned schema is: `_col0` INT,`_col1` STRING,`_col2` STRUCT<`c1`: STRING>.
The finally schema is `_col0` INT,`_col2` STRUCT<`c1`: STRING> after the complete column pruning:
https://github.com/apache/spark/blob/7a5647a93aaea9d1d78d9262e24fc8c010db04d0/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileSourceStrategy.scala#L208-L213
https://github.com/apache/spark/blob/e64eb75aede71a5403a4d4436e63b1fcfdeca14d/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/PushDownUtils.scala#L96-L97
Why are the changes needed?
Fix bug.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test.

Test build #136644 has started for PR 31993 at commit 2a3f136.

isn't it a bug? cc @viirya

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41226/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41226/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41226/

Test build #136644 has finished for PR 31993 at commit 2a3f136.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

As nested column pruning rule is far from the point we get the physical information of ORC files, and this should be a narrow case, it looks okay to me to inform users a possible workaround here.

It is a Hive ORC table in our production environment.

Can we automatically disable nested column pruning at executor side when we find the orc file schema is the by-position style?

Can we disable column pruning when it is Hive ORC table?
https://github.com/apache/spark/blob/25e7d1ceee8c9f4ecb4ab796f51e9bcbc0500fae/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/SchemaPruning.scala#L98-L100
Update canPruneRelation to:
  private def canPruneRelation(fsRelation: HadoopFsRelation) = {
    fsRelation.fileFormat match {
      case _: ParquetFileFormat => true
      case _: OrcFileFormat =>
        fsRelation.location match {
          case c: CatalogFileIndex =>
            !c.table.provider.contains(DDLUtils.HIVE_PROVIDER)
          case _ => true
        }
    }
  }

Sorry I may miss something. Why it's only a problem in nested column pruning but not column pruning?

Test build #137176 has started for PR 31993 at commit e64eb75.

Sorry I may miss something. Why it's only a problem in nested column pruning but not column pruning?

Nested column pruning removed the field:
https://github.com/apache/spark/blob/0f2c0b53e8fb18c86c67b5dd679c006db93f94a5/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/SchemaPruning.scala#L28-L42

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41754/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41754/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41754/

Test build #137176 has finished for PR 31993 at commit e64eb75.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137176/

Test build #137449 has started for PR 31993 at commit a966bac.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42024/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42024/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42024/

Test build #137449 has finished for PR 31993 at commit a966bac.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137449/

Test build #137470 has started for PR 31993 at commit c04864a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42045/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42045/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42045/

Test build #137470 has finished for PR 31993 at commit c04864a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137470/

Test build #137558 has started for PR 31993 at commit c04864a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42128/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42128/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42128/

Test build #137582 has started for PR 31993 at commit c04864a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42135/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42135/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42135/

Test build #137558 has finished for PR 31993 at commit c04864a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137558/

Test build #137582 has finished for PR 31993 at commit c04864a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137582/

Test build #137707 has started for PR 31993 at commit 6112c9d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42235/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42235/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42235/

Test build #137707 has finished for PR 31993 at commit 6112c9d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137707/

@wangyum there are conflicts

@wangyum there are conflicts

Fixed.

Test build #137730 has started for PR 31993 at commit 4d0b510.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42257/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42257/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42257/

how far shall we backport? to 3.0?

Yes. to 3.0.

Test build #137730 has finished for PR 31993 at commit 4d0b510.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137730/

Thanks! Merging to master/3.1/3.0.

@wangyum There are conflicts in 3.1/3.0. Can you create backport PRs? Thanks.


New release

It would be nice to have a new release that includes https://github.com/Yakifo/amqtt/pull/64. Would allow to update distribution packages which out patching.
Thanks

The latest websockets is 9.1 in the meantime and this release is fixing a authentication vulnerability which was introduced with 8.0.

@fabaff new version released. Now compatible with websockets 9.x

Thank you


Refactor: Simplify the entire subscription process. (Also: smaller tap)

I started off trying to unify the logic between SafeSubscriber and tap that figures out if it's three functions or an observer, but I ended up with a refactor that updated each one independently. The tap commit is actually unrelated to the other commits at this point, other than they were part of one journey.

refactor(SafeSubscriber): Smaller implementation

Also removes unnecessary check to see if the observer was a Subscriber. Subscribers are never passed to SafeSubscriber, so it was unnecessary.

refactor(tap): Smaller implementation

Also optimizes dynamic calls of tap that might not pass any handlers or observers.

refactor(Subscriber): Massively untangle Subscriber and SafeSubscriber

Subscriber is just a Subscriber now. It doesn't do anything magical to wrap the destination it is handed in a SafeSubscriber.
Subscriber.create returns SafeSubscriber.
Simplifies logic in Subscriber significantly.
Adds comments outlining code to be removed when the deprecated next context code is removed.
Completely removes toSubscriber and related complexity.

BREAKING CHANGE: new Subscriber no longer takes 0-3 arguments. To create a Subscriber with 0-3 arguments, use Subscriber.create. However, please note that there is little to no reason that you should be creating Subscriber references directly, and Subscriber.create and new Subscriber are both deprecated.

🔥 🔥 🔥


How to calculate AUC?

Hi,
When detecting text, the score dictionary is returned. The fields include num_tokens_scored, num_green_tokens, green_fraction, z_score, p_value, z_score_at_T, prediction, and confidence. When calculating AUC,
metrics.roc_curve(all_pred, all_true, pos_label=1)  。
When the z_score of a text is greater than a threshold (for example, 4), we predict True. But all_pred is the probability of True. I don’t know how all_pred is understood and calculated in this paper.
Maybe this question is relatively simple, but I really don’t understand it. I look forward to your reply.
Thanks

I'm having some confusion while calculating the ROC curve for watermark detection and would appreciate your help. Let's say we have 500 watermarked texts to calculate the detection accuracy. Should I calculate the false positive rate by selecting 500 original texts from the dataset, or should I use 500 texts generated by a large model without any watermark?


Jordan NGAP onboarding

💡 Description

[x] DevOps Mindset: DevOps Principles & Implementation Approach (SKILLSOFT it_doexdodj_01_enus)
[x] AWS Associate Solutions Architect 2020: AWS Developer Options (SKILLSOFT it_clawsaa19_12_enus)
[x] ELEVATED PRIVILEGES ON NASA INFORMATION SYSTEMS (COURSE ITS-002-09) (on NASA SATERN)

Training complete. NAMS request submitted

Done!


Specifying multiple JSInvokable attribute on a method throws

JSInvokableAttribute is declared to be AllowMultiple. However DotNetDispatcher incorrectly assumes there's only ever one: https://github.com/aspnet/Extensions/blob/release/3.0/src/JSInterop/Microsoft.JSInterop/src/Infrastructure/DotNetDispatcher.cs#L323
Specifying more than one results in an exception at runtime:
System.Reflection.AmbiguousMatchException: Multiple custom attributes of the same type found.
   at System.Attribute.GetCustomAttribute(:58329/MemberInfo element, Type attributeType, Boolean inherit)
   at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](:58329/MemberInfo element, Boolean inherit)
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.ScanAssemblyForCallableMethods(:58329/AssemblyKey assemblyKey)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(:58329/TKey key, Func`2 valueFactory)
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.GetCachedMethodInfo(:58329/AssemblyKey assemblyKey, String methodIdentifier)
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(:58329/JSRuntime jsRuntime, DotNetInvocationInfo& callInfo, IDotNetObjectReference objectReference, String argsJson)
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:58329/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

We should just remove the AllowMultiple = true since there doesn't seem to be a very good use case for aliasing it.

When we discussed this in triage today, we decided we wanted to support the use of AllowMultiple. This may help users version their JSInterop (use an old name, but support a newer name as they refactor).


an emitter with 239 events breaks type check, throw ts2590 Expression produces a union type that is too complex to represent

Bug Report
I wrote a framework (namely koishi) which uses a fully-typed event emitter implemented by itself. However when I create more events (totally 239), the type check just broke with an error ts2590 (Expression produces a union type that is too complex to represent). It seems that the error was thrown here:

I know 239 events is a lot, but I still cannot figure out how the 239 events became "100000 type checks".
Can you help prevent this error either by optimize type check performance or by improve my code? Thanks.
🔎 Search Terms
union type, interface, event emitter, ts2590
🕗 Version & Regression Information
I tried with v4.1.3, v4.1.5 & v4.2.1-rc. They all failed.
⏯ Playground Link
This playground will not work because it imports a dependency @octokit/webhooks-definitions (it's just a simple collection of github webhooks type definitions, but it is too big (over 5000 lines) to be included as I thought).
Playground link with a dependency
And the dependency code can be found here: https://unpkg.com/<EMAIL_ADDRESS>💻 Code

interface EventMap extends SessionEventMap, WebhookEventMap {}

declare function on<K extends keyof EventMap>(name: K, listener: EventMap[K]): () => boolean

on('message', () => {})

🙁 Actual behavior
TS2590 error: Expression produces a union type that is too complex to represent.
🙂 Expected behavior
No compiler error

@ahejlsberg or @weswigham interested in looking at this?

I have looked at this and have a pretty good grasp of what's up at this point. First: You "only" have 239 top-level events... but each of those events may have multiple possible payload shapes. So the handler arrow function signature's contextual type looks like (payload: A1) => void | ... | (payload: A239) => void, where A1 through A239 are themselves unions of 1 or more object types. When we have a contextual union type like this, we attempt to combine those disparate signatures into a single contextual signature. To do that, we intersect all those parameter types. That's where the limiter comes into play - our simple analysis sees that based on the union+nested intersection count, there's >200,000 possible combinations in that calculated parameter type intersection. What that complexity analysis doesn't currently know, however, is that almost all of those 200,000+ possible combinations will reduce away to never due to conflicting discriminant properties (their type field).
So there's two things I've come up with that we can do to improve here, and I have implementations for both, I just don't know if we wanna do both, and, if so, together or separately.

In the example given, the callback passed to on has no explicit arguments. That means we shouldn't need to actually look at the argument types of the composite signature (since there's no argument position we actually need to contextually type). We can make it so we don't eagerly pull on and normalize the constituent types with a pretty straightforward usage of and modification to our existing SymbolFlags.DeferredType machinery for deferring union/intersection property type normalization (so it also covers union/intersection parameters). That will help the example as written, but if you rewrite it so it actually has an argument, eg, on('message', arg => {}), you're right back to an expression complexity error. Still, that allows the example given to compile in ~2s in my machine without a complexity error.
Given that, integrating some kind of eager reduction pass seems useful in scenarios like this (where we're probably going to hit a complexity limit if we don't simplify the types involved). I already take a similar approach in https://github.com/microsoft/TypeScript/pull/42772 - with some slight modifications, the scenario given here can also be caught by that PR's check and eagerly reduced. Doing so can remove the complexity error - however performing the reduction pass isn't free. We only need to do it once in the whole program, no matter how many times on is called (because it's part of a constraint calculation on the signature of on), so the overhead is relatively fixed... but actually reducing the type just that one time adds 52s to what is otherwise a 2s compilation on my really beefy machine. This might be able to be reduced with some investigation in faster recognition/application of reduction. Ander's recent work may be relevant here.

Hello, are there any plans to handle this particular issue? I am still seeing this error on typescript 4.5.5. Or Can you please provide a workaround like a tsconfig.json settings to disable/set higher limit for the too complex type error?


Error running data fusion queries - Physical input schema should be the same as the one converted from logical input schema

I have a simple iceberg table that I can query using DataFusion
+----+----------+-----+------------+
| id | name     | age | dt         |
+----+----------+-----+------------+
| 2  | Jane     | 20  | 2024-01-02 |
| 1  | John     | 10  | 2021-01-02 |
...

However, whenever I run a query such as select count(*) from tbl  or select name from tbl group by 1 I get the following exception:
Error: Internal error: Physical input schema should be the same as the one converted from logical input schema..

If this is reproducible with others, then I think we have some issue with the provider.
The code I use to run queries against the table:
let warehouse_location = String::from("/tmp/testwarehouse");
let file_io = FileIO::from_path(warehouse_location)?.build()?;
let metatdata_location = "/tmp/testwarehouse/test/test_table/metadata/v1.metadata.json";
let table_indent = TableIdent::from_strs(["test", "test_table"])?;
let static_table =
    StaticTable::from_metadata_file(metatdata_location, table_indent, file_io).await?;
let table = static_table.into_table();
let ctx = SessionContext::new();
let table_provider = IcebergTableProvider::try_new_from_table(table).await?;
ctx.register_table("tbl", Arc::new(table_provider))?;
let df = ctx.sql("select count(*) from tbl").await?;
df.show().await?;

This is mainly caused by  https://github.com/apache/datafusion/issues/12687, I will propose a PR to upgrade datafusion version.

Thanks @FANNG1
FYI @sdd


remove bug sendStdin

sendStdin is useless, we don't wait for the stdin,
we only wait for stdout.
sendStdin is bug, when stdin&stdout closed at the same
time, we will blocked forever on sendStdin
Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

Good


QOL / Structure Changes

[ ] Include format lint & publint in the test action
[ ] Enable autoformatting for vscode settings
[ ] Format the codebase and do a blame-ignore

I am starting to think that the repo structure would benefit from a change, perhaps something like:
packages/
	playground/
	svelte-cloudinary/
		tests/
		...
	docs/

What I want to achieve is a clear seperation between the SvelteKit app that is the playground and the actual package to avoid accidental breaking changes again. WDYT? @colbyfayock

that makes sense to me! i found it a bit confusing that they were somewhat grouped but from one of our chats sounds like that was an older pattern and kinda just the way it was
so lets go for it


quickstart start ml backend instruction fix

The Quickstart step 3 says to "Start the ML backend server", but the current command is for starting label-studio with a new project and attaching an existing, already running backend. With the current command, the later step 6 fails as there is no running backend at http://localhost:9090.
label-studio start my_ml_backend --init \
     --ml-backends http://localhost:9090

The updated command will start the label-studio-*ml* backend server (i.e. http://localhost:9090).
label-studio-ml start my_ml_backend

Then in step 6, the link to http://localhost:9090 will be valid.

This must have regressed somewhere -- I could swear I updated this! Thanks for the catch and the PR fixing it, @JustasB :)
cc: @makseq


MNT: Re-rendered with conda-build 3.21.4, conda-smithy 3.9.0, and conda-forge-pinning 2<IP_ADDRESS>.18.58

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


PHOENIX-7378: Add HBase 2.6 profile

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
5m 29s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

-1 :x:
mvninstall
0m 12s
root in master failed.

-1 :x:
compile
0m  6s
root in master failed.

-1 :x:
javadoc
0m  6s
root in master failed.

_ Patch Compile Tests _

-1 :x:
mvninstall
0m  6s
root in the patch failed.

-1 :x:
compile
0m  6s
root in the patch failed.

-1 :x:
javac
0m  6s
root in the patch failed.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

-1 :x:
javadoc
0m  6s
root in the patch failed.

_ Other Tests _

-1 :x:
unit
0m  6s
root in the patch failed.

+1 :green_heart:
asflicense
0m 19s
The patch does not generate ASF License warnings.

6m 57s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix-connectors/pull/135

JIRA Issue
PHOENIX-7378

Optional Tests
dupname asflicense javac javadoc unit xml compile

uname
Linux 0b8428447fba 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-connectors-personality.sh

git revision
master / 4c880e2

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

mvninstall
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/branch-mvninstall-root.txt

compile
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/branch-compile-root.txt

javadoc
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/branch-javadoc-root.txt

mvninstall
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt

compile
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/patch-compile-root.txt

javac
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/patch-compile-root.txt

javadoc
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/patch-javadoc-root.txt

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/artifact/yetus-general-check/output/patch-unit-root.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/testReport/

Max. process+thread count
47 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-135/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Standalone package for running serverside + web client

Bundle up the server-side and client into one easy to use and install "package", such as for providing a drop-in web interface to other servers:

https://github.com/satoshinm/NetCraft/issues/19 Improved protocol support, interop with other server software
https://github.com/satoshinm/NetCraft/issues/12 Multiplayer support (connecting to servers) in web version

Did this in https://github.com/satoshinm/WebSandboxMC


IPTT full report download Change Log tab is not translated

Issue
To reproduce:

Set language to French or Spanish.
Run a Target vs Actuals IPTT, click "Excel" and then "All program data"

In the excel export, note that the tab "Change log" is not translated:

PASSED.


fix: security prototype pollution

Optimist has been deprecated over 2 years ago as has a security vulnerability. With this change we use it's successor yargs.
Closes: #5413

@googlebot I consent.


Bug: CASE WHEN not working properly

Hi there, this problem I'm having is pretty weird..
REPLACE INTO country SELECT c.code,c.name,c.slug,c.latitude,c.longitude,
SUM(a.number_of_reviews) as reviews,(
  CASE
    WHEN reviews > 100000 THEN 0.8
    WHEN reviews > 50000 THEN 0.7
    WHEN reviews > 20000 THEN 0.6
    ELSE 0.5
  END
) as priority FROM country c
JOIN agoda a ON (c.code=a.code)
GROUP BY a.code

When I run this normally with Sequel Pro, it works. But when I put it through this driver it's only picking up the ELSE part of the CASE i.e. "0.5". Any ideas? Thanks.

I'm not able to duplicate this. A plain query string like that (with no variable replacement/substitution) is passed as-is to the underlying libmariadbclient functions.
If you get a chance, please try with the rewrite branch, which contains a newer version of libmariadbclient, which may include a bug fix for your particular issue.


Refrain from keeping long idle connections

https://github.com/alikrubin/mysql_copy_tablespaces/blob/c0210e413255ceb53689655622b90fa76e1355c3/mysql_copy_tablespaces.py#L213
Looks like this connection is used across the lifetime of the script which can be susceptible to idle timeout. Recommend using connections on demand after checking to make sure credentials and connectivity is possible at beginning of script.

Closing, did not notice this was fabric for SSH.


support custom css modules suffix

Clear and concise description of the problem
At present, Vite can only treat files with the suffix of .module.css as css modules. However, some files do not have this suffix, but they still need to be processed by css modules.
Suggested solution
Support within vite，not  a plugin.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

I don't use CSS modules myself, but I personally like how Vite has opinions on things and force users to do things in one way only. Having a new option to specify what considers a CSS module doesn't feel right, and I'd personally prefer it to be a Vite plugin instead, if you need it. (My 2 cents)

@sanyuan0704 would you explain why it can't be achieved by a plugin to justify adding it to core?

I had similar issue with Vite. I think that bundler should be flexible to handle legacy code bases without changes. There is my message' cite from help channel from discord:

Hello comrades!
By default, Vite only enable css-modules for files with the .modules.css suffix. But the problem is that we already have a lot of code where modules are enabled by default for all files.
I've been trying for hours to hack plugins to enable css-modules for all css files, but I've been unsuccessful so far.
I tried to change id to id with suffix .modules.css at the resolveId hook. But because of this, Vite cannot find the files. I tried to write my own plugin that would completely repeat the standard one, but with the changes I needed — but it's very difficult.
Can you tell me how to get the desired result? Thanks in advance.

If you agree that such functionality is needed, I can make a PR

I think that bundler should be flexible to handle legacy code bases without changes.

I disagree. Vite is a modern bundler which makes certain tradeoffs and opinions so that it's fast and standard today. For example, source code is ESM only, CJS needs to be prebundled, not shimming nodejs modules, etc. Configuring a modern bundler to support legacy codebases doesn't sound right. I think the legacy codebase should be modernized instead.
IMO new functionality should only be added if there is a real usecase for it, and not for legacy support.
FWIW there's already a PR #6404

IMO new functionality should only be added if there is a real usecase for it, and not for legacy support.

In our case we do not want to use not moduled css. All global things we place in :global scope. This limitation is deliberately designed to minimize the chance of conflicts and simplify development.

We can configure the build folder, we can configure the names of the generated classes. But for some reason we can't customize the project structure. It seems to me that this is a little strange. But this is my personal opinion, I'm not a contributor.
I will be very grateful if you tell me how to solve my problem using plugins.
I can also give some context. We have not one project, but many microfrontends. To build microfrontends, we have our own utility with webpack under the hood. But our build utility is very strict in terms of project structure and does not have access to build configuration files for end developers.

I will be very grateful if you tell me how to solve my problem using plugins.

I would probably try making a plugin that has:

resolveId hook to resolve **/*.css ids into **/*.module.css
load hook to load the **/*.module.css file back from the original **/*.css file from the filesystem
apply: "pre" so this happens before Vite's css plugin

Not sure if there's any gotchas but might be worth trying to do so. Otherwise I still think it's best if your project can be refactored to use the .module.css convention.

You have an example here https://github.com/userquin/vite-ssg-swiper/blob/main/vite.config.ts#L29 loading swiper on ssg

duplicate of https://github.com/vitejs/vite/issues/2116 and https://github.com/vitejs/vite/issues/2981
user plugin https://github.com/Summer-andy/vite-plugin-transform-css-modules

I wrote a plugin based on bluwy's idea to implement it. https://github.com/jsonz1993/vite-plugin-load-css-module

I wrote a plugin based on bluwy's idea to implement it. https://github.com/jsonz1993/vite-plugin-load-css-module

It still load XX.module.less, and turn out to be 404 eror


Fms consumer zenoh communication

Created a PR for review the code.

Rerge fms-consumer-zenoh-communication into fms-forwarder-zenoh-communication


OpenLayers.ProxyHost In OpenLayers 3?

Hi,
Is there a corresponding OpenLayers.ProxyHost setting in the new OL3 library?
Many thanks,
Conor

Please, use StackOverflow [1] for for user questions.  If you want to participate in discussions related to the development of ol3, you can use the "ol3-dev" [2] mailing list.
[1] http://stackoverflow.com/questions/tagged/openlayers-3
[2] https://groups.google.com/forum/#!forum/ol3-dev

Is there a corresponding OpenLayers.ProxyHost setting in the new OL3 library?

No there isn't anything like this for now.


can't leave a channel [question]

When I connect to 11 channels, the server outputs this message:

Possible EventEmitter memory leak detected. 11 disconnect listeners added. Use emitter.setMaxListeners() to increase limit

I don't know if this is a problem.
I always leave current channel before connect to a new channel using:
Echo.leave('name-of-the-channel');
I googled this message and found that node is not removing the listener from the old channel listener.
Another question I have is why every time I connect to a channel the server otputs something like this:

[00:39:47] - 8BjTHoFwnNaywF7JAAAI left channel: private-chat-conversation.22
[00:39:47] - 8BjTHoFwnNaywF7JAAAI joined channel: private-chat-conversation.22

First "left channel" is fired (never joined the channel before) and then "joined channel" is fired. Is normal?
Also when I run Echo.leave function nothing happens and there isn't any message from the server.

The last part is fixed by this: https://github.com/tlaverdure/laravel-echo-server/pull/97

I think the second part is because the disconnect listener is not removed on unsubscribing (leaving on client-side). See https://github.com/tlaverdure/laravel-echo-server/pull/97#issuecomment-272657288
Should now also fix this.


Feat: enhance rax

fix: 修复生成的 rax page 中包含 <div> ，应该为 <View>
feat: 创建页面时支持生成路由至 app.json

Codecov Report

Merging #676 (9048b90) into release/0.14.0 (a995872) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release/0.14.0     #676   +/-   ##
===============================================
  Coverage           57.14%   57.14%
===============================================
  Files                   1        1
  Lines                  70       70
  Branches               15       15
===============================================
  Hits                   40       40
  Misses                 30       30

Continue to review full report at Codecov.

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


Set up Zoom platform (check links are correct, graphics have been added, etc)

What
Make sure the event platform is set up properly.
Why
So that the team/event comes across as professional.
Who needs to work on this
Kam, Imran, speakers
Who needs to review this
PM & DM
Done when

[ ] Backgrounds and images uploaded
[ ] Check links
[ ] Add presenters and co-host permissions
[ ] Run tech check-ins]
[ ] Prep troubleshooting tips

Zoom background

Closing this as it's in 'Done'.


Highlight homepage title, add authors to page header #25

This isn't ready to merge. Needs a test build. I'm trying to get my local environment up.
But I've added styles and a template for the header and authors.
Proposed layout:

thanks @DrDrij I will build this in the morning

@DrDrij I have setup a PR on lecture-python-programming to test this branch as builds are done on master.
We should setup a sample project build for this REPO as a CI test. I'll try and do that soon.

https://github.com/QuantEcon/lecture-python-programming.myst/pull/68

@DrDrij seems to be an issue with scss
Extension error:
Handler <function add_static_path at 0x7f4d00800820> for event 'builder-inited' threw an exception
Traceback (most recent call last):
  File "/usr/share/miniconda3/envs/qe-lectures/lib/python3.8/site-packages/sphinx/events.py", line 110, in emit
    results.append(listener.handler(self.app, *args))
  File "/usr/share/miniconda3/envs/qe-lectures/lib/python3.8/site-packages/quantecon_book_theme-0.0.1-py3.8.egg/quantecon_book_theme/__init__.py", line 34, in add_static_path
    sass_compile(dirname=(source_dir, output_dir), output_style="compressed")
  File "/usr/share/miniconda3/envs/qe-lectures/lib/python3.8/site-packages/libsass-0.20.1-py3.8-linux-x86_64.egg/sass.py", line 738, in compile
    raise CompileError(v)
sass.CompileError: Error: Top-level selectors may not contain the parent selector "&".
        on line 429 of ../../../../../usr/share/miniconda3/envs/qe-lectures/lib/python3.8/site-packages/quantecon_book_theme-0.0.1-py3.8.egg/quantecon_book_theme/scss/quantecon-book-theme.scss
>> .main-index & {

   ^

The above exception was the direct cause of the following exception:

[ ] add CI to test project builds for theme PR's.

Codecov Report

Merging #32 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   73.86%   73.86%
=======================================
  Files           2        2
  Lines         199      199
=======================================
  Hits          147      147
  Misses         52       52

Flag
Coverage Δ

#pytests
73.86% <ø> (ø)

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

Continue to review full report at Codecov.

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

This project is building on the test PR for lecture-python-programming.myst now
https://5f7fac05c8d142177e3854fa--epic-agnesi-957267.netlify.app/intro.html

@DrDrij builds are now working on this branch for you so you can see results of any changes.

Looking good @DrDrij and @AakashGfude 🥳

@AakashGfude @DrDrij can this be merged?

@mmcky yes I think so. But will wait for @DrDrij 's cue.

[ ] once this is merged @mmcky to update all the CI for this and lecture-python-programming.myst

wait @mmcky this needs one more small fix. I should check for the exact string of master_doc instead of just checking if master_doc name is a part of the pagename

all good now 😊

thanks @AakashGfude and @DrDrij -- love your work. I will merge this and then update CI.


Is it possible to Include SQL query parameter values in Application Insights?

I have the following sql query in my project:
"select location from test where name = @name", and then I can see this query is logged in the application insights.
But I wonder if it's possible to record the value of the parameter "@name" in the query in application insights? like if the "@name"'s value is "jack", then in the application insights, it's logged this query as "select location from test where name = jack".

@imeya, Application Insights SDK does not collect SQL parameters by default (as per my understanding, it's done to decrease chances of collecting PII in the telemetry by default).
If you have a way to retrieve the values you'd like to put into Dependency Telemetry on your own - then you can set them in Telemetry Initializer on the outgoing telemetry item.

thank you.


Configuration doesn't save after restart

Hi
Im running the Beta Version (1.0.22) and upon a restart non of my pages, layouts, themes or access token are saved.
Excellent software though :)

Can you post your full log text if running from the Supervisor? On the Log tab in the addon config.
Or, if you're just running a straight-up Docker container, you'll need to reproduce the bug while a terminal is attached so you can see and grab the logs.

info: HADotNet.CommandCenter.Startup[0]
    _    _          _____ _____
   | |  | |   /\   / ____/ ____|
   | |__| |  /  \ | |   | |
   |  __  | / /\ \| |   | |
   | |  | |/ ____ \ |___| |____
   |_|  |_/_/    \_\_____\_____|

   Home Assistant Command Center
          Version 1.0.22

  Now listening on: http://*:8095

warn: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Can't initialize HACC API, missing the base URL.
warn: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Can't initialize HACC API, missing the base URL.
info: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
HA connection is not initialized, redirecting user to settings area...
warn: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Can't initialize HACC API, missing the access token.
warn: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Can't initialize HACC API, missing the access token.
warn: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Can't initialize HACC API, missing the access token.
warn: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Can't initialize HACC API, missing the access token.
info: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]
Initializing HACC API with URL http://<IP_ADDRESS>:8123 and access token [eyJ0eX•••••••••••Yjt9CA].
On each restart it asks me for an access token.
Also for some reason when I first installed the stable version it installed version 0.6.0 and I cannot uninstall it or update it or install your latest stable. do you know why this may be?
Thanks in advance

I Found a previous issue on how to remove version 0.6.0

Hi Jake
just wondering if you managed to replicate the issue?
thanks

Sorry for the delay... can you update to 1.0.25 or newer and let me know if this is still an issue?
Also, please provide full details of your system (how are you running Home Assistant? What version? Are you running HACC via Supervisor or separate Docker container...?)

Sorry for the delay... can you update to 1.0.25 or newer and let me know if this is still an issue?
Also, please provide full details of your system (how are you running Home Assistant? What version? Are you running HACC via Supervisor or separate Docker container...?)

Hi @lukewelch, v1.0.26 or newer should address this - let me know if you're still having any issues. Feel free to reply and reopen the issue.

Hi @lukewelch, v1.0.26 or newer should address this - let me know if you're still having any issues. Feel free to reply and reopen the issue.


[BUG]: Import of sonatypeiq_source_control fails

Expected Behavior
The resource should have been imported. This has failed on 2 resources I have tried to import, I will attempt to do further testing as I worked around the issue by deleting the configuration using the rest API and then recreating.
If there isn't sufficient debug output I will do a PR to add that.
Actual Behavior
The provider crashed, see output below.
Sonatype IQ Server Version
175
Terraform Version
1.8.5
Affected Resource(s)
sonatypeiq_source_control
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
Stack trace from the terraform-provider-sonatypeiq_v0.8.0 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x154eb00]

goroutine 376 [running]:
terraform-provider-sonatypeiq/internal/provider.(*sourceControlResource).Read(0xc0006ed530, {0x1b03448, 0xc0006ed4a0}, {{{{0x1b077d0, 0xc0000a4ab0}, {0x18aace0, 0xc0000a45a0}}, {0x1b09128, 0xc0000a3a40}}, 0xc0003bc060, ...}, ...)
        terraform-provider-sonatypeiq/internal/provider/source_control_resource.go:205 +0x520
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001a6dc0, {0x1b03448, 0xc0006ed4a0}, 0xc0006ed560, 0xc00037d6c8)
        github.com/hashicorp/terraform-plugin-framework@v1.4.2/internal/fwserver/server_readresource.go:101 +0x64e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001a6dc0, {0x1b03448?, 0xc0006ed380?}, 0xc00071f500)
        github.com/hashicorp/terraform-plugin-framework@v1.4.2/internal/proto6server/server_readresource.go:55 +0x3e5
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0002528c0, {0x1b03448?, 0xc0006ec9f0?}, 0xc000740ae0)
        github.com/hashicorp/terraform-plugin-go@v0.22.0/tfprotov6/tf6server/server.go:776 +0x4c3
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x19a3160?, 0xc0002528c0}, {0x1b03448, 0xc0006ec9f0}, 0xc0003b3d00, 0x0)
        github.com/hashicorp/terraform-plugin-go@v0.22.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001bb000, {0x1b03448, 0xc0006ec960}, {0x1b08140, 0xc00040c1a0}, 0xc0004e26c0, 0xc000335290, 0x21249c8, 0x0)
        google.golang.org/grpc@v1.61.1/server.go:1385 +0xe03
google.golang.org/grpc.(*Server).handleStream(0xc0001bb000, {0x1b08140, 0xc00040c1a0}, 0xc0004e26c0)
        google.golang.org/grpc@v1.61.1/server.go:1796 +0xfec
google.golang.org/grpc.(*Server).serveStreams.func2.1()
        google.golang.org/grpc@v1.61.1/server.go:1029 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 36
        google.golang.org/grpc@v1.61.1/server.go:1040 +0x135

Error: The terraform-provider-sonatypeiq_v0.8.0 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I have identified the issue and will work on a pull request to fix the issue