Tornado F5 (MSI 16L13) not working

Issue
Hi! I tried a bunch of times to use msi-keyboard command and gui, but it doesn't seem to work on my laptop (I have a barebones MSI model 16L13, which I believe is the base of a MSI GT62VR). How can I do further testing to see if it would be possible to make it work? Thank you! I'm pretty sure I do have a SteelSeries keyboard, as it looks the same as any other SS keyboards I've seen pictures of.
System versions:
nodejs: 6.9.4
npm: 3.10.10
libusb: <IP_ADDRESS>-1

Can you post the output of this:
var HID = require('node-hid');
var devices = HID.devices();
console.log(devices);

Here's the result:
[ { vendorId: 6000,
productId: 65280,
path: '0001:0002:00',
serialNumber: 'MSI EPF USB',
manufacturer: 'MSI EPF USB',
product: 'MSI EPF USB',
release: 272,
interface: 0 },
{ vendorId: 1133,
productId: 49257,
path: '0001:0004:00',
manufacturer: 'Logitech',
product: 'USB Laser Mouse',
release: 22017,
interface: 0 } ]

That is fine. What happens when you try to use the GUI, are there any errors in the dev console? CTRL+Snift+i

All the console shows is this:
/home/mrx/msi-klm/msi-keyboard-gui/dist/app/node_modules/react-dom/lib/ReactDOM.js:73
Download the React DevTools and use an HTTP server (instead of a file: URL) for a better development experience: https://fb.me/react-devtools

What is the error causing the program to not work, does it show the controls?

The program controls show properly, everything looks like it should work, but nothing happens, my keyboard doesn't light up. Same when using the command line. No errors outputted in the shell, but nothing happens either.

Did you turn up your keyboard LED hardware switch? fn + NUMPAD_MINUS

Yes. But it never turned the LEDs on to start with. Is it possible that it's my keyboard that's defective? I guess I should install Windows to test it out.

If it did not turn them red (default) then there may be an issue with the keyboard, or your BIOS. I am running windows/linux with legacy, non UEFI.

Yes, I am also running Linux with legacy. But I'm not running Windows. I'll see if I can make a USB stick with Windows on it and boot on that, see if I can get the LEDs to light up.
Also, I think my BIOS isn't a stock BIOS from MSI, but a custom BIOS from Eurocom (different motherboard and desktop components).

Yeah, there should not be any reason why it won't work. Let me know how it goes. Also try restarting to your BIOS and seeing if you can turn on the leds while it is in boot-mode. On an earlier MSI (maybe bios) you needed to enable the lights in windows first, then reboot to linux.
I have not had that issue with the ghost 60 or the gt60.

I already checked all the BIOS options (first thing I did!), but there was nothing for the LEDs or keyboard backlight.
But enabling the LEDs in Windows first would make a lot of sense. I don't have time to do it right now, but I'll make a Windows Live USB either later today or sometimes during the weekend and report back.

Just wanted to reassure you I haven't forgotten, I've just been very busy. But I still intend to let you know how it goes.

Alright, I ended up just installing Windows to see if it would work. It didn't. You were right, my keyboard's backlight is broken. Thanks for your help, and sorry for taking your time when the solution was so obvious.

No worries, I hope you can get a RMA.

Yes, I'm sure I can. Not sure if it's worth it tho.
On Jan 16, 2017 15:39, "Steve Lacy"<EMAIL_ADDRESS>wrote:

No worries, I hope you can get a RMA.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/stevelacy/msi-keyboard-gui/issues/25#issuecomment-272986345,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX73Yv0-XBaXVxhRWgrODa-XzwAqdzZCks5rS_-6gaJpZM4Lioh6
.


Class not found issue when adding the API Properties

Description:
After adding API properties it gives the following error when publishing the API to the gateway. Can follow up the document[1][2] to reproduce the issue.
[1]https://apim.docs.wso2.com/en/latest/reference/customize-product/extending-api-manager/extending-gateway/customizing-api-template-for-gateway/
[2]https://apim.docs.wso2.com/en/latest/reference/customize-product/extending-api-manager/extending-gateway/writing-custom-handlers/#writing-a-custom-handler
Also, the link of Writing a custom handler is an invalid one. Should navigate to the link[2] mentioned above.

Closing as this works with the compatible versions of synapse and gateway


"Check consistent" do not recognize path relative to base path (vault path)

Attachments links relative to vault path will be recognized as broken link

Such links are considered invalid. This is done on purpose, because, the plugin promotes the idea that all links should be relative. For example, if you upload notes to github, links relative to the base path will not work either.

Use the "Convert all link paths to relative" function to make all links relative.

I thought it would be easier to manage attachment using link relative to base path, when I move markdown. I do not need to update link. But it is less compatible.
You are right, using tools to update link may be a better choice.
It helps, thank you.

I thought it would be easier to manage attachment using link relative to base path, when I move markdown. I do not need to update link. But it is less compatible.
You are right, using tools to update link may be a better choice.
It helps, thank you.


[camera_web] cameraNotReadable error prevents access to the camera on some Android devices

Steps to Reproduce

Run the camera example app on Motorola G8 Plus or Galaxy S21.
An error is thrown while attempting to load available cameras (cameraNotReadable).

Expected results:
Cameras load correctly and are displayed in the available camera devices.
Actual results:
No camera devices are available.
Based on the feedback from comment 1 and comment 2.

Issue is reproducible using this link on android but not iOS.
Thanks for the PR @bselwe.

 screenshots


[Bug]:  Failed to launch the browser process!

Minimal, reproducible example
My docker file:

FROM node:18-slim
RUN npx puppeteer browsers install chrome
ENV PUPPETEER_CACHE_DIR='/root/.cache/puppeteer/chrome/linux-129.0.6668.100/chrome-linux64/chrome'
COPY dist/build /app/build -- copying build artifact
WORKDIR /app/build
EXPOSE 8080
USER 1000
CMD ["node","index.js"]

const browser = await puppeteer.launch(
{
headless: true,
executablePath: /root/.cache/puppeteer/chrome/linux-129.0.6668.100/chrome-linux64/chrome,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
});

Background
No response
Expectation
Successfully launch puppeteer browser
Reality
Error:
/root/.cache/puppeteer/chrome/linux-129.0.6668.100/chrome-linux64/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
Puppeteer configuration file (if used)
No response
Puppeteer version
23.5.1
Node version
v21.1.0
Package manager
yarn
Package manager version
4.3.1
Operating system
Linux

Does your image include required dependencies (for this particular error libgobject is missing)? https://pptr.dev/guides/system-requirements Also, consider using the image we provide at https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer / https://github.com/puppeteer/puppeteer/blob/main/docker/Dockerfile

