First attempt at animation of features

Addresses #113
Here's a decent rendering of how the animation could work. It is draft status for now, since the code is sloppy. A few notes in this investigation.

In the database, a feature is designated to "animateTo" another feature, which has to exist (not enough error checking is added just yet)
The two features must be identical in coordinate length or the "animation" fails (not enough error checking is added just yet), and the coordinate order must be the same. This wasn't too hard with the KML editor, I just created one, saved it, then moved a subset of its coordinate points, then saved. Unfortunately the KML editor did strange things and didn't save them in the same order, so I hand-adjusted that. But I don't think it is too much to keep this constraint
I imagine the performance will be a direct function of how many coordinates and features are moving at a time. There is no noticeable lag with just this one feature per time period animating at a time. To reduce compute time it pre-determines which subset of coordinates change during the animation and only alters those.
It looked a little hokey without also animating the changes between label adjustments, so those are altered to. I.e. if the animateFrom label has rotation of -45, and the animateTo has 30, then throughout the time period of the "from" feature it moves through 75 degrees of rotation.

To see these "in action" I've prepared two demonstration vehicles:

label only: Olmec inhabitants from 1500BC to 400BC. To render, add these adjustments to the viewing URL: ?startdatestr=-1550&enddatestr=-300&curdatestr=-1500&lat=18.43&lon=-95.80&z=8.0
polygon and label: Roman incursion into modern Turkey from 44BC to 14AD. To render, add these adjustments to the viewing URL: ?startdatestr=-50&curdatestr=-44&enddatestr=20&lat=39.16&lon=34.66&z=6.0

Signed-off-by: Scott Johnson<EMAIL_ADDRESS>

This is a great first effort. Both examples worked well for me. This is going to be a really important feature for this platform.
Two points:

For the Roman Incursion example, how does the animation work if you have two adjacent regions dynamically changing over time? Does the movement of both regions look good? What about three or more adjacent features?

We know that the final state of the animation is influencing the shape of the intermediate region boundaries. This creates some odd intermediate boundary shapes that don't make sense (although, they're not that bad). For example, if you move to 02/08/0010 in the Roman Incursion, you will see a point that sticks out into the Black Sea at the northeast point of the incursion. This is an artifact of the final destination of the incursion which will end up swinging up the coast into Georgia by 01/01/0014.

A more "accurate" animation wouldn't extend out into the Black Sea as it dynamically moves over to its final destination, but would rather adhere to the coast and then finally move up the coast and around into Georgia as it nears the final date. To do this, we could take into account the location of all the points along all the coasts and insure that the animation never breaks through these coastal boundaries. This is no simple task. All the same, we would only have to identify these points once. Another option is to take into consideration the final boundaries of the region and insure that the intermediate boundaries never break outside of these final boundaries. Since the final boundaries have an understanding of the coastal borders, this would insure that the intermediate boundaries never "leak out" beyond the coasts.
Either way, these strategies would take additional computing power and perhaps impact performance to too great of an extent. Nevertheless, it's probably worthwhile to test these options out to see how they perform.

@warrenjp I've added a more complex set of animations here to show how they can work together. For best demonstration, add these modifiers:
?startdatestr=-15000:01:01&enddatestr=-6000:12:31&curdatestr=-15000:01:01&lat=58.82&lon=2.85&z=4.0
A couple of notes: a) the data is roughly accurate for the Magdalenian and Ahrsburg cultures, plus the icecaps. The Maglemosian is more a combination of guesswork and showing how to work "around corners". b) this introduces a new concept called a "geographical entity", in this case the icecaps. Related: c) the coastlines were quite different in the ice age due to much lower sea levels. To get this time period right we'd probably have to have a geographical entity for modified coastlines. Of course the "Phase N" solution would have these included beautifully rendered in the underlying tile.

Forgot to mention d) yes these features shouldn't be in ohmec_data_na.js. I'll spin them out to ohmec_data_eur.js and leave them shelved for a future time, after completing NA and Phase I.

OK, converting this from draft to real now that I've moved the prehistoric stuff out of ohmec_data_na.js (and into ohmec_data_eur.js which is just as if sitting on a shelf for now.) I'll update the documentation to describe animateTo now, then merge.

The documentation has been updated. I will merge this tomorrow.


[BUG] - Logger cannot compile

Describe the bug
TSError: ⨯ Unable to compile TypeScript:
index.ts:189:46 - error TS2322: Type 'Logger<{ timestamp: () => string; }>' is not assignable to type 'Logger | undefined'.
  Type 'Logger<{ timestamp: () => string; }>' is not assignable to type 'Logger'.
    Type 'Logger<{ timestamp: () => string; }>' is not assignable to type 'LoggerExtras<LoggerOptions>'.
      The types returned by 'child(...)' are incompatible between these types.
        Type 'Logger<{ timestamp: () => string; } & ChildOptions>' is not assignable to type 'Logger<LoggerOptions & ChildOptions>'.
          Type 'Logger<{ timestamp: () => string; } & ChildOptions>' is not assignable to type 'LoggerExtras<LoggerOptions & ChildOptions>'.
            The types returned by 'flush(...)' are incompatible between these types.
              Type 'void' is not assignable to type '() => void'.

189 const store = useStore ? makeInMemoryStore({ logger }) : undefined
                                                 ~~~~~~

  node_modules/@whiskeysockets/baileys/lib/Store/make-in-memory-store.d.ts:20:5
    20     logger?: Logger;
           ~~~~~~
    The expected type comes from property 'logger' which is declared here on type 'BaileysInMemoryStoreConfig'
index.ts:210:7 - error TS2322: Type 'Logger<{ timestamp: () => string; }>' is not assignable to type 'Logger | undefined'.

210       logger,
          ~~~~~~

  node_modules/@whiskeysockets/baileys/lib/Types/Socket.d.ts:37:5
    37     logger: Logger;
           ~~~~~~
    The expected type comes from property 'logger' which is declared here on type 'UserFacingSocketConfig'
index.ts:216:55 - error TS2345: Argument of type 'Logger<{ timestamp: () => string; }>' is not assignable to parameter of type 'Logger'.

216         keys: makeCacheableSignalKeyStore(state.keys, logger),
                                                          ~~~~~~
index.ts:353:21 - error TS2322: Type 'Logger<{ timestamp: () => string; }>' is not assignable to type 'Logger'.

353                     logger,
                        ~~~~~~

    at createTSError (C:\Users\Vendas\Documents\ApanBot\node_modules\ts-node\src\index.ts:859:12)
    at reportTSError (C:\Users\Vendas\Documents\ApanBot\node_modules\ts-node\src\index.ts:863:19)
    at getOutput (C:\Users\Vendas\Documents\ApanBot\node_modules\ts-node\src\index.ts:1077:36)
    at Object.compile (C:\Users\Vendas\Documents\ApanBot\node_modules\ts-node\src\index.ts:1433:41)
    at transformSource (C:\Users\Vendas\Documents\ApanBot\node_modules\ts-node\src\esm.ts:400:37)
    at C:\Users\Vendas\Documents\ApanBot\node_modules\ts-node\src\esm.ts:278:53
    at async addShortCircuitFlag (C:\Users\Vendas\Documents\ApanBot\node_modules\ts-node\src\esm.ts:409:15)
    at async nextLoad (node:internal/modules/esm/loader:163:22)
    at async ESMLoader.load (node:internal/modules/esm/loader:605:20)
    at async ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:11) {
  diagnosticCodes: [ 2322, 2322, 2345, 2322 ]

To Reproduce
in the code, I use, this way:
import P from "pino";
const pino = P.default;
export default pino({ timestamp: () => `,"time":"${new Date().toJSON()}"` });

//------------------------//

// @ts-ignore
import MAIN_LOGGER from "./utils/logger.ts";
const logger = MAIN_LOGGER.child({});
logger.level = "trace";
const store = useStore ? makeInMemoryStore({ logger }) : undefined
const socket = makeWASocket.default;
    const sock = socket({
      version,
      logger,
      printQRInTerminal: true,
      browser: ["Apan", "Safari", "3.0"],
      auth: {
        creds: state.creds,
        /** caching makes the store faster to send/recv messages */
        keys: makeCacheableSignalKeyStore(state.keys, logger),
      },
      getMessage: async (key) => {
        if (store) {
          const msg = await store.loadMessage(
            key.remoteJid!,
            key.id!,
          );
          return msg?.message || undefined;
        }
        return {
          conversation: "hello",
        };
      },
    });
    store?.bind(sock.ev);

It's important to say, the code worked previously, however, after mid-December, this error started, and I couldn't solve it anymore.
How can I solve this?

Hi, I have the same problem, and I can solve it by change pino version to the same of Baileys use.
I change my package.json to :
"pino": "^7.0.0",
I hope I was able to help :-)


bugfix(TDI-38342) : fix of filter table in azure input table

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-38342
What is the new behavior?
we use the defined schema of the component to populate column names in the expression table.
this fix the code generation in the studio.
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:

Pull request test result: success :star:


Could not find a declaration file for module

Describe the bug
Could not find a declaration file for module '@brazilian-utils/is-valid-cpf'. <EMAIL_ADDRESS>implicitly has an 'any' type.
  Try `npm install @types/brazilian-utils__is-valid-cpf` if it exists or add a new declaration (.d.ts) file containing `declare module '@brazilian-utils/is-valid-cpf';`ts(7016)

Same with
import isValidCnpj from '@brazilian-utils/is-valid-cnpj';
or
import { isValidCpf, isValidCnpj } from '@brazilian-utils/validators';

To Reproduce
Steps to reproduce the behavior:

npm install @brazilian-utils/is-valid-cpf --save
import isValidCpf from '@brazilian-utils/is-valid-cpf';
See error

Expected behavior
It should import with no problem

