Fix for: injection "Symbol()" not found

This is a way to fix and close the issue #229 and any further injection warning.
I have created two main utils which should be used in any other component from now on to avoid warnings and precisely inject stuff:

Conditionally inject values provided by parent components (only if actually provided)
Provide and inject the exact collection the consumer needs.

Both also return an empty object on the server.
I left comments in the code, which I think are better than writing here the logic and all the rest. In short:
1. Conditionally inject values
provide
provide can be called as usual, the only new thing introduced is that in the component that calls provide, this should be added as well in the setup() function:
defineExpose({
  providerName: 'SomeComponentName',
});

inject
In the component that may or may not inject the value, this should be used in place of Vue's inject:
const injectedValue = injectSafely(
  DROPDOWN_MENU_INJECTION_KEY,
  'SomeComponentName'
);

This basically will traverse the parent chain until it finds SomeComponentName. If it is found it means that the value is 100% provided, and it will inject the key passed as first parameter, if not it returns an empty object, so no warning is returned.
2. Conditionally inject collection
I have created two new utils that should be used in place of useCollection:
provideCollection
This should be used in place of provide along with defineExpose:
provideCollection(sourceElement)

defineExpose({
  providesCollection: true
})

It also returns a reactive copy of the collection, like useCollection.
const collection = provideCollection(sourceElement)

This will provide to the children the focusable elements, computing an injection key based on the component uid instead of using a symbol.
This means that when a component that calls provideCollection is mounted, it will provide the collection with a distinct key according to its location in the tree, avoiding overrides and overlaps.
In any Root component (like DropdownMenuRoot), if any child renders a shared component that is supposed to inject the collection (like BaseMenuItem) this value should also be exposed to help to break earlier the loop that looks the parent chain in case no collection is provided.
defineExpose({ isRoot: true })

injectCollection
This should be called in place of inject. It will traverse the parent tree until it finds the parent that exposes providesCollection: true. Once it is found, it injects the key correspondent to the collection. The key is computed using a fixed prefix + the component uid that exposes providesCollection: true.
Here we just cannot use a Symbol because BaseMenuItem can be child of any radix-vue component, so we can't import a Symbol from the parent, and it must be computed.
const collection = injectCollection()

Other notes
I've also fixed the way the radio/checkbox injections were handled, now each component provides a separate value, and we let DropdownMenuIndicator understand if a radio or checkbox is provided by looking at the return value.
Next steps
I worked on the Dropdown menu and I can say it is totally fixed/refactored. I preferred to work on the playground which I commented out any other component, you can restore the previous App.vue, it won't break any functionality as useCollection is still there.
The components which inject the previous-way will still throw warnings. So I think we should refactor the injections inside those components and then test everything.
Nuxt Notes
When rendering on the server, if for example a template node has an injected value in the attributes like this:
:data-state="injectedValue?.someRef?.value
Make sure to optionally chain everything because inject returns an empty object on the server, and it can break things if trying to access .value for example. This can be avoided by returning an object with the same shape instead of an empty one on the server, like this:
return { someRef: ref() }

Let me know what you think and if that's fine for you, I'll refactor the injections in any other component that throws warnings.

Commenting here again to get an update when it is merged :). Thank you for your work @smastrom.

quite mindblown with open-source, hahah thanks! I will let @zernonia review this

That was fast @smastrom ! While checking on your PR, I found this issue when navigating dropdown menu using keyboard, which causes the component to break
DropdownMenuRoot.vue:60 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'focus')
    at Object.changeSelected (DropdownMenuRoot.vue:60:28)
    at handleKeydown (DropdownMenuTrigger.vue:48:20)

That was fast @smastrom ! While checking on your PR, I found this issue when navigating dropdown menu using keyboard, which causes the component to break
DropdownMenuRoot.vue:60 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'focus')
    at Object.changeSelected (DropdownMenuRoot.vue:60:28)
    at handleKeydown (DropdownMenuTrigger.vue:48:20)

There you go, I forgot to comment out something I was testing 😵💫

There you go, sorry I forgot to comment in something I commented out during dev 😵💫

Thank you so much for this PR @smastrom ! I've refactor the DropdownMenu component, and ported some of your suggestion here to https://github.com/radix-vue/radix-vue/pull/291. 😁
Also, I've come to a decision not to use the injectSafely you proposed here, reason being:

If injection "Symbol()" not found, we should fix it in a core, and think twice our logic when using provide/inject. (which I have done for DropdownMenu above)
If someone using the library, and forgot to use the Root component for example, it should throw error (instead of hiding away the warning). This would be track via https://github.com/radix-vue/radix-vue/issues/266.


splice(index, howMany) doesn't pipe the remaining streams correctly, splice(index, howMany, through) does

Based on how Array.splice works, I expected to be able to just call splice(index, howMany) to remove an entry from the pipeline. However, if you don't pass a stream the splice fails to correctly call pipe on the remaining streams. Example case:
var through = require('through2'),
    splicer = require('labeled-stream-splicer');

function log() {
  return through.obj(function(o, enc, onDone) {
    console.log(o);
    this.push(o);
    onDone();
  });
}

console.log('splice(label, 1)');

var s1 = splicer.obj([
    log(),
    'foo', log(),
    log()
  ]);

s1.splice('foo', 1);

s1.write('hello 1');

console.log('splice(label, 1, through)');

var s2 = splicer.obj([
    log(),
    'foo', log(),
    log()
  ]);

s2.splice('foo', 1, through.obj());

s2.write('hello 2');

Output:
splice(label)
hello 1
splice(label, through)
hello 2
hello 2

+1


chore: revisit release process

Dropping poetry, using setuptools_scm with new monorepo tags and using those to do proper github releases.
Also provides useful dev and test extras in fal that allow you to install everything you need for development/testing.
New release process goes as follows: either trigger a github release creation in the workflow dispatch (see create-release.yaml) or manually create a github release (not recommended, since this is a monorepo and git tags need a particular format, e.g. isolate_proto_v1.2.3). Then a github release is created with a tag that triggers a pypi release (see release.yaml).
We did lose a single-workflow to release fal and bump isolate_proto in its dependencies though, so one needs to release isolate_proto, then bump in fal and then release fal.
As a result of this, we will get releases in https://github.com/fal-ai/fal/releases with changelogs and proper tags. Also this won't create any PRs anymore like we used to https://github.com/fal-ai/fal/pull/174 , since there is no need anymore, which is nice.
Note that testing release without doing a release is a bit challenging, so I will be around to do the next one just to catch/fix any potential problems.
Fixes #150

Merging to release cloudpickle/pydantic and debug the process.


KDP for allow cloning multiple resources

Proposes an idea to extend the generate rule to clone multiple resources from a namespace.
Signed-off-by: prateekpandey14<EMAIL_ADDRESS>

@prateekpandey14 - still missing a pointer to the CLI support.
Will add the info.


Implement a Weather Notification System Using APIs

Develop a script that fetches weather data and sends alerts based on user-defined criteria.

@king04aman
PR #16  implemented the above


fixed styling issues for appzi feedback button

Pre-Flight checklist

[x] Screenshots and design review for any changes that affect layout or styling

[x] Desktop screenshots
[x] Mobile width screenshots

[x] Testing

[x] Changes have been manually tested

What are the relevant tickets?
Closes #564
What's this PR do?
Fixes styling issues for Appzi feedback button
How should this be manually tested?
Verify the following

Hide course info button does not overlap with feedback button
feedback button does not overlap with content
feedback button possition on ocw-www and ocw-course  is consistant

Screenshots (if appropriate)

Screenshots look good to me.
I don't have an opinion on @MAbdurrehman12's comment -- I can see an argument for consistency across all screen widths, but I also see an argument for keeping the change just to mobile.
In any case, can we merge this today?

Screenshots look good to me.
I don't have an opinion on @MAbdurrehman12's comment -- I can see an argument for consistency across all screen widths, but I also see an argument for keeping the change just to mobile.
In any case, can we merge this today?

@pdpinch @MAbdurrehman12
One thing is that we cant add the feedback button to tab-order since it actually isn't a button but a span and is inserted dynamically from appzi. We might me able to add it through appzi's dashboard but even that is long shot.
We can use the nav-link css property but that isn't  recommended.
And yes this can be merged today.


Add GPX support to gwt-ol3

This pull requests adds the GPX support to the library A GPX example has been added in the demo.
Some modifications to GPX have been added to be able to read the features.
The more important changes have been added to VectorOptions setFormat and SetUrl

Looks good, thanks!


Feature messages types - add selectable styles to messages component

@Timures everything is good. Just need to delete .vscode/settings.json


Module build failed: ReferenceError: Symbol is not defined