After adding system-requirement. Its working
RUN apt-get update && apt-get install -y --no-install-recommends
# Install glibc and required libraries
libc6
# Install GTK+ 3.14 or higher
libgtk-3-0
# Install libglib 2.42 or higher
libglib2.0-0
# Install libstdc++ 4.8.1 or higher
libstdc++6
# Install X.Org 1.7 or higher and related libraries
xserver-xorg-core
x11-xkb-utils
xfonts-base
xfonts-100dpi
xfonts-75dpi
x11-utils
x11-xserver-utils
libxext6
libxrender1
libx11-xcb1
libxcomposite1
libxrandr2
libxcursor1
libxdamage1
libxtst6
libasound2
libnss3
ca-certificates
fonts-liberation
libatk1.0-0
libatk-bridge2.0-0
libdbus-glib-1-2
&& rm -rf /var/lib/apt/lists/*


Not working with Cloudflare workers - cannot be invoked without 'new'

Describe the bug
I am trying to use tsyringe in hono app for dependency injection but i am getting below error. Let me know if you need any more info.
wrangler:inf] Ready on http://localhost:8787
✘ [ERROR] service core:user:app: Uncaught TypeError: Class constructor BookController cannot be invoked without 'new'

    at null.<anonymous> (index.js:3844:23) in class_1
    at null.<anonymous> (index.js:3791:18)
    at null.<anonymous> (index.js:3798:6) in InternalDependencyContainer2.construct
    at null.<anonymous> (index.js:3544:25) in InternalDependencyContainer2.resolve
    at null.<anonymous> (index.js:3948:30)

✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.

To Reproduce
https://github.com/himanshu-ntml/hono-tsyringe
Expected behavior
It should work fine with the wrangler dev
Version: 4.8.0

I am having this issue as well. is there any fix for this?


Tap to click on trackpad calls hold action rather than tap action

For any feature request you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/feature-requests
For any question you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/q-a
Describe the bug
A minor bug - on a laptop (or tablet with keyboard) you can enable tap to click for the trackpad. If you do this and tap, rather than calling the tap action, it calls the hold action. If you click down on the trackpad, it calls tap action as expected. The behaviour is the same on Chrome and Firefox (didn't test other browsers). I also only tested on sub-buttons.
To Reproduce
Steps to reproduce the behavior:

Create a sub-button with both tap and hold actions (but different to each other).
Enable "Tap with a single finger to single-click" (in Windows - Settings > Devices > Trackpad)
Tap the sub-button and see the hold action is called rather than the tap action.
Fully click down with the trackpad on the sub-button and the tap action is called.

Expected behavior
A tap on the trackpad should call the tap action, not the hold action.
Screenshots
If applicable, add screenshots to help explain your problem.
YAML
If applicable, add any relevant YAML code.
Your code here

Informations (please complete the following information):

OS: [e.g. iOS] Windows or iOS
Browser/App: [e.g. chrome, safari] Chrome or Firefox
Bubble Card version: [e.g. 2.0.4] v2.2.4
Home Assistant version: [e.g. 2024.6.4] 2024.9.1

Additional context
Add any other context about the problem here.
Thank you! 🍻

Hi! I've just released a new beta that might fix your issue, give it a try and tell me if it's fixed 🤞
https://github.com/Clooos/Bubble-Card/releases/tag/v2.3.0-beta.3

Yes it does seem to be fixed - thanks. That version also changes the appearance of sub-buttons that are lights to indicate brightness - will you be including a changelog to list the changes? I recently changed all my dashboards to use bubble card, so am keen to keep on eye on enhancements. Great card btw!

Glad that it's fixed! And what do you mean? I add a changelog for each release.

It's probably that I don't know where to look then - I assumed there'd be a CHANGELOG.md file in the root.

No, I just add the changelog in the release, like here:
https://github.com/Clooos/Bubble-Card/releases/tag/v2.3.0-beta.3

Ah, many thanks. Github used to have "Releases" in the tabs at the top, but they moved it a few years ago and so I forget about that possibility.


Add an update_all action to the mac_app_store resource

Go to updates tab, click the 'UPDATE ALL' button.
wait_for(:button, ancestor: app_store.main_window.web_area, title: 'UPDATE ALL')

Firmware updates will pop up a warning window and continue button.
app_store.dialog.sheet.button(title: 'Continue')

Note that the popup leads to the web_area becoming inaccessible.
app_store.main_window.web_area

RuntimeError: accessibility messaging failure. Perhaps the application is busy or unresponsive?

And then, of course, updates that result in reboots become an issue. :\
Maybe, it could only run when no updates require a reboot? Or click the Update buttons individually?

Difficulty: The app descriptions and associated 'UPDATE' buttons don't share any parent container. There are no grouped row elements like there are on the Purchases page. They're all their own children under the page's web_area.
Other potentially important pieces:
The Updates page itself:
as.main_window.web_area.description
"Updates"

Button present if there are updates available that require a newer OS X:
as.main_window.web_area.button(title: 'Show Incompatible App Updates'

Upgrade button at the top of the Updates page when a new OS X is available:
as.main_window.web_area.children[3].children[0].button(description: 'Free Upgrade')

The 'Restart Required' label underneath an app update:
as.main_window.web_area.static_text(value: 'Restart Required')

The 'UPDATE' button next to an individual app:
as.main_window.web_area.button(description: 'Install all available Software Updates')

Done by #31


Add rockspec file for luarocks

add rockspec file
update readme

PS Also, now you may submit the package to luarocks.org.

Bug in rockpec


Update CONTRIBUTING.MD

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] New feature or enhancement
[ ] UI change (please include screenshot!)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[X] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Quality check
Before creating this PR:

[ ] Did you follow the code style guideline as described in CONTRIBUTING.md
[ ] Did you build the app and test your changes?
[ ] Did you check for accessibility? On Windows, you can use Accessibility Insights for this.
[ ] Did you verify that the change work in Release build configuration
[ ] Did you verify that all unit tests pass
[ ] If necessary and if possible, did you verify your changes on:

[ ] Windows
[ ] macOS (DevToys 2.0)
[ ] Linux (DevToys 2.0)

DevToys 1.0 isn't maintained. Working on 2.0 at the moment.


HA guide for kubeadm:

Extends the guide @jamiehannaford created by a section on setting up keepalived for on-site setups.
/cc @luxas @timothysc @fabriziopandini

This change is

cla/linuxfoundation — mbert needs CLA

Done.

/cc @jamiehannaford

Just noticed that the tab navigation I meant to introduce does not work. Trying to fix this now.

/assign @jbeda @jamiehannaford

/assign
assigning to myself to get merged when y'all are done tech reviewing. @mbert heads up: I'd like to tackle some copyedits here after tech review. We're trying to get better compliance with the style guide for new content :-)

Looks reasonable to me from a technical point of view.  There are many ways to skin this cat and VRRP and keepalived is one way. I'd like to have something that makes that a little more clear.
(@Bradamant3 I'm unclear if I lgtm or approve here or what but consider me signed off)

Review status: 0 of 1 files reviewed at latest revision, 3 unresolved discussions.

docs/setup/independent/high-availability.md, line 408 at r2 (raw file):
Previously, detiber (Jason DeTiberus) wrote…
I think it is really important that we make sure to not implicitly endorse or prescribe a certain solution here.

Done.

docs/setup/independent/high-availability.md, line 412 at r3 (raw file):
Previously, mattkelly (Matt Kelly) wrote…
and supposedly many others: This wording feels a bit strange to me, especially without citing any evidence of other people testing with other versions. Changing the sentence to something like this would be more clear IMO:
The configuration shown here has been tested with version `1.3.5` but is expected to work with many other versions.

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

Comments from Reviewable

I'm forcing the merge irregardless of reviewable discussions that damn button thinks it has pending


SDK: Upgrade the minimum required Kubernetes version to v1.27.2

What this PR does / why we need it:
As we discussed here, I upgraded the minimum required Kubernetes version to v1.27.2 for the SDK.
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #
Checklist:

[ ] Docs included if any changes are user facing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 35.293%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4376

Relevant Lines:
12399

💛  - Coveralls

/assign @andreyvelich @johnugeorge


KAFKA-3765; Kafka Code style corrections

Removed explicit returns, not needed parentheses, corrected variables, removed unused imports
Using isEmpty/nonEmpty  instead of size check, using head, flatmap instead of map-flatten

@ijuma Please take a look.thanks.

thanks for the review @ijuma updated, please check.thanks.

Thanks for the PR @rekhajoshm. It's mostly fine although I still see many examples where size was changed to length for arrays. We don't have a rule or guideline that arrays should use length instead of size in Kafka, so it would be better to remove those changes.
Also, can you please update the PR title to follow our convention as described here https://cwiki.apache.org/confluence/display/KAFKA/Contributing+Code+Changes? Something like:

KAFKA-3765; Kafka Code style corrections

Finally, the PR description doesn't have to repeat the PR title and please update it so that it doesn't include "using slength where optimum instead of size".

done, please check.thanks @ijuma
Where it fits, length over size in scala, as size needs additional implicit conversion to SeqLike, length can provide significant performance advantage.However as you called out, scala doc does not have a clear guideline on that, hence updated as per your review comment.thanks.

Thanks for the PR, LGTM. Merging to trunk.
With regards to the Array.size, note that the implicit conversions rely on value classes (i.e. they extend from AnyVal), so there should be no object creation as of Scala 2.10 (it was different in Scala 2.9.x).

thanks @ijuma


proxy.toString blocks getting names of function parameters

I wonder if this code is really needed? I found that it breaks reading names of functions parameters (like here). I use some DI container that parses function definition string and because of that, I can test my modules only when I wrap spy in pure function.
let spy = chai.spy('justSpy');

annotatedFn(() => spy());

expect(spy).to.have.been.called.once();

So I can live with that, but I just wonder if anything can be improved.

Hey @erykpiast thanks for the issue.
get-parameter-names is a huuuge hack, and the Spec gives no guarantee that the function's toString() will return parameter names. This would be valid according to the spec:
Function.prototype.toString = () => ':('

Therefore you cannot rely on the functionality of Function.prototype.toString().
On the other hand, the proxy.toString() method provides something that is useful within the test context which would be a shame to see go. Also, we're not the only spies library that does this.
For these reasons, I feel like we're in a good place, and while I understand it might cause some frustrations - I think proxy.toString() is here to stay. As such, I'm going to close this issue. If you strongly disagree though, and want to continue to make a case for dropping it, please feel free to do so and I'll re-open the issue :smile:.

Hey, thank you for your response!
Of course, I know this method is really hacky, but, well, it's also very simple to use and comfortable ;) No need for annotations transpilers etc. ideal for testing purposes at least!
I really don't want to argue if you say this feature is essential, but could you show me, how anyone can benefit from that? I have no idea, really, and I'm really curious :D

It is useful for diagnostics - whenever the Spy is logged, say, console.log(myfn) or within many inspection tools such as node's util.inspect - it will come up with the toString() value.
I guess we could have the best of both worlds, by making our proxy.toString() be something like:
proxy.toString = function () {
    var l = this.__spy.call.length;
    return '// Spy ' + (this.__spy.name || '') + ', ' + l + 'call' + (l > 1 ? 's' : '') \n' + fn.toString();
}

That way we call the underlying functions toString(), but keep useful diagnostic information. For example:
function Bar(bar) { return bar; }

let spy = chai.spy(Bar);

expect(spy.toString()).to.equal(
    `// Spy Bar, 0 calls
    function Bar(bar) { return bar; }`
);

Thoughts on this?

I guess it won't help arguments parsers at all (maybe with some modifications on their side...), but looks like a nice improvement for use cases you mentioned.
Anyway, interesting, I didn't even think that I can log entire function and get useful information during debugging!

@keithamus what is the reasoning under to reopen this?

@stalniy I think we could improve spy.toString() to be closer to what we have above;

function Bar(bar) { return bar; }

let spy = chai.spy(Bar);

expect(spy.toString()).to.equal(
    `// Spy Bar, 0 calls
    function Bar(bar) { return bar; }`
);


Sync up the collection information with Chromebook app

In the latest beta apps, the windows collection is different from the chromebook's, such as the featured channels and the new addded channel are not seen the Windows's one.
The collection needs to be updated and sync with the one we used in Chromebook.

StarNight
Notice the build scripts:
Windows app: Use the latest release version of endless-key-collections https://github.com/endlessm/endless-key-app/blob/v6.31.2/.github/workflows/main.yml#L103-L109
Chromebook app: Use main branch's latest commit of endless-key-collections https://github.com/endlessm/kolibri-installer-android/blob/4bab8c8c92c0ba1b6ce9b748a2845b92407f9153/Makefile#L142-L145
erikos
So there are some unreleased changes in the collections, if the Windows app pulls in the released collections information that would explain the difference.
erikos
See the latest changes from Heather where she added a fourth featured channel; https://github.com/endlessm/endless-key-collections/commit/6b88342e513e0e24e0772c7c3cebcf1801a8f975
erikos
So that is expected.
StarNight
catching latest modification is the expected one!

I stumbled upon this ticket again today:

https://github.com/endlessm/kolibri-explore-plugin/issues/610

So rather than building the collections into the app, we would fetch them from the web at runtime. I have advocated for this in the past. The problem with that is that in the Endless OS version of the app, we plan to preinstall the content but also run the welcome flow and allow the user to choose their content pack. This wouldn't cause anything to be downloaded, but would adjust what is shown on the Discovery tab.

The other interesting quirk here is: if we change the Chrome OS app to only use the released version of endless-key-collections, it becomes much harder to test changes to the collections without releasing them…

Endless Key app (Windows) v6.32.3 is under MS store's review now.  Will be available on the Alpha Test Flight later.

Verified Passed i v<IP_ADDRESS>


Patch from Sumedh:

Changes proposed in this pull request
Fix for SNAP-1671: 'show tables in app' query doesnot list sample table.
Fix for SNAP-1655: support for boolean in row tables
Patch testing
Precheckin done.
@soubhik-c Please confirm testcase for 1655 is working fine.
@spillai14 Please confirm testcase for 1671 is working fine.
ReleaseNotes changes
No
Other PRs
https://github.com/SnappyDataInc/snappydata/pull/644

@kneeraj you should take a look because the patch originated from me.

lgtm. a minor clarfication.

@kneeraj There is a test ColumnEncodersTest in SNAP-1389 branch which checks boolean types (https://github.com/SnappyDataInc/snappydata/commit/d5829691a5be123f9f6960410fee8fcf47682972). Can copy here too.


Uptime-Kuma API to add services monitoring

⚠ Please verify that this feature request has NOT been suggested before.

[x] I checked and didn't find similar feature request

🏷 Feature Request Type
API
🔖 Feature description
An API which can be used by docker services to add themselves to the status dashboard. (Or maybe docker flags?)
(For example a complete mailstack built in docker).
✔ Solution
Docker Services will add themselves during the initial initialisation (or boot) of uptime-kuma via the API.
Plus the option to automatically add them to the status dashboard after added via API.
❓ Alternatives
Manually add them to the monitoring and the dashboard
📝 Additional Context
No response

Duplicate

Check out this repo! https://github.com/MedAziz11/Uptime-Kuma-Web-API

https://github.com/lucasheld/uptime-kuma-api


Add support for better-sqlite3

See https://github.com/JoshuaWise/better-sqlite3

Hi @kibertoad any news about this? I can open a PR to add support to better-sqlite3 or replace sqlite3 with this one.

@jarcodallo PR would be greatly appreciated! Separate dialect would be preferable, similarly to mysql/mysql2 ones.

@jarcodallo PR would be greatly appreciated! Separate dialect would be preferable, similarly to mysql/mysql2 ones.

Awesome @kibertoad. I will start working on this next week 🚀

Any news?

Any news?

I'm working on it 😬

Ideally with all the extra flags it supports:
this._db.pragma('cache_size = -' + mem); //
console.log('cache', this._db.pragma('cache_size', { simple: true }));
this._db.unsafeMode(true)
this._db.pragma('busy_timeout=' + 120 * 1000); // 2 minutes
this._db.pragma('mmap_size=' + mem); //
this._db.pragma('synchronous=OFF');
	this._db.pragma('journal_mode=OFF'); // MEMORY or WAL
	this._db.pragma('SQLITE_THREADSAFE=1');
	this._db.pragma('SQLITE_OMIT_SHARED_CACHE=true');

	this._db.pragma('wal_checkpoint=TRUNCATE'); // release memory used for rollback
	this._db.pragma('temp_store=MEMORY');
	this._db.pragma('automatic_index=false');
	this._db.pragma('foreign_keys=false');
	this._db.pragma('secure_delete=false');
	this._db.pragma('read_uncommitted=true'); // no locking
	this._db.pragma('cache_spill=false');
	this._db.pragma('locking_mode=NORMAL'); // 3rd party connection,  NORMAL or EXCLUSIVE
	console.log('locking', this._db.pragma('locking_mode', { simple: true }));

Just wanted to throw in my support for this feature. I've had a lot of trouble with sqlite3 (outside of knex) over the years so having another option for those times I need an sqlite database would be great.

@jarcodallo how is it going with the PR?

@jarcodallo I would be happy to help with finishing the PR if you have it half-done already

So I've picked up working on some of this in my spare time to kick this back off again. I've duplicated the entire dialect for sqlite3 so far, as there is some differences, and thought that that extending the sqlite3 dialect is just going to cause some pain when eventually it's removed as it's no-longer maintained, but if we'd rather extend or replace the driver underneath the sqlite3 dialect then that option is there too.
I've duplicated the unit test suite from sqlite3 also, so we get some pretty good coverage, and just working through the failures. About 50% is green right now.
One question I have @kibertoad maybe you know of some utility that can help here - one difference between node-sqlite3 and other SQL engines and better-sqlite3 is that in integration tests we might execute some raw SQL which in integration tests might be written like this: SELECT * FROM table WHERE id="hardcodedvalue". This fails with better-sqlite3 as it should be ='hardcodedvalue'. Is there some form of utility that already exists that can safely replace the quotes without impacting in the wrong places?

Hoping to have a PR realistically by the end of the week.

@benjdlambert sqlite3 is going to be there for a long time to come for backwards compatibility reasons, I strongly recommend extending and not duplicating it.
Not aware of quote utility, need to check. Probably will need to wtite one ourselves.

@kibertoad ok - no probs at all, I can do that pretty easily once I've got things working.

@kibertoad @benjdlambert sorry guys this month was pretty busy for me. I couldn't finish my PR, but I was doing something similar as @benjdlambert want it to do. Let me know if you need help with that.

I've just thrown a draft PR up with the progress so far. It's coming along, I think there's around 10 tests that are failing right now, some are pretty trivial to fix and are just the error messages, some are a little more tricky to fix which is I think it something to do with the bindings not all being supported types. But i'll get as far as I can with it and might need a little help getting it across the line @kibertoad or anyone else that could jump in a help out.

Released in 1.0.1.


Error when .value is used within computed property

I discovered this nasty bug which I've reproduced here: https://jsfiddle.net/qc26pb4k/2/. With your console open, press "Show". This will trigger the computed being observed, and it will resolve. Then press "Hide". This unmounts a react component, which "unobserves" the computed async value.
It will throw a very cryptic mobx error [mobx] Invariant failed: INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row. It seems like it only happens when .value is used in a computed property. For some reason, unobserving the computed property triggers onBecomeUnobserved twice. Weird.
Also, I apologize for the copy/pasted computed-async-mobx code--it was the only way I could get it running in a fiddle.
(This might actually be a mobx bug, let me know what you think).

This is definitely funky. Might be a subtle MobX bug. I wrote a test to make it easier to reproduce in development:
test("inComputed", (assert: test.Test) => {
    useStrict(strictness);

    const o = observable({ x: 0, y: 0 });
    const r = computedAsync<number>({
        init: 0,
        fetch: () => o.x + o.y
    });

    class Test {
        @computed get val() {
            return r.value;
        }
    }

    const t = new Test();

    // Observe the nested computed value
    const stop = autorun(() => t.val);

    assert.equal(t.rc, 0);

    // This throws an error
    stop();
});

It seems to be trigged by my tearing down an internal autorun synchronously when my atom tells me to. If I delay this to a future event loop tick then it's okay:
    private sleep() {

        const monitor = this.monitor;
        this.monitor = undefined;

        if (monitor) {
            setTimeout(() => monitor, 1); // instead of just calling monitor();
        }
    }

However, this subtly changes the time at which various transitions occur, and my existing tests go haywire because they try to check every movement of the busy property. This is probably a lot fussier than they need to be.
So I need to rethink the tests entirely. I should be able to make them run a lot faster, for one thing, instead of using delay (which is bound to be indeterminate and flakey). It will probably take a few days for me to have much time to look at this though.

Cool, that definitely fixes the problem for my use case. That solution seems a little hacky though--why can't mobx dispose the inner autorun synchronously?

This is now fixed properly by the new implementation in 2.0.0.


[Suggestion] Add anoms with bulk import

It'd be nice if the bulk import feature would also add the number, type and date of anoms instead of people having to write that into the info field by hand, which many don't do.

Would it be more usefull if signatures page would have summary:
combat anoms: 13
ore anoms: 3
combat sigs: 5
data sigs: 6
wormholes: 3

Personally I don't see point of addind this to info page. Though system popup could contain info "SIGS: 16, ANOMS: 15, POS: 3, PILOTS: 5"

I was thinking of such a feature for the system popup too, seeing a summary per sig categories may be nice.

I'd be pretty indifferent as to where exactly that information would be displayed. It's just very nice to see at first glance which and how many anoms are in a system. At the moment, either no information is added to the mapper, it's old or it doesn't have a date (or some weird date formatting :P).

So is your ptoblem that anomalies are not listed in the signatures page? Did you copy and paste them from the scanner window?

Okay, I've just realized that if you bulk import combat/ore anoms they get listed with the anomalies. I think this https://i.imgur.com/vHDro0c.png could be solved better. I know there are 25 combat anoms in Bacon but I have no idea how recent that information is. If people enter the number of anomalies at all.
It'd be nice to see the number of anoms plus date into the head of the info page maybe. Auto purge after maximum lifetime of wormhole.

Currently you can find the information by hovering over signature/anomaly on signatures page. Though I agree something should be done on this area.
ews could even check what data/relic sites are combat sigs and then report somewhere "combats: 10+4" where 10 is combat anomalies and 4 are combat data and relics. We need to keep in mind that people live also in systems that have null data and relic sites ;)


[Component Proposal] Side Panel

What package is this for?

React

Summary
The side panel keeps users in the context of a page while they do tasks such as navigating, editing, viewing details, or configuring a resource by using a slide-in, inline, or slide-over side panel.
Variations required

[ ] Slide-in
[ ] Inline
[ ] Slide-over

Available resources
PAL guidelines & Specs →
Link to sketch file →

Graphite already possesses a similar control, making the priority of this story in PAL lower. I will create a design reconciliation story in Graphite to update to the new pattern (mainly, the position of the action icons and close button)

Let's create a PAL component for this, and then replace the Graphite React control, as it seems to have issues. I want to make sure the z-index on this component can be hooked into the Graphite z-index manager.

Depended on by https://jsw.ibm.com/browse/GRAPHITE-43371


Custom changes

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

please disregard and delete this PR, was trying to merge into our forked repo


Don't pass EF to chroma

Description:

Recently Chroma rolled out a breaking change on the way we handle embedding functions, in order to support multi-modal collections.
This broke the way LangChain's Chroma objects get created, because we were passing the EF down into the Chroma collection: https://docs.trychroma.com/migration#migration-to-0416---november-7-2023
However, internally, we are never actually using embeddings on the chroma collection - LangChain's Chroma object calls it instead. Thus we just don't pass an embedding_function to Chroma itself, which fixes the issue.

Should fix #13061 #13051

it breaks the manual chroma_instance._collection.add

The _collection property on the Langchain Chroma object shouldn't be accessed directly. Can you please share your use-case?

I was calling _collection._add to pass custom data, I have already changed it and its working.
But doc also mention the direct use of _collection https://python.langchain.com/docs/integrations/vectorstores/chroma
maybe doc need to be changed then.

pip uninstall chromadb -y && pip cache purge && pip install chromadb==0.3.18


feat: add cloud-hypervisor/cloud-hypervisor

cloud-hypervisor/cloud-hypervisor: Cloud Hypervisor is an open source Virtual Machine Monitor (VMM) that runs on top of KVM hypervisor and Microsoft Hypervisor (MSHV)
cloud-hypervisor/cloud-hypervisor/ch-remote: Remotely control a cloud-hypervisor VMM
$ aqua g -i cloud-hypervisor/cloud-hypervisor
$ aqua g -i cloud-hypervisor/cloud-hypervisor/ch-remote

Use aliases only for keeping the compatibility
https://aquaproj.github.io/docs/reference/registry-style-guide/#use-aliases-only-for-keeping-the-compatibility

Thank you for your contribution.

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.13.0


Error:(44, 0) Gradle DSL method not found: 'android()'

Error:(44, 0) Gradle DSL method not found: 'android()'

I make some mistake


Circular Primes Kata Improvements

@rgordeev Good job!

@rgordeev I think it will be cool to keep 2 variants. But Kata is too simple to have performance tests except run multiplie times on big initial data. I think list conversion will add some overhead.


Dark background for TOC

This is awesome, thanks for working on this Panagiotis! Not sure if this is the right place, but I was wondering if the "Edit or run this notebook" button could also get a little TLC?

I'd be happy to start a PR for this to get the ball rolling if it doesn't require too much Pluto magic 🪄

hmmmmmm but this is using Pluto's internal CSS variables! Weren't you the one who told me that widget authors surely won't use those and create their own CSS variables?

@icweaver well spotted! That button is part of Pluto itself, but it is a bit difficult to work on because ~you can only see it on the export output, which uses Pluto's CSS from the last release... You either have to set up a local file server to replace the pluto CDN while developing (or you just~ okay I decided to just quickly fix this instead :) https://github.com/fonsp/Pluto.jl/commit/111960219770272ff8c1a700f1f894bf50348db9

hmmmmmm but this is using Pluto's internal CSS variables!
yes!

I said that widget authors can override those while using them on their own styles! Take a look at this, where I do exactly that :)

Was hoping to bump this. It looks so good!


strg-c doesnt work anymore after call to matplotlib

When started from a console (on linux), ctrl-c wont abort the (c++) program anymore. I think, the python interpreter catches it but doesnt execute it.
On exit it states:
Exception KeyboardInterrupt in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Anyway to restore the controls after matplotlib was used and is finished?

What version of python are you using?  And did it work OK in the past with Python 2.x?
I have the same issue.  I'm on OSX using Python 3.7.7.
I stumbled upon this Python bug which might be relevant.  Maybe this isn't a matplotlib-cpp or matplotlib issue but something inside Python itself:
https://bugs.python.org/issue38428
There are several mentions around the Internet of similar problems but not a solution that I could find.

Python 2.7 on Ubuntu. I normally don't use python so I dont know whether I would have the same issue with other python programs.

Python's all new to me too.  I'm just using it, and this nice library, because of the graphs!


Feature/sip 998 renamed package

Description
Changed package names for the test-kit from "de.ikor.sip.testframework" to "de.ikor.sip.foundation.testkit".
There is also a small change - moving ENDPOINT_ID_EXCHANGE_PROPERTY constant.

Closing this one since the original branch (feature/SIP-945_TFW_migration) had a lot of commits in it which left us with a lot of conflicts. Made a new one from the fresh branch: https://github.com/IKOR-GmbH/sip-framework/pull/78


Minor: Document timestamp with/without cast behavior

Which issue does this PR close?

Closes #.
Rationale for this change
The behavior of casting timestamps to/from timezones is quite subtle and I spent quite some time testing them out in the context of https://github.com/apache/datafusion/issues/10602
Thus I thought it would be good to document this behavior in the arrow crate itself so I don't have to do that next time (and hopefully) others can benefit from it as well.
What changes are included in this PR?
Document, with examples, what happens when one casts timestamp with timezone to/from timestamp without timezone
Are there any user-facing changes?
Documentation. No changes to code

CI  integration is failing due to https://github.com/apache/arrow-rs/issues/5815


Fix conflicst for #154

Describe in detail the problem you had and how this PR fixes it
Fixes conflicts for https://github.com/codercom/code-server/pull/154
Is there an open issue you can link to?
N/A

@creativeguy2013 @kylecarbs fixed the conflicts

Don't make this a PR to this repo. The lock changes you made should be merged into my repo and then merged into the codercom master.

@creativeguy2013 added PR into your repo


[AKS] az aks update: Add --network-dataplane option

Related command
az aks update --network-dataplane=cilium
Description
Add the --network-dataplane flag to the az aks update command. This will allow customers to update an existing cluster to enable Azure CNI Powered by Cilium
Note to reviewers: this is the same change I made to the preview CLI in https://github.com/Azure/azure-cli-extensions/pull/6446
Testing Guide
# Create a cluster with Azure CNI overlay
az aks create -g <resourcegroup> -n <name> --network-plugin=azure --network-plugin-mode=overlay

# Update the cluster to enable Cilium
az aks update -g <resourcegroup> -n <name> --network-dataplane=cilium`

History Notes
[AKS] az aks update: Add --network-dataplane option

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

AKS


This is not a git repository

Describe the bug
When I try to rename my app, i gave me: This is not a git repository
To Reproduce
Steps to reproduce the behavior:

create a new project
install react-native-rename
run npx react-native-rename "NameApp" -b "bundle"

Expected behavior
I want to change the name and package of my app, but i can't
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

operating system: Windows 111
npm version: 8.14.0
node version: 16.16.0
react-native-rename version: 3.2.10
react-native version: 0.71.1

Additional context
Add any other context about the problem here.

Hi @criss02-cs, please refer to this comment https://github.com/junedomingo/react-native-rename/issues/173#issuecomment-1374331270

Hi @criss02-cs, please refer to this comment #173 (comment)

because i renamed with cmd i got an error, This is not a git repository. i followed this instruction, i opened github app, created new repo with this directory. then i opened git app, cd to app directory and ran react-native-rename and rename it properly.
i think, good if you add this to readme.md


Ban Room Spams

On your tc bot how would i add where it autobans tinychat urls? ppl keep spamming my room i want any tinychat.com/blablah auto banned

Hi @Webx123
I've currently stopped updating the TC bot,
But if I get time this week I will add it so URL's can be banned too,
I may just add it to banned strings or do a new function so it'll ban any tinychat URL being posted.

Hi @Webx123
Please update the tinybot.py file and use command badword url
You do not need to add the http:// or https:// as it will ban the url even if you add without them.

ohh so tinychat.com would add tinychat.com/anyroomname

Hi @Webx123
I never tested on just tinychat.com but give it a try and let me know if it works,
But added the specific room works,
example:
badword tinychat.com/anyroom
badword tinychat.com/anotherroom
the way it's set now is it doesn't matter where the URL is posted in a sentence it will still be banned, The same goes for any words you have added to the file too.

wouldnt adding tinychat.com as a badword do it then? anytime tinychat.com is posted it bans

I never tested it, Just give it a try and see if it works

Hello. Thanks alot for the bot man. It works very well and its helpful. Just quick 2 things I'am curious about: 1) I have no issue running this on windows 10 with python 2.7; however, on ubuntu 16.04 i installed the pip modules with python2.7 instead of python3 and for some reason bot always says its missing handlers and runs error. 2) Lastly, I know regular users cannot issue mod commands (thank god); however the room I moderator I don't own. Is there a way I could give a specific account mod control so it can execute mod commands without having a star?


Add ability to fail on console errors

Hi,
This Pull-Requests adds browser-console error-checking to the test-runner. To have this as a command-line parameter is much easier than having to eject the configuration.
The feature is non-breaking implemented. Not providing --checkConsole should keep functionality as-is.
Hopefully you'll consider merging this Pull-Request..
Thanks in advance!

Hey @work933k I love this contribution. Thank you so much! I worked a little on top of it to make sure the errors are properly logged, that we test this in CI as well as renamed it to failOnConsole so that it tells its intent more directly. Maybe in the future people will request to be able to define levels of failures e.g.

only on errors
warnings (+errors)
log (+warnings, +errors)

But for now only errors makes sense to me! Thanks once again <3


No Intellisense while debugging

There is no Intellisense in the Interactive window or editor when you are debugging

[confirm, still repro]

From #282, this is due to GetCommandCompletionList still trying to execute cmd in runspace, which has already been put a state that returns "only available for nested pipeline". Only debugging command can be sent to runspace to executed at this point.


Add feature_selection to included pkg

Add feature selection to included packages.
Found some issues with some of the tests and so revamped tests as a consequence.

I fixed sklearn_example by setting upper boundary of apache-beam in requirements
Broke down CI test to run individually per project instead of all at once. This reduces chances of blocking changes due to unrelated breakage.
Removed the pre-commit that added license files (it was mostly just annoying).

Fixes #160

@rcrowe-google  you may need to merge this before you merge the pandas project unfortunately (I had to fix up stuff from CI and ended up overengineering it a bit)


(PUP-3341) use the proper manifest with puppet apply and ENC

Make puppet apply use the ENC environment, as discussed on the dev list.

I reworded the formerly ambiguous comment.

PR Triage Notes:

@joshcooper to review

Ping @joshcooper

@ffrank sorry, I haven't had time to review, will make time this week in preparation for next week's triage.

@joshcooper have you had time to review this yet?

@joshcooper @kylog Ping. Would be awesome to get a final thumbs up on this

So I think I understand this stuff well enough now to make a call without holding this up on a senior dev having time to review. I'm :+1: here

@joshcooper it looks like we're about to merge this. We'll give you a few days to make any last minute comments, and if we don't hear anything negative, we'll go ahead and merge this.

@joshcooper  have you had a change to look over this again?

@joshcooper annoying ping from PR triage :)

I've talked this over with @joshcooper, and except for rebasing it looks ready to merge.

@ffrank sorry it took so long to get this merged. Thanks again for your contribution, it should be released in Puppet 4.2.


Don't raise error on date_fee_paid validation

The field is now not validated until date_received is a valid date.
The error message on date_received field is not ideal, because if the format is incorrect, it simply says "The application must have been made in the last 3 months". We should create a new card to improve that message in case of an incorrect date.
The date_validator would work well in case of being used with ActiveRecord, which provides ...before_type_cast methods. But because we're only using ActiveModel and Virtus, that gem doesn't work as expected. But I think we can achieve similar thing maybe using a custom Virtus coercer or so.

LGTM :+1:

Merge when ready.


Fails to build with React-Native 0.52

react-native run-android gives
:CrosswalkWebView:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:CrosswalkWebView:compileReleaseJavaWithJavac
:CrosswalkWebView:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/user/dev/tests/crosswalk-test/node_modules/react-native-webview-crosswalk/src/main/java/com/jordansexton/react/crosswalk/webview/CrosswalkWebViewPackage.java:26: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: /Users/user/dev/tests/crosswalk-test/node_modules/react-native-webview-crosswalk/src/main/java/com/jordansexton/react/crosswalk/webview/CrosswalkWebViewGroupManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/user/dev/tests/crosswalk-test/node_modules/react-native-webview-crosswalk/src/main/java/com/jordansexton/react/crosswalk/webview/CrosswalkWebViewGroupManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:CrosswalkWebView:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':CrosswalkWebView:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Problem can be reproduced in demo project

I have the same problem (0.5.0)

btw, Android 4.4 (KitKat), the WebView component is based on the Chromium so you may not need this implementation at all. It is not the case for iOS, where wkwebview has much better performance


use leveldb put funciton, Normal in mac, exception in linux

just use put function,
leveldb::Slice sliceKey = std::to_string(key);
leveldb::Slice sliceValue = std::to_string(value);
leveldb::Status status = mdb->Put(leveldb::WriteOptions(), sliceKey, sliceValue);
status.ok()  is always true. but leveldb file isn't worked.

run the same program in my mac is ok, generate all ldb files.

I think problem in compacting,  env set error?

I think there is a problem with how you are constructing key and value:

leveldb::Slice sliceKey = std::to_string(key);

std::to_string(key) returns a temporary string.  The leveldb::Slice object just points into that std::string.  At the end of the statement, the string is destroyed and the leveldb::Slice object now points into deleted memory.
See the following comment from slice.h:
// Slice is a simple structure containing a pointer into some external
// storage and a size.  The user of a Slice must ensure that the slice
// is not used after the corresponding external storage has been
// deallocated.
I think you need something like:
std::string strKey = std::to_string(key);
std::string strValue = std::to_string(value);
... Put(options, strKey, strValue);
Also, try running your code using something like address sanitizer.  That will point out problems like this one.

ok, thks


Option to show date by default

Small feature request: an option to have window display the expanded date view by default would be great. A number of times I've talked about the date in-game and my players have been none the wiser until I tell them to click the window to show the date. 😁

Thought about this for a while, but I don't think it'll be worth the extra UI and setting to accommodate, sorry.


Implement schema support

Adds basic schema support, plus fixes many smaller issues.

There are 242 changed files in this PR, which makes it a bit unwieldy to review. Some (most?) of the changes appear to be non related to schema support, or is that just me?
It would be better if we split this PR into two, one for the formatting/small issues changes and one for the new functionality.

There are 242 changed files in this PR, which makes it a bit unwieldy to review. Some (most?) of the changes appear to be non related to schema support, or is that just me? It would be better if we split this PR into two, one for the formatting/small issues changes and one for the new functionality.

Valid point, and discussed with Richard as well last week, but not something we can do much about at this stage.


CLN: no return on init

__init__ shouldn't return anything

its odd that nothing borks at this, e.g. python itself, linter. what showed this issue ?

@jreback yeah, I think it's just like returning None.
No tool caught it actually - just saw it as I was updating PRs. Surprised lint didn't.


Support Dump Type 0x4?

parser -a C:\windows\Minidump\072224-10718-01.dmp
Unsupported type MiniDump (0x4).
The header looks wrong.
ParseDmpHeader failed.
Parsing of the dump failed, exiting.

Could you share how you generated that dump file please?
Cheers

it was a minidump from windows BSOD as a result of CS

Thank you!


Modification for vim.h

Don't have to define __USE_XOPEN and should not do such symbol starting with double-underscore manually.
Android does not need _XOPEN_SOURCE for strptime.

Codecov Report

Merging #5322 into master will decrease coverage by 0.45%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5322      +/-   ##
==========================================
- Coverage   82.24%   81.79%   -0.46%
==========================================
  Files         134      134
  Lines      147573   147573
==========================================
- Hits       121371   120704     -667
- Misses      26202    26869     +667

Impacted Files
Coverage Δ

src/gui_gtk_x11.c
48.96% <0%> (-9.2%)
:arrow_down:

src/gui.c
58.37% <0%> (-5.42%)
:arrow_down:

src/ui.c
68.98% <0%> (-3.43%)
:arrow_down:

src/gui_gtk.c
28.57% <0%> (-2.89%)
:arrow_down:

src/os_unix.c
60.91% <0%> (-2.59%)
:arrow_down:

src/highlight.c
77.92% <0%> (-2.39%)
:arrow_down:

src/buffer.c
82.76% <0%> (-2.34%)
:arrow_down:

src/misc2.c
86.07% <0%> (-1.21%)
:arrow_down:

src/testing.c
88.81% <0%> (-1.17%)
:arrow_down:

src/if_xcmdsrv.c
84.56% <0%> (-1.08%)
:arrow_down:

... and 31 more

Continue to review full report at Codecov.

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


[FIX] incorrect Japanese translations

These Japanese translations are weird and incomprehensible.

many thanks @chokkan - these translations were auto-generated so they would definitely benefit from somebody that understands the languages better.


ofdpa: fix issues found during collection of table sizes

Fix two issues found while collecting resulting table sizes:
Trident 2(+) only supports assigning up to 3 memory banks to L3, trying
to assign all of them will cause SDK to fail initialization:
Apr 27 09:45:27 agema-ag7648 ofdpa[3683]: The specified l3_mem_entries (278528) exceeds 208K
Fix this by reserving one bank for L2 when using the MAX_L3 alloc mode.
Trident 3 X3 (Helix 5) models other than BCM56370 were not recognized as
supported, causing the code to not do anything on e.g. EPS202
(AS4630-54PE).
Fixes: 8af944e ("ofdpa: allow setting l2/l3 memory allocation mode")
Signed-off-by: Jonas Gorski<EMAIL_ADDRESS>Signed-off-by: hilmar.magnusson<EMAIL_ADDRESS>

Only merge after binary has been built

This commit has been moved to #31


Dot-notated paths passed to the useProperty become invalid when reaching for a key past a nullable key

Describe the bug
Dot-notated paths passed to the useProperty composable are valid only until a nullable key is reached.
Reproduction
https://github.com/nhedger/hybridly-useProperty-issue
Steps to reproduce
Create the following data objects.
<?php # app/Data/GlobalProperties.php

namespace App\Data;

use Spatie\LaravelData\Data;

class GlobalProperties extends Data
{
    public function __construct(public readonly SecurityData $security) {}
}

<?php # app/Data/SecurityData.php

namespace App\Data;

use Spatie\LaravelData\Data;

class SecurityData extends Data
{
    public function __construct(
        public readonly ?UserData $user,
        public readonly string $test,
    ) {}
}

<?php # app/Data/UserData.php

namespace App\Data;

use Spatie\LaravelData\Data;

class UserData extends Data
{
    public function __construct(
        public readonly ?int $id,
        public readonly string $name,
        public readonly string $email,
    ) {}
}

Try accessing any key on the user
Try accessing any key on the user and see that it produces TypeScript error TS2345.
// TS2345: Argument of type '"security.user.id"' is not assignable to parameter of type 'Path '.
const name = useProperty('security.user.id');

// TS2345: Argument of type '"security.user.name"' is not assignable to parameter of type 'Path '.
const name = useProperty('security.user.name');

// TS2345: Argument of type '"security.user.email"' is not assignable to parameter of type 'Path '.
const name = useProperty('security.user.email');

System information
System:
    OS: macOS 13.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 4.99 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.3.0 - ~/Library/Caches/fnm_multishells/40931_1677913160299/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.2.0 - ~/Library/Caches/fnm_multishells/40931_1677913160299/bin/npm
  Browsers:
    Firefox: 110.0.1
    Safari: 16.2
  npmPackages:
    hybridly: link:../hybridly/packages/hybridly => 0.1.0-alpha.2

Used package manager
npm
Logs
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Hybridly issue and not an issue related to something else (Vite, Vue...). For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

I believe that the following two problems need to be solved:

The type of the path should be fixed in a way that it traverses the whole target type, regardless of nullable keys.

The return type of useProperty should be either the type of the final fragment (e.g. SecurityData when using useProperty('security')) or a union of undefined and the type of the last fragment if there were any nullable keys in the chain (e.g. undefined|string) when using useProperty('security.user.name').

For the first problem, I've come with the following solution:
--- a/packages/vue/src/composables/property.ts	(revision 62d1293548e994cd2e997c6aa64e178526f54b9b)
+++ b/packages/vue/src/composables/property.ts	(revision e5df3f34973aff49e94ca5dd521b565782abc98e)
@@ -41,10 +41,10 @@

 type PathImpl<T, K extends keyof T> =
 	K extends string
-		? T[K] extends Record<string, any>
-			? T[K] extends ArrayLike<any>
-				? K | `${K}.${PathImpl<T[K], Exclude<keyof T[K], keyof any[]>>}`
-				: K | `${K}.${PathImpl<T[K], keyof T[K]>}`
+		? NonNullable<T[K]> extends Record<string, any>
+			? NonNullable<T[K]> extends ArrayLike<any>
+				? K | `${K}.${PathImpl<NonNullable<T[K]>, Exclude<keyof NonNullable<T[K]>, keyof any[]>>}`
+				: K | `${K}.${PathImpl<NonNullable<T[K]>, keyof NonNullable<T[K]>>}`
 			: K
 		: never


Extend binary target tests to multiple arches

In #2812, I updated the logic to support other architectures than just x86_64, but I did not update the tests. This extends the existing testBinaryTargets with the missing coverage.

@swift-ci please smoke test


Can’t burn disc | Video returned by Youtube isn’t what was requested

Minecraft version 1.20.4
Server Core: Paper
Tested on versions 1.0.5, 1.0,4.
Disc search works perfectly, but burn not at all. (YES I issued it with disc in my hand)

latest.log

Use prerelease of the lavaplayer addon: https://github.com/plasmoapp/pv-addon-lavaplayer-lib/releases/tag/1.0.8

Fixed in pv-addon-discs v1.0.6 with pv-addon-lavaplayer-lib v1.0.8


Passing Keplerian orbital parameters to limb_dark.light_curve()

Previously, the limb darkened light curve (similar to exoplanet's syntax) could be passed in a KeplerianOrbit, without instantiating a Central object or Body object (which is more similar to starry's syntax). Is this still possible with the current version of jaxoplanet? I see that a System can be passed to limb_dark.light_curve(), but in this case I assume any Surfaces are ignored in favor of the limb darkening parameters passed to the function, which feels a bit awkward.

Thanks for asking! The plan is to eventually deprecate the limb_dark.light_curve() function once all the starry/Surface stuff gets moved out of experimental. For now, none of the orbits within core support surface maps, so the only way to use those are via the limb_dark interface.

At the end we kept the limb darkened case separated from the fully non uniform case. As you suggest, surfaces are ignored when using jaxoplanet.light_curves.limb_dark. Do you think a warning would help?


Add Embree 4.3.0

Add Embree 4.3.0

No release archive URL available - please add skip-url-stability-check tag

@fmeum Please review again. There was a linker error. Fixed now. BTW: Here is a test rendering using Embree 4.3.0:

@fmeum Please review again. Again a test rendering using Embree 4.3.0:


Incorrect highlight for Noice's command/search floating window

Hey, I have noticed that there is highlighting issue with border and caret  of Noice's cmd window when solid_line_nr is set to true:

With it set to false you get expected result:

I just pushed some highlighting groups for noice.
By default they are linked to DiagnosticSignInfo where it gets the background color from.

Looks very good, thank you! Closing.


Set up ~/.fontman folder.

Find ~/.fontman folder, and create it with 755 perm if it does not exist.

Looks good to me.


Plugin's config data is not dynamically loaded

Based on my findings and discussion with Bo Yang, Bluemix is loading the config data for a given plugin at  plugin install time and thereafter only uses those initially loaded values. So there is no opportunity to use/load config values that are dynamic/dependent on where the service itself is running since that data would be available at bx cs init time.
Use Case
Wanda is a Cloud company in China that IBM has signed a contract with to deliver the Cloud solution to for Wanda to sell as its own. There are a specific set of services that are included in the Wanda contract, Container Service being one of them. Hence, we need the ability to rebrand our container service. This means we need the ability to replace phrases like IBM 'IBM Bluemix`, etc with phrases that are provided by Wanda. The replacement focus is on the areas that are exposed to the end user - one of these areas being the CLI messages, including the --help messages.
Many other services will also have this need that are included in the Wanda contract.
Options I see are as follows -

Provide the ability to update the plugin metadata after its been installed. This might be the most flexible.

Allow plugins to specify a config file with the rebranding information for the plugin that is uploaded along with the plugin binary to the bluemix cli repo. This would allow us to provide a config file for IBM if its being uploaded to the IBM Bluemix repo or provide a Wanda config file if the plugin is being uploaded for the Wanda repo.

@boyang9527 FYI ^ Also, see option 1 above - we did not discuss but wanted you to give it some thought as well....

we would like to go with option 2 but give an interface for plugin to retrieve the cloud config ... so you don't need to care how and where it is stored.


Temporal flamegraphs

I'm leaving off the news and docs for now, as I'd still like to do some more refactoring here (possibly putting this under a new subcommand, rather than putting it under a flag for the existing flamegraph reporter).
I should probably add some automated tests as well... but other than that, this should be in a reviewable state.

@pablogsal Since you've started looking at this, I pushed one commit as a fixup that corrects some minor issues noticed while testing, rather than force pushing fixes to code you've already started reviewing.
We'll need to make sure to apply the fixup before landing this.
Anyway, there's tests now! 🥳

Anyway, there's tests now! 🥳

Ah, but someone forgot to signup the commits :P

One thing I noticed, we should change the title in the flamegraph because right now it shows:

The force push I just did should address the new concerns you raised, plus some minor things I noticed: the unnecessary vector copy, our help button text not mentioning the sliders, our title not including "(memory leaks)", and the warning about generating the report without tracking Python allocators not showing up.

Whoops, one more force push - I missed updating TemporalAllocationRecord to not be a subclass of AllocationRecord in the extension module's type stubs.

Whoops, one more force push - I missed updating TemporalAllocationRecord to not be a subclass of AllocationRecord in the extension module's type stubs.

Which also surfaced another type warning. I just shut it up with a # type: ignore, since that's code that I plan on refactoring as soon as we land this PR.

And then, just for fun, I rebased on main. 😂


Fix bug in the functions "test_single_ex_unitary_operations" and "test_double_ex_unitary_operations"

Context:
This PR fixes a bug in the unit tests test_single_ex_unitary_operations and 'test_double_ex_unitary_operations. This is very simple fix but a very important one as it allows to test correctness of the entire set of quantum gates applied for building the UCCSD ansatz.
Description of the Change:
Add a loop in functions test_single_ex_unitary_operations and test_double_ex_unitary_operations in the module test_subroutines.py.
Benefits:
Improves significantly the robustness of the unit tests.
Possible Drawbacks:
None
Related GitHub Issues:
None

Not much to complain about  . The only thing I would perhaps do differently would be converting things to lists and use all() if lists are not too long. This way, pytest could provide some helpful hint when things fail. But again it could perhaps also do it with assert in a loop like what you are doing here, I'm not sure.

Thanks Zy.!


Version 1.5.0-beta issues 1.4 warnings?

I've installed typescript 1.5.0-beta locally and globally. If I run the gulp.task listed below, warnings are issued suggesting tsc version 1.4 is executed.
One example of such warning/error is:
ts/DOMIO.ts(236,13): 1153 'let' declarations are only available when targeting ECMAScript 6 and higher.
When I run tsc on the command-line (v1.5.0-beta) there are no warnings/error. I seems that when running the gulp-typescript task, another tsc version is executed. As far as I am aware there is no 1.4 version on my system anymore.
Below I've listed some fragments.
Is there a way to determine which tsc gulp-typescript is executed?
gulpfile.js
gulp.task('build', function() {
    var tsProject = tsc.createProject('tsconfig.json');
    var tsResult = tsProject.src()
                            .pipe(tsc(tsProject));

    return tsResult.js
                   .pipe(sourcemaps.write('.'))
                   .pipe(gulp.dest('./dist'));
});

tsconfig.json
{
    "compilerOptions": {
        "target": "es3",
        "declaration": false,
        "noImplicitAny": false,
        "removeComments": true,
        "noLib": false
    },
    "filesGlob": [
        "./**/*.ts",
        "!./node_modules/**/*.ts",
        ...
    ],
    "files": [
        "./dst/htmlparser2.d.ts",
        ...
    ]
}

