docker container should allow user to select python3

part of this is including the anaconda commands to download py3 into the container.
but then also need to allow selecting it.  currently it is done out-of-band by the user editing their ~/.bash_profile.  but the next generation of the plugin manager we would like this to be selectable from within our app.

after https://github.com/twosigma/beaker-notebook/issues/1166
python2 + python3 just requires setting up beaker.pref.json


Qt license

Overall, this design of idea of how it should be done.. like how to create a cross-platform engine with C++ and have an editor with a proper framework, like Qt. That’s idea was in my mind for many years..
However, this is not allow you to publish games, right?

Hi. The game framework is Independent from the editor. The editor writed in the Qt environment and licenced as opensource. So, we haven't problem with the qt licence when release a game if you want to ask that question. Qt licence allows open source applications.

So, the editor should be just open-source and I can use it for developing my game, publish on the Apple Store and I don’t have to pay for any Qt license?

Of course.

So, the editor should be just open-source and I can use it for developing my game, publish on the Apple Store and I don’t have to pay for any Qt license?

That's correct.  This repo is using the open source version of Qt. It would allow you to build your games without any issues. Please take in consideration that Turquoise2D is a work in progress. That's why its creator @erayzesen made it open source this week, so that we (the open source community) polish it, and make its first release :)

This thread started as an issue. There is no actual issue to report here. So @erayzesen you can close this issue now :) .

I was just banned on the cocos2d-x forum, because of editor I supported and pushed to the masses: https://github.com/KAMIKAZEUA/SpriteBuilderX
https://discuss.cocos2d-x.org/t/spritebuilderx-editor-for-cocos2d-x-with-c-support/34916
Short story: they abandoned C++ support and moved to Javascript editor-engine which is tend to be just a clone of Unity, I m talking about cocos creator. Any my criticism in favor of this choice(JS) was supported on the forum by other C++ developers, but it was also carefully checked and suppressed by the moderators there. Some of my comments was rude, yea, but I just have a feelings for the cocos2d-x and it was painful for me to see how they killing it...
But what is more funny, I also told them that the most appropriate choice is an editor such as yours: made in C++ and uses Qt. But they completely ignored this, so don’t hope that anyone on the forum needs your editor (I’m talking about official representatives).
So I can ask only here.
———
Also, what you should know - from what I see and understand from all my experience with the engine: cocos2d-x is abandoned and dead.
No one uses or supports it. Over the past half year or even more, not a single adequate improvement has been made that is aimed at developing new functions and thinking over the future of this engine.
Check this https://github.com/cocos2d/cocos2d-x/issues/20502
Also, this is not the end. They ban me on the github too:

You are blocked from the cocos2d organization and cannot comment because of this content.
https://github.com/cocos2d/cocos2d-x/issues/20396

Can you imagine! I just was banned because I asked - how new v4 was tested, because I know it has a lot of problems and should be tested and fixed on many devices. It was just like made in a hurry and anyhow, just to be released..
Another example I created a simple UI bug and it’s still not fixed for years: https://github.com/cocos2d/cocos2d-x/issues/18616
@erayzesen :) sorry for too much text and I will never post any issues here any more. Just wanted to say it all.

Thanks @KAMIKAZEUA for reaching out.  What's the state of your editor? do you need help from the development community?  is there anyway we could merge efforts between Turquoise2D and SpriteBuilderX to create a game editor for those who prefer to code in C++?

I'm using Unity, this is only way quickly and stably develop games for mobile.
I'm not sure about what community you talking about, I don't know anyone. It's all abandoned.
No future for any kind of editor with C++, this is years task and requires a huge investment.

Thanks for some informations @KAMIKAZEUA. I know SpriteBuilderX project and it's a good tool. Maybe you want to look Turquoise2D project to help in the future : )

Cocos2d-x is dead and abandoned, there’s no any sense to spend time on it.
The only way is to create a new engine from scratch. I have such idea in my mind, but it’s again requires a years of work of a team minimum 5 developers and a clear and right vision direction of the engine..
And Unity is free, so it’s would be nearly impossible to gain some popularity with any new product. This is too risky and costly.
However, I’d defend tryout this! Just where to get money for the 2+ years of work?..


I would like to mock a request timeout.

How might I go about this?
I can set the status of the response to 408 but I need to change it so that there is a request error with type request-timeout.
Using the { throws: { type: 'request-timeout' } } gets closer but this is still a response error and not a request error.

Nevermind, figgured it out. Needed to use an error instance as the throws value so an internal library would pick it up correctly.


Is my gitignore file wrong for using this framework?

I have created a project on my laptop and got it running
https://github.com/Mech0z/Foosball9001
Then I tried to clone it on another machine and doing what I have in my readme
But when I run "webpack --watch" I get errors due to
wwwroot\dist and ClientApp\dist being in my https://github.com/Mech0z/Foosball9001/blob/master/.gitignore
Should I change it for it to work? or should I not run webpack --watch?
If I create a new yoman project and just copy the ClientApp\app of my other app into it, it works fine, so some files are missing

