docs(start): fix way of automatically load component styles

Types of changes

[ ] New feature
[ ] Bug fix
[ ] Enhancement
[ ] Component style change
[ ] Typescript definition change
[x] Documentation change
[ ] Coding style change
[ ] Refactoring
[ ] Test cases
[ ] Continuous integration
[ ] Breaking change
[ ] Others

Background and context

I was used with vite-plugin-style-import to automatically load component styles from Arco Document, but i get one error
Arco Document config
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import styleImport from 'vite-plugin-style-import'

export default defineConfig({
  plugins: [
    vue(),
    styleImport({
      libs: [
        {
          libraryName: '@arco-design/web-vue',
          esModule: true,
          resolveStyle: (name) => {
            // css
            return<EMAIL_ADDRESS>            // less
            return<EMAIL_ADDRESS>          },
        }
      ]
    })
  ]
})

when used "pnpm run dev"
ERROR  error when starting dev server:
TypeError: (0 , import_vite_plugin_style_import.default) is not a function

Solution

I read the vite-plugin-style-import document and found that it should be like this
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import Components from "unplugin-vue-components/vite";
import { ArcoResolver } from "unplugin-vue-components/resolvers";
import { createStyleImportPlugin } from "vite-plugin-style-import";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    Components({
      resolvers: [
        ArcoResolver({
          sideEffect: true,
        }),
      ],
    }),
    createStyleImportPlugin({
      libs: [
        {
          libraryName: "@arco-design/web-vue",
          esModule: true,
          resolveStyle: (name) => {
            // less
            return<EMAIL_ADDRESS>          },
        },
      ],
    }),
  ],
});

i have pulled request, but hasn't been merged yet , maybe just need to use ArcoResolver api later
How is the change tested?

Changelog

Component
Changelog(CN)
Changelog(EN)
Related issues

Checklist:

[ ] Test suite passes (npm run test)
[ ] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
[ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
should be submitted to main branch)

Other information

I found that the vite-plugin-style-import is no longer maintained, and the submitted solver has not been merged. I plan to develop an unplugin version of style-impoter to replace.

ok, thank you


Pkg: Manage supporting scripts

Techne will (probably) need some supporting JavaScript. There is nothing in place now to build and compile scripts.
It is recommended that we avoid jQuery and use plain JS if possible. http://youmightnotneedjquery.com

@xak - for 'building and compiling scripts' are we doing to use anything other than plain js, for example, type script? we already have a task in place to copy, lint and minify js files from docs to www. Just looking to see if this is something I can get started on.

This issue is for the JavaScript required for the library, i.e., Select2, jQuery, etc. We haven't identified any JS needs yet so not sure there is much to do unless you can anticipate what we may need.

probably not gonna happen


example of subscribe/listening

Hi there, thanks for the good work!
I would like to ask if you could also post an example of use for the subscribe/listening of channels, I'm trying to make it work without much success...
Cheers

Just to clarify, here is my problem.
if I use  red_con = Redis('redis_server') it connects with the redis server and I can read the variables I'm interested in, for example  with: Value=red_con.get('variable').
I can subscribe to channels, for example the output of:
psub_out = red_con.psubscribe('channel_name')
is a 1x3 cell:
{'psubscribe'}    {'channel_name'}  {'1'}
where the last element of the cell is the number of subscriptions, that grows if I subscribe to an additional channel.
The problem is HOW do I actually listen to the channels in matlab? I could not find a function like new_message=red_con.listen() that would actually check if there are messages on the channel(s) I'm subscribed at and dump it in a matlab variable that I can actually use.


What is the right place to setup db (e.g. create mongodb indexes)?

Firstly I thought that it will be a good place to create mongodb indexes when adapter connects to db. So I've added index field for every type:
// /types/user.js

const recordType = {
    name: 'user',

    collection: 'users',

    definition: {
        name: {
            type: String
        },
        email: {
            type: Email
        },
        password: {
            type: String
        }
    },

    index: {
        keys: {
            email: 1
        },
        options: {
            unique: true
        }
    },
    // ...
}

and createIndex on connect event:
// store.js
import fortune from 'fortune';
import mongodbAdapter from 'fortune-mongodb';
import { randomBytes } from 'crypto';
import { mongo } from 'c0nfig';
import * as types from './types';

const typeMap = {};
const transforms = {};
const recordTypes = {};
const recordIndexes = [];
Object.keys(types).forEach(key => {
    const type = types[key];

    recordTypes[type.name] = type.definition;
    transforms[type.name] = [type.input, type.output];

    if (type.collection) {
        typeMap[type.name] = type.collection;
    }

    if (type.index) {
        recordIndexes.push({
            collection: type.collection,
            index: type.index
        });
    }
});

const adapter = [
    mongodbAdapter,
    {
        url: mongo.connection,
        generateId() {
            return randomBytes(12).toString('hex');
        },
        typeMap
    }
];
const store = fortune(recordTypes, { adapter, transforms });

store.on(fortune.events.connect, () => {
    // create indexes on db connect
    recordIndexes.forEach(record => {
        const db = store.adapter.db;
        const { keys, options } = record.index;
        db.collection(record.collection).createIndex(keys, options);
    });
});

export default store;

But fortune connects to db on first request. Is it a safe place for managing db?

In this case you can call connect manually, then ensureIndex, then start listening for requests. You should use ensureIndex instead to avoid duplicate indexes.

@0x8890 according to latest mongo docs and driver docs ensureIndex is deprecated:

https://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/#db.collection.ensureIndex
http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#ensureIndex

hmm, didn't know that.

@0x8890 anyway thanks for the answer!


Generated files sometimes get an explicit  resulting in a build error

Create a new Console Application (.NET Core)
Add -> New Item -> Resources.resx
Copy Resources.resx and paste it again
Copy Resources - Copy.resx and paste it again

Expected: No Compile include
Actual:
  <ItemGroup>
    <Compile Include="Resource - Copy - Copy.Designer.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>Resource - Copy - Copy.resx</DependentUpon>
    </Compile>
  </ItemGroup>

And the following error:
Severity	Code	Description	Project	File	Line	Suppression State
Error		Duplicate 'Compile' items were included. The .NET SDK includes 'Compile' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultCompileItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were: 'Resource - Copy - Copy.Designer.cs'	WebApplication20	C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.DefaultItems.targets	147

Closed in lieu of https://devdiv.visualstudio.com/DevDiv/Managed Project System/_workItems?id=397523&fullScreen=false&_a=edit.


MSID: 101250 Version: 1 DOI: 10.1101/2<IP_ADDRESS>5892

MSID: 101250
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>5892
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=101250
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>5892

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/101250v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>5892
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/101250/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Please hold for provisional author response

AR due Sept 16

No need for provisional author response after all. Fine to proceed! FYI @JGilbert-eLife

Cheers Andy!


Startup Error: Missing Config

I get this while starting my game.
[16:14:18] [main/INFO]: [STDOUT]: trying to read frozen slots from /Applications/MultiMC.app/Contents/MacOS/instances/Server v2/.minecraft/config/easierChests.slots.txt
[16:14:18] [main/INFO]: [STDOUT]: java.io.FileNotFoundException: config/easierChests.slots.txt (No such file or directory)

The stack trace is not printed.

Don't worry. You can make EasierChests ignore some inventory slots when sorting/moving to chests, by clicking the middle mouse button on them. Those slots get saved to that config file. A missing config file just means no slots are ignored in that way; this doesn't have any effect on the mod.
I had a user who said they had no middle mouse button and wanted to edit the config, so I made the mod report the filename on startup to help people find the file if they want to access it. If you really want to get rid of the message, you can put an empty file there.


When is v1 launching?

What happened with Vidstack version 1? It was scheduled for release in November, according to the official website, but November is basically over. Any news? Thanks

Working hard to get to 1.0 but there’s a lot of work, especially considering we had to build our own Web Components tooling to ensure framework integrations work as expected.
Pretty much all popular OSS projects are late and don’t set a date for a good reason. It’s best to just release when we’re ready and not have anyone wait on a date.
We have ongoing discussions for our packages and skins, and we have a release dropping this week with lots of new things. We’re confident that after our next release we have everything we need to finally push forward.
Sorry about all the delays but we’re getting there!

Absolutely, rushing and releasing bugs is no good. Thanks for the update, I'll gladly wait. :)


Fatal Error while updating stored caches