See the readme. gulp-typescript doesn't use the tsc command but uses the typescript api that is installed locally.

Thanks for your response. I've read the readme, but I specified the typescript version wrongly. This works:
gulp.task('build', function() {
    var tsProject = tsc.createProject('tsconfig.json', {
        "typescript": require('typescript')
    });
    var tsResult = tsProject.src()
                            .pipe(tsc(tsProject));
    return tsResult.js
                   .pipe(sourcemaps.write('.'))
                   .pipe(gulp.dest('./dist'));
});

Thanks again.


Assign Limited Control services to a Team/Group

Is your feature request related to a problem? Please describe.
We use gitlab ci/cd pipelines to publish stacks to docker. However, different teams are responsible for difference services in docker swarm. Because the stacks were created outside of portainer, we cannot assign them to the actual teams responsible for them to start/stop/alter replicas/view logs etc.
Describe the solution you'd like

To be able to use com.portainer labels on a service to indicate which team to assign resource visibility to when it finds unmanaged / limited-control resources.
To be able to assign limited control resources such as Stacks via Portainer UI, making them Total controlled.

Additional context
Currently the process to assign ownership to a team is to remove it from swarm, perform a dummy deployment from Portainer, and then re-trigger the CI pipeline to re-deploy. This is not acceptable in production.

