Update dependencies

@gberaudo I've updated cesium to 1.27

Have you run the examples already?

OK, I just tested every examples, they work. Thanks.


Installation issue when using jsdelivr CDN

First, let me say that Vue Formulate is pretty awesome and it definitely made my easier when creating forms.
I had used Vue Formulate using npm but for testing purposes I needed to use the minified version using the one linked in the installation page. I copied the link to the default min.js file that is shown but ended up with lots of errors.
After some investigation, I believe it's because the default link is to the UMD version. As someone new to Vue and JavaScript, I wasn't able to first discern the differences in the listed files.
I found two instances where similar issues occurred from using the UMD version (and the answers did not address the issue) combined with other issues that prevent proper loading.

https://forum.vuejs.org/t/how-do-imports-work/98543
https://stackoverflow.com/questions/62608034/using-vue-formulate-with-a-schema

I think there are two ways for new/inexperienced users to avoid this issue.

Set the default file to formulate.min.js instead of formulate.umd.min.js
Provide additional guidelines when using the CDN package (such as not needing import statements, only needing Vue.use(VueFormulate) in the script section and using forumlate.min.js).

I look forward to hearing your thoughts! 👍

Seem like good suggestions. I definitely dont want to go down the path of needing to explain how ESM vs UMD vs CommonJS etc work, and the DOM caveats of Vue, but I think some more detailed examples of getting it working via CDN are appropriate places to start.


Xiaomi Gateway 3 (ZNDMWG03LM) Mesh update interval

Hi, this post is similar to the post I made on HACS forum.
I have a dozen of Xiaomi Mesh power socket (ZNCZ01ZM) which is capable of getting outlet, power, led, power_protect, power_value.
As I understood (maybe I’m wrong) that the Mesh message can be sent out randomly by the device itself thus we don’t have much control over how often we wanted to. As such automation might not be able to trigger at the precise moment if needed.
As for my device (ZNCZ01ZM) it gets updated roughly at about 9 to 10 mins timeframe and even if it gets updated, I believe it's just a message to respond to the gateway it is still there, it doesn’t contain the full message.
I've noticed once I fire up my Mi Home app and enter into the device, the app will update the complete messages back to the gateway, and thus the power_value update instantaneously.
So, I think besides having the device send the message randomly we can somehow focus it to send it back to the gateway.
Personally, I have not tested on other Xiaomi BLE Mesh devices if by visiting the device using the App, the sensor reports the value back to HA but I believe they do.
Is there a way we can send the command similar to entering the device on Mi Home app and attach it to an automation? Doing so is as good as having the possibility to set the refresh interval.

This integration support homeassistant.update_entity service. But it will work only for powered devices.
https://www.home-assistant.io/docs/scripts/service-calls/#homeassistant-services


Ray/shape collision fix

Fix for a bug I encountered during my ludumdare 32 entry.
This fixes rays falsely reporting collisions with objects behind them. Didn't show up in the collision test example because shapes were always in front of the rays. I also modified the collision test to verify this bug, and to also test ray/polygon in addition to ray/circle.
Note I think this might be in incomplete fix, this bug might still happen with "infinite=true" rays, but this fixes it enough for my project.

Thanks! I was hoping you'd bring details, but glad to have a fix as well. It might be better to move the tests into separate states at a later point, because the goal of the state tests is to ensure correctness in ground truth/usage format.
I'll probably not want to have the radius smoothness down there, maybe this is a more general problem to be implemented in the service function itself?


[3338] Fixing partner requests creation in seeds.rb to include item requests

Resolves #3338
Description
Fixes the seed for creating new Partner Requests with items associated, filling out request_items as well as item_requests
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Ran the seeds via rails db:reset
Confirmed in local server as<EMAIL_ADDRESS>that requests are created with items associated
Screenshots

After running rails db:reset

Need to fix our tests before merging - will try to look at this today

Thanks for the change!

@kev-kev Just released this one too!


[SPARK-7926] [PYSPARK] use the official Pyrolite release

Switch to the official Pyrolite release from the one published under org.spark-project. Thanks @irmen for making the releases on Maven Central. We didn't upgrade to 4.6 because we don't have enough time for QA. I excludes serpent from its dependencies because we don't use it in Spark.
[info]   +-net.jpountz.lz4:lz4:1.3.0
[info]   +-net.razorvine:pyrolite:4.4
[info]   +-net.sf.py4j:py4j:<IP_ADDRESS>

@davies

Merged build triggered.

Merged build started.

Test build #33685 has started for   PR 6472 at commit 7b3c6bf.

Test build #33685 has finished for   PR 6472 at commit 7b3c6bf.

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

Merged build finished. Test PASSed.

LGTM, merging this into 1.4?

Yes, I've merged this into master and branch-1.4.

@mengxr great success! :+1:


Coverage not shown on one repo repo (but works on others)

At first I thought it was related to:

https://github.com/codecov/codecov-browser-extension/issues/50

ButI have the correct permissions:

But still I don't see the reports when browsing sentry-dotnet, I see N/A:

Example:
Codecov: https://app.codecov.io/gh/getsentry/sentry-dotnet/blob/main/src%2FSentry%2FDsn.cs
GitHub: https://github.com/getsentry/sentry-dotnet/blob/main/src/Sentry/Dsn.cs
It also works on another C#-based repo:
https://github.com/getsentry/symbol-collector/blob/main/src/SymbolCollector.Core/FatBinaryReader.cs
And on the sentry-javascript repo it also works:
Codecov: https://app.codecov.io/gh/getsentry/sentry-javascript/blob/master/packages%2Freplay-canvas%2Fsrc%2Fcanvas.ts
GitHub: https://github.com/getsentry/sentry-javascript/blob/develop/packages/replay-canvas/src/canvas.ts
Plugin Version:

@spalmurray-codecov can you take a look at this when you have some cycles. @thomasrockhu-codecov can you un-assign me and assign Spencer

fyi @katia-sentry

It seems like with the addition of this message, the problem is no longer a problem.


Monorepo resolving wrong paths in ESM

Describe the bug
When using SWC (through @swc-node/register) in an ESM environment ("type": "module") SWC seems to mess up the paths when resolving modules.
In order to do so, create a monorepo and try to resolve files from different packages using "paths" settings in tsconfig.json and .swcrc.
Input code
import { hello } from '@app/functions/hello'

const start = () => {
    hello()
}

start()