Hi, I have a new report to do.
I have a lot of stored caches on my mobile.
I/dalvikvm(30601): "Thread-65" prio=1 tid=9 RUNNABLE
I/dalvikvm(30601):   | group="main" sCount=0 dsCount=0 obj=0x4071fe68 self=0x75c730
I/dalvikvm(30601):   | sysTid=31090 nice=19 sched=0/0 cgrp=bg_non_interactive handle=7644240
I/dalvikvm(30601):   at org.apache.http.util.ByteArrayBuffer.toByteArray(ByteArrayBuffer.java:~124)
I/dalvikvm(30601):   at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:85)
I/dalvikvm(30601):   at org.apache.http.entity.BufferedHttpEntity.(BufferedHttpEntity.java:62)
I/dalvikvm(30601):   at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:93)
I/dalvikvm(30601):   at cgeo.geocaching.cgBase.storeCache(cgBase.java:2532)
I/dalvikvm(30601):   at cgeo.geocaching.cgeocaches$LoadDetailsThread.run(cgeocaches.java:1969)
I/dalvikvm(30601):
W/dalvikvm(30601): threadid=9: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime(30601): FATAL EXCEPTION: Thread-65
E/AndroidRuntime(30601): java.lang.OutOfMemoryError
E/AndroidRuntime(30601): at org.apache.http.util.ByteArrayBuffer.toByteArray(ByteArrayBuffer.java:124)
E/AndroidRuntime(30601): at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:85)
E/AndroidRuntime(30601): at org.apache.http.entity.BufferedHttpEntity.(BufferedHttpEntity.java:62)
E/AndroidRuntime(30601): at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:93)
E/AndroidRuntime(30601): at cgeo.geocaching.cgBase.storeCache(cgBase.java:2532)
E/AndroidRuntime(30601): at cgeo.geocaching.cgeocaches$LoadDetailsThread.run(cgeocaches.java:1969)
W/ActivityManager(  192):   Force finishing activity cgeo.geocaching/.cgeocaches
I/cgeo    (30601): Using last location from network
D/WifiService(  192): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
I/cgeo    (30601): Location service started
E/WindowManager(30601): Activity cgeo.geocaching.cgeocaches has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40b44ed0 that was originally added here
E/WindowManager(30601): android.view.WindowLeaked: Activity cgeo.geocaching.cgeocaches has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40b44ed0 that was originally added here
E/WindowManager(30601): at android.view.ViewRoot.(ViewRoot.java:259)
E/WindowManager(30601): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
E/WindowManager(30601): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
E/WindowManager(30601): at android.view.Window$LocalWindowManager.addView(Window.java:465)
E/WindowManager(30601): at android.app.Dialog.show(Dialog.java:241)
E/WindowManager(30601): at cgeo.geocaching.cgeocaches.onOptionsItemSelected(cgeocaches.java:990)
E/WindowManager(30601): at android.app.Activity.onMenuItemSelected(Activity.java:2205)
E/WindowManager(30601): at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:776)
E/WindowManager(30601): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
E/WindowManager(30601): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
E/WindowManager(30601): at com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:137)
E/WindowManager(30601): at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:873)
E/WindowManager(30601): at android.widget.AdapterView.performItemClick(AdapterView.java:284)
E/WindowManager(30601): at android.widget.ListView.performItemClick(ListView.java:3513)
E/WindowManager(30601): at android.widget.AbsListView$PerformClick.run(AbsListView.java:1849)
E/WindowManager(30601): at android.os.Handler.handleCallback(Handler.java:587)
E/WindowManager(30601): at android.os.Handler.dispatchMessage(Handler.java:92)
E/WindowManager(30601): at android.os.Looper.loop(Looper.java:130)
E/WindowManager(30601): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/WindowManager(30601): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(30601): at java.lang.reflect.Method.invoke(Method.java:507)
E/WindowManager(30601): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
E/WindowManager(30601): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
E/WindowManager(30601): at dalvik.system.NativeStart.main(Native Method)
I/wpa_supplicant(  286): CTRL-EVENT-SCAN-RESULTS  Ready
E/libloc  (  192): loc_eng_inject_location: GPS not initialized.
D/WifiService(  192): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
I/Process (30601): Sending signal. PID: 30601 SIG: 9
I/ActivityManager(  192): Process cgeo.geocaching (pid 30601) has died.
I/WindowManager(  192): WIN DEATH: Window{40556820 cgeo.geocaching/cgeo.geocaching.cgeo paused=false}
W/GpsLocationProvider(  192): Unneeded remove listener for uid 1000
W/InputManagerService(  192): Got RemoteException sending setActive(false) notification to pid 30601 uid 10093
I/AudioHardwareMSM72XX(  136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX(  136): Enabling post proc features with mask 0x0000
W/AudioFlinger(  136): write blocked for 272 msecs, 389 delayed writes, thread 0xc9f8
D/WifiService(  192): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
E/libloc  (  192): loc_eng_inject_location: GPS not initialized.
D/WifiService(  192): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@408ab968}
D/dalvikvm( 2211): GC_EXTERNAL_ALLOC freed 1219K, 58% free 3808K/8903K, external 7708K/7744K, paused 86ms
I/ActivityManager(  192): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity } from pid 2211
I/ActivityManager(  192): Start proc org.jtb.alogcat for activity org.jtb.alogcat/.LogActivity: pid=31200 uid=10112 gids={1007, 1015}
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 46K, 50% free 2698K/5379K, external 0K/0K, paused 48ms
V/alogcat (31200): created
V/alogcat (31200): started
I/alogcat (31200): new intent: android.intent.action.MAIN
D/alogcat (31200): canceling periodic saves
V/alogcat (31200): resumed
D/alogcat (31200): starting ...
I/ActivityManager(  192): Displayed org.jtb.alogcat/.LogActivity: +511ms
W/InputMethodManager(31200): Ignoring onBind: cur seq=885, given seq=884
I/AudioHardwareMSM72XX(  136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX(  136): disabling post proc features with mask 0x0000
W/KeyCharacterMap(31200): Can't open keycharmap file
W/KeyCharacterMap(31200): Error loading keycharmap file '/system/usr/keychars/blade_keypad.kcm.bin'. hw.keyboards.262145.devname='blade_keypad'
W/KeyCharacterMap(31200): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 245K, 50% free 2839K/5575K, external 509K/519K, paused 65ms
I/AudioHardwareMSM72XX(  136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX(  136): Enabling post proc features with mask 0x0000
W/AudioFlinger(  136): write blocked for 270 msecs, 390 delayed writes, thread 0xc9f8
W/KeyCharacterMap(31200): Can't open keycharmap file
W/KeyCharacterMap(31200): Error loading keycharmap file '/system/usr/keychars/blade_keypad.kcm.bin'. hw.keyboards.262145.devname='blade_keypad'
W/KeyCharacterMap(31200): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
W/InputManagerService(  192): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40b37b68
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 221K, 49% free 2858K/5575K, external 1033K/1042K, paused 57ms
D/dalvikvm(31200): GC_EXTERNAL_ALLOC freed 46K, 49% free 2849K/5575K, external 1513K/1518K, paused 56ms
I/AudioHardwareMSM72XX(  136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX(  136): disabling post proc features with mask 0x0000
D/WifiService(  192): acquireWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
I/wpa_supplicant(  286): CTRL-EVENT-SCAN-RESULTS  Ready
I/x       (30927): Not returning location for the following outliers: [146899733192]
D/WifiService(  192): releaseWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
D/dalvikvm(30927): GC_CONCURRENT freed 479K, 47% free 3601K/6791K, external 0K/0K, paused 4ms+15ms
D/dalvikvm(31200): GC_CONCURRENT freed 248K, 50% free 2863K/5639K, external 1561K/1664K, paused 5ms+5ms
D/dalvikvm( 2114): GC_CONCURRENT freed 388K, 45% free 3848K/6919K, external 0K/0K, paused 8ms+12ms
D/WifiService(  192): acquireWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
I/wpa_supplicant(  286): CTRL-EVENT-SCAN-RESULTS  Ready
I/x       (30927): Not returning location for the following outliers: [146899733192]
D/WifiService(  192): releaseWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@40983460}
D/dalvikvm(30296): GC_CONCURRENT freed 496K, 46% free 3671K/6727K, external 0K/0K, paused 4ms+7ms
W/KeyCharacterMap(31200): Can't open keycharmap file
W/KeyCharacterMap(31200): Error loading keycharmap file '/system/usr/keychars/blade_keypad.kcm.bin'. hw.keyboards.262145.devname='blade_keypad'
W/KeyCharacterMap(31200): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I/AudioHardwareMSM72XX(  136): set device to SND_DEVICE_SPEAKER device_id=0
I/AudioHardwareMSM72XX(  136): Enabling post proc features with mask 0x0000
W/AudioFlinger(  136): write blocked for 268 msecs, 391 delayed writes, thread 0xc9f8

Looks like a wrong usage of the Apache http library or a bug with it. Semms that a image is too large to fit in the buffer.

Its a full size 1.920px × 2.560px image, 9.605.872 bytes. I thought, log images get scaled down....
Perhaps we should think about some limit check in the image load - this is simply ridiculous!

sorry, what you mean by: "this is simply ridiculous"?
The issue or the bug?

The image. I have no idea how they managed to place an almost 10MB png image in a log. Normally these are scaled down when uploading and then c:geo can handle them...
But not that one.

We have a kind of design problem here. We always create an httpEntity from the network response, which will be as large as the image itself. And that entity is created in memory. But it would make much more sense to have the http response be streamed directly to disk, so no matter how large a file is, it would go directly to disk by means of streaming.
(And if we have a file on disk, that can be loaded much better afterwards because we will use downsampling, when loading a local file).

There is an example of how to stream an http response in one of Lars tutorials: http://www.vogella.de/articles/ApacheHttpClient/article.html#example_get. We should make it work similar for us.

But it would be nice to block downloading 10MB images anyway.

Can't we check the header first?

It is awful to read such images through mobile data connection. Do we have a chance to read such content
through a proxy page reducing images? There should be such a service on the net.
We should not download images of this size but do we get the meta information before we downloaded
10 MB? The header doesn't have to contain this information, as far as I know.
By the way: On http browser I remember that images were read with reduced quality through mobile
connection and have to be reloaded ... got this with Vodafone when there was no DSL in my
village. Is there any problem like this?

Could we try to not implement every imaginable feature? I just want the app to remain stable when confronted with such an image. Whether it shall be downloaded or not was already decided by the user when he opted in to download images. We shouldn't make it more complex and complicated than necessary. Otherwise people will start to request that images are only downloaded on weekends because their mobile traffic is billed different on weekends...

Okay, we talked about this today in Hannover. There were a few chances to handle such images:

read stream size from header and restrict to a max of 1 or 2 MB (showing text e.g. to large)
read the first 100 bytes to analyse the image pixel size (I have some knowledge according to this)
an restrict to a pixel size

We (Lineflyer, marco-jacob and I) discussed this today. We agreed that we can't handle such large images. There are three possibilities:

Stop loading after x MB
Check the header for a size
Download the first kB of an image and check the size in the image header

But we can't keep this unhandled - as you can see at the top.

Hey guys, have you even looked at the code? I guess not. We can handle images of this size, because we already load a resampled version of the images for displaying. The only problem is with storing the image right now.
As I said, don't make it more complicated than it is.


Overhaul OptiX variable creation

Description
There was an issue raised on the osl-dev group about variable updates no longer working in optix. This was due to a missing call to createOptixMetadata, which I had inadvertently removed in #973. I fixed that issue and squished out a bit of duplication in CUDA/OptiX variable creation.
I followed @fpsunflower's suggestion from #1057 and now use TypeDesc instead of std::string to communicate the type when creating a CUDA variable.
Tests
No new tests added, but existing OptiX tests pass.

Checklist:

[x] I have read the contribution guidelines.
[x] I have previously submitted a Contributor License Agreement.
[x] I have updated the documentation, if applicable.
[x] I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

Tim, the first commit causes two unit tests to fail when built in optix mode.

Thanks for letting me know. I'll look into it ASAP.

What tests are failing for you? It's possible that the failures are a manifestation of the rtVariable initialization bug I mentioned in #1060. I believe that bug affected paramval-floatpromotion and vararray-default, or something in those genres.
If those are the tests, it's possible that you need a newer driver. I have tested the two latest Linux drivers and can confirm that those tests are passing, along with the rest of the testsuite*.
Since it looks like you're using the OptiX 6.0 SDK (based on your Makefile-bits), you should try the long-lived branch (430.50).

The two that fail for me with your patch are mergeinstances-vararray.optix and vararray-default.optix.
You think that means I need a newer driver?

Yes, possibly. There was a bug in rtVariable initialization that caused array-like types to be improperly initialized in some cases. This PR restores the creation of the metadata that makes CUDA variables visible to the OptiX compiler, and thus exposes the bug. Without this PR, variables remain plain old global CUDA variables which are statically initialized.

Yep, driver upgrade seems to fix. Thanks. I'll  run one more full testsuite and then merge.


Some AspGD taxon data appears without a label

there is something amiss with the way AspDB annotations appear in AmiGO.
Tha taxon isn't parsed correctly so they are not available in the organsim filter,
E.g.
http://amigo.geneontology.org/amigo/gene_product/AspGD:Aspfo1_0204585

@ValWood That's a good catch--thank you. I'll look into this today.

Examining similarly formed entries from the GAF, this was not a uniform problem:
http://amigo.geneontology.org/amigo/gene_product/AspGD:Aspka1_0181639
To note, the issue here seems to be that in some cases the taxon ID does not seem to get resolved to a label, which means that the main taxon entry is left "blank" and is left as an ID in the table.
As this is a relatively new annotation done on the day of the release, I wonder if somehow the ncbi taxon ontology could have been out of sync with the annotations, leading to a case where the label went AWOL.

Partially bum theory as 2019-06-23 http://amigo-exp.geneontology.io/amigo/gene_product/AspGD:Aspfo1_0204585 still has the information gap.

It might be something to do with taxon strain IDs vs strain IDs (some species have strain IDs in NCBI). I'm not completely sure what these particular IDs are but it's a possibility.
@marekskrzypek might be able to enlighten you?

It isn't restricted to AspDB
http://amigo.geneontology.org/amigo/gene_product/CGD:CORT_0G01250

@ValWood It seems to be the same taxon though: NCBITaxon:1136231 , which is a good thing. I do not think the problem resides in the GAF, rather likely in loader or the NCBITaxon file that we load.

Noting from load log:
[2019-06-10T12:09:23.763Z] 2019-06-10 12:09:23,648 INFO  (GafSolrDocumentLoader:
189) Skipping taxon closures for unknown id: NCBITaxon:1136231

That's owltools, around
		final OWLClass taxCls = graph.getOWLClassByIdentifier(taxonId);

within bioentity solr document assembly.
That would seem like an issue at the ontology then.
@balhoff Would you be able to officially confirm the presence or not of NCBITaxon:1136231 in 	    "http://purl.obolibrary.org/obo/ncbitaxon/subsets/taxslim.owl" ? Grepping shows that it is not there. If not, what are the channels to add it?

@cmungall I believe that you originally made the taxslim ontology? What would be the procedure for getting something in there?
Re: https://github.com/geneontology/amigo/issues/570#issuecomment-505678832

@cmungall what is the origin of taxslim? Should we just expand GO ncbitaxon_import as needed and extract with ROBOT? Could keep a seed file in addition to the taxa directly referenced in the ontology.

there is something amiss with the way AspDB annotations appear in AmiGO.

Those were always like this. Only the ones coming from UniProt had the correct gene label.
Maybe this is not related but UniProt and AspDB and CGD weren't using the same tax id (although they were technically describing the same species).
Pascale

Does it need fixing upstream? Who do we tag?

@marekskrzypek


Password being logged in the Browser console

🖥 Frontend Issue
Description
This issue addresses the security concern of passwords being logged in the browser console during user interactions.
Steps to Reproduce

Click on Login or Register
Fill in your credentials
Click on submit
check your browsers console

Expected behavior
Password and username shouldnt be visible
Actual behavior
They are visible
Screenshots or Video

Are you participating in GSSoC?

[x] Yes
[ ] No

@dhairyagothi, could you please take a look at this and assign it to me for GSSoC 2024 and Hacktoberfest? Thank you!

ohhh that's great but it will change when we add backend in this file
good issue do this for now

ohhh that's great but it will change when we add backend in this file good issue do this for now

Kind of saw that coming haha
Thanks, ill do it anyway

ohhh that's great but it will change when we add backend in this file good issue do this for now

Kind of saw that coming haha Thanks, ill do it anyway

ya do for now


Add Solaris operating system support (using flag mio_unsupported_forc…

…e_poll_poll)

Since solaris doesn't support any selector other than poll you don't need the mio_unsupported_force_poll_poll cfg.
But are problems listed in https://github.com/tokio-rs/mio/issues/1152 and https://github.com/tokio-rs/mio/issues/1328 (and https://github.com/tokio-rs/mio/pull/1528, https://github.com/tokio-rs/mio/pull/1542) resolved?

Solaris and Illumos support a mechanism called event ports, which can be used to implement event listening in a more efficient way than poll().

Solaris and Illumos support a mechanism called event ports, which can be used to implement event listening in a more efficient way than poll().

Illumos already uses epoll, so this will be Solaris specific.

Since solaris doesn't support any selector other than poll you don't need the mio_unsupported_force_poll_poll cfg.

How is that possible? So far I had to use RUSTFLAGS="--cfg mio_unsupported_force_poll_poll".

But are problems listed in #1152 and #1328 (and #1528, #1542) resolved?

#1152 could be considered as resolved once this is merged in. Originally I was thinking about implementing it via Solaris event ports but it's not possible right now since we couln't check it using continous integration.
#1328 my commit uses SOCK_CLOEXEC and SOCK_NONBLOCK as it's for Illumos. Solaris 10 will never support Rust. It's very old and now with mininal support. It was released in 2004.
Not sure about others. I can modifiy README file and remove Solaris line. But mio_unsupported_force_poll_poll is mentined there as not really supported thing.

Since solaris doesn't support any selector other than poll you don't need the mio_unsupported_force_poll_poll cfg.

How is that possible? So far I had to use RUSTFLAGS="--cfg mio_unsupported_force_poll_poll".

By adding the correct cfg attributes for Solaris.

But are problems listed in #1152 and #1328 (and #1528, #1542) resolved?

#1152 could be considered as resolved once this is merged in. Originally I was thinking about implementing it via Solaris event ports but it's not possible right now since we couln't check it using continous integration.

:+1:

#1328 my commit uses SOCK_CLOEXEC and SOCK_NONBLOCK as it's for Illumos. Solaris 10 will never support Rust. It's very old and now with mininal support. It was released in 2004.

I'm not familiar with Solaris, but do newer version have support for SOCK_CLOEXEC and SOCK_NONBLOCK?

Not sure about others. I can modifiy README file and remove Solaris line.

Let's leave it for now, I want to make sure it actually works this time.

But mio_unsupported_force_poll_poll is mentined there as not really supported thing.

They key word in mio_unsupported_force_poll_poll  is force, it overwrites the preferred polling method on the platform to use a poll(2) based implementation instead. This is mainly used for testing and thus the flag itself unsupported. However  the poll(2) implementation is fully supported on platforms that don't have anything "better", for example ESP-IDF. We can add Solaris to this list, even though it has event ports.

Since solaris doesn't support any selector other than poll you don't need the mio_unsupported_force_poll_poll cfg.

How is that possible? So far I had to use RUSTFLAGS="--cfg mio_unsupported_force_poll_poll".

By adding the correct cfg attributes for Solaris.

Sorry! I think I'm lost. What and where should I put anything? Thanks!

But are problems listed in #1152 and #1328 (and #1528, #1542) resolved?

#1328 my commit uses SOCK_CLOEXEC and SOCK_NONBLOCK as it's for Illumos. Solaris 10 will never support Rust. It's very old and now with mininal support. It was released in 2004.

I'm not familiar with Solaris, but do newer version have support for SOCK_CLOEXEC and SOCK_NONBLOCK?

Yes, all version of Solaris 11.4 (first release in 2018) do support them.

But mio_unsupported_force_poll_poll is mentined there as not really supported thing.

By adding the correct cfg attributes for Solaris.

Sorry! I think I'm lost. What and where should I put anything? Thanks!

Try compiling without RUSTFLAGS="--cfg mio_unsupported_force_poll_poll" and rustc will tell you ;)

I'm not familiar with Solaris, but do newer version have support for SOCK_CLOEXEC and SOCK_NONBLOCK?

Yes, all versions of Solaris 11.4 (first release in 2018) do support them.

:+1:

By adding the correct cfg attributes for Solaris.

Sorry! I think I'm lost. What and where should I put anything? Thanks!

Try compiling without RUSTFLAGS="--cfg mio_unsupported_force_poll_poll" and rustc will tell you ;)