Hey @chrisbecke, we've updated our documentation.
It's available here: https://documentation.portainer.io/v2.0/access/outofportainer/
Give it a go! I'll close this issue for now but we can continue the discussion in here if needed.


No Indicators in some results

Some point queries don't return indicators alongside temp/precip information.
Examples:
https://northernclimatereports.org/report/59.83/-129.13#results
https://northernclimatereports.org/report/community/YT71#results
https://northernclimatereports.org/report/community/BC589#results
Is there a longitudinal limit to indicator availability?
Points at similar latitudes but more westerly longitudes work fine:
https://northernclimatereports.org/report/community/BC443#results
https://northernclimatereports.org/report/community/YT73#results
https://northernclimatereports.org/report/58.71/-134.11#results

I checked the 3 locations above against one of the TIFs from the indicators dataset, and it does appear that they are just outside of the spatial domain:


Crashing due to Water Damage - IllegalAccessError

Game crashes when touching water as the Enderian Origin in 1.19.4
It gives the message shown below as an error.

From what I saw on the full report, the game crashes due to water damage ticks despite me being in Creative. I couldn't find a way to fix it anywhere.

Updating your Fabric API fixes this issue. :)
Sorry for any inconvenience this caused!
On Wed, 7 Jun 2023, 21:20 VexInLimbo, @.***> wrote:

Game crashes when touching water as the Enderian Origin in 1.19.4
It gives the message shown below as an error.
[image: image_2023-06-07_161851020]
https://user-images.githubusercontent.com/32753052/244174164-eaa78d69-1f7f-42c4-b1a0-b2c1f3c865db.png
From what I saw on the full report, the game crashes due to water damage
ticks despite me being in Creative. I couldn't find a way to fix it
anywhere.
—
Reply to this email directly, view it on GitHub
https://github.com/apace100/origins-fabric/issues/666, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALWSQSUWBCRIVBTHNB6OP3LXKDIBLANCNFSM6AAAAAAY6JX7HY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[WIP] feedback

Coverage increased (+0.2%) to 83.672% when pulling 41d5254957b76ac841b3f11f22cc959a7564269f on sunny4381:sbt-3-22 into f19485f8fff1ed10b6f9bac832dfff34a825a672 on shirasagi:master.

Coverage increased (+0.2%) to 83.68% when pulling 85021918aa5b0a85d81bf0388dc51e97b6b0efaa on sunny4381:sbt-3-22 into f19485f8fff1ed10b6f9bac832dfff34a825a672 on shirasagi:master.

Coverage increased (+0.2%) to 83.678% when pulling bf0cafca1e83e857aa8df97157d115b351073165 on sunny4381:sbt-3-22 into f19485f8fff1ed10b6f9bac832dfff34a825a672 on shirasagi:master.