It seems there hasn't been a deploy since #38. I thought there would have been a types field in package.json pointing to a file that didn't exist, but the field itself is missing (https://unpkg.com/@brazilian-utils/is-valid-cnpj/package.json). Any idea of what happened? @hyanmandian @andreoav

I really don't know what happened :( but @andreoav started to rewrite the architecture ( #36) and this problem probably will solve with that rewrite.

try delete your node_modules folder and reinstall. to me worked normally. strange :/

hmm if you are using with typescript, i don't know if this library have a @types, configure your tsconfig.json to allow pass libraries without @types defined

we started working in refactoring of the entire project to solve issues like that, maybe in the next weeks we'll finish

Hey @hyanmandian, how do you think to solve this problem?

Just adding types property on package.json. Probably before I starting the refactoring of the entire project, I will publish a new version of each package with types

Hey, we publish our first RC of the next version of our package today :D.  Can you check if our typings are exported correctly?
https://www.npmjs.com/package/@brazilian-utils/brazilian-utils


AMQ::Protocol::EmptyResponseError: Empty response received from the server.

In Production, two workers are running and they process messages from four different queues. I'm constantly getting this error in one of the workers. And the error is getting repeated only for a particular queue. Rest of the queues are working normal.
Error Log:
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: Got an exception when receiving data: Connection reset by peer (Errno::ECONNRESET)
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: Exception in the reader loop: AMQ::Protocol::EmptyResponseError: Empty response received from the server.
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: Backtrace:
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: 	/home/deploy/websites/production/shared/bundle/ruby/2.3.0/gems/amq-protocol-2.0.1/lib/amq/protocol/frame.rb:60:in `decode_header'
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: 	/home/deploy/websites/production/shared/bundle/ruby/2.3.0/gems/bunny-2.2.2/lib/bunny/transport.rb:245:in `read_next_frame'
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: 	/home/deploy/websites/production/shared/bundle/ruby/2.3.0/gems/bunny-2.2.2/lib/bunny/reader_loop.rb:68:in `run_once'
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: 	/home/deploy/websites/production/shared/bundle/ruby/2.3.0/gems/bunny-2.2.2/lib/bunny/reader_loop.rb:35:in `block in run_loop'
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: 	/home/deploy/websites/production/shared/bundle/ruby/2.3.0/gems/bunny-2.2.2/lib/bunny/reader_loop.rb:32:in `loop'
2016-08-04T05:49:00Z p-31012 t-k4wz4 ERROR: 	/home/deploy/websites/production/shared/bundle/ruby/2.3.0/gems/bunny-2.2.2/lib/bunny/reader_loop.rb:32:in `run_loop'
2016-08-04T05:49:04Z p-31012 t-qvnfk WARN: Retrying connection on next host in line: <IP_ADDRESS>:5672
2016-08-04T05:49:04Z p-31012 t-qcazw WARN: Retrying connection on next host in line: <IP_ADDRESS>:5672
2016-08-04T05:49:04Z p-31012 t-qcazw INFO: Heartbeat interval used (in seconds): 2
2016-08-04T05:49:04Z p-31012 t-qvnfk INFO: Heartbeat interval used (in seconds): 2

Sneakers Config file
require 'sneakers'
require 'sneakers/handlers/maxretry'

num_workers = 2
num_threads = 5
num_prefetch = 5

Sneakers.configure( :amqp => ENV['RABBITMQ_URL'], handler: Sneakers::Handlers::Maxretry, daemonize: !Rails.env.development?,
                    pid_path: 'tmp/pids/sneakers.pid', log: 'log/sneakers.log',
                    :timeout_job_after => 30, :workers => num_workers, :threads => num_threads, :prefetch => num_prefetch )
Sneakers.logger.level = Logger::INFO

Gemfile.lock
    sneakers (2.3.5)
      bunny (~> 2.2.0)

RabbitMQ Version: 3.6.4
Log file: sneakers.txt

Connection reset by peer (Errno::ECONNRESET) is fairly self-explanatory: RabbitMQ or an intermediary (e.g. a proxy) closed TCP connection. See server logs for possible clues.

Actually one of the worker stopped working, but the other one continued to work.
And also, why did the worker hang and not recover at all?
Is there any relation between workers and queues? Why isn't the one functioning worker processing all queues?
And which server server logs should be checked for clues?
I'm attaching the RabbitMQ log file rabbitmq.txt. It says, client unexpectedly closed TCP connection

Increasing the RAM of the server fixed this issue.

There are only two server logs (and in future releases starting with 3.7.0, it will be just one).

This likely means your publishing connections were blocked by an alarm.


Script execution completed successfully, but it didn't.

When I run the script I get a message that says- Script execution completed successfully. The log details say This script did not make any changes.
It does this in under 5 seconds.
However, I have 42k ads and I know at least 1k have broken urls. I am not getting any email, or any errors when I run the script.
The only things I added in my script is my email for notify, and the access token. I figured if it was something I did wrong with the authentication I would get an error from that. Any sort of advice would be helpful, I have been looking for something like this for years, and that isn't an exaggeration.

@niners52 - Sorry we missed your message. I suggest please contact support for issues outside documentation.

I have reached out to support over a dozen times and they told me to come here.

@niners52 - Thanks for letting me know. It sounded like an account specific issue i.e., someone would need to check your account details. For general help with Bing Ads API and Scripts please use the advertising-api tag in the Q&A forum.
This repo is for documentation, but since you are here already I'm happy to restart the conversation. Can you please share more details about the script before and after your changes? Can you share the script without personal and confidential details..? If it turns out personal info is needed to investigate, then I'll refer you back to support again. (Please direct them to this conversation for context as needed.)

@niners52 - this looks like an issue in Google's OAuth Playground. I suggest that you contact Google support for that specific issue.


[SPARK-47986][CONNECT][FOLLOW-UP] Unable to create a new session when the default session is closed by the server

What changes were proposed in this pull request?

This is a Scala port of https://github.com/apache/spark/pull/46221 and https://github.com/apache/spark/pull/46435.
A client is unaware of a server restart or the server having closed the client until it receives an error. However, at this point, the client in unable to create a new session to the same connect endpoint, since the stale session is still recorded
as the active and default session.
With this change, when the server communicates that the session has changed via a GRPC error, the session and the respective client are marked as stale, thereby allowing a new default connection can be created via the session builder.
In some cases, particularly when running older versions of the Spark cluster (3.5), the error actually manifests as a mismatch in the observed server-side session id between calls. With this fix, we also capture this case and ensure that this case is
also handled.
Why are the changes needed?

Being unable to use getOrCreate() after an error is unacceptable and should be fixed.
Does this PR introduce any user-facing change?

No
How was this patch tested?

./build/sbt testOnly *SparkSessionE2ESuite
Was this patch authored or co-authored using generative AI tooling?

No

Looks fine but would be great to have looks from @nija-at and @juliuszsompolski

======================================================================
ERROR [3.579s]: test_crossvalidator_on_pipeline (pyspark.ml.tests.connect.test_connect_tuning.CrossValidatorTestsOnConnect.test_crossvalidator_on_pipeline)
----------------------------------------------------------------------

This failure really doesn't seem to be related to this change..

Merged to master.


Example DRep vote with a native script

https://github.com/user-attachments/assets/1340f4b1-06a1-4936-a076-2008094a8e9f


Fix useUpdate returned callback

This fix https://github.com/streamich/react-use/issues/463

:tada: This PR is included in version 12.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support window state for IP thermostats

For IP thermostats it's possible to get/set window state via WINDOW_STATE parameter to integrate them with 3rd party door/window sensors.
This pull request:

adds support for getting/setting WINDOW_STATE value like that:

device.get_window_state(int_value)
device.set_window_state() -> int_value

Thanks 👍


[ECS] Allow NoExtraBlankLinesFixer in PSR-12

Allow NoExtraBlankLinesFixer to be used in PSR-12.
Related to #1138

Seems like travis failed due to API rate limit exceeded.

Indeed, thanks for the PR :+1:


Cannot get to set Headers or Footers using pdfcallback function

Hi,
I am using the following code but can't seem to get the header or footer in the pdf, can anybody suggest plz what am i doing wrong? Thanks in advance,
function pdfCallback(pdfObject) {
   var number_of_pages = pdfObject.internal.getNumberOfPages()
    var pdf_pages = pdfObject.internal.pages
    var myFooter = "Footer info"
    for (var i = 1; i < pdf_pages.length; i++) {
        // We are telling our pdfObject that we are now working on this page
        pdfObject.setPage(i)
        // The 10,200 value is only for A4 landscape. You need to define your own for other page sizes
        pdfObject.text(myFooter, .1, .2)
        pdfObject.text("my header text", .1, .1);
    } }
function generatepdf(){ document.getElementById('preview').classList.add('hide');
var element = document.getElementById('element-to-print');
html2pdf(element, {
  margin:       .1,
  filename:     'Interview_Form.pdf',
  image:        { type: 'jpeg', quality: 0.98 },
  html2canvas:  { dpi: 192 },
  jsPDF:        { unit: 'in', format: 'A4', orientation: 'portrait', footer: 'a' },
  pdfCallback: pdfCallback
});
document.getElementById('preview').classList.add('show');
};

@eKoopmans
From all the examples it's clear that we can add normal text to the pdf (i.e. page number) but, is there any way we can provide the dynamic header content in the pdf.
For example, I want to repeat some specifically designed HTML headers and logo as a header on each page of the pdf so, is there any workaround for this?
Please help if we have any solutions for this. because most of the libraries are failing to do that on the client-side.

@Jigisha-sublime Do you got any solution?

@Jigisha-sublime Do you got any solution?

i have thead and tfoot in element so what to do to print that on every page of pdf

var element = document.getElementById('order-table');


[feature] Go to Manifest

Describe your idea
I hope Jadx can add a navigation button for "Go to Manifest", such as "Go to Main Activity". The reason is that analyzing the registration permissions and components in the Manifest is particularly important for Android projects. If Jadx could have such a navigation button, it would be faster and more convenient to perform, while also improving the user experience. Thank you to the author and all the maintainers for their consideration!

Added in https://github.com/skylot/jadx/pull/2296
Wait for the merge and enjoy!


Update WalkingTheHeap tutorial to latest API shape

Remaining questions:

The text about Committed should be likely updated.
Not sure if ClrHeap.EnumerateObjectAddresses should be rather replaced with example using EnumerateObject
Examples of GCHeapType.Enumerate should be likely replaced - not quite sure with what.

@leculver thanks for merging - any thoughts on the remaining questions above?


Fix broken --filter-trace-tc and --filter-trace-xdp

When I want to troubleshoot a network issue with --filter-trace-tc, it cannot to get the address of bpf prog.
After fixing --filter-trace-tc issue, I find it fails to run with --filter-trace-xdp too. So, I fix the broken --filter-trace-xdp BTW.
Signed-off-by: Leon Hwang<EMAIL_ADDRESS>

to show tag in case there are xdp/tc bpf with duplicate names.

Aha, previously, --filter-trace-{tc,xdp} does not care about the tag, and focuses on prog name only.
However, it's acceptable to show the raw ksym including tag for --filter-trace-{tc,xdp}.
I'll update the commit later.


Token is Expire error

Like the other person that logged it I am getting the following error 1-2 times a day and when it occurs it stops reporting data until I reload the integration.
It logs the below.
Any idea what is causing it?
Logger: alphaess.alphaess
Source: custom_components/alphaess/coordinator.py:30
Integration: Alpha ESS (documentation, issues)
First occurred: 1:46:51 PM (51 occurrences)
Last logged: 2:36:51 PM
200, message='Token is Expire', url=URL('https://cloud.alphaess.com/api/Account/RefreshToken')

I have the same problem.

Same error with me.

it has to do with the latest changes on the alphaess website. They made it harder to pull the data.

Same error here using v0.2.6 (latest). The component runs successfully for a while and then starts failing. Reloading the component sorts it out again for a while.

ah my bad. Then I haven't run into the "expire" you described as I just updated and the errors went away. Seems Charles needs to built in some sort of restart/renew into the module each x minutes and then it should work with doing what the module currently only does at the start.

Sorry probably my bad not handling the refresh tokens properly. Mines just stopped working today, don't know how it didn't break before. I'll have time to look at a fix tomorrow evening but reloading the integration will fix for now.
Tricky one to test properly without waiting 10 hours for the token to expire

Thanks to @matt-oneill again for the quick fix.  An updated release is now published.

Logger: homeassistant.setup
Source: setup.py:184
First occurred: 15:58:08 (1 occurrences)
Last logged: 15:58:08
Setup failed for custom integration alphaess: Requirements for alphaess not found: ['alphaess==0.0.13'].

Logger: homeassistant.util.package
Source: util/package.py:98
First occurred: 15:57:51 (3 occurrences)
Last logged: 15:58:08
Unable to install package alphaess==0.0.13: ERROR: Could not find a version that satisfies the requirement alphaess==0.0.13 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12) ERROR: No matching distribution found for alphaess==0.0.13