ERROR in ./src/index.jsx
Module build failed: ReferenceError: Symbol is not defined
at plugin (/apps/git/mobx-react-boilerplate/node_modules/react-hot-loader/lib/babel/index.js:53:23)
at Function.memoisePluginContainer (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:107:13)
at Function.normalisePlugin (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:141:32)
at /apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:181:30
at Array.map (native)
at Function.normalisePlugins (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:153:20)
at OptionManager.mergeOptions (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:245:36)
at OptionManager.init (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:360:12)
at File.initOptions (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/index.js:223:65)
at new File (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/index.js:140:24)
at Pipeline.transform (/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transpile (/apps/git/mobx-react-boilerplate/node_modules/babel-loader/index.js:14:22)
at Object.module.exports (/apps/git/mobx-react-boilerplate/node_modules/babel-loader/index.js:88:12)
@ multi main

Which node version?
Op wo 3 aug. 2016 om 21:06 schreef whitebook<EMAIL_ADDRESS>
ERROR in ./src/index.jsx
Module build failed: ReferenceError: Symbol is not defined
at plugin
(/apps/git/mobx-react-boilerplate/node_modules/react-hot-loader/lib/babel/index.js:53:23)
at Function.memoisePluginContainer
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:107:13)
at Function.normalisePlugin
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:141:32)
at
/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:181:30
at Array.map (native)
at Function.normalisePlugins
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:153:20)
at OptionManager.mergeOptions
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:245:36)
at OptionManager.init
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/options/option-manager.js:360:12)
at File.initOptions
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/index.js:223:65)
at new File
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/file/index.js:140:24)
at Pipeline.transform
(/apps/git/mobx-react-boilerplate/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transpile
(/apps/git/mobx-react-boilerplate/node_modules/babel-loader/index.js:14:22)
at Object.module.exports
(/apps/git/mobx-react-boilerplate/node_modules/babel-loader/index.js:88:12)
@ multi main
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react-boilerplate/issues/12, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABvGhP1tMO2hrkU_UkXu1pZLCxOPT8enks5qcOacgaJpZM4Jb_NE
.

Good Call, didnt notice that...Fixed. Using Node 4.4.7
Thanks.

Sorry to bump such an old issue, but I'm facing something similar when using mobx in an angular project (with mobx-angular, albeit the TS error points to mobx itself):
I'm using node v10.13

Note that responding to closed issues is generally pointless, as nobody
will see it, except for people that originally participated in the
discussion. Please open a new issue, and include your project setup
Op di 27 nov. 2018 om 00:21 schreef Carlos I. Garcia <
<EMAIL_ADDRESS>
Sorry to bump such an old issue, but I'm facing something similar when
using mobx in an angular project (with mobx-angular, albeit the TS error
points to mobx itself):
I'm using node v10.13
[image: screen shot 2018-11-26 at 5 20 50 pm]
https://user-images.githubusercontent.com/14896457/49048248-b2672b80-f19f-11e8-8a45-c6ec0959b5d7.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react-boilerplate/issues/12#issuecomment-441838347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhBymLfjw7l8vrVFS9ibS8jjCznZBks5uzHd4gaJpZM4Jb_NE
.

Thanks @mweststrate. I found the issue, so for anybody who stumbles upon this: If you're seeing this problem you need to update to Typescript 2.7.0 or above.


Any plans to revise to reflect AMA agent support?

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7c813d7c-1789-d0c9-c833-cbdd3f60e2b8
Version Independent ID: e5b7e6a7-2f78-dd58-b450-0d173935e26c
Content: Deploy Microsoft Teams Rooms monitoring with Azure Monitor - Microsoft Teams
Content Source: Teams/rooms/azure-monitor-deploy.md
Service: msteams
Sub-service: itpro-rooms
GitHub Login: @dstrome
Microsoft Alias: dstrome

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


appveyor doesn't build plain/non-shared version anymore

The code to build seems to be inside an:
If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS)

Which doesn't make sense.

Add a no-shared build to the CI.
Or hijack one of the existing builds to include this.

Maybe the issue isn't clear. There is a no-shared target. It
runs configure, but doesn't actually do anything else like build
it or run the test suite.

... but doesn't actually do anything else like build it or run the test suite.

Not quite true.  See the code:
https://github.com/openssl/openssl/blob/8dc34b1f579f71f24aa385d33112da4a91db7079/appveyor.yml#L56-L60
If your commit contains [extended tests], then the no-shared configuration will be built.
However, the code that checks for [extended tests] comes quite late in before_build:...  it could be moved to happen before configuration, so I can understand that the build output looks confusing.

So we don't build it during pull requests, but it does get build when it's building master itself. I had to search the last build of master that it didn't cancel, which is currently: https://ci.appveyor.com/project/openssl/openssl/builds/36510326, where it does at least seem to build all targets.

I've looked over the appveyor docs, and think I found a method that makes things more clear.  PR coming up!

See #13537

Github should have autoclosed this when #13537 was merged...


fix: enable Sheet.Scroller to handle onScroll and onTouchStart on touch devices

Do not overwrite onScroll and onTouchStart event on touch devices it they exist.
I had a case when onScroll on Sheet.Scroller worked on desktop and didn't work on mobile 😢 .

This is released in v3.4.1.

[!NOTE]
Soon there will be v4 released with support for React 19 and migration from framer-motion to the new motion package.


STM32 *.dtsi: configure clocks via macro similar to STM32_RESET

Is your enhancement proposal related to a problem? Please describe.
Currently, the resets property of nodes in STM32 DTSI files is filled using a macro called STM32_RESET.
https://github.com/zephyrproject-rtos/zephyr/blob/34982bb00b57486aeb83a6cb3bb7433791302aed/dts/arm/st/c0/stm32c0.dtsi#L177-L184
The macro's implementation is found in include/zephyr/dt-bindings/reset/stm32-common.h:
https://github.com/zephyrproject-rtos/zephyr/blob/34982bb00b57486aeb83a6cb3bb7433791302aed/include/zephyr/dt-bindings/reset/stm32-common.h#L20
Ignoring the bitpacking detail, this macro provides two benefits for users:

removes the need to type STM32_RESET_BUS_ every time
accepts a bit number, which is the form used in RefMan

TL;DR: this macro makes both authoring and reading of DTSI files a much better experience.
Currently, there is unfortunately no equivalent to this macro for the clocks property.
To make matters worse, (nearly) all DTSI files are using raw hex values for the clocks properties. This makes reading and authoring of these files tedious.
Describe the solution you'd like
A new macro - ideally named STM32_CLOCK - should be created to offer the same feature for clocks property:
/* Whitespace between 'STM32_CLOCK_BUS_##bus' and '(1 << (bit))'
 * is necessary - this macro must expand to two DTS cells.
 */
#define STM32_CLOCK(bus, bit) STM32_CLOCK_BUS_##bus  (1 << (bit))

However, note that STM32_CLOCK is already used for domain clock (a.k.a. kernel clock) selection:
https://github.com/zephyrproject-rtos/zephyr/blob/34982bb00b57486aeb83a6cb3bb7433791302aed/include/zephyr/dt-bindings/clock/stm32c0_clock.h#L54-L58
There are two solutions to this issue:

Circumventing by using a different name (for example, STM32_CLOCK_GATE)
Renaming the existing macro beforehand (for example, STM32_CLOCK --> STM32_DOMAIN_CLOCK)

This should not be a breaking change, as this macro is for internal use (wrapped by xxx_SEL() which are for public usage)
N.B.: A revamp of this macro is already under consideration; if performed, this issue may be solved as a bonus

After the introduction of this macro, the existing DTSI files would have to be modified to use it.
Taking the earlier example: (note that 1 << 14 is 0x00004000)
 usart1: serial@40013800 {
 	compatible = "st,stm32-usart", "st,stm32-uart";
 	reg = <0x40013800 0x400>;
- 	clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00004000>;
+ 	clocks = <&rcc STM32_CLOCK(APB1_2, 14U)>;
 	resets = <&rctl STM32_RESET(APB1H, 14U)>;
 	interrupts = <27 0>;
 	status = "disabled";
 };

Describe alternatives you've considered
Without introducing any macro, all raw hex values in DTSI files could be replaced with the equivalent (1 << X) notation.
This would make DTSI files more readable, but still tedious to write.

Hi @mathieuchopstm and @erwango, I'd like to try implementing this macro. Would you mind assigning me?


Misplaced spanner label when there is a table stub

When there is a table stub (using rowname_col), the spanner label is set improperly. And the column labels are also affected. Code to reproduce:
import great_tables as gt

gtcars_mini = gt.gtcars[["model", "year", "hp", "trq"]].head(5)

gt.GT(gtcars_mini, rowname_col="model").tab_spanner(label=gt.md("*spanner*"), columns=["hp", "trq"])

Now fixed in v0.1.0.


Swap left and right mouse buttons actions to be usable on touchscreen devices like windows tablets with the "click to move" option in the game

Hi, thank you very much for this addon, unfortunately I dont have a SteamDeck, but I have some windows tablets and I can play using the "click to move" option in the game, but I must make a long touch to simulate right mouse button so the play experience is slow, but if I can make a single touch to move the game would be more playable on touch screen. Maybe you can do another addon for windows tablets and touch screens, that would be fantastic.
Thank you for your work.