Config
{
    "$schema": "https://swc.rs/schema.json",
    "jsc": {
      "externalHelpers": true,
      "parser": {
        "syntax": "typescript",
        "tsx": true
      },
      "target": "esnext",
      "baseUrl": ".",
      "paths": {
        "@app/*": ["./apps/bar/*"]
      }
    },
    "module": {
      "type": "es6",
      "resolveFully": true
    }
  }

Playground link (or link to the minimal reproduction)
https://github.com/DriveFlux/swc-path-issue
SWC Info output
Operating System:
Platform: darwin
Arch: x64
Machine Type: x86_64
Version: Darwin Kernel Version 23.5.0: Wed May  1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64
CPU: (16 cores)
Models: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Binaries:
    Node: 22.3.0
    npm: 10.8.1
    Yarn: 1.22.19
    pnpm: 9.4.0

Relevant Packages:
    @swc/core: 1.6.13
    @swc/helpers: 0.5.11
    @swc/types: N/A
    typescript: 5.5.3

SWC Config:
    output: N/A
    .swcrc path: N/A

Next.js info:
    output: N/A

Strange that swcrc path is N/A. It's at the root as you may notice in the reproduction repo.
Expected behavior
SWC should be able to follow baseUrl and resolve paths correctly.
Actual behavior
node:internal/modules/run_main:115
    triggerUncaughtException(
    ^
Error: All of the aliased extension are not found: ../../../../../../../apps/bar/functions/hello.js cannot be resolved in file://path/to/path-reproduction/internal/foo.ts
    at resolve (file://path/to/path-reproduction/node_modules/.pnpm/@swc-node+register@1.10.3_@swc+core@1.6.13_@swc+helpers@0.5.11__@swc+types@0.1.9_typescript@5.5.3/node_modules/@swc-node/register/esm/esm.mjs:222:15)
    at async nextResolve (node:internal/modules/esm/hooks:750:22)
    at async Hooks.resolve (node:internal/modules/esm/hooks:238:24)
    at async MessagePort.handleMessage (node:internal/modules/esm/worker:199:18)

SWC adds many ../../../ into the path
Version
1.6.13
Additional context
To run the reproduction:

Clone the repo
Run pnpm internal script and see the error

Notice that we register SWC this way: cross-env SWCRC=true TS_NODE_PROJECT=./internal/tsconfig.json node --import @swc-node/register/esm-register
The .swcrc is at the root, pointing to the right paths and setting baseUrl to be the root.
The tsonfig.json is inside the internal folder and sets the baseUrl to internal folder but sets the paths correctly.

The use-case of this is to have many packages and apps in the repository and also an internal folder which is intended for terminal use only for quick scripts. Files in the internal folder should be able to execute JS from all the monorepo.
We also use<EMAIL_ADDRESS>which supports "moduleResolution": "Bundler".
We use Node: v22.3.0

I also tried to debug @swc-node/register and found that it correctly passes all the information to the compiler. The rust compiler then messes the path and returns the compiled file with those ../../../

cc @Brooooooklyn

I did that, here's the new tsconfig:
{
    "extends": "../packages/tsconfig/base.json",
    "compilerOptions": {
      "baseUrl": ".",
      "rootDir": "..",
      "paths": {
        "@app/*": ["../apps/bar/*"]
      },
    },
    "include": [
      "../apps/bar/**/*.ts",
      "**/*.ts",
    ],
    "references": [
      {
        "path": "../apps/bar"
      }
    ],
  }

And I added "composite": true to apps/bar/tsconfig.json. This did not change anything.


[patch] Fix sideload bugs with path (spaces) and registery (dependency flaw)

Thank you for your pull request!
Please add '[major]', '[minor]', or [patch] to the title to indicate the impact the change has on the code.  Please also provide the following information.

Change Description:
Fix two bugs:

teamsfx-cli command needed to quote the manifest path
The new version of winreg has a bug in it when values contain spaces

Do these changes impact command syntax of any of the packages? (e.g., add/remove command, add/remove a command parameter, or update required parameters)
No.

Do these changes impact documentation? (e.g., a tutorial on https://learn.microsoft.com/office/dev/add-ins/overview/office-add-ins)
No.

If you answered yes to any of these please do the following:
> Include 'Rick-Kirkham' in the review
> Make sure the README file is correct
Validation/testing performed:
Ran automated test.  Tried local package in projects using an xml manifest and a json manifest each with project names that cotained spaces.

Can I get a review?


Page zoom preference display

Displaying 100% twice next to 900%. I am assuming this is meant to be a single value of 190%. Additionally, the list displays 229% with a value of 2.3. This was determined to be an issue with JS's floating point precision.

@dstreet LGTM


Bumblebee config to enable multiple monitors

Added configurations to bumblebee package to easy multiple monitors on Optimus
machines.
The behaviour of the default bumblebee package hasn't change, so this change
is backwards compatible. Users who want to connect a monitor to their discrete
card should use the package bumblebee_display instead.
Also added new configuration option to nixos bumblebee module:
hardware.bumblebee.connectDisplay = true

will enable the new configuration, but the default is still false.

Haven't tested it but seems reasonable. Thanks.


Fix OpenLLaMA model names

Description

Fix OpenLLaMA model names after updates on the corresponding HuggingFace account.
Types of change

Fix.
Checklist

[x] I confirm that I have the right to submit this contribution under the project's MIT license.
[ ] I ran all tests in tests and usage_examples/tests, and all new and existing tests passed. This includes

all external tests (i. e. pytest ran with --external)
all tests requiring a GPU (i. e. pytest ran with --gpu)

[x] My changes don't require a change to the documentation, or if they do, I've added all required information.

I think we should release this as a bugfix release instead, because the OpenLlama models will remain broken otherwise until 0.5.0, right?

I think we should release this as a bugfix release instead of targeting develop, because the OpenLlama models will remain broken otherwise until 0.5.0, right?

Good point.


Crash with an Input widget that has an initial value

It's triggered in the Create app when an Input widget is instantiated with an initial value and an attempt is made to edit it.
The log file is attached.
May be related to https://github.com/flutter/flutter/issues/964
alog.txt

Looking into a simple way to reproduce...

Reproducible in card_collection.dart when you enable 'Make card labels editable' and try to edit a card label.

Cool, thanks. I'll look into it.

Fixed when engine was upgraded.  Closing.


Fail to upload file to S3

I'm trying to upload a file to S3 using a pre-signed request. I got it to work in curl with:
curl -v -T video.mp4 "http://<myBucket>.s3.amazonaws.com/video.mp4?AWSAccessKeyId=<myAccessKey>&Expires=1492187347&Signature=vpcUnvGALlVXju31Qk2nXNmBTgc%3D"

and I'm trying to do the same with AF.
let videoPath = Bundle.main.path(forResource: "media", ofType: "mov")!
let videoUrl = URL(fileURLWithPath: videoPath)
Alamofire.SessionManager.default.session.configuration.httpAdditionalHeaders = [:]
let presignedUrl = "http://mettavr.s3.amazonaws.com/dev/test-upload/grey.mp4?AWSAccessKeyId=AKIAJSRDI3YY6MHZDGGA&Expires=1492188361&Signature=qr4C0TWGN2Vx7kMWygiTTHA8%2F5A%3D"
// I also tried with decoded URL parameters
request = Alamofire.upload(videoUrl, to: presignedUrl, method: .put, headers: [:])
request.responseString(completionHandler: { response in
  print(response)
})
request.resume()

This fails (it gets a response that is an error message) with
The request signature we calculated does not match the signature you provided. Check your key and signing method.

I don't really understand what's happening. I've read a few posts that mention that there might be some headers that are set by AF that are unexpected by S3 but I'm not sure.

Sorry, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow and tag alamofire.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.

I'm hitting the same issue. Cant find anything on stack overflow relating to this. Has a thread been started?

Mostly likely you need to follow our documentation regarding how to customize the headers sent in the request. Neither of the methods implements in the original post would work how you'd expect. Besides which, the easiest way to see what could be wrong is to use a proxy tool like Charles Proxy to intercept your requests and see exactly what they look like.

Yup. after a few hours at it I managed to figure out what it was. Namely, I needed to pass in a blank content-type for S3 to stop complaining.
If you are still after a fix, @gsabran, try manually passing ["Content-Type": " "] in the headers

@CaioSym I know this is very old, but i cant figure out how to fix this.
I added ["Content-Type": " "] and i'm still getting the error.
Any chance for a full code?
Thanks

@ilandbt Can you try an empty String? I'll see if I can still find that code in the mean time

@gsabran I'm really interested in your results. I'd love if you could share your method for uploading directly to s3 with alamofire. I have an open SO question here if you have time to share the knowledge
https://stackoverflow.com/questions/53623967/how-to-upload-a-file-to-s3-using-alamofire-4-8-using-multipartformdata-with-acce


Wither Generator Update

I updated the Wither Generator. I added a thumbnail and the A4 PPC template.

Can you convert the thumbnail to a jpeg? Also could you make the template on the A4 exactly- 595x842- and fill out the space better by moving the parts around?


I kindly ask the community to give me 10000 eth goerli to test my project.

I kindly ask the community to give me 10000 eth goerli to test my project. I would be very grateful if you send me to the address: 0x6A25F34952365AFbcCd2c92015fA33B36CFc800D

Please use Sepolia.

Hello everyone, if you have trouble finding goerli testnet you can contact me to buy Telegram: https://t.me/SnowdenResearch Im Selling $Goerli $ETH ! 💰20 Goerli ETH = $5 💰50 Goerli ETH = $12 💳addres Of supply: 0x0b4a7e3e7DBa45509F1948eD388d521f862270B1

Hi everyone if you have trouble finding goerli testnet And need some tesnet goerli eth you can contact me to buy
Telegram:
https://t.me/SnowdenResearch
Im selling GoerliETH
📌Price:
20 Goerli ETH for $5
40 Goerli ETH for $10
50 Goerli ETH for $12
💳Proof of Supply:
https://goerli.etherscan.io/address/0x0b4a7e3e7DBa45509F1948eD388d521f862270B1


only offline readings

Since oct 29th I get only offline readings. What can be wrong?
like this:
Nov 01 08:13:57 raspberrypi gw2pvo[372]: INFO     Offline, 0.0 W now, 0.0 kWh today
Nov 01 08:18:56 raspberrypi gw2pvo[372]: INFO     Offline, 0.0 W now, 0.0 kWh today

Fixed by removing old offline inverter from sems portal. The plant was also showing offline in semsportal, despite one inverter was generating


Metric.Timer has NaN for Mean

After leaving a process running for some time, I've come across the following issue.
Could someone confirm if this is a metrics.net issue or whether it is an issue for the Metrics.NET.InfluxDB project?
Thanks
public static readonly Timer ResponseTime = Metric.Timer("Response Time", Unit.Requests);
2017-07-05 05:45:05, 226 [22  ] Metrics: Unhandled exception in Metrics.NET Library Error while uploading 51 measurements (5.72 KiB) to InfluxDB over HTTP [http://localhost:8070/write?db=metrics&u=user&p=password&precision=s] [ResponseStatus: ProtocolError] [Response: {
"error":"partial write: unable to parse '
Response  Time Active  Sessions=0i,
Total  Time=4i,
Count=1i,
Mean  Rate=1.9858004319199677E-05,
1  Min  Rate=2.96439387504748E-314,
5  Min  Rate=5.0414622397472423E-76,
15  Min  Rate=5.9199171854273278E-28,
Last=4.0835409999999994,
Min=4.0835409999999994,
Mean=NaN,
Max=4.0835409999999994,
StdDev=0,
Median=4.0835409999999994,
Sample  Size=1i,
Percentile  75%=4.0835409999999994,
Percentile  95%=4.0835409999999994,
Percentile  98%=4.0835409999999994,
Percentile  99%=4.0835409999999994,
Percentile  99.9%=4.0835409999999994<PHONE_NUMBER>': invalid number"}

On investigation, this issue arises in Metrics.Sampling.ExponentiallyDecayingReservoir.Update method
The startTime field is instantiated in the constructor and reset in ResetReservoir method.
If the instance of ExponentiallyDecayingReservoir is alive for 47319 seconds (with Default Alpha at 0.015), the Math.Exp (in Update method) returns double.Infinity causing Mean to be NaN.
var itemWeight = Math.Exp(this.alpha * (timestamp - this.startTime.GetValue()));
var sample = new WeightedSample(value, userValue, itemWeight);
The patch is to reset the reservoir if we hit infinity:
var itemWeight = Math.Exp(this.alpha * (timestamp - this.startTime.GetValue()));
                if (double.IsInfinity(itemWeight))
{
 ResetReservoir();
                    itemWeight = Math.Exp(this.alpha * (timestamp - this.startTime.GetValue()));
}

@PaulParau could this be merged into trunk?

@sunkor, I understand what you're saying, however the ExponentiallyDecayingReservoir gets rescaled every hour (see the ExponentiallyDecayingReservoir.Rescale method). The startTime gets reset in this method, which should ensure that the maximum difference in seconds (timestamp - this.startTime.GetValue()) should never exceed 3600.
Under which conditions have you observed double.IsInfinity(itemWeight) in your solution to be true?

Hi Paul
I have left the organization where the dev team uses Metrics.Net, so unfortunately have to rely on my memory on how the issue gets triggered.
If you initialize a Timer (internally using ExponentiallyDecayingReservoir) and keep it alive for 47319 seconds (just more than 13 hours), the Math.Exp returns double.Infinity.
So if we init ResponseTime, and use it in a long running process (a service perhaps) to record metrics, we will run into the issue.
public static readonly Timer ResponseTime = Metric.Timer("Response Time", Unit.Requests);

I cannot reproduce the issue. The ExponentiallyDecayingReservoir.Rescale method gets triggered, as expected, 1 hour after reservoir creation, and startTime gets reset. Thus, the difference (timestamp - this.startTime.GetValue()) does not get larger than 3600 and Math.Exp(this.alpha * (timestamp - this.startTime.GetValue())) should never get larger than 4.64385... × 10^23, which is well beneath double.MaxValue.
I believe the issue @hhansell is experiencing is caused by something other than this.

@PaulParau, after logging out some values, I see that the NaN comes ultimately as the result of a list where all items have a weight of zero.  Perhaps a change to the Mean function to handle this and return 0?  This won't fix the bigger issue further down though.
            var list = new SortedList<double, WeightedSample>(100, ReverseOrderDoubleComparer.Instance);
            list[double.Parse("1.48219693752374E-323")] = new WeightedSample(1957668, null, 0.000000000000000000000000000000);
            var snapshot = new WeightedSnapshot(list.Count, list.Values);
            var mean = snapshot.Mean;
            Debug.Assert(!double.IsNaN(mean));

Having logged out the values, here is an example using real data (from a logged version of the Rescale method in the ExponentiallyDecayingReservoir) that has lead to a weight of zero:
            var alpha = 0.015;
            var sampleWeight = double.Parse("6.30093530948943E-302");
            var startTime = 294463;
            var oldStartTime = 290906;
            double weight = sampleWeight * Math.Exp(-alpha * (startTime - oldStartTime));

Ultimately, this comes down to the 'sampleWeight * scalingFactor' being too small for a double. 6.73314423785015E-24 * 6.30093530948943E-302 == double(0).
I presume that the purpose of ResetReservoir is to prevent the weights from decaying to this point, however, I cannot see how this is ultimately called though.

We also had found this issue within our application when using timers.
We had a metric that posted once on application startup, and we would get the exact same error logged about 13hrs later.
We found that the issue resided in the constructor of WeightedSnapshot class on the following line
ln52: this.normWeights[i] = sample[i].Weight / sumWeight;
As time moves on and no updates to the metric were received i.e. not calling NewContext() in our case, the weight of the sample tends towards 0, thus after a period of time we have a divide by zero issue causing the mean to become NaN. The reason that there were no exceptions thrown for the divide by zero case, is because the Weight is a double and not an int, resulting in NaN instead of an exception.
This is the fix we recommend.
this.normWeights[i] = sumWeight == 0 ? 0 : sample[i].Weight / sumWeight;

I can confirm existence of this issue, and proposed patch has fixed this issue for our application.
@PaulParau can it be merged and new version published to nuget?

I've fixed the issue & pushed a new package (v0.5.6-pre) to nuget. Thanks for all the help everyone!


Remove Result<(), E> from the API

Closes #11.
Description
Upgrading Kira to 0.9 meant that most of the fallible methods disappeared, which in turn automatically solved the issue.
Breaking changes
AudioFileHandle methods no longer return Results, error handling is therefore not required anymore.

Yeah I wanted to add the flake in another PR but ended up needing it for my laptop, so it's here. I'll merge it with it, but I also don't know the NixOS stuff, so I'm sure it's not optimal 😆


chore: fix docstring indents

Similar to https://github.com/aspect-build/rules_js/pull/961

Removing indentation to "fix" things 😢


entity specific config

Is your feature request related to a problem? Please describe.
i noticed i could make polar bears go flying, but not players
Describe the solution you'd like
instead of suggesting an entity specific solution, i think maybe a more general approach - being able to config damage and knockback per entity id - would be better (also good for mod support or modpack usage). i specifically want to use this myself to make players take more knockback, but it would definitely make your amazing mod have a more viable usage for modpacks with custom entities
Describe alternatives you've considered
none really. maybe Pehkui's size compatibility, if there isn't already?
Additional context
very cool mod btw dude :D

Players should be able to take knockback, it might be buggier when running server-side.


Crash when using Spark write to CK

JDBC version in pom.xml
2.3-stable shaded version
ClickHouse version
20.8-lts
Error  logs
Lost task 153.2 in stage 9.0 (TID 265, cdh-worker003, executor 34): com.github.housepower.jdbc.ClickHouseSQLException: DB::ExceptionDB::Exception: Unexpected packet Data received from client. Stack trace:

0. Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x18ba03d0 in /usr/bin/clickhouse
1. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xe606dad in /usr/bin/clickhouse
2. DB::TCPHandler::receiveUnexpectedData() @ 0x1626ab89 in /usr/bin/clickhouse
3. ? @ 0x1626d281 in /usr/bin/clickhouse
4. DB::TCPHandler::runImpl() @ 0x1626e83f in /usr/bin/clickhouse
5. DB::TCPHandler::run() @ 0x1626f6e0 in /usr/bin/clickhouse
6. Poco::Net::TCPServerConnection::start() @ 0x18abe23b in /usr/bin/clickhouse
7. Poco::Net::TCPServerDispatcher::run() @ 0x18abe6cb in /usr/bin/clickhouse
8. Poco::PooledThread::run() @ 0x18c3d1a6 in /usr/bin/clickhouse
9. Poco::ThreadImpl::runnableEntry(void*) @ 0x18c385a0 in /usr/bin/clickhouse
10. start_thread @ 0x7dd5 in /usr/lib64/libpthread-2.17.so
11. __clone @ 0xfe02d in /usr/lib64/libc-2.17.so

	at com.github.housepower.jdbc.protocol.ExceptionResponse.readExceptionFrom(ExceptionResponse.java:32)
	at com.github.housepower.jdbc.protocol.RequestOrResponse.readFrom(RequestOrResponse.java:38)
	at com.github.housepower.jdbc.connect.PhysicalConnection.receiveResponse(PhysicalConnection.java:95)
	at com.github.housepower.jdbc.connect.PhysicalConnection.receiveEndOfStream(PhysicalConnection.java:87)
	at com.github.housepower.jdbc.ClickHouseConnection.sendInsertRequest(ClickHouseConnection.java:159)
	at com.github.housepower.jdbc.statement.ClickHousePreparedInsertStatement.close(ClickHousePreparedInsertStatement.java:94)
	at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.savePartition(JdbcUtils.scala:675)
	at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anonfun$saveTable$1.apply(JdbcUtils.scala:834)
	at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anonfun$saveTable$1.apply(JdbcUtils.scala:834)
	at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$28.apply(RDD.scala:935)
	at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$28.apply(RDD.scala:935)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2121)
	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2121)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
	at org.apache.spark.scheduler.Task.run(Task.scala:121)
	at org.apache.spark.executor.Executor$TaskRunner$$anonfun$11.apply(Executor.scala:407)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1408)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:413)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Steps to reproduce