Sorry folks, that's my mistake.  I can fix it today.

integration alphaess: Requirements for alphaess not found: ['alphaess==0.0.13'].

I've published the missing version of the api library, a simple restart of home assistant should fix this problem now.

Got the error again last night, new pr sent to check for token expire message when refreshing the token

Yeah I also received the expiration again today.

I see Alpha Cloud has announced a new release on the 29th October.
"Platform security has been improved further, and multiple anti-crawling mechanisms have been added. After this update, please clear the browser cache and log into the system again if there is message that "Network anomaly, please try again later "
I assume this is going to cause havoc again :-(

I only got to see the message in chinese, so I assumed the worst

Maybe it is time that we as customers explain to alphaess to stop with this bs OR provide a fully working modprobeTCP implementation so that we do not need this plugin any longer. Prohibiting us to get our own data just feels wrong. I can understand that they do not want us to hammer there web service, but we would not have to if everything would be provided locally as a lot of others in the solar market do.
For instance I already asked them to feature complete modbusTCP in comparison to what we can get from the website but only got a polite "we will forward it to the Devs" which we all know can mean anything or nothing.

Maybe it is time that we as customers explain to alphaess to stop with this bs OR provide a fully working modprobeTCP implementation so that we do not need this plugin any longer. Prohibiting us to get our own data just feels wrong. I can understand that they do not want us to hammer there web service, but we would not have to if everything would be provided locally as a lot of others in the solar market do.
For instance I already asked them to feature complete modbusTCP in comparison to what we can get from the website but only got a polite "we will forward it to the Devs" which we all know can mean anything or nothing.

It seems very unlikely that a handful of customers scraping their API could actually be causing any website performance issues.  I don't have any insight into why AlphaESS are concerned about 3rd party use of their API or any other mechanism to gather local data but my cynicism is inclined to wonder if there's something else planned.  Maybe there is a plan to monetise the App and Website by adding adverts or something?

Its concerning as my whole home automation journey started with and is based around being able to obtain power and battery data. It pretty much renders the main parts of my HA system useless. I hope someone is smart enough or persistent enough to get a more permanent solution :/

Good point @CharlesGillanders . There must be some ulterior motive to their actions.
And I agree @Spookster, Everyone wants to optimise their solar consumption and HA is perfect for that but it needs to have the valid data from the solar system.
While I never got it to work for me, with them being such a pain with the API maybe we need to look at using the route of capturing the data being sent from the Inverter instead.
https://github.com/230delphi/hassio-addons/tree/main/alphaess-proxy-addon

I was in direct contact with UK Alpha technical support today and even though I asked, I wasn't able to get a straight answer about Alpha's supported and preferred way for endusers to integrate their systems into home automations systems. On the subject of other potential solutions, I recently found this: https://github.com/dxoverdy/Alpha2MQTT.

Looks like the update is happening.... good luck.....


Update lunar loader link

In the console, there are a bunch of 404 (Not Found) proxy service errors, which maybe comes from the fact that I am running from localhost instead of the hosted url of the stories? In any case, the image tiles are served with no problems. @Carifio24, please let us know if there is anything we need to do to address this.
https://worldwidetelescope.org/webserviceproxy.aspx?targeturl=https%3A%2F%2Fprojects.cosmicds.cfa.harvard.edu%2Fcds-website%2Fwwt-content%2FJWST-Brick-Annotation%2F2%2F3%2F3_0.png 404 (Not Found)

So I took a look at these 404s, and it looks like these pop up when WWT is looking for tiles that don't exist in our image. For example, in the error that you posted the target URL is https://projects.cosmicds.cfa.harvard.edu/cds-website/wwt-content/JWST-Brick-wostars/2/3/3_2.png, but that tile doesn't exist (see the 2 folder here).
I don't remember off the top of my head exactly how the tile indexing works, but my guess is that where that tile would be is blank on our image (the image is at a ~45 degree angle relative to the equator, so my guess is that this tile would be one of the corners). So I think this is fine.


Movie api change

Short description of what this resolves:
Changed the api source of movie.py module by using this website http://www.omdbapi.com
Changes proposed in this pull request:
modified movie.py and config.py

Fixes: #

Thank you for taking the time to contribute! This is sincerely appreciated. 😇
(Powered by GitMate.io)

Hey @ashranbakth, I see that there are 2 changes in this PR: movie and manga. Let's stick to 1 change per PR. 😅


[W5.11][T11-A2] Raymond Zheng

Added SortCommand that sorts names in alphabetical order. e.g. Albert comes before Betty. Albert comes before Azure.

@ashrafabdul yeah i think it would be better to have a SortCommandTest rather than the changes in addressbooktest.


Instead of constants, read the lists of truthy/falsey strings from env

And memoize those lists, since they can't change between invocations. Though it does make the specs somewhat gnarly (we need to de-memoize them for those tests).
The list of accepted strings is oddly contentious, and it's blocking adoption in places. Rather than battle out exactly which strings should be fuzzily acceptable as meaning which boolean values, we should just let them be supplied by the context. And if you're using this gem at all, you're probably happy to supply configuration via env. :-)
Despite the awkwardness of the resulting tests, I memoized the truthy_strings and falsey_strings methods - they shouldn't change during execution in a normal context, and they're substantial enough to be worth memoizing.

(This'll resolve #27)


Github Action - Check for broken links

Is your feature request related to a problem? Please describe.
Yes, I want to add a github action that is activated daily that will automatically check for broken links.
Describe the solution you'd like
A Github action yaml file created with a cron job that runs every day and checks for broken links in the repository
Describe alternatives you've considered
The only other alternative, which isn't ideal is to review every single link and that is just not feasible.

If its not taken, can you assign this to me ?

PR which resolves this issue - https://github.com/rcallaby/Learn-Git/pull/147


Unable to open 'Extension: Azure Data CLI': XHR failed.

Azure Data Studio Version: Version: 1.32.0 (user setup)
OS Version: Windows_NT x64 10.0.19043
Other info:
Commit: 4a45ba7cf20dd4129f1a08e5e776dfb33e3d1d1e
Date: 2021-08-16T18:08:28.086Z
VS Code: 1.56.0
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0

Steps to Reproduce:

Just installed the software and run it as an administrator
No matter which extension I install, similar error messages will be prompted
for example
3.1 Unable to open 'Extension: Azure Arc': XHR failed.
3.2 Unable to open 'Extension: Admin Pack for SQL Server': XHR failed.
3.x ......

 Yes
Does this issue occur when all extensions are disabled?: Yes/No

Are you able to download any of the VSIX's on this page? https://github.com/microsoft/azuredatastudio/wiki/List-of-Extensions
Generally the error you're seeing is a result of a firewall or other network issue blocking access to the storage account for the extensions. So make sure the network you're using allows access to those locations - if not then you'll have to download them somewhere else, copy over the VSIX's and install them manually.

Did you try the suggestions I made above to verify that you're able to reach the gallery storage account from your network?


Unexpected special characters used that look similar to the actual text

Some words in plain text use special characters which is not expected. Example: Artiﬁcial Intelligence should be Artificial Intelligence

My speculation is that the font used is causing this. One solution would be to increase font kerning. Is there are better approach?


judges-action#190: fix search_issues in Fbe::FakeOctokit

Need for https://github.com/zerocracy/judges-action/issues/190

@yegor256 please merge this pr

@rultor release, tag is 0.0.64

@rultor release, tag is 0.0.64

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.64

@yegor256 Done! FYI, the full log is here (took me 6min)

@Yegorov Great work on your contribution! 🌟 You've earned +4 points, bringing your balance to +439. While there's room for improvement in code review, comments, and hits-of-code, we appreciate your effort. Keep the contributions coming and strive for excellence in your next submission!


Add ability to abort a toolchain build or test operation

Description:
With this change, TCR now provides a way to interrupt a toolchain build or test command without waiting for it to complete.

From the CLI, this can be achieved through the a / A shortcut
From the webapp, this can be achieved through a button Abort Current Command located at the bottom of the TCR Console page

Impact on TCR behavior:

Aborting a build command execution implies that the build is considered as failed, thus tests are not executed and no file gets reverted
Aborting a test command execution implies that the tests are considered as failed, thus leading to reverting latest changes in production code

Fixes #694
Type of change
Please tick the appropriate option using [x]

[x] Bug fix
[x] New feature

Checklist:
Please tick the appropriate options using [x]

[x] My PR includes tests that cover my code changes.
[x] Lint and formatter run with no errors
[x] All new and old tests are passing

indeed. This is probably the case for most if not all of them.
I propose that we merge this PR, then I'll run a global update adding the copyright header in all TS files in one shot. WDYT?


Basic GitHub action deploying SAM stack.

The action I'm using is a little goofy -- doesn't always return the right error code, it seems.
But it works for now. GitHub is adding native SAM-CLI support soon:
https://github.com/actions/virtual-environments/issues/94

 Scope and create an AWS infrastructure PoC for automated ingestion.


MapTileError doesn't impl Error

I tried using ? to return from a function that returns an anyhow::Result<()> but it couldn't convert the Result because Error is not implemented.

👋 Hi, I went to PR a fix for this issue, but it looks like it's already been done as of 02da22aa.
cc @StarArawn I think this can be closed?

Yeah, that seems good to me. I haven't used it in a while so didn't notice it was fixed.


Localization

This pull request replaces #14 and includes more recent commits to the repo.
Work that still needs to be done before this can be merged:

Fixing some visual differences between this and master.
Fixing translations of updated questions (URGENT)
Some other assorted tweaks of the l10n system to make it easier to edit and update questions.

don't let the project die @gervasiocaj

don't let the project die @gervasiocaj

Hi, I made a Japanese translation.
(I'm a GitHub newbie, I hope this is an acceptable way to make a contribution...sorry in advance)
ja.zip

Hey @choux-kasa, that looks great! I'll look into adding these into my fork of the project to check it's all OK. In future I'd suggest learning to use git, because it makes the process a lot easier, but thanks for the translation.

Hello, popping out randomly; any way for the general public to assist the maintainers in getting this merged? :-)

Thank you for you nice, inclusive reply. I think I can manage git and GitHub, and the language I can translate is aready baked into this PR, so I was wondering what I could do to ease the path of this PR. I'll try to resolve merge conflicts :-)


fix(DetailView): Usage Requirements now wraps long text with no spaces #343

@clarkjefcoat @blaino

:+1:  This force wraps in the same way as What's New

So we want to cut words right in the middle?

This is the only reliable way to break super long strings that I could find. Though it is odd that it's wrapping words that could be brought to the next line, it's the only solution I could find that was compliant with all browsers
On Tue, Aug 25, 2015 at 10:08 AM, Blaine<EMAIL_ADDRESS>wrote:

So we want to cut words right in the middle?

Reply to this email directly or view it on GitHub:
https://github.com/ozone-development/ozp-center/pull/368#issuecomment-134597453

I'm guessing that a more subtle approach could be found and we should look for it, but this gets rid of immediate ugliness. :+1:


Don't recommend using an HTTP endpoint

Merge!

Hi, I merged the project to a new repo to start maintain it, I would be glad if you can put your pull request here : https://github.com/loprima-l/nuts-2


Update timeout in network_soundness test

This PR increases a timeout in the network_soundness test, in the expectation that a joining node will have time to sync leap after the initial syncing has completed if required.
Closes #3987.

Closed in favour of #4006


Error when property shapes refer to nonexisting property groups

This relates to https://github.com/psychoinformatics-de/shacl-vue/issues/14
The current code runs through all property shapes related to a specific node shape, and checks if they have a sh:group attribute and assigns the relevant sh:PropertyGroup name to a list of used property groups. For these to be useful, they need a sh:PropertyGroup node in the same graph. If these nodes aren't available, the current code errors out. This error should be handles and there should be a fallback so that the UI still renders.

This has been fixed AFAIK


[date-time-picker]:fix bug

1.no init data
2.click start time and comfirm
3.click end time and comfirm(the end time is not change)
4.error
reason:
not evaluate 'maxDate' value in step2
I will show more details in conversation
Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

点击开始时间 并且确定

点击结束时间并且确定，此时maxDate的值为null

然后就会报错
实际应该在开始变化时 若没有结束时间   则结束时间 = 开始时间


Question: Custom scale function

I have to display Weibull distribution plot as shown in the sample figure.
For Weibull distribution , formula for Y-Axis Scale is as:
ln(-ln(1-p))
where p=(i-0.3)/(n+0.4) and i is the rank of the observation. This scale is chosen in order to linearize the resulting plot for Weibull data. You can have a look at the Y Axis log scale as shown in the example graph below.
I tried standard scaleLog() but I need to customize the log function.
const y_scale = scaleLog().range([0, 100]);
Please guide for a solution.

It's Dec. 2022 now, how do you solve this problem？


Incorrect result with cblas_dgemv vs reference netlib and other libraries

We recently switched to testing openBLAS on a project and are noticing some test case failures due to a matrix multiplication operation returning an incorrect result.
This issue has been observed on a variety of platforms (Ubuntu 22.04, RHEL7, RHEL9, MSYS2 mingw), a variety of compilers (clang-15, mingw-13, gcc-12, gcc-11, gcc-9), as well as a variety of openblas versions(0.3.3, 0.3.20, 0.3.21, 0.3.24), and a variety of CPUs:

Intel(R) Xeon(R) CPU E5-4650 0 @ 2.70GHz
Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz
Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz   2.59 GHz

Reproduction
I have attached a minimally reproducible example (in C++) showing the problem
Reproduction Code
#include <cblas.h>

#include <cassert>
#include <iostream>
#include <fstream>

constexpr static size_t size = 16;

void get_values(double* A, double* b, const char* binfile) {
    std::fstream binaryReader;
    binaryReader.open(binfile, std::ios::in | std::ios::binary);
    assert(binaryReader.is_open());

    for (size_t i = 0; i < (size * size); i++) {
        binaryReader.read(reinterpret_cast<char *>(&A[i]), sizeof(double));
    }

    for (size_t i = 0; i < size; i++) {
        binaryReader.read(reinterpret_cast<char *>(&b[i]), sizeof(double));
    }
}

void matrixMultiply(const double* A, const double* b, double* c) {
    const size_t N = size;
    for (size_t i = 0; i < N; ++i) {
        for (size_t j = 0; j < N; ++j){
            c[i] += A[ (i * N) + j] * b[j];
        }
    }
}

void CBlasMatrixMultiply(const double* a, const double* b, double* c){
    int32_t M = size;
    int32_t N = size;
    cblas_dgemv(CblasRowMajor,
                CblasNoTrans,
                M, N,
                1.0, a, N,
                b, 1,
                1.0, c, 1);
}

int main(int argc, char* argv[]) {
    auto* A = new double[256]();
    auto* b = new double[16]();

    const char* binfile = argc > 1 ? argv[1] : BIN_FILE;
    get_values(A, b, binfile);

    auto* c_blas = new double[16]();
    CBlasMatrixMultiply(A, b, c_blas);

    auto *c_mat = new double[16]();
    matrixMultiply(A, b, c_mat);

    printf("           BLAS                         MAT\n");
    for (size_t i = 0; i < size; i++) {
        printf("%0.18e\t%0.18e\n", c_blas[i], c_mat[i]);
    }

    // dot product?
    auto c_ddot = cblas_ddot(size, A + (size * 15), 1, b, 1);
    printf("ddot: %0.18e\n", c_ddot);
    printf("dgemv: %0.18e\n", c_blas[15]);
    printf("ddot == dgemv? %s\n", c_ddot == c_blas[15] ? "YES" : "NO");
    printf("dgemv is 0.0? %s\n", c_blas[15] == 0.0 ? "YES" : "NO");

    delete[] A;
    delete[] b;
    delete[] c_blas;
    delete[] c_mat;

    return 0;
}

Compile this code with:
g++ -o blas_test blas_test.cpp -DBIN_FILE=\"path/to/bin\" $(pkg-config --libs --cflags openblas)

And observe the following output:
OpenBLAS result
           BLAS                         MAT
1.175201193643801378e+00        1.175201193643801822e+00
1.103638323514327002e+00        1.103638323514327224e+00
3.578143506473725477e-01        3.578143506473724922e-01
7.045563366848892062e-02        7.045563366848883735e-02
9.965128148869371871e-03        9.965128148869309421e-03
1.099586127207577424e-03        1.099586127207556390e-03
9.945433911373591229e-05        9.945433911360671605e-05
7.620541308983597162e-06        7.620541308896932986e-06
5.064719745540013918e-07        5.064719744437437483e-07
2.971814122565419325e-08        2.971814140421127963e-08
1.560886642160141946e-09        1.560886564391797127e-09
7.419920233786569952e-11        7.419902813631537848e-11
3.221201083647429186e-12        3.221406076314455686e-12
1.292299600663682213e-13        1.289813102624490508e-13
4.440892098500626162e-15        4.440892098500626162e-15
0.000000000000000000e+00        -4.440892098500626162e-16
ddot: 0.000000000000000000e+00
dgemv: 0.000000000000000000e+00
ddot == dgemv? YES
dgemv is 0.0? YES

It is worth noting that only the last value is different outside of acceptable numerical precision, and that every other value passes within 1e-16. Furthermore, a value of exactly 0.0 is, in itself, suspicious, as there's no real circumstance the value could be that.
Change the compile command to:
# cblas here is netlib
g++ -o blas_test blas_test.cpp -DBIN_FILE=\"path/to/bin\" $(pkg-config --libs --cflags cblas)

and observe this result:
netlib result
           BLAS                         MAT
1.175201193643801822e+00        1.175201193643801822e+00
1.103638323514327224e+00        1.103638323514327224e+00
3.578143506473724922e-01        3.578143506473724922e-01
7.045563366848883735e-02        7.045563366848883735e-02
9.965128148869309421e-03        9.965128148869309421e-03
1.099586127207556390e-03        1.099586127207556390e-03
9.945433911360671605e-05        9.945433911360671605e-05
7.620541308896932986e-06        7.620541308896932986e-06
5.064719744437437483e-07        5.064719744437437483e-07
2.971814140421127963e-08        2.971814140421127963e-08
1.560886564391797127e-09        1.560886564391797127e-09
7.419902813631537848e-11        7.419902813631537848e-11
3.221406076314455686e-12        3.221406076314455686e-12
1.289813102624490508e-13        1.289813102624490508e-13
4.440892098500626162e-15        4.440892098500626162e-15
-4.440892098500626162e-16       -4.440892098500626162e-16
ddot: -4.440892098500626162e-16
dgemv: -4.440892098500626162e-16
ddot == dgemv? YES
dgemv is 0.0? NO

Here is the binary file that contains a 16x16 matrix and a 16x1 vector:
(NOTE: This is a binary data file, extension changed to make github happy)
reproduction.txt
Other Notes
We have done extensive testing in other BLAS-like environments to get a result close to the expected -4e-16 result, which passes our test. Both MATLAB (2023a) and numpy (1.26 w/ MKL) return a result very close to what we expect, and pass our test. And, obviously, our naive matrix multiplication in the reproduction code gives
The matrix in question is not overly ill-conditioned, it has a condition number of ~10.

Somewhat surprising as the three cpu generations would be using different optimized implementations of the GEMV BLAS kernel

On first glance this appears to be some FMA-related effect from letting the compiler use AVX instructions - it is possible to obtain the netlib result by building for TARGET=GENERIC, but if I reconfigure any TARGET to use the same unoptimized, plain-C GEMV kernel without changing the compiler options in Makefile.x86_64, I end up with an "intermediate" result,
although there is no other BLAS function in the call graph. (Unfortunately removing -mavx breaks some code that uses intrinsics, so it will take more time to confirm that suspicion - later.)

It is one bit of precision off, very normal occurrence computing in different order.

I don't think that's right, this is roughly -2 ^ -51, and machine precision should be 2 ^ -53.  Even if that is "one bit off", the result is exactly 0.0. Surely that's a bug.
If you do:
auto* c_blas = new double[16]();
c_blas[15] = 1.0e-18;
CBlasMatrixMultiply(A, b, c_blas);
printf("%s", c_blas[15] == 1.0e-18 ? "YES ": "NO");

Then it will return YES. It's not even changing the value. Our initial thought was that this was some sort of memory alignment issue due to the matrix size. We couldn't fix it with manual alignment to 8 bytes though.

You abuse machine rounding precision 32 times (or 16 with FMA) , discount 5 bits in your check.
It is not magic symbolic computation soup that gives accurate poly result each time.

I do not expect an identical result, but this result is exactly the starting value of c_blas[15], every time, for every value. 32 (or 16) floating point operations and they all cancel out? Every time? For any starting value? Exactly? On multiple CPUs? This is the puzzle here, not why it's not exactly matching netlib/MKL.

It is rounding to output precision to store in a register at every 1 or 2 FLOP-s 50% up 50% down and so lottery continues till the end of computation. Yes, workload splitting affects result.

just a guess that intel uses generic code for small inputs, then gradually jumps to vector code and adds CPU threads as samples grow. Openblas uses vector code always and switxhes to all cpus at one point.

There appears to be loss of precision in the AVX2 "microkernel" used for Haswell and newer due to operand size limitations in the instruction set. Certainly not ideal, but not a catastrophic failure either (which would certainly have shown up in testsuites during the almost ten years this code has been in place)

I can't understand this conclusion given that I can reproduce this with an OPENBLAS_CORETYPE env that doesn't seem to use AVX2. Am I misunderstanding what this env does? Is AVX2 always checked even when an older CPU is manually set?
Here's what I'm testing on:
lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         43 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  6
  On-line CPU(s) list:   0-5
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz
    CPU family:          6
    Model:               85
    Thread(s) per core:  1
    Core(s) per socket:  1
    Socket(s):           6
    Stepping:            0
    BogoMIPS:            5786.40
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mc
                         a cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall n
                         x pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtop
                         ology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni
                          pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic mov
                         be popcnt tsc_deadline_timer aes xsave avx f16c rdrand
                         hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti
                          ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 sme
                         p bmi2 invpcid avx512f avx512dq rdseed adx smap clflush
                         opt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xsa
                         ves arat pku ospke md_clear flush_l1d arch_capabilities
Virtualization features:
  Hypervisor vendor:     VMware
  Virtualization type:   full
Caches (sum of all):
  L1d:                   192 KiB (6 instances)
  L1i:                   192 KiB (6 instances)
  L2:                    6 MiB (6 instances)
  L3:                    132 MiB (6 instances)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-5
Vulnerabilities:
  Gather data sampling:  Unknown: Dependent on hypervisor status
  Itlb multihit:         KVM: Mitigation: VMX unsupported
  L1tf:                  Mitigation; PTE Inversion
  Mds:                   Mitigation; Clear CPU buffers; SMT Host state unknown
  Meltdown:              Mitigation; PTI
  Mmio stale data:       Mitigation; Clear CPU buffers; SMT Host state unknown
  Retbleed:              Mitigation; IBRS
  Spec rstack overflow:  Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer
                          sanitization
  Spectre v2:            Mitigation; IBRS, IBPB conditional, STIBP disabled, RSB
                          filling, PBRSB-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected

This is on Ubuntu 22.04, with the libopenblas-pthread-dev package.
I'm using OPENBLAS_VERBOSE=5 to print the core type at the top
OPENBLAS_CORETYPE=Nehalem (No AVX2)
Core: Nehalem
           BLAS                         MAT
1.175201193643801378e+00        1.175201193643801822e+00
1.103638323514327002e+00        1.103638323514327224e+00
3.578143506473726032e-01        3.578143506473724922e-01
7.045563366848886511e-02        7.045563366848883735e-02
9.965128148869364932e-03        9.965128148869309421e-03
1.099586127207521913e-03        1.099586127207556390e-03
9.945433911356243994e-05        9.945433911360671605e-05
7.620541308817063708e-06        7.620541308896932986e-06
5.064719744429790893e-07        5.064719744437437483e-07
2.971814136443207133e-08        2.971814140421127963e-08
1.560886614404566330e-09        1.560886564391797127e-09
7.419920233786569952e-11        7.419902813631537848e-11
3.221423128252354218e-12        3.221406076314455686e-12
1.287858708565181587e-13        1.289813102624490508e-13
4.440892098500626162e-15        4.440892098500626162e-15
0.000000000000000000e+00        -4.440892098500626162e-16
ddot: 0.000000000000000000e+00
dgemv: 0.000000000000000000e+00
ddot == dgemv? YES
dgemv is 0.0? YES

OPENBLAS_CORETYPE=SandyBridge (No AVX2)
Core: Sandybridge
           BLAS                         MAT
1.175201193643801378e+00        1.175201193643801822e+00
1.103638323514327002e+00        1.103638323514327224e+00
3.578143506473726032e-01        3.578143506473724922e-01
7.045563366848886511e-02        7.045563366848883735e-02
9.965128148869364932e-03        9.965128148869309421e-03
1.099586127207521913e-03        1.099586127207556390e-03
9.945433911356243994e-05        9.945433911360671605e-05
7.620541308817063708e-06        7.620541308896932986e-06
5.064719744429790893e-07        5.064719744437437483e-07
2.971814136443207133e-08        2.971814140421127963e-08
1.560886614404566330e-09        1.560886564391797127e-09
7.419920233786569952e-11        7.419902813631537848e-11
3.221423128252354218e-12        3.221406076314455686e-12
1.287858708565181587e-13        1.289813102624490508e-13
4.440892098500626162e-15        4.440892098500626162e-15
0.000000000000000000e+00        -4.440892098500626162e-16
ddot: 0.000000000000000000e+00
dgemv: 0.000000000000000000e+00
ddot == dgemv? YES
dgemv is 0.0? YES

OPENBLAS_CORETYPE=Haswell
Core: Haswell
           BLAS                         MAT
1.175201193643801378e+00        1.175201193643801822e+00
1.103638323514327002e+00        1.103638323514327224e+00
3.578143506473725477e-01        3.578143506473724922e-01
7.045563366848892062e-02        7.045563366848883735e-02
9.965128148869371871e-03        9.965128148869309421e-03
1.099586127207577424e-03        1.099586127207556390e-03
9.945433911373591229e-05        9.945433911360671605e-05
7.620541308983597162e-06        7.620541308896932986e-06
5.064719745540013918e-07        5.064719744437437483e-07
2.971814122565419325e-08        2.971814140421127963e-08
1.560886642160141946e-09        1.560886564391797127e-09
7.419920233786569952e-11        7.419902813631537848e-11
3.221201083647429186e-12        3.221406076314455686e-12
1.292299600663682213e-13        1.289813102624490508e-13
4.440892098500626162e-15        4.440892098500626162e-15
0.000000000000000000e+00        -4.440892098500626162e-16
ddot: 0.000000000000000000e+00
dgemv: 0.000000000000000000e+00
ddot == dgemv? YES
dgemv is 0.0? YES

OPENBLAS_CORETYPE=SkylakeX (AVX512)
Core: SkylakeX
           BLAS                         MAT
1.175201193643801378e+00        1.175201193643801822e+00
1.103638323514327002e+00        1.103638323514327224e+00
3.578143506473725477e-01        3.578143506473724922e-01
7.045563366848892062e-02        7.045563366848883735e-02
9.965128148869371871e-03        9.965128148869309421e-03
1.099586127207577424e-03        1.099586127207556390e-03
9.945433911373591229e-05        9.945433911360671605e-05
7.620541308983597162e-06        7.620541308896932986e-06
5.064719745540013918e-07        5.064719744437437483e-07
2.971814122565419325e-08        2.971814140421127963e-08
1.560886642160141946e-09        1.560886564391797127e-09
7.419920233786569952e-11        7.419902813631537848e-11
3.221201083647429186e-12        3.221406076314455686e-12
1.292299600663682213e-13        1.289813102624490508e-13
4.440892098500626162e-15        4.440892098500626162e-15
0.000000000000000000e+00        -4.440892098500626162e-16
ddot: -8.881784197001252323e-16
dgemv: 0.000000000000000000e+00
ddot == dgemv? NO
dgemv is 0.0? YES

In my testing, I'm seeing that neither AVX2 or AVX matters, as Nehalem and SandyBridge give identical results. AVX2 on Haswell gives a slightly different result but one that's well within machine precision. The biggest difference I see is with SkylakeX and, presumably, AVX512 giving a different result for ddot only. This value is "correct" to us as it is within our test case, and matches very closely to what other BLAS libraries give.
Please help me understand how the AVX2 microkernel is the issue here. If OPENBLAS_CORETYPE does not actually control this, does OpenBLAS provide a way to disable AVX2 at runtime?

It will fall back to older compute kernels if you do not have AVX2 in CPUID.
The difference is 1-2 youngest bits of significand and is expected. If you want same result always you have to use unoptimized netlib build.

The issue here is actually really simple. OpenBLAS for gemv isn't using FMA which would also be faster.

The issue here is actually really simple. OpenBLAS for gemv isn't using FMA which

I don't think it is that simple, unless you meant to write "the reference BLAS isn't using FMA" which is trivially true. The OpenBLAS GEMV kernels for the cpus mentioned here all use FMA instructions, the question is if they could/should be rewritten to minimize the difference seen in that particular case.

hmm. If OpenBLAS GEMV is using fma, what order is it running to match the naive loop without FMA's results? I saw that the results were the results of the obvious algorithm and assumed from there.


Convert Redux to Kirki

Currently using Redux in a theme, is there an easy way to convert to Kirki?

As someone who just converted 13 themes the last week from OptionTree to Kirki, I don't think there is an easy way, or well, that depends on what you think is easy.
What I did:

Rewrote all theme options in Kirki manually to the same IDs as I had in OptionTree
Ran a replace-all ot_get_option with get_theme_mod in the theme dir
Fixed all get_theme_mod functions in templates to have a default value where needed

It took me 2-3 hours per theme I think, feels good to be done with it.

Ok that's what I needed to know.  I appreciate the feedback, guess I will get started on this conversion.


[FragmentProgram] fromAsset unconsistent errors on unsupported (web-html and web-canvaskit)

FragmentProgram.fromAsset, being currently on implementation in both web renderers, throw errors outside of expected scope.
Steps to Reproduce

Execute flutter run on the code sample, on canvaskit, on html, and on any other platform

Expected results:

Every platform would throw an error in the promise code, they would print:
error on future: $error

Actual results:
On web html renderer, the loader future worked without any problems, and throwed while tryng to generate the shader with program.fragmentShader()
On web canvaskit renderer, it throwed an error while creating the Future returned by fromAsset, not on the catch for the future, on the creation.

Code sample
import 'dart:ui';

void main() async {
  // canvaskit renderer throws an uncaught (in promise) exception here
  final load = FragmentProgram.fromAsset('not-existant.glsl');
  final fp = await load.then(
    (FragmentProgram fp) {
      print('loaded fine');
      return fp;
    },
  ).catchError(
    // desktop, mobile lands here, as expected (non-existant asset).
    (error, stackTrace) {
      print('error on future: $error');
    },
  );

  // html renderer throws here, even when the asset doesn't even exists
  fp.fragmentShader();
}

Logs
canvaskit
errors.dart:288 Uncaught (in promise) Error: Exception: FragmentProgram is not supported.
    at Object.throw_ [as throw] (errors.dart:288:49)
    at _engine.CanvasKitRenderer.new.createFragmentProgram (renderer.dart:366:7)
    at FragmentProgram.fromAsset (painting.dart:812:28)
    at main (main.dart:5:32)
    at main.next (<anonymous>)
    at runBody (async_patch.dart:84:54)
    at Object._async [as async] (async_patch.dart:123:5)
    at main$ (main.dart:3:10)
    at web_entrypoint.dart:24:31
    at Object._checkAndCall (operations.dart:367:37)
    at Object.dcall (operations.dart:372:39)
    at initialization.dart:77:15
    at Generator.next (<anonymous>)
    at async_patch.dart:45:50
    at _RootZone.runUnary (zone.dart:1660:54)
    at _FutureListener.thenAwait.handleValue (future_impl.dart:147:18)
    at handleValueCallback (future_impl.dart:767:44)
    at _Future._propagateToListeners (future_impl.dart:796:13)
    at [_completeWithValue] (future_impl.dart:567:5)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:640:7)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:177:15

html
loaded fine

errors.dart:288 Uncaught (in promise) Error: Unsupported operation: FragmentProgram is not supported for the HTML renderer.
    at Object.throw_ [as throw] (errors.dart:288:49)
    at _engine.HtmlFragmentProgram.new.fragmentShader (painting.dart:293:5)
    at main (main.dart:19:5)
    at main.next (<anonymous>)
    at async_patch.dart:45:50
    at _RootZone.runUnary (zone.dart:1660:54)
    at _FutureListener.thenAwait.handleValue (future_impl.dart:147:18)
    at handleValueCallback (future_impl.dart:767:44)
    at _Future._propagateToListeners (future_impl.dart:796:13)
    at [_completeWithValue] (future_impl.dart:567:5)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:640:7)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:177:15

