text:
ca.pem installation process update and docker for windows. Handshake errors gone!

The README should be updated with some new information.
I could not get the ca.pem certificate installed for the life of me on Android, even with it saying it was completed.
I had 4 copies of it installed at user level, I also had the ca.crt converted with openssl on windows using git bash.
This also did not work.
The way I got it to work, which you should probably note to people who also cant get it working, is to install the certificate at root level. I used Root Certificate Manager on Android for the converted ca.crt copy.
I tried root level certificate with ca.pem and this did not work. Using this installation method, it works perfectly.
Docker as another example, works perfectly fine as a 'windows' method as long as Hyper-V is supported by the CPU. So you should explain to people what Docker is, and how it works for Windows. The only other problem I had was with firewalls, firewalls must be deactivated on windows, otherwise it will not be able to go further than localhost unless they have permissions set up for port 3000 and 8081. Admin access must be granted to do this, I had mine locked out via group prividges on my work machine, but I was able to edit it in the advanced options. This is all working now but I think the ticket should stay open until it is completed, there is also the new command to automatically install everything for Docker with the new command
$ docker run -d -p 3000:3000 -p 8081:8081 -it cmeter/pogo-optimizer
Hope this helps anyone, been trying to get this working for days on windows/linux/mac osx via VM's and finally got the server working on all three but always had the handshake error.

My Windows computer is dreadful, so I'm still looking for someone who wants to write the doc for Windows. Great work, though! This makes me super optimistic for Windows users.

It's just using Docker, which is technically a VM so its not native windows, but I guess that can come when the api for C++ is better supported. Docker is great though so easy to use due to it knowing what dependencies it needs to run and auto downloading and installing it!

I'm familiar with Docker, just not the NAT connection stuff that you assumedly need to do with Windows. Or was that not even an issue for you?

just create a pull request for the README.md by editing it yourself

Not even an issue :) it creates an emulated internal switch (known as vEthernet DockerNAT within Windows Network Connections), gives it the internal IP address of 10.0.75.0 and then with the script to start Docker, forwards the ports 3000 and 8081. No setup necessary apart from disabling firewalls or setting up custom policies so that it will allow those ports. I did nothing to Docker to get it working, I was surprised by how simple it was. You cannot access it by going to 10.0.75.0, you have to use Localhost on the local windows machine, or the networked IP address of the windows machine. As long as theres no firewall, there is no problem

Yeah, this worked great. Thanks everyone

Thanks a lot! Finally, I run the Docker on my Synology NAS.
And I'm wondering if the project is updated, should I need to pull the Docker again?

Does the cert change every time I docker pull?

@ProteinPig Yes.
@basmith7 Yes.

For iOS, installing ca.pem only works using safari, and not chrome. I had to figure this out since chrome doesn't know how to open ca.pem. Should add this note to the readme.

Agreed. I'll throw it on there

repo: justinleewells/pogo-optimizer


text:
Streams on localhost, but not on Netlify?

Nice package. I am using this in a Nuxt app. Works good, except....for some reason there is a major difference when running it in a localhost vs production server:
Difference:
Running it locally, the data is streamed and the text messages appear incrementally on the UI. However, running the same code on a production server (Netlify) , the data just appears all at once, instead of incrementally.
Is it the way I am hosting the app on Netlify? Perhaps I am not deploying the app to Netlify Edge vs standard Netlify? https://nitro.unjs.io/deploy/providers/netlify#netlify

It looks like it does indeed need edge functions to work, but I can't get Netlify Edge functions to work right now. I'll try on Vercel.

OK, so I tried on vercel and although it deploys to Vercel edge (uses edge functions) , I get the following server error:
message
:
"Cannot read properties of undefined (reading 'pipe')"
stack
:
""
statusCode
:
500
statusMessage
:
""
url
:
"/api/chat"

It works FINE on localhost, just not when deployed to Vercel (or Netlify). Here's my code:
import { Configuration, OpenAIApi } from 'openai'
import { OpenAIExt } from 'openai-ext'

const config = useRuntimeConfig()

const configuration = new Configuration({
  apiKey: process.env.OPENAI_API_KEY || config.OPENAI_API_KEY
})
const openai = new OpenAIApi(configuration)

const systemPrompts = [...]

// Configure the stream (use type ServerStreamChatCompletionConfig for TypeScript users)
const streamConfig = {
  openai: openai,
  handler: {
    // Content contains the string draft, which may be partial. When isFinal is true, the completion is done.
    onContent(content, isFinal, stream) {
      console.log(content, "isFinal?", isFinal);
    },
    onDone(stream) {
      console.log('Done!');
    },
    onError(error, stream) {
      console.error(error);
    },
  },
};

const axiosConfig = {
  timeout: 15000
};

export const getChatStream = async ({ messages }) => {
  try {
    const response = await OpenAIExt.streamServerChatCompletion(
      {
        model: 'gpt-3.5-turbo',
        messages: [
          ...systemPrompts, ...messages
        ],
      },
      streamConfig,
      axiosConfig
    );

    return response.data;
  } catch (error) {
    console.error(1, error);
    //TODO: Display error message on UI
    // For example, you can use a library like Toastify to display a toast message
    // toast.error('Request failed. Please try again later.');
  }

};

If anyone has any ideas let me know. Until then, I'll not be able to stream on production servers.

I am having a strange problem with this package also where it works great on localhost but when deployed to vercel the onContent is called the next time the function is invoked. I'm baffled right now

Thank you, I haven't tried that yet, but I did fix my original pipe problem. Now, for some reason I get another error I am trying to track down:
{
    "url": "/api/chat",
    "statusCode": 404,
    "statusMessage": "Cannot find any route matching /api/chat.",
    "message": "Cannot find any route matching /api/chat.",
    "stack": ""
}

Again, code works locally....not when deployed.

source: gharchive/issue

authors: brianfoody dosstx

repo: justinmahar/openai-ext

license: MIT

license_type: permissive

license_source: github-api


text:
Issue 294

This is an attempt to fulfill Issue #294, [Request] override template loading mechanism(s).
This PR introduces a way for users to extend Twig and implement their own custom template loaders.  It also allows you to override previously defined loaders.
For example, load a template from redis:
var Twig = require('twig'),
	redis = require('redis'),
	client = redis.createClient();

Twig.extend(function(Twig) {

	Twig.Templates.registerLoader('redis', function(location, params, callback, error_callback) {

		var precompiled = params.precompiled;

		if (typeof callback !== 'function') {
			throw new Twig.Error('The params.load callback is required for the redis loader method');
		}

		if (!params.async) {
			throw new Twig.Error('The "redis" loader method must be used asynchronously.');
		}

		client.get(location, function(err, data) {
			if (err) {
				if (typeof error_callback === 'function') {
					error_callback(err);
				}
				return;
			}

			if (precompiled) {
				params.data = JSON.parse(data);
			} else {
				params.data = data;
			}

			var template = new Twig.Template(params);
			callback(template);
		});

		return true;

	});

});

Fetch a template using the custom redis loader:
twig({
	method: 'redis',
	name: 'my_template_name',
	load: function(template) {
		var output = template.render({data: 'here'});
	}
});

The business logic for 'fs' and 'ajax' loaders have been moved into their own files, twig.loader.fs.js and twig.loader.ajax.js, respectively.
Once you set the method for a template, all extends or includes spawning from that template should follow the same method.
Just as "path" and "url" are special to AJAX and FS methods, so is "name" special to custom methods.  However, custom methods also respect "id" if there is no name.

:+1:

@plepe how long do you estimate until this can land?

Sorry, been busy the previous days. The code looks very nice, it also has tests. I'd be willing to merge these changes.
@r3wt Did you test the change? Does it do what you expected?

@plepe I have not tested the changes, however i will do so in the morning and report back with results. it looks like it should do what i want. i really appreciate the hardwork that @createvibe has put into this.

@r3wt I'm happy to help out.  Hopefully it works for your needs.  Let me know if you need me to fix anything.

@createvibe i can't seem to build this.

@r3wt Interesting, it's building fine for me on a runnable instance. I just had to npm install first.

Looking at the list of files you are showing, it doesn't seem like it's trying to build the loaders.  Are you sure you are in the correct branch on my fork?
git clone https://github.com/createvibe/twig.js.git
cd twig.js
git checkout issue_294
npm i
make clean
make
make test

ah, i see. i didn't run npm install. amazing how people create projects and don't document how to compile it.

Building the lib is documented a little here - https://github.com/justjohn/twig.js/wiki/Contributing

@createvibe i built it and wrote up a quick example and this is what i get:

maybe i did something wrong, i dunno. i cloned directly from your repo

@r3wt did you git checkout issue_294 or are you directly on master?

@createvibe yes i did, and it works as far as loading a template. now let me reference a template inline and see what happens.

@r3wt Great!  Path lookups are a little different, but if all the templates come from your custom loader, you can possibly manipulate the path before fetching the file, inside your loader.

i get this error: TwigException: Cannot extend an inline template.
http://jqmvc.openex.info/seed/views/index.twig

For that, you need the "allowInlineIncludes" parameter set to true.
You can do this directly in the loader, if you want to make sure it's available, or you can do it by passing it as a twig() param.
If you look here, you can see how I implemented the tests: https://github.com/createvibe/twig.js/blob/issue_294/test/test.loaders.js#L8

its kind of fubar. inline template function of twig doesn't supply a callback, so i have no idea how i'm supposed to return the template to twig.

inline template doesn't work. twig spits out undefined for the filename and tries to fetch undefined:

i have checked and the loader is not being called with any parameters in this situation. all the arguments are undefined.

Could you show me how you are defining the loader and how you are rendering the template?
I have a working example here, if you want to see it: https://plnkr.co/edit/5wGPDF1fD4v2i0x3m70S