Other descriptions

It can reproduce using 2.4.1 write to clickhouse 20.3

@pan3793 Hello, I also used spark to import clikchouse and encountered the same problem. The version of clickhouse I used is: <IP_ADDRESS> native-jdbc version is 2-5-6, how did you solve it in the end? Just change Is the version of jdbc? 2.3 ->> 2.4.1 ??

You can also use clickhouse-integration-spark with the official clickhouse JDBC driver or clickhouse4j.

hi, first of all thank you for your reply, it's like this,

I used the official JDBC driver at first, but "Broken pipe" or "connect closed" often appeared during use, and finally I gave up using it.
Next, I used native-jbdc to import and found that this is very stable and very fast.
But recently I kept reporting this error when importing a table with 44 attributes. I also tried the official jdbc driver and clickhouse4j. Although this error is not reported, it is very slow.
The clickhouse-integration-spark you mentioned supports , but our company now uses version 2.1.0 of Spark

To summarize: I use native-jdbc to import 14-attribute tables and there is no problem, but this error occurs when I import this 44-attribute table

Could you please provide the reproducible code and data?

Yes, can I reply to you tomorrow?, Today is the weekend, I wish you a happy weekend

Yeah

Hi, pan, I tried to reproduce the error locally using 5000 records in the database, but the error cannot be reproduced locally. Only when a large amount of data is imported to the server, the error is caused by Spark logs.

