text:
Crash

snippet.txt
The attached HTML snippet causes a crash
within MarkupNSAttributedStringVisitor#reduceBreaklineInResultNSAttributedString

NSMutableRLEArray replaceObjectsInRange:withObject:length:: Out of bounds

Probably the HTML is malformed, but ZMarkupParser should fail more gracefully.
Thanks!

will fix asap, thanks for your feedback

snippet.txt
The attached HTML snippet causes a crash
within MarkupNSAttributedStringVisitor#reduceBreaklineInResultNSAttributedString

NSMutableRLEArray replaceObjectsInRange:withObject:length:: Out of bounds

Probably the HTML is malformed, but ZMarkupParser should fail more gracefully.
Thanks!

Did it happen on iOS18?

I found the parser works weirdly on iOS18. 🤔

Yes I think so.

Thank you all for your feedback and assistance.

private extension NSAttributedString.Key {
    static let breaklinePlaceholder: NSAttributedString.Key = .init("breaklinePlaceholder")
    struct BreaklinePlaceholder: OptionSet {
        let rawValue: Int

        static let tagBoundaryPrefix = BreaklinePlaceholder(rawValue: 1)
        static let tagBoundarySuffix = BreaklinePlaceholder(rawValue: 2)
        static let breaklineTag = BreaklinePlaceholder(rawValue: 3)
    }
}

The root cause is that the custom NSAttributedString.Key requires an extension from Hashable. Otherwise, on iOS 18 and above, it will throw the following error:
Obj-C `-hash` invoked on a Swift value of type `(extension in ZMarkupParser):__C.NSAttributedStringKey.(unknown context at $10380bcc0).BreaklinePlaceholder` that is Equatable but not Hashable; this can lead to severe performance problems.

This leads to a subsequent crash:
*** Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray replaceObjectsInRange:withObject:length:: Out of bounds'
*** First throw call stack:

However, the expected behavior is to record each breakline position and merge them according to the rules.
If we simply extend the struct with BreaklinePlaceholder: OptionSet, Hashable, the system will automatically merge repeated BreaklinePlaceholder, which is not what we want.
Therefore, I changed it to use a class declaration for the placeholder to maintain the original merging logic.
I also adjusted the crash point in mutableAttributedString.enumerateAttribute(.breaklinePlaceholder, in: NSMakeRange(0, totalLength)), implementing a safer approach by first collecting the ranges and then performing the deletions.
For more details, please refer to this PR. #78

Thank you for fixing this crash!

the full story: https://en.zhgchg.li/posts/9e43897d99fc/

authors: James-chok castroteam zhgchgli0718

repo: ZhgChgLi/ZMarkupParser


text:
Use Docker create program enviroment

Hi Sir,
This PR mainly pushes 2 files.

Use Dockerfile to create a the program environment.
Update README teach how to use the program in the container.

Thanks,
Jacky

thanks bro

source: gharchive/pull-request

repo: ZhgChgLi/ZMediumToMarkdown

license: MIT

license_type: permissive

license_source: github-api


text:
Ability to have text fade instead of untype

Is there a way that this plugin can be used to fade the type after it's been typed in as opposed to the delete key function that's currently in there?

That's a nice idea! What you have to do is:

Turn off the "erase" animations
Add "async" scenes that fade out the element and then play the next scene

Have a look at this fiddle: http://jsfiddle.net/bLn88v0s/

You're my favorite GitHubber! Thanks!

Glad to help! :)

Hi ! Sorry to bump this, but since now there isn't anymore theater.next() and theater.write() and maaaany more, how could I achieve that ?

The idea remains the same, the only change is that TheaterJS doesn't make any assumptions about whether the callback is synchronous or not. So a callback scene receives a done() function as first argument, which is the equivalent of the old theater.next(). Here is what it looks like with the latest version: https://jsfiddle.net/dc5e2s5r/1/
That been said, there are two things that I'm not really happy with:

Having to add the fadeOut callback after each scenes
The fact that disabling erase doesn't clear out the display value

I'll work on that to make it simpler but until then, the fiddle shows a decent solution.

Having to add the fadeout isn't really a problem now, since you've implemented 'scene:end' event ^^
Thanks for the tip !

Yes, the thing is that the events are non-blocking so you can't delay the execution of the next scene: #53

Yep, I saw the issues you opened, you literally predicted my questions haha :)
A workaround i'm using is too set some delay at the beginning of a new scene. Like that : .addscene(400,'luke: Heeey ')

With next release it should be either to handle such case:
var theater = theaterJS({ erase: false })

theater
  .on('type:end', fadeOut)
  .addActor('vader')
  .addScene('vader:Luke.', 'vader:I am your father.', theater.replay)

function fadeOut () {
  theater.stop()

  var $element = $(theater.getCurrentActor().$element)

  $element.fadeOut(500, function () {
    theater.getCurrentActor().displayValue = ''
    $element.show()
    theater.play()
  })
}

source: gharchive/issue

authors: AmineIzumi Zhouzi andandandandrew

repo: Zhouzi/TheaterJS

license: mit

license_source: bigquery


text:
[QUESTION] ObjectDisposedException when using Eager Refresh + DI with scoped services

Describe the question
After enabling Eager Refresh I started seeing ObjectDisposedException, because the services that are used in the factory are being disposed while the factory is still runinng, but the request that trigger the Eager Refresh already finished.
To Reproduce

Enable Eager Refresh
Use a service, which has a scoped/request lifetime, in the factory

Question
What would be the advised way to handle scenario's like this?
Versions
I've encountered this issue on:

FusionCache version: 0.24
.NET version: 7.0

Hi @gercobrandwijk and thanks for using FusionCache!
In general when using eager refresh or soft/hard timeouts a factory can, as you observed, finish running after the original GetOrSet method call.
The main example is EF with ASP.NET, where the DbContext is usually scoped and automatically provided by the DI container.
The solution in this case is to use an IServiceScopeFactory and be explicit about the lifetime, disposing it manually inside the factory (normally with a using statement).
Hope this helps.
ps: one question, if I may: why are you not on v1.0+? Just out of curiosity.

Check this issue also https://github.com/ZiggyCreatures/FusionCache/issues/119#issuecomment-2173530857

I also opened an issue in the EF repo for potential alternative solutions, see here.

The solution in this case is to use an IServiceScopeFactory and be explicit about the lifetime, disposing it manually inside the factory (normally with a using statement).

Thanks, makes a lot of sense obviosly. Tried it out, and it works fine :)

Check this issue also #119 (comment)

Sorry that I missed that one, I even searched for it in the issue list, but was not able to find it for some reason.

I also opened an issue in the EF repo for potential alternative solutions, see here.

The possible solution that you are suggesting there is I think not working in all scenarios. Imagine a factory that look like this:
async () => {       await Task.Delay(5000)       return await myService.GetAllItems(); }
So when the DbContext/Service wants to be disposed, no query is actually running yet (because it still has to start), so it will still dispose, and eventually give the same error. Therefor just managing the scope by yourself would simply be the best I think.

ps: one question, if I may: why are you not on v1.0+? Just out of curiosity.

We still have to update, no particular reason ;)

Thanks, makes a lot of sense obviously. Tried it out, and it works fine :)

Cool, happy it helped!

The possible solution that you are suggesting there is I think not working in all scenarios. Imagine a factory that look like this: async () => { await Task.Delay(5000); return await myService.GetAllItems(); } In this scenario, when the DbContext/Service wants to be disposed, no query is actually running yet (because it still has to start), so it will still dispose and then after 5 sec give the same Disposed exception. Therefor just managing the scope by yourself would simply be the best I think.

Although this specific example is kinda exotic, I get your point and it makes sense: I would say the general rationale is that a deferred (automatic) dispose would still not handle queries that are not started yet when the scope ends.
Probably a manual scope management is the best solution.

We still have to update, no particular reason ;)

Got it 🙂

authors: gercobrandwijk jodydonetti

repo: ZiggyCreatures/FusionCache


text:
Fix duck SVG

Amendment to SVG's

@joel-zilliqa this is ready for merge 🦆

repo: Zilliqa/snapshot-spaces


text:
Limit empty block production by some defined parameter

Currently, when there are no transactions, blocks are produced very quickly - it's basically limited by the speed of messages flow in the system. There should be some parameter specifying the lowest time an empty block can be produced.

I think this is now done, @bzawisto open again if not.

authors: JamesHinshelwood bzawisto


text:
Can't Install on laravel 5

in console he said
Problem 1
- Installation request for zizaco/entrust dev-master -> satisfiable by zizaco/entrust[dev-master].
- Conclusion: remove laravel/framework 5.0.x-dev
- zizaco/entrust dev-master requires laravelbook/ardent ~2.4 -> satisfiable by laravelbook/ardent[v2.4.0, v2.4.1, v2.4.2].
- laravelbook/ardent v2.4.0 requires illuminate/validation ~4.1 -> satisfiable by laravel/framework[4.1.x-dev, 4.2.x-dev], illuminate/validation[4.1.x-dev,

@bart  Im still with the same problem. I update my composer.json and require credentials to API.

@BrunoQuaresma Did you try the above entries in composer.json?

@bart sorry... i can install :+1:
"laravelbook/ardent": "dev-l5 as 2.4.2",
"zizaco/entrust": "1.3.*@dev",

Hm I think they updated some stuff in the current develop branch of laravel / framework. I will have al ook at it asap!

Nothing change for the "package" method... :/

I also get 'BadMethodCallException' error
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /vagrant/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:140
Stack trace:
#0 /vagrant/vendor/zizaco/entrust/src/Entrust/EntrustServiceProvider.php(21): Illuminate\Support\ServiceProvider->__call('package', Array)
#1 /vagrant/vendor/zizaco/entrust/src/Entrust/EntrustServiceProvider.php(21): App\Providers\RoleServiceProvider->package('zizaco/entrust', 'entrust', '/vagrant/vendor...')
#2 /vagrant/app/Providers/RoleServiceProvider.php(22): Zizaco\Entrust\EntrustServiceProvider->boot()
#3 [internal function]: App\Providers\RoleServiceProvider->boot()
#4 /vagrant/vendor/laravel/framework/src/Illuminate/Container/Container.php(523): call_user_func_array(Array, Array)
#5 /vagrant/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(597): Illuminate\Container\Container->call(Array)
#6 /vagrant/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(579): Illuminate\Foundation\Application->bootProvider(Object(App\Providers\RoleServiceProvider))
#7 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(App\Providers\RoleServiceProvider), 19)
#8 /vagrant/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(580): array_walk(Array, Object(Closure))
#9 /vagrant/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(15): Illuminate\Foundation\Application->boot()
#10 /vagrant/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(151): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#11 /vagrant/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(180): Illuminate\Foundation\Application->bootstrapWith(Array)
#12 /vagrant/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(89): Illuminate\Foundation\Console\Kernel->bootstrap()
#13 /vagrant/artisan(34): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}

Script php artisan clear-compiled handling the post-update-cmd event returned with an error

Any ideas?

Just comment the line that call the package method in Entrust's Service Provider. In Laravel 5 the package method is removed.

Thanks, yes that seems to work! This probably means all Laravel packages will need updating... looks like a non backward compatible change for Laravel 5... :(

Ok, for those that are still a little confused, here's how I got it to install with Composer (all details are above, but this is just the easier to follow version!)

Add  the following to the  "require" section of your composer.json

    "laravelbook/ardent": "l5-dev as 2.4.2",

Add the following repository to your composer.json (I put mine below "type", above "require")

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/bart/ardent.git"
        }
    ],