Hello, I don't have windows and don't have a tablet, so I'm pretty much the least person to ask. Also World Of Warcraft in this version does not have a way for custom inputs. It only works on SteamDeck, because Steam is taking care of the re-mapping of gamepad keys to other inputs. I never really looked into Click to move, I don't know if its even possible to bind it to left-click without losing the other binds that already exist on it. Maybe there is some other Software to rebind you're inputs to something more useful?
Sorry, but you're on your own here, I don't know how I could help :(


Update requirements.txt

:headphones: : :+1:

Works, I remember trying to get this working awhile back and it wouldn't work. Thank you.

May you help me

yes i can help you
On Sun, 12 Apr 2020, 1:37 pm wpv1999<EMAIL_ADDRESS>wrote:

May you help me
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/jumpcutter/pull/162#issuecomment-612582595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIPVOES36MI37ZY3RX3PQULRMF4U7ANCNFSM4LY5XKGA
.

May you help me

what seems to be the problem ?


ARM Architecture Support (Raspberry Pi)

Summary
Docker run returns exec format error
Steps To Reproduce
Steps to reproduce the behavior:

docker pull axarev/parsr
docker run -p 3001:3001 axarev/parsr

Expected behavior
Works without error
Actual behavior
standard_init_linux.go:211: exec user process caused "exec format error"
Environment
Raspberry Pi 3 Model B Plus Rev 1.3 (Raspbian 4.19.66-v7+)

Hi @RidaAyed
As far as I know it is the first time that someone tries to execute Parsr on a Raspberry.
We will investigate the issue asap.
Thanks for feedback!

Hi @RidaAyed
the docker image is not build for arch machine and so that can't work for now.

All modern Mac computers now run on ARM as well so this is not only a Raspberry Pi problem.
In trying to build the docker images for ARM it fails because Google Chrome is not packaged for ARM (and thus not found by apt-get install google-chrome-unstable). I don't know if chromium-browser would be acceptable substitute, but it is packaged for ARM, apparently.


[Task]: Issues in JSObject Mutation POC

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
# Issues to Resolve
- [ ] #20309
- [x] #20310
- [ ] #20311
- [ ] https://github.com/appsmithorg/appsmith/issues/20582
- [x] Get target object from proxy.

[ ] #19913
[ ] Explore how we could avoid diffing by understanding the core working of immer or mutative.

The issues mentioned above are resolved. Unit test is tracked separately.


Store drag and drop data as a global variable

In the newer CEF versions(such as 3.2785 the one which Brackets on Linux currently uses), the drag and drop data cannot be accessed in the dragOver event, so store it as a global variable to access it in the dragOver event.

Thank you @swmitra


lua language programs

lua language programs: it contain basic lua language program that will help you to kick start in lua lanuage

@TusharGharge contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


OIDC auth

This addes open-connect ID as authentication mechanism to the web.
I want to test this in a semi-productive environment  on regiklim-dev first. Hence the WIP.

@Karinon do you mind if I start reviewing this?

@MoSHad91
Not at all, please go ahead.

@Karinon how is it hanging?


Cookbook ideas for the rand crate

We already have 4 examples:

[x] Generate random floating point numbers
[x] Generate random numbers within a range
[x] Generate random numbers with normal distribution
[x] Generate random values of a custom type
[ ] Create random passwords from a set of allowed characters

So it's not obvious we need more. But here's an opportunity to reevaluate the set we've got and brainstorm about it.

Similar to the range example: Create random passwords from a set of allowed characters.

How about an example of creating a specified-length vector of random numbers out of rng.gen_iter()?

Rand is going through an overhaul.  0.5-pre 1 just came out.  I would like to revisit this issue once 0.5 ships and evaluate adding recipes later.

I read the 0.5 Changelog and the stuff they added was great, but not really helpful to a wide audience.  Most of the changes were to support true randomness required for a security perspective.  I'm not sure there's a lot of value to a wide audience for this.  @pitdicker did a good job in #391 to update the API.  I think the cookbook has a good sample of Rand usage.


changed xml to defusedxml

would someone please test with a sample file?

@cneill or @grendel513 ^

Hey Greg - the code looks great, however defusedxml needs to be installed via pip, which means the setup.py and other files need to be updated as well.  Off the top of my head the files needed are setup.bash, Ansible stuff, and setup.py.

oh jeez, great catch @grendel513 will do.

Hey @devGregA any progress on this?  I know you have been really busy, just checking in.

working on it meow.

Additionally added django-overextends to setup.py

hey @devGregA I didn't think overextends was a dependency...still don't see defusedxml in setup.py or the ansible files.

Should be good to go. I did the final test with a clean ubuntu install, and didn't run into any setup errors. I did hit an SSH problem with vagrant, but I don't think it is related to the current changes. Would someone please verify that the parsers are okay with a dumby upload? I would if I had a spare xml report laying around to test with.

@grendel513 ^ FYI since I don't want to bug you via text to let you know it's ready to review.

Looks good, tested with sample Nexpose report.  Thanks @devGregA


Bump required Ondatra release version

Pull Request Functional Test Report for #1682 / 40ad4d0431006642ef5f346a49a038c81d383c39
No tests identified for validation.


Support for .mill-version file.

Since version 0.5, its now possible to have a .mill-version file.
This plugin should support reading the mill version from it (read legacy version file documentation for plugins)

Fixed in 038034127e4db3bc56cce8a1048fac6a8d9eaf57


Make it easier to deploy GeoNotebook on Ubuntu (and update documentation)

Some of the dependencies of notebook (GDAL and Mapnik) are harder to build or are not compatible on Ubuntu which makes it harder for end-users to use GeoNotebook on to their system (who prefers system installation as opposed to Docker based). This issue may need to be split into two or more but I just wanted to provide the high level goal that might be relevant to other OS (MacOS) for example. Also, we could look into supporting conda based installation.

Ref #52


Excel for Mac Issue JSON POST

Hi there,
I have a fairly complex worksheet that works across Excel Windows and Mac. I generate a JSON body as a string and POST it to my web service. Under Windows it works perfectly with no errors. It was working on the Mac version when i tested it but recently it has stopped working (most likely since the latest Excel updates). The problem appears to be the at the JSON body is corrupted as my web service sees no valid body and consequently fails trying to convert the object.
I have exported and re-imported all the classes and modules to no avail.
On the Mac i am on Mojave 10.14.6 and the Excel version is 16.29.1
Has anyone seen this issue or have any ideas on how to resolve?
Thanks
Simon

What did your POST body look like before and what does it look like now so we can see this corruption.

I just had a problem with POST on mac only works on windows. If there was an apostrophe in the text it would fail on the curl. I made a small change in my version to send you if you want to include it. I tried multiple things but this is what I came up with. Basically changes the case statement and added  ' -> 39 -> \u0027 in the json_Encode of webhelpers.
Case 34
' " -> 34 -> "
json_Char = """"
Case 39                          ' Fix Fred Northcutt
' ' -> 39 -> \u0027     ' Fix Fred Northcutt
json_Char = "\u0027" ' Fix Fred Northcutt
Case 92
Attached is the updated WebHelpers.bas file. I had to upload it as a txt file so it will have to be renamed. Not sure if this will fix your problem but it sounds similar. Best of luck.
WebHelpers.bas.txt

I just had a problem with POST on mac only works on windows. If there was an apostrophe in the text it would fail on the curl. I made a small change in my version to send you if you want to include it. I tried multiple things but this is what I came up with. Basically changes the case statement and added ' -> 39 -> \u0027 in the json_Encode of webhelpers.
Case 34
' " -> 34 -> "
json_Char = """"
Case 39 ' Fix Fred Northcutt
' ' -> 39 -> \u0027 ' Fix Fred Northcutt
json_Char = "\u0027" ' Fix Fred Northcutt
Case 92
Attached is the updated WebHelpers.bas file. I had to upload it as a txt file so it will have to be renamed. Not sure if this will fix your problem but it sounds similar. Best of luck.
WebHelpers.bas.txt

Thank you. This solved my problem.

I've run into this exact same issue, which was showing up as a curl error about not being to resolve the host. As mentioned above, it is specific to Mac and shows up only when you have an apostrophe within your json payload. It is caused by the fact that on a Mac, the underlying curl tool is used to make the request, and uses single quotes for each value passed to the curl command in the shell. The presence of an apostrophe in your json payload will be interpreted by the shell as the end of the data value and everything after is interpreted as the url for your endpoint - which will of course be nonsense and cause a host error.
I'd implemented a fix by changing the code in WebClient.PrepareCurlRequest function to use double quotes for the json string and then escape the double quotes within the json itself. @chentao1006's fix is more elegant though so I'm rolling mine back and going with that. Thanks!

I've run into this exact same issue, which was showing up as a curl error about not being to resolve the host. As mentioned above, it is specific to Mac and shows up only when you have an apostrophe within your json payload. It is caused by the fact that on a Mac, the underlying curl tool is used to make the request, and uses single quotes for each value passed to the curl command in the shell. The presence of an apostrophe in your json payload will be interpreted by the shell as the end of the data value and everything after is interpreted as the url for your endpoint - which will of course be nonsense and cause a host error.
I'd implemented a fix by changing the code in WebClient.PrepareCurlRequest function to use double quotes for the json string and then escape the double quotes within the json itself. @chentao1006's fix is more elegant though so I'm rolling mine back and going with that. Thanks!

It's @FredNorthcutt 's fix. Thank him. :)

Kudos, good vibes and high fives to @FredNorthcutt!

Thank you! Glad it helped! FredOn Oct 20, 2023, at 3:30 AM, skywalker-sr @.***> wrote:
Kudos, good vibes and high fives to @FredNorthcutt!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Calling Sonus.start() after Sonus.stop() crashes SnowboyDetect with a "write after end"

To reproduce:
sonus = Sonus.init(.......);

Sonus.start(sonus);
Sonus.stop();
Sonus.start(sonus);

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write after end
    at writeAfterEnd (_stream_writable.js:166:12)
    at SnowboyDetect.Writable.write (_stream_writable.js:217:5)
    at PassThrough.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at PassThrough.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at PassThrough.Readable.push (_stream_readable.js:134:10)
    at PassThrough.Transform.push (_stream_transform.js:128:32)
    at afterTransform (_stream_transform.js:77:12)
    at TransformState.afterTransform (_stream_transform.js:54:12)

Thanks for the report, we'll investigate this shortly.

Ah, I see what's going on here. Because the Detector is a writable stream it's automatically ending when the buffer stops writing to it. Calling stream.write() after stream.end() will raise an error.
We'd be able to solve this issue by creating a new native detector instance when start is called again, but I don't think that's how it should work.
I'd be more inclined to create pause/resume to get the functionality I think you're looking for. I'll create a PR for this shortly.


QueryError: operator '-' cannot be applied to operands of type 'default::A' and 'default::A'

EdgeDB Version: edgedb-1-alpha2
OS Version: Debian 10 (Buster)

Steps to Reproduce:

Create an object of type A to be multi-linked
Create an object of type B that has a (non-required) multi link such that:

create type A;
create type B {
    create multi link a_objects -> A;
};
insert B;
with some_B := {(select B)}
update B
filter B = some_B
set {
    a_objects := B.a_objects union ( insert A )
};
{Object { id: <uuid>'73c5a04e-bced-11ea-8476-e3011ef40cb2' }}

Confirm that the multi link is intact.

select B { a_objects };
{Object { a_objects: {Object { id: <uuid>'86871df6-bcee-11ea-8476-a3f2f1f22374' }} }}

Try to drop the link before deleting the object:

with some_b := {(select B filter .id = <uuid>'73c5a04e-bced-11ea-8476-e3011ef40cb2')},
     some_a := {(select A filter .id = <uuid>'86871df6-bcee-11ea-8476-a3f2f1f22374')}
update B
filter B = some_b
set {
    a_objects := {B.a_objects} - {some_a}
};

Get the error:

QueryError: operator '-' cannot be applied to operands of type 'default::A' and 'default::A'
Hint: Consider using an explicit type cast or a conversion function.
### with some_b := {(select B filter .id = <uuid>'73c5a04e-bced-11ea-8476-e3011ef40cb2')},
###      some_a := {(select A filter .id = <uuid>'86871df6-bcee-11ea-8476-a3f2f1f22374')}
### update B
### filter B = some_b
### set {
###     a_objects := {B.a_objects} - {some_a}
###                  ^
### };

The recreation steps above were meant to recreate a different (correct) error when trying to delete an object that was multiply-linked to a parent object. I reasoned that to satisfy a ConstraintViolationError: deletion of <x> is prohibited by link target policy error, I first needed to "un-link" two objects by taking the difference of two sets. However, it looks like EdgeDB didn't agree with my heuristic.

I guess the expectation that - would work is created by the new :- operator?

I guess the expectation that - would work is created by the new :- operator?

That's a fair observation; I might just need to bite the bullet and update. :smile:

Yeah I don't think this is a bug?


syscall: 'watch ' errno: 'ENOSPC'

Steps to reproduce
Tell us about your environment:

ndb version: v1.0.20
Platform / OS version: Ubuntu 18.04.1 LTS
uname -rvpo: 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 GNU/Linux
Node.js version: v8.11.3

What steps will reproduce the problem?
Please include code that reproduces the issue.

goto folder witch 8193 files or more
It is important to exceed the number cat /proc/sys/fs/inotify/max_user_watches
run ndb