备注:
1 我使用的驱动版本

2. clickhouse版本是: <IP_ADDRESS>

hello, how do you handle the problem finally?


Mimics need to be a gamerule

If a mimic has a 0.1% chance of spawning it needs to be a gamerule, every other mob in the game is managed by gamerules and this shouldn't be an exception, see https://github.com/space-wizards/space-station-14/pull/21997

I get your point about it spawning in dev and whatnot. But I just don't think gamerule makes sense for this?
The whole idea was that it replaces a vending machine where a vending machine would normally be. It just kinda makes sense to use the spawner that way because it sets up an expectation that will randomly be a surprise.
I suppose you could have an event that swaps out the machine for the mob but I still think you'd want that to run at roundstart. Otherwise, a machine just magically transforms in the middle of the round..?

The whole idea was that it replaces a vending machine where a vending machine would normally be. It just kinda makes sense to use the spawner that way because it sets up an expectation that will randomly be a surprise.

I suppose you could have an event that swaps out the machine for the mob but I still think you'd want that to run at roundstart. Otherwise, a machine just magically transforms in the middle of the round..?
If you don't want late starts add gamerule support, it makes 0 sense to be spawning mobs outside of gamerules and spawning them on devmap.

Additionally, mimics wander and have 1 fixed sprite which means no surprises are happening anyway.