gateway timeout for layers with millions of features

Describe the bug
I get a gateway timeout error when trying to open a connection to a service layer with millions of features.
To Reproduce
library(arcgislayers)

file.path(
  "https://hydro.nationalmap.gov",
  "arcgis/rest/services",
  "NHDPlus_HR/MapServer/3"
) |> arc_open()

gives the error:
Error in `httr2::req_perform()`:
! HTTP 504 Gateway Timeout.
Run `rlang::last_trace()` to see where the error occurred.

Expected behavior
Return object of class FeatureLayer.
Additional context
The specific data source is the USGS National Hydrography Dataset (High Resolution). Layer is (3) NetworkNHDFlowline.

library(arcgislayers)

file.path(
    "https://hydro.nationalmap.gov",
    "arcgis/rest/services",
    "NHDPlus_HR/MapServer/3"
) |> arc_open()
#> <FeatureLayer>
#> Name: NetworkNHDFlowline
#> Geometry Type: esriGeometryPolyline
#> CRS: 3857
#> Capabilities: Data,Map,Query

Created on 2023-12-27 with reprex v2.0.2


Generating internal links with citeproc

A feature request: generate bibliographies using pandoc-citeproc (going from .md to .pdf via latex/xelatex) that provide internal links like the hyperref and backref options do in the biblatex package, all without having to generate a .tex file first and creating the PDF from that.