You can either include your wwwroot/dist/* and ClientApp/dist/* files in source control, or you can remember to rebuild them each time you start on a new machine (i.e., with webpack --config webpack.config.vendor.js then webpack).
It's up to you which approach you prefer :)

@SteveSandersonMS Removed those 2 files from my gitignore, but still I get errors
I have to first install webpack locally
And I get Cannot find module webpack-merge, is it not possible to have a git repo where you can just pull and run it?
Also I choose Angular, according to http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/ I should be able to do
set ASPNETCORE_ENVIRONMENT=Development
dotnet run
And not run webpack at all? But when I run it nothing is recomiled, I can read Node will restart because file changed: C:\Git\test3\nod... but nothing happens when I refresh my browser, if I do webpack --watch it recompiles my files fine


JumpPointFinder crashing when allowDiagonal is true

JumpPointFinder is crashing when allowDiagonal is true.
I tried disabling diagonals and seems to work

Could you post your stacktrace and maybe provide a file with your graph set
up??
El feb 9, 2015 11:26 AM, "titoasty"<EMAIL_ADDRESS>escribió:

JumpPointFinder is crashing when allowDiagonal is true.
I tried disabling diagonals and seems to work
—
Reply to this email directly or view it on GitHub
https://github.com/xaguzman/pathfinding/issues/3.

I managed to make it working, and it was all my fault !
It was a bad initialization of GridCell, not passing column and row as parameters of the constructor.
And by the way, I think passing an array of GridCells to a NavigationGrid should automatically set the x and y of GridCells, don't you think ? It was kind of confusing...
But anyway, it's working fine ! (and I'm very glad you implemented jps, which is very fast, yours even seems faster than my implementation due to reutilization of objects. nice job on your library !)

I didn't have time to look into this, but I am glad you got it working, I was a bit insecure about the diagonals in JPS as it came out a bit hacky,
Also, good to see some people get benefits from using this lib :)


Learn / Responding to events page translation

Even though the line count looks horryfing, it was mostly done by one of the built in scripts (yarn check-all as far as I remember).
Personally, I edited just that file + json with sidenav titles

I hope so. Maybe it's because I run that script manually rather than with commit. For some reason I couldn't push it at first, but will do

I'll just create a new PR for this


Chore/split draft2020 schema

Notes:
draft2020-12 schema was moved from root jar dir (/ -> /dev/harrel/jsonschema/draft/2020-12) and split to multiple files (as it's originally provided). Additionally, removed $vocabulary from 2019-09 schema (it was already absent in 2020-12) - it behaves exactly the same because Dialect instance holds this information but now it's easier to modify active vocabularies.


Say hi to your new overlords

(Galyna will let you know who this is)
Read The Fine README!

Hi @0x-ed !
Thank a lot for PR!
Extra thanks for the amusing readme. I enjoyed reading it!
I understood that most of the code in the solution is about integrations with 3rd party tools, so I would appreciate your insight on the architectural choices you've made.

What is the advantage of using actor system comparing to other options?
What is your alternative for the case when Spark magicians aka 🎇🎩  are stuck in the lab and cannot help 😉?
You've mentioned tests in readme, but since the majority of the code deals with integrations how would you go about automated testing?

Thank you!

Hi Sergei, thanks for taking a look. Indeed, the way I approached this was more about wiring components together rather than the logic contained in them, which is fairly simple. On to your questions (and feel free to correct me where I'm wrong):

What is the advantage of using actor system comparing to other options?

Pushing the number of threads high enough will eventually kill the host (want to say I tried it once and the JVM went out of memory?) so you're either going to use a capped thread pool + tasks (e.g. Callable), like so:
// yes it's Java, try to not throw up
final ExecutorService tp = Executors.newFixedThreadPool(threads);
final Collection<Actor> cats = IntStream.range(1, population + 1)
    .mapToObj(Actor::new).collect(Collectors.toList());

final TimerTask tt = new TimerTask() {
    @Override
    public void run() {
        try {
            tp.invokeAll(cats);
        } catch (final InterruptedException e) {
            e.printStackTrace();
        }
    }
};

new Timer().scheduleAtFixedRate(tt, 0, interval);

or do the equivalent of the above with actors, messages and routing while letting whichever library you are using deal with the threads. For a toy example like this one, with the given population and interval, I don't really think there would be a noticeable difference doing it one way vs. another but at least you don't need to worry about how many threads to have in the pool - with too few you could end up consuming requests too slowly, with too many you are back at killing the host. Pretty much any other advantage I can think of which is typically attributed to actors (scalability, state isolation etc. etc.), you could mimic starting with the above example, with enough effort... ideally you want to minimize said effort without making compromises.

What is your alternative for the case when Spark magicians aka 🎇🎩 are stuck in the lab and cannot help 😉?

Not sure if this was relayed but since I'm going away on vacation on Saturday, I wanted to have the exercise wrapped up by the end of last week so we could have the review cycle this week. Otherwise, I would have worked on getting the batch processing part done also. That was just me saying that not being as familiar as a data engineer (for example) would be with Spark was what hindered my progress there. That was not to say I'm opposed to the idea of working with it (quite the opposite actually). In a real setting, the only alternative would be sucking it up and climbing the learning curve. For doing such basic things as averages etc. it should be simple enough, I just spent practically all of my time figuring out other things...

You've mentioned tests in readme, but since the majority of the code deals with integrations how would you go about automated testing?

For integration tests, it should be possible to fire up what is needed and then test either a couple of parts separately or everything end-to-end by triggering whatever action is needed on one end and observing a side-effect on the other. Something like awaitility (which I've used before) would come in handy for the latter part. There might be better ways (read: APIs) to streamline tests if everything is Dockerized but I haven't looked into it. Beyond that, depends on what you want to have in your pipeline. Certain things you could put into your CI pipeline, others (e.g. load tests) you might just have them at the pre-prod stage.


Update rkButton.js - add disabled props for button

RkButton don't is able to disabled the button, i have add it to the map of props to touchableProps.

Fixed in d29f6273dbd9f1dafbaf7de51fa3250f290d59ce by adding maintenance of all TouchableOpacity props

Could you please provide an example of a disabled button?

@numediaweb
In case RkButton uses Touchable as container, you can use it's props to make it disabled.
<RkButton disabled={true} />


Parsing partitions only handles partitions on the leading edge of the file path

Environment
Delta-rs version: 0.6.4
Binding:  Python
Environment:

Cloud provider: Local Filesystem
OS:  MacOS

Bug
When using the Python writer and writing a Pandas DataFrame whose index has been set, reading that DataFrame back does not return the same object.
What happened:
What you expected to happen:
How to reproduce it:
import deltalake
import pandas as pd
from dask.datasets import timeseries
from pandas.testing import assert_frame_equal

df = timeseries(dtypes= "floats": float, "ints": int, "strings": str}).compute()

#df = df.reset_index()
write_deltalake("test0.delta", df, partition_by=["strings"])
table = DeltaTable("test0.delta")
df2 = table.to_pandas()
assert_frame_equal(df, df2)

More details:
Uncommenting the reset_index() line allow this to pass.
When construction the pyarrow Table with .from_pandas(preserve_index=False) is the default behavior, but this operation appends the index column to the table, and it is not preserved when reconstructing the Pandas DataFrame.
Should we expect deltalake to raise an exception when trying to attempting to write a Pandas DataFrame with an index that is anything other than a named RangeIndex?

I am not entirely sure, but i believe the index is stored as metadata in the parquet file with some specifics only known to pandas. More generally speaking, since there are potentially multiple writers to a delta table and multiple versions of the data are tracked, reconstructing the index when reading is not really possible. Things get even more complex when you take common optimizations like bin packing / z-orering etc into account.
As such i believe the way to go is to add the index as a column to the table, and re-create it in the pandas dataframe if needed. That being said, we should probably mention this behavior in the docs or raise some meaningful errors to the users.
Then again I may be wrong, since it has been a while since i last worked with pandas seriously :).

As @roeap suggests there are better ways to solve this, since you also can't be sure this metadata is always passed through


Keyboard accessibility and focus indication

[x] win @alexandrudima
[ ] mac @joaomoreno
[x] linux @isidorn

We no longer hide the focus outline when using the Tab key to move focus into an element in the DOM. We added more support for using Tab and Arrow keys to navigate between UI controls in the workbench and editor.
Note: Enable accessibility mode in the editor to be able to tab out of it (F1 | "Toggle Use of Tab Key...")
Note: You might end up in a situation where you do not see any focus indication. Open the console and type document.activeElement to find out where you are currently at and file a bug if you think something is wrong.

verify you can use Tab to jump to UI controls and you get meaningful focus indication
verify you can use the Arrow keys in UI control groups to jump between controls (e.g. in action bars)
verify you never end up in a situation where you can not continue to tab out of a control

I have also found useful: setInterval(function() { console.log(document.activeElement); }, 2000);

Mostly works well! :+1:

Thanks :heart:


Tooltips are overlapped, last tooltip is truncated

Screenshots:

Same here:

Using Version: 1.0.2

This has to do with the point radius and the getPointsAtEvent function.  @etimberg and I are refactoring much of the tooltip logic in 2.0, so this will likely be fixed there.  In the mean time, try reducing the pointHitRadius or the point size in your configuration.

Great!  Thanks for the assistance!  Looking forward to 2.0 :)
On Thu, Jun 4, 2015 at 1:06 PM Tanner Linsley<EMAIL_ADDRESS>wrote:

This has to do with the point radius and the getPointsAtEvent function.
@etimberg https://github.com/etimberg and I are refactoring much of the
tooltip logic in 2.0, so this will likely be fixed there. In the mean time,
try reducing the pointHitRadius or the point size in your configuration.
—
Reply to this email directly or view it on GitHub
https://github.com/nnnick/Chart.js/issues/1154#issuecomment-108975185.

having the same issue.
Is there a rough ETA for 2.0?

@heyarny we had hoped it would be out around now, unfortunately both @tannerlinsley and I got quite busy the last month or so. I'm hoping to ramp back up to fixing issues now, but it may take some time to get out the door. I think most of the APIs are fairly stable though so you can give it a try.

Closing since fixed in v2


dyff: 1.4.6 -> 1.4.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/homeport/dyff/releases.
meta.description for dyff is: "A diff tool for YAML files, and sometimes JSON"
meta.homepage for dyff is: "https://github.com/homeport/dyff"
meta.changelog for dyff is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/pygd3xyylwb2sic9708bszj747jf96g0-dyff-1.4.7/bin/dyff had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.4.7 with grep in /nix/store/pygd3xyylwb2sic9708bszj747jf96g0-dyff-1.4.7
found 1.4.7 in filename of file in /nix/store/pygd3xyylwb2sic9708bszj747jf96g0-dyff-1.4.7

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
dyff

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pygd3xyylwb2sic9708bszj747jf96g0-dyff-1.4.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dyff https://github.com/r-ryantm/nixpkgs/archive/0d8d66ca5f7bb94d4d654def9b311010ccbc127e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pygd3xyylwb2sic9708bszj747jf96g0-dyff-1.4.7
ls -la /nix/store/pygd3xyylwb2sic9708bszj747jf96g0-dyff-1.4.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dyff

Maintainer pings
cc @edlimerkaj @kalbasit for testing.

Result of nixpkgs-review pr 156454 run on x86_64-linux 1

1 package built:

dyff


python310Packages.atlassian-python-api: 3.8.0 -> 3.18.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.atlassian-python-api is: "Python Atlassian REST API Wrapper"
meta.homepage for python310Packages.atlassian-python-api is: "https://github.com/atlassian-api/atlassian-python-api"
meta.changelog for python310Packages.atlassian-python-api is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.18.0 with grep in /nix/store/8vbzpia6mdcpr0dqi95b0s4wza247ajw-python3.10-atlassian-python-api-3.18.0

found 3.18.0 in filename of file in /nix/store/8vbzpia6mdcpr0dqi95b0s4wza247ajw-python3.10-atlassian-python-api-3.18.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.atlassian-python-api
python39Packages.atlassian-python-api

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8vbzpia6mdcpr0dqi95b0s4wza247ajw-python3.10-atlassian-python-api-3.18.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.atlassian-python-api https://github.com/r-ryantm/nixpkgs/archive/e26986e8e12f8242567724aef855de39ce932878.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8vbzpia6mdcpr0dqi95b0s4wza247ajw-python3.10-atlassian-python-api-3.18.0
ls -la /nix/store/8vbzpia6mdcpr0dqi95b0s4wza247ajw-python3.10-atlassian-python-api-3.18.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.atlassian-python-api
python39Packages.atlassian-python-api

Maintainer pings
cc @arnoldfarkas for testing.

@ofborg eval


500 Internal Server Error on Installer

Issue Description:
Unable to complete installation using the installer on a new node.
Expected behavior:
The installer would perform successfully.
Actual behavior:
500 Internal Server Error on Installer. Using the installer from the community:
apt install git -y && cd /root && wget https://tracdeepdive.info/wp-content/uploads/2022/02/graphdb-free-9.10.1-dist.zip && git clone https://github.com/OriginTrail/ot-node && cd ot-node && git checkout v6/release/testnet && installer/installer.sh
Specifications:
Node version: 6.0.0-beta 1.29
Platform: Ubuntu
Node Wallet: 0x0c676481684C818E47c3aF6B9Ccc1e5084454EEF
Logs below:

A user was hosting the graphdb file on drive/Dropbox/etc and was using too much bandwidth.
You will have to download it the original way according to the directions.


work with video

hi orenzo,
not sure how much is hard to implement
what adding support to dump videos too ;)
label feature request

Maybe...

A project which worked great a time ago. even works now but you need to provide some fixes.
https://github.com/slq/chrome-safari-video-downloader
I mention it because i doubt that it will be possible to make that work from python console projects (many external ajax calls ... ). but may be i am wrong and there are python libraries which can simulate a complete browser session.


Linking.openURL https://forms.gle/ will go back and forth between app and browser on Android

Description
When I use Linking.openURL short url generated by google form on Android phone,
It will go to browser and back to app show a loading animation and got browser again,
but iOS doesn't have this behavior
React Native Version
0.70.5
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.5
CPU: (8) arm64 Apple M1
Memory: 162.13 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.0/bin/yarn
npm: 9.8.0 - ~/.nvm/versions/node/v16.15.0/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
info React Native v0.72.3 is now available (your project is running on v0.70.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.72.3
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.70.5
info For more info, check out "https://reactnative.dev/docs/upgrading".
Steps to reproduce
On android device, Linking.openURL short url generated by google form
Snack, screenshot, or link to a repository
<EMAIL_ADDRESS>Here is the example movie
https://github.com/facebook/react-native/assets/2047789/b65b374a-a356-4007-bae2-a3ec3c8f0b57

Hi!
I discovered that the issue isn't related to react-native. Instead, it originates from the forms.gle link itself. Even when you attempt to access the shortened link through the default messaging app, the outcome remains consistent, as demonstrated in the video below.  This is probably related to the fact that the forms.gle link is a Firebase DynamicLink instead of a regular URL.
I hope I've clarified things a bit. @roadmanfong if you'd like to eliminate this redirection, you need to utilize a regular, unshortened link.
https://github.com/facebook/react-native/assets/39670088/ad75f721-3447-4358-9adc-67b13339037d

Got it. thanks for explanation


How can I connect as root?

Hello, I am using your great Image, but I need install some packages. Can you help me please?
bash-4.4$ wget http://www.vpn.net/installers/logmein-hamachi-<IP_ADDRESS>-1.x86_4.rpm
bash: wget: command not found

Hi @evertonfoz,
The right containerized approach would be to build a new image of this base image by creating a new Dockerfile looking something like this:
FROM gvenzl/oracle-xe:21-full

RUN microdnf install wget
RUN wget http://www.vpn.net/installers/logmein-hamachi-<IP_ADDRESS>-1.x86_4.rpm

ENTRYPOINT ["container-entrypoint.sh"]

However, there is also always the cheap way of docker exec -ti -u=0 <container name> bash which will connect you into the container as user 0, i.e. root.
Hope this helps!

Hi @gvenzl
First of all, thank you very much for your feedback. Your repository has been of great help.
I'm new to Docker. I managed to solve this situation, but if you don't mind, is there any way I can run a script, in Docker-compose after your image is fully started? I saw that if I use Entrypoint, it overwrites yours

Hi @evertonfoz,
Thanks a lot, I'm happy to hear that!
Yeah, the images have an initialization scripts facility built-in.
If you mount a volume with your scripts under /container-entrypoint-initdb.d, these will be executed after the database is setup.
Likewise, if you wish to run some scripts every time the database has started up, you can do the same with the startup scripts facility mounting scripts under /container-entrypoint-startdb.d.
However, neither of these will run as the root user but the same user the database runs under.

Hi @gvenzl
Very cool. It worked perfectly here. I apologize for not having read your full documentation carefully. Everything is new, but I'm learning and I'm very grateful for your attention and availability of this container.

Hey @evertonfoz,
No worries, that's why we have GitHub issues to ask questions :)
Great, glad to hear!
Thank YOU for using these images!


Small changes to Byron blockchain spec from implementing CHAIN

EPOCH

e_c is unused in the state and should be moved to environment

BHEAD

elens unused (I think this has been discussed elsewhere)

BBODY

verify used, but the proofs are hashes, rather than signatures
UTXOW takes a single transaction - need a sequencing rule for transactions
pps in environment unused, but taken from us instead

Thanks Ru!

In EPOCH, e_c is updated to e_n if there is an epoch change, hence being in the state...

In EPOCH, e_c is updated to e_n if there is an epoch change, hence being in the state...

But actually we don't need the updated value in the rule that uses it :)

More information on:

verify used, but the proofs are hashes, rather than signatures

In Rule:

We should:

change:

bhUtxoSig to bhUtxoProof bh \in Hash
bhDlgSig to bhDlgProof bh \in Hash
bhUpdSig to bhUpdProof bh \in Hash

do a Hash comparison:

hash bUtxo == bhUtxoProof bh
etc

￼

I've been working on implementing the spec (including this rule) in Haskell based on the current version. Can you notify me when you create a PR so I'm aware of it?

I've been working on implementing the spec (including this rule) in Haskell based on the current version. Can you notify me when you create a PR so I'm aware of it?

Sure. You'll be among the reviewers.


C daemon creates a general protection fault when client disconnects

Describe the bug
When a client disconnects from the C daemon (running on OpenWRT) a message like this shows in the system log:
[  344.115795] traps: sshnpd[2540] general protection fault ip:7f9a6e754edf sp:7ffecf34cf58 error:0 in libc.so[7f9a6e744000+4c000]

We also get this in the general logs:
Wed Oct 16 16:15:20 2024 authpriv.info dropbear[2541]: Exit (root) from <::1:40072>: Disconnect received
Wed Oct 16 16:15:20 2024 daemon.info sshnpd[1682]: [WARN] 2024-10-16 16:15:20.786001 | child_exit_handler | Received signal:<PHONE_NUMBER>
Wed Oct 16 16:15:20 2024 kern.info kernel: [  344.115795] traps: sshnpd[2540] general protection fault ip:7f9a6e754edf sp:7ffecf34cf58 error:0 in libc.so[7f9a6e744000+4c000]

Steps to reproduce

First I install the csshnpd package on an OpenWRT test VM
Then I configure the daemon and copy a key in place
And then I start the daemon
Connect with sshnp from my WSL2
Disconnect (cleanly) with ^d

Expected behavior
Normal operation of C daemon does not cause kernel traps.
Additional context
The daemon seems to survive this without being restarted by the init process.

Which version of the code is this running?
We currently have signal traps in place to try and exit cleanly in sshnpd when a ^C is sent, but maybe we should just ditch that idea altogether.

This is with c0.2.0

@XavierChanth I know you have #1462 open for this, but that hasn't been merged, and I'm not seeing the issue when testing with c0.2.3, so possibly some other changes have made the problem go away.
Here's what I now see in the general logs:
Mon Nov 11 14:25:32 2024 authpriv.info dropbear[3924]: Exit (root) from <::1:59870>: Disconnect received
Mon Nov 11 14:25:32 2024 daemon.info sshnpd[3882]: [WARN] 2024-11-11 14:25:32.632510 | child_exit_handler | Received signal: 0

and there's nothing in the system log (or springing up on the console).

@XavierChanth I know you have #1462 open for this, but that hasn't been merged, and I'm not seeing the issue when testing with c0.2.3, so possibly some other changes have made the problem go away.
Here's what I now see in the general logs:
Mon Nov 11 14:25:32 2024 authpriv.info dropbear[3924]: Exit (root) from <::1:59870>: Disconnect received
Mon Nov 11 14:25:32 2024 daemon.info sshnpd[3882]: [WARN] 2024-11-11 14:25:32.632510 | child_exit_handler | Received signal: 0

and there's nothing in the system log (or springing up on the console).

@cconstab pointed out it was a problem affecting systemd restarts for him, since it required a double trap to properly kill the process.
The second trap essentially does what not trapping at all would, hence I removed the trap.

I'll do a git diff to see if anything obvious sticks out


New option: Generate constants representing attribute names

Hi mklemm,
I just use your plugin to inject property change listener, one word: awesome! I'm writing a propertychangelistener, and I realized that if I decide to change the name of my property, I have to change all the listener using this property otherwise if won't match the condition: (and this transparently)
    private class SoftwarePropertyChangeListener implements PropertyChangeListener {

        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            if(evt.getPropertyName().equals("software")) {
                // Do something
            }
        }
    }

It would be nice to generate constant in generated class representing property name. Like this I can reference using this constant, and be notified by the compiler if something has changed.
Another example would be when you use reflection. So, i was thinking to have something like this:
public class ArticleRecord
    implements Serializable
{
    public static final String SOFTWARE = "software";

    public static final String ARTICLE = "article";

    // Getters and setters
}

Doing this, I can do this:
    private class SoftwarePropertyChangeListener implements PropertyChangeListener {

        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            if(evt.getPropertyName().equals(ArticleRecord.SOFTWARE)) {
                // Do something
            }
        }
    }

Do you see my point?

Hi Rapster,
yes, I see your point, and in fact, I think something like this can be really useful.
However, as a modification to your suggestion, I'd better like to put the constants in a static inner class, and name them exactly as the properties, so you could do something like:
    if(evt.getPropertyName().equals(ArticleRecord.Properties.software)) {
        ...

This makes it easier to avoid naming conflicts with other constants that might be generated in the class.
It isn't very hard to implement this, so this is on the wish list for a near future version of this plugin, or a completely new "meta model" plugin.

The static inner class is a good idea and I'd use java convention naming for static attribute, meaning upper case. I'd use the same plugin since I consider it in the same scope of the other features.

Hey Rapster, try the latest version 1.5.0 of the plugin, there is a new "meta" plugin class included that can do what you want and more.
Please let me know if it works for you!

That's exactly what I needed, thank you very much!


Portfolio: add a contact form and finish the mobile version.

In this branch I have added a contact from consisting

[ ] h1

[ ] p

[ ] Form of

Name

email

message

submit button

@brainconnect93 I have

[ ] fixed the path of the images to src="Images
(as the folder in github was pushed as "Images" it also fixes the background image problem)

[ ] Fixed max height
(so now it is displaying fine thank you.)


Onboard new screens

@kevkevinpal thanks for reporting this. We are still testing this feature, but we hadn't noticed that. We will push a fix soon


The "toggle visibility" popup can only be closed by clicking the button again.

The title says it, I can click anywhere and it will stay open. I can even open other popups as well. At the same time.
I'd try to solve it by using a menu button, as that provides the needed functionality, and yes I would make that button group flat as well.

You told me it makes you feel important that I nitpick it, now I will. :P

I could make a PR for it, but I don't feel comfortable touching this codebase.
This could be a small "redesign". Flat buttons, as they don't need highlights imo, and a separator between it and the other menus.
Using a menu button would be especially important, as the button can be clicked in a way that makes it difficult to close.

Thank you for the report
Yes it can, and it is indeed a problem. It should be able to be closed by just clicking due to configuration, but it doesn't seem to even after the editor Main panel is switched (so not the plugin eating the click up). Also the case with the column header menu.
I'll look into a workaround.

I'll look into a workaround.

Use a menu button for this, that is what you wanted to do in that spot. That contains all the logic you need already.

It might, but I remember having some reasons not to do that. When I have time though, I'll try it.

It might, but I remember having some reasons not to do that. When I have time though, I'll try it.

I actually tried that now out of curiosity, and I saw no issues, when this uberscript was behaving >.<. The only issue I think you could have had is setting the popup's contents which is still not hard.

https://github.com/don-tnowe/godot-resources-as-sheets-plugin/blob/07f52150f7db746595bbbea612a9683c11298c57/addons/resources_speadsheet_view/editor_view.gd#L205-L211
It's full of stuff where it just breaks simple encapsulation. (I hope that's not insulting, not my intention)

Aaaaaah, I remember why I didn't make them MenuButtons. They insisted on being flat no matter what I set in properties 🤨 And they can't be flat because, like, they don't feel like buttons there, but rather, some status indicators. (stupid, yes, but I saw no downsides... at the time)
I'm also gonna refactor this junkyard of a megaclass, yes. At the beginning there was a (solution then unknown) issue with adding classes (figured later: project restart instead of just re-enabling plugin), so I guess that just stuck ¯_(ツ)_/¯

Aaaaaah, I remember why I didn't make them MenuButtons. They insisted on being flat no matter what I set in properties raised_eyebrow And they can't be flat because, like, they don't feel like buttons there, but rather, some status indicators. (stupid, yes, but I saw no downsides... at the time)

I'm gonna propose a viable solution: Build a menu bar out of these.

Not sure how long I can go with this, but pushing what I did today onto a fork.

Wait, I just pushed this here 😂

There's still a bug with the header right-click, but hopefully it's not too bad. Closing as resolved.

Wait, I just pushed almost the same thing here joy

Almost, except mine started to be extracted and saving things no longer works.


FIX Use OR conjuctive in filterAny aggregate queries

Issue https://github.com/silverstripe/silverstripe-framework/issues/10744

Which branch to target

One of the ACs is:
Fix is targeted at 5.1. We won't fix this in CMS 4.

How did it used to work? .. I can't find anything in this PR that points at how the original HAVING clause was built

I'm not sure either, though it's also not really relevant? Somewhere else in the ORM a HAVING clause was chosen to be used, which may seem a little weird though it's fine since it still does what it needs to. Changing the HAVING clause to a WHERE clause is out of scope for this bugfix PR. Also probably no point in doing so.

Good point on the AC, I forgot about that - I'll need to make more of an effort to remember to check that more frequently while reviewing lest I review out of context 😅

I'm not sure either, though it's also not really relevant? Somewhere else in the ORM a HAVING clause was chosen to be used, which may seem a little weird though it's fine since it still does what it needs to. Changing the HAVING clause to a WHERE clause is out of scope for this bugfix PR. Also probably no point in doing so.

I'm not saying we should change from HAVING to WHERE - what I'm saying is that the mechanism that was previously deciding this code should result in a HAVING clause is no longer being used in this scenario - so it may be dead code. We should be making a reasonable effort to avoid having dead code.

what I'm saying is that the mechanism that was previously deciding this code should result in a HAVING clause is no longer being used in this scenario ?

I'm confused - the HAVING clause is still being used? The point of the code update is to simply to change the conjunctive in the HAVING clause from AND to OR

As per discussion IRL - the old mechanism is still in use for other purposes so no change needed for that.


[Bug]: Update targetSDK of AndroidTestConventionPlugin to 33

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
Just update the targetSDK. to 33
Relevant logcat output
No response
Code of Conduct

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

wrong project


"Fix" changelogs.

Keeping the changelogs only at the github releases tab is imho a bad thing, so I'll add a CHANGELOG.MD file at some point, which will then be auto-generated by clog, so commits from v<IP_ADDRESS> (which will be the next release I guess) should follow the scheme that it uses.

TODOs for this:
-[ ] Do proper semantic versioning, so MAJOR.MINOR.PATCH, not something like <IP_ADDRESS>, that's a digit to much. Also, new features should cause a minor increment, not a patch increment, like what I did before..


updated fix the print

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

thanks


fixed wrong link

This change resolves Issue #10797
What does this PR do?

Fixes wrong link in courses for the Spanish language

Description
Fixed Wrong Links In courses/free-courses-es.md:
1 https://ocw.unican.es/course/view.php?id=23 - This link is actually for biology and chemistry course
Why is this valuable (or not)?
Yes it is valuable
How do we know it's really free?
Yes you can test it
For book lists, is it a book? For course lists, is it a course? etc.
It is related to courses
Checklist:
[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.
Follow-up
Check the status of GitHub Actions and resolve any reported warnings!

Use [x] for check instead of [✔ ].
[] unchecked and [x] checked markdown.

already merged


Better help

Is your feature request related to a problem? Please describe.
While our help command is good as it is, it is quite limited and can't send help at all in certain places like DMs and private channels. This boils down to the limited checks whether or not the user can run the command in the first place. The command will still be shown if we disabled the guild only check, but will display an error meaning the user can't view the available commands. There is also no individual help on a single command. Expanded descriptions on command arguments aren't available either, so it's not informative at all of what inputs are needed. The slash command UI helps mitigate this quite a bit, but there's a limited amount of space available to do so. This is also not a thing on text (prefix) commands either.
Describe the solution you'd like
We're most likely going to be using the built-in help command subclass overriding method to implement all of this.

Help command but for specific cogs

This is the help command that already exists, it would display all commands available sorted by category and the user can select which category they'd like to view at any time.
There should ideally be a way for users to distinguish between commands that you can and cannot run (maybe with strikethrough formatting), and a footer briefly explaining why it is unavailable.

Help command but for a specific command

This should firstly display if the author can even run the command
This should display the parameters needed as well as the descriptions of those parameters along with the command description
The embed colour should also change based on what cog this is in, and it should also state whether it is in a cog (category)
Other forms of help can also be provided.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

We decided to simplify the help command quite a bit. No views, no interactions involved.
It will no longer display slash commands, the command to get help is only now a prefix command. The issue has now been addressed in recent commits.
The reason behind this decision is that the slash command picker already acts as a help command. All the commands and their respective description and parameter descriptions is available on there.


Chats are not just "IRC" chats nowadays

I went looking beacuse it surprises me no many active QGIS developers are in #qgis:osgeo.org ...

Thanks @rduivenvoorde


How to use a custom image?

I am trying to use a custom image to create a new server, but so far no luck.
If I create a server without ssh or password, it says I need to use a custom image, which I want, but the upctl server create --help docs don't specify how exactly

You can give title or UUID of your custom template to server create command in --os parameter. For example upctl server create --hostname server-from-custom-template --zone pl-waw1 --network type=public --os custom-template-title. This could be documented more clearly in the server create help output.
Here is a example script that includes also the commands to create a custom template with upctl:
#!/bin/bash -xe
prefix=custom-template-create-example-

# Create server that will be used as a source for the custom template
upctl server create \
    --hostname ${prefix}source-server \
    --zone pl-waw1 \
    --ssh-keys ~/.ssh/id_ed25519.pub \
    --network type=public \
    --network type=utility \
    --wait

# Let server be in started state for a moment before stopping it
sleep 15

# Server must be in stopped state, when we create the template from its storage
upctl server stop --wait ${prefix}source-server

# Get UUID of the storage of our server
# Note that storage UUIDs are also visible in default human readable output of upctl server show
storage_uuid=$(upctl server show custom-template-create-example-source-server -o json | jq -r ".storage[0].uuid")

# Create the template
upctl storage templatise ${storage_uuid} --title ${prefix}template

# Wait until created template is in online state
while upctl storage list | grep "${prefix}template.*maintenance"; do sleep 2; done

# Delete the source server
upctl server delete ${prefix}source-server --delete-storages

# Create server that uses custom template
upctl server create \
    --hostname ${prefix}server \
    --zone pl-waw1 \
    --network type=public \
    --network type=utility \
    --os ${prefix}template \
    --wait

# Let server be in started state for a moment before stopping it
sleep 15

# Delete created resources
upctl server stop --wait ${prefix}server
upctl server delete ${prefix}server --delete-storages
upctl storage delete ${prefix}template

Thanks a lot for your explanation. The reason I originally posed the question was that for some reason passing in the template-name to the --os param didn't seem to work. But after trying again later it did work. The original template was from an ISO created in the web portal, and my second try was a packer generated one. Not sure if that was what was causing the issue or not.
I see you manually pass --network type=public --network type=utility, those two are also set by default right?
I do agree that the server create docs could be a bit more clear regarding custom templates

Yes, if server is created without using any --network parameters, the default interfaces will be created and thus the created server will have three network interfaces: public IPv4, public IPv6, and utility IPv4.
If --network parameters are used, only specified interfaces will be created. So by specifying --network type=public --network type=utility the server will be created without the public IPv6 interface that would be created if those were omitted.


Custom color picker causing layout shift in resume body

When a user selects the custom color picker option on the resume page, the layout of the resume body shifts significantly, resulting in an unprofessional and unpleasant appearance, which can impact the overall presentation of the site.
Additionally, we understand that users may have individual preferences when it comes to color schemes and may prefer options that are not included in the pre-configured selection. Therefore, we are open to suggestions for additional color options that can be added to the selection or some change in the current one. If users have found alternative color schemes that work well with the resume format and would like to suggest them for inclusion, we encourage them to share their ideas with us.

hello! Can I work on this issue?

Sure go ahead. 👍

hey! @minnayu are you still working on this ?

@ShashwatAgrawal20 yes! will hopefully finish by tuesday


AzureServiceBus attempts to remove previously created subscriptions before creating them again

Is this a bug report?
Yes
Can you also reproduce the problem with the lastest version?
Not with 5.1.2
Environment

Operating system: Windows 10.0.17134 Build 17134
Visual Studio version: Enterprise 15.6.7
Dotnet version: 4.7.1
MassTransit version: 4.0.1
MassTransit AzureServiceBus version: 4.0.1

Steps to Reproduce

Create a new project
Install MassTransit 4.0.1 through NuGet
Configure the Bus using CreateUsingAzureServiceBus for any simple queue. (see example app)
Start the bus and run the application

Expected Behavior
Previously create queues/topics should not be removed and no warning messages should appear in the logs.
Actual Behavior
Previously created queues are being removed from the ServiceBus, which is ok for a single application but causes issues in case of multiple applications (WebJobs) that are sharing queues and messages.
For example:

"Application A" starts and attempts to create a queue named Test
At the same time "Application B" starts and attempts to do the same.
As the result one of the applications will fail to initialize.

The issue could be seen even with a single app running. It produces warning in the logs:
1798 [10] WARN MassTransit.AzureServiceBusTransport.ServiceBusHost (null) - Removing invalid subscription: TestQueue (TestMassTransit4/ISimpleRequest -> sb://<ActualSBName>.servicebus.windows.net/TestQueue)
From what I can tell the issue is in the ConfigureTopologyFilter, it takes an absolute path from the address, which will be TestQueue for example, but later in ServiceBusHost, the subscription description retrieved from ServiceBus will have a full name, like sb://<ActualSBName>.servicebus.windows.net/TestQueue)

Reproducible Demo

TestMassTransit4.zip
It is very easy to repo, just build and run the project. The warning in the logs appears all the time.

Is this still an issue with v5? I don't have a Windows machine to test this for the next week. The namespace manager usage was changed in v5, but I'm not sure if it fixed this issue or not.

I tried 5.1.2 and looks like it does not have this issue. But unfortunately, I cannot update to 5+ just yet. I changed the code in the ConfigureTopologyFilter to use the full address instead of the absolute address:
var queuePath = $"{context.NamespaceManager.Address.ToString().TrimStart('/')}{subscription.Destination.QueueDescription.Path}"; and it seemed to fix it. At least the warnings are gone and the app runs without issues.
Is it possible at all for you to release a patch for 4.0.1 with a fix to this issue or the only way would be to update to 5+?
The issue is not windows specific, you should be able to repro it with .Net Core on Mac or Linux, it is more tie to the Azure Service Bus.

It's unlikely that I'll patch 4.0.1, to be honest. The whole reason for v5 was due to inconsistencies with using multiple namespace managers (as an example) and thus the entire rewrite of the transport runtimes. There are things about the 4.x code base that had annoying me for years, thus the effort to rewrite it all.
And I can't test on Mac, because ASB assemblies don't run properly on Mono.

Too bad, I'll have to stick with 3.5.7 for now :(
Since v5 does not have this issue and v4 is not going to be patched, I'm closing the issue.
Thank you!


added function to clear pickers

If I want to show the presets tab as first tab I can use withPickers(), but then I use the default colors, not the ones I have set before.
Now with clearPickers, I can set the order of the tabs, as I like it.
Like this:
 new ColorPickerDialog()                 .withColor(color)                 .withAlphaEnabled(v.getId() != R.id.normal)                 .clearPickers()                 .withPresets(new int[]{0, 0x50ffffff, 0x50000000})                 .withPicker(RGBPickerView.class)                 .withPicker(ImagePickerView.class)                 .withListener(this)                 .show(getSupportFragmentManager(), "aaa");

This is an interesting workaround - thank you for sharing!
I think this part of the library might be due for a rewrite the next time I work on this - it's looking a little bit messy... (I mean, DelayedInstantiation was a bit of a hack from the start)


virtctl/virt-viewer error messages debug log still not that helpful

so I was trying to use the cnv-qe job to build a slave and cluster, vms running, then on my slaves I want to use virtctl to actually login to my vms, so I yum install virt-viewer and wget virtctl from release page, and then use this command
[cnv-qe-jenkins@cnv-executor-shiywang kubevirt-ansible]$ ./virtctl-v0.6.0-linux-amd64 vnc --kubeconfig ~/.kube/config test-vm -v 10
I0614 22:49:30.850320   25152 loader.go:357] Config loaded from file /home/cnv-qe-jenkins/.kube/config
I0614 22:49:30.878340   25152 round_trippers.go:417] curl -k -v -XGET  -H "Authorization: Bearer LMfERfDPRBFwyj0gjxtwz-7Kl0rioCSTcARjpzBNTBo" wss://cnv-executor-shiywang-master1.example.com:8443/apis/subresources.kubevirt.io/v1alpha1/namespaces/golden-images/virtualmachines/test-vm/vnc
E0614 22:49:30.880386   25152 vnc.go:103] remote-viewer execution encountered an error: exit status 1

I still don't know what's the problem of virt-viewer... yeah, I mean this maybe not a bug of virtctl/kubevirt, but do you guys know where should I ask for help or some other detailed log about virt-viewer I could check ?

@shiywang You need at least 0.7.0-alpha.0 to get more information.

@rmohr so two questions here:

why 0.7.0-alpha.0's virtctl version name is still v0.6.1
after download that virtctl got this error messges, anything wrong here?

[cnv-qe-jenkins@cnv-executor-shiywang kubevirt-ansible]$ ./virtctl-v0.6.1-alpha.0-linux-amd64 vnc --kubeconfig ~/.kube/config test-vm -v 10
I0615 07:45:57.358474    1467 loader.go:357] Config loaded from file /home/cnv-qe-jenkins/.kube/config
I0615 07:45:57.360116    1467 round_trippers.go:417] curl -k -v -XGET  -H "Authorization: Bearer LMfERfDPRBFwyj0gjxtwz-7Kl0rioCSTcARjpzBNTBo" wss://cnv-executor-shiywang-master1.example.com:8443/apis/subresources.kubevirt.io/v1alpha2/namespaces/golden-images/virtualmachineinstances/test-vm/vnc
I0615 07:45:57.370907    1467 round_trippers.go:436] GET wss://cnv-executor-shiywang-master1.example.com:8443/apis/subresources.kubevirt.io/v1alpha2/namespaces/golden-images/virtualmachineinstances/test-vm/vnc  in 10 milliseconds
I0615 07:45:57.370920    1467 round_trippers.go:442] Response Headers:
Can't access VMI test-vm: Can't connect to websocket (404): 404 page not found

why 0.7.0-alpha.0's virtctl version name is still v0.6.1

No idea. At least they are built from the same commit, so no issues to expect here.

after download that virtctl got this error messges, anything wrong here?

Version Everyting after the official 0.6 release is not compatible with later things. You will have to update the whole kubevirt installation for that, not just virtctl.

@shiywang can you recreate a fresh env and retets?

@shiywang How does the issue look?

@shiywang do you still encounter this issue after upgrade?


Visual editor build - CERT_HAS_EXPIRED

I'm receiving the error:
bower angular-cookies#~1.7.8      CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/angular-cookies failed: certificate has expired

This error is specific to the Visual Editor. I'll see if I can ivestigate and correct.

Full error:
Warning: Task "bower-install-simple:all" failed. Use --force to continue.
visual_editor    |
visual_editor    |     Aborted due to warnings.
visual_editor    |
visual_editor    |
visual_editor    |     Execution Time (2023-05-02 18:30:56 UTC-0)
visual_editor    |     loading tasks                51ms  ▇ 3%
visual_editor    |     loading grun...tall-simple  258ms  ▇▇▇▇▇ 16%
visual_editor    |     bower-install-simple:all     1.3s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 81%
visual_editor    |     Total 1.7sbower HtmlRenderedDiff#release        invalid-meta for:/tmp/279e77c3b5943712a1e31e7c0ba8de42/bower/96eba1f28a3a6d000e6b40f8c803b213-18-7VfPWU/bower.json
visual_editor    |     bower HtmlRenderedDiff#release        invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes
visual_editor    |     bower angular-rx#~1.1.3           CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/angular-rx failed: certificate has expired
visual_editor    | Warning: bower HtmlRenderedDiff#release        invalid-meta for:/tmp/279e77c3b5943712a1e31e7c0ba8de42/bower/96eba1f28a3a6d000e6b40f8c803b213-18-7VfPWU/bower.json
visual_editor    | bower HtmlRenderedDiff#release        invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes
visual_editor    | bower angular-rx#~1.1.3           CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/angular-rx failed: certificate has expired Use --force to continue.
visual_editor    |
visual_editor    | Aborted due to warnings.

Realoaded from repo and this:
visual_editor    |     Warning: Task "bower-install-simple:all" failed. Use --force to continue.
visual_editor    |
visual_editor    |     Aborted due to warnings.
visual_editor    |
visual_editor    |
visual_editor    |     Execution Time (2023-05-02 18:58:25 UTC-0)
visual_editor    |     loading tasks                74ms  ▇ 4%
visual_editor    |     loading grun...tall-simple  270ms  ▇▇▇▇ 13%
visual_editor    |     bower-install-simple:all     1.7s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 83%
visual_editor    |     Total 2sbower HtmlRenderedDiff#release        invalid-meta for:/tmp/717ac34d8741368bb5572bb703620491/bower/96eba1f28a3a6d000e6b40f8c803b213-21-8JxLoY/bower.json
visual_editor    |     bower HtmlRenderedDiff#release        invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes
visual_editor    |     bower lodash#~3.9.3               CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/lodash failed: certificate has expired
visual_editor    | Warning: bower HtmlRenderedDiff#release        invalid-meta for:/tmp/717ac34d8741368bb5572bb703620491/bower/96eba1f28a3a6d000e6b40f8c803b213-21-8JxLoY/bower.json
visual_editor    | bower HtmlRenderedDiff#release        invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes
visual_editor    | bower lodash#~3.9.3               CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/lodash failed: certificate has expired Use --force to continue.
visual_editor    |
visual_editor    | Aborted due to warnings.


Information in Wrong Order and Misleads New Developers - Add images: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-add-images
In which task and step of the codelab can this issue be found?
3. Add an image composable
Describe the problem
After the codelab instructs you to create the Image composable, it says, "Android Studio displays an error that says that, "None of the following functions can be called with the arguments supplied.""
It suggests that importing Image will fix this issue. The issue this fixes is the invalid reference (which is the actual issue.)
Once you import Image, the error the codelab gives is finally provided.
In order to clear that message, you must go to the next step, where it gives you the contentDescription value.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
Android Studio Giraffe | 2022.3.1 Patch 1
Build #AI-223.8836.35.2231.10671973, built on August 17, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 16
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
Non-Bundled Plugins:
vin.howe.themeGotham (0.0.7)
IdeaVIM (2.1.0)
API version of the emulator:  n/a
Additional information
Include screenshots if they would be useful in clarifying the problem.
In the image provided by the codelab, Image has already been imported.

This step is what removes the error.

Hi @brettyance
Thank you for writing in and bringing this issue to our attention.
The lesson has been updated to address it and the revised lesson will be republished again in the near future.
Hope you are enjoying the course!
Regards.


Is it clear which API this gem is for? (Admin vs Storefront vs Partner)

I feel like Shopify's Storefront and Partner API's should be addressed in the Readme. I see issues and forum posts where developers are having trouble accessing the Storefront API, which I dont believe this gem supports (or am I wrong?).   If they are not supported, the readme should probably say so.  It took me a while before I noticed that this gem is aimed at the Admin API.
I would be happy to contribute a PR if I can confirm which API's this gem supports.  Thanks.

Hi @dechimp, thank you for bringing this up. This gem only implements access to the Admin API, as currently stated in the README:
The Shopify API gem allows Ruby developers to access the admin section of Shopify stores programmatically.

Perhaps we could improve the wording here to explicitly mention the Admin API to make it easier to spot which API the gem is meant for.


Datasets could not be downloaded

Hi, I found that the link to DINO datasets was corrupted. Is it possible to download the original paper dataset from elsewhere?

@timoschick would be awesome if the datasets from cis server could be stored on the Hugging Face Datasets hub. I can help with the integration :)


Consider React storybook to enable stand alone component viewing/prototyping.

I've been using the React storybook to allow me to view my components outside the application.
https://github.com/kadirahq/react-storybook
It's quite useful to set up your component in every possible render state and preview how it looks and operates within the story book prototyping tool.
If you're interested I have some commits to install storybook in boilerplate, preview the A component in the story book and npm generator changes to create the story harness file when you create a new component.

You heard that I helped make https://github.com/carteb/carte-blanche?
We're working on the react-boilerplate integration at the moment, should be finished soon hopefully!

No, I haven't seen that. I'll give it a try.

@bcowgill Would you mind sharing the diffs to get storybook working as a gist?

@mikeloll Hope this help: https://gist.github.com/marc-rutkowski/48fa77fdc9439588ce4a3665137fb018

I've forked the last master branch and integrated it with React Storybook and Storyshots. Implemented some cool features such as the generation of .story.js files in the components folder in which leads to instant component development and prototyping, as this gif shows:

I've also edited the documentation and created some files to document the new npm scripts I've created to make this experience good (at least to me).
https://github.com/armand1m/react-boilerplate

@armand1m It looks great!

@armand1m Do you plan to document your changes ? This would be great to have a FAQ section about storybook, and your implemention sounds just amazing.
Having it merged directly could also be great.

@eric-burel My changes are already documented in the project, you can see the fork features at the README.
Also, in the Documentation Section you can find the sections explaining how to run your Storybook and your Storyshots.
https://github.com/armand1m/react-boilerplate/blob/master/docs/storybook
https://github.com/armand1m/react-boilerplate/blob/master/docs/storyshots
At the Commands Section, you can find the Storybook npm commands as well.
I've made some changes to the generate script as well. When generating a component, it creates a folder inside the component folder called stories, with a Storybook template called index.story.js inside this folder. It is the only thing not documented.
Besides that, I made a change where I can tell the generate script if my component is composed with other independent components from my project. If it is a composed component, it creates the component inside a folder called compositions, if it is not, it will be created inside the components folder. I like this because I can separate the trully independent presentational components from my application, from the ones who depends in other internal components, but still have no logic.


x/pkgsite: markdown alerts in README are not formatted as alerts

What is the URL of the page with the issue?
https://pkg.go.dev/github.com/docker/buildx#section-readme
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
Screenshot
Expected: screenshot from GitHub at https://github.com/docker/buildx

Unexpected: screenshot from https://pkg.go.dev/github.com/docker/buildx#section-readme

What did you do?
View projects using markdown alerts like github.com/docker/buildx on pkg.go.dev.
Or use any of these GitHub markdown alerts in a README.md.
> [!NOTE]
> Useful information that users should know, even when skimming content.

> [!TIP]
> Helpful advice for doing things better or more easily.

> [!IMPORTANT]
> Key information users need to know to achieve their goal.

> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.

> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.

What did you see happen?
Markdown alerts are not formatted as alerts at pkg.go.dev.
For example, [!WARNING], [!IMPORTANT], and [!NOTE] alerts are not formatted as alerts in the README of https://pkg.go.dev/github.com/docker/buildx when viewed at pkg.go.dev.
What did you expect to see?
Markdown alerts should be formatted as alerts.  Available alerts listed in GitHub documentation are:

[!NOTE]
Useful information that users should know, even when skimming content.

[!TIP]
Helpful advice for doing things better or more easily.

[!IMPORTANT]
Key information users need to know to achieve their goal.

[!WARNING]
Urgent info that needs immediate user attention to avoid problems.

[!CAUTION]
Advises about risks or negative outcomes of certain actions.

@matloob What level of GfM compatibility does pkgsite promise?

GfM was last updated in 2019. GitHub added markdown "alerts" syntax as an extension in 2023.

@adonovan As far as I know, we try to promise what's in the GFM spec.
We do also support GitHub emojis which aren't in the GFM spec, but are documented on the Writing on GitHub document.
But we don't support Math or the color model feature. Math does appear on the rsc.io/regexp todo list, and if it's added there we'd probably turn it on here.
The interesting thing about this feature is that the rest of the GFM features that we support are mappings of markdown to pretty simple html (or the emoji characters). But, from what I see looking at the rendered output on the GitHub website, the alerts require some CSS for the sidebar and svgs for the alert icons.


[Net core problem]

So the RunCat call me to download new version of  .NET Core
and i download the .NET Core new version
but after install the new version of .NET core and run Run cat
the RunCat still said i need a new version of .Net Core
NetCore 3.1.23-win-x64

Getting a similar error here, although .NET runtime was installed and added to Path

I am not familiar with Windows so I don't know much about it.
Can someone please help me?

maybe you need to install .Net core JDK instead of runtime?
try this: https://dotnet.microsoft.com/en-us/download/dotnet/3.1


created_at timestamp is updated for a deck sync

When using deck sync to make some changes in an existing route, after the sync the created_at field and updated_at fields in database are both set to the sync time. It is expected that any update to the existing route should change only the updated_at timestamp and not the created_at timestamp
Steps to Reproduce:

Create a service and route in kong with routing by header
Execute deck dump
Edit the kong.yaml file to change the custom header value in route
4 . Execute deck diff to check the changes
Execute deck sync
Check the database and the timestamps for created_at and updated_at fields which have both been updated

This is the case because decK uses PUT requests to update entities in Kong.
We won't be able to fix this problem.

What if the PATCH verb was used instead of PUT, would it be helpful?

PATCH is intentionally not used because it changes the state of entities in unexpected ways at times. PUT is an overwrite in Kong which is a lot safer. We did have reports with problems around PATCH and hence rewrote part of codebase to instead use PUT at all times.
What problem is a newer created_at timestamp creating?

I know this issue is closed, and I've read the comments and agree with the PUT approach. We'll live with this issue fine. For us the main pain point is when we wish to run a deck diff/sync we receive info like this:

Now I understand it's updating all of the created_at`s, but when there are actual changes/updates to be made to any records, it'll be mixed in with the created_at updates. Deletion and creation of records is clear. Updates not so much. I understand it's a limitation, just wanted to exemplify the issue.
Cheers


Ipv6 support

This pull-request is a toy to add IPv6 support.

The way addresses are assigned handles IPv6-addresses to clients and the server.
The handling of packets is conditional on the IPv4 vs. IPv6 type.
I've tested with Linux clients and hosts.
It needs more testing, and the configuration/readme needs updated to mention IPv6.

Compare with #14 , this closes #12.

I believe this is complete, tested, and working now:

For IPv4
For IPv6

Will merge tomorrow unless there are any surprising results.

I'll test this out sometime today...
For my own curiosity, what would it take to get unicast to work fro IPv6? It wasn't obvious to me why v6 is harder to implement than v4.

@skx : ☝

A detailed explanation would take longer time than I have to spare.
But you need to think about routing and IP-headers.  For IPv4 you get the MAC address of the source and the destination in the packet.  Using those you can lookup the appropriate socket and write the whole packet down the correct socket.
For IPv6 if you want to do it properly you need to do that, but you'd also want to handle other things such as router advertisements and neighbour solications.
In short think of IPv4 and think about how ARP requests are handled; here we cheat and don't handle them.  If you want to do "stuff properly" you should.  And that's whats missing for the IPv6 side.  (Only ARP isn't involved, instead it's neighbour solicatation and RA.)
Feel free to experiment in your fork.  It'll be fiddly and annoying, but also educational.


Swift 2.3 support

I have forked the repo to simply check to use the legacy swift compiler, it's a little inconvenient, I'm wondering if you wouldn't mind having your own swift 2.3 branch tagged from the latest version.
What do you think?

#620 helped me with Swift 2.3 support.

I download master branch vie cocoapods and convert to Swift 2.3. But now Xcode 8 gives me this error:
Module file was created by an older version of the compiler; rebuild 'SwiftyJSON' and try again:
anyone can help me out? Thanks

I delete all data in ~/Library/Developer/Xcode/DerivedData about my app and rebuild and everything works.

Swift3 and Swift2.3 support is here
Closing this one to cleanup the issue list, feel free to reopen this if needed.
Cheers


cant run on windows

i got these errors:
$ react-native-rename "RN1 App"
Directory should be created using "react-native init"

This error simply means that you need to run react-native-rename command inside your react-native project


adjust README

adds mention on license
moves picture for breathing between sections
mentions how to contribute

View README in repository: https://github.com/ericoporto/ags-manual/tree/readme-adjustments
View README only: https://github.com/ericoporto/ags-manual/blob/readme-adjustments/README.md

@morganwillcock I have adjusted the link!


Small fixes

( ͒꒪̛ཅ꒪̛ ͒)✧
fixes #184
fixes #185
what

notes

the main thing that changed was the way errors and loading variables are kept, so just making sure all instances of those (login, register, account, tracker) are still functional would be good.
i also decided to just remove the state comment that i had in app/actions/session.js instead of moving it to the readme like i said i was gonna, mostly because i think app/reducers/index.js is probably the better place to go to for reference.

lgtm!!


when i  build -prod，the images is in rootPath，i want they in a specified floder。

i try to change the webpack config,like  that:
common.js
   {
                    test: /\.(jpg|png|gif|otf|ttf|woff|woff2|cur|ani)$/,
                    loader: `url-loader?name=images/[name]${hashFormat.file}.[ext]&limit=10000`
                }

it's fruitful,but i think it is not the best solution.
What should I do?

We don't provide configuration to change the folder, but if you server is just expecting all files to be in a particular path you can use the --deploy-url=some/path flag. It won't change the path stuff is in the file system, but all imports will be preceded by the path you choose.


this serializer isn't working with serde_yaml but it does work with serde_json

I may be doing something wrong, but I wrote this serializer today and tried it with both JSON and YAML.
#[derive(Clone, Eq, PartialEq, Debug)]
pub struct NonEmptyWithCursor<T> {
    most: Vec<T>,
    head: T,
    cursor: usize,
}

impl<T> Serialize for NonEmptyWithCursor<T>
    where T: Serialize
{
    fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error>
        where S: Serializer
    {
        let mut state = serializer.serialize_map(Some(2))?;
        serializer.serialize_map_key(&mut state, "cursor")?;
        serializer.serialize_map_value(&mut state, self.cursor)?;
        serializer.serialize_map_key(&mut state, "data")?;
        let mut seqstate = serializer.serialize_seq(Some(self.len()))?;
        serializer.serialize_seq_elt(&mut seqstate, &self.head)?;
        for elt in self.most.iter() {
            serializer.serialize_seq_elt(&mut seqstate, elt)?;
        }
        serializer.serialize_seq_end(seqstate)?;
        serializer.serialize_map_end(state)
    }
}

With JSON output, it emits something like this: {"cursor": 0, "data": [...]}. But with YAML output, it emits the cursor: 0 but not any data.
Is there something else I should be doing to emit a sequence as a value associated with a key? Or is this actually a bug in serde_yaml?

FWIW I've also now tested this with TOML and it is also serializing correctly with that.

It looks like serde-yaml's serializer works very differently than other serializer's for serde. It seems to assume that only one value will be serialized per serializer, where each function that serializes a value just replaces self.doc instead of continuing to write out to a larger structure. I guess fixing this bug is going to be a significant rewrite of the serializer code.

The Serialize trait's responsibility is to make exactly one primitive Serializer call (serialize_u8, serialize_str etc) or exactly one chain of begin/elements/end Serializer calls. We have been thinking about ways to enforce this in the type system to prevent impls like the one you have https://github.com/serde-rs/serde/issues/651.
In general serializing a value in a map may require the Serializer to have access to the MapState object (state in your code). TOML and JSON do not use the MapState for serialize_map_value but YAML does, which explains why they behave differently. Your code is not providing the MapState anywhere for the second map value.
To do this correctly, create a newtype wrapper struct Data<'a, T>(&'a NonEmptyWithCursor<T>) and implement Serialize for that to do what your second map value is doing, then use:
serializer.serialize_map_value(&mut state, Data(self))?;

@dtolnay I see! Thanks very much for the explanation; that worked.


Credentials refactor

Proposed changes

Refactors the credentials package for a cleaner look and usage (no nil credentials).
Also removes some invalid usecases (i.e. checking credentials against us-west region).

Codecov Report

Merging #265 (2f64b00) into master (694e98d) will decrease coverage by 0.36%.
The diff coverage is 32.65%.

@@            Coverage Diff             @@
##           master     #265      +/-   ##
==========================================
- Coverage   32.89%   32.52%   -0.37%
==========================================
  Files          34       34
  Lines        2110     2069      -41
==========================================
- Hits          694      673      -21
+ Misses       1290     1280      -10
+ Partials      126      116      -10

Impacted Files
Coverage Δ

cli/command/new/cmd.go
10.29% <0.00%> (-0.16%)
:arrow_down:

cli/command/run/cmd.go
7.04% <0.00%> (+0.07%)
:arrow_up:

internal/cypress/config.go
24.13% <0.00%> (ø)

internal/espresso/config.go
67.74% <0.00%> (ø)

internal/testcafe/config.go
19.51% <0.00%> (ø)

internal/credentials/credentials.go
57.14% <54.16%> (+2.45%)
:arrow_up:

internal/docker/docker.go
44.24% <100.00%> (-0.74%)
:arrow_down:

internal/archive/tar/tar.go
41.07% <0.00%> (+1.07%)
: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 694e98d...2f64b00. Read the comment docs.


Add HtmlEntityInlineRenderer for WPF

It seems to work fine for our use case, though I can't say it's been extensively tested... ;)

Thanks. I will have a look at it when I have some time.

Looks good to me. Sorry for the delay reviewing it.


Documentation missing on getting transaction data

I'm able to get data from a transaction like this
client = Ethereum::HttpClient.new(BACK_END_ETH_NODE_URL)
transaction_data = client.eth_get_transaction_by_hash(transaction_hash)

I am trying to find the "value" of this transaction -- that is, how much ETH was sent with it.
This code returns
...
 "transactionIndex"=>"0x4b",
 "v"=>"0x25",
 "value"=>"0x3a110e53a3f94c0"

So the value is encoded as 0x3a110e53a3f94c0. Does anyone know how I can transform this data into something like Wei or Eth or some float or integer value that could be useful?
thanks

Looks like this is the code, amazing I couldn't find this documented anywhere
transaction_data['result']['value'].to_i(16)

@kingpalethe
Thanks for the issue. Please migrate as we will maintain the eth.rb library here. ;)


CentOS 7 / Amazon Linux 2

Any chance you can get this working w/ either of the 2 OS'es mentioned in the title?

I was able to get the packages installed.  However the actual code needs to change.

Hi,
for compile altprobe for centos 7

please install the next packages
sudo yum install boost-devel libyaml-devel mod_geoip GeoIP GeoIP-devel GeoIP-data zlib-devel

make the next changes in files: Altprobe/src/nbproject/configurations.xml and Altprobe/src/nbproject/Makefile-Debug.mk
change the strings "/usr/local/include/activemq-cpp-3.10.0/" to "/usr/include/activemq-cpp-3.9.3"
"/usr/include/apr-1.0/" to "/usr/include/apr-1/"
"usr/local/include/hiredis" to "usr/include/hiredis"

Unfortunately, at the moment I haven't time for testing altprobe for centos, but it's in my plans.
if you are going to continue installation of altprobe for centos 7, please share your results here
Thanks

Install script for centos 7 was added.
Instead of centos official package of suricata 4.0.5 a suricata 4.0.3 is used due to altprobe wasn't tested with version 4.0.5.


Add worker send/receive support in jBallerina

Purpose

Add worker send and receive operation support.

Approach

Used a worker data channel structure same as it was in BVM

This do not support sender panic related scenarios.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #15270 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master   #15270      +/-   ##
============================================
- Coverage     23.24%   23.21%   -0.03%
  Complexity     5065     5065
============================================
  Files          1342     1342
  Lines         67464    67542      +78
  Branches       9192     9194       +2
============================================
  Hits          15680    15680
- Misses        50046    50124      +78
  Partials       1738     1738

Impacted Files
Coverage Δ
Complexity Δ

...lang/compiler/tree/statements/BLangWorkerSend.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...allerinalang/compiler/bir/model/BIRTerminator.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...erinalang/compiler/bir/writer/BIRBinaryWriter.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...lang/compiler/bir/writer/BIRInstructionWriter.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...wso2/ballerinalang/compiler/bir/model/BIRNode.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...lerinalang/compiler/bir/model/InstructionKind.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...va/org/wso2/ballerinalang/compiler/bir/BIRGen.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...2/ballerinalang/compiler/bir/model/BIRVisitor.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

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 62ee18c...bc12410. Read the comment docs.


configurable consistency level

Hello,
I've tried to modify the code in order to use a configurable consistency level when issuing requests to cassandra.
I've decided to modify directly in kong/dao/cassandra/base_dao.lua, in the BaseDao:_execute function. The patch is quite simple and listed below:
  if not options then
     if self._properties.consistency_level then
	options = {
	   consistency_level = self._properties.consistency_level
	}
     else
	options = {
	   consistency_level = cassandra_constants.consistency.LOCAL_QUORUM
	}
     end
  elseif not options.consistency_level then
     if self._properties.consistency_level then
	options.consistency_level = self._properties.consistency_level
     else
	options.consistency_level = cassandra_constants.consistency.LOCAL_QUORUM
     end
  end

However, there's a problem. When auto_paging is on (which is the default) then cassandra/session.lua ignores the options passed to session.execute and hard-codes some options (see session:execute and session:page_iterator in cassandra/session.lua). Therefore, I would need to change cassandra/session.lua too, but this file is not part of kong but of lua-cassandra.
What would you suggest in this case? Would you accept the patch to kong? Should I ask for a patch to lua-cassandra? Are you related to the team that maintains lua-cassandra?
Thank you,
Sorin

I would see this option rather being set in the Cassandra factory get_session_options. However auto_paging is not the default. Is your problem due to when auto_paging is enabled, page_iterator overrides the options? I just noticed this here.

Thanks for the tip. Yes, get_session_options definitely looks the better solution.
When I tested my patch I used a trivial http request that triggers the select * from apis query in dao/cassandra/apis.lua. That query has {auto_paging=true} hard-coded.
Yes, my problem comes from the fact the page_iterator overrides the options when auto_paging is enabled. So, either there's a reason why page_iterator overrides the options (instead of merging them or selectively overriding) and its logic would break if we added the consistency level to the options that page_iterator passes to session.execute; or auto_paging must not be used if I want configurable consistency levels; or page_iterator must be modified. Obviously I prefer the latter.

No, that just seem like a bug in the cassandra driver :) or at least an unsupported feature. It should be easily fixable on the driver itself (I will accept a PR).

PS: I have to add, it probably won't be released before the driver rewrite (#660), so you'll have to install your own version of the driver for some time. But I will make sure that this is supported in future versions.

I've tried to add the consistency_level options in get_session_options as you suggested. I didn't get the desired effect. get_session_options is used in session:connect exclusively. The options are not stored in some member of the session object in order to be reused in session:execute. Thus query execution does not use the options initialised by get_session_options.
I realise that it is rather inelegant to set the options in BaseDao:_execute but I'll stick to this solution for the time being.

Ah right

On Nov 2, 2015, at 1:05 AM, smanolache<EMAIL_ADDRESS>wrote:
I've tried to add the consistency_level options in get_session_options as you suggested. I didn't get the desired effect. get_session_options is used in session:connect exclusively. The options are not stored in some member of the session object in order to be reused in session:execute. Thus query execution does not use the options initialised by get_session_options.
I realise that it is rather inelegant to set the options in BaseDao:_execute but I'll stick to this solution for the time being.
—
Reply to this email directly or view it on GitHub.

Do you want me to create a pull request with the patch shown in the first message of this thread, knowing that it won't work without the modification in lua-cassandra, cassandra/session.lua?

Sure, a patch for both would be welcome.
self._properties.consistency_level can also be enforced from the config_defaults.lua file in the next branch.

Created a pull request

Closed since made obsolete by the new driver. Sorry!


feat(mineflayer): add commentBlocked regex and function

to-do: censor messages

Oh. I forgor. Censoring incoming messages from discord. I've set up the realtime listener.

Oh. I forgor. Censoring incoming messages from discord. I've set up the realtime listener.

Yep if you could do that it would be great 👍🏻

@xMdb

LGTM


Need context on backgroudHandler

We need context on the backgroundHandler function, we cant pass any other type other than SmsMessage on the function, so context cannot be pass which we need to have data like SmsAddress

Hey @tluanga
I'm not sure I completely understand what you mean by context.
Could you maybe provide an example of what you would like the api to be like. That would be helpful.

Closing this for now.


[governance] Add HVOICE decay function

Rieki: 1 yr half-life for voice, applied each phase...
This way we can just apply the same %decay to all HVoice and don't have to track when voice came in...
https://blog.springrole.com/how-eosio-vote-decay-works-7becb5f77048
By implementing “Vote Decay” the power of each vote cast halves every year (i.e. 365 days). In order to re-assert the strength of each vote, a voter must re-cast their vote every single week. Now this has the potential to make each and every vote count and circumvent the “free rider problem” by giving the voters a chance to re-evaluate their vote and change it if needed.
https://www.researchgate.net/publication/305074253_Measuring_Spatial_Accessibility_of_Health_Care_Providers_-_Introduction_of_a_Variable_Distance_Decay_Function_within_the_Floating_Catchment_Area_FCA_Method/figures?lo=1

Joachim: Vote decay + vote acquisition

This function requires more socializing and 1-2 months of development time.
2 approaches - change the HVOICE directly via historical decay or create a function(HVOICE, last activity) and natural decay

Is this the same as https://github.com/hypha-dao/dao-contracts/issues/36? (Cleaning up the boards) @sceenius

3rd approach si what EOS did, factor F on HVOICE payout which doubles every year. Same effect ;) No one loses vote but they get diluted out.


Fix schedule deletion

For some reason, there is a ValueError when deleting a schedule.

This seems to be resolved on another computer. Investigating.

Make sure that packages are installed lol.


Style Breadcrumb Bar

With the release of Breadcrumbs in latest VSCode release (1.27 release and above) could you please consider styling these new elements.  As I am sure you are aware, the current breadcrumb style is using the default VSCode colors, would like to see it look as purdy as rest of the UI

Hi, thanks for reporting this. This should be fixed with PR #130. Please wait for the next release.
Regards!

@sdras This can be closed since it was fixed in #130.

Thanks!


N-API support for Node.js v8

Are there any plans to support N-API? I think it can drastically simplify binary packages deployment and management ;)

https://medium.com/the-node-js-collection/n-api-next-generation-node-js-apis-for-native-modules-169af5235b06

This would be great. However this project is barely maintained as it is, so don't expect me to rewrite it any time soon. 😄

I would have strong use case and business support for development time. Would you be willing for a rather large and breaking overhaul?

@eljefedelrodeodeljefe : can you describe what you'd break?

#399

#399


Text to speech bugs pt2

Prerequisites

[x] I've searched for existing issues

Describe the bug
When I play the page, pause, and highlight something AFTER the point where I paused, it doesn't play.
To Reproduce
Steps to reproduce the behavior:

Turn on text to speech
Go to any page and hit play the whole page
pause and highlight a section of the page that is lower down than where you paused
Try to play that highlighted section

Expected behavior
It should play the highlighted section.

@cherylhjli I tried this out locally and on the dev site this morning using Firefox 107.0.1 on macOS 13.0.1. I wasn't able to reproduce the issue you mentioned above. Could you please let me know if you have a different setup to reproduce the issue. Also if there are specific places on the page I need to pause, and highlight, that might help too.

@jobara I can't seem to replicate it today either! perhaps not a problem anymore :)

Closed because neither @cherylhjli nor @jobara could reproduce it.


Add windows-os to github action

According to code of the library php-coveralls should work on Windows OS.

@keradus Hello! What do you think about this PR?
Inspired by this file
https://github.com/php-coveralls/php-coveralls/blob/master/src/Component/File/Path.php#L25
Оr maybe we should drop compatibility with Windows OS ?


Is is possible to adapt imgui_impl_raylib.h to use docking branch and using ImGuiConfigFlags_ViewportsEnable?

Hi, as Imgui can be used to make tools, It would be good to get the possibility to config in multiple viewports, like this: https://github.com/ocornut/imgui/wiki/multi-viewports
Is there any chance to get this?

I am very familiar with the viewports system in Dear ImGui (my company paid for that system to be created).
Unfortunately raylib itself does not support multiple windows, and that is required by the backend system in order to support multiple viewport. Each viewport is a window.
Since raylib only supports one window, rlImGui can only support one viewport.
If you need multiple viewports I recommend you don't use raylib itself, use the glfw and opengl backends and use rlgl in standalone mode.
This is not a feature that can be supported with rlImGui and raylib.


MSID: 96831 Version: 2 DOI: 10.1101/2<IP_ADDRESS>1530

MSID: 96831
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>1530
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=96831
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1530

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/96831v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>1530
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/96831/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [title-upper-case] Content of <title> element is entirely in upper case: Is that correct? 'REAGENT AND RESOURCE TABLE'


iOS 7, 49px black bar just on the front view

I'm working with storyboards. My hierarchy is as follows:
TabBarController -> SWRevealViewController -> NavigationController -> MyCustomController
The segues are set correctly.
I had a look in layoutSubViews in SWRevealView and on the first pass bounds is set correctly, but there's a second pass where self.bounds and the bounds of the front view are both -49px. The 49px is then just empty space and turns black. This doesn't happen with the rear view.
I tried just adding 40px to the bounds height in layoutSubViews, and it works until you use the pan gesture. The view loads correctly, and then when panning the black bar appears, and disappears again when the transition is complete. If you just reveal the rear view, it works fine still.
There is no "black bar" in the rear view ever.
EDIT: Actually, adding the 49px within the hierarchycalFrameAdjustment: method (outside of the if statement) pretty much fixes it for everything. Best band-aid ever.

I had the same issue.

#598

I think this issue is because your tab bar is not translucent

What @xero88 recommended might be a good workaround, but this issue is really bad and I'm receiving it as well, still, years later.
Anyone recommend a library that is still being maintained that is similar? Maybe in Swift?

I wrote another library: https://github.com/iDevelopper/PBRevealViewController.git as I think SWRevealViewController will not be updated anymore. The side views are showed above the main view controller.

Otherwise there is the sample i wrote with SW:
SWSecondView2.zip

Also if your tab bar is not translucent add:
    self.extendedLayoutIncludesOpaqueBars = true

in the viewDidLoad function of the controllers embed in navigation controller:
SWSecondView2 2.zip


[openssl] Build error on x64-windows

Trying to install openssl shows me this errro:
error: building openssl:x64-windows failed with: BUILD_FAILEDSee https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.

Elapsed time to handle openssl:x64-windows: 2.1 min

Using the latest version of vcpkg for local installation does not reproduce the issue.
Please try with latest vcpkg.
If the issue persists, please see #30604 for how to report a build failure.