OK, well I see the change is up already. That was really fast.


Clean up after plugin compatibility table migration

Summary
Deleting the old plugin compat topic that was replaced by https://docs.konghq.com/konnect-platform/compatibility/plugins/.
Update links to point to new location (there is already a redirect, but this is cleaner).
Reason
Old/outdated topic is coming up in search.
Testing
TBA

@HCloward finally got netlify to build a preview - there's some maintenance happening that was stalling builds. Can you take a quick look?


BST-75357 - Audit event added and downloadPDF fucntionality working correctly

Old branch and other PR was placed for work


New Opposite problem: index terms not building

So I just uploaded this document and the term "Response to Simenon and Ellison" doesn't show up in the index
https://tanyaclement.github.io/harvard1953/august-4-evening-part-three
10_tape05.xlsx

We investigated this, and it looks like there is no file under the Jekyll collection _terms, but the IIIF annotations do exist:  https://github.com/tanyaclement/harvard1953/blob/gh-pages/_data/annotation_store/august-4-evening-part-three-canvas-1-carvel-collins.json#L73-L78


improve limit delta writer flush task parallelism

Proposed changes
Add a flush task parallelism limit for each delta writer.
If flush is fast enough, this limit will do nothing since there will be no task waiting.
If flush is the bottleneck, this limit could reduce memory usage.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


MUMUP-1969 : Make it a pretty button, and forget favorites

Desktop:

Mobile:

Mobile w/ beta flag set to show toggle

:+1:

I might add a bit of padding around the button and see how that looks later but it's a :+1: from me

:+1:

agree on padding and :+1:

The extra padding would break the toggle.


Create Get Started with Kubernetes

This is a copy of the Quickstart in the Docs section. Please check, if I got it right.

I will close this as discussed. duplicate doc files are hard to maintain.


Struct tags should not have different values than their field name

There are a few field names that differ from their struct tag representation. This is a bad practice as it often causes confusion and is also inconsistent. They should be aligned. An example:
https://github.com/observatorium/configuration/blob/c835853933cae03341a19fef1ce8a960b54a2707/api/v1alpha1/observatorium_types.go#L26
@nmagnezi @rollandf

Sure, I will fix it.

This have been handled here #264
I think it can be closed now.


Feature request: Norwegian Bokmål (nb) Language

Current translations for Norwegian Bokmål (nb) needs an update. Furthermore, some of the strings are not translated resulting in some strings being displayed in English and others in Norwegian Bokmål (nb).
Expected Behavior