desktop, mobile
flutter: error on future: Exception: Asset 'not-existant.glsl' not found

doctor
[✓] Flutter (Channel master, 3.7.0-10.0.pre.46, on Ubuntu 22.10 5.19.0-26-generic, locale en_US.UTF-8)
    • Flutter version 3.7.0-10.0.pre.46 on channel master at /home/bri/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 420c6d6cc8 (3 days ago), 2022-12-19 08:44:36 -0500
    • Engine revision 58ab5277a7
    • Dart version 3.0.0 (build 3.0.0-35.0.dev)
    • DevTools version 2.20.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /home/bri/Android/Sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: /home/bri/app/android-studio/jre/bin/java
    • Java version Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 15.0.2-1
    • cmake version 3.24.2
    • ninja version 1.11.0
    • pkg-config version 0.29.2

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/bri/app/android-studio
    • Flutter plugin version 70.2.2
    • Dart plugin version 212.5744
    • Java version Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)

[✓] VS Code (version 1.72.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.54.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.10 5.19.0-26-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Linked to #114121

@BrianCraig I think this issue should be aggregated to #114121 for better support there since canvaskit hasn't been supported yet. So I would suggest you add a comment there with detailed information as above and then we will update the corresponding labels.

Hi @huycozy!
As you said, i commented it to jonahwilliams in https://github.com/flutter/flutter/issues/114121#issuecomment-1363795121
As the canvaskit output probably would be decided from that comment (may not be necesary due to the feature being shipped faster), what do you think of the html renderer? That is clearly out of scope for the time being, should we tag this issue to the canvaskit renderer and make another separate for the html renderer? I didn't found a issue to "ship FragmentProgram to html renderer", and comment in it.
Thanks, Brian

@BrianCraig thanks for your update.
Keeping this open as a web issue in general (for both html and canvaskit) for further insights from the team. The issue is reproducible on the latest master channel.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.3.10 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (13 hours ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[!] Flutter (Channel master, 3.7.0-13.0.pre.51, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.0-13.0.pre.51 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6441a7dc62 (64 minutes ago), 2022-12-22 20:38:18 -0500
    • Engine revision 12badb5459
    • Dart version 3.0.0 (build 3.0.0-60.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.74.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Copying the triage from #114121, so this is taken into account when implementing the feature. cc @jonahwilliams for extra awareness.
(PS: unlikely that this will work in the HTML renderer, though!)

(PS: unlikely that this will work in the HTML renderer, though!)

@ditman thank you,
I don't know if this would be implemented in HTML renderer, but it's important to have a consistent strategy for cases where the FragmentProgram is not available (example rendering another Widget instead).
Thanks, brian

Fixed via https://github.com/flutter/engine/pull/38832

@BrianCraig FYI its not possible to implement support for this API in the HTML renderer


reverted major bump version on generic sql

Related Content Pull Request
Related PR: https://github.com/demisto/content/pull/28944
Related Issues
https://jira-hq.paloaltonetworks.local/browse/XSUP-24414
Description
changed the sql alchemy version as the 2.x.x  ones introduced breaking changes

@yucohen can we just force the PR? Whoever works on this integration next should update the code

@yucohen Did you test the docker image? Does it work as expected?

@JudahSchwartz  @Shellyber Closing this, we will update the integration to work with the new docker image


Site suggestion

Submitter: Danielle Barnes
Austin Design Week
http://austindesignweek.org/
November 6 - 10, 2017

Added.  Thanks!


[AMBARI-24529] Add unit tests for centralized configs logic

How was this patch tested?
21800 passing (33s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3730/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3731/
Test PASSed.


Added block based versions of 'map' and 'flatMap'

Hi there,
I love the idea behind the Result enum in LlamaKit! I am currently writing a Swift wrapper for a web API, and naturally I have a lot of asynchronous stuff.
So I figured why not have block based versions of map and flatMap?
It works similar to the 'return'-based versions, but are used like:

  // Method that already calls a block with a Result (needs 'flat' mapping)
  func stringToInt(input: String, completion: (Result) -> Void) {
    if let intValue = input.toInt() {
      completion(success(intValue))
    }
    else {
      completion(failure(self.err))
    }
  }

  // Method that always calls a block with a value
  func intToString(input: Int, completion: String -> Void) {
    let stringValue = "\(input)"
    completion(stringValue)
  }

  // Any number of block calls may be 'chained' as follows:
  func testBlockMap() {
    let r: Result = success("42")
    r.flatMap(self.stringToInt) { r in
      r.map(self.intToString) { r in
        r.flatMap(self.stringToInt) { r in
          r.map(self.intToString) { r in
            XCTAssertEqual(r.value!, "42")
          }
        }
      }
    }
  }

Is this something you would consider adding to LlamaKit?
Sincerely,
/morten

Accidentally added a second commit to this branch. Will branch out and create the pull request from new.


Using the annotation ipam.spidernet.io/ippool-reclaim: "false", when deleting the thrid-party application,  Error in reclaim ippool symbol

Describe the version
version about:

spiderpool v0.4.1

Describe the bug
Using the annotation ipam.spidernet.io/ippool-reclaim: "false", when deleting the thrid-party application,  Error in reclaim ippool symbol
How To Reproduce

Create an application, using annotations ipam.spidernet.io/ippool-reclaim and  ipam.spidernet.io/subnet，yaml is as follows：

apiVersion: apps/v1
kind: CloneSet
metadata:
  name: test-app
  namespace: ns618-209985065
spec:
  template:
    metadata:
      annotations:
        ipam.spidernet.io/ippool-reclaim: "false"
        ipam.spidernet.io/subnet: '{"ipv4":["v4-ss-619-276805207"],"ipv6":["v6-ss-619-348758270"]}'
      labels:
        app: test-app

View ippool and subnet

~# kubectl get sp
NAME                        VERSION   SUBNET                    ALLOCATED-IP-COUNT   TOTAL-IP-COUNT   DEFAULT   DISABLE
auto4-test-app-eth0-eccf8   4         <IP_ADDRESS>/24            1                    1                false     false
auto6-test-app-eth0-eccf8   6         fd00:f70c::/120           1                    1                false     false

~# kubectl get ss
NAME                  VERSION   SUBNET                    ALLOCATED-IP-COUNT   TOTAL-IP-COUNT
v4-ss-619-276805207   4         <IP_ADDRESS>/24            1                    10
v6-ss-619-348758270   6         fd00:f70c::/120           1                    10

Delete the application directly

~# kubectl delete deploy -n ns618-209985065   test-app
deployment.apps "test-app" deleted

After deleting the application, it is found that the subnet and ippool have been deleted.

Expected behavior
Use the annotation ipam.spidernet.io/ippool-reclaim: "false", to remove the application, the automatic pool should be preserved

#1746


WireFrame/Story Board

Create a framework for the page with a layout

Create a framework for the page with a layout

Think we have a reasonable idea of the layout so far, I'm going to leave this open for now though until everything is nailed down.


T265 not recognized on ros melodic distribution through vm (Win10 host/Ubuntu 18.04 guest)

Required Info

Camera Model
T265

Operating System & Version
ROS melodic on ubuntu 18.04 vm (virtual box) and windows 10 host

Issue Description
Hello everyone, I have a T265 and I want to use it with through the ROS distribution for ubuntu. I run the roslaunch realsense2_camera demo_t265.launch command and I get the following error:  06/04 16:34:36,364 WARNING [140298276890368] (messenger-libusb.cpp:66) bulk_transfer returned error, endpoint: 0x1, error: No data available, err. num: 61  06/04 16:34:36,364 ERROR [140298276890368] (tm-boot.h:39) Error booting T265 [ WARN] [1617716078.372700716]: No RealSense devices were found!
So far I've found that there might be an issue between the host and guest system and usb devices. The host system (Windows 10) recognize the T265 as Movidius MA2X5X and not as T265 so as a consequence, I think, the guest (Ubuntu 18.04 through VirtualBox) cannot recognize the camera and it only sees the Movidius, I do not know if I am correct but I do not know where exactly is the problem or how to solve it, any ideas are welcome..!

VirtualBox cannot handle the camera connected through the usb port, VM's are generally not supported, as I understood from realsense, it is suggested by another post to use VMware if this the path you want to go to.


Some tesseract language packages are not available

Environment

Tesseract Version: tesseract 4.0.0-beta.4-50-g07acc
leptonica-1.76.0
libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.4 : libopenjp2 2.3.0
Found AVX2
Found AVX
Found SSE
Platform: Ubuntu 18.04

Current Behavior:
E: Unable to locate package tesseract-ocr-chi_sim
E: Unable to locate package tesseract-ocr-chi_tra
E: Unable to locate package tesseract-ocr-equ
E: Package 'tesseract-ocr-kur' has no installation candidate
E: Unable to locate package tesseract-ocr-tgl
Expected Behavior:
Language packages are installed using apt-get install

@AlexanderP Please advise.

We did not created this packages - you should consult directly problem with Ubuntu support.

The correct package names are tesseract-ocr-chi-sim and tesseract-ocr-chi-tra.
tesseract-ocr-equ and tesseract-ocr-tgl were only available for Tesseract 3.0x.
Ubuntu bionic has tesseract-ocr-kur-ara.
Use https://packages.ubuntu.com/ to search for other packages


Add "always" props using new Inertia::always() wrapper

Introduce Inertia::always() wrapper to replace the current persistent props implementation.
return [
    'flash' => Inertia::always(session('flash')),
];

Lazy data evaluation behavior:
return Inertia::render('Users/Index', [
    // ALWAYS included on first visit...
    // OPTIONALLY included on partial reloads...
    // ALWAYS evaluated...
    'users' => User::get(),

    // ALWAYS included on first visit...
    // OPTIONALLY included on partial reloads...
    // ONLY evaluated when needed...
    'users' => fn () => User::get(),

    // NEVER included on first visit...
    // OPTIONALLY included on partial reloads...
    // ONLY evaluated when needed...
    'users' => Inertia::lazy(fn () => User::get()),

    // ALWAYS included on first visit...
    // ALWAYS included on partial reloads...
    // ALWAYS evaluated...
    'users' => Inertia::always(User::get()),
]);

@reinink made AlwaysProp accept any values including callable 👌🏻

@lepikhinb Hey thanks for putting this together! 💪

@lepikhinb "errors" prop is empty with laravel validation after this update

After updating to v1.3.0, no errors are included in the response. It is always empty.
Still works in v1.2.0

@datlechin @gabrielrbarbosa I couldn't reproduce the issue. Is there a chance you can make a quick reproduction?

@lepikhinb Create a route that performs data validation. Send a request to this route with invalid data and verify that the response does not contain any error messages.

@datlechin Please make a repo with a complete reproduction.
Here's PingCRM with Inertia 1.3.

Ah i see that what happened
Previously, I used the appendTo method to add Inertia’s middleware, which was works with versions prior to v1.3.0:
->withMiddleware(function (Middleware $middleware) {
    $middleware->appendTo(HandleInertiaRequests::class);
})

After updating to v1.3.0, the approach needs to be changed. Now, you must use the web method to add Inertia’s middleware.

@lepikhinb I found out what happened here. We had previously overridden the Response class which made this new update incompatible, I will handle this here or just fix at 1.2.0 for now, thanks anyway!


Add WhiteHat entry

Please review our Contribution Guidelines to ensure your changes abides by it.
Review your changes and complete the checklist below.

[x] Company name
[x] Company description
[x] Company location
[x] GitHub link
[x] How Elixir is used
[x] Sorted alphabetically

Thank you @jameslong!


I can filter on the VABB type of a publication record (as a librarian?)

Story
As a librarian, I can filter on VABB type of a publication record so I can follow up in time.
Filters:

VABB-1
VABB-2
VABB-3
VABB-4
VABB-5

Context old Biblio

Success criteria

[ ] Available for publications
View other success criteria on https://github.com/ugent-library/biblio-backend/issues/519

Implementation and context
View design and components on https://github.com/ugent-library/biblio-backend/issues/519

@nicolasfranck yes this should be part of the record

Reminder: when importing from biblio-backend, then update fix add_vabb_data in biblio itself, as attributes vabb_id, vabb_type and vabb_year are already present.

Reminder: @nics as this will be part of the record, and not updated by any user, when/where should this be updated?


On select scope

One more small tweak
I know there is already an on_select callback for programmatically defined scopes  passed into the setup function.
But, I added a global on_scope_selected callback to handle use cases where a config-defined (or npm workspace) scope is selected and we want to tailor some custom logic within neovim.

Thanks!


SSL_CTX_set_ssl_version openssl 3.0

Hi,
I'm trying to convert my application linked against openssl 1.1.1 to openssl 3.0
my unique error is:
SSL_CTX_set_ssl_version is deprecated: do you know what is the relative function on openssl 3.0?
Thanks
Angelo

What are you trying to do with that function? SSL_CTX_set_ssl_version, contrary to the name, actually swaps out the underlying SSL_METHOD, which is more than a little strange.
Are you just trying to configure TLS versions? In that case, the answer is SSL_CTX_set_max_proto_version and SSL_CTX_set_min_proto_version.

Hi,
I tried using SSL_CTX_set_min_proto_version to force TLS 1.3 with openssl 3.0.0 for a client application.
Also check it with SSL_CTX_get_min_proto_version successfully.
But in the Client Hello only TLS 1.2 is showing up, can't solve it ...

Here's the simplified code:
OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS, NULL);
meth = (SSL_METHOD*)TLS_client_method();
ctx = SSL_CTX_new(meth); if (!ctx) {... ERROR ...}
if (SSL_CTX_set_min_proto_version(ctx, TLS1_3_VERSION) != 1) {... ERROR ...}
if (SSL_CTX_get_min_proto_version(ctx) != TLS1_3_VERSION)	 {... ERROR ...}
SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, NULL);
if (SSL_CTX_set_default_verify_paths(ctx) != 1) {... ERROR ...}
myssl = SSL_new(ctx); if (!myssl) {... ERROR ...}
...here I create the TCP socket (successfully) ...
SSL_set_fd(myssl, (int)(S_socket) );
err = SSL_connect(myssl); if (err < 1) {... ERROR ...}
...
Is there a fault in the code ?
Thank you for your help !!

What are you trying to do with that function? SSL_CTX_set_ssl_version, contrary to the name, actually swaps out the underlying SSL_METHOD, which is more than a little strange.
Are you just trying to configure TLS versions? In that case, the answer is SSL_CTX_set_max_proto_version and SSL_CTX_set_min_proto_version.

thanks for your help

But in the Client Hello only TLS 1.2 is showing up, can't solve it ...

This seems to be a different question (please don't hijack other people's issues)...but ok....what you are seeing is normal behaviour. The field you have highlighted is the legacy version field and isn't used in TLSv1.3. Its always set to to TLSv1.2. Version information is instead negotiated via the "supported_versions" extension.

Sry for hijacking, thought it's a similar theme ... won't do it again :)
And thank you for the help, now it's clear :)


Comma with a preceding space

It's a very little issue but it should be fixed. In case both the start date and end date are specified, there is a space between the end date and the comma. Here is a screenshot.

It's a one-liner fix in experience-info.html.

@kashifnazar This PR should fix the issue: https://github.com/hossainemruz/toha/pull/37

Try pulling the master

Thanks for the rapid action.


Is it possible to keep the MARC record with this tool?

The initial version of the order import tool maintained the imported MARC record. I remember when the tool changed to only bring in a FOLIO record, and that there was a reason it was difficult to keep the MARC, but I don't remember that reason. I regret the loss of this functionality at this point. At Lehigh we try to get the best record in, in the best condition in the first place for most of our basic copy cataloging type records. Is it possible to offer this as well - to enable a library to select one or the other - FOLIO or MARC records?

Hi Lisa, my recollection is, that loading the MARC into SRS prevented us from setting the Instance, holdings and items data as desired in Inventory.
I have not followed the developments in Data Import so I don't really know the state of SRS today, and  whether it would be problematic in any way to establish a parallel track in OIT for getting MARC into SRS.

Hi Lisa, my recollection is, that loading the MARC into SRS prevented us from setting the Instance, holdings and items data as desired in Inventory.
I have not followed the developments in Data Import so I don't really know the state of SRS today, and  whether it would be problematic in any way to establish a parallel track in OIT for getting MARC into SRS (while also getting the desired data into Acquisitions).  I guess we would have to try it to find out.

Hi Lisa and Niels,
While Duke hasn't fully implemented FOLIO yet, we are considering using this app when we do. I am very interested in being able to populate the MARC bib and holdings SRS with the tool, while also creating the Order information needed.  Just thought I'd weigh in to let you know others are interested in this option.

Okay, thank you Jacquie.

Thank you both.

I just posed this question on whether or not an order import is possible with an instance, holdings and item while maintaining the MARC record and all necessary acq info. I will report back here if something answers.


[Event Parameter change] codeunit 6520 "Item Tracing Mgt." - OnAfterTransferData

    //OnAfterTransferData(ItemLedgEntry,TempTrackEntry); A200F0000.Event.o
    OnAfterTransferData(ItemLedgEntry, TempTrackEntry, ValueEntry); //A200F0000.Event.n

Event Signature:
[IntegrationEvent(false, false)]
local procedure OnAfterTransferData(var ItemLedgerEntry: Record "Item Ledger Entry"; var TempItemTracingBuffer: Record "Item Tracing Buffer" temporary; ValueEntry: Record "Value Entry")
begin
    //A200F0000.Event Parameter ValueEntry
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Need slot in kor-tab-item

I need to place anchor tab inside tab-item. Right now it does not render the anchor inside a tab-item

Hi @damodharanj , could the anchor also be placed outside of the tab-item like below or is there a limitation to that on how your DOM is structured?

  <kor-tab-item label="Hi"></kor-tab-item>

Alternatively, would it suffice if the tab-item itself would have an href property to handle URL navigation like below?
<kor-tab-item label="Hi" href="..."></kor-tab-item>

  <kor-tab-item label="Hi"></kor-tab-item>

In this case the kor-tabs component is not working as intended

The underline does not toggle

<kor-tab-item label="Hi" href="..."></kor-tab-item>

This might not be sufficient as one might use custom Link tags the router supports. https://www.npmjs.com/package/lit-element-router

@damodharanj I just published a patch (v1.4.2) which allows  or any other element to be between <kor-tabs> and <kor-tab-item>.
Please try it out and let me know if it solves the problem!


feat(rest client): sanitize uri down merge

fixes: https://github.com/confluentinc/confluent-kafka-dotnet/issues/1066

@confluentinc It looks like @jonathansant just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

thanks - just merged 1.1.x to master which should be equivalent.


Support for mouse/magic remote

Hi Team,
Is there a support for mouse/magic remote available here? I did not find any reference in the documentation.

There is currently no support for mouse / magic remote. Magic remote support is on our roadmap

Thanks for reporting, will close the ticket for now and take this in account

Support was added in 2.4.0.


Output warnings with differently colored squigglies in --pretty --watch

Search Terms
warning green squiggly red
Suggestion
In pretty watch mode right now, red squigglies are always red squigglies.

However, in code, editors are able to receive info from the TS language server that it's a warning:

It'd be nice if the CLI would also use the green squiggly color.
Use Cases
Doing so would be a little clearer for users as to what's an error ("I did something wrong!") verses a warning ("I could improve this"). I've been scared a few times about files being broken when it was just an unused import.
Examples
Visual proposal:

Alternately, we could try or to match VS Code:

...but I'm leaning towards yellow, as "green" tends to imply everything being acceptable.
Either way, +1 to outputting "warning" on warnings.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. new expression-level syntax)

The issue you're seeing is that what you believe is a warning is actually an error in the compiler, and as #13408 discusses, we're not going to be pursuing warnings any time soon.


add minimal line count

addresses #6

I don't think this is a good idea. When there is a single indented line in a file it's more likely than not the true indentation level of the file. Sure, there can be outliers, but without being more clever the best thing we can do is assume the most likely scenario which is that the indentation we see is the true indentation.

When there are only one or two indented lines, it is rather unlikely that an indent of 5 or 7, say, was indented by the user, but rather accidental. Therefore, only accept common values to keep out of the way.

This gives me the following idea: if there are only one or two indented lines, only accept common indents like 2, 4 (maybe 8). This would solve both #4 and #6. What do you think?

Yes, I agree. The two line limit is arbitrary, of course.
Still, indent increases > 8 should be disregarded as well, as your example in #5 shows.

Merged! I don't think disregarding indentations > 8 is necessary as this already covers the example in #5.


drill-5890: Fixed a file descriptor leak in Drill's test-suite

Problem Description

The Drill test-suite uses two surefire processes to run tests
This has the advantage of avoiding class reloading if the JVM exited after running a test class
The side effect of this approach, is that resource leaks could be problematic
When running the Drill's test-suite on MacOS (Sierra) my tests failed with a max FD descriptors reached
Had to increase the maximum number of open FDs for the whole machine and per process
The process is described in the following link
Two limit files "limit.maxfiles.plist" and "limit.maxproc.plist" have to be created under "/Library/LaunchDaemons"
Originally, I had to set the maximum number of FDs per process to a large value (100,000 and the system to 200,000) for the tests to succeed

FD Leak Cause
Debugging the Drill test suite, it was noticed

A base class BaseTestQuery has a @BeforeClass and @AfterClass TestNG tags
This means that each Drill test class extending from BaseTestQuery will have a setup method called before any tests are executed and a cleanup method invoked when all the tests are done (or a fatal error in between)
The OpenClient() method was starting a DrillBit and creating a client connection to it
DrillBit's BootStrapContext class was initializing two Netty EventLoopGroup objects which internally opened 20 FDs each
It was noticed that one of them was not getting de-initialized

Fix

Added logic within the BootStrapContext object to shutdown the EventLoopGroup objects if they have n't been already shutdown (and are not in the process of being shutdown)
The fix tries to shut both objects because the container class should ideally manage the lifecycle of its objects; at least, the code should clearly articulate lifecycle management responsibilities to avoid leaks
Used the "shutdownGracefully" method since it was a) already used by Drill's code  and b) is advertised to have sensible timeout values
The added shutdown calls are being invoked only when consumer objects have been also shutdown
Running the tests show that the number of FDs per surefire process doesn't extend beyond few hundreds (majority created for JAR files loading)