In response to twig passing async:false for inline includes, that's just how it works currently.  There's another thread about it (issue #61), but basically, twig needs to render expressions and logic blocks synchronously.
You can see the code here for importFile, where it passes async:false manually: https://github.com/justjohn/twig.js/blob/master/src/twig.core.js#L1168
importFile is what {% include %} uses: https://github.com/justjohn/twig.js/blob/master/src/twig.logic.js#L650

well synchronous XHR is deprecated and blocked in the browser.

Does the plunkr I linked above crash your browser?

I do see that it's deprecated on the main thread, but it doesn't crash anything for me (chrome, ff, safari).  I'm not sure what to do about that except try to fix the synchronous loading, which is not an easy thing...

I already tried to make rendering asynchronous, but it is 1. a lot of work 2. totally breaks compatibility, because render() can't return anything (it could return a promise ...) but would rather take a callback as additional parameter.
I guess for the inline templates, this happens while compiling; i haven't looked at that code yet ...

By the way, do you think this pull request is ready for merging anyway? (synchronous inline templates are a different issue than custom loaders)

I've actually been looking into being able to return promises from logic blocks / tokens, and there's just a little bit of work to make it happen.  Problems come from existing code and extending other blocks, etc.  I will submit some test when I have time.
I have noticed a bug in the existing code that expects 'url' to be defined when it never is.  I will commit a fix for that, but as for this feature is concerned, I think it's good to go.
Let me know if you notice anything I should update.

:-1:

source: gharchive/pull-request

authors: createvibe plepe r3wt

license_source: bigquery


text:
[WIP] Add abstract models

Just building on @auvipy's PR here.
Todo:

[ ] Use the swappable models everywhere in the library.
[ ] Update documentation.
[ ] Use the simplest supported data attribute for the base model and document how to replace it with something better.

Coverage remained the same at ?% when pulling ce2620bd87beb89e54b70bd572145a24af9b8f8b on slurms:add-abstract-models into a6d359de540f3b531f1ea46f12b91f4b48bc7d7f on justquick:master.

Coverage remained the same at ?% when pulling ce2620bd87beb89e54b70bd572145a24af9b8f8b on slurms:add-abstract-models into a6d359de540f3b531f1ea46f12b91f4b48bc7d7f on justquick:master.

@auvipy I'm just adding some custom model tests and more updated documentation, but this should be ready sometime soon :)

authors: coveralls slurms

repo: justquick/django-activity-stream


text:
添加List: justswap

提交之前请删除下面的话:
如果您没按照要求提交正确的list样式，您的issue将会被删除
您提交的list json格式必须满足下面链接中定义的例子格式
https://github.com/justswaporg/justlists/
检查清单

[x] 我已知晓这里不是提交token的地方
[x] 我已经测试过要提交的List URL能够在justswap.org的添加列表中进行添加.
[x] 我已知晓提交的issue不能确保通过并且相应的List不确保能在jsutlists网站中显示.

请提供以下的信息
List的URL必须以HTTPS开头.
List URL: baidu.com
List 名称: justswap
List 提交者的网站或主页:just.network

你的URL错误

你的URL错误

明显是对的，好吗

明显是对的，好吗

该issue无效，将会关闭

该issue无效，将会关闭

repo: justswaporg/justlists


text:
🛑 Main Website is down

In aecf764, Main Website (https://tecnoscientifica.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Website is back up in 616653c.

repo: justudin/tsp-status


text:
Add more desktop notifications

This commit adds more desktop notifications and introduces
the gopass logo to these notifications.

Not exactly. This will cause a desktop notification when your clipboard gets auto-cleared (after the timeout expires).
This has two reasons: 1.) there is no other way to inform the user if this operation succeeded or not, i.e. if an error ocurs 2.) this feature was broken for quite some time and no one noticed due to 1.)

repo: justwatchcom/gopass

license: mit


text:
package.json: change scripts/peg.js to run in prepublish not postinstall

To workaround an npm problem in which it sometimes refuses to run the
postinstall script, change the package so that it generates the parser
in the prepublish phase and not postinstall.
This also required explicitly enumerating the files to be put into the
package since by default it omits anything that's in .gitignore, but we
want it to include the generated files in the package.

lgtm. and you ran through the steps to show it works.

there should also be a pr against 0.4.x for an 0.4.2 juttle release.

Actually this was meant to be off of 0.4.x. Will reopen appropriately.

authors: demmer mstemm

repo: juttle/juttle


text:
Allocations sampling rate

Latest version allows to control sampling frequency in "allocations" mode by "--alloc" parameter.

what is the [default] value of the sampling rate if parameter is not specified? Does the "-i" parameter come into play?
what is the recommended value? I would use the smallest possible value to get maximum precision (if performance degradation is small or negligible), but the docs says it depends on TLAB size. Could profiler be so kind and calculate this size for me?
please makes the docs consistent: https://github.com/jvm-profiling-tools/async-profiler says about "--alloc" for bytes and "-i" for seconds while "https://github.com/jvm-profiling-tools/async-profiler/wiki/Allocation-profiling" seems to say about "-i" for bytes.

I have synchronized wiki with README.
Previously -i option was used to set profiling internval for all modes.
One of the new features of async-profiler 2.0 is profiling multiple events together: cpu+alloc+lock. Obviously, one option does not work anymore. So, -i now specifies CPU sampling interval; --alloc - allocation sampling interval, and --lock - lock duration threshold.
By default, when --alloc option is omitted, async-profiler samples all allocations that happpen outside TLAB or in newly created TLAB. So, the actual sampling rate depends on the particular JVM configuration and/or application. E.g. if an average TLAB size is 1MB, the allocation sampling rate will be also 1MB.
This basically provides the best available sampling rate, unless TLAB is manually tuned with JVM options. If you are fine with that (i.e. the observed overhead is satisfactory), there is no need to alter --alloc option. If you feel the overhead is too big in your particular case (e.g. if an application has a really high allocation rate), then you can increase --alloc value to reduce the sampling rate.

authors: apangin ksafonov

repo: jvm-profiling-tools/async-profiler


text:
Speeding up the date selection process

Right now it takes 5 seconds to see a new date and then once you click it you need to do a captcha on the newly reloaded page. We could open two pages, one that refreshes every 5 seconds to get the new dates while the other is "staged" where the user has already completed the captcha. When the reloading page finds a date, we can communicate that to the staged page with the date, enable the date and auto click the date via js and then click the next button. The only issue here is that captchas have a few minutes timeout after completing them so the user would need to redo the captcha every few minutes to gain this advantage.

@stilljake Was wondering what your thoughts are on this?

I've got a prototype where we could share dates that become available in realtime using firebase. The problem I see with that is people would be poaching dates of each other so I need a way to lock it down to only users that want specific dates (with some sort of max date limit). I would need to package it separately to not expose the api keys to prevent misuse. I'm not sure if its worth it but if we get enough people using it and sharing data each time they refresh it could increase the odds substantially.

@stilljake Was wondering what your thoughts are on this?

I put something together already that takes a similar approach. I have one browser instance scraping dates through various proxies to avoid the rate limits, and then once a date is found the other instance is refreshed and selected. I never thought to simply enable the date and click it. That would probably work much faster.

I'm interested to hear more about how this sharing method would work too.

I agree that it's the delay between refreshed taht is a mojor block to getting a date.  This proposal seems like it would work, and I'd be keen to participate.
Another blockage is having to manually click the reCapcha.  This could be (semi?) automated using SendInput to generate a mouse click.  I've done a successful proof of concept, where I manually position the mouse over the reCapcha, and send a click, the reCapcha is passed.
This could be done in responce to an alert.  Obviously, if reCapcha asks you to solve a picture, you are already too late.  In my experience, if you don't click it too much, then it usually goes straight to the green tick.
I'd be ok with a solution that requires manual positioning of the mouse.  But if the mouse could be moved to the right spot too, that'd be cool.
If this can be made to work, automating the click on "Next", and completing the following page could be automated too.

It's also easy enough to fully automate clicking recaptcha and next. For recaptcha you need to switch page context to the recaptcha iframe, and then you can just do an element.click() on the checkbox. Then switch context back to the main page and click() the next button. I've done a proof of context of this too. As long as recaptchas not asking you to solve anything it's fine.

authors: alexDrinkwater chrisneilsen stilljake

repo: jvolker/miq-nz-booking-tools


text:
Patch wheel support?

I want to patch a prebuilt wheel. Can we have something like whl_patches in rules_python?

this should be resolved by #96

authors: betaboon chestnutprog


text:
docker-squash without sudo

Is it possible to use docker-squash without sudo, i'm trying to write a script to build our web app, and trying to add docker-squash to the bash script. But its failing without sudo. All the examples in the project README.md are also with sudo. Is there any workaround to use docker-squash without sudo ?

I'm attempting to use this with fakeroot which should alleviate the need to give it root permissions, but there are hard coded calls to sudo which prevent me from testing this.
I can see the reason to use sudo within the code so you only elevate privileges when required, would it be possible to check if the process is running as root and not use sudo?
export.go:535:    cmd := exec.Command("sudo", "/bin/sh", "-c", "tar cOf  - *")
image.go:83:  cmd := exec.Command("sudo", "/bin/sh", "-c", "tar cvf ../layer.tar ./")

This solution worked for me without using sudo: https://github.com/jwilder/docker-squash/pull/15
I compiled from rafecolton the integrate-libsquash branch once, here is my linux/x86-64 build:
docker-squash-libsquash.zip

@yuecelm I tried the libsquash version but tagging does not seem to work. I tried -t <tag> and -t=<tag>. Is there something I'm missing?

I am not sure if I tried tagging with docker-squash(-libsquash). but you tried 'docker tag  ' after image load? this should work in any case...

It generates the image fine, but does not tag it. Then I can tag by docker tag <hash>, but in a script I want to use this in, I don't have access to the  easily. The non-libsquash version tags it fine.

have you tried this branch: https://github.com/winchman/libsquash/tree/add-tag-and-from-options ?

I have finally got around trying this. It seems like there is a bunch of forks of docker squash and I have successfully ran (without sudo) the fork at https://github.com/goldmann/docker-squash, after installed it with pip install docker-squash.

authors: cs278 jbakosi palamccc yuecelm

repo: jwilder/docker-squash


text:
ToDo: Implement A Story

This update revolves around the initializeGame method within the Game class

Create a theme before the battle process

Users must click 'Continue' to go through each part of the story
Clicking 'Skip' immediately initializes the 'name' prompt

The criteria for this issue has been met.


text:
background colour does not fill empty lines

I have the following setting in my .tmux.conf:
set -g window-style 'bg=colour0'
set -g window-active-style 'bg=colour8'

The expectation is that the active pane will have a different background colour, but in practice it looks like the following screenshot:

This is most likely a duplicate of #85, or at least another example of not handling background colour entirely correctly

Closing in favor of #85.

authors: DivineGod hlieberman tiziano88

repo: jwilm/alacritty


text:
Finalize Icon Choice

We settled on using the icon from @net. In #863, some changes were discussed including using the blue flame variant, and tweaking the stroke to make it show up better on dark backgrounds.
Tasks

[ ] @net to tweak border
[ ] @net to provide final SVG
[ ] Ship icon for macOS
[ ] Ship icon for Linux

Any updates on this?

As far as I know we're still waiting on @net to make the requested changes and provide the final SVG.
As far as I know he did not provide any licensing information and there also is no SVG we could work with. So unless we can get a hold of him we'd probably need to design something new.

I'd love as an easter egg, to be able to keep the current variant as well, but yknow, there are definitely higher priorities.

If @net is not available for providing the icon we chose, we might have to look for a new icon?
Maybe open up a RFC or something like this? I doubt that this issue will progress anytime soon.

With permission of @net I've tried to reproduce the icon he's designed as an SVG (since the original was not an SVG).
Here are the results I was able to achieve:
Scanlines + Background:

Background:

Without Background:

Any progress on this? I'd love to replace the generic X11 icon I get on Linux when alt-tabbing to Alacritty.

Just commenting here to make note that the icon Alacritty uses on windows is assets/windows/alacritty.ico and MUST be a .ico file, so whatever gets chosen should be converted.

How come my icon does not look anything like the ones posted here

in fact it seems to be wrong in terms of the pixel size (blurry, probably due to scaling issue)

The white background should be fixed with the latest master. There are some scaling issues with Windows but that seems to be because of issues with the .ico format.

authors: Iambecomeroot chrisduerr jedahan jwilm liamdawson musm zacps


text:
Filtered handlers

Added support for filtering handlers #6 via requiring chatbot be addressed when Chatbot::address_by_name is called.
The test test_chatbot_address_matches shows the ways different ways chatbot can and can't be addressed.

Hey @sourrust! Thanks for the pull request!
This looks like it's really close to what is needed. Unless I'm missing something, this doesn't appear to support global and addressed handlers simultaneously. I'm also concerned about the 3x branching per handler in the main loop. I think almost all of that could be fixed with the following:

Always create the global message filter regex (instead of opting into filtering globally)
Store the list of handlers only interested in filtered/addressed messages separately from the list of always-on handlers. In the main loop we can just check once then if the message is addressing the bot and then iterate over the list of filtered handlers.
This is more like a 2.b. If there's a separate list of filtered handlers, we need a function on chatbot for adding handlers to that list instead of the global one.

With those changes, the only branches would be a) checking if the message is addressed to the bot, and b) checking on each handler if it can handle the message. We could also support both filtered and global handlers simultaneously.

Alright, I changed the things you suggested. Hope it is all correct.

Hey thanks for all this work by the way. I really appreciate it! I've been having trouble finding time for this in the last week. Having you move it forward like this is such a treat. :smile:

No problem. I've been wanting to get a better understanding of Rust for a while and contributing to projects is the best way.

That's an awesome way to go about it. I certainly appreciate it.
This looks great - let's call it done. If you feel like continuing with this, updating the example program (main.rs) to use addressed handlers where appropriate or adding some module level documentation about addressed handlers would be immensely helpful.
Thanks again for this work!

authors: jwilm sourrust

repo: jwilm/chatbot


text:
"pickle data was truncated" error

