mk3hook.so: 07_extra no longer working since 1.10

Bug report
Description
A user reported 07_extra not having any IO when using a PIUIO, when testing I experienced the same issue.
I downgraded pumptools to 1.09. IO started working again, with 1.10 or higher, IO is not working. Nothing really different in the logs I can see.
Affected games and versions
07_extra
Pumptools versions tested
Working:
1.08
1.09
Not working:
1.10
1.11
1.12
master
OS and hardware specs

OS: Linux pumpos 4.15.0-177-generic #186-Ubuntu SMP Thu Apr 14 20:23:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
CPU: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz
RAM: 4G
GPU: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
Controllers/IO: piuio

I briefly skimmed the history between 1.09 and 1.10 and noticed the major chunk of changes around piuio emulation and API. Seems like the main reason was work on emulating the infamous kernel hack that was required for pro1/pro2.
The issue sounds simple to re-produce and needs to be further scoped to the commit level eventually.
Leaving the above thoughts as notes either for me when i pick this up or if someone else wants to pick this up for a debugging session.

This commit is the culprit
https://github.com/pumpitupdev/pumptools/commit/7f1a0b075b10f51e547e7d9d73ae130a860928aa


Dirigera

This will add the option to communicate directly with a Dirigera hub.
This Pull Request is a placeholder for the actual PR which will be made when the code changes are done.

I will likely use this library. https://github.com/Leggin/dirigera


What is meant by "delete your project's LaunchScreen.xib"?

I don't quite understand the instructions in the README. Do I just delete the reference inside of Xcode or do I need to delete the file or both? Also do I need to adjust the Launch Screen File under "General"? Also also, should we use xcassets somehow to store the splash image so we can add different resolutions?

I apologize for the abysmal state of the documentation. I don't really understand myself how to implement this as it started as a fork of remobile's splash screen and one of my colleagues ( @Pholey ) implemented the iOS portion on our app.
I'll be going through this and doing a solid example and documentation in the coming week.

@mehcode I got it figured out, however it might be interesting to note that we actually use an assets that has 3 sizes for different phones instead of the single .png. I can create an issue for this just so we can maybe ponder how/if we want to tackle this. Works fine on iOS don't know how Android will fair.

I'll also help with documentation on iOS side if you need.

@LeBlaaanc Example and clear documentation is now available for Android. iOS will be coming soon after. If you want to take on the iOS side of that It'd be appreciated but otherwise I'm planning on doing it tomorrow when I setup my next app with react native.

Documentation is done for iOS and there is also an example.


Add binaries for v3.8.0

Not sure why only the Windows binaries changed.

On second thoughts v3.7.0 was the same as v3.8.0. This is a noop.


Automatically press enter to input the transcribed text.

Hello,
Thank you for this massive work.
Is it possible to add an option with the keyboardTyping plugin to automatically press enter once the transcribed text from speech to text is done so we don't have to press manually enter key ?
It could be done by setting a time when there is silence or when using a key push to talk, it could be done by releasing the key.
Thank you.

Thank you for the suggestion.
I just added a "in_game_chat" settings dictionary to the Keyboard typing plugin (now version 1.0.4).
This has two values. one key that is pressed before the text is typed, and one after the text is typed.
its disabled by default. The post and pre typing keys are what i think are the most common hotkeys for in-game chats.
So if enabled, it presses "T" before typing,  and Enter after it finished typing.
I hope thats what you where looking for.

let me know if that works.

Thank you it's even better than what i asked with the pre typing key function and yes it does work.

NIce. :) Thanks for confirming it works.
WIll close this then.
Feel free to open another issue for any suggestion or question.


Run goimports on the whole project

When opening this repository in my editor, I run goimports automatically. This is what it found.

LGTM

LGTM

Could you please rebase and fix conflicts ?

Since master has changed, @metalmatze can you update your PR?
Thanks

Please rebase as @strk mentioned.

Current coverage is 2.18% (diff: 100%)

Merging #34 into master will not change coverage

@@            master       #34   diff @@
========================================
  Files           31        31
  Lines         7508      7508
  Methods          0         0
  Messages         0         0
  Branches         0         0
========================================
  Hits           164       164
  Misses        7327      7327
  Partials        17        17

Powered by Codecov. Last update fc55182...f19e9a9

Recreated the commit with the current master.
Wrong import paths are gone too. Sorry @bkcsoft.


[BACKLOG-8421] Added MDI support to Get Variable step

@mdamour1976 @bmorrise

Hello, This is an automated comment from our build system. Since this pull request originated from a user  not in the Pentaho organization, we will not proceed  with automatic validation of the pull request.  However, rest assured that it will be reviewed manually as soon  as we get the chance. Thanks for your contribution!


Add preface for features section

According to the feedback from Jane, we need to add in a preface describing the "format" of the features section, how the user should read through the features section and other misc. items such as each emoji (eg. ℹ) mean

Closed in #217


Filter panel

Where are the UX/Visuals? Marking as blocked until visible.

Existing code - https://ibm-security.carbondesignsystem.com/?path=/story/patterns-filterpanel--default

Still relevant


Add assertions for NonEmptyList<A> type

Add assertions for NonEmptyList<A> type. As an example, take a look at the assertions list implemented by Kotest library for such type.

NonEmptyList

nel.shouldContain(e)
Asserts that the NonEmptyList contains the given element e

nel.shouldContainAll(e1,e2,...,en)
Asserts that the NonEmptyList contains all the given elements e1,e2,...,en

nel.shouldContainNull()
Asserts that the NonEmptyList contains at least one null

nel.shouldContainNoNulls()
Asserts that the NonEmptyList contains no nulls

nel.shouldContainOnlyNulls()
Asserts that the NonEmptyList contains only nulls or is empty

nel.shouldHaveDuplicates()
Asserts that the NonEmptyList has at least one duplicate

nel.shouldBeSingleElement(e)
Asserts that the NonEmptyList has a single element which is e

nel.shouldBeSorted()
Asserts that the NonEmptyList is sorted

This seems interesting @rcardin, I will give it a shot if you haven't already started on it :slightly_smiling_face:, it's been a while

Hey, man. Yep, if you want, it’s yours. Let me know.
Cheers

Let's gooo :rocket: ! Thanks @rcardin :)


C compilation configuration improvements

This PR changes the configure script and Makefile in dist so that:

x64 intrinsics are only used when x64 is positively detected. This also allows the snapshot to be built on platforms not explicitly handled, like the recently discussed s390x (see #393)
It fails if KREMLIN_HOME is not correctly set up. This should prevent the accidental building of slower snapshots, as we have seen in the past. I've also made some tweaks to the way the opam releases are packaged in order to avoid this in the future.

I've tested this on my x64 machine and it passes the CI tests for arm64. Someone at Nomadic also tested it on s390x and reported success. However, the Everest CI for Linux is currently failing and I'm not sure why. It appears that the configure script isn't run?

it would also be nice to try to understand why BSD is failing -- could this be detected as part of the configure script? something like "if neither windows, osx or linux, then supports_vale=false"
it would also be nice to fix up the configure script to see if the toolchain supports the intrinsic AES instructions, and if not, write something to that effect in config.h so that at least the troublesome parts of libintvector.h can be removed... but that all can be done later, of course -- it just depends on priorities!

I'm waiting for my colleagues to re-test this on s390x but other than that I think this is good to go.

This is now ready to be merged


class 'mongoengine.fields.SequenceField is not supported, yet

Is there an alternative to SequeceField?
Best regards,
Antonio

This issue will be addressed on weekend, sorry for late response

+1 on this ticket also

Supported in trunk, but only as an integer.
See RegularFieldMappings.


Fix possible mistake in activity-counts-metrics-plugin.md

I believe there was a mistake copypasting from new_activity_metrics plugin
Please, could you check?

Thanks for your suggestion.
I've created a work item for internal tracking and follow up.
#please-close


⚠ TorrentLeech has degraded performance

In e651d76, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 5880 ms

Resolved: TorrentLeech performance has improved in 38aa4c7 after 11 minutes.


Custom fonts

Would it be possible to extend this library to allow developers to specify custom fonts in the tableView cell?

Theming is not something I have spent time on. I think it should be possible to style things with UIAppearance, but there are probably obstacles. I ought to make an example of how to do it.
What do you think?

Hmm so am not exactly sure with UIAppearance  I quickly tried this
       UITableViewCell.appearance().textLabel?.font = UIFont(name: "Exo2.0-Regular", size: 15.0) in the viewDidLoad method and it did not work. I was looking at the code and notice at round line 34 you set the font style. I think it would be great if we can make that settable.

Yes, the init code currently sets the fonts. It doesn't have to be like this, but I'm not sure what is best practice with theming. Maybe it's UIAppearance or something new swift appoach. Maybe it would be better to extend the CellModel with theming properties.

I think extending the CellModel makes the most sense and looks very clean to me.

Awesome @tawrahim, I would love to see a proposal from you.

Haha great I would see if I can squeeze in sometime to work on it.
I also think if it is easier for you to just extend it, It would be awesome since you are most familiar with the code :smile:

Your cocoapod contributions are much appreciated. Never give up.
When I'm not working, then I'm coding on various iOS projects. There is too little time in this world.

Ok let me see what I can do since I'm also heavily involved with this project to get v2.0 released. Lets see what happens.

Your project looks cool. Is it pure swift?

 And we are using your amazing library for some of our view
controllers.
-T
On Mon, Jun 6, 2016 at 1:39 PM, Simon Strandgaard<EMAIL_ADDRESS>wrote:

Your project looks cool. Is it pure swift?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neoneye/SwiftyFORM/issues/19#issuecomment-224031632,
or mute the thread
https://github.com/notifications/unsubscribe/AA5l6s4-oAC07OyfAqYER4nSpQJn1ZZQks5qJFtZgaJpZM4IubhH
.

There is a local phenomenon here in Denmark, it's gomore. I don't know if it's big outside europa. It seems related 👍

It is a little bit different but we both embody the spirit of the sharing economy :small_blue_diamond:
In any case I would try and see if I can make some progress with this issue this weekend. However if you do get it to work on it first that would be even cooler :smile:


"clever" date reading by engine

If you pass a number followed by a month, like 05 May it will read that as May 5th instead of just as it is seen.  Need to find a way to disable this behavior.

This seems TTS-specific. Try with other synths, like Eloquence, to validate?Sent from my iPhoneOn 17 May 2024, at 21:02, Robert Melton @.***> wrote:
If you pass a number followed by a month, like 05 May it will read that as May 5th instead of just as it is seen.  Need to find a way to disable this behavior.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

This is baked into the specific speech servers (@parhamdoustdar discovered it) and hence I don't think there is an easy solution to fix it, need to dig into engine specific options.


chore: use npx --yes

Motivation
temp workaround for https://github.com/npm/cli/issues/4619

of course, this makes windows CI fail for some reason...
can live without 😓


Update Necessary

Hi,
It'd be great to see this article updated. Veeam v11 was released about 18 months ago now, with Veeam now being on VBR v11a and v12 coming out in the next 3-6 months as an estimate.
This article states archive tier isn't supported, but as of v11 this feature was added, it'd be good to ensure alignment on this subject.
Thanks,
Michael
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f21232c4-0ae0-572f-2e48-9b8fb3e48f12
Version Independent ID: c8e1e68c-8592-1d42-f3c4-5430a1e87692
Content: Back up your data to Azure with Veeam - Azure Storage
Content Source: articles/storage/solution-integration/validated-partners/backup-archive-disaster-recovery/veeam/veeam-solution-guide.md
Service: storage
Sub-service: partner
GitHub Login: @karauten
Microsoft Alias: karauten

@karauten
Can you please check and add your comments on this doc update request as applicable.

Hi all, many thanks for pointing this out. We will work with our partner Veeam to get this updated.

@micoolpaul
It looks like your issue is resolved since you closed this thread.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.

Thank you for your dedication to our documentation.
We sincerely apologize for the delayed response. After a careful review, we are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


点击图表某个bar或者pie某块 动态设置itemStyle的color不生效

[ ] I am using English in this issue. 在这个 Issue 中我使用了英文（强烈建议）。

General Questions

[ ] Required: I have read the document and examples and tried to solve it by myself. （必填）我读过了文档和教程，并且曾试图自己解决问题。
[ ] Required: I have searched for similar issues and that didn't help. （必填）我搜索过 issue 但是没有帮助。
[ ] Required: I have tried with the latest version of ECharts and still have this problem. （必填）我试过最新版本的 ECharts，还是存在这个问题。

In this issue, I have provided information with: 在这个 issue 中我提供了以下信息：

[x] Required: issue type；（必填）issue 类型
[x] Required: one sentence description in issue details；（必填）一句话的问题描述
[x] Required: demo；（必填）能反映问题的例子（如果你想提问或报 bug）
[x] Required: ECharts version；ECharts 版本

Issue Type

[ ] I have a question to ask about how to use ECharts to ...；我想提问如何使用 ECharts 实现某功能
[x] I have a bug to report；我想要报 bug
[ ] I have a feature to request, e.g.: I'd like a new feature that ...；我需要一个新功能
[ ] I have a feature to enhance, e.g.: The current feature should be improved in the way that ...；我希望改进某个功能
[ ] There's something wrong with the documents；文档有些问题
[ ] Others, or I'm not sure which issue types to choose here；其他，或我不知道应该选什么类型

Issue Details
点击图表某个bar或者pie某块 动态设置itemStyle的color 不生效，多次快速点击可能会有变化

Expected Behavior

Current Behavior

Online Example

var data= [
    {value:335, name:'直接访问', id: 1, color: 'red', itemStyle: {color: 'red'}},
    {value:310, name:'邮件营销', id: 2, color: 'green', itemStyle: {color: 'green'}},
];

option = {
    legend: {
        orient: 'vertical',
        x: 'left',
        data:['直接访问','邮件营销']
    },
    series: [
        {
            name:'访问来源',
            type:'pie',
            radius: ['50%', '70%'],
            hoverAnimation: false,
            avoidLabelOverlap: false,
            label: {
                normal: {
                    show: false,
                    position: 'center'
                },
                emphasis: {
                    show: true,
                    textStyle: {
                        fontSize: '30',
                        fontWeight: 'bold'
                    }
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            },
            data: data,
        }
    ]
};

myChart.on('click', "series.pie", function (param) {
    option.data = data.map(d => {
        const newD = Object.assign({}, d);
        d.itemStyle = {color: d.color};
        if (d.id === param.data.id) {
            d.itemStyle.color = 'yellow';
        }
        return newD;
    });

    myChart.setOption(option);
});

4.1.0 版本是正常的
Topics

[ ] Legend
[ ] Tooltip
[ ] Event
[ ] Performance
[ ] SVG
[ ] Map
[ ] ECharts GL
[ ] Third-party libraries, e.g.: Vue.js, React

Anything Else We Need to Know

Environment

ECharts version；ECharts 版本: 4.2.0-rc.2

[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题，请提供相应环境信息：{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

d.itemStyle.normal.color = 'yellow';

It seems to be a bug.

Oh, find it half day, It's here. It has been tested and fixed, thank you!


Adding epic task

Added Epictask App
Totally BETA - BUT - Totally Cool
An open source full extensible (as soon as the plugin system is documented) github issue tracking and management app

The travis process failed from a missing header - is it still OK?

Looks good, though I would suggest taking out the FREE part from the description, since the app is already described as open source.
Travis had some downtime yesterday. If you push a change up now it will probably fix the CI issue.

@zeke you know, in retrospect I do believe the combination of exhaustion and CNN in the background drove me to dropping words like FREE FREE FREE - I'll revise shortly ;)
gracias


Addition of Continuous Integration and Code Coverage

Added tests, fixed a couple of bugs.

clearWhiteList did nothing
Changed dependence from framework to cms, as CMS dependcies referred to in the codebase.

Coverage now at 99% (one line missing)

Hi Gordon,
Thanks for this awesome pull request. Just one thing, could you remove the .editorconfig in the commit, maybe add that to a .gitignore?

I've rebased against master and made the editorconfig changes as requested.

It appears that you need to enable Travis https://travis-ci.org/silverstripe/silverstripe-routewhitelist and also Scrutinizer accounts for this repo.  Then the badges will be fixed in the README :)


Allow access to both getter and setter of a property when either is annotated according to InstanceInvokeMetaCapability

It would be very nice if you could use InstanceInvokeMetaCapability to reflect on properties without requiring that both getter and setter be annotated with the specified type, either as the default behavior of through additional config. It's less ideal that users of my library have to annotate both getter and setter of every property that they want to have processed when the thing it does always involves both reading and modifying the property value. Currently I have to resort to InstanceInvokeCapability without a name pattern.
On a more general note, as a user of Reflectable it would just feel more natural if properties were given at least partially first-class treatment instead of them just being linked by name.

Hi Lasse. Thanks for the suggestion. I believe you are looking for already exists:
/// Quantifying capability instance specifying that the reflection support
/// for any given explicitly declared getter must also be given to its
/// corresponding explicitly declared setter, if any.
const correspondingSetterQuantifyCapability = [...]

About the general note - can you give an example of how the code you imagine would look like? I'm not sure I follow exactly what you mean by "first-class treatment". Preferably in a new issue.


'elementType' should be replaced by 'class' in the config.php docs

Hi,
Just noticed that the docs in the config.php file reference a wrong key. 'elementType' should be replaced by 'class' if I'm not mistaken.
https://github.com/Rias500/craft-notifications/blob/0c3231c39e699c42debd56885468933586de4e4a/src/config.php#L9

You are right, else Undefined index: class error is thrown.


More than two layers in the layerlist should be visible without scrolling on small screens

🚀 Feature

Motivation

On my smaller laptop screen, I can just see two of the layer names. This is very cramped, especially if you're working with a reasonable set of layers. I would prefer to be able to see maybe three or four layers before having to scroll up or down.
It's a bit frustrating that I can't resize the amount of relative space taken up by the layerlist vs the layer controls in the left hand menu bar, especially since there's often a blank bit of UI real estate at the bottom of the layer controls.
Pitch

We should dedicate a bit more space to the layerlist in the left hand menu bar, relative to the layer controls above it.
Alternatives

Workaround 1
The workaround I could use here is to "pop out" the layerlist, and then switch back and forth between tabs on the left hand menubar (eg: select a layer, switch tabs to change contrast or add points, etc.). This toggling is also kind of annoying to do.
Workaround 2
If I move napari over to the larger second monitor then I can expand the size of the whole GUI & see more of the layers in the left hand menu bar. The reason I don't do that much is because there's some kind of glitch with the screen resolution or something on the second monitor - when I try to click on buttons I find I need to put the mouse cursor much higher on the screen for the click to register on the actual button. (I haven't put in a bug report about that problem, mostly because I'm not sure how to make a minimum reproducible example.)
Additional context

Here are some screenshots to illustrate.
Screenshot showing only two layers are visible without scrolling in the list, while at the same time there is a lot of blank space in the image layer controls above.

I can swap the positions of the two GUI elements, but it doesn't help me change the relative size between them.

I can "pop out" the layerlist, but then I need to tab back and forth to access the layer controls every time I select a layer, which is inconvenient.

Layer list could be moved with drag'n'drop. Moving to right is not a solution?

Well it's only a problem on a small screen, so moving it to the right just cuts into the available screen space even more. But sure, you can do that.

@DragaDoncila and I have worked out that changing the display scaling has a big effect on how cramped the napari layerlist in the GUI feels.
On my local machine, the settings are:

Windows 10
Display scale: 150% (Recommended)
Display resolution: 1920 x 1080 (Recommended)
Display orientation: Landscape

Here's what happens when I change the display scaling. At 100% scaling, there's lots of room to see multiple layers in the layerlist:

But when the scaling is 150% (the recommended setting for this machine), things are much more cramped:

@GenevieveBuckley thanks for those screenshots, they are very useful! That looks like >150% change in size to me, which is weird! At any rate, I think we should allow UI element rescaling independent (or on top of) the OS setting.

It looks like double scaling. (rather 2.25 than 1.5)

@GenevieveBuckley Could you comment out this line
https://github.com/napari/napari/blob/0055113d7ffc68e06c032f9cdf22ed2fbf9db0c6/napari/_qt/event_loop.py#L58
and make screenshot?

@GenevieveBuckley Could you comment out this line
https://github.com/napari/napari/blob/0055113d7ffc68e06c032f9cdf22ed2fbf9db0c6/napari/_qt/event_loop.py#L58
and make screenshot?

I tried this, and the screenshot results were the same. No difference there!

@GenevieveBuckley thanks for those screenshots, they are very useful! That looks like >150% change in size to me, which is weird!

Yeah, the other thing I notice is that the change in size isn't linear with the amount of scaling. There seems to be two modes: "tiny" and "gigantic". With scaling from 100% - 125% everything in napari is pretty tiny, but everything with scaling from 150% - 175% looks gigantic.
The options for display scaling are: 100%, 125%, 150%, and 175%. Here's what that looks like on my screen:
Display scaling 100%

Display scaling 125%

Display scaling 150%

Display scaling 175%

@GenevieveBuckley does going down to 100% or 125% where the display isn't cramped affect your issue with the mouse cursor being "off"?

Did you try to create some simple QT application (window with few buttons) and check ist behaviour? To check if it is Qt or napari specific bug?

@GenevieveBuckley does going down to 100% or 125% where the display isn't cramped affect your issue with the mouse cursor being "off"?

I have the mouse cursor issue on the other monitor, not on this one.

Did you try to create some simple QT application (window with few buttons) and check ist behaviour? To check if it is Qt or napari specific bug?

No, I haven't. The issue I'm raising here is that the layerlist is given proportionally far less space in the napari viewer when the display scaling is ~150%, and the layerlist is a specific napari thing.
If you want to know if the scaling of all Qt apps isn't linear with the display scaling, I don't know. If you think that would help for debugging and have a hello world type app, I could try it and take some screenshots for you.

I try to run this and on 150% scale I got:
C:\Users\Grzesiek\PycharmProjects\napari\venv\Scripts\python.exe -m napari

Process finished with exit code -1073741819 (0xC0000005)

@GenevieveBuckley Did you use PySide2 or PyQt5? If PySide2 could You try PyQt5? I got segfault on PySide2, but it look quit good on PyQt5 and I see difference between 100% and 125% scaling factor.
And as I see the problem is that layer property dock widget has fixed size (without support of scroll of its content).

@GenevieveBuckley Did you use PySide2 or PyQt5? If PySide2 could You try PyQt5? I got segfault on PySide2, but it look quit good on PyQt5 and I see difference between 100% and 125% scaling factor.

I've tried this with PyQt5 and PySide2 and get the same behaviour. The screenshots above are a pretty accurate representation of what happens on my machine.

And as I see the problem is that layer property dock widget has fixed size (without support of scroll of its content).

You might be onto something here. Seems likely this might be the culprit!

I've tried this with PyQt5 and PySide2 and get the same behaviour. The screenshots above are a pretty accurate representation of what happens on my machine.

on Qt 5.15.1 I have different behavior for PyQt5 and PySide2

I thought you said you had a segfault with PySide2 (i.e. PySide2 wasn't working for you at all). Can you describe the difference in behaviour that you see?

When I use PyQt 5.15.1 and select scaling 125% size of components change. On PySide2 there is no change of sizes.
For PySide2 5.15.1 I got segfault for 150%. for PySide2 5.14.2 I got proper scaling.


Add fasttext language identification

Add language-identification for fasttext model.
Related: https://github.com/huggingface/hub-docs/pull/703
(cc @osanseviero)

@osanseviero Followed up with your changes here! https://github.com/huggingface/api-inference-community/pull/222


Revert "Bump constraint-layout from 1.1.3 to 2.0.1 in /source/android" (#4976)

Cherry-pick of #4976 (which dealt with #4964) into release/20.10
Clean cherry-pick (no conflicts)
Microsoft Reviewers: Open in CodeFlow

Recreating release branch, so closing cherry-pick.


Steam: determine whether libGL.so.1 is present

i installed steam in my user profile
i ran it

$ steam

(zenity:695): Gtk-WARNING **: Could not find the icon 'dialog-question-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
    http://icon-theme.freedesktop.org/releases
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Setting up Steam content in /home/ronny/.local/share/Steam
cp: reguläre Datei '/home/ronny/Desktop/steam.desktop' kann nicht angelegt werden: Permission denied
Running Steam on nixos 16.09.741.354fd37 64-bit
STEAM_RUNTIME has been set by the user to: /steamrt
Installing breakpad exception handler for appid(steam)/version(0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2016-10-13 17:55:16] Startup - updater built Nov 17 2015 12:33:46
[2016-10-13 17:55:16] Verifying installation...
[2016-10-13 17:55:16] Unable to read and verify install manifest /home/ronny/.local/share/Steam/package/steam_client_ubuntu12.installed
[2016-10-13 17:55:16] Verification complete
[2016-10-13 17:55:16] Downloading Update...
[2016-10-13 17:55:16] Checking for available update...
[2016-10-13 17:55:17] Package file tenfoot_misc_all.zip.eb878869168c6d3825d6c46fa1989aa6133be3a0 missing or incorrect size
[2016-10-13 17:55:17] Package file tenfoot_dicts_all.zip.b3d161ff180fa16e748e3ad8e229311dddc5dcf8 missing or incorrect size
[2016-10-13 17:55:17] Package file tenfoot_fonts_all.zip.vz.528562ead3915df3ee0d7573dcbbae1732d23e3e_12078510 missing or incorrect size
[2016-10-13 17:55:17] Package file tenfoot_ambientsounds_all.zip.f8085747df9f9e2379ec6c9d5e9a1ac3cc225c71 missing or incorrect size
[2016-10-13 17:55:17] Package file tenfoot_sounds_all.zip.vz.b40500b20b80e8d635324749e7057ad4bd217c83_1218868 missing or incorrect size
[2016-10-13 17:55:17] Package file tenfoot_images_all.zip.vz.feb4a1ad6573c847676364cc75900adc6ddcb388_27170074 missing or incorrect size
[2016-10-13 17:55:17] Package file tenfoot_all.zip.vz.8de0376e013b790793458831b6f5b383bc4a68f4_2091659 missing or incorrect size
[2016-10-13 17:55:17] Package file resources_misc_all.zip.vz.e9ae57bba927da1edd22efc302924c27a4deb7db_2023756 missing or incorrect size
[2016-10-13 17:55:17] Package file resources_all.zip.vz.73d8b381ee6304073963792c8d8a4214b91960b5_5052370 missing or incorrect size
[2016-10-13 17:55:17] Package file strings_en_all.zip.c8b4fbbce9fced5c9e58d2e02e51f517b2f362b2 missing or incorrect size
[2016-10-13 17:55:17] Package file strings_all.zip.vz.f5d9458903491363f3ece0aea0e3fd3703141b1e_1996066 missing or incorrect size
[2016-10-13 17:55:17] Package file remoteui_all.zip.vz.3daa8096d350bf4a57ba7c13bf62bee320efb3d5_141330 missing or incorrect size
[2016-10-13 17:55:17] Package file public_all.zip.vz.95275704aa8f8fcfde59a30723812e3c924f33b4_816804 missing or incorrect size
[2016-10-13 17:55:17] Package file bins_ubuntu12.zip.vz.4ca59fbd722d43446bcdcc6ccf7de4ff5a2c86b8_15085144 missing or incorrect size
[2016-10-13 17:55:17] Package file bins_pub_ubuntu12.zip.vz.657a16bdd859f0a4df7858b2c6d5ce93fd502845_9053673 missing or incorrect size
[2016-10-13 17:55:17] Package file bins_sdk_ubuntu12.zip.vz.063c01564403c954cfc06ad41e85c2e838c32078_9462789 missing or incorrect size
[2016-10-13 17:55:17] Package file bins_codecs_ubuntu12.zip.vz.84b14918e1591ffd02e819b8f7fc79315dbedb03_1832666 missing or incorrect size
[2016-10-13 17:55:17] Package file bins_misc_ubuntu12.zip.3b4c3808320f1b07d1256f77be47df8b6a7d9bc6 missing or incorrect size
[2016-10-13 17:55:17] Package file webkit_ubuntu12.zip.vz.0b9471dafb1ec438846112a911abd5a69be9ee4b_31265429 missing or incorrect size
[2016-10-13 17:55:17] Package file miles_ubuntu12.zip.vz.599a10fccbf9ff26130449b95173fbe0cd244549_299828 missing or incorrect size
[2016-10-13 17:55:17] Package file sdl2_ubuntu12.zip.vz.0a440a2d8522ec23770bd32cbe8b050d8c373577_291050 missing or incorrect size
[2016-10-13 17:55:17] Package file steam_ubuntu12.zip.vz.698725e20d615a52adf466a630f988f22479d665_1311170 missing or incorrect size
[2016-10-13 17:55:17] Package file runtime_part0_ubuntu12.zip.35d62c2980b8e48d487140919593c82ae5c4a722 missing or incorrect size
[2016-10-13 17:55:17] Package file runtime_part1_ubuntu12.zip.fac99f2e6dbe5e4463336b8269942905848f3e26 missing or incorrect size
[2016-10-13 17:55:17] Downloading update (0 of 252.482 KB)...
[2016-10-13 17:55:17] Downloading update (806 of 252.482 KB)...
[2016-10-13 17:55:18] Downloading update (2.454 of 252.482 KB)...
[2016-10-13 17:55:18] Downloading update (4.578 of 252.482 KB)...
[2016-10-13 17:55:18] Downloading update (6.276 of 252.482 KB)...
[2016-10-13 17:55:18] Downloading update (6.783 of 252.482 KB)...
[2016-10-13 17:55:19] Downloading update (7.224 of 252.482 KB)...
[2016-10-13 17:55:19] Downloading update (7.701 of 252.482 KB)...
[2016-10-13 17:55:19] Downloading update (8.301 of 252.482 KB)...
[2016-10-13 17:55:19] Downloading update (8.858 of 252.482 KB)...
[2016-10-13 17:55:20] Downloading update (9.173 of 252.482 KB)...
[2016-10-13 17:55:20] Downloading update (9.359 of 252.482 KB)...
[2016-10-13 17:55:20] Downloading update (9.877 of 252.482 KB)...
[2016-10-13 17:55:20] Downloading update (10.102 of 252.482 KB)...
[2016-10-13 17:55:21] Downloading update (10.506 of 252.482 KB)...
[2016-10-13 17:55:21] Downloading update (10.790 of 252.482 KB)...
[2016-10-13 17:55:21] Downloading update (10.992 of 252.482 KB)...
[2016-10-13 17:55:21] Downloading update (11.311 of 252.482 KB)...
[2016-10-13 17:55:22] Downloading update (11.621 of 252.482 KB)...
[2016-10-13 17:55:22] Downloading update (11.883 of 252.482 KB)...
[2016-10-13 17:55:22] Downloading update (12.331 of 252.482 KB)...
[2016-10-13 17:55:22] Downloading update (12.619 of 252.482 KB)...
[2016-10-13 17:55:23] Downloading update (13.911 of 252.482 KB)...
[2016-10-13 17:55:23] Downloading update (15.645 of 252.482 KB)...
[2016-10-13 17:55:23] Downloading update (17.496 of 252.482 KB)...
[2016-10-13 17:55:24] Downloading update (19.437 of 252.482 KB)...
[2016-10-13 17:55:24] Downloading update (21.372 of 252.482 KB)...
[2016-10-13 17:55:24] Downloading update (23.275 of 252.482 KB)...
[2016-10-13 17:55:24] Downloading update (25.182 of 252.482 KB)...
[2016-10-13 17:55:25] Downloading update (27.036 of 252.482 KB)...
[2016-10-13 17:55:25] Downloading update (28.939 of 252.482 KB)...
[2016-10-13 17:55:25] Downloading update (30.849 of 252.482 KB)...
[2016-10-13 17:55:25] Downloading update (32.429 of 252.482 KB)...
[2016-10-13 17:55:26] Downloading update (34.482 of 252.482 KB)...
[2016-10-13 17:55:26] Downloading update (36.323 of 252.482 KB)...
[2016-10-13 17:55:26] Downloading update (38.236 of 252.482 KB)...
[2016-10-13 17:55:26] Downloading update (40.214 of 252.482 KB)...
[2016-10-13 17:55:27] Downloading update (42.118 of 252.482 KB)...
[2016-10-13 17:55:27] Downloading update (44.146 of 252.482 KB)...
[2016-10-13 17:55:27] Downloading update (46.150 of 252.482 KB)...
[2016-10-13 17:55:27] Downloading update (48.066 of 252.482 KB)...
[2016-10-13 17:55:28] Downloading update (49.782 of 252.482 KB)...
[2016-10-13 17:55:28] Downloading update (51.671 of 252.482 KB)...
[2016-10-13 17:55:28] Downloading update (53.571 of 252.482 KB)...
[2016-10-13 17:55:28] Downloading update (55.561 of 252.482 KB)...
[2016-10-13 17:55:29] Downloading update (57.570 of 252.482 KB)...
[2016-10-13 17:55:29] Downloading update (59.484 of 252.482 KB)...
[2016-10-13 17:55:29] Downloading update (61.371 of 252.482 KB)...
[2016-10-13 17:55:29] Downloading update (63.266 of 252.482 KB)...
[2016-10-13 17:55:30] Downloading update (65.166 of 252.482 KB)...
[2016-10-13 17:55:30] Downloading update (66.968 of 252.482 KB)...
[2016-10-13 17:55:30] Downloading update (68.978 of 252.482 KB)...
[2016-10-13 17:55:30] Downloading update (70.863 of 252.482 KB)...
[2016-10-13 17:55:31] Downloading update (72.746 of 252.482 KB)...
[2016-10-13 17:55:31] Downloading update (74.650 of 252.482 KB)...
[2016-10-13 17:55:31] Downloading update (76.594 of 252.482 KB)...
[2016-10-13 17:55:31] Downloading update (78.444 of 252.482 KB)...
[2016-10-13 17:55:32] Downloading update (80.293 of 252.482 KB)...
[2016-10-13 17:55:32] Downloading update (82.107 of 252.482 KB)...
[2016-10-13 17:55:32] Downloading update (83.764 of 252.482 KB)...
[2016-10-13 17:55:32] Downloading update (85.675 of 252.482 KB)...
[2016-10-13 17:55:33] Downloading update (87.644 of 252.482 KB)...
[2016-10-13 17:55:33] Downloading update (89.548 of 252.482 KB)...
[2016-10-13 17:55:33] Downloading update (91.463 of 252.482 KB)...
[2016-10-13 17:55:33] Downloading update (93.265 of 252.482 KB)...
[2016-10-13 17:55:34] Downloading update (95.179 of 252.482 KB)...
[2016-10-13 17:55:34] Downloading update (97.024 of 252.482 KB)...
[2016-10-13 17:55:34] Downloading update (98.892 of 252.482 KB)...
[2016-10-13 17:55:34] Downloading updateInstalling breakpad exception handler for appid(steam)/version(1.0)
 (100.802 of 252.482 KB)...
[2016-10-13 17:55:35] Downloading update (102.796 of 252.482 KB)...
[2016-10-13 17:55:35] Downloading update (104.815 of 252.482 KB)...
[2016-10-13 17:55:35] Downloading update (106.725 of 252.482 KB)...
[2016-10-13 17:55:35] Downloading update (108.675 of 252.482 KB)...
[2016-10-13 17:55:36] Downloading update (110.744 of 252.482 KB)...
[2016-10-13 17:55:36] Downloading update (112.649 of 252.482 KB)...
[2016-10-13 17:55:36] Downloading update (114.557 of 252.482 KB)...
[2016-10-13 17:55:37] Downloading update (116.428 of 252.482 KB)...
[2016-10-13 17:55:37] Downloading update (118.209 of 252.482 KB)...
[2016-10-13 17:55:37] Downloading update (119.839 of 252.482 KB)...
[2016-10-13 17:55:37] Downloading update (121.752 of 252.482 KB)...
[2016-10-13 17:55:38] Downloading update (123.469 of 252.482 KB)...
[2016-10-13 17:55:38] Downloading update (125.036 of 252.482 KB)...
[2016-10-13 17:55:38] Downloading update (126.722 of 252.482 KB)...
[2016-10-13 17:55:38] Downloading update (128.528 of 252.482 KB)...
[2016-10-13 17:55:39] Downloading update (130.176 of 252.482 KB)...
[2016-10-13 17:55:39] Downloading update (132.240 of 252.482 KB)...
[2016-10-13 17:55:39] Downloading update (134.112 of 252.482 KB)...
[2016-10-13 17:55:39] Downloading update (135.903 of 252.482 KB)...
[2016-10-13 17:55:40] Downloading update (137.752 of 252.482 KB)...
[2016-10-13 17:55:40] Downloading update (139.633 of 252.482 KB)...
[2016-10-13 17:55:40] Downloading update (141.155 of 252.482 KB)...
[2016-10-13 17:55:40] Downloading update (142.741 of 252.482 KB)...
[2016-10-13 17:55:41] Downloading update (144.385 of 252.482 KB)...
[2016-10-13 17:55:41] Downloading update (146.048 of 252.482 KB)...
[2016-10-13 17:55:41] Downloading update (147.676 of 252.482 KB)...
[2016-10-13 17:55:41] Downloading update (149.398 of 252.482 KB)...
[2016-10-13 17:55:42] Downloading update (151.055 of 252.482 KB)...
[2016-10-13 17:55:42] Downloading update (152.535 of 252.482 KB)...
[2016-10-13 17:55:42] Downloading update (153.842 of 252.482 KB)...
[2016-10-13 17:55:42] Downloading update (155.471 of 252.482 KB)...
[2016-10-13 17:55:43] Downloading update (157.158 of 252.482 KB)...
[2016-10-13 17:55:43] Downloading update (158.724 of 252.482 KB)...
[2016-10-13 17:55:43] Downloading update (160.221 of 252.482 KB)...
[2016-10-13 17:55:43] Downloading update (161.664 of 252.482 KB)...
[2016-10-13 17:55:44] Downloading update (163.449 of 252.482 KB)...
[2016-10-13 17:55:44] Downloading update (165.030 of 252.482 KB)...
[2016-10-13 17:55:44] Downloading update (166.750 of 252.482 KB)...
[2016-10-13 17:55:44] Downloading update (168.520 of 252.482 KB)...
[2016-10-13 17:55:45] Downloading update (170.320 of 252.482 KB)...
[2016-10-13 17:55:45] Downloading update (171.987 of 252.482 KB)...
[2016-10-13 17:55:45] Downloading update (173.657 of 252.482 KB)...
[2016-10-13 17:55:45] Downloading update (175.326 of 252.482 KB)...
[2016-10-13 17:55:46] Downloading update (176.975 of 252.482 KB)...
[2016-10-13 17:55:46] Downloading update (178.435 of 252.482 KB)...
[2016-10-13 17:55:46] Downloading update (180.031 of 252.482 KB)...
[2016-10-13 17:55:46] Downloading update (181.666 of 252.482 KB)...
[2016-10-13 17:55:47] Downloading update (183.160 of 252.482 KB)...
[2016-10-13 17:55:47] Downloading update (184.789 of 252.482 KB)...
[2016-10-13 17:55:47] Downloading update (186.029 of 252.482 KB)...
[2016-10-13 17:55:47] Downloading update (187.737 of 252.482 KB)...
[2016-10-13 17:55:48] Downloading update (188.964 of 252.482 KB)...
[2016-10-13 17:55:48] Downloading update (190.417 of 252.482 KB)...
[2016-10-13 17:55:48] Downloading update (191.814 of 252.482 KB)...
[2016-10-13 17:55:48] Downloading update (193.183 of 252.482 KB)...
[2016-10-13 17:55:49] Downloading update (194.586 of 252.482 KB)...
[2016-10-13 17:55:49] Downloading update (195.972 of 252.482 KB)...
[2016-10-13 17:55:49] Downloading update (197.407 of 252.482 KB)...
[2016-10-13 17:55:49] Downloading update (198.647 of 252.482 KB)...
[2016-10-13 17:55:50] Downloading update (200.038 of 252Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1.0)
.482 KB)...
[2016-10-13 17:55:50] Downloading update (201.300 of 252.482 KB)...
[2016-10-13 17:55:50] Downloading update (202.506 of 252.482 KB)...
[2016-10-13 17:55:50] Downloading update (203.731 of 252.482 KB)...
[2016-10-13 17:55:51] Downloading update (205.211 of 252.482 KB)...
[2016-10-13 17:55:51] Downloading update (206.598 of 252.482 KB)...
[2016-10-13 17:55:51] Downloading update (207.964 of 252.482 KB)...
[2016-10-13 17:55:51] Downloading update (209.265 of 252.482 KB)...
[2016-10-13 17:55:52] Downloading update (210.691 of 252.482 KB)...
[2016-10-13 17:55:52] Downloading update (212.091 of 252.482 KB)...
[2016-10-13 17:55:52] Downloading update (213.452 of 252.482 KB)...
[2016-10-13 17:55:52] Downloading update (214.854 of 252.482 KB)...
[2016-10-13 17:55:53] Downloading update (216.195 of 252.482 KB)...
[2016-10-13 17:55:53] Downloading update (217.459 of 252.482 KB)...
[2016-10-13 17:55:53] Downloading update (218.759 of 252.482 KB)...
[2016-10-13 17:55:53] Downloading update (220.040 of 252.482 KB)...
[2016-10-13 17:55:54] Downloading update (221.374 of 252.482 KB)...
[2016-10-13 17:55:54] Downloading update (222.797 of 252.482 KB)...
[2016-10-13 17:55:54] Downloading update (224.231 of 252.482 KB)...
[2016-10-13 17:55:54] Downloading update (225.698 of 252.482 KB)...
[2016-10-13 17:55:55] Downloading update (227.150 of 252.482 KB)...
[2016-10-13 17:55:55] Downloading update (228.616 of 252.482 KB)...
[2016-10-13 17:55:55] Downloading update (229.799 of 252.482 KB)...
[2016-10-13 17:55:55] Downloading update (231.005 of 252.482 KB)...
[2016-10-13 17:55:56] Downloading update (232.210 of 252.482 KB)...
[2016-10-13 17:55:56] Downloading update (233.359 of 252.482 KB)...
[2016-10-13 17:55:56] Downloading update (234.583 of 252.482 KB)...
[2016-10-13 17:55:56] Downloading update (235.935 of 252.482 KB)...
[2016-10-13 17:55:57] Downloading update (237.245 of 252.482 KB)...
[2016-10-13 17:55:57] Downloading update (238.600 of 252.482 KB)...
[2016-10-13 17:55:57] Downloading update (239.963 of 252.482 KB)...
[2016-10-13 17:55:57] Downloading update (241.372 of 252.482 KB)...
[2016-10-13 17:55:58] Downloading update (242.835 of 252.482 KB)...
[2016-10-13 17:55:58] Downloading update (244.184 of 252.482 KB)...
[2016-10-13 17:55:58] Downloading update (245.517 of 252.482 KB)...
[2016-10-13 17:55:58] Downloading update (246.980 of 252.482 KB)...
[2016-10-13 17:55:59] Downloading update (248.344 of 252.482 KB)...
[2016-10-13 17:55:59] Downloading update (249.020 of 252.482 KB)...
[2016-10-13 17:55:59] Downloading update (250.365 of 252.482 KB)...
[2016-10-13 17:56:00] Downloading update (251.209 of 252.482 KB)...
[2016-10-13 17:56:00] Downloading update (252.035 of 252.482 KB)...
[2016-10-13 17:56:00] Downloading update (252.482 of 252.482 KB)...
[2016-10-13 17:56:00] Download Complete.
[2016-10-13 17:56:00] uninstalled manifest found in /home/ronny/.local/share/Steam/package/steam_client_ubuntu12 (1).
[2016-10-13 17:56:00] Extracting package...
[2016-10-13 17:56:05] Installing update...
[2016-10-13 17:56:06] Cleaning up...
[2016-10-13 17:56:06] Update complete, launching...
[2016-10-13 17:56:06] Shutdown
Restarting Steam by request...
Running Steam on nixos 16.09.741.354fd37 64-bit
STEAM_RUNTIME has been set by the user to: /steamrt
Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
Error:
You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
Press enter to continue: ^C

finally a gui error about missing steamui.so

you graphic card might be relevant here.

current device has a bumblbeee on a lenovo W541

  hardware.opengl = {
    driSupport = true;
    driSupport32Bit = true;
  };

@FRidh that works fabulously - i believe the steam package does not warn of the missing settings
is there a reasonable way to make the wrapper error out or the build ?

I don't think it can be a Nix assert, since we won't be able to check for hardware.driSupport32Bit on non-NixOS systems. So we would have to add a check during the build but at the beginning. @abbradar would know

Yes, we could wrap it to add such a check for that path and barf with a somewhat useful message. good-first-bug

I'll keep it for some time in case some newcomer wants to tackle this (should be simple, indeed!). If nobody pickups this I'll do myself someday.

@abbradar i'd love to get a steak in this one, but i couldnt find relevant documentation/tools/examples

@RonnyPfannschmidt You'd need an application that you can run to test if 32-bit OpenGL works. I think you can use pkgsi686Linux.glxinfo.
With that you can write a wrapper script around steam that:

Runs glxinfo 2>/dev/null and checks its exit code;
Prints a good error message and exits if glxinfo failed;
execs Steam.

Place this to runScript in Steam's chrootenv.nix (use writeScript).

@abbradar Is using glxinfo a good strategy? We don't know if it's installed (wasn't on my system) - what should happen if it isn't?

I think the intention was to use direct reference to the executable, so it would get into closure...


Approximate Entropy Test always fails

While using the package, I noticed that the approximate entropy test fails in every case I tried. While this may happen due to non-random data, I would have expected at least the benchmark example to pass.
Comparing test_approximate_entropy.py line 76 with the original NIST specification, the code should be (math.log(2) - (phi_m[0] - phi_m[1])) rather than (math.log(2) - phi_m[0] - phi_m[1]) IMHO. Notice that the parentheses do change the meaning here because of the negative sign.

Thank you, I will fix.

Fixed as suggested. Thank you so much!


E-commerce spider: Add an extract parameter

I added a comprehensive end-to-end test for the crawl strategy part, which required switching from pytest-asyncio to pytest-twisted, which caused some scenarios of one of the existing test functions to fail with RuntimeError: await wasn't used with future, and I’m having a hard time figuring out why.

Found a solution.


Refinements to debuggin hours

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: leodido
If they are not already assigned, you can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: e3718a8bcff874be3d0060007127773918ac122f

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


If I'm using Mobx 4 for IE11 support, what's the latest version of mobx-react I should use?

Latest is fine. You can always check the peer dependency section in
package.json of mobx-react when you're not sure
Op vr 12 okt. 2018 18:44 schreef Sergio Tapia<EMAIL_ADDRESS>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react/issues/569, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhHMXK0peNn2xqWGhnixlzp-YQ4ZSks5ukMbdgaJpZM4XZ0Y5
.

Thank you @mweststrate


[OB-2975] fix: foundation Shutdown process

added initialisation check in tick to prevent tick operating when uninitialised (such as when shutting down)
added function to deregister all listeners to prevent events being fired after shutdown is called

connected-spaces-platform Pull Request
For the reviewer

[ ] If required, are the changes covered by appropriate tests?
[ ] Are any public-facing API changes well documented?
[ ] Is the code easily readable and extensible and/or follow existing conventions?

@MAG-AW worth adding a test that CSP gracefully handles cases now where tick is called when CSP is uninitialized?


net: http: Improve HTTP_USER_AGENT version number

Signed-off-by: Ding Tao<EMAIL_ADDRESS>

Looks good, please squash 2 commits into 1.

Why there should be a distinction between HTTP and HTTPS in the user agent header?

Well, I'm just wondering how the device gonna do while received a 302 redirection to a HTTPs URL.
The web server can check the user agent head field, to determine which URL (HTTP or HTTPs) should response with status 302.
I've read the code of http_client.c, it seems the device did not support for 302 redirection auto connect to the URL within Location field. Using the kernel version at user agent head may useful for web server to determine witch features are supported by the device, 302 redirection for example.

This won't distinguish between the HTTPS or the HTTP version on a redirect. It's always going to use the HTTPS one if TLS is built in, and the HTTP one if not.  The server should perform the redirect based on the port the client connected to (80 vs 443), not the user agent.  Most of the time, the user agent string is useless and should be ignored by the server.


Bootrstrap modals?

Anyone have 4.0 working in Bootstrap modals?  It is probably a css issue, but seeing as how popular bootstrap is I'm sure this would apply to quite a lot of people.
The funny thing is this works in IE 11, but not the latest Firefox, Chrome, or Safari - https://jsfiddle.net/u5n590cq/6/

Duplicate of https://github.com/select2/select2/issues/600, works at https://jsfiddle.net/u5n590cq/7/.


aks get-credentials non-interactive Instructions are a bit unclear

The non-interactive instructions on this page are linked to from SEO as well as error messages, but they are a bit unclear on what needs to happen. The clarifying notes have a bit of extraneous information and I think an example would be more productive. If you follow them at face value, it will actually set you up for an interactive login via device-code.
It would be nice to add the following example that illustrates a common use-case for the Azure-CLI az devops task.
#!/bin/bash
set -e

cluster=$1
resource_group=$2

# Install Kubelogin
# **Note** Requires `asdf` for tool management
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.12.0
. "$HOME/.asdf/asdf.sh"
asdf plugin add kubelogin
asdf install kubelogin latest
asdf global kubelogin latest

# Get Cluster Credentials
az aks get-credentials --name $cluster --resource-group $resource_group

# Convert credentials for az-cli
# **Note** The context for this script is the Azure DevOps Pipelines AzCli@2 Task
# But the following could also be: `~/.kube/config`
export KUBECONFIG=/home/vsts/.kube/config
kubelogin convert-kubeconfig -l azurecli

kubectl get nodes

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

ID: 0edc2c1c-7504-0c03-4d90-ff3270b5136b
Version Independent ID: 5ae58a63-a08b-bf15-a017-bbc1031cd793
Content: AKS-managed Azure Active Directory integration - Azure Kubernetes Service
Content Source: articles/aks/managed-azure-ad.md
Service: azure-kubernetes-service
GitHub Login: @MGoedtel
Microsoft Alias: miwithro

@juliusl
Thanks for your feedback! We will investigate and update as appropriate.

@juliusl
Thanks for your contribution and Suggestion. Please add your ideas in below link, so our production team can review it and update the same.
Ideas · Community (azure.com)


⚠ Bofrost.be has degraded performance

In 46efbbc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2058 ms

Resolved: Bofrost.be performance has improved in 5efe91c after 7 minutes.


Improve documentation

Hi there!
I'm enjoying Elli after switching a couple projects to it from Cowboy.
My main problem has been lack of documentation, for example I needed to read the source code to determine how to use middleware (and I feel I'm still missing many of the details).
I feel this results in Elli being less accessible and less likely to be used, especially to people who are more used to Elixir rather than Erlang. Could we improve the docs? Perhaps include a series of examples in the README?
I'd be happy to help here.
Cheers,
Louis

Hi,
you totally right! we need more examples and use-cases. Personally I don't have much time for this unfortunately. But if you decide to contribute I'll be happy to discuss and merge.

Cool. Where would you like me to put them?

I think starting with extending REAME would be good enough. complete app(s) can go to a separate directory.

I wouldn't mind a separate elli-lib repo even.

Hi @yurrriq, could you make an elli-example repo please? I'll make a pull request there afterwards :)

https://github.com/elli-lib/elli-example

examples would be better than example unless we only want one example per repo.
I was imagining many small ones in there for users to read without getting lost in a big app

Also this seems to hand been closed prematurely, the documentation is still very sparse.

Thanks @deadtrickster ! :)

Me again, sorry. I don't seem to be able to make a PR until there is a first commit. Could you perhaps make a commit with an empty README or such?

@lpil looks like there is one now.
Also, we should publish docs to hex. I'm fine putting all docs in edoc stuff and publishing to hex for everything, but we could also consider something like readme.io.

Aye, I've made some PRs since :)
Documentation on hexdocs would be fantastic from my point of view

Hmm.. looks like something's gone wrong with the last couple times publishing to hexdocs. Not my wheelhouse, though I'd be happy to look into it. Ideally we can fix this for 4.0

@lpil, a bit late to the party, but... is that repo. enough for what you envisioned? (I know you're busy with other stuff) I was just wondering if there's the need to update in the scope of this issue, or it could be closed (?) The one I linked doesn't solve all issues, of course, it just moves to ex_doc 😄

I'm sorry but I've not given this any thought in recent years!


Awake context menu shows up in the wrong location

Description of the new feature / enhancement
I use a vertical Taskbar. The fly-outs for Awake end up on different screens...! Easier to put all the choices in one box
Scenario when this would be used?
All the time
Supporting information
No response

Thanks for responding.
My setup is: Win 10 with two screens -"1" is 19201080 with the taskbar on
the left (vertical). "2" is 16801050
a further suggestion: change the icon colour depending on the Mode ...?
Many thanks,
Peter Draper
:
On Fri, 18 Mar 2022 at 18:48, Den Delimarsky @.***>
wrote:

@peterania https://github.com/peterania - I am assuming you are talking
about the tray? What OS version are you using? What is the screen
resolution + DPI setting, and how many screens are you using?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/16723#issuecomment-1072650278,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYA6AF574T3R6GIYJKXU5RTVAS6XFANCNFSM5PXZ6A6Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

This should now be addressed in the latest version of the PowerToys release.


OneSignal is not working with Admob plugin in phonegap build

Hello,
OneSignal is not working with Admob plugin in phonegap build .But it both work successfulyy separate.
OneSignal-Cordova-Example-mastertest.zip
Issue :same player id is getting for each installation(and this playerid is not valid).But after removing admob plugin we get different player id for each instalation.please helpppppppp

this issue in phonegap ios

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


LDAP Support

It would be great to hook the users into LDAP instead of managing an additional user base from scratch.

1

+1

What's the status of this feature request? LDAP integration support is a must for me...Thanks~

+1


Adding IPv6 tip

Is the debug-containerhost.ps1 script checking for IPv6 already? Otherwise adding thos check would be very helpful.

LGTM

@StefanScherer  - we could indeed add that test to the Debug-ContainerHost.ps1 script. @kallie-b  - can you take a look at doing this?

@scooley -- I thought I merged this but I'm not seeing the update on the live docs. Did I do something wrong here?

@PatrickLang Looks like Sarah is out--perhaps you know why my merge isn't appearing in the live doc?

live isn't actually live. There's one more step in the publishing system that appears to be broken that pulls changes from live to its private repo before rendering. I'll see if I can wake it back up

Okay, thanks :)


[Skeleton] New component

Preview: https://deploy-preview-16786--material-ui.netlify.com/components/skeleton/
~A one hour POC, would it make sense to complete it?~ It should be mostly done.

What do you think about having the demos transition from loading to loaded?

@mbrookes I have updated the description to relate some of the design approaches.
I have seen people demonstrate the skeleton in different ways. I like the current balance between: it's relatively stable, it doesn't blink and there is a clear visualization of the two different states. Now, we do miss one thing, developers don't get the full experience their users will have. The demos also take more space than they could.
Did you have a switch in mind?

I haven't benchmarked it thoroughly, but:
CloudAcademy: cut
LinkedIn: cut
Reddit: cut
It seems like just cutting is the preferred method, win contrast to image loaders. It doesn't make for a very compelling demo, I admit.

What do you mean by "cut"?

Sorry, video production terminology (past history!). The real component replaces the placeholder with no transition. It "cuts" from one to the other.

@mbrookes Oh yes, I think that most implementations cut. It could be an advantage of approach n°3, it makes the implementation of a transition possible.

@oliviertassinari Nice work!

This is amazing, and something we are currently doing manually in our app.
I think 2 and three are both good, as the usage will usually be around some ternary that says:
loading ? <LoadingComponent /> : <Component />
or
<Component skeleton={loading} />


[WIP] Fix Social Security Calibration

This PR fixes the calibration of the theta parameter, which determines the social security replacement rate.
@rickecon and @kerkphil - can you take a look at the tax.replacement_rate_vals() function to see if this approach to calibrating theta seems right?
This PR is a work in progress because with the current calibration of theta, the model is able to find a solution for the case of per period balanced budgets, but can only solve of the SS (not the TP) when the budget is unbalanced.  I'm not sure of why this is, but the TPI cycles and does not converge.

@jdebacker , @rickecon - the code looks good to me.  I'm trying to remember what the replacement rate is conceptually in the model.  From the code we have: PIA = theta * AIME / LifetimeEffectiveLabor.  Why do we need the lifetime effective labor adjustment?

@kerkphil I think the main change in the way theta is calculated now is that the AIME is based on the last 35 years of earnings.  But there is also a change in how the PIA theta are computed that better follows my understanding of the law.  In particular, given that the PIA is the insurance amount, this line of code:
theta = PIA * (e * nssmat).mean(0) / AIME
Didn't make sense to me.   Currently we are doing:
theta = (PIA*(12.0*S/80)) / (factor_ss*wss)
Which taxes the PIA, turns it from a monthly amount to an annual amount.  It then transforms it from dollars to model units via the division by the factor.  The wage rate in the denominator is because benefits adjusted by wage growth, so we scale by wages.  When we put benefits into the budget of model households, we do theta*w.

@jdebacker OK, I looked at the old code.  Let me look at the PR code, but your explanation of theta makes a lot more sense to me.

@jdebacker Yes, this code looks better to me.  One issue, is AIME based on the past 35 years of wages or the 35*12 highest months of adjusted wages over the workers whole lifetime?  My impression was the latter.

@kerkphil - yes, you are right that it's the highest 35 years.  Thinking more about it - that's something we should be able to do.  Let me update the PR to reflect that.

@jdebacker Since we are looking at the steady state values, the highest 35 years of wages are probably the 35 years immediately before retirement anyway, so it may not make that much difference.  However, if it's not too difficult it would be best to recode, just to be safe.

TPI not seems to converge (not cycling).  Two updates helped with this:

Better initial guesses
A smoother transition path for government spending.

Fiscal parameters are now updated per discussion in Issue #254.
Removing WIP.

Merging.  Will address further fiscal calibration issues in another PR.


loading manifest.json file

Context
While trying to load the file of the manifest.json in the Extension section i.e.
while trying to "Load unpacked", and when trying to find the manifest.json file in the folder which is containing the mainfest.json file, it is not visible.

this image shows that the file does exist

but when I try to open Load Unpacked the "manifest.json" file it is not visible over here.
Todos
When trying to Load Unpacked the "manifest.json" file show be visible which in this case is not visible.

Hi, you need to build the extension with pnpm dev chrome and then load unpacked from the generated dev/chrome folder.

@Maulik-darji Did you get a chance to check if you had same error after https://github.com/interledger/web-monetization-extension/issues/659#issuecomment-2408984184?

Also note that Chrome requires you selecting top-level folder that contains manifest.json, the file picker won't show you individual files (only folders).

Please reopen if issue persists.


Develop Topic

We need to develop an idea for using two APIs.
We would like to pair a location API (IP Location, IN Address Details,  IP Sidekick, IP Vigilante) with another API
OR
We would like to use Moment with two APIs.

We developed an idea that will pair a meal with a cocktail. We will use the MealDB API and the CocktailDB API.


Automate usage of Solidity prettier plugin

What does this pull request do? Explain your changes. (required)

Adds automation in the repo for the usage of the Solidity prettier plugin. I also ran prettier on the contracts to re-format some recently added coded.
Specific updates (required)

Use the prettier plugin (by installing solhint-prettier-plugin and updating .solhint.json) for solhint so that whenever solhint is run prettier formatting rules are applied as well
Add a prepare script in package.json to run husky install so that the pre-commit and post-commit hooks are automatically installed after running yarn. Previously, the pre-commit hook that runs yarn lint was not automatically installed so the hook did not fire before each commit
Add install and test steps in the README

How did you test each of these updates (required)

Tested manually.
Does this pull request close any open issues?

N/A
Checklist:

[x] README and other documentation updated
[x] All tests using yarn test pass

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
129

Relevant Lines:
129

💛  - Coveralls


toExist() not working correctly on Android

Describe the bug
When having a FlatList with a few elements horizontally that have to be scrolled through in order to see each of them, using the toExist() expectation for one of the images/elements invisible in the list doesn't work on Android. The same with attempting to scroll to the element using the whileElement().scroll(), it returns the element not visible exception.
To Reproduce
Steps to reproduce:

Have an app with a FlatList containing several elements horizontally
Put individual IDs on each of them and use the toExist() function on Android for one of the invisible elements
Use the whileElement().scroll() function to attempt to scroll to the last element in the list
Run the same tests on iOS and see them passing

Expected behavior
Tests pass and Detox scrolls on the second second test on Android
Environment:

Detox: 16.3.0
React Native: 0.62.2
Node: 14.0.0
Device: iPhone 11
Xcode: 11.4.1
iOS: 13.4.1

It makes sense the element doesn’t exist. Flat list uses virtualization, and views are created on demand. While/scroll is a different matter, and should scroll the list until the view exists/visible.

On iOS it successfully expects all the elements in the list to exist, not Android.
And yes, the issue is the same when using the while/scroll. Perhaps it's expecting it to exist before scrolling?

Maybe virtualization is somehow disabled on iOS.

In that case the issue could be with while/scroll

I can confirm that while / scroll does work as intended in iOS but doesn't on Android as it requires the element to exist

@d4vidi @rotemmiz

@j320 we would very much appreciate it if you try to use Android Studio's layout inspector in order to see whether in the use case you described the element does indeed exist or not,

But while/scroll should work regardless if the element exists or not, it should scroll until the element is found.

@j320 I agree regarding while/scroll, but still trying to understand whether the bug is associated with a free-standing toExist() or not. Regardless of the result, thanks for reporting this!

I confirm that Android Studio layout inspector doesn't display the non-visible elements in the Flat list, while Xcode does for iOS.

Great - so to be concise, there seems to be an issue with while/scroll on Android. I would appreciate a better specification of the problem, however, as in essence, this is a use case that is commonly tested by Detox' own test suite.

We don’t have FlatList in the Detox suite.

Right, thanks for refreshing my memory - it's just a set of linearly placed items.

I think the problem is as follows:
FlatList doesn’t create all of its items (potentially 1000s)
Detox is supposed to scroll the list until the item appears
On Android, Detox fails to scroll because it doesn’t find the element in the hierarchy
The fix should be for Detox to attempt the scroll action even if the item doesn’t exist.

Has this been looked at?

This doesn't reproduce for me. @j320 Can you please check and reopen this issue if it's still relevant?
I've tested with the following layout/test case both where listBackroundImage-5 is/is not the last element, and the test passes:
<FlatList
testID="listBackground"
horizontal
keyExtractor={image => image.name}
data={newImages}
renderItem={({ item, index }) => {
return (
<Image
style={{ width: 450, height: 350 }}
source={item.imagePath}
testID={listBackgroundImage-${index}}
/>
);
}}
/>
it('Attempt to scroll to element', async () => {
await waitFor(element(by.id('listBackgroundImage-5')))
.toExist()
.whileElement(by.id('listBackground'))
.scroll(50, 'right');


Upload RPM to artifactory

Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Following PR will do the spec with separate json files.


Add docs requirements

This adds a requirements.txt to help ReadTheDocs build the package documentation. The life site for this branch can be seen here: https://neuralcompression.readthedocs.io/en/mmuckley-add_docs_requirements/

All comments should be resolved.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_838cuy1b8n/clone/recipe/meta.yaml:1: patch_must_be_in_build: patch must be in build when source/patches is set.
ERROR: /tmp/abs_838cuy1b8n/clone/recipe/meta.yaml:23: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_838cuy1b8n/clone/recipe/meta.yaml:28: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_838cuy1b8n/clone/recipe/meta.yaml:31: python_build_tool_in_run: The python build tool setuptools is in run depends
ERROR: /tmp/abs_838cuy1b8n/clone/recipe/meta.yaml:70: http_url: http://pythonhosted.org/pybtex/ is not https
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_1592jz1xkm/clone/recipe/meta.yaml:1: patch_must_be_in_build: patch must be in build when source/patches is set.
ERROR: /tmp/abs_1592jz1xkm/clone/recipe/meta.yaml:23: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_1592jz1xkm/clone/recipe/meta.yaml:28: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_1592jz1xkm/clone/recipe/meta.yaml:31: python_build_tool_in_run: The python build tool setuptools is in run depends
ERROR: /tmp/abs_1592jz1xkm/clone/recipe/meta.yaml:70: http_url: http://pythonhosted.org/pybtex/ is not https
Errors were found


AssertionError in vertex calculation

The following program throws an AssertionError (if run with -enableassertions) in the vertex invocation:
import cds.healpix.CompassPoint;
import cds.healpix.Healpix;
import cds.healpix.VerticesAndPathComputer;

public class Vert {
    public static void main( String[] args ) {
        int order = 4;
        int hash = 87;
        CompassPoint.Cardinal cardinal = CompassPoint.Cardinal.N;
        VerticesAndPathComputer vc = Healpix.getNestedFast(order);
        double[] lonlat = vc.vertex(hash, cardinal);
        System.out.println(lonlat[0] + ", " + lonlat[1]);
    }
}

Further: if called with order = 1, hash = 3 and assertions disabled, then lonlat[0] is NaN.  Using getNested instead of getNestedFast seems to be OK.

Indeed, HealpixNestedFast.vertex was bugged. Thank you for the report.
I have added a test to cross-check HealpixNested.vertex with HealpixNestedFast.vertex.


[PAGE ISSUE]: 'Manage plugins and dependencies in add-to-app'

Page URL
https://docs.flutter.dev/add-to-app/android/plugin-setup/
Page source
https://github.com/flutter/website/tree/main/src/content/add-to-app/android/plugin-setup.md
Describe the problem
in this page it descripes the dependencies section existing in the /android/build.gradle inside buildscripts
but that section does no longer exist it's moved to settings.gradle ? i guess i don't understand yet and am stock at this problem how to add what used to be added to that section now ???
Expected fix
it should be fixed by providing the way of how to add things that are used to be added to /android/build.gradle
buildscripts{dependencies:{}} section that is no longer exist
Additional context
No response
I would like to fix this problem.

[ ] I will try and fix this problem on docs.flutter.dev.

@Ottovonbismark1 Perhaps this is related to breaking change Deprecated imperative apply of Flutter's Gradle plugins that you can check to see if it helps.


[WIP] Improve performance charts

Based on #41, make changes at provider level so performance charts reflect the data that was actually captured.

Example of VM performance chart (with CPU %)

Backported to najdorf in commit 6ae4515c3e2a7fd34329034663dfb9620336d979.
commit 6ae4515c3e2a7fd34329034663dfb9620336d979
Author: Adam Grare<EMAIL_ADDRESS>Date:   Wed Apr 27 12:46:45 2022 -0400

    Merge pull request #54 from vfebvre/metrics_ui

    [WIP] Improve performance charts

    (cherry picked from commit a4b70d9ce460d632afccf120268be465fbbe83a2)


Memory leak fix & more sanitization in tests

Fixes #268.
Adds a basic check for leaked Service (and thus Resource) instances to the test suite.
Enables assorted Xcode sanitization options in tests.
Fixes several unimportant but now-detected leaks & thread issues in the tests.

Hey @pcantrell!  Thanks so much for jumping on this.  I'm planning to release a new version of my app this week, and I had included 1.4.0 in it.  Would you recommend using memory_leak, or do you plan on getting a new version of Siesta released shortly (Travis issues?)?  Is there anything I can do to help?

I'm trying to setup Siesta so I can build and run the tests on my local machine, but I'm unable to get Carthage to compile Nocilla, I'm getting the following error:
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/woodj/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/Nocilla/bd7ec7caa0576f08c00bbbf993a9204f93be16e3

Build settings from command line:
    CARTHAGE = YES
    CODE_SIGN_IDENTITY =
    CODE_SIGNING_REQUIRED = NO
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = appletvsimulator11.4

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:tvOS Simulator, id:ECE73D0A-02FC-4B82-A5CA-FF2A9EBD7C09 }

	Ineligible destinations for the "Nocilla tvOS" scheme:
		{ platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Generic tvOS Device }
		{ platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Generic tvOS Simulator Device }
^C
Davids-Mac-mini:~ woodj$ tail /var/folders/d5/ntx8rq7n05j1_0z1hbk7y09c0000gp/T/carthage-xcodebuild.0f0cUH.log
    CODE_SIGNING_REQUIRED = NO
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = appletvsimulator11.4

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:tvOS Simulator, id:ECE73D0A-02FC-4B82-A5CA-FF2A9EBD7C09 }

	Ineligible destinations for the "Nocilla tvOS" scheme:
		{ platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Generic tvOS Device }
		{ platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Generic tvOS Simulator Device }

If I'm reading that right, it wants a tvOS simulator which is version 11.4, but since I'm not yet on Xcode 10, I only have access to devices up to 11.3.  Any suggestions on how to fix?

I'm planning to release a new version of my app this week, and I had included 1.4.0 in it. Would you recommend using memory_leak, or do you plan on getting a new version of Siesta released shortly (Travis issues?)? Is there anything I can do to help?

I expect that the memory_leak branch should be safe, but I’d love to see it pass CI before I say that with confidence. I’d happily welcome any additional detective work on this!
This PR’s new leak check in the tests is flagging leaks with the Alamofire provider. The problem is puzzling, and I haven't yet figured out whether the problem is real, or whether Alamofire just delays cleanup of its requests in a way that trips the test but is actually harmless.
If you want to take a look and puzzle over it, run the tests with the env var Siesta_TestMultipleNetworkProviders set to something nonempty. (I do this locally by manually changing the value to 1 in Edit Scheme → Test → Arguments.) You’ll know the flag is working if you see >1000 tests run instead of the usual 300-something.
You can see the AF issue in the Siesta macOS target, which runs much faster than the others because it doesn’t require a simulator.
The check that’s failing just keeps a weak ref to each test case’s Service, then checks that it’s nil at the end of the test. (This also catches Resource and Request leaks, since both of those ultimately retain their associated Service.) The interesting detail: it looks like each test case’s service gets cleaned up during the next test case. My suspicion is that AF does an additional something or other with each request that Siesta just isn’t waiting for.

I'm trying to setup Siesta so I can build and run the tests on my local machine, but I'm unable to get Carthage to compile Nocilla, I'm getting the following error: … If I'm reading that right, it wants a tvOS simulator which is version 11.4, but since I'm not yet on Xcode 10, I only have access to devices up to 11.3. Any suggestions on how to fix?

Could you open a separate issue for this? Then we can tag in the kind person who contributed the tvOS support.

Update: my current working theory is that AF is relying on autorelease for cleanup, and the autorelease pool doesn’t get drained until after my afterEach block that checks for leaks.

Yes, confirmed: at least some of the tests pass with Alamofire if each spec is wrapped in autoreleasepool { … }.
The problem now is that AFAICT, Quick doesn’t provide any sort of aroundEach facility that we could use to automatically wrap each test in an autoreleasepool { … }, and ARC doesn’t allow us to manually create and drain an autorelease pool in a way that Quick’s beforeEach and afterEach would support.
I have to dash off, and will be on other tasks most of the rest of the day. @jordanpwood, if you have some time today, you could help by investigating whether it’s possible to control autorelease pools with Quick. We need some way to make sure that each spec created during this call gets wrapped in its own pool, and that the pool is drained before the leak-checking block runs. The solution I’d want, but don’t know if Quick supports, would look like this:
aroundEach
    {
    spec in
    autoreleasepool
        { spec() } // (1)
    }

afterEach
    {
    // (2) …check for leaks here…
    }

…so that the order of execution is:
// (1) pool created
// spec runs
// (1) pool drained
// (2) leak check runs
// (1) pool created
// spec runs
// (1) pool drained
// (2) leak check runs
etc.

It's almost passing the tests, are those leaked services real, or is it more test artifacts?

Phew, passed!
It was test artifacts, it seems — though establishing that and working around them took some finagling. The general flavor of all these leak-checking issues is that between Siesta, URLSession, and Alamofire, there’s a lot of deferred cleanup, and some of it is timing-sensitive. I hacked around it by adding a very forgive progressive delay-and-retry loop before we confirm the leak.
The good news is that the wait-and-rety appears to also take care of the nasty Travis issues that the unpleasant DelayAfterEachSpec flag was working around. Appears to. Without that delay, the specs run a bit faster on CI.


Join forces with an existing wiki engine?

Good to see a wiki developed in Node, but sad to see it didn't get much traction.
Would it make sense to join forces with one of the more popular and active projects? The top three are Jingo, openKB and Hazel.
Thanks!

@dandv thanks for the links :)
this was primarily intended to show how to make a wiki app from basics for a web development workshop.


Accessing D1 raw()'s non-existent element returns a function

Firstly thanks for your great work.
It seems if I access an index-out-of-bound element in the returned array of raw(), it returns a function rather than undefined:
const stmt = binding<D1Database>('D1').prepare(
	'SELECT author, post_slug FROM comments LIMIT 0',
);

const raw = await stmt.raw();
expect(raw[0]).toBeUndefined(); // AssertionError: expected [Function] to be undefined

The raw[0] function seems to be pointing to here: https://github.com/james-elicx/cf-bindings-proxy/blob/a19f37277a742ff9333675c8d0af977a2c822dc9/src/proxy.ts#L68-L72
Drizzle ORM checks if there is a row in the returned result by checking if raw[0] is truthy. Because of this issue, Drizzle will return an object with every field set to undefined instead: https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-orm/src/d1/session.ts#L139-L141

Hey there, thanks for raising this. I've just added a fix and it is included in the latest release (v0.2.4).

Works like a charm! Thank you so much for such a speedy response!


Incorrect error message and/or lack of support for DB toggling/changing

Steps to reproduce

Configure a service without the db: option in the rethink options and you will get the error

You must provide either an instance of r that is preconfigured with a db, or a provide options.db.
However if you specify the options.db in the service config as the error above states, it still does not work:
app.use('messages', service({
      Model: r,
      db: 'test',
      name: 'messages',
      paginate: {
        default: 25,
        max: 250
      }
    }))

You still get the same error. If you specify the db in the rethink conifg, it works but that does not provide any way to change to DB 'on the fly'.
Expected behavior
Should be able to change the DB somehow. You can run with 2 (or more) rethink pools (we think) on models with different names, but that seems like wasted resource and redundant code. Or at a minimum, the error above should be changed so others do not spend time trying something that will not work. The code only ever checks for a db from rethinkdbdash and nothing else ...
// Make sure the user connected a database before creating the service.
    if (!options.r._poolMaster._options.db) {
      throw new Error('You must provide either an instance of r that is preconfigured with a db, or a provide options.db.');
    }
...
let db = this.options.r._poolMaster._options.db;
...

Actual behavior
You can only really use ONE rethink DB, which is not practical in many real applications with distributed data (or our use case where some data comes from a common DB, but other data comes from a DB specific to the users org). We could use multiple models with different names (we think), but that allocates pools for each one which seems like resource overkill and results in duplicate code to a large degree. You can also currently specify the db in the .run() for rethink without specifying it in the config first (outside of the Feathers service) e.g.:
return r.db('test').tableList().contains('messages')
      .do(tableExists => r.branch( tableExists, {created: 0},
          r.tableCreate('messages'))).run();

... and that works fine but in the Feathers rethink based services the run is not exposed directly. So, there doesn't seem to be any practical way to change or specify the DB for service calls. We also looked into the populate hook and while it can meet the same need the same way (multiple pools) - it does not solve the root issue.
System configuration
Latest Feathers, rethink, rethinkdbdash via npm

I think we can remove that error message unless there is still a reason @marshallswain had it added for.

So we don't get a way to change databases?

I'm not sure what that exactly changing databases means. I think the problem is that you have to pass options.Model + options.name instead of just an options.table so we could makek that possible although you already can change app.service('rethinkservice').table at any time after initialization and the adapter will then use that.

I put an example of chaging DB (not table) above outside of a Feathers service and still using rethinkdbdash. How can one pass the db to run () within a Feathers service?
If options db: was supported in the service options (like the error indicates), that would be possible. However, the service provider would also have to be modified to pass it on all the calls...
PSEUDO CODE:
Current:
r.table ('mytbl').run ();

New with default specified in model or 'test' if not:
r.db ('dbfrommodel').table ('namefromsvcopts').run ();

New with db from svc opts:
r.db ('dbfromsvcopts').table ('namefromsvcopts').run ();

It could also be passed as:
app.service('mysvc').db

Maybe we're not quite being clear here, so I'll try to explain our perspective a bit better:
If we have Feathers service mysvc with a model linked to DATABASE_A and a feathers service name option linked to table mytable (feathers service 101), everything is fine and we can just start making service calls.
If we then want/need to make some calls to some table(s) inanother database DATABASE_B (assume it's on the same rethink server), we can currently only see two options:

Create a second rethinkdbdash instance r2 or whatever. which is identical to the existing instance except for the db: option. This seems like a lot of redundant code (same rethink host, port, ssl cert, etc) and add an additional connection pool (or we could set pool to false, but still). All that just to change the db for one or more service calls seems like a lot of overhead to do something that should be simple. It does work however.

Make raw calls to the rethinkdbdash driver:

r.db('DATABASE_B').table(mytable).run()

...again this works but basically means we have to write/mimic all the existing service calls and their implementations in raw rethinkdbdash calls for each set of queries to any alternate database. That results in even more code to write/maintain then #1 above and largely defeats the point of using Feathers services - which by the way we LOVE so far aside from this issue - as the foundation in the first place.
We also get that a default db must be specified to make the pool/connection is rethinkdbdash (or test will be used if none is passed in).
We don't get why:

db() is not just passed to run() on EVERY rethink service call (even if not required) along with table(). The db()'s value would normally just be the model's db (default) unless overridden is the Feathers service options as proposed below.
Then to have a service use a database then the default model one seems as simple as just specifying it along with table name in the service options:

// model
const r = rethink({
  db: 'DATABASE_A',
  user: process.env.RDB_USER,
  password: process.env.RDB_PASS,
  host: process.env.RDB_HOST,
  port: process.env.RDB_PORT,
...
});

/*** USE DEFAULT DB FROM MODEL (or 'test' if noen specified in rethindbdash options) ***/
// service passes r.db('DATABASE_A).table('things')... to rethinkdbdash
app.use('mysvc', service({
      Model: r,
      name: 'things', //table
      paginate: {
        default: 25,
        max: 250
      }
}));

/*** USE ALTERNATE DB WITH SAME MODEL***/
// service passes r.db('DATABASE_B).table('other_things')... to rethinkdbdash
app.use('myothersvc', service({
      db: 'DATABASE_B',  /*** NEW DB OPTION ***/
      Model: r, // same model
      name: 'other_things', //DATABASE B table
      paginate: {
        default: 25,
        max: 250
      }
}));

Then all standard service calls to myothersvc should just work without devs having to do anything extra short of passing the db option in the service config. It would also make the error above applicable, which by it's existence likely means that whoever wrote the code was probably thinking along these same lines at some point.
Does this makes more sense now and are we missing something obvious (and hopefully as simple) that allows us to do something like this already? We're still committed to continuing to use Feathers no matter what, but this is a huge deal for us because about 1/2 our queries are from a common database and the rest are from a database specific to the users org for the current calendar year so we have a lot of database flux.
If what we're proposing/asking cannot be done, we'll try to find another way to meet the same need if one does not already exist but trust us when we say we have scoured the docs an internet for hours if not days to no avail thus far short of the painful ways mentioned above.

Wouldn't this be most easily solved by passing the table as the model (instead of db + name)?

You lost me... maybe some brief code to show what you mean? How does passing a table equate to an alternate database? Or do you mean fully qualified table for name in the service options?

although you already can change app.service('rethinkservice').table at any time after initialization and the adapter will then use that...

One issue with that is when the db/table need to be created during initialization.  The pull request address that, keeps things exactly the same as they are now if any of this is not needed, and seems fairly straight forward (works the way rethinkdbdash does outside of Feathers), so why would we not want this capability?
If we cannot get this or a usable answer to creating and using and alternate db, we may have to abandon Feathers JS. I'd hate to have to do that, but we're running out of time to come up with a usable answer for this.

@genyded I believe merging your PR fixed both problems mentioned in this issue.  Please reopen if we missed something.


Use numeric values when serializing WKS RRs

See description in rdata.c

I'll also update the description in src/generic/wks.h (which is already quite extensive).


Update Kubernetes version to fix a bug

https://github.com/kubernetes/kubernetes/pull/50176.

And also ref https://github.com/kubernetes-incubator/cri-containerd/issues/117, which we could only do after updating Kubernetes.

Done in https://github.com/kubernetes-incubator/cri-containerd/pull/148. Close this one.


use spread instead of object.assign

hi i saw in the recent release you have added back object.assign,
since now we have support for ... spread operator. may be you or even i can add it.

@Peripona, you can make a PR and we'll check it. 👍


Add "triangle" plot

Let's make it square. :)
In this PR, I add a plot that compares our model with the best model (where best is the one that minimizes RMSEs). Errors are reported in terms of median RMSE

My understanding of the spirit of the triangle plot is to visually compare various models, so I thought that having the best model was important. As for the triangles, what I can easily do is make them squares. That is, condense all the squares I have now as sub-squares of one square (instead of sub triangles of one square). Making triangles would add more more code.
…
On Mon, Jun 3, 2024, 6:55 AM Zhaoyi Shen @.> wrote: @.* approved this pull request. Looks good to me, thanks! Maybe we can get rid of the best model to make the plot less busy? Would it be hard to do the actual triangle plot (we don't need to do it now)? — Reply to this email directly, view it on GitHub <#831 (review)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF6E7OTZCNUDEJNNC2FOC3ZFRYW5AVCNFSM6AAAAABITTV4S6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAOJTHE2TENZXGU . You are receiving this because you authored the thread.Message ID: @.***>

Sounds good, let's keep the best model. And let's move to sub-squares once we have more variables (unless it's very easy to do).


Defining CC and CXX causes confusion

The go activate script defines CC and CXX with no real path values:
https://github.com/conda-forge/go-feedstock/blob/8b4833c2d4ca17efab0e7890e5d9fd097eb34f45/recipe/activate-go-nocgo.sh#L8
This breaks building many (non-go) software libraries that look for CC and CXX values to contain paths to C and C++ compilers.
If go needs to force the user to certain behavior, it shouldn't do that at the expense of confusion. Perhaps defining
export CC=
export CXX=

would be more appropriate?
Or use CGO_CC, CGO_CXX and leave CC and CXX alone?

I would suggest that it is incorrect for the go activation script to introduce CC and CXX at all.  Conda users may well be using go for some purpose unrelated to go development or such.  Setting CC and CXX can break other common systems (cmake, for example) that are trying to build software in an environment containing the go package.

I would suggest that it is incorrect for the go activation script to introduce CC and CXX at all. Conda users may well be using go for some purpose unrelated to go development or such. Setting CC and CXX can break other common systems (cmake, for example) that are trying to build software in an environment containing the go package.

It is exactly what just happened to me. I'm trying to reproduce jupyter notebooks (to extend this paper: http://www.ic.uff.br/~leomurta/papers/pimentel2019a.pdf) and I realized that some notebooks were calling Go. After using conda to install Go, every python package that attempted to compile C code failed to install.

PRs welcome!

Looking back at it, I would start by splitting the compiler logic (needed by conda-build) from the base go package (used mostly by end-users)
I think I documented these as github issues before I became extremely consumed with my current day job.

On Jul 17, 2019, at 2:40 PM, Anthony Scopatz<EMAIL_ADDRESS>wrote:
PRs welcome!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Got hit by this issue again:
/home/pearu/mconda3/conda-bld/omniscidb-cuda_1570539671495/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/etc/conda/activate.d/nvcc_linux-64_activate.sh: line 46: /use/the/cgo/conda/package/instead: No such file or directory

@sodre, would you be open to a short term solution like what @pearu originally proposed? It sounds like the more correct solution may take more collective bandwidth than we have ATM. WDYT?

@jakirkham, I am basically done with the split, see conda-forge/staged-recipes#9470, conda-forge/staged-recipes#9468 and conda-forge/staged-recipes#9535. We are just missing the "compiler" packages which would include the separate activate/deactivate scripts.

Is that something you are looking for help with? If so, could you please outline what one would need to do?


fix nova spec

line 60 is the only piece i changed... my editor removed whitespaces?

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

LGTM! :+1:

@j2sol can we test this?

ok to test


Regulatory Element Tagging Doc Updates

Added the missing all_way_stop subtype to the list of reg elems.
Moved Traffic Light to the top to match list and appearances in code.
Added some JOSM XML examples of regulatory elements.

Thank you! I nicified your XML examples a little and merged that with b8b4842dd71f78210954782710e7d993084f24f6.


Caching of auth client regressed by #705

I believe that PR #705 regressed the earlier fix to cache the auth client I contributed in #661. This means that a new cache client is created on each API request we make, adding an unnecessary performance overhead. Here's some Cloud Trace output I get:

Note the extra 141ms added to this request, and every other request.
The cause is that the function makeAuthorizedRequest now passes a brand new object to util.makeRequest each time. We cache the authClient on that object, which is temporary and not available the next time through.
Would it be possible add a test for this to make sure this doesn't get regressed?

Good catch, sorry to introduce the regression. This is a good time to incorporate https://github.com/stephenplusplus/google-auto-auth into gcloud, which will cache the client for us.

Ooh, google-auto-auth looks interesting. Let me see if we can use it in @google/cloud-trace.