@parthchandra can you please review this change? thanks!

+1.
Great catch Salim.


Added custom CSS call

This makes it easier for people to change the CSS. Used method from hugo-universal-theme to include custom CSS where a named file is expected.

Hello @stephlocke,
thank you for this addition. Your approach would allow the user to add a single stylesheet. To give users more flexibility I used the same approach as on some of my other themes:
cd1a8c02e0cf97c443cfdbf44091e66863305eba introduces the custom_js and custom_css variable that allows users to specify the urls of the assets they would like to add. The assets can either be stored locally in the static folder or can be fetched from a third party.
Let me know if miss anything.

Digitalcraftsman

That's a much better mechanism! I just didn't have the skills to do it :-D
Thanks for the theme, using it on girlswithdeeppockets and it looks amazeballs ;)

Thanks for the theme, using it on girlswithdeeppockets and it looks amazeballs ;)

It's great to see all those websites and how they pop up :smiley:


Update SDK and support Android 12

Fixes compilation error that happens because of compileSdk being set to 30 while android libraries already set it to 31
Fully supports Android 12 and its policies

Damn bro, I saw this right when I finished adding support for Android 12 and got the . My PR is much more comprehensive anyway, so I'll have to close yours. Sorry! 😅

No worries!


fix(client): exit 1 with malformed config:set input

closes #228

Can we gets a test?

ask and ye shall receive


Question about yolox training time

According to  the training log of yolox - S model., log
whether is the unit of time field is minutes? If so, 300 epoch training usually about 2.7d (0.37min x 37 x 300)?
"time": 0.36955
(
我看到yolox -s模型的训练log，请问 time 字段的单位是分钟吗
如果是的话，300个epoch训练时常大概是2.7d吗 （0.37min x 37 x 300）,
其中37表示一个epoch的data size 1839除以50
)

@wywywy01  The unit of time is seconds.

@wywywy01 Yes.