Do a composer update. You'll get the "Bad method call exception". Comment out the following line in the 'EntrustServiceProvider.php' file

    $this->package('zizaco/entrust', 'entrust', __DIR__.'/../');

I'm still playing with entrust, so I cannot confirm if everything is working correctly yet. But it did at least install!

After I've merged my project to 5.0 stable I've updated the fork as well, so you don't need to remove the package() method call manually anymore.

Published changes for Laravel 5.0. Please pull in https://github.com/bart/entrust.git as repository as well and reference it in your composer.json like this:
"zizaco/entrust": "l5-dev as 1.3.0",

is there any news on using ardent and entrust with laravel 5? i don't get this working in a new project.

What is not working? How does your composer.json file look like?

uff, seems there was a mistake by me
with this it's working, thank you very much
    "require": {
        "laravel/framework": "5.0.*",
        "laravelbook/ardent": "dev-l5 as 2.4.2",
        "zizaco/entrust": "1.3.*@dev"
    },
    "repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/bart/ardent.git"
    }
],

I'm still not winning with this on L5. After following the installation process (with repositories listed above) and by commenting out the the offending lines in the 2 service providers, I manage to get everything to install fine.
The problem seems to be when it comes to using it, If you try attach any of the relationships, things fail (on the belongsToMany part of the eloquent model)
Try attachRole or attachPermission and the error received is
'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class name must be a valid object or a string' in /Users/.../vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:980

I'm leaning towards this being caused by the new namespacing changes in L5, but could be wrong.
Has anyone been able to get the versions described in SimonFranz's composer.json to work on the stable branch of L5?

Yes, I did. Did you publish the config by using the vendor:publish console command?

Thanks Bart!
I wasn't including your entrust repo, which was causing all of the chaos.
Would you consider your repo safe to use on production?

Yes, it is safe to use on production, because we are using it in out company, too. But if you really want to use a L5 package, I can suggest https://github.com/caffeinated/shinobi. That's what I'm currently trying out, too.

Thanks for all the hard work. This has saved me a lot of frustration! Caffeinated looks interesting, although the documentation is a little thin, I like that it's built for L5.
I'll definitely check it out, but I'll stick to entrust for this project.

For Laravel 5, Try the new laravel-5 branch.

thanks @bart. I submitted a pull request for your fork.

Perfect, thanks!

authors: BrunoQuaresma Vasiharan andrewelkins bart canfiax dearteno dylanharbour simonfranz

repo: Zizaco/entrust


text:
🛑 Reports (Metabase) is down