I have translated all strings to Norwegian Bokmål (nb). Therefore, if django-two-factor-auth pulls the new translations from Transifex for Norwegian Bokmål (nb) all strings will be fully translated.
Current Behavior

The difference from the current behavior is that all the strings will be translated to Norwegian Bokmål (nb).
Possible Solution

Pull the updated strings for Norwegian Bokmål (nb) into django-two-factor-auth.
Steps to Reproduce (for bugs) (N/A)

Context (N/A)

Your Environment (N/A)

Hi @JonathanD01, it looks like translations were re-pulled 3 months ago.  I see that there hasn't been a release in 12 months however.  It would be possible for you to make use of these changes now if you'd like by replacing
# This:
django-two-factor-auth==1.16.0

# With this:
django-two-factor-auth@git+https://github.com/jazzband/django-two-factor-auth@dfead94

in your requirements.txt.  dfead94 happens to be the latest commit on master.


'Current Status' Page

We should have a persistent place for people to go if they want to know if we think everything is currently working. As we have many different services, some of which are not in our direct control (add-on providers, Piwik, MailChimp, Elastic Search, and so on) that may not be functioning for periods of time independent of the rest of the site, it would be great if they could check to see if we know about the problem, what the likely cause is, and when we expect things to be working. We can tweet these things, or we can hotfix warnings or something, but having something we can update without affecting the rest of the site will make communication much easier and more professional.
An added flourish would be to have a status widget available everywhere (say, in the navbar) that would be color coded to indicate whether things are good, good but with minor issues, or bad, and they could click it to see the status page.
Ideally, we wouldn't have any problems, but they will happen, so being able to communicate our understanding and progress with them will help greatly.

:+1:

This is a repeat of https://github.com/CenterForOpenScience/osf.io/issues/1003

Yes - it is a good one. @brianjgeiger can we add your comment/description on this one to #1003?

So it is.

TY


Very useful as static app in initrd

Hi, I know that you posted this project is dead; however, I found it to be very useful in a particular situation.
EasyOS is a derivatve of Puppy Linux. These distributions have a very small initramfs (initrd), which only contain statically-linked utilities, such as busybox.
Targetting this very constrained environment, I was able to link your 'example' with a cutdown libsdl and libsdl-gfx, for only the Linux framebuffer, and statically-link with musl, it is only 304KB.
It works great. Obviously room for improvement, but the fundamentals are there. I posted about it to my blog:
https://bkhome.org/news/202301/guiengine-runs-in-initrd.html
One interesting observation: running from a terminal after bootup, it takes a few seconds before the GUI appears; however, in the initrd the GUI appears instantly.
Thanks for putting the project on github!

Have been running with this one. the 'example.c' in gui_engine, with some SDL_ttf functions, and statically-linked with SDL_ttf, freetype, libpng and libz, is 560KB.
Pretty good, for a completely standalone GUI app in the initrd. Posted about it here:
https://bkhome.org/news/202301/statically-linked-guiengine-example-with-ttf-support-is-560kb.html
An interesting note: SDL_ttf 2.0.11 (with debian patches) didn't work, I rolled back to 2.0.3 (without any patches) which did work. Posted about that problem here:
https://bkhome.org/news/202301/back-in-business-with-sdlttf.html

Note that there is no way to exit from 'example' running with the framebuffer, as it is not running with a window manager hence no close-box.
Here is very simple code so the ESC key can exit:
https://bkhome.org/news/202301/learning-sdl-v12-lesson-08.html

Started a thread about gui_engine on the Puppy Forum:
https://forum.puppylinux.com/viewtopic.php?t=7809

Have implemented TTF in the window titlebar:
https://bkhome.org/news/202301/ttf-text-in-titlebar-guiengine.html


Reactive WoofJS

Like in issue #54 about Streamsheets, until I get the organization of this website figured out, I need a place where I can consolidate my thinking around this idea, which I can pull from my /journal and /ideas.

This is also related to Bret Victor's Kill Math and http://glench.com/LegibleMathematics and Aprt.us and Elm and Fran and Pyret and Emmanuel's new project and Scott Mueler's new project


[AppGate] Add a grace period where delegation changes don't apply until the next session for an application

Objective
In order for the session to be able to continue with the correct rings any delegation changes should not occur on-chain until the next session for the given application.
Utilising as much of the cosmos-sdk features as possible implement a grace period such that any delegation changes are finalised after the current session ends for an application.
Origin Document
Related issue https://github.com/pokt-network/poktroll/issues/73
Goals

Utilise the SDK to implement a grace period where applications who are changing their delegation status finalise this change when their current session ends.

Deliverables

[ ] A working Grace period
[ ] Little in-house work done (utilise the SDK as much as possible)
[ ] Update #73 with the learnings from this implementation

Non-goals / Non-deliverables

Change anything outside of the on-chain logic
Break any (un)delegation logic
Break ring building
Break any session logic

General deliverables

[x] Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
[x] Testing: Add new tests (unit and/or E2E) to the test suite.
[ ] Makefile: Add new targets to the Makefile to make the new functionality easier to use.
[ ] Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @h5law
Co-Owners: @Olshansk

@h5law I thought about this and think that we can get into a LOT of complexity and edge cases if you take into account the following (and any permutations it might encompass):

Delegation grace periods
Unstaking / staking
Changes to the blocksPerSession parameter
Session rollovers
Other features we'll add in the future

I also know that time-delayed operations are prone to increasing bugs and complexity.
Before you jump into the implementation, can you provide a 1-pager design with the approach you're thinking of taking?

CC @red-0ne who is looking into #275 with me.

See 1 for reference on how staking undelegation is done
[1] https://docs.cosmos.network/main/build/modules/staking#unbondingdelegation

No longer needed


Refactor/import page

Looking really good so far Dan, thanks for all the effort! A few comments for you and one general testing one.
Could the test names be consistent? I noticed some have _ before the When and others don't. Either is fine, I'm just being OCD 😋

Looking really good so far Dan, thanks for all the effort! A few comments for you and one general testing one.
Could the test names be consistent? I noticed some have _ before the When and others don't. Either is fine, I'm just being OCD 😋

Thanks Tom! I've implemented requested changes


Changing the name of Solver component

Hello everyone.
This issue is to propose to change the name of the Solver resource.
It appeared a misleading name to me when I started to deal with this project and I believe it could be the same to new people who will get started with the project.
Among the suggestions I have there are:

ResourceMapper (this is the one I like the most)
ResourceNegotiator
ResourceCoordinator
ResourceManager

Any feedback or further suggestion is highly appreciated.
Thanks,
Francesco

ResourceMapper looks very good to me.
My only suggestion would be ResourceReqMapper, but it looks convoluted, so I prefer your proposal.

I'd suggest ResourceFinder, but ResourceMapper sounds good as well.


How to "Shake" group ?

Hi there,
I'm making some tests on this framework and got questions :

How can I easyly make a "shake" animation. Let say rotate left for some degrees and rotate back to initial position then rotate right for some degrees and repeat 3 or 4 times ? How can one achieve that ?

2.Can I stroke an entire group of different shape ? In this group, there are others groups and / or shapes
Thank you !

There are a lot of different ways to make shake animation. In general, you can use something like this:

let shape = Rect(x: 100, y: 100, w: 100, h: 100).fill(with: Color.blue)
shape.onTap { e in
    // shape center
    let cx = 150.0
    let cy = 150.0
    // shake angle
    let angle = Double.pi / 12
    // one shake time in seconds
    let time = 0.08
    // number of shakes
    let moves = 10

    shape.placeVar.animate(angle: angle, x: cx, y: cy, during: time / 2)
    var delay = time / 2
    for i in 0...moves {
        let direction = Double((i % 2) * 2 - 1)
        shape.placeVar.animate(angle: direction * angle, x: cx, y: cy, during: time, delay: delay)
        delay += time
    }
    shape.placeVar.animate(angle: 0, x: cx, y: cy, during: time / 2, delay: delay)
}

That's how it works:

You can customize parameters or find another implementation and port it to Macaw.

Unfortunately Macaw doesn't allow you to do it out of the box. You need to define such a Path yourself and stroke it.

Ok thank you.
Strange behaviour : when svg simply rendered, groups are little blur. And when animation starts, Shape are very clean and precise. No more blur.
Any idea why ?

Le 23 mai 2018 à 09:18, Yuri Strot<EMAIL_ADDRESS>a écrit :
There are a lot of different ways to make shake animation. In general, you can use something like this:
let shape = Rect(x: 100, y: 100, w: 100, h: 100).fill(with: Color.blue)
shape.onTap { e in
// shape center
let cx = 150.0
let cy = 150.0
// shake angle
let angle = Double.pi / 12
// one shake time in seconds
let time = 0.08
// number of shakes
let moves = 10
shape.placeVar.animate(angle: angle, x: cx, y: cy, during: time / 2)
var delay = time / 2
for i in 0...moves {
    let direction = Double((i % 2) * 2 - 1)
    shape.placeVar.animate(angle: direction * angle, x: cx, y: cy, during: time, delay: delay)
    delay += time
}
shape.placeVar.animate(angle: 0, x: cx, y: cy, during: time / 2, delay: delay)

}
That's how it works:
https://camo.githubusercontent.com/505e0693f04a1d0c55b8eae479b40190f65866f4/68747470733a2f2f692e696d6775722e636f6d2f613534584731362e676966
You can customize parameters or find another implementation and port it to Macaw.
Unfortunately Macaw doesn't allow you to do it out of the box. You need to define such a Path yourself and stroke it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/exyte/Macaw/issues/370#issuecomment-391245821, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJZOl_gv8qInLI5KSKFIPK9G3s53-ppks5t1Q1fgaJpZM4UJllr.

Look at that sceenshot. Number 33 shape is animated. It appears really clean.
Number 34 is not animated. It appears blur.
I'd like all my shape to be as clear as number 33.
The SVGView is in a scrollView and I'm zooming for that screenshot. The SVGView is in mode "AspectFit".
Thank you for your help.

That's probably because you need to force your view to redraw once you zoom in. Try to call setNeedsDisplay() on your SVGView after zooming.

I just give it a try : not better :(
I did it in the scrollViewDidEndScroll. The method is called but not better.
Guillaume

Le 30 mai 2018 à 08:35, Yuri Strot<EMAIL_ADDRESS>a écrit :
That's probably because you need to force your view to redraw once you zoom in. Try to call setNeedsDisplay() on your SVGView after zooming.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

And more than that : at the end of the animation, the animated shape come back to blur.
Any idea ?

Closing this issue, because original question was addressed. If you have other questions please open another ticket. There are several opened issues related to scrolling.


 It only works when landing on the company for some reason

I'm experiencing the same thing too.

I tried it with only AC and it still happens.
Since it works on the company moon, I tried to put it on while going in orbit but then the ship never reaches orbit even after taking it of.


Added Vector calculus under math section

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description

Vector calculus by Michael Corral

Why is this valuable (or not)?
Yes, it is valuable.
How do we know it's really free?
Yes, the book is a pdf.
For book lists, is it a book? For course lists, is it a course? etc.
It is a book
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)

Followup

Check the output of Travis-CI for linter errors!

excellent addition.


Fixed Issue #33: Customize text

Added an argument in the form of a Function to manually customize the text given the current duration.
Details in the code documentation and example.
Hope it solves the problem (did it for me).

very useful feature, shame it's not merged to master. Any reason for that?

+1, this is exactly what I was looking for... Shame it didn't get merged.


Release notes for beta-20170928

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9f678d637d90d6603cd555b013a0a83214624be3/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5899410a7536bb67c5d2012a224556a254b81a0c/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c95fb55de3bd6c56e4519a5182a780179309527c/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2c066f3953a4b18dab066b8309487ca15b6f3adc/


TailwindCSS

Whenever I feel like actually doing web-dev.

It ain't too pretty, but dammit, it works!


Refactor AutoTest comment handling

The current implementation is too brittle to test effectively since it essentially requires integration tests. Refactor so the parts can be validated and then tested end-to-end.

AtGetResults needs a SHA param

AtGetResults needs a SHA param

Fixed with last.


[PR Workflow] ARMReview label was not added in spite of the relevant checkbox being checked

In this PR:

https://github.com/Azure/azure-rest-api-specs-pr/pull/12376

Discussion here.
PR pipeline runs:

https://dev.azure.com/azure-sdk/internal/_build?definitionId=1736&_a=summary&branchFilter=251297%2C251297%2C251297%2C251297%2C251297%2C251297%2C251297%2C251297

The first run of the PR shows it skipped adding the label because it is a draft, per this log.

The checkbox is no longer there.


⚠ Bofrost.fr has degraded performance