What is the expected result?
code: 'ENOSPC',
  errno: 'ENOSPC',
  syscall: 'watch /***.jsonp',
  filename: '/***.jsonp' }
{ Error: watch /***.jsonp ENOSPC
    at _errnoException (util.js:992:11)
    at FSWatcher.start (fs.js:1382:19)
    at Object.fs.watch (fs.js:1408:11)
    at createFsWatchInstance (/home/bmsdave/.nvm/versions/node/v8.11.3/lib/node_modules/ndb/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/bmsdave/.nvm/versions/node/v8.11.3/lib/node_modules/ndb/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/bmsdave/.nvm/versions/node/v8.11.3/lib/node_modules/ndb/node_modules/chokidar/lib/nodefs-handler.js:232:14)
    at FSWatcher.NodeFsHandler._handleFile (/home/bmsdave/.nvm/versions/node/v8.11.3/lib/node_modules/ndb/node_modules/chokidar/lib/nodefs-handler.js:259:21)
    at FSWatcher.<anonymous> (/home/bmsdave/.nvm/versions/node/v8.11.3/lib/node_modules/ndb/node_modules/chokidar/lib/nodefs-handler.js:480:21)
    at FSReqWrap.oncomplete (fs.js:153:5)

What happens instead?
If possible, please allow the exclusion of files from watching.
Or warn the user that not all files will be watched.
Related
https://stackoverflow.com/questions/22475849/node-js-error-enospc/32600959
https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers

Latest<EMAIL_ADDRESS>should behave much better with big folders, it works better with node 10.
You can go to settings -> workspace -> and edit folder exclude pattern to exclude some folders.
For watching we rely on chokidar and for now, unfortunately we can not do anything better so I will close this and I hope that exclude pattern + improved ndb will resolve this issue for you.


@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/sleepecg-feedstock#9.


Emphasize that both YAML and JSON are supported

Great project! This just adds a note to emphasize that JSON is also supported in addition to the provided YAML examples.
Edit: Maybe it would be better to have a newline before the line I added to the description. Thoughts?

I agree, I think a new line before the new added description would look better. Thank you for adding this clarification!

Updated to add a newline 😃


[feature] Supports some user defined options on missing queue creation.

Adds an ability to specify some queue and exchange parameters when creating missing queue.
This is useful when using custom routing class (specified by CELERY_ROUTES) which decides a destination at runtime.
BACKGROUND:
My project is separated to many sub-projects, and they need to invoke tasks each other. All workers and clients(task senders) of each project does not know other project's queue definition at start, but the custom router class detects available routings at runtime using memcahe, and sends tasks to a appropriate queue with specific exchanges and routing keys.
Unfortunately, current implementation of expand_destination() uses queue name as exchange and routing key when creating missing queue.
But I want to use specific exchange and queue parameters (such as x-message-ttl, x-ha-policy of RabbitMQ) defined in other workers, so I've patched celery/routes.py to use user defined options if they were specified.
These parameters are provided by route_for_task function of custom router class (by lookup_route()), so this patch does not affects standard use cases.

Thanks! Merged


Adding elements to the tree

Hello, I tested the demo with adding elements, everything works great.
But this addition works on the button. The task is this:

There is a simple html tree without dnd
There is your tree.
I need to implement adding elements from the first tree to yours using dnd

The point of the idea is that there is no need to remove an element from the first tree. The first tree is like a set of features. When dragging a feature onto your tree, I need to figure out what level I'm at and add a new element based on the dragged feature.
How can this be implemented?
Is it possible to use the react-dnd library for the first tree, and when dragging onto your tree, I could understand to which level I dragged an element from the first list?
Or do I need to create a custom node and wrap it additionally in react-dnd?

@MrPrometheus
Sorry, the current version does not allow dropping elements outside the tree into this tree.
This will be addressed in the future, but the release date has not yet been determined.

@minop1205
I don't need to drag items from your tree, I need to create them.
Only the creation trigger of this element is not a button.
An item creation trigger is dragging something from somewhere else onto your tree, and then creating a new item.
Or is your tree unable to react in any way when something is dragged onto your tree?

Or is your tree unable to react in any way when something is dragged onto your tree?

That is correct. This is because at this time it is not possible to detect events when external elements are dragged.

Here is a visual explanation:

There is a set of blocks 1, 2 and 3 (for example, add, subtract and divide functions)
We drag block 1 (with block 1 physically remaining in place) onto element 0-2 and then the text of node 0-2 changes to "I was dragged block 1!!"

It is possible to implement this, for example, add to your custom node useDrop from the react-dnd library, and add useDrag from the react-dnd library to block 1. Will it work?

I have released v3.0.0 today.
In this version, you can now drop elements outside the tree and drag & drop between trees.
See the README and samples for details.
README
https://github.com/minop1205/react-dnd-treeview#external-drag-source
Demo and Examples (Storybook)
https://minop1205.github.io/react-dnd-treeview/
(See stories below)

External element (inside react-dnd)
External element (outside react-dnd)
File drop
Text drop
Multiple tree


Mysql time to time.time conversion crashes with gorm just by adding comments????

Reading a mysql-Table with column of type time and converting it to time.time works fine with gorm when I add "parseTime=true" to the database url
Because of a legacy database and a different struct type I have to implement the Tabler interface
type SunriseSunset struct {
	ID                                    int64     `json:"id"`
	Date                                  time.Time `json:"date" gorm:"column:date_"`
	Sunrise                               time.Time `json:"sunrise"`
	Sunset                                time.Time `json:"sunset"`
	Duration                              float64   `json:"duration"`
}
// TableName set to SUNTIMES - this comment crashes the conversion
func (s SunriseSunset) TableName() string {
	return "SUNTIMES"
}

The strange thing that happens: if I write a comment for the TableName or another SunriseSunset method (or just add "//" above the method), my tests fail with
"sql: Scan error on column index 2, name "sunrise": unsupported Scan, storing driver.Value type []uint8 into type *time.Time"
If I delete the comments - everything works fine... can someone explain that behaviour?
Thanks in advance
go 1.16, gorm v1.21.6

Sorry, seems to be another problem... just adding code crashes the select and conversion... Maybe a compiler / code problem


CNIOBoringSSL compiler error on armv6 armv7 Linux using clang 3.8

I'm attempting to build SwiftNIO SSL on armv6 and armv7 Linux, but I'm running into a couple compiler errors with Swift 5.1 and Swift 5.0.1.
The issue appears to be specific to using a clang 3.8 compiler. Ideally we'd be using clang 7 (which is what ships with official Swift 5 releases), but we're currently stuck using clang 3.8 with some ARM toolchains / Linux distributions.
I've discussed this a bit with @Lukasa and it looks like an issue with BoringSSL.
Steps to Reproduce
One way to reproduce the errors is to compile SwiftNIO SSL using Docker Desktop for macOS with armv6 and armv7 base images. Docker Desktop for macOS will use qemu to emulate the architecture.
I maintain Docker images for Swift on ARM at wlisac/swift-on-balena that we can use for the base images.
Dockerfile
ARG FROM_IMAGE

FROM $FROM_IMAGE

RUN git clone https://github.com/apple/swift-nio-ssl.git

WORKDIR swift-nio-ssl

RUN swift package resolve

RUN swift build --jobs 1

armv7, Swift 5.1, Ubuntu Bionic, clang version 6.0.0-1ubuntu2
✅ Builds successfully.
docker build --build-arg FROM_IMAGE=wlisac/armv7hf-ubuntu-swift:5.1-bionic-build .

armv7, Swift 5.0.1, Ubuntu Bionic, clang version 6.0.0-1ubuntu2
✅ Builds successfully.
docker build --build-arg FROM_IMAGE=wlisac/armv7hf-swift-ubuntu:5.0.1-bionic-build .

armv7, Swift 5.1, Ubuntu Xenial, clang version 3.8.0-2ubuntu4
❌ hrss.c build error (see below)
docker build --build-arg FROM_IMAGE=wlisac/armv7hf-ubuntu-swift:5.1-xenial-build .

armv7, Swift 5.0.1, Ubuntu Xenial, clang version 3.8.0-2ubuntu4
❌ hrss.c build error (see below)
docker build --build-arg FROM_IMAGE=wlisac/armv7hf-ubuntu-swift:5.0.1-xenial-build .

armv7, Swift 5.1, Debian Stretch, clang version 3.8.1-24
❌ hrss.c build error (see below)
docker build --build-arg FROM_IMAGE=wlisac/armv7hf-debian-swift:5.1-stretch-build .

armv7, Swift 5.0.1, Debian Stretch, clang version 3.8.1-24
❌ x25519-asm-arm build error (see below)
docker build --build-arg FROM_IMAGE=wlisac/armv7hf-debian-swift:5.0.1-stretch-build .

armv6, Swift 5.1, Debian Stretch, clang version 3.8.1-24+rpi1
❌ x25519-asm-arm build error (see below)
docker build --build-arg FROM_IMAGE=wlisac/rpi-swift:5.1-build .

armv6, Swift 5.0.1, Debian Stretch, clang version 3.8.1-24+rpi1
❌ x25519-asm-arm build error (see below)
docker build --build-arg FROM_IMAGE=wlisac/rpi-swift:5.0.1-build .

Errors
hrss.c build error
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:253:41: error: cannot convert between vector values of different size ('int16x8_t' (vector of 8 'int16_t' values) and 'int')
  a = (vec_t)vshrq_n_s16(((int16x8_t)a) << 15, 15);
                         ~~~~~~~~~~~~~~ ^  ~~
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/arm_neon.h:23593:20: note: expanded from macro 'vshrq_n_s16'
  int16x8_t __s0 = __p0; \
                   ^~~~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:268:33: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    vec_t next_carry_s = a_s[i] >> 15;
                         ~~~~~~ ^  ~~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:269:12: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    a_s[i] <<= 1;
    ~~~~~~ ^   ~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:274:33: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    vec_t next_carry_a = a_a[i] >> 15;
                         ~~~~~~ ^  ~~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:275:12: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    a_a[i] <<= 1;
    ~~~~~~ ^   ~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:288:33: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    vec_t next_carry_s = a_s[i] << 15;
                         ~~~~~~ ^  ~~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:289:12: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    a_s[i] >>= 1;
    ~~~~~~ ^   ~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:294:33: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    vec_t next_carry_a = a_a[i] << 15;
                         ~~~~~~ ^  ~~
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/hrss/hrss.c:295:12: error: cannot convert between vector values of different size ('vec_t' (aka 'uint16x8_t') and 'int')
    a_a[i] >>= 1;
    ~~~~~~ ^   ~
9 errors generated.

x25519-asm-arm build error
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/curve25519/asm/x25519-asm-arm.S:56:1: error: out of range pc-relative fixup value
ldr r4,=0
^
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/curve25519/asm/x25519-asm-arm.S:57:1: error: out of range pc-relative fixup value
ldr r5,=254
^
/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/curve25519/asm/x25519-asm-arm.S:75:1: error: out of range pc-relative fixup value
ldr r7,=960
^

@wlisac oh, this is surprising. Swift stuff will actually only work correctly if the clang used is the clang that ships with Swift. Since Swift 5.0, clang should actually be shipped with Swift and it should always be the same version.
Your errors look like in the ARM toolchain the wrong clang is selected. Next to swiftc, do you have a clang binary? If yes, what's the output of /path/to/swift/usr/bin/clang -version?

@wlisac btw, it's best to never install the host distribution's clang and always use the one that comes with Swift.

@wlisac you might be seeing https://bugs.swift.org/browse/SR-10633

do you have a clang binary?

The problem is that no, on Linux/ARMv* we don't, same thing for libicu, right now the stuff from the host is being used.  I did a quick attempt at identifying the reason but couldn't understand why both are missing and not copied when needed (when SPM is being built).

@weissi yeah, hopefully we can move away from using the host system's clang in the near future, but as @uraimo mentioned this has been a non-trivial task so far on armv6 / armv7 Linux.
In the meantime, it seems like BoringSSL should still be able to compile using clang 3.8, but I totally understand if fixing this is out of scope for SwiftNIO SSL.
Unfortunately, for the time being, we're a bit stuck being unable to use SwiftNIO SSL on armv6 / armv7 devices where the host system has clang 3.8 installed.
As an aside, the aarch64 (armv8 64 bit) toolchain by futurejones/swift-arm64 does include Swift's clang and SwiftNIO SSL works as expected since https://github.com/apple/swift-nio-ssl/pull/141 was merged.

@wlisac hmm, that’s really unfortunate that Swift on ARM isn’t actually a full Swift distribution. Clang 3.8 is over 3 years old and I’m not sure where we should draw the line on what’s supported and what not. The official Swift distributions all ship a clang that matches the ClangImporter that swiftc uses internally. Mixing a very recent ClangImporter (contained in swiftc) with a 3 years old clang seems very fragile and works more by accident than by design, all the sanitizers won’t work either because they require all the compilers to be updated in lockstep.
I understand that this probably isn’t the answer you wanted to hear. Does vanilla BoringSSL work with these old clangs?
CC @Lukasa WDYT?

@uraimo ok, thanks for the explanation. Is there already a Swift bug for this? I feel we need to really fix Swift here rather than adding workarounds to NIO SSL.

Vanilla BoringSSL does not work on Clang 3.8 on armv6/armv7. This is not to say that it couldn't, just that it doesn't. My gut feel is that the BoringSSL team are unlikely to do this work themselves, but they might accept a patch that does it. That's not necessarily going to be easier than trying to bring along a better clang in Swift on ARM, in particular dealing with the ASM issue which seems fairly profound.

@weissi @Lukasa – yeah, makes sense and sounds fair to me.
For clarity, the Swift on ARM toolchains for aarch64 are full Swift distributions that include clang.
I think for now I can work around this on armv7 using Ubuntu Bionic (which has clang 6), but armv6 (Raspberry Pi Zero / 1) is probably out of luck until something changes.
Thanks for taking the time to look into this and provide input 🙂 should we close this issue?

@wlisac up to you really. It seems that the fixes need to come from the BoringSSL or Swift on armv7 teams and probably not us. But I'm also happy keeping this issue around because the title is not wrong, it just isn't in scope for us to fix.


Test out if SSR works perfectly well

It hasn't been tested well since the project start -it should work

@pkarw have you tested it?

Yes, I've tested it. It works just fine, but needs to be fine-tuned (another issue is for that)


Add arXiv vanity links to the papers

This should add links to the arXiv vanity page for the papers http://arxiv-vanity.com
It's the one thing that I've been still hoping for from arXiv-sanity.com

When I first wrote this, arxiv-vanity was still error-prone, though it generally worked. Now it's the opposite. Most arxiv articles render correctly through it.

@jasikpark Arxiv Vanity maker here! Thanks for this, it looks great.
A usability suggestion: the link should probably be “HTML” or “Web” for those who don’t know what Arxiv Vanity is. It could perhaps have a title attribute of “on Arxiv Vanity” to make it clear what is going to happen when you hover over it. Or, if there is space, the text could just be “HTML on Arxiv Vanity”.

@bfirsh is there anything else I can do to make it simple to answer whether this could be merged?

This looks good to me!

@karpathy What do you think? We get lots of requests for this from arXiv Vanity users. An email today reminded me of this issue...

arxiv vanity is still going strong, idk about this project tho - good luck and thanks for building a good tool!


ERROR: the nixpkgs input uses the non-supported Git branch nixos-23.11 for Nixpkgs

I guess just needs https://github.com/DeterminateSystems/flake-checker/pull/94 released.

D'oh! Thanks. Released and deployed.


Force self-closing tags to be manually closed tags

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Problem
I'm trying to generate XHTML ePub documents from Markdown files for my book.
However, many popular epub readers do not support self-closing tags for tags such as img (including seemingly Google Play Books).
Solution
I'd love to have a way to force a tag to be fully closed tag. This means that instead of:

Or

(using closeSelfClosing)
We'd have:

Alternatives
Alternatively, instead of having all closing tags handles, we could have a:
dontClose:  ['img']

Style API

Also, I'd be happy to implement this functionality, including testing and such. I've done some testing locally and I think it should be as simple as adding:
# This variable name/option name easily changed
if (selfClosing && ctx.explicitClode) {
    parts.push('</' + node.tagName + '>')
}

https://github.com/syntax-tree/hast-util-to-html/blob/main/lib/tree.js#L124

Hmm, I actually think this can be solved with:
voids: []

Are there any side effects of doing this that I should know about?

The output  is not needed for epub as far as I am aware. The output with closeSelfClosing, namely, , should be okay instead.
The project you are looking for, to generate XML from HTML, is https://github.com/syntax-tree/hast-util-to-xast

I didn't think it was, either, but then I started running into errors from Google Books and the official W3 Epub validator, which has consumed the rest of my evening.
Thanks for the highlight of hast-util-to-xast - this ecosystem really has everything!

I have used epubcheck, and I have never received errors using  (I interestingly actually have a lot of experience with digital books). Maybe your doctypes are wrong? Or some other epub metadata file is wrong?

Hmm, it's possible. I'm currently using html-to-epub (or rather, a fork I made that replaces Cheerio with Remark, to solve this issue) and admittedly have been doing a bit of "oh dear goodness it's 5AM now and I've been working on this for 8 hours" sledgehammer-to-a-nail naive debugging.
I seem to've solved the problems I've needed to with this approach, but I'll try to read more thru the epub spec in the "morning".

Here’s how I turned hast, that I got from markdown and a ton of custom processing, into HTML for epub:
// Utility to serialize hast as ePub XML.

import {u} from 'https://github.com/syntax-tree/unist-builder'
import {select} from 'https://github.com/syntax-tree/hast-util-select'
import {toXast} from 'https://github.com/syntax-tree/hast-util-to-xast'
import {toXml} from 'https://github.com/syntax-tree/xast-util-to-xml'
import {namespaces} from './util-namespaces.js'

export function toEpubXhtml(hastTree) {
  const html = select('html', hastTree)

  // Add the epub and ibooks namespaces.
  if (html) {
    html.properties['xmlns:epub'] = namespaces.epub
    html.properties['epub:prefix'] = 'ibooks: ' + namespaces.ibooks
  }

  // Transform to XML.
  const tree = toXast(hastTree)

  // Add the XML declaration.
  tree.children.unshift(
    u('instruction', {name: 'xml'}, 'version="1.0"'),
    u('text', '\n')
  )

  // Serialize.
  return toXml(tree)
}

util-namespaces.js
// Web + ebook namespaces.

import {webNamespaces} from 'https://github.com/wooorm/web-namespaces'

export const namespaces = {
  ...webNamespaces,
  ibooks:
    'http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/',
  opf: 'http://www.idpf.org/2007/opf',
  dc: 'http://purl.org/dc/elements/1.1/',
  container: 'urn:oasis:names:tc:opendocument:xmlns:container',
  ncx: 'http://www.daisy.org/z3986/2005/ncx/',
  epub: 'http://www.idpf.org/2007/ops'
}

Closing as hast is for HTML. There is a separate project, xast, that works with XML, and there are utilities to bridge between the two.
I believe that your problem should not be a problem, because <x /> being identical to <x></x> is an XML thing: it works in XHTML, in SVG, and in my experience in epubcheck too.
I’m pretty interested in this topic of digital books, so do let me know when you have further questions!


ChatGPT Helper

Hello,
I am using the ResolutionAutomation code for personal use and ran into a few issues. The ChatGPT helper you built is unbelievably helpful and solved my issue immediately. Would love to learn more about how you built it. My guess is through specific prompts (I read the two prompts you have in there) but would like to learn more. I'm a noob when it comes to ChatGPT (other than as a user) and would really like to learn more. Could you help me understand how you built it?
Thanks

I made the custom GPT and my instructions and the support script is public in the repo here in case you are curious how it works:
https://github.com/Nonary/ResolutionAutomation/tree/main/ChatGPT


POL-296 Migration to PF react 4

Removed the automatic code fix in attempt to make it easier to rebase when we reach the migration date.
Missing steps:

[x] Automatic code fix npx pf-codemods --fix src
[x] linter yarn lint:ts:fix
[x] Upgrade insights frontend-components-* libs

Depends on #166

This branch is ready, but #171 needs to be pushed first.


Add string notebook link to readme

Description
add string notebook to readme
General Checklist

[x] Tests added for this feature/bug
if it was a bug, test must cover it.
[x] Conform by the style guides, by using formatter
[x] Documentation updated
[x] (optional) Please add a label to your PR

Pull Request Test Coverage Report for Build 991364660

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 80.126%

Totals

Change from base Build 987124317:
0.2%

Covered Lines:
3349

Relevant Lines:
4022

💛  - Coveralls


Added test for upper fn for postgres

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@mehulumistry please run fmt one more time. Something broke when merging master.


test and validate custom serializable references can be nullable

ERROR TS2322: Type '~lib/as-lunatic/process/index/Process<i32> | null' is not assignable to type '~lib/as-lunatic/process/index/Process<i32>'.

       let buffer: StaticArray<u8> = value.__asonSerialize();
                                     ~~~~~
 in ~lib/@ason/assembly/index.ts(225,37)

Looks like value can be nullable. So we do a runtime assertion that the value cannot be null before putCustom<U>(value) is even called.
There is a test case for this now to validate that it compiles.

I could have sworn this was handled...


[DateTimePicker] dayjs locales are not picked up downstream by these widgets

What package is this for?

[x] React
[ ] Angular

Describe the bug
the dayjs locale formatting isn't working for the DateTimePicker or TimeSeriesCard widgets

To Reproduce
Strangely it works in the storybook stories of addons, but when I try to use these components with locales downstream.  Dayjs acts like the locales haven't been loaded successfully into my environment (calling dayjs.locale('fr') in the debugger is ignored and 'en' is returned.)

Please create a reduced test case in CodeSandbox:
https://codesandbox.io/s/github/carbon-design-system/carbon-addons-iot-react/tree/next/packages/react/examples/codesandbox

Expected behavior
A clear and concise description of what you expected to happen.
Environment/versions:

OS: [e.g. MacOS, Windows]
Browser: [e.g. chrome, safari]
carbon-addons-iot-react version: [e.g. v2.60.0]

Additional context
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
NB: The core contributors will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!

(should be 27/10/2021 by the way and 'oct 1' instead of 'Oct 1'.  April is even more obviously a french x-axis date)


Match Citrine's Ubuntu release

Use the same Ubuntu release as what's on Citrine.

helps https://github.com/TechEmpower/FrameworkBenchmarks/issues/5636


fix apngopt process issue

WebP does not support dispose previous, so we should not use this optimization

Because we use APNG Optimizier just for extra compress for each frame, and then use the PNG files for each frame to generate static WebP images. So we do not need waste time on any compress level.  I remove the dependency to 7z and zopli.

That test image coffee.png converted to coffee.webp now reduce size from 543KB to 533KB, I think this version of APNG Optimizier is better than old version(but also allow Windows MinGW build).
coffee.webp.zip

@Benny- You use git tag to keep release is correct. And we should always do that to keep a realse a release(Alaways get the same code whenever download).
And I think, for master branch, it's OK if you treat it as an develop branch and push directly to master. But if there are two or more feaetures or bugs developing at the sametime, we can use multiple branches such as feature_windows_support and fix_decode_bug, and then create an merge request to master to keep no more extra conflict.


added dev guide and readme link

WIP

@mesosphere-ci: retest this please

@sascala Is this still a work in progress?  Since we've deprecated the dev guide I'd like a place where people can add/update documentation.  Ok to merge and continue reorganization of pages in subsequent PRs?


Compress files between Nomad and Poseidon

Closes #227

As described in the ticket #227, we rather see this PR as a spike showing the feasibility. For now, we won't continue with this approach, but the issue is still valid and could be implemented in the future. Meanwhile, I am closing this PR.


chore: add function tests

Which issue does this PR close?
Closes #
Rationale for this change
Add testcases for existing udfs in ceresdb.

What changes are included in this PR?
Add testcases in integrated test for udfs(thetasketch_distinct and time_bucket).

Are there any user-facing changes?
None.

How does this change test
They are tests .

Good job!
I recognize we lack some documents about those UDFs when reviewing it. I'm unfamiliar with time_bucket and need to read the source to figure out what those parameters mean.

Good job!
I recognize we lack some documents about those UDFs when reviewing it. I'm unfamiliar with time_bucket and need to read the source to figure out what those parameters mean.

Yes, docs about udfs are necessary.


[Bugfix] without project the form throws an error

Description
Bugfix: Currently trying to save a DMP without a DMP connected to it, will cause the form to throw an error (trying to access project data with project null) and will cause the application to save an empty DMP. all subsequent save attempts will also create a new DMP , as the failure to load the DMP from the backend results in the ID also being empty.
What does this PR do?

This fix will only query the funding data if the project data is also available. Thus resolving the error triggered when loading the form without project.
Breaking changes

No breaking changes.
Code review focus

Please check if there are other similar potential breaking points, or if the change has any repercussions further in the workflow
Checks

[ ] Summary updated
[ ] Version view updated
[ ] Documentation added
[ ] Tests added
[ ] E2e tests created
[ ] Successfully ran e2e tests before merge

closes GH-

nevermind, the export does not work afte rthis fix, still open

Will be takebn care of by PR GH-133


bug: Doesn't start any local models after the latest update

Jan version
0.5.4 AppImage
Describe the Bug
I can't start any local models on my machine after the latest update. The previous version worked fine with various models.
Steps to Reproduce

Go to Settings
Start model (for exmp: tinillama-1.1b)
Model failed to start

Screenshots / Logs
2024-10-02T07:05:01.312Z [SPECS]::Version: 0.5.42024-10-02T07:05:01.406Z [SPECS]::CPUs: [{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":834730,"nice":9370,"sys":370970,"idle":7985930,"irq":51350}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":785930,"nice":10240,"sys":295490,"idle":8264430,"irq":34730}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":950650,"nice":8490,"sys":387840,"idle":7993180,"irq":24150}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":846580,"nice":5280,"sys":335720,"idle":8020080,"irq":23820}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":887910,"nice":6730,"sys":342210,"idle":7957790,"irq":26750}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":848830,"nice":7610,"sys":285660,"idle":8229460,"irq":17600}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":976110,"nice":4140,"sys":352530,"idle":7941260,"irq":23180}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":897820,"nice":2650,"sys":292090,"idle":8237660,"irq":17280}}]
2024-10-02T07:05:01.407Z [SPECS]::Machine: x86_64
2024-10-02T07:05:01.407Z [SPECS]::Endianness: LE
2024-10-02T07:05:01.408Z [SPECS]::Parallelism: 8
2024-10-02T07:05:01.408Z [SPECS]::Free Mem:<PHONE_NUMBER>6
2024-10-02T07:05:01.408Z [SPECS]::Total Mem:<PHONE_NUMBER>2
2024-10-02T07:05:01.408Z [SPECS]::OS Version: janhq/jan#1 SMP PREEMPT_DYNAMIC Mon Sep 30 19:30:33 UTC 2024
2024-10-02T07:05:01.408Z [SPECS]::OS Platform: linux
2024-10-02T07:05:01.408Z [SPECS]::OS Release: 6.11.1-1-MANJARO
2024-10-02T07:05:01.408Z [CORTEX]::Debug: Adding additional dependencies for @janhq/inference-cortex-extension 1.0.17
2024-10-02T07:05:01.409Z [APP]::{"notify":true,"run_mode":"cpu","nvidia_driver":{"exist":false,"version":""},"cuda":{"exist":false,"version":""},"gpus":[],"gpu_highest_vram":"","gpus_in_use":[""],"is_initial":false,"vulkan":false}
2024-10-02T07:05:10.684Z [CORTEX]::CPU information - 4
2024-10-02T07:05:10.686Z [CORTEX]::Debug: Request to kill cortex
2024-10-02T07:05:10.919Z [CORTEX]::Debug: cortex process is terminated
2024-10-02T07:05:10.920Z [CORTEX]::Debug: Spawning cortex subprocess...
2024-10-02T07:05:10.922Z [CORTEX]::Debug: Cortex engine path: /home/user/jan/extensions/@janhq/inference-cortex-extension/dist/bin/linux-avx
2024-10-02T07:05:10.922Z [CORTEX]::Debug: Spawn cortex at path: /home/user/jan/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-cpp, and args: 1,<IP_ADDRESS>,3928
2024-10-02T07:05:10.922Z [CORTEX] PATH: /tmp/.mount_jan1XIC5L:/tmp/.mount_jan1XIC5L/usr/sbin:/home/feltsi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/var/lib/snapd/snap/bin::/home/feltsi/jan/engines/@janhq/inference-cortex-extension/1.0.17:/home/feltsi/jan/extensions/@janhq/inference-cortex-extension/dist/bin/linux-avx
2024-10-02T07:05:11.034Z [CORTEX]::Debug: cortex is ready
2024-10-02T07:05:11.035Z [CORTEX]::Debug: Loading model with params {"cpu_threads":4,"ctx_len":2048,"prompt_template":"<|system|>\n{system_message}<|user|>\n{prompt}<|assistant|>","llama_model_path":"/home/user/jan/models/tinyllama-1.1b/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf","ngl":23,"system_prompt":"<|system|>\n","user_prompt":"<|user|>\n","ai_prompt":"<|assistant|>","model":"tinyllama-1.1b"}
2024-10-02T07:05:11.298Z [CORTEX]::Debug: cortex exited with code: null
2024-10-02T07:05:12.209Z [CORTEX]::Error: Load model failed with error TypeError: fetch failed
2024-10-02T07:05:12.209Z [CORTEX]::Error: TypeError: fetch failed
What is your OS?

[ ] MacOS
[ ] Windows
[X] Linux

@hiento09 Can we see if we have a Manjaro VM that we can test it on? My concern is whether we have not tested AppImage very thoroughly.

I just checked, and this is the CPU you’re using: Intel Core i7-3630QM Processor. It supports AVX, but the default Jan app with cortexcpp is using the AVX2 CPU instruction set. This is the root cause I was able to troubleshoot. Cc @dan-homebrew @louis-jan

In version 0.5.3, we used no-AVX, so it could run on almost any CPU. However, in later versions, we switched to AVX2 by default.

@louis-jan @vansangpfiev please correct me if I’m wrong. From versions 0.5.4 to 0.5.7, we still haven’t supported CPU variant detection in the Jan app. This detection will be available in the Jan x CortexCPP version, right?

@louis-jan @vansangpfiev please correct me if I’m wrong. From versions 0.5.4 to 0.5.7, we still haven’t supported CPU variant detection in the Jan app. This detection will be available in the Jan x CortexCPP version, right?

the same question...

Closing as on Jan 0.5.8, Jan now uses Cortex (and cortex.cpp) as Jan's core engine.
Cortex detects hardware on Jan's installation, and downloads the respective binary for the architecture
cortex.cpp supports multiple variants (no-AVX, AVX2, AVX512, vulkan) - see https://github.com/janhq/cortex.llamacpp/releases/

Still doesn't work (

Hi @Graninius could you please share the latest log files. I’ll look into it.

Hi @Graninius could you please share the latest log files. I’ll look into it.

Dev specs:
2024-11-15T05:43:01.869Z [SPECS]::Version: 0.5.82024-11-15T05:43:01.869Z [SPECS]::CPUs: [{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":338040,"nice":3060,"sys":150280,"idle":5106890,"irq":49660}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":283780,"nice":2170,"sys":128600,"idle":5327880,"irq":28040}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3338,"times":{"user":371680,"nice":5880,"sys":151060,"idle":5236570,"irq":8940}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3386,"times":{"user":354720,"nice":4370,"sys":125560,"idle":5174910,"irq":9440}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3346,"times":{"user":381790,"nice":4040,"sys":154990,"idle":5200580,"irq":8650}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3385,"times":{"user":347270,"nice":4450,"sys":122950,"idle":5294370,"irq":5980}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3523,"times":{"user":371900,"nice":5720,"sys":147040,"idle":5193360,"irq":13810}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3561,"times":{"user":344660,"nice":2270,"sys":132910,"idle":5293090,"irq":9890}}] 2024-11-15T05:43:01.870Z [SPECS]::Machine: x86_64 2024-11-15T05:43:01.870Z [SPECS]::Endianness: LE 2024-11-15T05:43:01.870Z [SPECS]::Parallelism: 8 2024-11-15T05:43:01.870Z [SPECS]::Free Mem:<PHONE_NUMBER>4 2024-11-15T05:43:01.871Z [SPECS]::Total Mem:<PHONE_NUMBER>0 2024-11-15T05:43:01.871Z [SPECS]::OS Version: #1 SMP PREEMPT_DYNAMIC Fri, 08 Nov 2024 22:42:46 +0000 2024-11-15T05:43:01.871Z [SPECS]::OS Platform: linux 2024-11-15T05:43:01.871Z [SPECS]::OS Release: 6.11.7-1-MANJARO

App Log:
2024-11-15T05:43:01.869Z [SPECS]::Version: 0.5.82024-11-15T05:43:01.869Z [SPECS]::CPUs: [{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":338040,"nice":3060,"sys":150280,"idle":5106890,"irq":49660}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3292,"times":{"user":283780,"nice":2170,"sys":128600,"idle":5327880,"irq":28040}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3338,"times":{"user":371680,"nice":5880,"sys":151060,"idle":5236570,"irq":8940}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3386,"times":{"user":354720,"nice":4370,"sys":125560,"idle":5174910,"irq":9440}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3346,"times":{"user":381790,"nice":4040,"sys":154990,"idle":5200580,"irq":8650}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3385,"times":{"user":347270,"nice":4450,"sys":122950,"idle":5294370,"irq":5980}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3523,"times":{"user":371900,"nice":5720,"sys":147040,"idle":5193360,"irq":13810}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3561,"times":{"user":344660,"nice":2270,"sys":132910,"idle":5293090,"irq":9890}}] 2024-11-15T05:43:01.870Z [SPECS]::Machine: x86_64 2024-11-15T05:43:01.870Z [SPECS]::Endianness: LE 2024-11-15T05:43:01.870Z [SPECS]::Parallelism: 8 2024-11-15T05:43:01.870Z [SPECS]::Free Mem:<PHONE_NUMBER>4 2024-11-15T05:43:01.871Z [SPECS]::Total Mem:<PHONE_NUMBER>0 2024-11-15T05:43:01.871Z [SPECS]::OS Version: #1 SMP PREEMPT_DYNAMIC Fri, 08 Nov 2024 22:42:46 +0000 2024-11-15T05:43:01.871Z [SPECS]::OS Platform: linux 2024-11-15T05:43:01.871Z [SPECS]::OS Release: 6.11.7-1-MANJARO 2024-11-15T05:43:01.871Z [APP]::{"notify":true,"run_mode":"cpu","nvidia_driver":{"exist":false,"version":""},"cuda":{"exist":false,"version":""},"gpus":[],"gpu_highest_vram":"","gpus_in_use":[""],"is_initial":false,"vulkan":false} 2024-11-15T05:43:02.673Z [CORTEX]:: Spawning cortex subprocess... 2024-11-15T05:43:02.675Z [CORTEX]:: Spawn cortex at path: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server 2024-11-15T05:43:02.676Z [CORTEX]:: Cortex engine path: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/avx 2024-11-15T05:43:02.676Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_jansplJ4T/usr/lib::/tmp/.mount_jansplJ4T/resources/app.asar.unpacked/shared 2024-11-15T05:43:02.677Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_jansplJ4T/usr/lib::/tmp/.mount_jansplJ4T/resources/app.asar.unpacked/shared:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin 2024-11-15T05:43:02.677Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_jansplJ4T/usr/lib::/tmp/.mount_jansplJ4T/resources/app.asar.unpacked/shared:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/avx 2024-11-15T05:43:02.677Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_jansplJ4T/usr/lib::/tmp/.mount_jansplJ4T/resources/app.asar.unpacked/shared:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin:jan-data-folder/extensions/<EMAIL_ADDRESS>2024-11-15T05:43:02.679Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan 2024-11-15T05:43:20.846Z [APP]::Process exited with code null 2024-11-15T05:43:20.846Z [APP]::Restarting process in 5000ms (Attempt 1/5) 2024-11-15T05:43:25.847Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan 2024-11-15T05:43:28.594Z [APP]::Process exited with code null 2024-11-15T05:43:28.594Z [APP]::Restarting process in 5000ms (Attempt 2/5) 2024-11-15T05:43:33.599Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan

Cortex Log:
`	"mirostat_tau" : 5.0,
"model" : "qwen2.5-0.5b-instruct-q8_0",
"model_path" : "/home/feltsi/\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438/AI_Models/qwen2.5-0.5b-instruct-q8_0.gguf",
"n_parallel" : 1,
"n_probs" : 0,
"name" : "qwen2.5-0.5b-instruct-q8_0",
"ngl" : 25,
"object" : "",
"os" : "",
"owned_by" : "",
"penalize_nl" : false,
"precision" : "",
"presence_penalty" : 0.0,
"prompt_template" : "<|im_start|>system\n{system_message}<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n",
"quantization_method" : "",
"repeat_last_n" : 64,
"repeat_penalty" : 1.0,
"seed" : -1,
"size" : 675710816,
"stop" :
[
"<|im_end|>"
],
"stream" : true,
"system_prompt" : "<|im_start|>system\n",
"system_template" : "<|im_start|>system\n",
"temperature" : 0.69999998807907104,
"text_model" : false,
"tfs_z" : 1.0,
"top_k" : 40,
"top_p" : 0.94999998807907104,
"typ_p" : 1.0,
"user_prompt" : "<|im_end|>\n<|im_start|>user\n",
"user_template" : "<|im_end|>\n<|im_start|>user\n",
"version" : "2"
}

model_service.cc:650
20241115 05:43:28.260600 UTC 40243 INFO  CPU instruction set: fpu = 1| mmx = 1| sse = 1| sse2 = 1| sse3 = 1| ssse3 = 1| sse4_1 = 1| sse4_2 = 1| pclmulqdq = 1| avx = 1| avx2 = 0| avx512_f = 0| avx512_dq = 0| avx512_ifma = 0| avx512_pf = 0| avx512_er = 0| avx512_cd = 0| avx512_bw = 0| has_avx512_vl = 0| has_avx512_vbmi = 0| has_avx512_vbmi2 = 0| avx512_vnni = 0| avx512_bitalg = 0| avx512_vpopcntdq = 0| avx512_4vnniw = 0| avx512_4fmaps = 0| avx512_vp2intersect = 0| aes = 1| f16c = 1| - inference_service.cc:111
20241115 05:43:28.260617 UTC 40243 INFO  engine path<EMAIL_ADDRESS>- inference_service.cc:119
20241115 05:43:28.263650 UTC 40243 INFO  Loaded engine: cortex.llamacpp - inference_service.cc:185
20241115 05:43:28.263682 UTC 40243 INFO  cortex.llamacpp version: 0.1.35 - llama_engine.cc:241
20241115 05:43:28.263761 UTC 40243 INFO  Number of parallel is set to 1 - llama_engine.cc:466
20241115 05:43:33.627817 UTC 40277 INFO  Host: <IP_ADDRESS> Port: 39291
main.cc:71
20241115 05:43:33.627960 UTC 40277 INFO  cortex.cpp version: v1.0.2 - main.cc:80
20241115 05:43:33.632244 UTC 40277 INFO  nvidia-smi is not available! - system_info_utils.h:128
20241115 05:43:33.634174 UTC 40277 INFO  Server started, listening at: <IP_ADDRESS>:39291 - main.cc:115
20241115 05:43:33.634188 UTC 40277 INFO  Please load your model - main.cc:117
20241115 05:43:33.634207 UTC 40277 INFO  Number of thread is:8 - main.cc:121
`

@Graninius What models have you tried running? The log doesn’t show it. The AVX supported engine seems to be activated successfully.

Oh, I suspect the model path issue? \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438

All those logs were made after clean reinstall of Jan's AppImage using Appman.
I only imported a local model qwen2.5-0.5b-instruct-q8_0.gguf as a simlink.

@Graninius Could you please try restarting the model after a few seconds? I’ve noticed an inconsistency between the model starting and the server running, which will be addressed in a hotfix next week.

I'm downloading a TinyLlama wright now from the Hub and will try to start it.

Installed TinyLlama
Cleared all the log files
Cleared extensions folder
Tried starting the model.
2024-11-15T06:11:47.441Z [APP]::Process exited with code null2024-11-15T06:11:47.441Z [APP]::Restarting process in 5000ms (Attempt 3/5)
2024-11-15T06:11:52.444Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan
2024-11-15T06:12:47.794Z [APP]::Process exited with code null
2024-11-15T06:12:47.795Z [APP]::Restarting process in 5000ms (Attempt 4/5)
2024-11-15T06:12:52.797Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan
2024-11-15T06:12:53.971Z [APP]::Process exited with code null
2024-11-15T06:12:53.972Z [APP]::Restarting process in 5000ms (Attempt 5/5)
2024-11-15T06:12:58.978Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan

Cortex Log:
"min_p" : 0.05000000074505806,
"mirostat" : false,
"mirostat_eta" : 0.10000000149011612,
"mirostat_tau" : 5.0,
"model" : "tinyllama-1.1b",
"model_path" : "jan-data-folder/models/huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf",
"n_parallel" : 1,
"n_probs" : 0,
"name" : "TinyLlama Chat 1.1B Q4",
"ngl" : 23,
"object" : "",
"os" : "",
"owned_by" : "",
"penalize_nl" : false,
"precision" : "",
"presence_penalty" : 0.0,
"prompt_template" : "<|system|>\n{system_message}<|user|>\n{prompt}<|assistant|>",
"quantization_method" : "",
"repeat_last_n" : 64,
"repeat_penalty" : 1.0,
"seed" : -1,
"size" : 668788096,
"stop" : [],
"stream" : true,
"system_prompt" : "<|system|>\n",
"system_template" : "<|system|>\n",
"temperature" : 0.69999998807907104,
"text_model" : false,
"tfs_z" : 1.0,
"top_k" : 40,
"top_p" : 0.94999998807907104,
"typ_p" : 1.0,
"user_prompt" : "<|user|>\n",
"user_template" : "<|user|>\n",
"version" : "2"
}

model_service.cc:650
20241115 06:12:53.627050 UTC 50661 INFO  CPU instruction set: fpu = 1| mmx = 1| sse = 1| sse2 = 1| sse3 = 1| ssse3 = 1| sse4_1 = 1| sse4_2 = 1| pclmulqdq = 1| avx = 1| avx2 = 0| avx512_f = 0| avx512_dq = 0| avx512_ifma = 0| avx512_pf = 0| avx512_er = 0| avx512_cd = 0| avx512_bw = 0| has_avx512_vl = 0| has_avx512_vbmi = 0| has_avx512_vbmi2 = 0| avx512_vnni = 0| avx512_bitalg = 0| avx512_vpopcntdq = 0| avx512_4vnniw = 0| avx512_4fmaps = 0| avx512_vp2intersect = 0| aes = 1| f16c = 1| - inference_service.cc:111
20241115 06:12:53.627084 UTC 50661 INFO  engine path<EMAIL_ADDRESS>- inference_service.cc:119
20241115 06:12:53.630409 UTC 50661 INFO  Loaded engine: cortex.llamacpp - inference_service.cc:185
20241115 06:12:53.630449 UTC 50661 INFO  cortex.llamacpp version: 0.1.35 - llama_engine.cc:241
20241115 06:12:53.630533 UTC 50661 INFO  Number of parallel is set to 1 - llama_engine.cc:466
20241115 06:12:59.001030 UTC 50700 INFO  Host: <IP_ADDRESS> Port: 39291
main.cc:71
20241115 06:12:59.001177 UTC 50700 INFO  cortex.cpp version: v1.0.2 - main.cc:80
20241115 06:12:59.004762 UTC 50700 INFO  nvidia-smi is not available! - system_info_utils.h:128
20241115 06:12:59.006260 UTC 50700 INFO  Server started, listening at: <IP_ADDRESS>:39291 - main.cc:115
20241115 06:12:59.006274 UTC 50700 INFO  Please load your model - main.cc:117
20241115 06:12:59.006289 UTC 50700 INFO  Number of thread is:8 - main.cc:121

Hey @Graninius please don't clear anything, just send a new message or use the regenerate button here after failed.

Also, try opening the Developer Tools (Ctrl + Shift + I) and look at the Network tab. You’ll find duplicate requests here.

App Log:
2024-11-15T06:25:22.736Z [APP]::Terminating watched process...2024-11-15T06:25:34.118Z [SPECS]::Version: 0.5.8
2024-11-15T06:25:34.119Z [SPECS]::CPUs: [{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3336,"times":{"user":558200,"nice":3430,"sys":234400,"idle":7284160,"irq":71000}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3329,"times":{"user":465040,"nice":2170,"sys":200810,"idle":7607040,"irq":43100}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3312,"times":{"user":601540,"nice":6090,"sys":231540,"idle":7468160,"irq":14110}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3330,"times":{"user":553510,"nice":4430,"sys":200060,"idle":7416130,"irq":14990}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3323,"times":{"user":594790,"nice":4360,"sys":229590,"idle":7438550,"irq":13330}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3324,"times":{"user":551560,"nice":4680,"sys":187070,"idle":7565860,"irq":9500}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3325,"times":{"user":593290,"nice":5870,"sys":237800,"idle":7409300,"irq":22930}},{"model":"Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz","speed":3324,"times":{"user":535860,"nice":2290,"sys":218260,"idle":7566500,"irq":19340}}]
2024-11-15T06:25:34.119Z [SPECS]::Machine: x86_64
2024-11-15T06:25:34.120Z [SPECS]::Endianness: LE
2024-11-15T06:25:34.120Z [SPECS]::Parallelism: 8
2024-11-15T06:25:34.120Z [SPECS]::Free Mem:<PHONE_NUMBER>4
2024-11-15T06:25:34.120Z [SPECS]::Total Mem:<PHONE_NUMBER>0
2024-11-15T06:25:34.120Z [SPECS]::OS Version: #1 SMP PREEMPT_DYNAMIC Fri, 08 Nov 2024 22:42:46 +0000
2024-11-15T06:25:34.120Z [SPECS]::OS Platform: linux
2024-11-15T06:25:34.120Z [SPECS]::OS Release: 6.11.7-1-MANJARO
2024-11-15T06:25:34.121Z [APP]::{"notify":true,"run_mode":"cpu","nvidia_driver":{"exist":false,"version":""},"cuda":{"exist":false,"version":""},"gpus":[],"gpu_highest_vram":"","gpus_in_use":[""],"is_initial":false,"vulkan":false}
2024-11-15T06:25:34.975Z [CORTEX]:: Spawning cortex subprocess...
2024-11-15T06:25:34.976Z [CORTEX]:: Spawn cortex at path: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server
2024-11-15T06:25:34.976Z [CORTEX]:: Cortex engine path: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/avx
2024-11-15T06:25:34.976Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_janbpivzq/usr/lib::/tmp/.mount_janbpivzq/resources/app.asar.unpacked/shared
2024-11-15T06:25:34.977Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_janbpivzq/usr/lib::/tmp/.mount_janbpivzq/resources/app.asar.unpacked/shared:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin
2024-11-15T06:25:34.977Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_janbpivzq/usr/lib::/tmp/.mount_janbpivzq/resources/app.asar.unpacked/shared:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/avx
2024-11-15T06:25:34.977Z [CORTEX] LD_LIBRARY_PATH: /tmp/.mount_janbpivzq/usr/lib::/tmp/.mount_janbpivzq/resources/app.asar.unpacked/shared:jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin:jan-data-folder/extensions/<EMAIL_ADDRESS>2024-11-15T06:25:34.978Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan
2024-11-15T06:25:48.356Z [APP]::Process exited with code null
2024-11-15T06:25:48.356Z [APP]::Restarting process in 5000ms (Attempt 1/5)
2024-11-15T06:25:53.361Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan
2024-11-15T06:30:45.572Z [APP]::Process exited with code null
2024-11-15T06:30:45.572Z [APP]::Restarting process in 5000ms (Attempt 2/5)
2024-11-15T06:30:50.577Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan
2024-11-15T06:39:38.386Z [APP]::Process exited with code null
2024-11-15T06:39:38.386Z [APP]::Restarting process in 5000ms (Attempt 3/5)
2024-11-15T06:39:43.391Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/feltsi/jan
Cortex Log:
"min_p" : 0.05000000074505806,
"mirostat" : false,
"mirostat_eta" : 0.10000000149011612,
"mirostat_tau" : 5.0,
"model" : "tinyllama-1.1b",
"model_path" : "jan-data-folder/models/huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf",
"n_parallel" : 1,
"n_probs" : 0,
"name" : "TinyLlama Chat 1.1B Q4",
"ngl" : 23,
"object" : "",
"os" : "",
"owned_by" : "",
"penalize_nl" : false,
"precision" : "",
"presence_penalty" : 0.0,
"prompt_template" : "<|system|>\n{system_message}<|user|>\n{prompt}<|assistant|>",
"quantization_method" : "",
"repeat_last_n" : 64,
"repeat_penalty" : 1.0,
"seed" : -1,
"size" : 668788096,
"stop" : [],
"stream" : true,
"system_prompt" : "<|system|>\n",
"system_template" : "<|system|>\n",
"temperature" : 0.69999998807907104,
"text_model" : false,
"tfs_z" : 1.0,
"top_k" : 40,
"top_p" : 0.94999998807907104,
"typ_p" : 1.0,
"user_prompt" : "<|user|>\n",
"user_template" : "<|user|>\n",
"version" : "2"
}

model_service.cc:650
20241115 06:39:38.039362 UTC 56133 INFO  CPU instruction set: fpu = 1| mmx = 1| sse = 1| sse2 = 1| sse3 = 1| ssse3 = 1| sse4_1 = 1| sse4_2 = 1| pclmulqdq = 1| avx = 1| avx2 = 0| avx512_f = 0| avx512_dq = 0| avx512_ifma = 0| avx512_pf = 0| avx512_er = 0| avx512_cd = 0| avx512_bw = 0| has_avx512_vl = 0| has_avx512_vbmi = 0| has_avx512_vbmi2 = 0| avx512_vnni = 0| avx512_bitalg = 0| avx512_vpopcntdq = 0| avx512_4vnniw = 0| avx512_4fmaps = 0| avx512_vp2intersect = 0| aes = 1| f16c = 1| - inference_service.cc:111
20241115 06:39:38.039398 UTC 56133 INFO  engine path<EMAIL_ADDRESS>- inference_service.cc:119
20241115 06:39:38.042748 UTC 56133 INFO  Loaded engine: cortex.llamacpp - inference_service.cc:185
20241115 06:39:38.042795 UTC 56133 INFO  cortex.llamacpp version: 0.1.35 - llama_engine.cc:241
20241115 06:39:38.042902 UTC 56133 INFO  Number of parallel is set to 1 - llama_engine.cc:466
20241115 06:39:43.412723 UTC 58652 INFO  Host: <IP_ADDRESS> Port: 39291
main.cc:71
20241115 06:39:43.412889 UTC 58652 INFO  cortex.cpp version: v1.0.2 - main.cc:80
20241115 06:39:43.416305 UTC 58652 INFO  nvidia-smi is not available! - system_info_utils.h:128
20241115 06:39:43.417964 UTC 58652 INFO  Server started, listening at: <IP_ADDRESS>:39291 - main.cc:115
20241115 06:39:43.417999 UTC 58652 INFO  Please load your model - main.cc:117
20241115 06:39:43.418017 UTC 58652 INFO  Number of thread is:8 - main.cc:121

With great pleasure! 😊

Oh. Can you try sending a message after seeing these rows appear?

Ah help me click the Response Tab to see the request response

For which identifier? For all of them with errors: No data found

oh I see, thank you. Let us investigate on this

The engine crashes on run, as discussed. @vansangpfiev

Hi @Graninius, we’ve tried to fix a couple of model run issues in the latest version 0.5.10. Could you please try it out and let us know if the issue persists?

Hi @Graninius, we’ve tried to fix a couple of model run issues in the latest version 0.5.10. Could you please try it out and let us know if the issue persists?

Unfortunately, the issue still persists ( I tried to start a TinyLlama (downloaded from the Hub) and Qwen2.5-0.5b (imported), but I had no success...