In d38dd8e, Reports (Metabase) (https://reports.zollege.com/api/health) was down:

HTTP code: 504
Response time: 202 ms

Resolved: Reports (Metabase) is back up in a5d141b after 8 minutes.

repo: Zollege/status


text:
четкость картинки в 1440p

использовал kde большую часть времени и постоянно бесился с того что на этом же мониторе в macos шрифты красивые и гладкие, а у linux все время эти же шрифты либо зернистые либо расплывчатые. в общем, читать не очень приятно. на ютубе увидел очень приятные и нисколько не уступающие macos шрифты в этой сборке. однако, автор указывает, что сборка разработана под 1080p. хотел бы уточнить, есть ли пользователи мониторов 1440p 27 дюймов, как у вас с шрифтами обстоит вопрос? стоит ли пробовать ставить?

Проблема решена?

repo: Zproger/bspwm-dotfiles


text:
Update to latest ansible-lint version

Update to latest ansible-lint available from https://pypi.org/

update ansible role
update corresponding spec test
fix newly detected linting errors

fixed via #54

repo: Zuehlke/linux-developer-vm-with-ansible


text:
Running error message, indicating no database files

Line 1086 in file driver.py
    conn.commit()     conn.close() database_file = r'Database\history.db' create_database(database_file)
How can we solve this

Same problem any solutions?

Same problem too

authors: OumarDicko kkive maryxyan

repo: a-real-ai/pywinassistant


text:
use of offsetname?

quick question for use on offsets i havent been able to find anything on.
constexpr std::ptrdiff_t dwPrediction = 0x181A850;
constexpr std::ptrdiff_t dwEngineViewData = 0x5ECBFC;
constexpr std::ptrdiff_t dwNetworkGameClient_isBackgroundMap = 0x281477;
constexpr std::ptrdiff_t dwSoundService = 0x5ECB60;

dwPrediction is a pointer to the CPrediction class.
dwEngineViewData was added by this pull request.
dwNetworkGameClient_isBackgroundMap is used internally within the CEngineClient::IsInGame function.
dwSoundService is a pointer to the CSoundService class (see above pull request).


text:
多进程初始化的时候读取缓存文件会报错

会报这个错误json.decoder.JSONDecodeError: Expecting ',' delimiter: line 112577 column 19 (char 2131822)

@piekey1994 有两种可能性，你说的这个情况更可能是现在json文件的写没写成更安全的备用文件写然后替换的方式，所以有时一些意外情况造成json文件出错了。这个等下我更新下。
第二个可能性是确实是多线程方面的写问题，这块没有考虑，考虑加个文件锁。

@piekey1994 这周末抽一天时间解决这个issue吧，没有通篇阅读几篇只是零零碎碎的时间我也不敢下手改代码。

@piekey1994 version 0.3.1 75bff5bd30fb22fe6e32bfe5b11e34a49fbf27fa  这个更安全的json文件写动作修改肯定是没问题的。

@piekey1994 分支 test_multiprocess version 0.3.2 da5402a8d9cbdd734131dd36556f96bb54783440
移除原有的线程锁，只在模型写的那部分加上了文件锁，优化了模型的部分数据更新逻辑。 update_json_file 会将一些数据汇总之后再统一更新到模型文件中去。
写了一个多线程和多进程的简单单元测试代码，但是老实说这块错误不是很方便重现。
@piekey1994  你可以帮忙尝试下最新的分支代码然后看看还会出现错误吗？

@piekey1994 分支 test_multiprocess version 0.3.2 da5402a
移除原有的线程锁，只在模型写的那部分加上了文件锁，优化了模型的部分数据更新逻辑。 update_json_file 会将一些数据汇总之后再统一更新到模型文件中去。
写了一个多线程和多进程的简单单元测试代码，但是老实说这块错误不是很方便重现。
@piekey1994 你可以帮忙尝试下最新的分支代码然后看看还会出现错误吗？

我之前是在gunicorn里面起多个worker时出现的问题，你可以试试

@piekey1994 具体和本模块相关的运行代码也麻烦贴一下，如果只是多进程运行简单的分词代码已经测试没有问题了。gunicorn环境后面我再测一下。

@piekey1994 具体和本模块相关的运行代码也麻烦贴一下，如果只是多进程运行简单的分词已经测试没有问题了。gunicorn环境后面我再测一下。

没什么代码，就是gunicorn加载main文件的时候在import你这个包后初始化cache的时候就报错了，都没到分词那一步，有空我再实际测试一下吧

@piekey1994 pypi已更新到0.3.2版本。 3da2cf3e9efaf8677d1ffc6b816abbfe96be6bb1 。


text:
Logo design

Hi. I am a graphic designer. I volunteer to design a logo for open source projects. I can design it for you to use it in the readme file. What dou you say?

Hey @Batarian711, i would be glad if you did!
I don't have much to return in terms of exposure, but i sure will credit you where i use the provided logos.
Thanks.

Inspired by the old game console, I designed a minimalist logo. Is there anything you want to add ?

Thanks for the logo @Batarian711!

repo: aBARICHELLO/GAMINE


text:
Nothing happens

Nothing happens after start googoose function.

I've been gone from this project for a long time, but I'd look at it if you'd give me an example of what you're trying to do.


text:
🛑 AAFY PDP is down

In b0a0806, AAFY PDP (https://pagos.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AAFY PDP is back up in 014af21.

repo: aafyyuc/upptime


text:
Offset is not updating in tgcf.config.yml

I checked the recent release of tgcf
And tried both tgcf past and tgcf live feature
Both are working fine. But
When using tgcf in past mode , It is not updating it's offset in tgcf.config.yml

Hi @ankit-sinha-18, this will be resolved today.

Thank you

repo: aahnik/tgcf


text:
Algorithm request: Get the Day of the Week from a Specific Date

Is your algorithm request related to a computational problem? Please describe.
I am working on some automation stuff, I need to get 1st, 2nd 3rd, 4th or last of specific weekdays in the month, so I plan to implement a code to get the day of the week with order (Ex: 1st Sunday, 2nd Monday...) from the date or get a date of specific day of the week from the month or year input.
Describe the solution you'd like
For Get the Day of the Week from a Specific Date, I am going to get the dateValue.DayOfWeek from the DateTime parameter in the function then check if that DateTime -7 is from the same month or not to check on the occurrence of that particular weekday in the month previously. For get a date of specific day of the week from the month or year input, I am planning to do the similar stuff from before. Getting the 1st of the month, check dateValue.DayOfWeek add it according to the week of day want to find (1: Monday, 2: Tuesaday...) and the occurence wanted (1st, 2nd....) then proceed with DateTime + 7 with occurence count.
Describe alternatives you've considered
Looping through the date of month to get first week of day needed.
Additional context
Add any other context or screenshots about the feature request here.

您好，您的邮件我已经收到，会尽快处理，谢谢！中建八局设计管理总院 胡伟

authors: ChiaSuen hoowee

repo: aalhour/C-Sharp-Algorithms


text:
typing gselog does nothing (i'm on chrome on a mac)

is there any other way to trigger the management page? thanks

Should be fixed soon. Please see https://github.com/aaron-artille/gumshoe/issues/7.

repo: aaron-artille/gumshoe


text:
Inconsistent open/start & close/end time parameters in the kline REST & WS data

Is openTime the same as startTime? If so, does the same also apply to closeTime & endTime?
https://github.com/aarongarvey/binance/blob/master/lib/beautifier.js#L18
https://github.com/aarongarvey/binance/blob/master/lib/beautifier.js#L75
What are your thoughts in normalising the differences in both beautifier sections for consistency, if they are indeed the same? It's less overhead for developers looking to combine both websocket and historic data. Right now I'm assuming they are the same, and simply changing the var in the response before passing it to the DB.
There's also these:

quoteAssetVolume & quoteVolume
volumeActive & quoteVolumeActive & takerBaseAssetVolume & takerQuoteAssetVolume

I assume the latter are related but I'm not sure. Thanks!

Duplicate of issue #22.
I think everyone is in favor of doing this, but they want to do it as a major release so as to not break anyone's existing functionality.

Fair enough, I'll close this one in favour of #22. Thanks!

authors: apexearth tiagosiebler

repo: aarongarvey/binance


text:
[Bug]: VMware tools latest version not reported

What happened?
According to the VMware tools release notes, the latest version is 12.0.5-19716617 and yet Evergreen reports version 12.0.0-19345655.

Version
2205.567
What PowerShell edition/s are you running Evergreen on?
Windows PowerShell
Which operating system/s are you running Evergreen on?
Windows 10
Have you reviewed the documentation?

[X] Troubleshooting at: https://stealthpuppy.com/evergreen/troubleshoot/
[X] Known issues at: https://stealthpuppy.com/evergreen/issues/

Verbose output
VERBOSE: Get-EvergreenApp: Function exists: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2205.567\Apps\Get-vmwaretools.ps1.
VERBOSE: Get-EvergreenApp: Dot sourcing: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2205.567\Apps\Get-vmwaretools.ps1.
VERBOSE: Get-FunctionResource: read application resource strings from [C:\Program Files\WindowsPowerShell\Modules\Evergreen\2205.567\Manifests\vmwaretools.json]
VERBOSE: Get-EvergreenApp: Calling: Get-vmwaretools.
VERBOSE: Invoke-WebRequestWrapper: Adding ContentType.
VERBOSE: Invoke-WebRequestWrapper: Using temp file C:\Users\Jon\AppData\Local\Temp\tmpF279.tmp.
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0
Safari/534.6].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [ContentType: text/plain].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [UseBasicParsing: True].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [Method: Default].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [Uri: https://packages.vmware.com/tools/versions].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [PassThru: True].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [OutFile: C:\Users\Jon\AppData\Local\Temp\tmpF279.tmp].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [ErrorAction: Continue].
VERBOSE: GET with 0-byte payload
VERBOSE: received 10445-byte response of content type text/plain
VERBOSE: Invoke-WebRequestWrapper: Response: [200].
VERBOSE: Invoke-WebRequestWrapper: Content type: [text/plain].
VERBOSE: Invoke-WebRequestWrapper: Returning content of length: [175].
VERBOSE: Get-VMwareTools: Filtering version table with 175 lines.
VERBOSE: Get-VMwareTools: Filtered to 144 lines.
VERBOSE: Get-VMwareTools: Selecting first 20 lines.
VERBOSE: Get-VMwareTools: Convert to table.
VERBOSE: Get-VMwareTools: Found version: 12.0.0-19345655
VERBOSE: Get-EvergreenApp: Output result from: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2205.567\Apps\Get-vmwaretools.ps1.

Version Architecture URI
------- ------------ ---
12.0.0  x64          https://packages.vmware.com/tools/releases/latest/windows/x64/VMware-tools-12.0.0-19345655-x86_64.exe
12.0.0  x86          https://packages.vmware.com/tools/releases/latest/windows/x86/VMware-tools-12.0.0-19345655-i386.exe

The challenge with the source used to determine the Tools version, is that it doesn't provide a consistent data source. Listed below is what the source is showing right now.
The function has to convert the text to a table to be able to support it, so when column 3 is missing, this will break the conversion, thus lines with esx/0.0 are filtered out of the sort.
# Column 1: Tools version on NGC/VI Client
# Column 2: ESXi server version.'esx/0.0' indicates that the tools version
# is not yet bundled with ESXi.
# Column 3: ESXi server build number
# Column 4: Tools version on guest Setup/About page
# Column 5: Tools build number
#
12293       esx/0.0                                 12.0.5          19716617
12288       esx/6.5p08          19588618            12.0.0          19345655
11365       esx/7.0p04          19482537            11.3.5          18557794
12288       esx/0.0                                 12.0.0          19345655
11365       esx/6.7p06          18828794            11.3.5          18557794
10360       esx/0.0                                 10.3.24         18733423

It got worst, now it won't even download the binaries with the provided URLs.

Fix released in 2207.592

It still won't report the latest version.
https://docs.vmware.com/en/VMware-Tools/12.0/rn/VMware-Tools-1205-Release-Notes.html
`get-evergreenapp vmwaretools -verbose
VERBOSE: Get-EvergreenApp: Function exists: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2207.592\Apps\Get-vmwaretools.ps1.
VERBOSE: Get-EvergreenApp: Dot sourcing: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2207.592\Apps\Get-vmwaretools.ps1.
VERBOSE: Get-FunctionResource: read application resource strings from [C:\Program Files\WindowsPowerShell\Modules\Evergreen\2207.592\Manifests\vmwaretools.json]
VERBOSE: Get-EvergreenApp: Calling: Get-vmwaretools.
VERBOSE: Invoke-WebRequestWrapper: Adding ContentType.
VERBOSE: Invoke-WebRequestWrapper: Using temp file C:\Users\Jon\AppData\Local\Temp\tmpD9A8.tmp.
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0
Safari/534.6].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [ContentType: text/plain].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [UseBasicParsing: True].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [Method: Default].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [Uri: https://packages.vmware.com/tools/versions].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [PassThru: True].
VERBOSE: Invoke-WebRequestWrapper: Invoke-WebRequest parameter: [OutFile: C:\Users\Jon\AppData\Local\Temp\tmpD9A8.tmp].
VERBOSE: GET with 0-byte payload
VERBOSE: received 10522-byte response of content type text/plain
VERBOSE: Invoke-WebRequestWrapper: Response: [200].
VERBOSE: Invoke-WebRequestWrapper: Content type: [text/plain].
VERBOSE: Invoke-WebRequestWrapper: Returning content of length: [176].
VERBOSE: Get-VMwareTools: Filtering version table with 176 lines.
VERBOSE: Get-VMwareTools: Filtered to 145 lines.
VERBOSE: Get-VMwareTools: Selecting first 20 lines.
VERBOSE: Get-VMwareTools: Convert to table.
VERBOSE: Get-VMwareTools: Found version: 12.0.0-19345655
VERBOSE: Get-EvergreenApp: Output result from: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2207.592\Apps\Get-vmwaretools.ps1.
Version Architecture URI

12.0.0  x64          https://packages.vmware.com/tools/releases/12.0.0/windows/x64/VMware-tools-12.0.0-19345655-x86_64.exe
12.0.0  x86          https://packages.vmware.com/tools/releases/12.0.0/windows/x86/VMware-tools-12.0.0-19345655-i386.exe`

authors: JonathanPitre aaronparker

repo: aaronparker/evergreen


text:
index["openKeyCursor"] is undefined

See https://jsfiddle.net/fok7w86x/2/
Breaks on: https://github.com/aaronpowell/db.js/blob/master/dist/db.js#L288
Fails on Chrome 47.0.2526.111 (64-bit) and Firefox

This looks like a bug in the API that is being surfaced, keys shouldn't be available on all if you don't specify the indexName. The reason for this that openKeyCursor which is used exists on IDBIndex not IDBStore which is used when you don't provide an index (see: https://www.w3.org/TR/IndexedDB/#widl-IDBIndex-openKeyCursor-IDBRequest-any-range-IDBCursorDirection-direction).
I'm not quite sure how best to handle this for the API :confused:

Sorry for the briefness, of the issue. I just wanted to get people here involved, and make sure I wasn't doing anything dumb.
Strangely enough it works in Chrome 48.0.2564.97 m (64-bit) on Windows
And failed on Chrome 47.0.2526.111 (64-bit) on Ubuntu
And works on Firefox 44 on Windows.
And fails on Firefox 44 on Mac.

So, in light of this bug, how can I get the entire list of keys?

Because you need to specify the index that you want the key's of the usage that you had doesn't really make sense, you're saying you want the keys, but not where you want them from.
Judging from your usage I'm going to guess that you want the "primary keys", aka all the id's, so to do that you need to "name" the index, like I have here:
http://jsbin.com/pokehe/edit?js,console,output

Hey,
Thanks for that! Worked like a charm.
Also, I seem to run into another issue,
s.people.query('name').only('Aaron').all().keys().execute()

returns, ['Aaron','Aaron',...]. How can I search/filter by index and then get the ids? Is using filter the only way for this?

If you're just wanting the keyPath for an object store you need to make a named index, as I did with the people object store in the above demo.

Well, I did create indexes on both name and id. What I'm trying to do is to get id for all people with name as Aaron.

Have you got an example?

As far as the originally question, I think this is no longer an issue because, per the latest draft spec and in at least Chrome and Firefox, IDBStore now has openKeyCursor too...

Could we close this? Neither Chrome nor Firefox are failing on the originally reported issue. I think another issue could be filed if @shantanuthatte still has the other question/issue, but I've added the following with data to demonstrate how to get the IDs:
http://jsbin.com/tazekubujo/1/edit?html,js,console,output

authors: aaronpowell brettz9 shantanuthatte


text:
Add Splay Tree in the Tree's Section

Hi,,,I am a contributor under the GGSOC 2023. I will add the Splay Tree under the Tree's Algorithm section in C++. Please assign it to me @aaryahjolia

Hi @aaryahjolia , I am a GSSoC'23 contributor and would love to work on this issue.I have solved around 900 questions on leetcode(https://leetcode.com/code_hobby_2404/).

Hi @aaryahjolia , I am a GSSoC'23 contributor and would love to work on this issue.I have solved around 900 questions on leetcode(https://leetcode.com/code_hobby_2404/).

Bro I have opened this issue so that I can work on it...please stop commenting on all of the issues I created...instead find your own issues which are not already been raised by someone else


text:
Merge pull request #1 from aatishb/master

update my fork

Just update my fork

repo: aatishb/covidtrends


text:
refactor repo list files local filter

the current implementation, linked below, is fishy. Disregarding the filter the result is cached, and disregarding the filter the cache is returned.
This PR extracts the filter logic to a new method, in which nothing is ever cached.
https://github.com/abapGit/abapGit/blob/6471b3fe8df763d4e42e75d88abebe926e45c689/src/repo/zcl_abapgit_repo.clas.abap#L752-L780

that's better! might be worth doing the same for get_remote

yea, not part of this PR tho :)

repo: abapGit/abapGit


text:
Enable asset inventory processor customized scope in Mapping Server

TL;DR
Currently, https://github.com/abcxyz/pmap/blob/5b24e38b19e0c8b8e12854ead228111b16e503af/pkg/cli/mapping_server.go#L123, mapping server defaults to use the project as default scope of Asset Inventory Processor. Customers may want to use folder id or organization id as the default scope of Asset Inventory Processor. We need to enable asset inventory processor customized scope in Mapping Server
Detailed design
No response
Alternatives considered
No response
Additional information
No response

Not sure whether it is a common case that users will have resources under multiple orgs. For example, users have gcs buckets under orgA and orgB. But for this issue, let's just make it work for only one org. We can change it to support multiple orgs if needed

@capri-xiyue I think we can't search resources under other orgs, according to searchAllResouces, the API only allow up to search resource within scope of Project, Folder, organization. So each org should have it's own pmap service to find resources.
Please correct me if I am wrong.

Not sure whether it is a common case that users will have resources under multiple orgs. For example, users have gcs buckets under orgA and orgB. But for this issue, let's just make it work for only one org. We can change it to support multiple orgs if needed

@capri-xiyue I think we can't search resources under other orgs, according to searchAllResouces, the API only allow us to search resource within scope of Project, Folder, organization. So each org should have it's own pmap service to find resources.
Please correct me if I am wrong.

The input could be a list orgs/folders and we call CAIS api multiple times(one time for each org/folder)

authors: capri-xiyue sailorlqh

repo: abcxyz/pmap


text:
data set

please share me the URL for data set

The dataset was from this kaggle contest. Since it was an in-class contest, you won't be able to download the dataset.

@NaveenVadavalasa You can try searching for other twitter datasets.

authors: NaveenVadavalasa abdulfatir

repo: abdulfatir/twitter-sentiment-analysis


text:
Json experiment

Added ability to read JSON experiment definitions

No, need to merge this to barebones not master

repo: aber-wgr/OD-test


text:
Show login error message in pop up dialog.

The error message showing right now is on toast mode. That should be shown in a dialog box where there should be a option for close app or show previous attendance.

See #11

authors: abhijitparida srinibasbiswal

repo: abhijitparida/bunk


text:
🛑 AudioBooks is down

In 358860a, AudioBooks ($AUDIOBOOKS) was down:

HTTP code: 502
Response time: 751 ms

Resolved: AudioBooks is back up in e0d2b28 after 23 hours, 23 minutes.


text:
CX Stored_XSS @ src/main/java/org/t246osslab/easybuggy/vulnerabilities/SQLInjectionServlet.java [master]

Stored_XSS issue exists @ src/main/java/org/t246osslab/easybuggy/vulnerabilities/SQLInjectionServlet.java in branch master
Method selectUsers at line 60 of src\main\java\org\t246osslab\easybuggy\vulnerabilities\SQLInjectionServlet.java gets data from the database, for the rs element. This element’s value then flows through the code without being properly filtered or encoded and is eventually displayed to the user in method responseToClient at line 31 of src\main\java\org\t246osslab\easybuggy\core\servlets\AbstractServlet.java. This may enable a Stored Cross-Site-Scripting attack.
Severity: High
CWE:79
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training
Recommended Fix
Lines: 69

Code (Line #69):
            rs = stmt.executeQuery("SELECT name, secret FROM users WHERE ispublic = 'true' AND name='" + name

Issue still exists.

Issue still exists.


text:
TypeError: argument of type 'method' is not iterable

Hi,
I try autoxgb but very quickly it returns that error:
2022-03-08 09:22:21.269 | INFO     | autoxgb.autoxgb:post_init:42 - Output directory: output2
2022-03-08 09:22:21.276 | WARNING  | autoxgb.autoxgb:post_init:49 - No id column specified. Will default to id.
2022-03-08 09:22:21.283 | INFO     | autoxgb.autoxgb:_process_data:149 - Reading training data
TypeError                                 Traceback (most recent call last)
 in ()
37     fast=fast,
38 )
---> 39 axgb.train()
10 frames
/usr/local/lib/python3.7/dist-packages/autoxgb/autoxgb.py in train(self)
244
245     def train(self):
--> 246         self._process_data()
247         best_params = train_model(self.model_config)
248         logger.info("Training complete")
/usr/local/lib/python3.7/dist-packages/autoxgb/autoxgb.py in _process_data(self)
148     def _process_data(self):
149         logger.info("Reading training data")
--> 150         train_df = pd.read_csv(self.train_filename)
151         train_df = reduce_memory_usage(train_df)
152         problem_type = self._determine_problem_type(train_df)
/usr/local/lib/python3.7/dist-packages/pandas/util/_decorators.py in wrapper(*args, **kwargs)
309                     stacklevel=stacklevel,
310                 )
--> 311             return func(*args, **kwargs)
312
313         return wrapper
/usr/local/lib/python3.7/dist-packages/pandas/io/parsers/readers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, error_bad_lines, warn_bad_lines, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options)
584     kwds.update(kwds_defaults)
585
--> 586     return _read(filepath_or_buffer, kwds)
587
588
/usr/local/lib/python3.7/dist-packages/pandas/io/parsers/readers.py in _read(filepath_or_buffer, kwds)
480
481     # Create the parser.
--> 482     parser = TextFileReader(filepath_or_buffer, **kwds)
483
484     if chunksize or iterator:
/usr/local/lib/python3.7/dist-packages/pandas/io/parsers/readers.py in init(self, f, engine, **kwds)
809             self.options["has_index_names"] = kwds["has_index_names"]
810
--> 811         self._engine = self._make_engine(self.engine)
812
813     def close(self):
/usr/local/lib/python3.7/dist-packages/pandas/io/parsers/readers.py in _make_engine(self, engine)
1038             )
1039         # error: Too many arguments for "ParserBase"
-> 1040         return mapping[engine](self.f, **self.options)  # type: ignore[call-arg]
1041
1042     def _failover_to_python(self):
/usr/local/lib/python3.7/dist-packages/pandas/io/parsers/c_parser_wrapper.py in init(self, src, **kwds)
49
50         # open handles
---> 51         self._open_handles(src, kwds)
52         assert self.handles is not None
53
/usr/local/lib/python3.7/dist-packages/pandas/io/parsers/base_parser.py in _open_handles(self, src, kwds)
227             memory_map=kwds.get("memory_map", False),
228             storage_options=kwds.get("storage_options", None),
--> 229             errors=kwds.get("encoding_errors", "strict"),
230         )
231
/usr/local/lib/python3.7/dist-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
583
584     # read_csv does not know whether the buffer is opened in binary/text mode
--> 585     if _is_binary_mode(path_or_buf, mode) and "b" not in mode:
586         mode += "b"
587
/usr/local/lib/python3.7/dist-packages/pandas/io/common.py in _is_binary_mode(handle, mode)
960     # classes that expect bytes
961     binary_classes = (BufferedIOBase, RawIOBase)
--> 962     return isinstance(handle, binary_classes) or "b" in getattr(handle, "mode", mode)
TypeError: argument of type 'method' is not iterable
Don't know why..??? Thank you all for your help
My code:
from autoxgb import AutoXGB
required parameters:
train_filename = df.iloc[:round(df.shape[0]*.8)]
output = "output2"
optional parameters
test_filename = None
task = None
idx = df.index
targets = ["Goal"]
features = None
categorical_features = None
use_gpu = False
num_folds = 5
seed = 42
num_trials = 100
time_limit = 360
fast = False
Now its time to train the model!
axgb = AutoXGB(
train_filename=train_filename,
output=output,
test_filename=test_filename,
task=task,
idx=idx,
targets=targets,
features=features,
categorical_features=categorical_features,
use_gpu=use_gpu,
num_folds=num_folds,
seed=seed,
num_trials=num_trials,
time_limit=time_limit,
fast=fast,
)
axgb.train()