In 1304a82, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1315 ms

Resolved: Bofrost.fr performance has improved in 6862dab after 6 minutes.


[Feature Request] Show view definition in Structure tab

The ability to see a pretty printed, syntax highlighted display of the definition of a given view / materialized view in the Structure tab would be extremely handy. The command select pg_get_viewdef('{{view_name}}', true); is easy enough to remember, but I wind up needing to copy and paste the output into a text editor to see everything, especially for views with large definitions.

This is implemented in #594

Hey - thanks! I'll take a look at this for sure - actually have a need for an embedded db UI sort of deal and was considering pgAdmin but pgweb is far simpler to setup - might be a better match - perfect timing! (and happy to see work has continued on this project - great stuff!)

0.12.0 binary release will be available pretty soon, some time this week. If you need to test the changes you can build the project from source (via make build).


HBASE-28335 Expose CacheStats ageAtEviction histogram in jmx

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Prechecks _

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

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

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

_ master Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m  3s
master passed

+1 :green_heart:
compile
3m 56s
master passed

+1 :green_heart:
checkstyle
0m 53s
master passed

+1 :green_heart:
spotless
1m  3s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
2m 33s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 47s
the patch passed

+1 :green_heart:
compile
3m 38s
the patch passed

+1 :green_heart:
javac
3m 38s
the patch passed

+1 :green_heart:
checkstyle
0m 56s
the patch passed

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

+1 :green_heart:
hadoopcheck
6m 59s
Patch does not cause any errors with Hadoop 3.3.6.

+1 :green_heart:
spotless
0m 58s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
2m 53s
the patch passed

_ Other Tests _

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

41m 46s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5942

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 0d771a65cfa1 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e5b581686d

Default Java
Eclipse Adoptium-11.0.17+8

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

modules
C: hbase-hadoop-compat hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 37s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 58s
master passed

+1 :green_heart:
compile
1m  6s
master passed

+1 :green_heart:
shadedjars
5m 12s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 44s
the patch passed

+1 :green_heart:
compile
1m  4s
the patch passed

+1 :green_heart:
javac
1m  4s
the patch passed

+1 :green_heart:
shadedjars
5m  8s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 39s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 39s
hbase-hadoop-compat in the patch passed.

+1 :green_heart:
unit
235m 48s
hbase-server in the patch passed.

261m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5942

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 2f3815027115 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e5b581686d

Default Java
Eclipse Adoptium-11.0.17+8

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/testReport/

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

modules
C: hbase-hadoop-compat hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 16s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 10s
master passed

+1 :green_heart:
compile
1m 24s
master passed

+1 :green_heart:
shadedjars
6m  4s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 54s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 52s
the patch passed

+1 :green_heart:
compile
1m 25s
the patch passed

+1 :green_heart:
javac
1m 25s
the patch passed

+1 :green_heart:
shadedjars
6m  2s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 53s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m  2s
hbase-hadoop-compat in the patch passed.

-1 :x:
unit
331m 20s
hbase-server in the patch failed.

362m 34s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5942

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 6b2bbfec02c9 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e5b581686d

Default Java
Eclipse Adoptium-17.0.10+7

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/artifact/yetus-jdk17-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/testReport/

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

modules
C: hbase-hadoop-compat hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 16s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 51s
master passed

+1 :green_heart:
compile
1m  4s
master passed

+1 :green_heart:
shadedjars
6m  4s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 28s
the patch passed

+1 :green_heart:
compile
1m 14s
the patch passed

+1 :green_heart:
javac
1m 14s
the patch passed

+1 :green_heart:
shadedjars
6m  1s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 38s
hbase-hadoop-compat in the patch passed.

-1 :x:
unit
354m 33s
hbase-server in the patch failed.

383m 38s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5942

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 6233723bd20d 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e5b581686d

Default Java
Temurin-1.8.0_352-b08

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/testReport/

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

modules
C: hbase-hadoop-compat hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5942/1/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

The test failures are existing issues and not related to this PR.


uproot pypi package includes "tests" folder

At the moment uproot's pypi package is 52 MB big:
https://files.pythonhosted.org/packages/c3/2a/aa66b8cc7ab19b6479895e758f89ba8321038f7fd6682d7dc9439c677b07/uproot-2.9.8.tar.gz (52.2MB)

This is mostly due to the tests folder (55.8 MB unpacked).
As I can see per setup.py, this should be excluded:
https://github.com/scikit-hep/uproot/blob/master/setup.py#L93
And indeed, when running
python setup.py sdist bdist_wheel

I end up with a file < 500 KB.
Is the current pypi package built in a different way?

I thought I was excluding the tests!
For my own reference, this might be a solution.
Wheels might unnecessarily limit the portability of the library. It's pure Python, so it should run anywhere with Python and Numpy, but making a wheel might label it with the platform of the machine that deploys it to PyPI (currently Travis/Linux). I don't want "pip install uproot" to wrongly say, you can't install this because you're using a Mac/Windows.
The actual deployment is handled by Travis, so I don't even have a commandline to edit. I'll have to figure out how to do this through Travis's YAML.

I made a clean AWS instance and tried installing uproot from scratch (with pip install). It downloads a 52.2 MB tar-gz package, then installs just under 1 MB of code. I tried it with Pythons 2 and 3, but the Python 3 re-used the tar-gz from the previous download.
So this is not an installation burden, it's just a big download (that gets cleared whenever pip cleans its cache). Is this still a problem? I'm going to look into convincing Travis to build wheels and a tar-gz, because we want to be sure that a tar-gz is available for non-mainstream cases.

Ah, no that is not a problem at all. Did not realise that the installed size is smaller than the downloaded tar-gz.

Okay, I think 59b23cc126b97460a2b20448280b0f44b4c98855 (uproot 2.9.9) did it: I've added
distributions: "sdist bdist_wheel --universal"

to .travis.yml. The --universal makes the wheel compatible with Pythons 2 and 3 (because it's pure Python) and there's still a source version in there as a backup. We see both the universal wheel and the tar-gz in uproot's files section on PyPI.
With another clean AWS instance, I can install from pip and get it downloads the 133 kB wheel (no tests directory inside of it) regardless of whether I do Python 2 or 3 first. After installing it for one, it doesn't have to re-download for the other Python version— this is truly a universal wheel. I think that takes care of it.
Even if it wasn't absolutely necessary, now users will have a snappier installation experience (0.1 MB download instead of 5.1 MB). That's always good.