No it doesn't help:
$ RUSTFLAGS="--cfg mio_unsupported_force_poll_poll" cargo build
   Compiling libc v0.2.147
   Compiling log v0.4.20
   Compiling mio v0.8.8 (/builds/psumbera/mio-solaris)
    Finished dev [unoptimized + debuginfo] target(s) in 6.07s

Try enabling all features --all-features. And as I said don't use RUSTFLAGS="--cfg mio_unsupported_force_poll_poll". So just run cargo check --all-features on Solaris and it should fail. But still have no issue how to define

Sorry about with[out] RUSTFLAGS. It fails like this now. But still have no clue how to define mio_unsupported_force_poll_poll cfg atribute (ideally in Config.toml or src/macros.rs).
cargo check --all-features
    Checking mio v0.8.8 (/builds/psumbera/mio-solaris)
error[E0432]: unresolved imports `self::selector::event`, `self::selector::Event`, `self::selector::Events`, `self::selector::Selector`
  --> src/sys/unix/mod.rs:18:37
   |
18 |     pub(crate) use self::selector::{event, Event, Events, Selector};
   |                                     ^^^^^  ^^^^^  ^^^^^^  ^^^^^^^^ no `Selector` in `sys::unix::selector`
   |                                     |      |      |
   |                                     |      |      no `Events` in `sys::unix::selector`
   |                                     |      no `Event` in `sys::unix::selector`
   |                                     no `event` in `sys::unix::selector`
   |
   = help: consider importing this module instead:
           crate::event
   = help: consider importing this struct instead:
           crate::event::Event
   = help: consider importing this struct instead:
           crate::Events