Should be because the train_filename is of type str and represents the input path of the csv file. You passed in a dataframe instead so it threw this error.

repo: abhishekkrthakur/autoxgb


text:
🛑 BALITBANG is down

In 5cd6c64, BALITBANG (https://litbang.kalbarprov.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BALITBANG is back up in 0f4be7c after 5 minutes.

repo: abimanyu/Kalbarnetworks


text:
Remove unused export

This unused export would make rollup create an object instead of a constructor for the IIFE bundle.

I'm probably the wrong person to review this PR @dpiatek

authors: Srushtika dpiatek

repo: ably/spaces


text:
fetch doesn't return embedded documents fields in the actual order

The order of fields in embedded documents is significant for equality matching to work. MongoDB docs say: "Equality matches on an embedded document require an exact match of the specified <value>, including the field order."
But the order of fields in embedded documents as returned by somnium.congomongo/fetch doesn't match the actual order:
(m/with-mongo conn (m/fetch :sessions :where {:embedded_test {:a "4" :b "5"}}))
;; => ({:embedded_test {:b "5", :a "4"}, :_id #object[org.bson.types.ObjectId 0x2057e5d3 "570e9b226588b6feb16d06bf"]})
(m/with-mongo conn (m/fetch :sessions :where {:embedded_test {:b "5" :a "4"}}))
;; => ()
(m/with-mongo conn (m/fetch :sessions :where {:embedded_test (array-map :a "4" :b "5")}))
;; => ({:embedded_test {:b "5", :a "4"}, :_id #object[org.bson.types.ObjectId 0x330428d4 "570e9b226588b6feb16d06bf"]})
(m/with-mongo conn (m/fetch :sessions :where {:embedded_test (array-map :b "5" :a "4")}))
;; => ()

I assume the actual order is  {:a "4" :b "5"} because the document is retrieved only when querying with the fields in that order, using both regular maps or array maps. Besides, the mongo shell also shows them in that order
db.sessions.find()
// => { "_id" : ObjectId("570e9b226588b6feb16d06bf"), "embedded_test" : { "a" : "4", "b" : "5" } }

You can query on {:embedded_test.a "4" :embedded_test.b "5"} and you can also construct a dbobject (in somnium.congomongo.coerce) which keeps fields in order.

Ok, but my point is...
(def s (m/with-mongo conn (m/fetch-one :sessions)))
s
; => {:embedded_test {:b "5", :a "4"}, :_id #object[org.bson.types.ObjectId 0x2e63034c "570e9b226588b6feb16d06bf"]}
(m/with-mongo conn (m/fetch :sessions :where s))
; => ()

I think this is unexpected at the least.
In the MongoDB shell, the equivalent example works as expected...
s = db.sessions.findOne()
// {
// 	"_id" : ObjectId("570e9b226588b6feb16d06bf"),
// 	"embedded_test" : {
// 		"a" : "4",
// 		"b" : "5"
// 	}
// }
db.sessions.find(s)
// { "_id" : ObjectId("570e9b226588b6feb16d06bf"), "embedded_test" : { "a" : "4", "b" : "5" } }

I think you're the first person to find it surprising: Clojure hash maps are unordered by design and you're getting a Clojure data structure back.

I was thinking that maybe Congomongo could return documents as array-maps with the keys ordered as in the database. This would get rid of the (for me at least!) gotcha and would be consistent with MongoDB shell behavior.
Anyway, I just wanted to raise a possible issue.
Thanks.

I'll take a look at the implications of that next week when I get back from Clojure/West.

It looks like any change to this will impact both directions in the MongoDB / Clojure coercions and have potential performance impacts. I don't have the bandwidth / time right now to set up benchmarks and do the level of analysis necessary to figure out exactly what would need to change and how to do it without impacting performance -- it's certainly a non-trivial change. Bottom line: not going to happen in the foreseeable future.

authors: seancorfield xavi

repo: aboekhoff/congomongo


text:
Club Funding ne fonctionne plus

Bonjour,
il semblerai que l'import de Club Funding ne fonctionne plus.
L'API semble avoir changé d'URL : https://api.clubfunding.fr/v2 et non plus https://api.clubfunding.fr/api/
Je n'ai pas pu tester le fix.

Bonjour @mickaelv.
En effet l'API a complètement changé. C'est corrigé avec le commit 57927543ed16bc6f3237d67e89e99b2efee4eb20.

authors: abrisse mickaelv

repo: abrisse/finary


text:
cross compile for armv7 with musl error for stacktrace_generic-inl.inc used

when use bazel cross compile for armv7 with musl libc library, meet below errors, use stacktrace_arm-inl.inc by manual change stacktrace_config.h compile success, why stacktrace_config.h not detect armv7 then use stacktrace_arm-inl.inc?
ERROR: /root/src/cpp/abseil-cpp/absl/debugging/BUILD.bazel:30:11: Compiling absl/debugging/stacktrace.cc failed: (Exit 1): arm-openwrt-linux-muslgnueabi-gcc failed: error executing command external/gcc11_arm_armv7_none_musleabi/bin/arm-openwrt-linux-muslgnueabi-gcc -fPIC -fstack-protector -Wall -fno-omit-frame-pointer '--sysroot=external/gcc11_arm_armv7_none_musleabi' -pthread ... (remaining 37 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
arm-openwrt-linux-muslgnueabi-gcc: warning: environment variable 'STAGING_DIR' not defined
In file included from ./absl/debugging/internal/stacktrace_generic-inl.inc:23,
                 from absl/debugging/stacktrace.cc:46:
/usr/include/execinfo.h:23:1: error: '__BEGIN_DECLS' does not name a type
   23 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
/usr/include/execinfo.h:33:6: error: expected initializer before '__THROW'
   33 |      __THROW __nonnull ((1));
      |      ^~~~~~~
/usr/include/execinfo.h:39:6: error: expected initializer before '__THROW'
   39 |      __THROW __nonnull ((1));
      |      ^~~~~~~
/usr/include/execinfo.h:41:1: error: '__END_DECLS' does not name a type
   41 | __END_DECLS
      | ^~~~~~~~~~~
In file included from ./absl/debugging/internal/stacktrace_generic-inl.inc:25,
                 from absl/debugging/stacktrace.cc:46:
external/gcc11_arm_armv7_none_musleabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/include/c++/11.2.0/cstring:77:11: error: 'memchr' has not been declared in '::'
   77 |   using ::memchr;

It looks like you're facing compilation errors while cross-compiling Abseil for armv7 with the Musl libc library using Bazel. The errors are related to include files and declarations, specifically in the execinfo.h header and the C++ standard library.
You mentioned that manually changing the stacktrace_config.h file to use stacktrace_arm-inl.inc resolved the issue. This indicates that the stacktrace_config.h might not be detecting the armv7 architecture correctly and thus not using the appropriate include files and configurations for Musl libc and armv7.
To address this issue, you might want to check the configuration settings in the stacktrace_config.h file for armv7 and Musl libc. Ensure that the necessary definitions and includes are present to correctly configure the stack tracing for your target platform. If the stacktrace_config.h file is not detecting the armv7 architecture, you might need to modify or extend the configuration logic to accommodate your cross-compilation setup.
Additionally, consider checking if there are any updates or fixes in more recent versions of Abseil that address compatibility issues with Musl libc and armv7 cross-compilation. You could also reach out to the Abseil development team or community forums for assistance with this specific cross-compilation issue.

authors: ljluestc xiedeacc

repo: abseil/abseil-cpp


text:
Issues with the mod and fabric's loader

I just installed the mod and fabric api but it says it needs any version of fabric??? and it's on fabric already below is the error message and image
Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
- Install fabric, any version.
More details:
- Mod 'Ultracraft' (ultracraft) 1.20.1-2.1.pride2 requires any version of fabric, which is missing!
- Mod 'Goop Technology' (goop) 1.20.x-0.3 requires any version of fabric, which is missing!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51)
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:195)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
https://github.com/absolutelyaya/ultracraft/assets/174516306/4a35ce01-c152-42fa-88d8-a180ec1a134b

and what is goop technology?

you need to install fabric api
Goop is what adds the blood splatter particle effects; I moved it into its own mod so others can use the particles as well

but I already have fabric api istalled for it

authors: TheTroubledGamer absolutelyaya

repo: absolutelyaya/ultracraft


text:
Harmonization Improvements

[x] abuse.ch: Changed "malware" to "malware family".
[x] autoshun: Changed malware to "malware family" and "spam" to "spam infrastructure". Removed out-of-date classifications.
[x] malc0de: Changed typing from "malware" to "malware url".
[x] malwaredomainlist: Changed typing from "malware" to "malware url".
[x] vxvault: Changed typing from "malware" to "malware url".
[x] mdl: Removed the deault typing and added "reverse dns".
[x] ransomwaretracker: "malware" to "malware family"

Should we document the harmonization changes to CHANGELOG?

Yes, definitely. I will write a summary of the features and fixes.

authors: ecode-work svimes-work

repo: abusesa/abusehelper


text:
Feature/date null

Date - DateTime = NULL

Desculpa, enviei errado

repo: academiadocodigo/SimpleORM


text:
Voice over reads some parts of the content twice

This might be a voice over bug:

[ ] FRO Cards: the text for FRO type and sector is read twice by voice over
[ ] Project Card: the line for "project by ...." is read twice by voice over

This is a VoiceOver bug.

authors: greatislander sepidehshahi

repo: accessibility-exchange/platform


text:
CLI tools fail on node v7

when ever i try to use cicero cli i get a parse token error as seen below

Thanks @sgwasserman, Unfortunately I'm not able to replicate the same behaviour with the latest (0.5) release.
mattmbp:cicero matt$ npm i -g @accordproject/cicero-server
npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact support@npmjs.com for more info.
/Users/matt/.nvm/versions/node/v8.11.1/bin/cicero-server -> /Users/matt/.nvm/versions/node/v8.11.1/lib/node_modules/@accordproject/cicero-server/app.js
+ @accordproject/cicero-server@0.5.0
updated 1 package in 3.88s
mattmbp:cicero matt$ export CICERO_DIR=../cicero-template-library/src/
mattmbp:cicero matt$ cicero-server
Server listening on port:  6001

Can you post the output of running the following commands on your machine, please?
npm i -g @accordproject/cicero-server
export CICERO_DIR=<path to your template library>
cicero-server

Resolved by upgrading node to version 8. Guidance for installing prerequisites is in the documentation.
https://docs.accordproject.org/docs/accordproject-tools.html#prerequisites
Each of the cicero npm packages (cicero-cli, cicero-server etc) contains an engines declaration which declares that the package will only work on node versions > 8.x,
https://github.com/accordproject/cicero/blob/2c1a46b270c3f3d433c003166d5a166f4a078728/packages/cicero-server/package.json#L6
However, this declaration is only advisory, and can no longer be enforced by npm (since v3), https://docs.npmjs.com/files/package.json#enginestrict.
Closing this issue as npm doesn't have a simple way to enforce this for now.

authors: mttrbrts sgwasserman

repo: accordproject/cicero


text:
Added unit tests to check the markdown output

Issue https://github.com/accordproject/markdown-editor/issues/2
Added Unit tests for the round trip conversion from normal text to markdown.
Changes

Added Enzyme and Enzyme Adapter package
Added test file with the default value and checking with expected and received.

Let me know if we need to add more tests.

Let me know if we need to add more tests

I'd say no for this PR. This is a great start, I think #2 can provide for multiple PRs.

authors: codingdefined irmerk

repo: accordproject/markdown-editor


text:
(feat) add option to remove formatting when converting from ciceromark to commonmark

Signed-off-by: Dan Selman danscode@selman.org
Issue #185
Adds an option removeFormatting that can be passed to the CiceroMarkTransformer to optionally remove all formatting nodes (including inside clauses) when converting from CiceroMark to CommonMark.

Coverage increased (+0.02%) to 88.594% when pulling c0553917353bc95493c7e3cfe8bea71a16d18145 on ds-remove-formatting into ad0644fdc8dff510c5733ba64b3af20df6fbbb05 on master.

authors: coveralls dselman

repo: accordproject/markdown-transform


text:
Relations - Review

@phugon - here's the list of relations with the number of records under each as of 03.12. Let me know which ones you'd like to delete/combine

Relation
Number of records

PersonAuthorOfWork
879

PersonStudentOfPerson
747

WorkHasAsAnInstanceInstance
675

PersonActiveAtPlace
568

WorkCommentaryOnWork
442

PersonDirectPredecessorInLineageOfPerson
158

PlaceIsLocatedWithinPlace
132

WorkComposedAtPlace
115

PersonHasOtherTypeOfPersonalRelationToPerson
92

PersonRefersWithNameToTheViewsOfPerson
81

PersonRefersWithoutNameToTheViewsOfPerson
77

PersonOrdinatorOfPerson
71

InstanceIsCopiedFromInstance
65

PersonScribeOfInstance
55

PersonOwnerOfInstance
37

InstanceCopiedWrittenDownAtPlace
32

PersonParentOfPerson
29

PersonStudiedWork
27

PersonTeachesWork
24

PersonPrompterOfWork
19

PersonSiblingOfPerson
15

PersonRequestorOfPerson
12

WorkRecordsTheTeachingOfPerson
8

PersonBiographedInWork
7

PersonDiscipleOfPerson
7

PersonAddresseeOfWork
5

PersonBiographerOfPerson
5

PersonSponsorOfInstance
4

PersonFellowMonkOfPerson
2

PersonAuntMaternalPaternalOfPerson
1

PersonFellowStudentOfPerson
1

PersonPatronOfPerson
1

PersonPromoterOfWork
1

WorkQuotesWithNameTheViewsOfPerson
1

PersonSpiritualFriendOfPerson
1

PersonCitesWork
0

WorkContainsCitationsOfWork
0

PersonEditorOfInstance
0

PersonIllustratorOfInstance
0

PersonLenderOfInstance
0

WorkNamesPerson
0

WorkNamesWork
0

WorkQuotesWithoutNameTheViewsOfPerson
0

Also to be deleted: the relations:
WorkQuotesWithNameTheViewsOfPerson
WorkQuotesWithoutNameTheViewsOfPerson
which are now (0)

delete relation:
PersonDiscipleOfPerson
(to be continued)

delete relation
Person annotator of Instance

authors: gythaogg phugon

repo: acdh-oeaw/apis-instance-tibschol


text:
add remaining search options to url

for instance union and intersection

this also happens for has_usecase

repo: acdh-oeaw/mmp-frontend


text:
SerializationException: serializationStream supports seeking, but its length is 0

This is being thrown in the LoadCategories() function in ToDoListPanel.cs when the BinaryFormatter deserializes. I've commented out the line for now and the plugin functions, I'll report back if I have time to resolve.

This occurs when the tasks.dat file doesn't exist; I've added some code to fix this.

Tested this again on a separate project, and it works. So, I'm closing this as complete.

Awesome, it does indeed work now thanks!

repo: aceade/Unity-Task-List


text:
🛑 AceBlock Swagger UI is down

In 80c5b58, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in 26b3235.

repo: aceblockID/monitoring


text:
🛑 AceBlock Swagger UI is down

In c7e4aa1, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in eab9044.


text:
🛑 AceBlock Swagger UI is down

In 98fa48b, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in 7b94a92.


text:
Quick spell correction

Changed form to from

Thanks!

authors: andrewserff ccit-spence

repo: acesinc/convergent-ui


text:
bug: neighborhood and school content in the query field is not available

Bug Definition
neighborhood and school content in the query field is not available
discord username: alicangunduz#0001
## Bug environment
https://musahit-harita-frontend.vercel.app/
Describe how you are producing the bug step by step

Go to https://musahit-harita-frontend.vercel.app/
Click "Okul Sorgula"
Select province and district
No neighborhoods and no schools
Bug appears

Expected Behaviour
Visibility of neighborhoods and schools
Screen shots

Gonna be fixed with #29

authors: alicangunduz usirin

repo: acikkaynak/musahit-harita-frontend


text:
Fully automate the release process

Description:
Automatically close and release as part of the Maven deployment stage using nexus-staging-maven-plugin as described here: https://central.sonatype.org/publish/publish-maven/#nexus-staging-maven-plugin-for-deployment-and-release.
Expected outcome:

Releasing doesn't require any manual step.
All contributors can release without requiring intervention from a single person.

Thanks for releasing 2.2.0 @acm19 !

I'll take on documenting the manual parts of this for now once I get maven access.

This one is about releasing with a fully automated process, unfortunately I've been swamped lately, so haven't been able to make the changes :(


text:
websocket is disconnected:

Hi, I need a help.. i'm trying to implement socket for obj-c but i'm facing below issues .. same IP and Port i try to implement on swift socket.io its connect ,.. but obj-c its return disconnected .. i don't know why kindly do needful .. they are using socket >v1.0 is it support for that version
urlRequest = "<CFHTTPMessageRef 0x600000169240(0x600000169250)> { GET request, url http://192.168.17.7:5000 }"
websocket is disconnected: (null)

I have the exact same issue too. @acmacalister do you know what is wrong?

Ok I was having same issue, but I managed to fix it. Firstly I was trying to use this library with the Twitter Streaming API.... which doesn't support sockets..... great start!
But secondly I ended up using NSURLSession and its associated delegate methods, to setup and load in the continuous stream of data, from the Twitter API. Works perfectly and is incredibly easy to setup. I would recommend looking into it, if you still haven't got this working. Here is an example:
Set the delegate in your header: <NSURLSessionDelegate>
Create the URL request/session objects:
// Set the stream session.
NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
NSURLSession *session = [NSURLSession sessionWithConfiguration:configuration delegate:self delegateQueue:nil];

// Start the data stream.
[[session dataTaskWithRequest:request] resume];

Finally setup the delegate methods:
-(void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data {

    NSError *feedError = nil;
    NSDictionary *feed = [NSJSONSerialization JSONObjectWithData:data options:0 error:&feedError];
    NSLog(@"%@", feed);
}

-(void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {

    if (error) {
        NSLog(@"%@", error);
    }
}

That's it! Now all you have to do is to parse the data returned in the feed dictionary and update your UI accordingly.

I'm not sure how to help on this. Websockets != Socket and definitely != Socket.io. If you working with Socket.io you would need to use a wrapper library or use Jetfire as a base implementation for the Websocket of Socket.io.

repo: acmacalister/jetfire


text:
docs: Add documentation around exposing ports for --link #1007

Issue: #1007
Signed-off-by: Joshua Silverio joshua@acorn.io

@cjellick I started adding an example to help illustrate but it seemed to get very wordy / confusing so let me know if this note calling it out is sufficient

Following notes is added to https://docs.acorn.io/running/linking-acorns
The port from the container being linked to must be explicitly exposed in the Acornfile i.e. ports: expose: "5432/tcp".

repo: acorn-io/acorn


text:
KmPlot:  Slow "glows" from hovers

Given the selected input parameters for the Kaplar Meier graph, when hovering over the legend keys, or the actual graph lines, both the lines and legend keys will not highlight until almost 1 sec later.
Cohort: "TCGA PANCAN12"
Dataset: "PhenoTypes"
View:  "_primary_disease"

Incorporated solution to limit re-rendering of lines only to the hovered line.  Also, got some time data on lag time for each scenario (re-rendering all lines vs. re-rendering hovered line).
Re-rendering single line:  65ms

Re-rendering all lines:  142ms

Going to close this considering the minimization of lag time by 55%

repo: acthp/ucsc-xena-client


text:
Getting hostname based on environment type

Present Github hostname Is hardcoded to github.com, now proposing to have hostname based on the environment type

LGTM 🚀

repo: actions-on-packages/package-action


text:
miri seems to hang

For example, see https://github.com/Ralith/hecs/pull/4; as of this writing various attempts at this have spun for upwards of twenty minutes before being cancelled, while a local run completes in seconds. Not sure how to get any feedback from the action while it's running, so it's unclear what might be happening here.

Finally timed out after six hours:
 /usr/share/rust/.cargo/bin/cargo miri test --all-features
I will run `"/usr/share/rust/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "/usr/share/rust/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "install" "xargo" "-f"` to install a recent enough xargo. Proceed? [Y/n]
##[error]The operation was canceled.

Adding a step to run cargo install miri seems to do the trick. Takes a while to build, though; would be cool to have caching!

I guess, it hungs awaiting for the user input?
For clarity, I'm going to link the related issue in case anyone would want to do the same: https://github.com/actions-rs/meta/issues/24

Yeah, pretty easy fix in the end.

authors: Ralith svartalf

repo: actions-rs/cargo


text:
Runners not autoescaling properly with workflow_run event

Describe the bug
I have setup the autoscaling via workflow_run event, and sometimes (just happened one or two) even if it receives the event it does not escale the pods.
Here is my setup:
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
  name: github-runner-deploy
  namespace: actions-runner-system
spec:
  template:
    spec:
      organization: my-org
      dockerRegistryMirror: http://docker-registry-mirror.actions-runner-system:5000

---
apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
  name: github-runner-deployment-autoscaler
  namespace: actions-runner-system
spec:
  scaleTargetRef:
    name: github-runner-deploy
  minReplicas: 0
  maxReplicas: 5
  scaleUpTriggers:
  - githubEvent: {}
    duration: "5m"

logs:
2021-10-01T11:10:02.598Z    DEBUG    controllers.Runner    Found 0 HRAs by key    {"key": "my-org/service-svc-1"}
2021-10-01T11:10:02.598Z    DEBUG    controllers.Runner    Found 1 HRAs by key    {"key": "my-org"}
2021-10-01T11:10:02.598Z    INFO    controllers.Runner    job scale up target is organizational runners    {"event": "workflow_job", "hookID": "320365109", "delivery": "1f8a2500-22a8-11ec-8ffa-2583954fa5c7", "workflowJob.status": "queued", "workflowJob.labels": ["self-hosted"[], "repository.name": "service-svc-1", "repository.owner.login": "my-org", "repository.owner.type": "Organization", "action": "queued", "organization": "my-org"}
2021-10-01T11:10:02.598Z    INFO    controllers.Runner    Patching hra for capacityReservations update    {"before": null, "after": [{"expirationTime":"2021-10-01T11:15:02Z","replicas":1}]}
2021-10-01T11:10:02.615Z    INFO    controllers.Runner    scaled github-runner-deployment-autoscaler by 1
2021-10-01T11:10:09.995Z    INFO    controllers.Runner    Scale target not found. If this is unexpected, ensure that there is exactly one repository-wide or organizational runner deployment that matches this webhook event    {"event": "workflow_job", "hookID": "320365109", "delivery": "23eb3530-22a8-11ec-9b6d-4aa8b522635d", "workflowJob.status": "in_progress", "workflowJob.labels": ["self-hosted"[], "repository.name": "service-svc-1", "repository.owner.login": "my-org", "repository.owner.type": "Organization", "action": "in_progress"}
2021-10-01T11:20:51.375Z    DEBUG    controllers.Runner    Found 0 HRAs by key    {"key": "my-org/service-svc-2"}
2021-10-01T11:20:51.376Z    DEBUG    controllers.Runner    Found 1 HRAs by key    {"key": "my-org"}
2021-10-01T11:20:51.376Z    INFO    controllers.Runner    job scale up target is organizational runners    {"event": "workflow_job", "hookID": "320365109", "delivery": "a2471e70-22a9-11ec-8ba9-e782567d8fbb", "workflowJob.status": "queued", "workflowJob.labels": ["self-hosted"[], "repository.name": "service-svc-2", "repository.owner.login": "my-org", "repository.owner.type": "Organization", "action": "queued", "organization": "my-org"}
2021-10-01T11:20:51.376Z    INFO    controllers.Runner    Patching hra for capacityReservations update    {"before": [{"expirationTime":"2021-10-01T11:15:02Z","replicas":1}], "after": [{"expirationTime":"2021-10-01T11:25:51Z","replicas":1}]}
2021-10-01T11:20:51.386Z    INFO    controllers.Runner    scaled github-runner-deployment-autoscaler by 1

As you can see it receives one job and scales to one, when the first job stills running receives another request and it scales again to 1.
In Github the second job is assigned to the runner that is busy, so the job gets stuck
Checks

[ ] My actions-runner-controller version (v0.x.y) does support the feature
[ ] I'm using an unreleased version of the controller I built from HEAD of the default branch

To Reproduce
Steps to reproduce the behavior:
I'm not sure how to reproduce it, maybe setting up the runners and run many jobs.
Expected behavior
It should scale to 2 when receives two workflow_job events
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Controller Version 0.20.1
Deployment Method helm
Helm Chart Version 2.7.1

Additional context
Add any other context about the problem here.

@xabi93 in my experience it works as expected , it just add 1 more each time . I did a test in my environment and finished 50 parallel  jobs in 2 minutes

it had the same message on every event but it added 50 runners

@xabi93 I've just published a new chart which contains the fix for this issue, the workflow_labels logic was fixed in controller version https://github.com/actions-runner-controller/actions-runner-controller/releases/tag/v0.20.2. Please upgrade and create a new ticket with details if this is still an issue.

@gai6948 If you think it's still the same issue, would you mind creating another issue with full information? That way we have more confidence in if yours is really the same issue(or not).

@gai6948 If you think it's still the same issue, would you mind creating another issue with full information? That way we have more confidence in if yours is really the same issue(or not).

Replied on existing issue


text:
apt-get install may ask questions and hang

Describe the bug
Even though apt-get -y says it runs non-interactively, Debian packages can still ask questions via the default front-end. On github action's current Ubuntu runners, this will generally cause a job's setup stage to hang until it times out.
Virtual environments affected

[ ] macOS 10.15
[X] Ubuntu 16.04 LTS
[X] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
The default front-end should be set to "noninteractive" to disable questions.  Travis does this through a combination of setting DEBIAN_FRONTEND=noninteractive in the environment and configuring sudo to preserve that variable (https://github.com/travis-ci/travis-cookbooks/commit/fa89acd4d3a28bc6a808e054d59d845f5a8794e4). It is also possible to do this via the debconf configuration (dpkg-reconfigure debconf).
Actual behavior
Try putting "sudo apt-get -y install slapd" in a job step, and observe that the job hangs until timeout.  "sudo DEBIAN_FRONTEND=noninteractive apt-get -y install slapd" works, but should not be necessary.

With what package are you noticing this behavior? I noticed the following output on an Ubuntu 18.04 runner in one of my pipelines (while installing cmake) that seems to suppress question dialogs:
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype

And then after that it just continues like normal.

We observed the problem when installing slapd (as mentioned at the end of the issue report).  I put together some simple demonstrations for 16.04 and 18.04 runners; see:
https://github.com/greghudson/virtual-environments/commit/a9cf779e964a07d9ab94f58774c381baf94cfa59/checks?check_suite_id=345870796
https://github.com/greghudson/virtual-environments/commit/fea683f10464d693c6c3adc1430c2f2530579937/checks?check_suite_id=345885585

Hello, @greghudson
Thank for your time to reporting about the issue.
I have prepared  https://github.com/actions/virtual-environments/pull/366 PR.  It will be included in the next rollouts.

@greghudson the image has been deployed. Could you check apt-get install, please?

Yes, the fix works for me for installing the slapd package.

authors: al-cheb greghudson miketimofeev oldskool

repo: actions/virtual-environments


text:
battery update not updating to the latest (v1.1.4) version

What is the issue? (required)
battery update not updating to the latest version.
I see that the latest version is 1.1.4, but when running the battery update command I get this message:
> battery update
No need to update, offline version number v1.0.11 matches remote version number

What exactly did you do to produce the issue? (required)
Steps to reproduce the behavior:

In terminal just run battery update using the CLI version (v1.0.11).

Expected behavior (required)
Updating to version v1.1.4
Error logs
06/07/23-18:35:22 - 🔼🪫 Disabling battery discharging
06/07/23-18:35:44 - Battery at 83% (target 70%)
06/07/23-18:36:44 - Battery at 84% (target 70%)
06/07/23-18:37:22 - Charge above 85
06/07/23-18:37:22 - 🔌🪫 Disabling battery charging
06/07/23-18:37:44 - Battery at 85% (target 70%)
06/07/23-18:38:44 - Battery at 85% (target 70%)
06/07/23-18:39:44 - Battery at 85% (target 70%)
06/07/23-18:40:44 - Battery at 85% (target 70%)
06/07/23-18:41:44 - Battery at 85% (target 70%)
06/07/23-18:42:44 - Battery at 85% (target 70%)
06/07/23-18:43:44 - Battery at 85% (target 70%)
06/07/23-18:44:44 - Battery at 85% (target 70%)

🖥  Battery GUI logs:

tail: /Users/User/.battery/gui.log: No such file or directory

📁 Config folder details:

total 776
drwxr-xr-x   3 User  staff    96B Jun  7 18:35 .
drwxr-xr-x@ 85 User  staff   2.7K Jun  7 18:45 ..
-rwxr-xr-x   1 User  staff   351K Jun  7 18:45 battery.log

⚙  Battery data:

06/07/23-18:45:08 - Battery at 85% (attached; remaining), smc charging disabled
Battery CLI utility v1.0.11

PS: I am trying to fix the working of the app since the version I am using does not seem to work as can be seen from the logs (target 70% but battery still charged to 85%).

After seeing that the latest version was also available as an homebrew cask, I unistalled my existing version and installed the app from homebrew.
Then again after checking the logs it still says v1.0.11 even though on the GUI the latest version is shownv1.1.4. Is there a different version number for the CLI and GUI version?

battery update is for updating the CLI, not the frontend app :)

repo: actuallymentor/battery


text:
Build fails on Node.js

Full log: https://ci.nodejs.org/job/node-test-commit-linux-containered/40031/nodes=ubi81_sharedlibs_openssl111fips_x64/console
00:00:38.632 In file included from ../src/encoding_binding.cc:2:
00:00:38.632 ../deps/ada/ada.h:1509:3: error: inline function 'virtual size_t ada::url_base::parse_port(std::string_view, bool)' used but never defined [-Werror]
00:00:38.632    parse_port(std::string_view view, bool check_trailing_content) noexcept = 0;
00:00:38.632    ^~~~~~~~~~
00:00:38.632 cc1plus: all warnings being treated as errors
00:00:38.633 make[2]: *** [libnode.target.mk:422: /home/iojs/build/workspace/node-test-commit-linux-containered/out/Release/obj.target/libnode/src/encoding_binding.o] Error 1
00:00:38.634 make[2]: *** Waiting for unfinished jobs....
00:00:40.164 In file included from ../src/node_url.h:7,
00:00:40.164                  from ../src/node_api.cc:13:
00:00:40.164 ../deps/ada/ada.h:1509:3: error: inline function 'virtual size_t ada::url_base::parse_port(std::string_view, bool)' used but never defined [-Werror]
00:00:40.164    parse_port(std::string_view view, bool check_trailing_content) noexcept = 0;
00:00:40.164    ^~~~~~~~~~
00:00:40.164 cc1plus: all warnings being treated as errors
00:00:40.167 make[2]: *** [libnode.target.mk:422: /home/iojs/build/workspace/node-test-commit-linux-containered/out/Release/obj.target/libnode/src/node_api.o] Error 1
00:00:42.676 In file included from ../src/cares_wrap.cc:23:
00:00:42.676 ../deps/ada/ada.h:1509:3: error: inline function 'virtual size_t ada::url_base::parse_port(std::string_view, bool)' used but never defined [-Werror]
00:00:42.676    parse_port(std::string_view view, bool check_trailing_content) noexcept = 0;
00:00:42.676    ^~~~~~~~~~
00:00:42.676 cc1plus: all warnings being treated as errors

Ref: https://github.com/nodejs/node/pull/50323

repo: ada-url/ada


text:
How to use with mobile authenticater

Hey man, I really like the app. Is there a way to use the app without having to disable the mobile authenticator?
Cheers

It should work with the mobile authenticator. When you enter your login details into the app you should see a popup window asking you to enter your mobile two-factor authentication code, do you not get this window?

Using the .exe I never got this popup. I downloaded the app a few months ago.

That will be the old version before Steam implemented 2FA then, try downloading the program again to get the newest version :)

Allright thanks. :+1: :)


text:
Provide CLI dist with Windows binary launcher

https://github.com/Cognifide/gradle-aem-plugin/pull/678/files#r403881556
seems that in the archive there is only bin/oakpal.sh ; however to make my tool cross-platform, when I need to launch oakpal, I need to use Windows script for Windows build users (bin/oakpal.bat).
it would be nice if it will be added soon.
Greetings, Krystian

as e.g in vault-cli binary script for Unix is having no extension *.sh - it is just bin/vault, but the Windows one is bin/vault.bat. It would be nice to follow that general convention (not seen only in Vault, but also in other tools).

it is blocking me from releasing the next version of my AEM plugin. Is there any chance that within the next days will arrive 1.5.2 with a fix? @adamcin - I could prepare PR with required changes.
Greetings, Krystian

I'll get a 1.5.2 release out this week.
Mark Adamcin
On Thu, Apr 9, 2020 at 1:44 AM Krystian Panek notifications@github.com
wrote:

it is blocking me from releasing the next version of my AEM plugin. Is
there any chance that within the next days will arrive 1.5.2 with a fix?
@adamcin https://github.com/adamcin - I could prepare PR with required
changes.
Greetings, Krystian
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/adamcin/oakpal/issues/50#issuecomment-611409829, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEAFLEEAWA52LPUSDCKVNTRLWDHZANCNFSM4MCBABFA
.

Nice 🙂 I already prepared working/tested Windows script. I will create PR tomorrow morning.

ETA? :) tomorrow or Monday possible?

@pun-ky I am really terribly sorry about the delay with this. I just got some time to focus on it. v1.5.2 has been published.

No pressure. Finally you find time. I appreciate it.
Have a nice day 🙂

I confirm that my integration with OakPAL is working properly on Unix'es and Windows.
https://github.com/Cognifide/gradle-aem-plugin/blob/develop/src/main/kotlin/com/cognifide/gradle/aem/common/pkg/PackageValidator.kt
When implementing that integration I spotted 2 issues that potentially could be improved or handled in a more appropriate way that you could suggest. Assuming that I am not building Opear JAR but using OakPAL with Opear directory which contents are prepared just before running OakPAL package scanning:

Whenever I specify -p custom-plan.json it only works with plan names already defined in META-INF/MANIFEST.MF. I would like to be able to load any other plan that I provide in Opear directory (or even provide a plan at an absolute path) without a need to update MANIFEST.MF so that OakPAL will be able to load it. Currently, there is such a limitation. I implemented a workaround for it: https://github.com/Cognifide/gradle-aem-plugin/blob/develop/src/main/kotlin/com/cognifide/gradle/aem/common/pkg/PackageValidator.kt#L167
I am not sure if preparing the initial state of repository is OK by scanning one extra package before other packages. I am preparing a minimal initial package:

https://github.com/Cognifide/gradle-aem-plugin/blob/develop/src/main/kotlin/com/cognifide/gradle/aem/common/pkg/PackageValidator.kt#L173-L194
https://github.com/Cognifide/gradle-aem-plugin/blob/develop/src/main/kotlin/com/cognifide/gradle/aem/common/pkg/PackageValidator.kt#L199

without any JCR content
with one dummy Vault workspace filter (to avoid violation reported)
with META-INF/vault/privileges.xml to pre-populate crx:replicate privilege
with META-INF/vault/nodetypes.cnd to pre-populate AEM specific nodetypes

Any hints appreciated.

@adamcin?

@pun-ky
I'll answer question (2) first. It's okay to "scan" one extra package, but the oakpal plan.json format can reference preInstallUrls, as an array of URLs to packages, which can be absolute or relative to the $OAKPAL_OPEAR file URL base.
See:
https://github.com/adamcin/oakpal/blob/c6503fd52ec82dec44790839955739202efb0029/core/src/main/java/net/adamcin/oakpal/core/OakpalPlan.java#L338
To answer question (1), an undocumented behavior at the moment is that when $OAKPAL_OPEAR references a directory rather than a Jar file, and the directory does not contain a META-INF/MANIFEST.MF file, and $OAKPAL_OPEAR/plan.json is a file, it treats "plan.json" as the default plan name. The missing piece here with this undocumented behavior is there is no CLI or API option to specify a plan classloader, so it's not currently possible to reference checks or checklists embedded in jars. You should be able to override the basic checklist details, however.
https://github.com/adamcin/oakpal/blob/c6503fd52ec82dec44790839955739202efb0029/core/src/main/java/net/adamcin/oakpal/core/OpearFile.java#L195

Ideally if I could specify both any plan url and pre install url from CLI 🙂
Thanks for explanation.

@pun-ky I'll see what I can do.

authors: adamcin pun-ky

repo: adamcin/oakpal


text:
how to Archive Zip file from FromDirectory

your Example said
using (var archive = ZipArchive.Create()) { 	archive.AddAllFromDirectory(@"C:\source"); 	archive.SaveTo(@"C:\new.zip"); }
[https://github.com/adamhathcock/sharpcompress/wiki/API-Examples#archive-random-access-api-example]
but,I don't file the AddAllFromDierctory in ZipArchive.Create()

It's an extension method.  Search the source.

repo: adamhathcock/sharpcompress


text:
🛑 relay.fedi.agency is down

In cfc0c8e, relay.fedi.agency (https://relay.fedi.agency/actor) was down:

HTTP code: 502
Response time: 544 ms

Resolved: relay.fedi.agency is back up in d1fec22.


text:
🛑 relay.libranet.de is down

In f9d4711, relay.libranet.de (https://relay.libranet.de/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: relay.libranet.de is back up in b864288.


text:
🛑 relay.dresden.network is down

In 8f4efe0, relay.dresden.network (https://relay.dresden.network/actor) was down:

HTTP code: 502
Response time: 787 ms

Resolved: relay.dresden.network is back up in ad60fa9.


text:
🛑 relay.wagnersnetz.de is down

In 53103b0, relay.wagnersnetz.de (https://relay.wagnersnetz.de/actor) was down:

HTTP code: 502
Response time: 4910 ms

Resolved: relay.wagnersnetz.de is back up in 9dd5196.


text:
🛑 mastodon-relay.moew.science is down

In 8d7f337, mastodon-relay.moew.science (https://mastodon-relay.moew.science/actor) was down:

HTTP code: 502
Response time: 737 ms

Resolved: mastodon-relay.moew.science is back up in 1317154.


text:
🛑 relay.glauca.space is down

In daa65ee, relay.glauca.space (https://relay.glauca.space/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: relay.glauca.space is back up in 11a15eb.


text:
🛑 relay.masto.social is down

In 74d0990, relay.masto.social (https://relay.masto.social/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: relay.masto.social is back up in b72e4fb.


text:
🛑 relay.masto.social is down

In 3ae45fe, relay.masto.social (https://relay.masto.social/actor) was down:

HTTP code: 0
Response time: 0 ms

Resolved: relay.masto.social is back up in 4bf7847.


text:
🛑 IRC is down

In 22396bd, IRC ($SECRET_SITE_IRC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IRC is back up in 53da4b6 after 16 minutes.


text:
”unlink seed from prompt checkboxes checked” failed to work! When Fixed seed is checked, the wildcard seems to always choose the same prompt, which means the prompt chosen is linked with the seed

”unlink seed from prompt checkboxes checked” failed to work! When Fixed seed is checked, the wildcard seems to always choose the same prompt, which means the prompt chosen is linked with the seed. Has anybody found the same problem?

I also run into this same problem. Can confirm.

authors: evanerichards explorerlxy

repo: adieyal/sd-dynamic-prompts


text:
Improved the UI of full blog page

issueno: #43
Enhanced the full blog page's user interface by introducing icons alongside the 'Like' and 'Add Comment' buttons. Additionally, I optimized the positioning of the title and adjusted the image size."

@bharath090909 remove the button texts saying 'Go back' and like(0), instead use icons only,
for likes, try do do when the post is not liked, the icon is white, and after liking it shall turn blue.

Okay I will do the changes and let you know.

@adityyaa-10 i have completed the task and send please check them.

Great @bharath090909 I'll see to it and merge your pr. You are free to look for bugs and raise issues till then.


text:
Solarman LSE module disconnection

MartinNeurol says :
There is always a risk when you don't perfectly understand what you do. Read carefully all the instructions. This is not a "plug&play" module. It has not been tested with many inverters nor fully debugged. I just share what I'm currently using for my Deye Sun 5K but you must understand what you are doing. As long as you avoid writing to the inverter registers, the risk is limited. Do not use "switch/select" entities to prevent sending unexpected commands and keep only "sensor" registers.

Hi! I am using the Solarman LSE for my SUN-10K-SG04LP3-EU. Everytime I set up the interation, in less then 24 HRS, my inverter falls into COM error and has to be restarted. That never happens when the integration is off. As I am using LSE version and my neigbor literally has the same solution, but with standard Solarman integration and wireless logger working just fine, I am just asking - where to look, who to ask? Or ditch it? Many thanks, Martin

Hi MartinNeurol,
I don't think you need to RESTART the inverter but only the LSE module (press the reset button under the RJ-45 cap or disconnect/reconnect the module to the inverter).
To identify where the disconnection comes from, when disconnected try to access the the Solarman LSE module web interface (screenshot  below). If you can display the screen below, there is a problem with the home assistant module.
What are the info in the log (Parameters > System > Log) ?
If you do not identify info in the log related to the Solarman LSE, enable the add-on debugging  (Parameters > Devices & Services > Solarman LSE and enable the log).

Hi! I finally found some time to test this. i Turned on the Solarman LSE this morning, about 12:35 my inverter stopped responding correctly. there was absolutely nothing in the log except this:
Update of sensor.lse_pv1_power is taking over 10 seconds this happened 117 times today.
and this:
Updating solarman_lse sensor took longer than the scheduled update interval 0:00:30
I can log into the logger web, but that too is showing the same data from 12:35 even now (18:55).
I have just enabled addon logs and this is appearing now:
Logger: custom_components.solarman_lse.solarman
Source: custom_components/solarman_lse/solarman.py:331
integrace: Solarman LSE (dokumentace, problémy)
first appearance: 09:23:26 (97 appearances)
last time logged: 18:55:27
Querying registers [514 - 558] failed, aborting.
Querying registers [598 - 636] failed, aborting.
Querying registers [644 - 653] failed, aborting.
Querying registers [586 - 591] failed, aborting.
Querying registers [3 - 89] failed, aborting.
I am using
deye_sg04lp3.yaml and have SG04LP3 EU inverter.
Thank you for your cooperation,
Martin

More info, after soft restart of the logger clicked from the web, the logger still shows wrong data from 12:35.
The inverter too was showing wrong data and COMM error, but nothing in inverter logs.
I diconnected the logger, it reconnecd and started to show the same wrong data again (because inverter...)
So I had to do the full inverter turn off/ turn on to get it working again :/
Best regards,
Martin

Maybe it comes from the Solarman_LSE add-on but unfortunately I have no clue what could be the problem.
I just share what is working for me (Deye 5K ) and have only this inverter.
The fallback will be to use the  SolarmanPV  application if it works for you.
There was applications for retreiving the data from SolarmanPV API to HA as far as I remember.
Here are some ways to investigate further :

Install GModBus and check each register manually.
Maybe one or more are wrong in the deye_sg04lp3.yaml.
It was the case with my Deye 5K so I created a specific YAML file.
There are some limitations when requesting Registers :
Max number of registers per request is <123 and too frequent requests may also overload the comm.
Try grouping the requests to reduce the number or requests.You are currently overlapping the registers and requesting several time the same values e.g.: [3 - 89], [514 - 586], [587 - 653]
Check if SolarmanPV is working fine over the time otherwise there is maybe a need for inverter F/W update.

Have a nice day

Thank you very much for your response. As I am only a dumb customer that knows nothing about modbus and have no intentions to set my house on fire while trying to "tweak" my inverter :D So I will probably just abandon the HA solution for the moment. Also, it seems that I am the only on to have similar issue, so... screw it.
Solarman Smart web pages give Bad gateway, But the app still somehow works. Many thanks, Martin

Adnovea,
thank you for your LSE module. I have connected via LAN my Azzurro ZCS 3ph Hyd 20000 ZSS without problem (sopar.g3hyd.yaml).
I have a problem with the second device, inverter 3PH20000TL-V3 (zcs_azzurro-ktl-v3.yaml).
If I add a second device, i obtain a single device with the sum of entities.
have you test the module with two or more inverters?
thank in advance for hard work...

Gianfa73,
I haven't tested the add-on with two or more inverters. I have only modified the Modbus protocol of the old version of the "home_assistant_solarman" module to support the LSE requirements.

authors: MartinNeurol adnovea gianfa73


text:
Integrate the support for throttling and rate limiting in the gateway

Add zeromq lib, czmqlib, api-gateway-zmq-adator and api-gateway-async-logger

Closed in #27

repo: adobe-apiplatform/apigateway


text:
Convert from govendor to glide

Cc: @iderdik. @f4tq

👍

I don't have the ability to merge on this repo

@f4tq, as maintainer, can you do the honors please?

Closing because I talked to @f4tq and he said govendor is pretty integral to the build process.
I asked him to simply change the govendor deps to loosely pin for negroni, ginkgo, and gomega.
That should fix these warnings I believe:
[WARN]	Conflict: github.com/codegangsta/negroni version is ~0.2.0, but also asked for 8d75e11374a1928608c906fe745b538483e7aeb2
[WARN]	Conflict: github.com/onsi/ginkgo version is ~1.3.1, but also asked for 38caab951a9ff39f0e61294a1dbaaa074a39228b
[WARN]	Conflict: github.com/onsi/gomega version is ~1.1.0, but also asked for 8adf9e1730c55cdc590de7d49766cb2acc88d8f2

authors: iderdik msabramo

repo: adobe-platform/go-metronome


text:
firefox: node.clientWidth and node.clientHeight return 0

Hi,
please check my fiddle
in Chrome (53) everything works ok,
but in Firefox (48) both values equal 0

Not quite sure if this has anything to do with Snap. If you add the class via just SVG commands and not using Snap, do you see a different result ?

I see...  You are right. So I should post this bug to firefox bug-tracker maybe...
Sorry for bothering)

You'll be wanting to post this to the Chrome bugtracker. If you post it as a Firefox bug I will close it as invalid per
https://www.w3.org/TR/cssom-view-1/#dom-element-clientwidth
If the element has no associated CSS layout box or if the CSS layout box is inline, return zero.
Note that SVG elements have no  CSS layout boxes.

@adarrra If you're using jquery why not use this: https://jsfiddle.net/0br8mLs6/5/
Which negates the cross-browser issues.
Tested with firefox 52.

This problem still exists

Is there anything to suggest as previously stated, that it's not a Snap issue ?

I've explained why Firefox is correct with reference to the appropriate specification above so why shouldn't this issue be closed as invalid?

authors: SumNeuron adarrra hipkiss91 ibrierley longsonr


text:
CQ-4351053 Localisation is not happening in generated DoR for core co…

…mponents
@Review : @nitigupt
Added getter for path of the component

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[ ] All unit tests pass on CircleCi.
[ ] I ran all tests locally and they pass.

pls add path in custom props (as fd:path)

repo: adobe/aem-core-forms-components


text:
Policy importer doesn't copy child nodes with cq:copyChildren

According to the documentation, you can use cq:copyChildren in the rules to copy a tree of content from the designs folder to the policies folder. This does not work, as only the parent node is copied.
For example designs for the text core component cannot easily be converted. They are set up like this :

...
</>

The only thing that gets copied to the policy is the text node

This has been resolved in #63

authors: TMelotte bstopp

repo: adobe/aem-modernize-tools


text:
Documentation - Add Auth - How to use?

Is your feature request related to a problem? Please describe.
When I run the aio app add-auth command I see that it updated the manifest.yml, however, I don't get any indication of how to use the new sequence in my actions nor does the documentation provide any examples.
Describe the solution you'd like
Either (or ideally both) update the command documentation or output to describe how to integrate authentication into the actions / app.
Describe alternatives you've considered
Reading the code provides context to what the code is doing, but not why or how to use it.
Additional context
I don't work for Adobe.

@klcodanr We are currently in the process of adding "templates" to address this concern. Meanwhile, you could have a look at https://github.com/adobe/aio-app-scripts/blob/master/doc/add-auth.md and see if it helps.

Brilliant, that's exactly the sort of thing I was looking for. Just created a PR to add a link in the readme so no one else has to ask :-) #125

@Himavanth I ran the command and followed the instructions, but I'm still unclear how to use the created URLs. From the wsk action details it looks like the URL should be accessible from the URL:
http://adobeioruntime.net/api/v1/web/perficient/myauthp/authenticate
But accessing this URL does not initiate OAuth.
I'm seeing the following result from: wsk activation get --last:
{
    "namespace": "perficient",
    "name": "encrypt",
    "version": "0.0.3",
    "subject": "perficient",
    "activationId": "95e0b18c2e944948a0b18c2e9469480e",
    "cause": "6e1c9e1237054ec89c9e1237055ec89b",
    "start": 1578952985111,
    "end": 1578952985112,
    "duration": 1,
    "response": {
        "status": "application error",
        "statusCode": 0,
        "success": false,
        "result": {
            "error": {
                "body": "",
                "headers": {
                    "Content-Length": "0",
                    "Location": "https://ims-na1.adobelogin.com/ims/authorize/v1?response_type=code&redirect_uri=https%3A%2F%2Fadobeioruntime.net%2Fapi%2Fv1%2Fweb%2Fperficient%2Fmyauthp%2Fauthenticate&scope=openid%2CAdobeID&client_id=[a-client-id]"
                },
                "statusCode": 302
            }
        }
    },
    "logs": [],
    "annotations": [
        {
            "key": "causedBy",
            "value": "sequence"
        },
        {
            "key": "binding",
            "value": "perficient/mycachep-shared"
        },
        {
            "key": "path",
            "value": "adobeio/cache/encrypt"
        },
        {
            "key": "kind",
            "value": "nodejs:10"
        },
        {
            "key": "timeout",
            "value": false
        },
        {
            "key": "limits",
            "value": {
                "concurrency": 1,
                "logs": 10,
                "memory": 256,
                "timeout": 60000
            }
        }
    ],
    "publish": false
}

Hi @klcodanr ,
We have released an update of the CLI on Monday, which will simplify the token validation.
Please check:
New version of @adobe/aio-cli-plugin-runtime: 1.5.0 -> 1.6.0

support for require-adobe-auth web action annotation when deploying manifest files
New version of @adobe/aio-cli-plugin-app: 1.3.0 -> 1.4.1
integration of the adobe auth support in the templates generated by aio app init

Release tags:

https://github.com/adobe/aio-cli-plugin-runtime/releases/tag/1.6.0
https://github.com/adobe/aio-cli-plugin-app/releases/tag/1.4.1
https://github.com/adobe/aio-cli-plugin-app/releases/tag/1.4.0
https://github.com/adobe/generator-aio-app/releases/tag/0.6.0
https://github.com/adobe/aio-app-scripts/releases/tag/0.13.0

authors: Himavanth klcodanr meryllblanchet

repo: adobe/aio-cli-plugin-app


text:
fix semantic-release config to allow slashes / in commit messages

Update: did not work, no release happened.

Test to see if ** instead of * solves this issue: https://github.com/semantic-release/commit-analyzer/issues/175
semantic-release/commit-analyzer uses the micromatch which is indeed a file globbing library and would then not include / in * wildcards.
Also changed the order in the config to major > minor > patch.

Unfortunately that did NOT work: https://travis-ci.com/github/adobe/aio-cli-plugin-asset-compute/jobs/393972635

Hi. I tried this one and it seams to be working:
          "subject": "BREAKING-RELEASE:*\\/**",
          "release": "major"

Can you please try it as well so it can be confirmed as a fix?

Hi. I tried this one and it seams to be working:
          "subject": "BREAKING-RELEASE:*\\/**",
          "release": "major"

Can you please try it as well so it can be confirmed as a fix?

authors: alexkli algeorgiev

repo: adobe/aio-cli-plugin-asset-compute