This is done (as of 3944dce01725ebe5f007ac2a7d2bb74b472b1b8e).


Add silicom.dk and silicom.com domains to RBAC permissions.

The special resource operator needs permissions to add to the silicom.dk and silicom.com domains so the operators' CRD can be created.

/assign @zvonkok

/ok-to-test


import src/components in server

Hi,
I want to use preact components in server.js instead of ssr-build. Is it possible to use preact-cli for this? Or I need to write own webpack/babel configurations for that?

i am using unistore and want to provide state on server side also how can i do it preact-cli. server.js is in my project root directory


better typescript-javascript integration

added option to use typescript with javascript's es6 style imports
able to use babel to transform typescript files (so you can use babel-polyfill across all browsers
solved npm install error

Nice, thanks!


How to use the match to synchronize all certificates

Issue Description
New machine
To set up the certificates and provisioning profiles on a new machine, you just run the same command using:
match development

Only synchronize a certificate in accordance with the above command is executed. I have multiple Git repository, for each repository there are multiple bundle identifie, my how time synchronization of all?
Environment
match 0.3.0

I believe you can pass --app_identifier.

There are multiple app identifier. Be sure to specify the right one?

You can use fastlane to invoque matchmany time.
A very simple Fastfile might look like this

lane :get_all_codesign_stuff do |options|
  bundles = ["com.app.one", "com.app.two", "com.app.three"]
  bundles.each do |bundle|
    match(
      app_identifier: bundle,
      username: "YOUR_USERNAME",
      git_url: "GIT_URL"
      type: "development"
    )
  end
end

Thanks for jumping in @nicolasbraun, I'll close this issue for now 👍


Why is the NVidia GPU always going crashing when using ./ollama-linux-amd64 ?

What is the issue?
Hello,
I've tried the protable edition that doesn't needs root installation (./ollama-linux-amd64).
Everything work fine but after a couple minutes the GPU stops working and ollama starts to use CPU only.
This is the error faced:

ggml_cuda_init: failed to initialize CUDA: unknown error
llm_load_tensors: ggml ctx size =    0.14 MiB
llm_load_tensors: offloading 21 repeating layers to GPU
llm_load_tensors: offloaded 21/33 layers to GPU
llm_load_tensors:        CPU buffer size =  4437.80 MiB
llama_new_context_with_model: n_ctx      = 2048
llama_new_context_with_model: n_batch    = 512
llama_new_context_with_model: n_ubatch   = 512
llama_new_context_with_model: flash_attn = 0
llama_new_context_with_model: freq_base  = 500000.0
llama_new_context_with_model: freq_scale = 1
ggml_cuda_host_malloc: failed to allocate 256.00 MiB of pinned memory: unknown error
llama_kv_cache_init:        CPU KV buffer size =   256.00 MiB
llama_new_context_with_model: KV self size  =  256.00 MiB, K (f16):  128.00 MiB, V (f16):  128.00 MiB
ggml_cuda_host_malloc: failed to allocate 0.50 MiB of pinned memory: unknown error
llama_new_context_with_model:        CPU  output buffer size =     0.50 MiB
ggml_cuda_host_malloc: failed to allocate 258.50 MiB of pinned memory: unknown error
llama_new_context_with_model:  CUDA_Host compute buffer size =   258.50 MiB
llama_new_context_with_model: graph nodes  = 1030
llama_new_context_with_model: graph splits = 1
INFO [main] model loaded | tid="132032175734784" timestamp=1722637437
time=2024-08-02T23:23:57.145+01:00 level=INFO source=server.go:609 msg="llama runner started in 1.51 seconds"
INFO [update_slots] input truncated | n_ctx=2048 n_erase=1611 n_keep=4 n_left=2044 n_shift=1022 tid="132032175734784" timestamp=1722637437
[GIN] 2024/08/02 - 23:24:46 | 500 |          4m0s |       <IP_ADDRESS> | POST     "/api/chat"
cuda driver library failed to get device context 999time=2024-08-02T23:29:46.493+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:46.744+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:46.995+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:47.245+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:47.495+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:47.744+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:47.994+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:48.245+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:48.495+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:48.744+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:48.995+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:49.244+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:49.494+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:49.745+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:49.995+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:50.245+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:50.495+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:50.745+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:50.994+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
cuda driver library failed to get device context 999time=2024-08-02T23:29:51.245+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
time=2024-08-02T23:29:51.494+01:00 level=WARN source=sched.go:674 msg="gpu VRAM usage didn't recover within timeout" seconds=5.001706621 model=/home/xxxx/.ollama/models/blobs/sha256-87048bcd55216712ef14c11c2c303728463207b165bf18440b9b84b07ec00f87
cuda driver library failed to get device context 999time=2024-08-02T23:29:51.494+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
time=2024-08-02T23:29:51.744+01:00 level=WARN source=sched.go:674 msg="gpu VRAM usage didn't recover within timeout" seconds=5.251527354 model=/home/xxxx/.ollama/models/blobs/sha256-87048bcd55216712ef14c11c2c303728463207b165bf18440b9b84b07ec00f87
cuda driver library failed to get device context 999time=2024-08-02T23:29:51.745+01:00 level=WARN source=gpu.go:374 msg="error looking up nvidia GPU memory"
time=2024-08-02T23:29:51.994+01:00 level=WARN source=sched.go:674 msg="gpu VRAM usage didn't recover within timeout" seconds=5.501999011

As workaround, I need to excute:
sudo modprobe -r nvidia_uvm && sudo modprobe nvidia_uvm
For the system wide installation this issue doesn't happens.
Can you suggest why is this happening and how to solve it?
Rgds,
KS
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
ollama version is 0.3.3

im running on nvidia L4. I have the same issue as well

Would it be possible to post the full log?  You posted from what I presume is the first error message, but there may be relevant information earlier in the log.

Is this running on a laptop ?
Does dmesg -T contain the infamous message "GPU has fallen off the bus"
Could be overheating or could be aggressive power saving management that disable the GPU.
Example : https://forums.developer.nvidia.com/t/how-to-solve-nvrm-gpu-000000-0-gpu-has-fallen-off-the-bus-completely/230923

You didn't mention, but I believe you're running in a container.
If so, on the host, setting up the same thing we do in our install script might help keep things happy. https://github.com/ollama/ollama/blob/main/scripts/install.sh#L358-L367


[BUG REPORT]

New class from last semester ANLP (CSE 8803) has not been added for reviews (its an OMSA only class at this stage I believe)

Thanks. Will Add!

@fj5891 Can you provide me a syllabus and some textbook info for this course?

Syllabus: https://mahdi-roozbahani.github.io/ANLP-Summer23/
There is no textbook as per the syllabus.

@m4ttsch Any chance we can get the class added?
Would be great if we could get some reviews on the class before phase II registration opens!

Would be great if we could get some reviews on the class before phase II registration opens!

100% agreed!

It actually looks like there are 2 new classes. ANLP for OMSA (started Spring 23), and NLP for OMSCS (started summer 2023).
Both should be added separately
CSE8803: ANLP:  https://mahdi-roozbahani.github.io/ANLP-Summer23/
CS7650: NLP: https://omscs.gatech.edu/cs-7650-natural-language-processing

Added here thanks ⭐

Great. Thanks. Looks like you can now add reviews for these classes by going to New Review.
One issue: On the home page, they do not appear under lists of courses, and also not when you search for them. Im presuming in the Search Courses box. Ideally they should appear with 0 reviews, and ratings of "-", difficulty "-"


Store config object in CompassApp instance

we create a CompassApp using a configuration object or file. in both cases, it would be a simple step to store the configuration as an object on our CompassApp so that it can be inspected at a later time.

zenon18 (Mark W.) will like to work on this issue

Closed by #231


Push 0.2.1 to NPM

Sorry I missed this – just pushed. Also, is there a way to let others push to NPM?

@blacktm Yeah, it looks like you can add an owner via: https://docs.npmjs.com/cli/owner
My npm username is also sankarravi

Cool, just added you.


Updater wastes large amount of disk space logging once per second while waiting for VS Code to close

Type: Bug
The VS Code update process appears to write to log files named %TEMP%/Setup Log [DATE] #[NUMBER].txt.  It appends a new line once every second as it waits for a running instance of VS Code to be closed.  Here's a snippet from a current file on my machine:
2023-09-07 14:09:42.549   Application is still running, waiting
2023-09-07 14:09:43.552   Application is still running, waiting
2023-09-07 14:09:44.555   Application is still running, waiting
2023-09-07 14:09:45.558   Application is still running, waiting
2023-09-07 14:09:46.560   Application is still running, waiting

I basically always have VS Code running, and sometimes don't close it for weeks at a time, and just found that I had over 200MB of log files mostly filled with lines like the above.
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.19044
Modes:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


Add two new build targets to enable the possibility of using clang-cl as an assembler for Windows on Arm

Currently it is not possible to use the assembler files for Windows on Arm as there is no NASM for aarch64. This patch makes the appropriate changes to use clang-cl as an assembler along with the possibility of also using it as a compiler. Forcibly adding __ASSEMBLER__ was required as cl does not add it by itself.

@levitte Hi! Think I covered all the changes you mentioned, hopefully. Thanks a lot for the review. If you could be so kind to take a look and see what you think while I figure out how to sort the CLA issue.

This needs to be rebased on top of fresh master branch.

@paulidale still OK?

This pull request is ready to merge

Merged to master and 3.1. Thank you.


EventEmitter memory leaks

When using db-migrate programmatically for multiple databases, warnings are generated for EventEmitter leaks: Warning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added.
Adding a unregisterEvents function to api.js should enable programmatic users to get around this. Such a function may also be used more generally to do proper cleanup.
Where registerEvent() is called:
https://github.com/db-migrate/node-db-migrate/blob/master/api.js#L136-L147
Where registerEvents() is defined:
https://github.com/db-migrate/node-db-migrate/blob/master/api.js#L136-L147

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@foysavas Good catch.
In the case of programatic it may be even unwanted right from the beginning to have those events being registered. They're only really targeted at the CLI, so the question is, if a db-migrate instance is created in the programatic mode, to disable those registers by default and give the option to register those controlling the process using db-migrate as a module.

Agreed, especially given the process.exit() therein.

[ ] A config option that enables or disables the registration of the listeners
[ ] false as a default value for programmatic usage, true from the cli
[ ] an unregisterEvent() that does cleanup

I just set the config option "throwUncatched" : true, and this won't register the handlers, and I believe it's the right thing to do for programmatic use. So from my perspective it can be closed.
Btw is "throwUncatched" maybe a typo? I am also not a native speaker, so not quite sure, but probably it should be "throwUncaught"?


Update Arch Linux and ALE install instructions

Package has been added to the Arch repos:
https://www.archlinux.org/packages/community/x86_64/rust-analyzer/
ALE merged rust-analyzer support:
https://github.com/dense-analysis/ale/commit/70005134e5b2d40d176ee5b851ac64a296b22201

bors r+
Thanks!


No Audio

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 10
Bug description
Yesterday my audio was working fine. I boot up the Runelite client and when I got in-game I immediately noticed when I went into the Gauntlet teleporter that it was silent.
Screenshots or videos
No response
RuneLite version
Runelite version: 1.9.8
Launcher version: 2.4.2
Logs
client.log
launcher.log

Nothing about the client has updated between yesterday and today, this is probably something else that changed on your computer.

Nothing about the client has updated between yesterday and today, this is probably something else that changed on your computer.

Well, yes, clearly, but I'd still like some feedback if anyone's kind enough to give me insight on this issue.

The issue tracker is not a support forum. Please join the Discord for questions of support.

The issue tracker is not a support forum. Please join the Discord for questions of support.

Ah, so I shouldn't report any issues I'm having with the client. Hmm...


Implement Event Sourcing

Summary
Implement an event sourcing solution to allow for an immutable ledger of events which we can use to reconstruct an organization's inventory.
Our current solution largely relies on keeping various models (items, kits, donations, purchases, inventory items etc.) in sync. When this doesn't work (e.g. double clicks, logic issues), it's extremely hard to piece back the data into a "good" state.
After discussion with the core team, we'd like to introduce an event sourcing pattern to allow us to more easily determine the current inventory.
Details
Event sourcing is a pattern whereby we insert immutable events into the database and consume each of the events in turn to allow us to arrive to the end result, rather than constantly updating the end result based on those events as they happen in real time.
Additional features that we may (probably will) need to add:

Corrections - making changes to e.g. a donation should create a correction event that will override the values of the original event.
Snapshots - over time, the number of events to process may become large and slow down processing. We can take snapshots of the current inventory, insert them as a separate event, and only process events from that time.

Rollout Plan
In general, we will want to:

First design and finalize the technical architecture for events, including data model and class / module layout.
Create the events as they happen. This should be the first piece merged to main as it should not affect any data.
Introduce a method to read and validate these events when a new event happens. Initially the validations should be informational only (if the aggregate class determines an event shouldn't be able to happen, it should report that).
Introduce a method to compare the aggregate contents against the system's inventory items. If the two don't match, report an informational error.
We should monitor these errors over time. If (as we expect) the event sourced solution is more accurate, we should move to making it the source of truth for inventory and deprecate inventory items entirely.

Initial investigation
We looked at using an existing solution such as Rails Event Store and Sequent. The first was deemed too broad / complex, and the second wasn't showing any updates / was broken on main. Instead we will design our own approach tailored to what we need.
Things to consider
No response
Criteria for Completion
No response

This is mainly done. Next steps are in #3911 .


DISABLE_SERVICE_TLS environment variable not set in operator

This environment variable must be set in the operator's pod template in order to work.

I think documenting kubectl set env deployment/container-jfr-operator-controller-manager DISABLE_SERVICE_TLS=true is sufficient.


include some (GUI) help info

eg screenshot of GUI + settings explanation + link to online readme for more

thank you for details like this; it helps the non-nerds to also benefit from this great tool


Feat(dspy): from_pandas support

This PR adds support for to load dspy dataset from dataframes directly. Something which I personally found useful when fetching from some sources did some cleanup and get dspy dataset without saving it as a csv.
Fixes issue: #1177

PS: Just for the ruff checks, I did additional changes on types. Let me know if I need to remove that.

very nice update !

I see one else block removed in from_huggingface method is it a breaking change? It might be for few datasets, did you check?

I see one else block removed in from_huggingface method is it a breaking change? It might be for few datasets, did you check?

Okay, so I reverted to the implementation along with I added the from_pandas implementation. However I am not sure how to remove the lint problem, because I face these error even when I am on the container (built from the repo).
Let me know, I will be doing that in other of my PRs too.

Thanks for the contribution!! Did you try running ruff check . --fix?

Let's merge this if @krypticmouse approves

Thanks for the contribution!! Did you try running ruff check . --fix?

Hey thanks for the quick pointer, although I have used this command earlier which gives me this output:
.....
testing/tasks/tweet_metric.py:66:5: ANN201 Missing return type annotation for public function `metric`
testing/tasks/tweet_metric.py:66:24: ARG001 Unused function argument: `trace`
testing/tasks/tweet_metric.py:67:5: N806 Variable `gpt3T` in function should be lowercase
testing/tasks/tweet_metric.py:67:12: N806 Variable `gpt4T` in function should be lowercase
testing/tasks/tweet_metric.py:73:121: E501 Line too long (122 > 120)
testing/tasks/tweet_metric.py:82:121: E501 Line too long (122 > 120)
testing/tasks/tweet_metric.py:94:9: ANN201 Missing return type annotation for public function `forward`
testing/tasks/tweet_metric.py:96:121: E501 Line too long (126 > 120)
testing/tasks/tweet_metric.py:104:121: E501 Line too long (126 > 120)
testing/tasks/tweet_metric.py:121:9: N806 Variable `gpt3T` in function should be lowercase
testing/tasks/tweet_metric.py:121:16: N806 Variable `gpt4T` in function should be lowercase
testing/tasks/tweet_metric.py:131:121: E501 Line too long (159 > 120)
testing/tasks/tweet_metric.py:140:121: E501 Line too long (155 > 120)
testing/tasks/tweet_metric.py:146:9: ANN201 Missing return type annotation for public function `get_program`
testing/tasks/tweet_metric.py:149:9: ANN201 Missing return type annotation for public function `get_metric`
Found 2281 errors.
No fixes available (692 hidden fixes can be enabled with the `--unsafe-fixes` option).

To solve now, I kinda applied a small hack (reverting back to the contents in the main branch and adding the from_pandas function) However, I am guessing I might need to set the environment once again to not see logs like above when doing ruff fix?

Yea try syncing the repo with the current version and lemme know if you still see the errors

Thank you for the contribution. Merging it!