warning: unused macro definition: `debug_detail`
  --> src/sys/mod.rs:18:18
   |
18 |     macro_rules! debug_detail {
   |                  ^^^^^^^^^^^^
   |
   = note: `#[warn(unused_macros)]` on by default

For more information about this error, try `rustc --explain E0432`.
warning: `mio` (lib) generated 1 warning
error: could not compile `mio` (lib) due to previous error; 1 warning emitted

Well... you need to resolve those issues to ensure that Solaris works...

Ok, with my new change Solaris builds without need to define mio_unsupported_force_poll_poll.

@psumbera can you add some CI setup? cargo test would be best, but cargo check is sufficient for now. Also see https://github.com/tokio-rs/mio/blob/master/Makefile#L2.

@psumbera can you add some CI setup? cargo test would be best, but cargo check is sufficient for now.

Confused again. Where? .github/workflows/ci.yml? Any example for that?
cargo test passes for me. But there is no Solaris instance which is accesible from github for CI.

Also see https://github.com/tokio-rs/mio/blob/master/Makefile#L2.

Solaris isn't supported by rustup right now. I think there is no need to extend the list.

@psumbera can you add some CI setup? cargo test would be best, but cargo check is sufficient for now.

Confused again. Where? .github/workflows/ci.yml? Any example for that? cargo test passes for me. But there is no Solaris instance which is accesible from github for CI.

... I mean come on... At some point you have put the time in. It's really not that complicated once you find the GitHub Actions file.

Also see https://github.com/tokio-rs/mio/blob/master/Makefile#L2.

Solaris isn't supported by rustup right now. I think there is no need to extend the list.

Do you have any other means to add Solaris support to the CI?

@psumbera can you add some CI setup? cargo test would be best, but cargo check is sufficient for now.

Confused again. Where? .github/workflows/ci.yml? Any example for that? cargo test passes for me. But there is no Solaris instance which is accesible from github for CI.

... I mean come on... At some point you have put the time in. It's really not that complicated once you find the GitHub Actions file.

Still confused. If you mean '.cirrus.yml'. Cirrus CI doesn't support Solaris OS.

Also see https://github.com/tokio-rs/mio/blob/master/Makefile#L2.

Solaris isn't supported by rustup right now. I think there is no need to extend the list.

Do you have any other means to add Solaris support to the CI?

No.

@Thomasdezeeuw do you have any other commets or suggestions? Thank you!

I need to clean up the cfg a bit soem that Solaris (and vita, see https://github.com/tokio-rs/mio/pull/1721) can use the epoll(2) implementation without any RUSTFLAGS.

@psumbera can you rebase this? I think after we merged https://github.com/tokio-rs/mio/pull/1721 we got a reasonable way forward. I'll like Solaris to be supported in a similar way, that is without any flags.

@psumbera did you mean to close this?

Ok. I wasn't able to reuse this pull request. Instead I have to create #1724.


Enable TimeToLive parameter (for dynamic charging currents) in service call

Feature request
Easee API as well as the pyeasee function set_dynamic_charger_circuit_current appear to support a TimeToLive parameter. It allows the charger to revert to the offline current setting if it hasn't received an updated dynamic_charger_circuit_current service call within the specified time, e.g. if cloud connection is lost.
That parameter is however not accessible through the Homeassistant integration service call today. Would it be possible to enable it?

What version of the integration are you using?
easee-0.9.43
Anything in the logs that might be useful for us?
No response
Additional information
No response

Yes, this is on our to-do list.

See also https://github.com/fondberg/easee_hass/issues/199

Ah, excellent. Looking forward to the fix! :)

See https://github.com/fondberg/easee_hass/pull/222


Fixing IOError management, causing AttributeError (#24)

As this issue pointed out: https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/issues/24
The management of IOError prints a message that requires the attribute message to be set, which is non-existent on IOError.  This pull request fixes this issue.

@wouterdb and @edvgui Thanks you both for your collaboration.
I used your code and update it to be compatible to both python versions (2 and 3)
This change is available now in release v.1.1.1


How can i use s:Action as event handler？

Hi，canton7
When i bind control event handler to s:Action XX funtion, how can set CommnadParameter to event parameter? Some thing like EventToCommand Behavior.

When you're using an event with s:Action, there is no concept of CommandParameter: there's no way to pass one in the XAML, and no way of getting one back in the C#. I recommend binding whatever property you're interested in to a property on your ViewModel.

Closing as no response


[Network] Invalid swagger: Missing required definition property 'nextHopType' + unused definition "AzureAsyncOperationResult"

Semantic validation on network.json spec 2016-09-01 results in invalid swagger:
[ { [Error: The Swagger document(s) are invalid]
errors:
[ { code: 'MISSING_REQUIRED_DEFINITION_PROPERTY',
message: 'Definition requires property but it is not defined: nextHopType',
path:
[ 'definitions',
'ExpressRouteCircuitRoutesTableSummary',
'required',
'0' ] } ],
failedValidation: true,
warnings:
[ { code: 'UNUSED_DEFINITION',
message: 'Definition is defined but is not used: #/definitions/AzureAsyncOperationResult',
path: [ 'definitions', 'AzureAsyncOperationResult' ] } ],
code: 'INTERNAL_ERROR' } ] }

@Nilambari @deepakrajendranmsft - Can you guys take a look at this issue?

@dihan0604 Can you Please take a look at it? As Ding worked on this.

Also, api-version 2016-03-30 reports Duplicate API Path error as well:
azure-rest-api-specs/arm-network/2016-03-30/swagger/network.json should be valid Swagger
Errors
MISSING_REQUIRED_DEFINITION_PROPERTY : #/definitions/ExpressRouteCircuitRoutesTable/required/0 : Definition requires property but it is not defined: nextHopType
MISSING_REQUIRED_DEFINITION_PROPERTY : #/definitions/ExpressRouteCircuitRoutesTableSummary/required/0 : Definition requires property but it is not defined: nextHopType
DUPLICATE_API_PATH : #/paths//subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey : API path (or equivalent) already defined: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey

@dihan0604 have you had a chance to look at this?

This has been fixed, Link: https://github.com/Azure/azure-rest-api-specs/pull/855


sometimes nodes keep bing closed after adding a child node

maybe this is related to "IBIS-non shown by default" issue

@sinisarudan I think this is somehow related with node having visible set explicitly to false, or similar, we need to recreate a clear usecase to be able to test it. And we need to introduce automated usecase testing. Maybe it is not that hard to implement! :D


feat: Role policies (#2192)

Introduce a new Role policy type, which specifies a list of resources along with permissible actions for each. Role policies are evaluated prior to resource policies, and cannot override them.
I'll delete the feature branch separately. PR'ing from here negates the need to bypass merge rules again, and feels more "proper" 🤠

This is the same change as in the main repo feature branch, but I've squashed the two commits into one.


PhpdocVarWithoutNameFixer - update sample with @ type

PhpdocVarWithoutNameFixer fixes @type as well, however this was not part of the sample nor the unit tests

Thank you @SpacePossum.


Programs for C++ Stl.

Can I add C++ stl programs, and will it be counted as 1 successful PR for hactoberfest 2021?

@Geek-Tekina Yes, You can add stl programs, maybe you can create separate folder inside C++ for better understanding.
And PR created from October 1 will be counted as successful PR for hactoberfest 2021.

Okay so I should start contribution from today or 1 of Oct?

Okay so I should start contribution from today or 1 of Oct?

You can contribute anytime,
Oct 1 only for hactoberfest.
If you want to work on this I can assign you.

You please assign me to this issue!

Thank You. I will contribute to it as my first PR for hactoberfest 2021. I am a begineer sir. So guide me through the whole process please!

Okh, Just put everything in order before commit, You can do good🙌🏼

Okay sir Thank You.
Sir Confirm the steps pls.

Forking the repo.
Adding STL folder to C++.
adding programs.
Creating a pr for this issue.
I , Successfully completed my 1 pr for Hactoberfest .

Yes! This is the right step. 🎯

please assign this to me.

please assign this to me.

already assigned you can work on other issues.

okay sir not a problem
On Fri, Oct 1, 2021 at 12:18 AM Mr. Ånand @.***> wrote:

please assign this to me.
already assigned you can work on other issues.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Astrodevil/Programming-Basics/issues/31#issuecomment-931576188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATTKWIEX2TGS7CPPPCOZVGTUESWIJANCNFSM5FCGKQJQ
.
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.


Support for CMake projects

@hprica what to do for this feature to be implemented?

Patience grasshopper 😄
Great things are coming in the pipeline...

@cpp-red-lion thanks.... its been a while that I was called a 'grasshopper'. My question actually ment something like this: If somebody would roughly outline what is required to implement this. I would love to have a stab at it.

@stevenhoving That changes everything. We already have some progress on this front, but we're happy to accept contributions.
The first thing would be to build a bridge between a CMake project/lists parser and the VS extensibility framework, so that we can extract CMake compilation directives & properties from within the Solution Explorer.
After that, a middle component would need to translate that CMake payload for each "project" file into a format consumable by our Clang driver.

Sorry, but recent changes in the focus of this project forced me to stop working on this issue. Thanks for the advice, and I wish you all the best.

Hi,
We are happy to announce the release of Clang Power Tools version 5.1. The CMake support for open file is ready 🎉
Thank you for your feedback 😃

Are there any conditions, when CPT works with CMake projects?

Hi @s-martin,
Please be aware that Clang Power Tools is available just on the active file so the commands are activated just in the toolbar for now.
Can you give us a sample project reproducing the issue for the investigation purpose? The log from the output window will be a great help too.

@Enache-Ionut I'll try that, thanks for the info.


Getting similar apps returns empty list

Describe the bug
Getting similar apps is broken, it does not return any apps. This also fails in the unit tests with AssertionError: 0 not greater than 0
To Reproduce
Easiest way is to run the unit tests.
Expected behavior
The tests do not fail and similar apps are returned when using the method.
Desktop (please complete the following information):

OS: macOS 10.14
Python Version 3.7
play_scraper Version 0.5.5

Looks like Google changed or obfuscated css attributes names the plugin uses to get similar apps details from html response.


Modulize packs

This might be more of a question is it possible to have everything in a pack modulized. Without creating the nested folders for example:
- Packages
  └ Sales
     |- App
     │  ├─ models
     │  │        └ Lead.rb
     │  └─ Controllers

And lead is modulized as shown below.
module Sales
 class Lead
 end
end

I know its possible to change the file structure however i don't like have even deeper nesting of folders for autoloading to pick this up.

Yes this is possible! Try this: https://github.com/gap777/automatic_namespaces


fix(accordion): remove the last border of accordion

remove the last border of accordion

@sunsreng any reason why though? I believe this is a personal preference which you can customize in your app.


Issues with active coolers

I was playing on the FTB Revelation modpack and when I put down the active coolers in my fission reactor, I started having some issues. The only coolant that was being actually consumed was Resonant Ender, while other liquids like water and gelid cryotheum were not. I tried rebuilding the reactor, reloading the game and all of that, but nothing really changed.

@thecatinthebag Are these active coolers respecting their passive counterparts' placement rules?

Ah, they weren't. Guess I'm illiterate. Either way, thanks for reminding me that and sorry for wasting your time.

No worries!


Poster referral denied

Any workaround for this?
imdb doesn't support hotlinking.

The download is still working, right? If yes, use this one and serve from your own webserver. :)

so if download is activated and i have the image and posted on the server into posters folder it will works by itself?

Check https://github.com/FabianBeiner/PHP-IMDB-Grabber/blob/master/examples/imdb.example.php#L83. This function is downloading the poster by default.

i have the same:

Enable debug and post the output of your run, otherwise I can't help.

ok, one sec

This sounds more like a problem with the PHP version or something like an APC extension or whatever. I just ran the latest version here and it's working fine.
Maybe check the Apache logs etc.

no errors in apache log related to this. :(

when ya have time maybe could tinker about that rating i showed ya :100:

Nope, I won't implement this. You can do all if this super easily within your code. :)
(I'll close this btw. for now as the main issue was, well, not an issue. ;))

yeah sure, no problem,  but i just noticed that on PHP 6.5 it wont work, but it works in 5.4


Bring back base modpack folder opt in/out

Bring back base modpack folder opt in/out. As of v.0.3 there's no way to opt out of downloading mods from either of the map folders.
P.S. the config wizard's prompts don't line up with the actual values being initialized in the config file

In the case of maps, it's entirely reasonable to make this an option, and I will add that back in with an additional prompt in the wizard. I won't add the rest to the prompts in the wizard since there is rarely ever a reason to have them off, but I will make it so that the other packs can be turned on/off in the configuration file in case someone really wants to cherry pick them.

P.S. the config wizard's prompts don't line up with the actual values being initialized in the config file
Ah yes, the perils of not having proper automated testing in place yet. This will be fixed as part of the configuration setup work for this issue. Thanks for the report. Getting a mock server and proper tests set up is the focus for v0.3 into v0.4, so hopefully there won't be many more silly oversights like this in the future.


Screenshots embedded in plugin description don't render

The screenshots embedded in https://github.com/getappmap/appmap-intellij-plugin/blob/bdaae8fb1250a3cb9564ba0ca55c42fed22bfe9a/README.md are not rendering in the IDE's plugin manager.
https://appmap.io/assets/img/appmap-navie-intellij-screenshot.png is too large. It should be resized as the plugin manager is not doing that when the image is rendered.
The WebP image format is not supported, it should be converted to PNG or JPEG.
https://appmap.io/assets/img/product/tools-appmap-vscode.webp
https://appmap.io/assets/img/product/ask-navie-about-a-map.webp
There seems to be a recent change, that plugins must not embed images in the description. Please be prepared that this may be required soon. I couldn't find this in the guidelines, though.
How it's rendered:

:tada: This issue has been resolved in version 0.75.0 :tada:
The release is available on:

v0.75.0
GitHub release

Your semantic-release bot :package::rocket:


How to solve package [teREVCOLolor] missing message , thanks

Thanks for all your great work.
We've some error-message during Installation like below , and please give us more advice if any , thanks,
'''
ERROR: Could not find a version that satisfies the requirement teREVCOLolor==1.1.0 (from versions: none)
ERROR: No matching distribution found for  teREVCOLolor==1.1.0
'''

Hi kidd6566,
Sorry, my bad. It's a bug. it should be termcolor==1.1.0
Already fixed.

Hi Sir,
Sorry to bother you again.  Our Installation has been successfully made , thanks.
But there's another 'ERROR' when we're trying to finetune with pre-trained weight at this time.
Glad to have your suggestion if any , thanks in advance.
Btw , this ERROR won't be solved even we've installed 'dpflow' with PIP so far.

Traceback (most recent call last):
File "main.py", line 33, in
from data import build_loader
File "./RevCol/data/init.py", line 1, in
from .build_data import build_loader
File "./RevCol/data/build_data.py", line 11, in
from dpflow.pipe import InputPipe
ModuleNotFoundError: No module named 'dpflow.pipe'

Hi,
These two lines should be deleted. It is connected with our private data server, which is unnecessary in this repo. Let me fix this. And I will double check all the files. Thanks for pointing out these bugs.


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.3.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.2.20 -> v1.3.0

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper
v1.3.0
Compare Source
Features

added optional upgrade for PR branch (#255) (b204745)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 5.2.3 :tada:
The release is available on:

GitHub release
v5.2.3

Your semantic-release bot :package::rocket:


Uncaught (in promise) SyntaxError: Unexpected reserved word

报错Uncaught (in promise) SyntaxError: Unexpected reserved word

在webpack5中是正常的，使用的rust构建命令是：wasm-pack build --target bundler

I think to use import there it should be <script type="module">.

reproduce project pls

https://gitee.com/zhi_xin_qiantong/vue2-learning

https://gitee.com/zhi_xin_qiantong/vue2-learning
我的项目地址

I think to use import there it should be <script type="module">.

这个没有用，还是一样的错误

I failed to build your project (pnpm install, pnpm build).

Can't reproduce it.

Can't reproduce it.

在低版本谷歌内核中有问题，这个低版本谷歌内核是360浏览器

高版本中谷歌就没有这个问题，这个高版本是谷歌浏览器

I reviewed your screenshot and realized that it's in dev mode.

You shouldn't use a non-latest browser for dev mode. Vite doesn't support legacy / outdated browsers in dev mode. Even if you want your app to support outdated / legacy browsers, you should dev in latest browsers and test the built bundle in your target browsers.
Please test if the built bundle (with yarn vite build) works in your outdated browser.


Azure managed grafana can support Azure Devops plugin?

We came across the article https://grafana.com/grafana/plugins/grafana-azuredevops-datasource/
Is any feature request or on-going work for supporting Azure Devops plugin with Azure managed grafana

This is already supported in Azure Managed Grafana. An enterprise license, which you can purchase from Azure Portal, is needed for this to work though.

@brahmnes Thank you !


fuse non-zero exit code

When I try to build my image using this builder with the command sudo packer build image.json, the build fails with the error message
==> arm-image: fuser -k /tmp/748879671
Build 'arm-image' errored: exit status 1

==> Some builds didn't complete successfully and had errors:
--> arm-image: exit status 1

==> Builds finished but no artifacts were created.

I looked into the exit status of fuser and if no one is accessing the file, the exit code is 1 so I think there might be a logic flaw in here somewhere.

I've narrowed the issue down to this provisioner in my JSON:
{
  "type": "file",
  "source": "public-ssh-key.pub",
  "destination": "/home/pi/.ssh/authorized_keys"
}

If I remove that, the image builds successfully.

Ah, I think I discovered the issue.  According to the provisioner docs (emphasis mine):

This value must be a writable location and any parent directories must already exist.

I didn't bother to create the containing folders before copying them so I think that's why it was failing.  I also went ahead and specified the full path for the source file.  I'm building with docker so everything's mounted at /build.  The final block that works for me is:
    {
      "type": "file",
      "source": "/build/public-ssh-key.pub",
      "destination": "/home/pi/.ssh/authorized_keys"
    },


Using imagescarl throws error

I downloaded imagescalr and added it to the project.
When trying to rezise a image with Scalr.resize(this.chessImg, Scalr.Method.SPEED, Scalr.Mode.FIT_TO_WIDTH,
I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/imgscalr/Scalr$Method
	at main.ChessField.<init>(ChessField.java:26)
	at main.GameRenderAWT.<init>(GameRenderAWT.java:29)
	at main.Main.<init>(Main.java:21)
	at main.Main.main(Main.java:17)
Caused by: java.lang.ClassNotFoundException: org.imgscalr.Scalr$Method
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 4 more

I am sure that I have added th jar ro the project so i dont know why classes would be missing.

@LuposX
Hello, I have a question about the Chess game you made.
(I couldn't find any contact info so I am contacting you here)
How did you handle the scaling of the chesspiece icons, as I myself have tried multiple approaches but none were good enough (batik, imgscalr, svgsalamander). The icons are always a bit blurry even if I downscale from a 4k PNG.
Reading SVG's also seems to be a pain in Java.
If you could point me in the right direction, I'd really appreciate it!


Hotfix: Allow Apply Script quick pick to be dismissed

Hi again! Love all the new changes that have been made to Scriptify.
I noticed that when doing the Apply Script action, if you try to dismiss the quick pick using "Esc" it doesn't go away. You have to choose a script for it to go away. Thought I'd fix it! 😉

Hi Jordan!
Thanks for your feedback and your pull request, it's been merged ;)


Allow to choose explicitly the Fetch Type like eager or lazy

in reverse engineering dialog , we need an option to use Fetch Type  strategy like eager or lazy

Hi @samyomar ,
reverse engineering dialog means here Database reverse engineering ?

Yes.

This ticket has been closed as this functionality depends on NetBeans API so can not be implemented here.


How to file exception to ignore for the errors if they controlled by vendors (example  YANG config engine)

I came across devskim errors where they are controlled by yang config engine vendor.
can i file an exception to ignore those errors ? what is the procedure.

If the findings are in files you do not control you can use the -g or --ignore-globs argument to specify File Globs, which will exclude file paths that match the provided globs.


Add basic github action for regression testing

Adds a basic GitHub action regression test  to verify that basic awslocal commands are still working.
Can be extended with multiple other cases as well like:

More awslocal ... service calls
Different configurations
awscli v1 vs. v2
...

Thanks @alexrashed  for pointing out that this is still open :sweat_smile:


Bug fix

hi :) this is a fork of the original serverless stack output, maybe you meant to send a PR there? :)


made pg:pull help clearer

fixes #1416

Better, the wording there still makes it sound like you could/should be specifying a database name that exists already. What about something like:

TARGET_DATABASE will be created locally if it's a database name or remotely if it's a fully qualified URL

I like it. updated

:+1:


Add prometheus as a javaagent, add config and script support for prometheus

Add prometheus as a javaagent, add config and script support for prometheus

@cunningt it looks like you made the changes directly to the jboss/* and rhel/* files. We use [fish-pepper|https://github.com/fabric8io-images/fish-pepper], which uses template files in templates/* and generates the jboss and rhel images.
Please make your changes to the template files (where appropriate, some files may be image specific) and run fish-pepper to re-generate image files?
The PR should include both updates to templates and the generates images (since our Jenkins pipelines do not currently use fish-pepper to update the image files).

@dhirajsb : I went ahead and added the fish-pepper changes (sorry about missing that the first time).   I added a local block for the prometheus changes, and I've gone through and tested the jboss java and karaf images - prometheus seems to start and the metrics seem to be exposed on 9779 for me in minishift.

@cunningt LGTM, thanks!

@cunningt @dhirajsb Sorry, the PR escaped under my radar, but I wonder why not leveraging agent-bond which contains both, Jolokia and jmx_exporter ? (actually that's the whole idea of agent-bond to have only a single agent to attach).

@rhuss I think we decided on using jmx_exporter vs. agent-bond for maintenance (update jmx_exporter version directly rather than have to update agent-bond, release, update agent-bond version), but I think the long term plan may be to replace the jmx_exporter here with the hawkular java agent, which will include the jmx exporter and offer a secured http endpoint.


Disconnection issue

I need some packet logs to be able to fix the issue.
Instructions here: http://www.mpgh.net/forum/showthread.php?t=1249958

This is related to the other issue with invisible mobs.


ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (200,) + inhomogeneous part.

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (200,) + inhomogeneous part.
i m getting an error while running active learner.

+1
I am also running into this issue when running the NER demo.

This happens both for the NER and CLS demo.


[sgf.load] How to handle games with handicap

Hi,
I'm having a little fun coding a SGF to GIF converter.
It works pretty well for now, but I have a problem with handicap games.
When running the code:
...
game = sgf.load(name + ".sgf")
for s in game.get_default_sequence():
        move_sequence = game.get_default_sequence()[:1]
        game.play_sequence(move_sequence)
...

I get this error that pops:
File "C:\Users\olivi\Documents\SGFtoGIF\main.py", line 19, in start
    game.play_sequence(move_sequence)
sente.exceptions.IllegalMoveException: It is not currently white's turn

Am I doing something wrong?

Hi artphi, thank you for the issue. The problem could be an incorrectly formatted SGF file or it could be a bug. Could you please upload the SGF file you are trying to open?

Files.zip
Hi atw1020,
Thank you for the reply.
Here are two SGF files.
A 9x9 and a 19x19 with handicap.
I have the same problem with both files.
They are created from OGS

The sente SGF parser seems to be failing to parse handicaps which is a bug, thank you for reporting it. I'll try to fix it sometime in the next few days. May I add your files to the sente tests?

Thanks for the feedback!
Yes of course you can use the files.

Fixed in v0.4.3, Sorry that took so long


Fix all-capital strings in strings.xml

Summary:
As mentioned at #2873 , we should avoid using all-capital strings in strings.xml file, since this can cause some problems during translation. There are some all-capital strings under strings.xml file, they should be fixed, and capitalized in the java code or layout xmls depending on where they are used.
Note: While implementing this PR, many files can be edited. So please make sure you didn't change any extra lines, ie. inserting additional spaces.
Note2: Ideally can be implemented after #2931 is merged to prevent possible conflicts.

Hi,
I would like to contribute to this one. But I am a beginner who has no experiences of contributing to open source project on Github. May I ask a few questions?
I followed your instruction

I searched file named strings.xml, there are many files. I am not sure why one should I work on? some of them are not English.
For this task, do I need to create a separate branch? or I just edit on the original files then commit changes and pull requests?
Thank you very much for answering my questions.

Welcome to team @henryhucsc
1- Just the default one should be edited, others will be updated after translations by translators.
2- Yes you should create a new branch, see: https://github.com/commons-app/apps-android-commons/wiki/Developer-workflow

Thank you very much for answering my questions.
I just finished fixing all-capital strings in strings.xml and pulled request to master.

Hi,
I would like to contribute to this one. But I am a beginner who has no experiences of contributing to open source project on Github. May I ask a few questions?
I saw some issue and that already solved i am an complete beginner to opensource that why would you like to guide me

#2999 in this pull i made the necessary changes required in layout files and in the string value file

Hi,
I would like to contribute, I was reviewing the PR referenced to this issue and I have one question, Do you need fix all-capital string in java code?

Hi @charlygg , thanks for your interest. Actually this issue is not for all capital strings. Ie. "FAQ" is all capital and should be all capital. Additionally this issue is only for strings located in strings.xml file. On the other hand I believe this issue is solved by previous pull request of @sherlockbeard . I am not sure why github didn't close this automatically. Please don't hesitate to ask your further questions about contributing.

This ##3015 solves the issue.. Github didn't close this issue because pull reques't didn't followed our pull request template and didn't include issue link. Anyway, this one is solved.

@neslihanturan #2999 was the pr for it . But i by mistake pushed some other change it . Then i closed that to start a fresh pr (about which i forgot due to my exams)  . So this issue still exists . I will send pr in 24 hours.

Oh okay, sorry for the confusion. Please ping me when ready. I thought I merged your changes earlier though @sherlockbeard .


feat: populate relations [CU-257cnmv]

Ticket
https://github.com/VirtusLab/strapi-plugin-navigation/issues/147
Summary
Add the possibility to configure which relations should be populated in API responses. The population is configured per content type through the plugin's Settings page.
Test Plan

Create content type with relation attribute
Configure attribute to be populated
Test render method and check if API response is correct.

Task linked: CU-257cnmv Field populating per content-type


README: Add AUR package instructions

Hey,
I'm an Arch Linux package maintainer. I'm submitting this PR to let you know that I created the following packages for the installation of kbs2 on Arch Linux and other distributions that support installing packages from AUR:

kbs2 (builds from source)
kbs2-git (VCS/development package)

I also updated README.md about installation from AUR. (b943689) (resolves #77)
PS: I can also create a -bin package if you provide a pre-compiled x86_64 binary along with the release artifacts.
BR,
orhun.

This is fantastic, thank you! I can see about adding some pre-compiled x86_64 binaries to the tagged GitHub releases via the CI, similarly to how Debian packages are currently built.

You might want to check this out. I don't know if it fits your current CD but the abstract is there. Also it'd be awesome if you provide (SHA or MDA) checksums with the binary.

Thanks for the reference. Yeah, something close to that should mesh well with the current setup. I'll look at doing it tonight (EST).

Okay, I've gone ahead and done the relevant CI/CD plumbing. v0.1.6 will be the first non-rc release to have a tarball and SHA2-256 attached to its release.
I'll go ahead and merge this now, feel free to open a follow-up PR if anything needs to be changed!

Alright, here's the -bin package: https://aur.archlinux.org/packages/kbs2-bin/

Awesome, thanks for taking the time to package everything!
Sent from mobile. Please excuse my brevity.

On Oct 7, 2020, at 2:35 PM, orhun<EMAIL_ADDRESS>wrote:

Alright, here's the -bin package: https://aur.archlinux.org/packages/kbs2-bin/
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update mjml-react home

Faire has taken over maintenance of mjml-react and has it in a stable state
v2 = perfect replica of https://github.com/wix-incubator/mjml-react
v3 = minor improvements on v2 that help with maintainability and types (LTS)
v4.beta = new features
cc: @daliusd (from https://github.com/wix-incubator/mjml-react)

I can confirm that @IanEdington is right. BTW, @IanEdington are you using Vim/Neovim?

@daliusd yes I use vim pretty regularly. Why do you ask?

@daliusd yes I use vim pretty regularly. Why do you ask?

I have noticed this in your commit:

You can avoid this by setting fixeol to false.


Parse some SIO/DMA-related data in ADT

This makes the dp-audio addresses visible. E.g. on t8103 on the sio node, look at the SAUD device in the dmashim list:
            dmashim = [Container:
    name = u'SSPI' (total 4)
    base = 0x0000000235100000
    length = 0x0000000000100000
    unk1 = 0x0000000D
    unk2 = 0x0000000E
    unk3 = 0x0000000F
    stride = 0x00004000, Container:
    name = u'SUAR' (total 4)
    base = 0x0000000235200000
    length = 0x0000000000100000
    unk1 = 0x00000001
    unk2 = 0x00000002
    unk3 = 0x00000003
    stride = 0x00004000, Container:
    name = u'SAUD' (total 4)
    base = 0x0000000238300000
    length = 0x0000000000100000
    unk1 = 0x0000001E
    unk2 = 0x0000001F
    unk3 = 0x00000020
    stride = 0x00004000]

This breaks running macOS under the hypervisor. It panics with:
RTBuddy(AOP): Boot args override: wdt = -1
panic(cpu 0 caller 0xfffffe001687c650): "RTBuddy(AOP)::getSegmentMap " "OSArray *RTBuddy::getSegmentMap() const:2438: REQUIRE failed: iterator == nullptr" @RTBuddy.cpp:2438

That's weird.

This is change breaks the ADT parsing. On a freshly booted system
python3 -m m1n1.adt -r ref.adt
tools/chainload.py -r ../build/m1n1.bin
python3 -m m1n1.adt -r broken.adt

ref.adt and broken.adt differ and the second adt fetch throws following assertion:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/janne/src/m1n1/proxyclient/m1n1/adt.py", line 879, in
assert adt_data[len(new_data):] == bytes(len(adt_data) - len(new_data))
AssertionError


Fetching Kafka version also for custom images.

We should improve how we handle fetching the Kafka version. Currently, we retrieve such versions based on our image pattern but in case someone uses his own custom image then it could potentially fail. Motivation comes from [1]
[1] - https://github.com/strimzi/test-container/pull/111#discussion_r1840755873

Triaged on 14.11.2024: This makes sense to be implemented.


Allow empty transformer

Some context; my read models are currently implementing JsonSerializable to do transformation, so I don't need dedicated transformers (yet). But I am using Fractal to do pagination etc.
Currently the code will trigger this error if you don't pass a transformer:
Call to a member function setCurrentScope() on null

This PR checks if you have actually provided a valid transformer so that you can use jsonSerialize if wanted :)

we usually have something like
class NoopTransformer
{
    public function transform($whatever)
    {
        return $whatever;
    }
}

$manager->item($item, new NoopTransformer());

Is there a reason not to do something like:
$manager->item($item, MyReadModel::class.'::jsonSerialize');

@greydnls I agree, the idea of a transformer is to transform data, you can just pass through the data as an array if you want nothing to happen to it, this is unnecessary bloat IMO.


Azure: azure.mgmt.monitor python SDK, generates inconsistent OpreationName localized_value

Issue: Python SDK "azure.mgmt.monitor" generates inconsistant opreationName localizedValue.
Expection: Python SDK "azure.mgmt.monitor" should generate consistent localized_value
Steps to reproduce issue:

Scenario A: Activity log of unattached disk deleted on - 2022-05-03

                    old_90 = today - datetime.timedelta(days=int(90))
                    id = rsourceid
                    fl = ("eventTimestamp ge '{}' and eventTimestamp le '{}' and resourceGroupName eq '{}' and resourceId eq '{}' and resourceType eq 'Microsoft.Compute/disks' and status eq 'Accepted'".format(old_90,today,resource_grp_name,id))
                    activities = client.activity_logs.list(filter=fl, select=None)
                    for lg in activities:
                        print(lg.operation_name)

Output:
{'additional_properties': {}, 'value': 'Microsoft.Compute/disks/delete', 'localized_value': 'Microsoft.Compute/disks/delete'}

Scenario B:  Activity log of unattached disk deleted on - 2022-05-13
Same code used as above.
Output:

{'additional_properties': {}, 'value': 'Microsoft.Compute/disks/delete', 'localized_value': 'Delete Disk'}

Scenario A provides incorrect 'localized_value', and in scenario B we got correct localized_value.

This appears to be a python SDK issue. This page is for azure documentation feedback and issues only. If you feel there is a documentation issue please link to the page. Otherwise I recommend opening your issue with the SDK team.
https://github.com/Azure/azure-sdk-for-python/issues

Raised below bug with SDK team.
https://github.com/Azure/azure-sdk-for-python/issues/24538


Upgrade ruby/setup-ruby v1.174.0 -> v1.199.0

This upgrade unblocks #1391. Opening the PR manually because Renovate currently can't open GitHub Actions upgrade PRs. Flagged that internally.
Suggested commit message:
Upgrade ruby/setup-ruby v1.174.0 -> v1.199.0 (#1392)

See:
- https://github.com/ruby/setup-ruby/releases/tag/v1.175.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.176.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.177.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.178.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.179.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.180.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.181.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.182.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.183.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.184.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.185.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.186.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.187.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.188.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.189.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.190.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.191.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.192.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.193.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.194.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.195.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.196.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.197.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.198.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.199.0
- https://github.com/ruby/setup-ruby/compare/v1.174.0...v1.199.0

Suggested commit message:
Upgrade ruby/setup-ruby v1.174.0 -> v1.199.0

See:
- https://github.com/ruby/setup-ruby/releases/tag/v1.175.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.176.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.177.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.178.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.179.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.180.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.181.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.182.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.183.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.184.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.185.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.186.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.187.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.188.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.189.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.190.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.191.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.192.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.193.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.194.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.195.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.196.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.197.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.198.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.199.0
- https://github.com/ruby/setup-ruby/compare/v1.174.0...v1.199.0


set_buzzer_active, set_led_active and set_live_tracking_active methods don't work

When I try to call these methods (with the parameter True), the service returns:
{'active': False, 'started_at': None, 'timeout': 300, 'remaining': 0, 'pending': True}

and nothing happens.

Do the functions work from the app? The response with 'pending: True' seems ok in this case. What events do you receive after you call the function?

Strange, today everything works. Yesterday I tried 2 hours with no success. The service didn't send any event after calling the functions, but app control worked.

We can close the case because I am unable to reproduce the problem.


The docs site should use independent scrolling for the nav pane and the content area

Issue / Steps to reproduce the problem

Visit http://docs.identityserver.io/en/release/
Scroll the content area

Expect
The nav pane should not scroll.
Actual
The nav pane is scrolled.

If you know how to "fix" this - let us know...

Do you mean it's not an issue or something out of control?

No, he means we use "readthedocs" and we don't have that much control over their UI. Unless you know how to tweak their code to fix it.

It's possible to add custom CSS or JS. Anyway, I think I should move this issue to Read the Docs's repo.

It may be on purpose? This way you can scroll anywhere on the page to move the navbar.. I think I might be "feature not a bug"ing this though...

@Mardoxx As a user, what do you think? To me, it's a bug. The nav pane tells me what article I'm reading and what previous/next articles are. With independent scrolling, I can easily jump to related articles without having to scroll everything. For example, while reading Token Endpoint, I may want to jump to Authorize Endpoint or End Session Endpoint.

tbh - I don't care. We already agreed that this a more appropriate discussion for the RTD repo.


Embed block support

Hi
I have made custom implementation for embed block parsing, supporting Vimeo and Youtube. If maintainers are interested, I can make PR.

Hello @mikeoaklet
Please feel free to make a PR. I'll have a review and publish it.


adding bulk function to the code so we can send many rules with one payload (feature request)

adding bulk function to the code so we can send many rules with one payload

I believe we have this feature in 20190910.0 release


Locust starts throwing failures when users > 130 (OS X)

I got locust installed on Macbook Air
The test is very basic, only one page is tested:

from locust import HttpLocust, TaskSet, task

class UserBehavior(TaskSet):
    def on_start(self):
        pass

    @task
    def profile(self):
        self.client.get("/nonprofit/ifrc/articles/125585")

class WebsiteUser(HttpLocust):
    task_set = UserBehavior
    min_wait=5000
    max_wait=15000

and the user load is very small obviously.
GET	/nonprofit/ifrc/articles/125585	ConnectionError(MaxRetryError("HTTPConnectionPool(host='www.qammado.com', port=80): Max retries exceeded with url: /nonprofit/ifrc/articles/125585 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10ad788d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',))",),)

image

Hmm, that sounds like a DNS error. What happens if you use the IP-address as host (and set the Host header manually, if needed)?

DNS is Route 53 and I don't thing that's the issue as I could run 250-500 concurrent users using other tools. I cannot simply use IP address as a host because there's an nginx box in front of it and its serving 3 different sites.

and set the Host header manually, if needed)?
where would that do that with my current setup?

i might have found something, there is another failure down the log... too many open files

where would I do that with my current setup?

self.client.get("/nonprofit/ifrc/articles/125585", headers={"host":"my-custom-domain"})

i might have found something, there is another failure down the log... too many open files

Ah, that's probably it (http://docs.locust.io/en/latest/installation.html#increasing-maximum-number-of-open-files-limit). You should increase the maximum number of open files. I don't remember exactly how to do it in OSX but it should be easy to google it.

yes that's the problem ! thanks. Just in case if someone stumbled upon the same issue the command is:
unlimit -n 1024
there are other ways of setting it up as well
closing it

@heyman - in fact there were 2 issues and using ip address along with passing the header fixes the original issue reported
ConnectionError(MaxRetryError("HTTPConnectionPool(host='www.qammado.com', port=80): Max retries exceeded with url: /nonprofit/ifrc/articles/125585 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10ad788d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',))",),)

@rafalf typo on it! the correct code is ulimit -S -n 1024

I have the same errors on macOS, but when I type ulimit in the terminal t outputs unlimited, so I guess there is something else going on.
Is there any way to fix it? Same config - Route53, arounf 20% of requests failing with
ConnectionError(MaxRetryError("HTTPSConnectionPool(host=\'REDACTED\', port=443): Max retries exceeded with url: /v1/redacted (Caused by NewConnectionError(\'<urllib3.connection.VerifiedHTTPSConnection object at 0x1139ffc18>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known\'))"))'

Oops, my bad.
The proper way to check for number of file descriptors on MacOS currently is:
ulimit -n

or you can use this to see all limits:
ulimit -a

Mine was 256, changed it to 4096 and the issue was resolved:
ulimit -n 4096

Note: changes don't persist and last current terminal session only.


Question related to TREL and Thread 1.4 Certification in Thread Harness

Describe the bug A clear and concise description of what the bug is.
Hi @abtink,
In Thread 1.4 certification tests, there is a test, TREL 8_4 Radio Link (Re)discovery through Receive, which fails.
After the topology is created as in the attached picture, ROUTER will begin sending ping packets to ED, this leading to increase of TREL radio link preference. After 10 pings are sent, TREL connectivity on ROUTER is disabled and another round of 10 pings is issued, from ROUTER to ED.
First ping request packet is not present on the Wireshark capture. Second ping request packet is present, but no reply is received on ROUTER side.
For first packet, in radio_selector module, selectedRadio will be set to ot::Mac::kRadioTypeTrel as RadioTypeTrel is the first item in radio type list and also has the highest preference. When in reaches Interface::Send in trel_interface.cpp, mEnabled is set to false, as trel disable has been previously issued, this leading to a kErrorAbort return of Interface::Send. Preference will then be decreased, and the next ping packet will be sent on 15.4; The reason that a reply is not present for the second request might be the same scenario described, but this time on DUT side.
On ROUTER side, before and after first ping packet is sent:

On DUT side after second and third packets are sent:

Based on what I've understand from the code, in this test scenario, there is no chance for a reply to be captured and validated for the first 2 ping request packets.
That being said, what is your thought on this? Is there something that can be improved, like when TREL module is disabled link preference to be decreased in order to avoid possible packet loss, or should the validation be modified to take into account packets only when TREL preference is lower than 15.4 one? (Issuing multiradio neighbor list and determine the preference)
To Reproduce Information to reproduce the behavior, including:

Git commit id : 4cc1ffd17439db6e0b97b010ad00043d7509f246
IEEE 802.15.4 hardware platform
Build steps
Network topology

Thanks @Cristib05.
I think this certification test is validating the "multi-radio" behavior. I expect it to almost mirror (be very similar to) the cli/test-702-multi-radio-discovery-by-rx.py test in OT.
The gist of the test is to check whether the "radio link" preference is correctly updated when we receive a message from a neighbor over that radio link.
Let me give a summary of the test steps. Here is the toplolgy
# -----------------------------------------------------------------------------------------------------------------------
# Test description: This test covers behavior of a device after the TREL network is temporarily disabled
# and rediscovery of TREL by receiving a message over that radio from the neighbor.
#
#     r1  ---------- r2
# (15.4+trel)     (15.4+trel)
#
#  On r2, we disable TREL temporarily.

We start by making sure r1 and r2 can talk to each other, and detect both 15.4 and TREL radio links, and prefer TREL.
Then we create a situation where r1 assumes r2 no longer supports TREL:

We disable TREL on r2 and send a bunch of message (ping or UDP) from r1 to r2 (which may fail).
We expect r1 to quickly detect that TREL is no longer supported by r2 and prefer 15.4 for transmitting to r2.

So far, the above steps are to create the situation for the main test.
We re-enable TREL on r2 and start sending messages from r2 to r1.

We expect r2 to use probe mechanism and try TREL to talk to r1.
r1 should then notice new message received on TREL from r2 and update its TREL preference for r1.

The main test is to validate that r1 detected TREL radio link through rx.

There is also cli/test-701-multi-radio-probe.py, which does similar checks (detecting through probes, etc).
Generally, during these tests, if some of the messages or pings are dropped, it is okay and expected; I don't expect these to be the condition for the test to pass.

That being said, what is your thought on this? Is there something that can be improved, like when the TREL module is disabled, the link preference is decreased in order to avoid possible packet loss, or should the validation be modified to take into account packets only when the TREL preference is lower than the 15.4 one?

The trel disable command (and its related otTrelSetEnabled() function) was mainly intended for testing—for example, emulating behavior where the infrastructure interface or Wi-Fi is down or not working.
As you mentioned, it just disables the "TREL interface," causing transmissions on TREL to fail with an ABORT error. It is then used to validate that the "multi-radio" code correctly detects such a situation,  adjusting the "radio link preferences".
I understand your suggestion to clear TREL "radio link preferences" for all neighbors upon trel disable. Logically, if we want to fully disable TREL, it may make sense to do so, but I am not sure if changing this would be good, as it may impact existing tests and how this command is being used today.


cio_ignore -k does not include '0.0.' prefix

Running cio_ignore -k to generate a kernel parameter entry omits the 0.0. prefix and only uses the full bus id for higher subchannel sets. E.g., on one of my systems I get
# cio_ignore -k
cio_ignore=all,!0900-0902,!7005,!7105,!7109,!7205,!7305,!0.1.5555

This is of course an entirely correct and working kernel parameter, but it looks a bit inconsistent to my eyes, especially as devices are always referenced by the full bus id in sysfs.
Would it make sense to make this more uniform? Or is saving a few characters the idea here?

leading zeros are omitted by all s390-tools tooling, udev qeth interface naming. I.e. inputs to lszddev, chzdev etc. Thus it is redundant information.

This behavior is based on a conscious design choice. Given that the s390 kernel command line is limited to ~900 characters and there were already numerous cases where this limit was an issue, saving the character here makes sense.

Closing as per previous comment.


add case-preserving replace text method

write original in lex probably and then use it in spell.Edit and search/replace

lex.MatchCase -- simple and works well


WIP: Try to activate V3 API

[x] - create integration test
[x] - reactivate API
[ ] - fix integration test

/cc @xavierzwirtz

@xavierzwirtz do you see the issue?

I have most of the issue resolved, working on some minor differences between the lock file generated against a V2 api and a lock file generated against a V3 api.

I have submitted a pr (#1216) that fixes most of this issue.
I updated your regression test to compare the paket.lock when run against the v2 api and the v3 api. There is only one difference now,, and I believe the bug is actually in the v2 api.
From what I can tell FSharp.Data depends on Zlib.Portable (1.11.0), but when using the v2 api it doesnt register a dependency for Zlib.Portable (1.11.0).

so you found a bug in our v2 implementation?

I think so, I'd like you to take a look at it.
On November 12, 2015 1:18:29 PM Steffen Forkmann<EMAIL_ADDRESS>wrote:

so you found a bug in our v2 implementation?

Reply to this email directly or view it on GitHub:
https://github.com/fsprojects/Paket/pull/1212#issuecomment-156206501

looks like v2 is correct. ZLib.Portable is only used for portable projects.

I was not calling the right method to parse framework dependencies. Fixed that. Also added caching in.
The integration test is passing now.

Awesome.
Will look into this tomorrow. Thanks buddy

No problem, glad this was caught quickly.
On November 12, 2015 3:15:04 PM Steffen Forkmann<EMAIL_ADDRESS>wrote:

Awesome.
Will look into this tomorrow. Thanks buddy

Reply to this email directly or view it on GitHub:
https://github.com/fsprojects/Paket/pull/1212#issuecomment-156235889

Submited pr #1222
I rewrote the v2 and v3 getDetails to use a single cache function.
Also changed the behavior of the cache. When an error occurs it doesnt write an error file, it simply falls back to the api. Logs to the console with traceWarnfn.

the error file was a idea that future runs of paket don't have to retry the same API call

Requires the user to call paket with force to blow them out though, doesn't it? Feels rather irritating from a user perspective, but I can understand if that's out of scope for this pr.

yes, but the idea was: if all calls failed (e.g. because of error files) we
will also throw error files away and retry.
 Feels rather irritating from a user perspective, but I can
understand if that's out of scope for this pr.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1212#issuecomment-156492268.

Ah, okay. I think I missed that in the v3 implementation of caching.

I tested the old implementation of the v2 api's caching, if an error file exists you have to run paket with -f.

maybe things got broken. ;-)
2015-11-13 18:25 GMT+01:00 Xavier Zwirtz<EMAIL_ADDRESS>
I tested the old implementation of the v2 api's caching, if an error file
exists you have to run paket with -f.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1212#issuecomment-156493945.

I think so. Would you like me to try to re-implement the behavior you describe?

if you think it's useful.
I don't really know if it's still needed, since we also change to
Async.Parallel and Async.Choice combo
2015-11-13 18:27 GMT+01:00 Xavier Zwirtz<EMAIL_ADDRESS>
I think so. Would you like me to try to re-implement the behavior you
describe?
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1212#issuecomment-156494273.

I think the way it works right now, without error files, is simpler and not any slower. Your probably right, the async work makes it not needed.

Ok. Then please drop the error files. I never really liked them anyways.
Actually I'm happy to get rid of these.
On Nov 13, 2015 18:30, "Xavier Zwirtz"<EMAIL_ADDRESS>wrote:

I think the way it works right now, without error files, is simpler and
not any slower. Your probably right, the async work makes it not needed.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1212#issuecomment-156495012.

Heh, awesome. Thats done in the current state of the pr.
On 11/13/2015 11:35:10 AM, Steffen Forkmann<EMAIL_ADDRESS>wrote:
Ok. Then please drop the error files. I never really liked them anyways.
Actually I'm happy to get rid of these.
On Nov 13, 2015 18:30, "Xavier Zwirtz"<EMAIL_ADDRESS>wrote:

I think the way it works right now, without error files, is simpler and
not any slower. Your probably right, the async work makes it not needed.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1212#issuecomment-156495012.

—
Reply to this email directly or view it on GitHub [https://github.com/fsprojects/Paket/pull/1212#issuecomment-156496026].