Hi everyone,
Thanks for your excellent work on this great model!
I've been trying to run the model but I get an unpickling error. The full error is:
Running predictions for 1 structure
Processing input data.
Traceback (most recent call last):
File "/root/miniforge3/envs/boltz2/bin/boltz", line 8, in
sys.exit(cli())
^^^^^
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/boltz/main.py", line 446, in predict
process_inputs(
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/lightning_utilities/core/rank_zero.py", line 42, in wrapped_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/root/miniforge3/envs/boltz2/lib/python3.12/site-packages/boltz/main.py", line 233, in process_inputs
ccd = pickle.load(file)  # noqa: S301
^^^^^^^^^^^^^^^^^

I checked through my files and realize the issue was because the weights were not downloaded properly. Closing the issue. Thanks again for your work!

repo: jwohlwend/boltz


text:
Grid doesn't pass correct props to Slide component

Slide uses the props passed as the object for its Context.Provider. When the program navigates to grid mode, the Grid component does not supply additional props. Therefore, props is undefined which means any component that uses the context will always get undefined.
In the case of Appear it seems to work fine because i < step will return false if step is undefined.
I think the best way to fix this would be to define default prop values for Slide or perhaps using Proptypes to warn if the correct props aren't passed in. In that case, Grid would need to be updated to pass in the correct props with default values.
Let me know what you think. I could probably have a PR for this in the next day or so if you'd like :smile:
I would also like to update the Advanced docs with some examples on how to use useSteps and Steps.
Update:
Overview and Presenter also don't pass any props to Slide so they'll need to be updated as well.
If anyone runs into this, step is undefined when using useSteps, you can get around this by doing something like below which defaults to the first step:
export default function MyStepper () {
  const step = useSteps(5)
  const currentStep = step != null ? step : 0 // 0 being the first step
  // ...
}

The Slide component now has a default prop set for step, along with some other refactoring. Feel free to open a new issue if you have any suggestions for how to make the new setup better

authors: Taar jxnblk

repo: jxnblk/mdx-deck


text:
system-components emotion babel macros

does system-components support usage of emotion with babel macros https://emotion.sh/docs/babel-plugin-emotion#babel-macros ?

using emotion macros requires no setup, you just import from emotion/macro instead of emotion

This is just a convenience for you to use in your own application right? I don't think this library has anything to do with emotion/macro unless I'm missing something

authors: bogdansoare jxnblk

repo: jxnblk/styled-system


text:
🛑 le Zata is down

In 6d66488, le Zata (http://zata.free.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: le Zata is back up in 49d129e after 16 minutes.

repo: jyhem/upptime-jyhem


text:
Possible to animate a movement along a path?

Is it possible to animate a movement along a path (eg. a curve)?

It isn't possible in sense of Adobe After Effects (with element rotation), but you can edit movement path and rotate element manually.
https://user-images.githubusercontent.com/18463658/201415019-0737ad94-e2d7-4fac-bbdb-9fe0cec15010.mp4

That is exactly what I was looking for. Thank You!

To change mode of point use double tap.

authors: RGPaul k-o-d-e-n

repo: k-o-d-e-n/charlottie-page


text:
Upgrade gradle Android base libs

TASK upgrade build:gradle to 2.2.3
TASK upgrade compileSdkVersion 25
TASK upgrade buildToolsVersion 25.0.2
TASK upgrade targetSdkVersion 25
TASK upgrade support-fragment 25.1.0

@olidroide thanks for the pull request. I will release it this weekend.
Thanks again.


text:
Calculate origo

Hey man, can you hit me up on discord for a very quick talk?
adrenal_in

Hi. Sry for late response. Why don't you just ask whatever you wanted to ask
here?

I wanted to extend the script you priveded (very good work tho!)
The idea was to understand how can i calculate the positions in the inventory (or basically anywhere)
I read the description obviously, but I couldn't make it.
Reason I asked if you have time on discord, is because it's not related to code, but it is to my english I didnt catch

https://i.imgur.com/cPfTw2U.jpg
Hope it helps, I tried to illustrate how it works in case of the element on the left side of the screen. Other cases explained in text and should be self-evident once you figure out this one. And really, you only need this if you play in window and window's resolution changes from time to time. If you always play in fullscreen at constant resolution, you can just hardcode coordinates of whatever UI element you need. If you play windowed, you also need to add offsets to take window borders into account.

thank you very much, one more question that should be in a different "issue" don't you know that is it possible to simulate clicks on every drakensang client or window issued by a name? this works with setting a name but it's possible to send keys from A client to x,y,z?

Thanks for your help very much. Good work!


text:
If a service is bound to port 10010, attaching to a container breaks with unable to upgrade connection: error dialing backend: dial tcp 127.0.0.1:10010: connect: no route to host

Environmental Info:
K3s Version:
k3s version v1.22.5+k3s1 (405bf79d)
go version go1.16.10

Node(s) CPU architecture, OS, and Version:
Linux k3s-athena1 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux

Cluster Configuration:
One control plane and one agent
Describe the bug:
If a service has port "10010" bound, kubectl attach will fail because it seems like kubectl uses port 10010 for attaching. This is kinda confusing because it isn't easy to figure out what is the issue due to lack of documentation about k3s using 10010 for attachment, and depending on the service that you are running on port 10010, it is hard to track the real issue.

Steps To Reproduce:

Apply this service

kind: Service
apiVersion: v1
metadata:
  name: nginx
spec:
  type: LoadBalancer
  selector:
    app: nginx
  ports:
    - protocol: TCP
      # Port bound in the node VM itself, you can access it externally
      port: 10010
      # Port within the container
      targetPort: 80

---

kind: Deployment
apiVersion: apps/v1
metadata:
  name: nginx
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
        - name: nginx
          image: nginx
          ports:
            - containerPort: 80
              protocol: TCP

Run kubectl run curl-test --image=radial/busyboxplus:curl -i --tty --rm

Expected behavior:

Actual behavior:

Additional context / logs:
I haven't found anything in k3s or Kubernetes docs that requires port 10010 to be available, so that's why I'm creating this issue.
This is also a very nasty bug because depending on the service that you are hosting on port 10010, it isn't obvious the issue because the error can be Error attaching, falling back to logs:.
(It seems like it is this? https://github.com/moby/moby/issues/37507)
Backporting

[ ] Needs backporting to older releases

Are you using k3s with the --docker flag, or using the containerd embedded in k3s?

containerd embedded in k3s

Indeed, this does appear to be the default containerd stream server port:
https://github.com/containerd/containerd/blob/release/1.4/PLUGINS.md#:~:text=stream_server_port
https://github.com/k3s-io/k3s/blob/c08d394994956dd144cd99e4ef2899aaec1fe3be/pkg/agent/templates/templates_linux.go#L16

beep boop not stale

authors: MrPowerGamerBR brandond


text:
Unable to get pod logs due to certificate IP mismatch with fetch URL

Environmental Info:
K3s Version:
k3s version v1.24.4+k3s-7d66e419-dirty (7d66e419)
go version go1.18.5

Node(s) CPU architecture, OS, and Version:
Linux moria 5.15.62+truenas #1 SMP Mon Sep 12 18:25:31 UTC 2022 x86_64 GNU/Linux

Cluster Configuration:
1 server, administered via TrueNAS
k3s Data dir in /mnt/Knapsack/ix-applications/k3s (default location for TrueNAS on chosen App pool).
Describe the bug:
I'm unable to view logs for pods using k3s kubectl logs because a certificate error is returned and I can't work out why.
Steps To Reproduce:

Installed K3s: TrueNAS base k3s
Tried to get logs for App from TrueNAS interface. Receive the same error as below.
SSH in as root, check k3s data dir setup and pod names, and try to get logs using command line.

root@moria[/mnt/Knapsack/ix-applications/k3s]# k3s kubectl logs -n ix-synapse synapse-ix-chart-6844f68c96-gbd9j
Error from server: Get "https://192.168.0.6:10250/containerLogs/ix-synapse/synapse-ix-chart-6844f68c96-gbd9j/ix-chart": x509: certificate is valid for 127.0.0.1, 0.0.0.0, not 192.168.0.6

Expected behavior:
Logs returned in terminal.
Actual behavior:
This error is produced: Error from server: Get "https://192.168.0.6:10250/containerLogs/ix-synapse/synapse-ix-chart-6844f68c96-gbd9j/ix-chart": x509: certificate is valid for 127.0.0.1, 0.0.0.0, not 192.168.0.6
Additional context / logs:
I have tried rotating my certs (as described in #6204), and restarting the k3s systemd service and the whole machine. The same issue arises.
I have not specifically configured k3s to use the local network IP 192.168.0.6 to refer to the cluster, and it's not in the /etc/rancher/k3s/config.yaml file, so I'm not sure where this IP address is being selected from.
Config file /etc/rancher/k3s/config.yaml
I haven't modified this file from default TrueNAS installation but it may have issues?
cluster-cidr: 172.16.0.0/16
cluster-dns: 172.17.0.10
data-dir: /mnt/Knapsack/ix-applications/k3s
disable: []
kube-apiserver-arg:
- service-node-port-range=9000-65535
- enable-admission-plugins=NodeRestriction,NamespaceLifecycle,ServiceAccount
- audit-log-path=/var/log/k3s_server_audit.log
- audit-log-maxage=30
- audit-log-maxbackup=10
- audit-log-maxsize=100
- service-account-lookup=true
- feature-gates=MixedProtocolLBService=true
kube-controller-manager-arg:
- node-cidr-mask-size=16
- terminated-pod-gc-threshold=5
kubelet-arg:
- max-pods=250
node-ip: 0.0.0.0
protect-kernel-defaults: true
service-cidr: 172.17.0.0/16

This sounds similar to https://github.com/k3s-io/k3s/issues/6102#issuecomment-1240224958 - do you have a proxy server in your environment that K3s is going through?

Not that I am aware of. Services work normally as I'd expect in local network. The "INTERNAL-IP" value from k3s kubectl get node -o wide is 192.168.0.6, which is the local ipv4 of the host.

Check openssl x509 -noout -text -in /var/lib/rancher/k3s/agent/serving-kubelet.crt on the node that it's reporting the error for. If the IP SANs on that cert don't match the entries that the log is complaining about (and I expect they won't, as we don't add 0.0.0.0 as an IP SAN) then the error is due to K3s connecting to something else - most likely a proxy. Check /etc/systemd/system/k3s.service.env and /etc/systemd/system/k3s.service for any proxy-related environment variables.

The SAN list sure has 0.0.0.0. Wonky. Reckon this is looking like TrueNAS's fault.
X509v3 Subject Alternative Name:
                DNS:ix-truenas, DNS:localhost, IP Address:127.0.0.1, IP Address:0.0.0.0

I checked the systemd launcher and all it does is disable a number of features afaict.
[Unit]
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Wants=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
Type=notify
KillMode=process
Delegate=yes
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=1048576
LimitNPROC=infinity
LimitCORE=infinity
TasksMax=infinity
TimeoutStartSec=0
Restart=always
RestartSec=5s
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/k3s \
    server \
        '--flannel-backend=none' \
        '--disable=traefik,metrics-server,local-storage' \
        '--disable-kube-proxy' \
        '--disable-network-policy' \
        '--disable-cloud-controller' \
        '--node-name=ix-truenas' \
        '--docker'

Hmm, that's not right. 0.0.0.0 doesn't make sense as a SAN. I see that you've also got flannel and the built-in cloud-controller disabled, so something else must be setting the node IPs incorrectly - that's normally the job of the embedded cloud-controller.  I suspect that something's been changed to use 0.0.0.0 as the kubelet bind address, instead of the node's primary IP, and that's also replacing the address that the cert is valid for.

Closing this as it's definitely a TrueNAS bug. Setting a Static IP for the host and then selecting it as the cluster IP solved this.

authors: brandond cortices


text:
Replace confusing log

Some versions of network manager have a bug in the component nm-cloud-setup.service and that's why we check if it exists when starting k3s and fail to start k3s if it does: https://github.com/k3s-io/k3s/blob/6aef26e94b57934185eb2e184ec75ce77dc5ca2b/install.sh#L907
If if does not exist, we see in the logs:
Failed to get unit file state for nm-cloud-setup.service: No such file or directory

which is fine but it confuses a lot of users that believe that is the source of their problems.
We should find a better log to avoid that confusion

I guess we could just redirect output of that command to /dev/null?

Yes, that could be a good idea. Assuming the log will still be there if nm-cloud-setup.service exists

We use the --quiet flag, which gives no output if it exists. Unfortunately it does not suppress the error if it doesn't exist.

Validated using latest install script

On a system that doesn't have these services:

$ journalctl -eu k3s -f
Feb 15 21:29:34 ip-172-31-40-199 sh[1907]: + /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service
Feb 15 21:29:34 ip-172-31-40-199 systemd[1]: Starting Lightweight Kubernetes...

On a system that does (and that should fail):

$ journalctl -eu k3s -f
Feb 15 21:30:12 ip-172-31-17-27.us-east-2.compute.internal systemd[1]: Starting Lightweight Kubernetes...
Feb 15 21:30:12 ip-172-31-17-27.us-east-2.compute.internal sh[16306]: + /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service
Feb 15 21:30:12 ip-172-31-17-27.us-east-2.compute.internal systemd[1]: k3s.service: Control process exited, code=exited, status=1/FAILURE
Feb 15 21:30:12 ip-172-31-17-27.us-east-2.compute.internal systemd[1]: k3s.service: Failed with result 'exit-code'.
Feb 15 21:30:12 ip-172-31-17-27.us-east-2.compute.internal systemd[1]: Failed to start Lightweight Kubernetes.

authors: brandond manuelbuil rancher-max


text:
Re-arping target OSX Error

Re-arping targets...
Traceback (most recent call last):
  File "kickthemout.py", line 319, in <module>
    main()
  File "kickthemout.py", line 302, in main
    kickalloff()
  File "kickthemout.py", line 210, in kickalloff
    spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, host[0], host[1])
NameError: global name 'defaultGatewayMac' is not defined

Interesting. Let me look into it.

Hi,
I have the same problem.
Any issues?
Thanks

Is this still an issue, or has it been resolved?

Still an issue

Sorry guys. We're on it.

I'm having the same problem, any news on fixing it?
I am in desperate need to kick my family off the wifi!

Sorry for the delay guys. We have created a debug function to run when this issue occurs. Please try running KickThemOut again and post the results in this issue asap. Thanks! @MI5T3R-H4CK3R @RSickenberg @realryanpark

Sorry I am a bit of a noob.
Should I have reinstalled KickThemOut from github before running it.
If so how to I do that.
Also I've noticed that kickthemout.py takes several minutes to startup and another few minutes when I have selected KickOneoff. Is this normal?

@MI5T3R-H4CK3R Delete the whole kickthemout folder, and clone it again. If it crashes again, please post the debug info for us here.

We are working on a fix for the long scanning times, but its not implemented yet.

Yes u can clone again from git Send from Huawei KIW-L21-------- Message original --------Objet : Re: [k4m4/kickthemout] Re-arping target OSX Error (#27)De : MI5T3R-H4CK3R À : k4m4/kickthemout Cc : psycheskunky ,Comment Sorry I am a bit of a noob.
Should I have reinstalled KickThemOut from github before running it.
If so how to I do that.
Also I've noticed that kickthemout.py takes several minutes to startup and another few minutes when I have selected KickOneoff. Is this normal?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/k4m4/kickthemout","title":"k4m4/kickthemout","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/k4m4/kickthemout"}},"updates":{"snippets":[{"icon":"PERSON","message":"@MI5T3R-H4CK3R in #27: Sorry I am a bit of a noob.\r\nShould I have reinstalled KickThemOut from github before running it.\r\nIf so how to I do that.\r\nAlso I've noticed that kickthemout.py takes several minutes to startup and another few minutes when I have selected KickOneoff. Is this normal?"}],"action":{"name":"View Issue","url":"https://github.com/k4m4/kickthemout/issues/27#issuecomment-279982984"}}}

I did that and now I get a new error:
ERROR: Default Gateway MAC Address could not be obtained. Please enter MAC manually.
Can I fix this or must I enter my MAC address manually?

I've never had this error before

Yes, that is part of the new fix.
For some reason, looks like kickthemout cant get it automaticly, so you have to enter it manually to prevent it from crashing. Keep that in mind that the router's MAC address is what you need to enter.

Thanks, every thing worked fine with the bug fix, however I still haven't been able to kick someone.
I've selected a target then it says spoofing started. I then wait about 30secs like in the demo vid then I re-arp the target with ctrl c then it says Re-arped target successfully and returns to the main menu. however my target is still connected to the wifi. Am I doing something wrong?
Sorry for all these questions, I have only just got to grips with using lxterminal. So I am a bit new to all this.

@MI5T3R-H4CK3R No worries.
You have to keep kickthemout running to keep them offline.
When you press CTRL+C you basically stopping it, and giving the internet back to the target. So you will have to let it run, and if you want to stop spoofing, just CTRL+C it.
Btw check out the video JackkTutorials made about kickthemout. That is the best tutorial: https://youtu.be/n6G3Nw4qDzg

thanks but it still didn't work I am trying to kick an iPhone and I'm running kickthemout on a raspberry pi 3.

I have done everything you said before. I don't know if this will help but I used arp -a to get my routers make address.

ERROR: Default Gateway MAC Address could not be obtained. Please enter MAC manually.

It's fine now 👍

authors: MI5T3R-H4CK3R RSickenberg k4m4 psycheskunky realryanpark xdavidhu


text:
operator external-secrets-operator (0.7.0)

bump external-secrets-operator 0.7.0

/merge possible

/merge possible

authors: framework-automation gusfcarvalho


text:
operators kogito-operator (1.11.1)

Signed-off-by: Vaibhav Jain vajain@redhat.com
Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?
[ ] Have you tested your Operator with all Custom Resource Definitions?
[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/lgtm

/merge possible


text:
operator hive-operator (1.2.4426-fb27114)

operator hive-operator (1.2.4426-fb27114)

/merge possible

/merge possible

authors: framework-automation suhanime


text:
Add support to revert VF trust

now netlink support getting the trust info from the vf so we can remove the TODO :)

Pull Request Test Coverage Report for Build 4937164752

6 of 8 (75.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.04%) to 38.198%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/types/types.go
5
7
71.43%

Files with Coverage Reduction
New Missed Lines
%

pkg/sriov/sriov.go
1
39.11%

Totals

Change from base Build 4784483752:
0.04%

Covered Lines:
424

Relevant Lines:
1110

💛  - Coveralls

LGTM

Hi @adrianchiris can you take another look?

Pull Request Test Coverage Report for Build 5067782557
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

2 of 3 (66.67%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 38.1%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/sriov/sriov.go
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/sriov/sriov.go
1
39.11%

Totals

Change from base Build 5046853371:
-0.06%

Covered Lines:
421

Relevant Lines:
1105

💛  - Coveralls

authors: SchSeba coveralls mlguerrero12


text:
Add context to validatePolicyForNodeState errors

validatePolicyForNodeState(...) errors should contain the node they were validated against, making the user understand where the configuration problem is located.
Examples of how error messages changed:
- numVfs(65) in CR p1 exceed the maximum allowed value(64)
+ numVfs(65) in CR p1 exceed the maximum allowed value(64) interface(ens803f0) node(worker-1)

- vendor(8086) in CR p1 not supported for vdpa
+ vendor(8086) in CR p1 not supported for vdpa interface(ens803f0) node(worker-1)

(Note: I put literals instead of fmt.Sprintf(...) in assertion calls to simplify test code, as suggested here)

Pull Request Test Coverage Report for Build 6225738869

2 of 4 (50.0%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.003%) to 25.777%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/webhook/validate.go
2
4
50.0%

Files with Coverage Reduction
New Missed Lines
%

controllers/sriovibnetwork_controller.go
2
69.77%

controllers/sriovnetwork_controller.go
2
69.77%

Totals

Change from base Build 6185490527:
0.003%

Covered Lines:
2165

Relevant Lines:
8399

💛  - Coveralls

LGTM

authors: coveralls rollandf zeeke


text:
Add support for installation on external storage

Have you considered setting android:installLocation="auto" in AndroidManifest.xml to allow installation on external storage?
According to the wiki (https://github.com/k9mail/k-9/wiki/Storage), the reason for not supporting installation on external storage is:
"Since Android 2.2, the system is able to install core application files on the external storage (usually a microSD card). Unfortunately, doing so makes the application unable to work when the external storage is shared, like when your device is USB-plugged. Furthermore, Android does not restart the application when the application is brought back (on USB unplug)."
But recent versions of Android don't unmount the external storage when the storage is shared, they use MTP.

From http://developer.android.com/guide/topics/data/install-location.html

When your application is installed on the external storage:
[...]
The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory.

Given that the APK size is ~3 MB there's not much to gain by allowing installation on external storage. I couldn't find any documentation on how devices with MTP support behave and if newer Android versions are required to use it. Still, users could remove the SD card and cause issues.
So the "advantage" is far outweighed by the disadvantages.
If you want to move your messages database, which is what can get really large, to an SD card, see issue #863.

I should have mentioned that I am using Android 6.0, whose implementation of App2SD (adoptable storage) stores both the .apk and private data/databases/etc on the external storage.
From https://source.android.com/devices/storage/adoptable.html

Android has always supported external storage accessories (such as SD cards), but these accessories were historically limited to simple file storage, due to their expected impermanence and the minimal data protection offered to traditional external storage. Android 6.0 introduces the ability to adopt external storage media to act like internal storage.
[...]
Apps can be placed on adopted storage media only when the developer has indicated support through the android:installLocation attribute. New installs of supported apps are automatically placed on the storage device with the most free space, and users can move supported apps between storage devices in the Settings app. Apps moved to adopted media are remembered while the media is ejected, and return when the media is reinserted.

Not setting installLocation to either auto or preferExternal prevents Android 6.0 users from taking advantage of adoptable storage. At the same time, Android 5.1 (or earlier) users would be minimally affected by the change, because:

Recent versions of Android use MTP. While not required, it is strongly recomended by Google. From https://static.googleusercontent.com/media/source.android.com/en//compatibility/4.4/android-4.4-cdd.pdf

Device implementations MAY use USB mass storage, but SHOULD use Media Transfer Protocol.

In fact most if not all phones sold with 4.4 (or newer) preinstalled support MTP.

Users who remove the SD card expects the apps on the SD card to be unavailable while the SD card is removed, they wouldn't see the temporary unavaibility of k9mail as unexpected behaviour.

With installLocation set to auto, k9mail can still be kept on the internal storage if the user wants so


text:
Never checks for new mail

I've been using K-9 Mail for five years, on both Android 4.4 and 9.0. I've never gotten it to automatically check for new mail in the background like every other e-mail client does. I've looked through all ofthe settings and none of the settings I've adjusted fix this. The only time it actually checks for mail is when I have it open and click the sync button. Why isn't it checking for e-mail on its own?

Please follow the issue template.

Duplicate of #3950

authors: Melab cketti philipwhiuk


text:
Mails shown twice

With some mails, K-9 Mail shows the mail twice; and selecting one of these messages also selects the other. The message-count is correct.
This seems to be a GUI error.
Maybe #981 was the same error.
Expected behavior
Every message should only be shown once.
Actual behavior
Some messages are shown twice by K-9 Mail.
Example (GUI output approximated in ASCII) with two messages (each shown twice):

Message list: 2 Messages
[ ] To: test@example.com, "TEST 2"
[ ] To: test@example.com, "TEST 2"
[ ] To: test@example.com, "TEST 1"
[ ] To: test@example.com, "TEST 1"

select 1st message -> duplicate is automatically selected, too
[X] To: test@example.com, "TEST 2"
[X] To: test@example.com, "TEST 2"
[ ] To: test@example.com, "TEST 1"
[ ] To: test@example.com, "TEST 1"

moving/deleting the message, also moves/deletes the duplicate

after moving the message to an other folder, it is then shown 3 times, after moving again to an other folder, it is shown 5 times, after then moving back it is shown 9 times, then 17 times, then 33 times ...
So, after each move, the "duplicates" increase.

there's also only one entry in the messages-table of the SQL database

Environment
K-9 Mail version: 5.600
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

You're using an over 1 year old version of K9 (from 2018). Try using 5.700 which was released in Nov 2019, or the new 5.703

Please update your app to v5.703 and see if the issue is still there.

I'have a similar problem that I get duplicated mails but only recently received and new mails. Old mails are shown correctly. With a different email's client mails aren't shown duplicated. Version is v5.707

Duplicate of #2705

authors: cketti filipiff realmain rkoe


text:
Unhandled Exception when parsing completes after CustomTextSpanNotifier.disposed()

1.4.2
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: A CustomTextSpanNotifier was used after being disposed.
Once you have called dispose() on a CustomTextSpanNotifier, it can no longer be used.
#0      ChangeNotifier.debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:179:9)
#1      ChangeNotifier.debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:186:6)
#2      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:412:27)
#3      _ValueNotifier.updateValue (package:custom_text/src/span/text_span_notifier.dart:34:7)
#4      CustomTextSpanNotifier.buildSpan (package:custom_text/src/span/text_span_notifier.dart:80:5)
#5      _CustomTextState._parse (package:custom_text/src/text.dart:591:9)
<asynchronous suspension>
#6      _CustomTextState._buildSpans (package:custom_text/src/text.dart:512:7)

This happens probably when CustomText is removed during parsing. It appears older versions (<= 1.3.1) did not have the bug. It is easy to just suppress the exception, but it should be better to find the root cause.

Reproducible code
CustomText is removed before parsing ends and the exception is thrown.
import 'package:flutter/material.dart';

import 'package:custom_text/custom_text.dart';

void main() => runApp(const App());

class App extends StatefulWidget {
  const App();

  @override
  State<App> createState() => _AppState();
}

class _AppState extends State<App> {
  bool _visible = true;

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addPostFrameCallback((_) {
      setState(() => _visible = false);
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: _visible
              ? CustomText(
                  'abcde',
                  parserOptions: ParserOptions.external(_parser),
                  definitions: const [
                    TextDefinition(matcher: PatternMatcher('')),
                  ],
                )
              : const SizedBox.shrink(),
        ),
      ),
    );
  }

  Future<List<TextElement>> _parser(String text) async {
    await Future<void>.delayed(const Duration(seconds: 1));
    return [TextElement(text)];
  }
}

The check for notifier disposal was mistakenly removed by #45.

26691edb5929edb98dcf26c091234583bb3de4c9
https://github.com/kaboc/flutter_custom_text/blob/26691edb5929edb98dcf26c091234583bb3de4c9/lib/src/span/text_span_notifier.dart#L35-L40

d7d46f85a564584d430664c847e7f5fe3bfb3232 (#45)
https://github.com/kaboc/flutter_custom_text/blob/d7d46f85a564584d430664c847e7f5fe3bfb3232/lib/src/span/text_span_notifier.dart#L25-L29
https://github.com/kaboc/flutter_custom_text/blob/d7d46f85a564584d430664c847e7f5fe3bfb3232/lib/src/span/text_span_notifier.dart#L60-L64
The _disposed flag is only used here (as fix for #6):
https://github.com/kaboc/flutter_custom_text/blob/d7d46f85a564584d430664c847e7f5fe3bfb3232/lib/src/span/text_span_notifier.dart#L113-L123


text:
Feature: Multiprocessing cloning & bug corrections

Multiprocessing : added pooling in the cloning mechanism
Bug correction: Giphon was not cloning all the repos:
When trying on gitlab.com/gitlab-org/ci-cd, Giphon was only cloning 27 repos out of the 136, include_subgroups=True in projects.list() do the tree traversal stuff and solved the problem

Giphon before :

Giphon after (without multiprocessing, but bug fixed) :

Giphon after (with multiprocessing and bug fixed) :

I dont understand why the progress bar is stucked in the middle (everything is cloned)
I was watching a movie streaming will doing the test, the connexion was not the best :)

And also, from my mchaine

Multiprocessing : added pooling in the cloning mechanism
Bug correction: Giphon was not cloning all the repos:
When trying on gitlab.com/gitlab-org/ci-cd, Giphon was only cloning 27 repos out of the 136, include_subgroups=True in projects.list() do the tree traversal stuff and solved the problem

Giphon before :

Giphon after (without multiprocessing, but bug fixed) :

Giphon after (with multiprocessing and bug fixed) :
 I dont understand why the progress bar is stucked in the middle (everything is cloned)
I was watching a movie streaming will doing the test, the connexion was not the best :)

From my machine, with giphon 0.1.8, it finds 201 elements to handle for gitlab-org/ci-cd in  gitlab.com:

Closing as this doesn't seem to affect all envs

authors: kabooboo planchon

repo: kabooboo/giphon


text:
world edit not working

World edit is not working in 1.19.2 please fix it.
When I type in //paste command it is not working

Please report the bug to FastAsyncWorldEdit.
This is not the place to report bugs with 3rd-party plugins.

repo: kaboomserver/server

license: Unlicense


text:
Attached Lsp not working

Hey I don't know if anyone would know why for the Rust Lsp if I open a file in another buffer the LSP even though it says attached doesn't provide any of it's functions such as autocompletion. In the video you'll see me

Open my init.lua file and run LSP info showing only 1 Lua lsp attached and demonstrate LSP autocomplete and definitions working. I will then open another lua file and show that it still works and after running LSP info there is still only 1 attached.
I will open my rust file and run LSP info showing 1 attached same as above and LSP working. BUT when I open a second the amount attached goes to 2 (maybe this is weird behaviour) after running LSP info and LSP will not work.

https://user-images.githubusercontent.com/31296212/115316080-a43a5100-a146-11eb-86e6-bbdbb9b2f096.mp4
I honestly have no idea what's happening...I tried reloading the buffer and that didn't work either. Any ideas??

I kinda have the same problem with tailwindcss but yesterday it was working perfectly.
https://user-images.githubusercontent.com/31669768/116006341-10b3c500-a60b-11eb-9e96-ab79e68eb18a.mp4

I don't know if this can help but here's the lsp.log file
lsp.log
I looked into it and it seems working(?) But I don't get the completions, nvim-comple is working as you can see in the video above. Here's my lspconfig file:
lua.txt

very weird indeed.
@xMicky24GIT what does :set filetype say? Just vue? Your config seems fine and it should work with vue.

@Antonio-Bennett I also have no idea what is happening, but I don't think it's related to lspinstall.

very weird indeed.
@xMicky24GIT what does :set filetype say? Just vue? Your config seems fine and it should work with vue.

Yes, it just says "filetype=vue". I don't understand what happened, the other day it was working perfectly and I was so happy to not have to use VSCode hahaha

Sorry, I don't know what's wrong then :/
What I would try:
Install latest neovim nightly, update your plugins, reinstall tailwindcss lang server.
Also open the project in VSCode and confirm that it's working there.

I did all of that and it’s working fine on vs code. That’s strange. I don’t know what else to try
Michele Viotto
On 26 Apr 2021, 19:25 +0200, Karim Abou Zeid @.***>, wrote:

Sorry, I don't know what's wrong then :/
What I would try:
Install latest neovim nightly, update your plugins, reinstall tailwindcss lang server.
Also open the project in VSCode and confirm that it's working there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Is the /frontend directory also where your tailwind.config.js is?

Yes and I open the Vue file from /frontend, so I do “nvim src/App.vue”. The root dir found when I do :LspInfo is right, although for the html it says the directory before /frontend
Michele Viotto
On 26 Apr 2021, 19:28 +0200, Karim Abou Zeid @.***>, wrote:

Is the /frontend directory also where your tailwind.config.js is?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yep that's fine. Root dir is detected as necessary for language servers. Doesn't matter from where you open the file. Eg for html I think it's looking for the root git directory.

Yes it’s probably looking for the .git directory. At this point I hope tailwindcss will start to work again without doing nothing like it did with stop working and it’s the only one that doesn’t work
Michele Viotto
On 26 Apr 2021, 20:42 +0200, Karim Abou Zeid @.***>, wrote:

Yep that's fine. Root dir is detected as necessary for language servers. Doesn't matter from where you open the file. Eg for html I think it's looking for the root git directory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I don't know I hate my life, now it's working. I don't understand

Interesting. Let me know when you find out some day why it's not working in App.vue

authors: Antonio-Bennett kabouzeid xMicky24GIT

repo: kabouzeid/nvim-lspinstall


text:
【質問】逆指値で注文した時に即ビンゴエラー

逆指値で発注した際、「即ビンゴエラー」になります。
例えば
現在価格＝1525円の時に1528円以下であれば成行で空売りの注文をしたい場合になります。
（おそらく発注して即時に条件を満たしてしまう為に発生するエラーかと思います）
空売りで発注したい場合、株数を多くしたいので、
即時条件に合ったとしてもエラーとならずに発注したいです。
下記の発注で
「即ビンゴエラー」にならないようにするにはどうすればいいですか？
記）
現在値：1525円
var obj = new
{
Password = "111111",
Symbol = "9433",
Exchange = 1,
SecurityType = 1,
Side = "1",
CashMargin = 2,
MarginTradeType = 1,
DelivType = 0,
AccountType = 4,
Qty = 200,
FrontOrderType = 30,
Price = 1528,
ExpireDay = 0,
ReverseLimitOrder = new
{
TriggerSec = 1,
TriggerPrice = 1528,
UnderOver = 1,
AfterHitOrderType = 1,
AfterHitPrice = 0
}
};

現状、その名の通りとなりますが、即ビンゴがヒットするような注文は発注チャネル問わずエラーとなってしまいます。
そのため、即ビンゴを回避する方法としては、現在価格を加味し、即ヒットしないような価格でおだし頂くしかございません。

即ビンゴをエラーとしている理由は何ですか？
この条件でも発注できないとおかしいと思います。
改修する予定はないですか？

通常の指し値であれば即ビンゴのエラーは発生致しませんが、逆指し値の場合ですと、トリガーに即ヒットしてしまう注文はワーニングとして他チャネルであれば画面表示して止めている状況です。
現状、こちらの改善予定はございませんが、お声として連携させていただきます。

repo: kabucom/kabusapi


text:
Manage crystalline versions with nix and home-manager

https://github.com/elbywan/crystalline
https://github.com/NixOS/nixpkgs/issues/129002
https://github.com/NixOS/nixpkgs/pull/163021
I have tried to create asdf plugin, bit confused how I detect the version. crystalline does not provide as crystalline --version?
Should I send message to LSP in CLI?

https://github.com/NixOS/nixpkgs/pull/238775 has been merged

Needless since disabled crystal in global scope
https://github.com/kachick/dotfiles/commit/b638cb2194fc70760a5bd4ae18680c90182b7842#diff-0d323c20669a2f8469956dc8be725de2fdb0738fe8f0f2e7a538c7dafe826eeaL112
If needed, enabled in each repository
https://github.com/kachick/renovate-config-asdf/blob/a619d7a0d776e2ad057af423b35b2f28ca7bada8/default.nix#L12-L18
https://github.com/kachick/renovate-config-asdf/blob/a619d7a0d776e2ad057af423b35b2f28ca7bada8/.vscode/settings.json#L18
Especially, crystal-vscode can only set absolute path for LSP. so global LSP will not fit

repo: kachick/dotfiles


text:
add benchmarks for user-function application

These new benchmarks are meant to exercise user-defined function application. The wrap10_integer nests 10 monomorphic user-defined functions calls. accum applies a function to a list of integers.
These benchmarks are added to measure the impact of adding return-type checking for user-defined functions in #1209.
Cherry-picking these benchmarks onto #1209 and modifying it to run return-type checking an arbitrary number of times gives the following timing results:
$ cabal run -O2 benchmark:bench -- -m prefix defun

Summary for return-type checking
wrap10 and wrap10_integer cost about 3 microseconds per run per return-type check replicate. accum costs about 0.3 microseconds per run with return-type check replicate. These two results are compatible because wrap10 involves 11 function applications, so when we instrument the code to repeat type checking N times, wrap10 will end up type checking 11*N function applications.
Details for return-type checking
Check return types 0 times:
benchmarking defun/wrap10
time                 173.3 μs   (167.2 μs .. 180.3 μs)
                     0.987 R²   (0.976 R² .. 0.996 R²)
mean                 175.3 μs   (170.3 μs .. 181.3 μs)
std dev              20.09 μs   (14.03 μs .. 29.00 μs)
variance introduced by outliers: 84% (severely inflated)

benchmarking defun/wrap10_mono
time                 177.0 μs   (167.9 μs .. 187.5 μs)
                     0.983 R²   (0.977 R² .. 0.994 R²)
mean                 176.8 μs   (167.3 μs .. 207.2 μs)
std dev              52.42 μs   (16.38 μs .. 106.8 μs)
variance introduced by outliers: 98% (severely inflated)

benchmarking defun/accum
time                 394.6 μs   (353.8 μs .. 437.6 μs)
                     0.922 R²   (0.873 R² .. 0.989 R²)
mean                 376.0 μs   (360.5 μs .. 408.4 μs)
std dev              67.60 μs   (39.69 μs .. 122.5 μs)
variance introduced by outliers: 92% (severely inflated)

Check return types 1 time:
benchmarking defun/wrap10
time                 178.2 μs   (173.4 μs .. 183.6 μs)
                     0.992 R²   (0.988 R² .. 0.994 R²)
mean                 184.8 μs   (180.0 μs .. 191.5 μs)
std dev              19.71 μs   (15.90 μs .. 24.55 μs)
variance introduced by outliers: 82% (severely inflated)

benchmarking defun/wrap10_mono
time                 169.8 μs   (164.2 μs .. 176.1 μs)
                     0.985 R²   (0.976 R² .. 0.993 R²)
mean                 176.6 μs   (169.8 μs .. 194.6 μs)
std dev              35.87 μs   (21.92 μs .. 57.75 μs)
variance introduced by outliers: 95% (severely inflated)

benchmarking defun/accum
time                 323.1 μs   (312.1 μs .. 333.4 μs)
                     0.984 R²   (0.973 R² .. 0.994 R²)
mean                 341.5 μs   (329.9 μs .. 362.0 μs)
std dev              54.05 μs   (35.27 μs .. 75.81 μs)
variance introduced by outliers: 90% (severely inflated)

Check return types 1000 times:
benchmarking defun/wrap10
time                 3.522 ms   (2.786 ms .. 4.312 ms)
                     0.828 R²   (0.721 R² .. 0.941 R²)
mean                 3.877 ms   (3.621 ms .. 4.510 ms)
std dev              1.162 ms   (600.3 μs .. 1.976 ms)
variance introduced by outliers: 95% (severely inflated)

benchmarking defun/wrap10_mono
time                 2.499 ms   (2.283 ms .. 2.718 ms)
                     0.942 R²   (0.917 R² .. 0.969 R²)
mean                 2.534 ms   (2.390 ms .. 2.716 ms)
std dev              504.2 μs   (377.6 μs .. 704.6 μs)
variance introduced by outliers: 90% (severely inflated)

benchmarking defun/accum
time                 575.5 μs   (561.1 μs .. 589.0 μs)
                     0.992 R²   (0.984 R² .. 0.996 R²)
mean                 618.5 μs   (599.8 μs .. 643.7 μs)
std dev              73.04 μs   (53.25 μs .. 100.8 μs)
variance introduced by outliers: 82% (severely inflated)

Function arity
arity-tc/**-args measure the application of user-defined functions with different arity.
00-args: 166us +/- 9us
01-args: 174us +/- 6us
10-args: 186 +/- 6us
40-args: 261 +/- 55us
=> About 2.5us per argument.

Object argument size
object-size/*-object tests user-defined functions applied to various sizes of object.
small-object has a single integer field. medium-object has 8 fields of type integer, bool and small-object. large-object has 16 fields with those same types.
small-object (1 field): 182us +/- 18us
medium-object (8 fields): 236us +/- 16us
large-object (16 fields): 300us +/- 20us
=> About 8us per record field

List argument size
list-tc/000-items: 185us +/- 10us
list-tc/001-items: 171us +/- 4us
list-tc/100-items: 385us +/- 11us
=> About 2.2us / item

@jwiegley Yeah, Emily and I have started brainstorming on ideas of how to keep a chronology of benchmark results, so we could treat certain changes as regressions. Wonder if we should do some discussion about this as an epic.

repo: kadena-io/pact


text:
Showing all results when using static data.

So i'm just using this as a quick way of not making people type out a whole item as we know most of the categories they want to search so we are opting to use static data.
My Service is the following, I may be using it wrong I'm not sure since you didn't show how a static example would work in the docs.
import {AutoCompleteService} from 'ionic2-auto-complete';
import { Http } from '@angular/http';
import {Injectable} from "@angular/core";

@Injectable(

)

export class CompleteService implements AutoCompleteService {
  labelAttribute = "item";
  results: any;
  constructor(private http:Http) {

  }
  getResults(keyword:string) {
    return this.results = [
      {item:'engine oil'},
      {item:'engine oil filter'},
      {item:'fuel filter'},
      {item:'air cleaner'},
      {item:'hydraulic oil'},
      {item:'hydraulic oil filter'},
      {item:'transmission oil'},
      {item:'transmission oil filter'},
      {item:'coolant'},
      {item:'cab filter'},
      {item:'battery'},
      {item:'tires'}
    ]
  }
}

And here is a screenshot of the issue.

Thanks for letting me know, I'll check this out as soon as I come back from vacation :)

authors: kadoshms lukealford


text:
Add if defined validation for user & password

Fix 500 TypeError: Cannot call method 'indexOf' of undefined
when params not provided

This is a good fix to add. I can probably just put this in a minor release (0.6.6). Pull requests should be made on the dev branch (or a specific release branch, but definitely never master). You can check out the Contributing Guidelines for a bit more information. I'll be making those guidelines more comprehensive this weekend, so look out for that if you plan to contribute again (which is always greatly appreciated).
I need to leave some comments on the code and commit message, and if you feel like fixing them and resubmitting the pull request on the dev branch, then we can go from there. Otherwise, if it's too much work for what may seem like a simple fix, we can create an issue for it and I'll add it in asap. One of the big things that needs to be added is an automated test to show that this is actually working. The change log will also need to be updated, and you should consider updating the Authenticating section of the docs to include the information about the error response. I won't kill you for not including the last bit, because I do intend to add API documentation for all the autogenerated endpoints soon, but it would be helpful to add that information there as well.
Thanks for the effort so far! This is a solid fix that will definitely make it's way into official version, one way or another.

Ok will follow your guidelines Thanks

authors: kahmali nicoonee

repo: kahmali/meteor-restivus


text:
About sort data

Hello kahst.
I  met the problem about 'gbk' codec can't decode bytes in position 19566-19567: illegal multibyte sequence when I read the xml file .Do you get the error too.Or just I use the Chinese to do comment and cause the error ?
Thank you

To me, this sounds indeed like some unicode confusion. I did not experience that kind of error when I processed the xml data. Have you tried to remove the comment? Did it work?

@kahst thank you for answer.I did not try remove the comment , But I set encoding to utf-8, it works.
And I found out , in the xml file that it had already said it's utf-8 encoding


text:
路由缓存有问题

复现方式：
noCache设置为false, 从列表跳转同一个详情
第一次点击用户详情跳转   xxx/userDetail?userId = 1 , 这时候点击切换tag没问题
第二次点击另外一个用户详情跳转   xxx/userDetail?userId = 2   跳转没问题
如果这时候切换tag再切换回来  变成了第一次的xxx/userDetail?userId = 1的缓存
貌似只会缓存第一次的页面内容

因为对于路由来说，你的路由确实是没变化的，只是query变化了。这个可能得自己watch一下


text:
프로젝트 그라운드룰 만들기

아래와 같은 그라운드룰을 만들면 좋겠어요.

데일리미팅을 XX시에 30분 진행
데일리미팅에는 한일,할일, 공유내용을 전파
담당이슈 일정변경시 빠른 공유 필요
프로젝트의 결과보다 과정에 더 충실해보기
..
..
..

위키로 잘 정리하셨네요.

repo: kakaoDreamy/kakaoDreamy


text:
replace memory management with Phobos based solution

Memory reservation may be incorrect. Code after const newAllocationSize (reallocation) was executed from unittests.
This PR replaces MemoryPoolmpl with a dynamic list of regions, 1MB each at least. Standard phobos allocator building blocks are used. + few optimizations
See also #29

Requires DMD FE > 2.074. Recent LDC beta has it

Good work. Minor nitpicks, let me know what you think before I merge.

Thanks! const -> immutable is done

repo: kaleidicassociates/excel-d


text:
ng-repeat on a non-div element doesn't seem to work

There may be something else going on here, but in my app, using vs-repeat to enclose an ng-repeat on a non-div (e.g. a) element doesn't seem to work.
Doesn't work (nothing is displayed):

etc...

Works

etc...

Is this a bug, by design, or am I doing something wrong?

Could this not be because of the css display property difference between a and div?

Wow, I think that did it!
Switching back from
 to  caused the problem to appear again.  Not only did the elements not appear in the browser, but they didn't even show up in the DOM.
In this broken state, adding a { display: block; } solved the problem!  I would have never guessed to do that since the elements weren't even appearing in the DOM.  I'm guessing vs-repeat somehow only processes block elements and simply ignores others?

Would it be a good idea to add some clarification to Readme.md?

@rinogo This will be because of the required known sizes of the repeated elements I think.

authors: rinogo stefchri

repo: kamilkp/angular-vs-repeat


text:
exception

adding to main

marge exception branch


text:
Room Request Spec

Hello! 🖖
You can find the features added for this Pull Request below. 🧩

Request tests added for action POST and DELETE for Room.

Thank you for your review in advance! 🤓

Hey Felix,
Thank you for the review. I will merge it now! 🎉🎉

repo: kamzzy/Hotel-Room


text:
Fix deprecation warnings for serenity::interactions

This fixes the deprecation warnings for the upcoming serenity 0.11.3 version.

As with #82, I'll merge this PR once the next serenity version releases

authors: kangalioo nickelc

repo: kangalioo/poise


text:
capture flows do individual files

This is a very nice, readable project.  I'm just looking at rust for the first time, and this has been very helpful in understanding how a project should be structured.
I am trying to figure out how I could write packet data to a file based on attribute values in the header of the packets, e.g. dst_addr.  I imagine this could be achived by passing the values from get_packet_meta function to a write function, although I can't figure out how to open/close a savefile.  I have been able to create a file with the name of the first dst_addr received by imitating your save_to_file function, but it's a while loop so the file name is never re-evaluated.  Is it possible to write to many savefiles with a single capture object?
If not, perhaps another possibility would be to start another capture object using the get_packet_meta as a filter, although with ignorance about how rust manages threads and memory I think this method could result in i/o or resource issues.
Interested in your thoughts

Hi @mikewalshchicago, I am really sorry for the delayed response. I was caught up on some other stuff.
How I understand your query is that you would want to write packets to different files based on the fields of the packet?
One approach would be that in save_to_file, you could create files and store the file handles in a Map<IP_addr, fileHandle>. So if you receive a new destination IP addr, add a new entry to the map. If an entry for an IP already exists then use the existing file handle. This can be done inside the while loop as far as I know.

authors: kanishkarj mikewalshchicago

repo: kanishkarj/snoopy


text:
audio-separator: error: unrecognized arguments: --model_name=UVR_MDXNET_KARA

Hi! I'm getting this error when trying to set a model_name:
audio-separator: error: unrecognized arguments: --model_name=UVR_MDXNET_KARA_2
I see there is an example using this option on README.
I'm using Python 3.10.

Hey @jonata , sorry about that, I must have missed those examples in the README when I moved from model_name to model_filename in version 0.13 a couple of months ago.
I've just pushed a commit updating the README:
https://github.com/karaokenerds/python-audio-separator/commit/59e72e27caf0f06c6d1b0ddb28c07ad864075127

Thanks for the fix!
By the way, if I may suggest, it would be great to have some more detailed instructions on how to download the models. I see some broken links or/and obscure ways to find the specific files. Thanks again!!

Ah, maybe there's some misunderstanding about how to use audio-separator which could be improved in the documentation wording;
You do not need to download any files yourself - audio-separator does that automatically for you!
To see a list of supported models, run audio-separator --list_models
Anything file listed in that output can be specified with the --model_name parameter and it will be automatically downloaded to the --model_file_dir (default: /tmp/audio-separator-models/) on first usage.
Please let me know once you get it working for you, and if you have any suggestions for how I can better explain this in the README, I'm very keen for feedback!

Any file listed in that output can be specified with the --model_name parameter (e.g. --model_name UVR-MDX-NET-Inst_HQ_3.onnx) and it will be automatically downloaded to the --model_file_dir (default: /tmp/audio-separator-models/) on first usage.

You mean --model_filename 😆
I got it now! Thanks @beveradb !!

authors: beveradb jonata

repo: karaokenerds/python-audio-separator


text:
Cursor is always hidden

Cursor is hidden even when not scrolling and with neoscroll_hide_cursor_line = 0
I even tried defining neoscroll_hide_cursor_line before loading plugins:
init.lua -
local api = vim.api

api.nvim_command("packadd packer.nvim")
vim.o.termguicolors = true
vim.g["conjure#mapping#doc_word"] = "K"
vim.g.neoscroll_hide_cursor_line = 0
local packer = require("packer")
local packages = require("packages")

packer.startup(function()
    for _, value in pairs(packages) do
        packer.use(value)
    end
end)

Could you pull the latest changes and try again? I might have fixed the issue.

It's always visible now :)

Just for future reference, I changed g:neoscroll_hide_cursor_line to g:neoscroll_hide_cursor to make its purpose clearer

I mean, I can't hide it using neoscroll_hide_cursor now

Oops, sorry for the missunderstanding. As explained in the docs, hiding the cursor only works if you have 'termguicolors' set (which it is not set by default). Try:
set termguicolors

It can be hard to see if your cursor is actually hiding with low time steps. Try increasing them to make sure it is not hiding while scrolling.
If this doesn't work post the result of set guicursor.

I have termguicolors set, the steps are default, my screen refresh rate is 60 Hz, guicursor is guicursor=n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20,a:blinkon700

Can't seem to reproduce the issue... If you run set guicursor+=a:NeoscrollHiddenCursor does your cursor hide? If it does hide, can you provide a minimal config that reproduces the issue?

It does hide yeah. I'll try it on a minimal config soon

My bad, it is clearly hidden when I use C-f/b.


text:
Cursor moves up one line when using zb

👋🏼
I'm noting that when I press zb the cursor moves up one line. I can reproduce with:

Open a large enough file.
Alternate between inputting zz and zb.
Note the cursor moving up one line.

See sceencast:
https://user-images.githubusercontent.com/2284724/198908232-978aff86-dd52-407d-9231-921e90603af2.mp4

It can be reproduced if winbar is active.
To reproduce:

Add vim.opt.winbar = "dummy_winbar" to config
Open a long file (at least 2 screens long)
Move to middle of the file
Each press of zb will move editor one line up <--- not expected

The last commit (605a033) should fix this

authors: Jendker karb94 sQVe


text:
Go to newly created opportunity

When an opportunity is created, it is neither added to the found set nor opened in form view.

Fixed OnTimer: Handle Create Party and Opportunity to call Go to Opportunity Detail { Id }

repo: karbonfm/karbonfm


text:
Remove License header comment

After we merged #221, we can remove them.
If you expect that a minifier preserve @license comment to preserve license comment, you should care this.

This change is

bors r+

repo: karen-irc/option-t


text:
upgrade to zig master

this MR uses zig fmt to upgrade all syntax to zig master after this breaking change: 16163, seems formated lots of tab to 4 spaces.

Thanks, I merged the changes manually, since I rather keep the tabs.
I'm getting old and tabs are objectively more accessible. They allow developers to have large font without having large indentation (since the tab width can be adjusted independently of the font size, whereas the space is tied to the font size).


text:
Fix bug when generating Reason was being incorrectly populated

Fixed issue where a few of the WhenTrue and WhenFalse overloads were causing the Reason property to use the propositional statement instead of the assertion
Updated docs

Codecov Report
Attention: Patch coverage is 97.22222% with 1 line in your changes missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

Motiv/AsAllSatisfiedExtensions.cs
100.00% <ø> (ø)

Motiv/AssertionExtensions.cs
100.00% <100.00%> (ø)

...tionBuilders/BooleanPredicatePropositionBuilder.cs
88.23% <ø> (+11.76%)
:arrow_up:

Motiv/BooleanResultBase.cs
83.07% <ø> (ø)

...on/BooleanResultPredicateExplanationProposition.cs
92.59% <ø> (ø)

...ilders/BooleanResultPredicatePropositionBuilder.cs
100.00% <100.00%> (ø)

...ion/FalseAssertionExplanationPropositionBuilder.cs
100.00% <100.00%> (ø)

...ion/MultiAssertionExplanationPropositionFactory.cs
100.00% <100.00%> (ø)

Motiv/EnumerableExtensions.cs
73.01% <100.00%> (+5.15%)
:arrow_up:

Motiv/Explanation.cs
78.94% <100.00%> (ø)

... and 5 more

... and 6 files with indirect coverage changes

authors: codecov-commenter karlssberg

repo: karlssberg/Motiv


text:
doc: update Karmada controller list

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

/cc @Poor12 @XiShanYongYe-Chang

repo: karmada-io/website


text:
doc: fix nit bugs in chinese document

What type of PR is this?
/kind documentation

What this PR does / why we need it:
fix wrong URL and word
Which issue(s) this PR fixes:

Special notes for your reviewer:

Thanks, it's more helpful to show the referenced title.

+1


text:
Issue in Colab (at least): python setup.py egg_info did not run successfully

I tried to install the module in Colab but I got the following error:
Processing /content/rils-rols
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I managed to solve this by changing the "readme.md" file name or inside setup.py to "README.md".

Hello Iron,
thank you for interest in our algorithm.
Are we speaking about new version (1.5.*) or about the paper-referred one 1.2?
Here is a working colab notebook for 1.2:
https://colab.research.google.com/drive/1BujSPRKDpIOUXFFxedAk4FgXYv4dBTKs?authuser=0#scrollTo=2Fa0vYfYRNb4
And instructions: https://pypi.org/project/rils-rols/1.2/
Regarding 1.5.*, it is a work in progress, that is why documentation for it is not still on the master branch.
But now I have corrected the link, you can see it on pypi.org that it refers to a non-master branch:
https://pypi.org/project/rils-rols/
Maybe you should try to run 1.5.5 on local machine, there are some issues with installing it on colab.
Best regards,
Aleksandar

The Colab notebook for 1.2 worked fine, thanks! The issue happens when I try just pip install rils-rols, as described in the README file. It seems that the only problem is case-sensitive readme.md file that does not match the line #3 of setup.py file, which calls:
with open("README.md", "r") as fh:
setup.py calls uppercase README but the file is lowercase readme. I was able to perform a pip install . inside of the rils-rols folder by just matching them.

Thank you for the catch.
But now I am not sure are you using version 1.5.*, because this version setup.py is a lot different -- it is in this branch:
https://github.com/kartelj/rils-rols/blob/binary-classifier-new/setup.py
You probably looked at the master:
https://github.com/kartelj/rils-rols/blob/master/setup.py
Maybe pypi cached something...
Could you please run:
pip install rils-rols==1.5.8 on colab and in local environment.
When I try it in local, it works fine (win10), but it doesn't work on colab.
Also, one suggestion regarding real-world instances (I suppose you are interested in those).
Version 1.2 is slow, so it used training dataset sampling (only 1%), which was enough for artificial instances with known solutions (so called ground-truth instances) salted with a bit of uniform noise.
In real-world instances, this sample is not enough, it is better to use the whole training set.
With new versions (1.5.*), RILS-ROLS is rewritten to C++ and packed as a Python module (that is why there are some installation issues remaining..).
Have a look at this issue https://github.com/kartelj/rils-rols/issues/3 from few days before.
There, I posted results of new C++ version on the black-box instances from SRBench, 120 of those.
You will see that the results are quite good. For a reference look at the results at SRBench here:
https://cavalab.org/srbench/results/
Old version 1.2 cannot reach these solutions: although the internal algorithm is almost the same, using such a large sample (100%) would make it practically unusable for moderate-to-large datasets.

Yes, you are right. Since I can't perform a pip install rils-rols (neither pip install rils-rols==1.5.8) in Colab, I cloned the master repo, renamed readme.md to README.md, and ran pip install .. Without renaming it, I got the same error message as in pip install rils-rols, but maybe they are distinct issues.
Thanks for the support!

The issue is solved, I hope.
The problem was in pybind11, although it is mentioned in the setup.py dependencies, it is not recognized for some reason within Colab environment, so I have added explicit installation of this before instalation of rils-rols.
(Maybe because pybind11 itself is used within setup.py, so it is referred before it is disclosed as a dependency...)
Here is a working minimal example for version 1.5.10 (default version at the moment):
https://colab.research.google.com/drive/1U8I92VTQao9UA9ErBK3VX9AbpIX1LLIv#scrollTo=IdTS8UfmPVVo

authors: IronTessaro kartelj

repo: kartelj/rils-rols