Two sections of foundation/records/index.md are out of date

Listings of records for two sections of foundation/records/index.md are out of date.

The most recent IRS form 990 Annual Report is for 2016-2017
The most recent Delaware Annual Report is for 2010-2011

If these reports are no longer submitted, there should be a note in index.md saying so. Otherwise, it would be good to bring this archive up to date.

@gstein for the correct updates.

We do have a couple newer Form 990s. @myrle-krantz (Treasurer) is thinking that they'll get hosted over on treasurer.a.o (via treasurer-site), so records/ area would turn into a link over there. She suggested that @clr-apache (Asst Treasurer) might wanna tackle getting the 990s moved, and updating that records/ page.

Looks like this has been resolved - 2021-2022 is the latest 990 now.


Not to translate hostname example

On System > Settings > General, hostname example is translated.

(Like: "Example: ファイヤーウォール" for hostname)
Same as here:

This example contains invalid characters.

(This alerts says that hostname can contain only a-z, 0-9, and -, which is correct.)
As long as I see, Czech and Japanese are affected. French, on the other hand, seems to have a French text which is valid hostname: "pare-feu".

Nice catch. It would be better to remove the line completely plus the br-tag above to simplify (it's a cluttered sentence and thus hard to translate cleanly)

I removed it. I noticed "without domain part" would do a job rather than this example.

Yes, exactly, thank you very much... merged! :)


ui updated

Related Issue
#1519
@arghadipmanna101
Description

Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist:

[ ] I have performed a self-review of my code
[ ] I have read and followed the Contribution Guidelines.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

resolve conflicts.

resolve conflicts.

Will do asap

@arghadipmanna101 conflicts fixed 👍


Do we need to increase number of epoch when we are using model.fit_generator instead of model.fit?

I am already aware of some discussions on how to use Keras for very large datasets. But I saw something interesting! When I am using model.fit, my loss decreases to 0.3 with number_epoch=4. But when I am using model.fit_generator, my loss decreases to 0.3 by number_epoch=12. Do you have any idea?
I put my script here just in case:
`def generate_reduced_dimension_arrays_from_file(ilist_a, edfroot_a, featroot_a, labroot_a, feat_ext_a, lab_ext_a, num_channels_a, feat_fdur_a, win_len_a, models_order, ipca_model):
while True:

    # loop over all input list files
    #
    for i in range(0, len(ilist_a)):

        # read a list of edfs into memory
        #
        edf_list = [line.rstrip('\n') for line in open(ilist_a[i])]

        # loop over all the edf files inside the list.
        #
        for edf_path in edf_list:

            # numpy arrays befor applying IPCA.
            #
            d_raw_np = []
            a_raw_np = []
            train_set_x = []
            train_set_y = []
            d_ipca = []
            d_raw_np, a_raw_np = generate_arrays_from_file(edf_path, edfroot_a, featroot_a, labroot_a, feat_ext_a, lab_ext_a, num_channels_a, feat_fdur_a, win_len_a, models_order)

            # apply IPCA on data
            #
            d_ipca = ipca_model.transform(d_raw_np)
            print "d_ipca.shape = " , d_ipca.shape

            # reshape data and annotation for LSTM.
            # This is a requirement for Keras.
            #
            train_set_x = np.reshape(d_ipca, d_ipca.shape + (1,))
            train_set_y = np.reshape(a_raw_np, a_raw_np.shape + (1,))
            yield (train_set_x, train_set_y)

...
# define LSTM model
#
print "Build LSTM model ..."
lstm_model = Sequential()
lstm_model.add(LSTM(lstm_batch_size_a, input_shape=(ipca_output_size_a, 1)))
lstm_model.add(Dense(1, activation='sigmoid'))
lstm_model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
print(lstm_model.summary())
lstm_model.fit_generator(generate_reduced_dimension_arrays_from_file(ilist_a, edfroot_a, featroot_a, labroot_a, feat_ext_a, lab_ext_a, num_channels_a, feat_fdur_a, win_len_a,    models_order, ipca_model),
    samples_per_epoch=80000, nb_epoch=12)`

You should not, no; all things equal, fit and fit_generator should behave the same.
To determine why not, a couple of questions:

Please post the fit() code you are comparing against
How many samples, total, are there in your files, if you were to just open and read all of the files? "Epochs" tells us nothing, unless we know how many samples there are per epoch.

I have totally 35372 sample. I ran lots of experiment in last few days and the results showed me that fit and fit_generator do not behave the same.
Additionally this is the fit() code:
`    d_raw_dlin = []
a_raw_dlin = []
# read label parameter file for deep learning.
#
models, models_order = nru.nedc_get_overall_labels_param(labels_param_a)

# loop over all input list files
#
for i in range(0, len(ilist_a)):

    # read a list of edfs into memory
    #
    edf_list = [line.rstrip('\n') for line in open(ilist_a[i])]

    # loop over all the edf files inside the list.
    #
    for edf_path in edf_list:

        # extract basename and creat the file path for feature and annotation files.
        #
        print "begin to process", edf_path
        basename = os.path.splitext(os.path.basename(edf_path))[0]

        htk_path = edf_path.replace(edfroot_a,featroot_a)
        htk_path = htk_path.replace(os.path.splitext(os.path.basename(edf_path))[1], ("." + feat_ext_a))
        htk_dir = os.path.dirname(htk_path)

        lab_path = edf_path.replace(edfroot_a,labroot_a)
        lab_path = lab_path.replace(os.path.splitext(os.path.basename(edf_path))[1],("." + lab_ext_a))

        # load features data
        #
        feats_data = nru.nedc_get_feats(basename,
                                        htk_dir,
                                        num_channels_a,
                                        feat_ext_a);

        # load overall annotations
        #
        annotations = nru.nedc_get_overall_annotations(lab_path)

        # calculate the frame rate ratio from the actual frame duration
        # and the value implied by HTK
        #
        fr_ratio = HTK_FDUR / feat_fdur_a

        # compose the input for deep learning input.
        # In fact here, we copmes the input just for
        # part of data that we have annotations.
        #
        for stime in range(len(annotations)):

            # define empty lists for each element of data and annotations.
            #
            d_raw_dlin_element = []
            a_raw_dlin_element = []

            # extract start time, stop time and the label from annotations.
            #
            start_time = annotations[stime][0]
            stop_time = annotations[stime][1]
            label = annotations[stime][2]

            # extract the event id for the related label.
            #
            event_order, a_raw_dlin_element = models_order[label]

            # covert start_time and stop_time from HTK scale
            # to second.
            #
            start_time = start_time / (fr_ratio * HTK_TIME_SCALE)
            stop_time = stop_time / (fr_ratio * HTK_TIME_SCALE)

            # compute start index and stop index for reading HTK files
			# based on window length and frame epoch duration
			#
            winh = int(round(win_len_a - (stop_time - start_time)) / 2)
            start_index = int(round((start_time - winh) / feat_fdur_a))
            stop_index = int(round((stop_time + winh) / feat_fdur_a))

            # if start index and stop index remains in the range of feats data
            # then read and append the related data and annotations
            #
            if (start_index >= 0 and stop_index < len(feats_data[0])):
                for tindex in range(start_index, stop_index):
                    for ch in range(num_channels_a):
                        for ft in range(len(feats_data[ch][tindex])):
                            d_raw_dlin_element.append(feats_data[ch][tindex][ft])

                # apend the related elements to lists for data and annotations.
                #
                d_raw_dlin.append(d_raw_dlin_element)
                a_raw_dlin.append(a_raw_dlin_element)

# convert lists of data and annotations to numpy arrays
#
d_raw_np = np.asarray(d_raw_dlin)
a_raw_np = np.asarray(a_raw_dlin)
print "d_raw_np.shape = " , d_raw_np.shape
print "a_raw_np.shape = " , a_raw_np.shape

# apply IPCA on data read from HTK.
#

# train IPCA model.
#
print "Build IPCA model ..."
ipca = IncrementalPCA(batch_size=ipca_batch_size_a, n_components=ipca_output_size_a, copy=True)
d_ipca = ipca.fit(d_raw_np)
d_ipca = ipca.transform(d_raw_np)
print "d_ipca.shape = " , d_ipca.shape

# save IPCA model.
#
print "Save IPCA model to " + odir_a + "/ipca_model" + " ..."
ipca_output_model_file = odir_a + "/ipca_model"
model_file = open(ipca_output_model_file, "wb")
cPickle.dump(ipca, model_file, protocol=cPickle.HIGHEST_PROTOCOL)
model_file.close()

# train LSTM deep learning network by the output of IPCA.
#
print "Build LSTM model ..."

# reshape data and annotation for LSTM.
# This is a requirment for Keras.
#
train_set_x = np.reshape(d_ipca, d_ipca.shape + (1,))
train_set_y = np.reshape(a_raw_np, a_raw_np.shape + (1,))
print "train_set_x_shape=", train_set_x.shape
print "train_set_y_shape=", train_set_y.shape

# build LSTM and train it.
#
model = Sequential()
model.add(LSTM(lstm_batch_size_a, input_shape=train_set_x.shape[1:]))
model.add(Dense(1, activation='sigmoid'))
model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
print(model.summary())
model.fit(train_set_x, train_set_y, validation_data=(train_set_x, train_set_y),
      nb_epoch=lstm_epoch_size_a, batch_size=lstm_batch_size_a)`


⚠ Samsung has degraded performance

In 83d8941, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 5898 ms

Resolved: Samsung performance has improved in 0c0cb1c.


FID result can‘t match

After testing Reproducing TiTok-L-32 and running the eval script, the FID is approximately 8.7 and cannot be matched I ran the script many times

Hi, please double check if you have generated 50000 samples, telling from the progress bar under "computing sample batch activation" you seem do not have 50000 samples.


#588 change columnName to columnLabel

Description
Column labels and column names do not match in mysql
Related Issue : #588
How Has This Been Tested?

go to mysql workbench.
execute query.

show tables;
select id, id as id1 from polaris.book;

see result.

Types of changes

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

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Additional Context

run build
deploy to 2


Move beauty template assets to it's sub-directory.

This demonstrates the change proposed to accommodate the increasing number of story templates.
If everything looks good we can propagate the change to other story templates.

closing this in favour of #504


self signed cert not work

Hi all
I have generated a wildcard cert for *.ngrok.io, but when i run AudioVideoPlaybackBot, i got:
InnerException = {"Cannot access the certificate's private key. Make sure that the process has enough permissions to access the private key. Only CSP-stored certificates are supported by the media platform, CNG/KSP certificates are not supported."}

Please help
Thanks
Peter

Self-signed certificates are not supported by the bot media SDK (Microsoft.Skype.Bots.Media).

I got around this by using a LetsEncrypt cert.  Check out https://github.com/rmbolger/Posh-ACME for a powershell-based library that makes it really easy to generate free certs.  If you set up your DNS on Azure, it's one line of powershell to get a *.yourdomain.com cert that's trusted by everything.


Fix some bugs for seq2seq model

What does this PR do?

Update self.device when sending the model. -> #365
Fix IO binding for the generation with num_beam > 1

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[API] Multi-objectID search

It would be good to be able to send a list of objectId instead of looping over the api (would reduce traffic).

Done.


hey man can i ask something about your projects

Hello,
Yes No Problem !

I'm having an issue with your project "fortool" I know it's archived but i really need help with it

Yes, What can I help you with ?

I keep getting random errors like Unknown column 'pseudo' in 'where clause' was the code working fine for you or is it broken


Backend paused for 10 ms in response to put

Hello,
we have riak 2.2.3 cluster and decided to extend it with riak 2.9.1 node with leveled backend. During handoff we see a lot of warnings like:
Backend 0 paused for 10 ms in response to put

but actually there is no high I/O or network activity on host, only on CPU.
So, what does that message mean? Is there any configuration options to eliminate pauses or what configuration option/host system/etc we should pay attention in that situation?

When there is a backlog of changes building up in leveled memory it will pause the vnode to allow it to catch-up.
It is configurable via riak.conf - https://github.com/basho/riak_kv/blob/develop-2.9/priv/riak_kv.schema#L155-L163
The aim of the pause is to prevent unbounded growth in memory of key changes not persisted to the ledger (the actual change will already have been persisted to the journal - so it doesn't impact data safety).   If you're going to reduce the pause, monitor memory usage by the beam - and potentially keep an eye on riak-admin top for memory usage within the beam.

You may be able to avoid the pauses by increasing the size of the leveled ledger_cache (again via riak.conf):
https://github.com/martinsumner/leveled/blob/master/priv/leveled.schema#L22-L27

Thanks for the response,
after inspecting node we discovered that problem was in native compression, we switched to lz4 and it looks like warning is gone (at last there is no warnings after node re-setup and restart).

Compression is applied to each object before it is persisted, and also to the SST files in the ledger when they're written.
Switching to lz4 makes compression quicker, and takes less CPU.  So the faster compression should mean that the L0 merge in particular is quicker, and you're therefore less likely to have an incomplete merge before the next attempt to push the ledger cache.
So that does make sense that changing compression, would reduce the possibility of having tha backend pause.


browse.py: fix delay with multiple connections

When Firefox opens two TCP connections and sends a request over the
second connection, it is not processed until the first one is closed.
Use a threaded server to solve this issue. Tested with Python 2.7.15 and
3.6.5. (Also tested with 2.6, but that failed due to lack of argparse.)
Link: https://bugs.python.org/issue31639

Rebased on master (no further changes).

Thanks!


Potential NPE fix

More idiomatic null-handling

Thanks for your contribution. I'll check it soonish and come back to you.


cannot use module.less in newest create-react-app

if use [component].module.less, will be cause error as follow

./src/pages/Login/Login.module.less (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-8-1!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--6-oneOf-8-3!./src/pages/Login/Login.module.less)
ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'localIdentName'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }

this is a break changes in css-loader. css-loader#2197
default config like this
{
      test: lessModuleRegex,
      use: getLessLoader({
        importLoaders: 2,
        modules: { localIdentName: localIdentName}
      })
    }

me too

me too

不要在代码中使用 xxx.module.less，使用xxx.less然后应用，或者是参考上面的把custom_cra那一块给改掉就可以了。

Simplest way to solve this:
  adjustStyleLoaders(({ use }) => {
    const [, css] = use;
    set(css.options, 'modules', {
      localIdentName: '[local]--[hash:base64:5]'
    });
  }),

You can still use less in your code with css module

It seems to be fixed until V1.0, related issue is #201, and the solution is to downgrade your css-loader to 2.1.1 .

It seems to be fixed until V1.0, related issue is #201, and the solution is to downgrade your css-loader to 2.1.1 .

Just tried customize-cra@next, it works now.

For those who don't want to upgrade to v1.0.0-alpha
You can use this workaround

adjustStyleLoaders(({ test, exclude, use: [, css] }) => {
  const file = 'index.module.less';

  if (test.test(file) && (!exclude || !exclude.test(file))) {
    css.options.modules = {
      localIdentName: css.options.modules.localIdentName,
    };
    css.options.localsConvention = 'camelCase';

    delete css.options.localIdentName;
  }
})


adjust_to_aspect_ratio ignores max_width/height

In the renderer, we crush the image down to max_width and max_height before fixing the aspect ratio. In fixing the aspect ratio, we then ignore the max width/height allowing one of the max values to be exceeded.
This problem I think is made worse by choosing to keep the larger of the width and height and adjust the smaller value? Just fixing this issue made the max_width/height values behave pretty much how I expected them to, although I know there are edge cases that need a more thorough solution.
I think that more thorough solution would be to keep the value that gets reduced the most. This way the other value with always shrink, and therefore cannot exceed it's max value.
I'm happy to submit a PR if the things that I'm saying make sense.

It makes total sense, thank you for catching this!
If you already made the change it please open a PR.
Unrelated, are you using the plugin with Kitty and what are you using it for?
I'm working on a refactor to make the API more friendly to make things like https://github.com/3rd/image.nvim/issues/17 possible, and refactoring the document syntax integrations as well. Do you have any suggestions or things you'd wish for?
Thanks again for the contribution!

I'm running wezterm + tmux these days. I'm a student in a class where I have to work with jupyter notebooks with matplotlib. I'm trying to get my setup into a good spot so that I can work on that stuff pretty seamlessly from neovim.
I chose to use magma-nvim for the jupyter kernel and code running, which is working great, but the magma implementation of kitty image protocol is a little buggy and I'm not trying to fix that, I'd rather just outsource the work of rending images to this plugin.

That's super cool and Magma looks sick!


Could not reach the server in 1.1.404

The client is displaying the following error when upgrading to 1.1.404 from 1.1.402:

Could not reach the server

Inspecting the network we see that socket.io connections returns plain HTML:

The url requested seems correct:
http://localhost:8000/chat/ws/socket.io/?EIO=4&transport=polling&t=P76zd9L
Steps to reproduce the behavior:

Clone this repo: https://github.com/Tug/chainlist-minimal-test-case
Make sure you have poetry installed
make
Load http://localhost:8000/chat/

Expected behavior
The socket.io client should be able to establish a connection with the server
Environment
Desktop

OS: macOS
Browser: chrome
Version 126

@Tug Thanks for your report.
Could you please try and validate whether #1337 resolves your issue?

@dokterbob Just tested, it does fix the issue 👍  thx

@Tug We're shipping a fixup release today.

Appreciate you provide such a clear test case. Thanks!


Update deprecated dependency

The fabpot/php-cs-fixer library has been deprecated and should be replaced by the friendsofphp/php-cs-fixer library.
At the moment, the only problem encountered while keeping the library is a warning display in the console during composer usage. It might change in the future though.
See #18

@theofidry I changed the version of the library back to 2.0

Thank you @aledeg.

My pleasure


minor updates to the substrate doc crate

bot fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate-macos
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3242093


Native crash when calling DevolayReceiver.close()

Hi there :)
I am using the following code to capture frames using NDI and this library:
class NDIIssueSampleCode {
    var isConnected: Boolean = false
        private set

    var sourceName: String = "myNdiSource"
    var ndiGroup = "myNdiGroup"
    var ip = InetAddress.getLocalHost()

    private val finder = DevolayFinder(true, ndiGroup, ip.hostAddress)
    private var devolayReceiver: DevolayReceiver? = null
    private var captureThread: ThreadWithCancelFlag? = null

    fun connect(onNextFrameReceived: (frame: Mat) -> Unit) {
        if (isConnected) return
        logger.debug("Connecting to NDI source '${sourceName}'...")

        logger.debug("Searching source in available sources...")
        finder.waitForSources(0)

        var source: DevolaySource? = null
        val endTime = LocalDateTime.now().plusSeconds(30)
        while (source == null && LocalDateTime.now().isBefore(endTime)) {
            source = finder.currentSources.firstOrNull { it.sourceName == sourceName }
        }
        if (source == null) {
            disconnect()
            throw NoSuchElementException("Source '${sourceName}' not found on the network.")
        }

        logger.debug("Source found, connecting...")
        val receiver = DevolayReceiver(DevolayReceiver.ColorFormat.BGRX_BGRA, DevolayReceiver.RECEIVE_BANDWIDTH_HIGHEST, false, null)
        receiver.connect(source)
        this.devolayReceiver = receiver

        logger.debug("Starting NDI capture thread...")
        captureThread = createAndStartConnectThread(receiver, onNextFrameReceived)
    }

    private fun createAndStartConnectThread(receiver: DevolayReceiver, onNextFrameReceived: (frame: Mat) -> Unit) =
        ThreadWithCancelFlag {
            Thread {
                manageResources {
                    val videoFrame = DevolayVideoFrame().closeLater()
                    val audioFrame = DevolayAudioFrame().closeLater()
                    val metadataFrame = DevolayMetadataFrame().closeLater()

                    while (!cancelled) {
                        val captureResult = receiver.receiveCapture(
                            videoFrame,
                            audioFrame,
                            metadataFrame,
                            1000
                        )
                        if (captureResult != DevolayFrameType.VIDEO) continue

                        val openCvFrame = videoFrame.convertToOpenCvFrame(DevolayFrameFourCCType.BGRA)
                        onNextFrameReceived(openCvFrame)
                    }

                    logger.debug("NDI capture thread exiting now...")
                }
            }
        }.also {
            it.thread.name = "ndi-capture-thread"
            it.thread.start()
        }

    fun disconnect() {
        logger.debug("Disconnecting from NDI capture...")
        isConnected = false
        captureThread?.let {
            it.cancelled = true
            it.thread.join()
        }
        captureThread = null
        devolayReceiver?.close()
        devolayReceiver = null
    }
}

However, when calling devolayReceiver?.close(), the JVM crashes in native code.
In summary, the NDI Sdk crashes with the following stacktrace:
Stack: [0x0000006471600000,0x0000006471700000],  sp=0x00000064716fce70,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0xabf81]
C  [ntdll.dll+0x3ab11]
C  [msvcrt.dll+0x1cadc]
C  0x000001b720ea3378

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  me.walkerknapp.devolay.DevolayReceiver.receiveDestroy(J)V+0
j  me.walkerknapp.devolay.DevolayReceiver.close()V+4
j  com.github.vatbub.myProject.capture.NDIInput.disconnect()V+71
// Stack trace shortened for NDA and brevity reasons...
j  java.lang.Thread.run()V+13<EMAIL_ADDRESS>v  ~StubRoutines::call_stub 0x000001b720e8100e

So, the crash happens somewhere in native code when trying to disconnect from the DevolayReceiver.
I am still debugging this, but here is the information that I found so far:

There is no pending (or in progress) call to receiver.receiveCapture() as the cancelled flag of captureThread is set first and the disconnect method waits for captureThread to exit (using it.thread.join()) before calling receiver.close().
The crash is reproducible.

One further hypothesis, which I cannot confirm right now, is that removing the call to receiver.close() avoids the crash, but it also seems to leave the connection to the NDI source open even though no further calls to receiver.receiveCapture() are made. The reason for this hypothesis is that when running the software in the field with a real NDI camera, I was observing a higher network bandwidth than I expected even though I was no longer calling receiver.receiveCapture(). However, since I don't have this camera available to me right now, I can only use NDI Tools to create simulated NDI sources which don't appear as network bandwidth in Task Manager.
If you are still actively developing this library, I would be very grateful if you could help me with this issue, as it is very difficult to find out what's going on there in native code.
Other than that, I really love this library and it made integrating NDI into my project so easy, so thank you very much and Cheers :)
The full crash log and crash dump are as follows:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffaacc7bf81, pid=16868, tid=6048
#
# JRE version: OpenJDK Runtime Environment Temurin-19.0.2+7 (19.0.2+7) (build 19.0.2+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-19.0.2+7 (19.0.2+7, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [ntdll.dll+0xabf81]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\git\myProject\hs_err_pid16868.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

crashDump.txt

Thank you for your report! This should be fixed by #33, thanks to @kmod-midori!


Revisit static code analysis (cppcheck + other tools)

This is a part of any security audit that we are going to go through in upcoming weeks so we should revisit our setup, fine tune it if possible and maybe use also some additional tools to make sure we are good

@JakubFornadel regarding the issue you described with cppcheck, I found the bug in cppcheck and reported https://sourceforge.net/p/cppcheck/discussion/development/thread/5c82c947a3/ let's what they think about that

I have also run clang static analyzer with following result

I have also run clang static analyzer with following result
scan-build: Analysis run complete.
scan-build: Removing directory '/tmp/scan-build-2022-03-16-144130-74295-1' because it contains no reports.
scan-build: No bugs found.

so I believe cpp-check with all the warnings on is just enough

I am reopening this issue. I did run the static analysis properly and found more than 200 reports, most of them are valid but not critical...

I have also run clang static analyzer with following result
scan-build: Analysis run complete.
scan-build: Removing directory '/tmp/scan-build-2022-03-16-144130-74295-1' because it contains no reports.
scan-build: No bugs found.

so I believe cpp-check with all the warnings on is just enough

I am not sure how you run the analysis but we have tons of "bugs" - most of them not really critical but still valid

I have also run clang static analyzer with following result
scan-build: Analysis run complete.
scan-build: Removing directory '/tmp/scan-build-2022-03-16-144130-74295-1' because it contains no reports.
scan-build: No bugs found.

so I believe cpp-check with all the warnings on is just enough

I am not sure how you run the analysis but we have tons of "bugs" - most of them not really critical but still valid

like this scan-build -o /tmp/myhtmldir make -j4 taraxad

I have also run clang static analyzer with following result
scan-build: Analysis run complete.
scan-build: Removing directory '/tmp/scan-build-2022-03-16-144130-74295-1' because it contains no reports.
scan-build: No bugs found.

so I believe cpp-check with all the warnings on is just enough

I am not sure how you run the analysis but we have tons of "bugs" - most of them not really critical but still valid

like this scan-build -o /tmp/myhtmldir make -j4 taraxad

So I am using CodeChecker, which is basically replacement of scan-build. I guess it is more sophisticated as it found multiple bugs compared to zero using scan build...

I have also run clang static analyzer with following result
scan-build: Analysis run complete.
scan-build: Removing directory '/tmp/scan-build-2022-03-16-144130-74295-1' because it contains no reports.
scan-build: No bugs found.

so I believe cpp-check with all the warnings on is just enough

I am not sure how you run the analysis but we have tons of "bugs" - most of them not really critical but still valid

like this scan-build -o /tmp/myhtmldir make -j4 taraxad

So I am using CodeChecker, which is basically replacement of scan-build. I guess it is more sophisticated as it found multiple bugs compared to zero using scan build...

hmm, it looks like it is just extension that combines scan-build and clang-tidy, so what you found are clang-tidy issues


Update website owners aliases

This PR updates the k/website OWNERS_ALIASES with the following:

add @natalisucks @tengqm @reylejano to sig-docs-leads

see SIG Docs leadership in the readme

remove Daniel (hasheddan) from sig-release-leads to align with https://git.k8s.io/sig-release/OWNERS_ALIASES

/assign @divya-mohan0209 @natalisucks
/cc @tengqm @kubernetes/sig-release-leads

/lgtm

/approve


Adding cronjob triggering circleCI to build the gallery examples without cache

Scheduling an action to trigger a circleCI build of the whole gallery

Codecov Report
Patch and project coverage have no change.

Comparison is base (9b0d19c) 70.15% compared to head (97276ea) 70.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   70.15%   70.15%
=======================================
  Files          27       27
  Lines        2064     2064
=======================================
  Hits         1448     1448
  Misses        616      616

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


hotkey: Show an alert for the n and p hotkeys.

Show an alert for the n and p hotkeys if there are no unread topics and PMs respectively.
Fixes #15105.
Screenshots:

The code here is super simple and clean.  I think the best next step here is to test-deploy it on czo, so we can get a feel for the feature and have a frame of reference for possible alternatives.

So I kind of agree that a modal is pretty heavy for this.
After playing around with it, it feels like n or p should be able to close the modal if this is the mode of transportation we are going to use; Just so you're not forced to move to a different key to get rid of the thing.
Maybe have a 🎉 in there?
I also noticed that with PMs it shows this when you p can't switch conversations, not when you are actually out of PMs:

Yeah, that would good. Makes it more convenient, and should be easy to do.
@timabbott

Made the change to close it with the hotkey that opens it.

I also noticed that, with PMs, it shows this when p can't switch conversations, not when you are actually out of PMs:

I am not sure what you meant by this, @whoodes.

I still support a modal here, but it's only based on my own experience.  I find that I almost never hit n unnecessarily, but when I do hit it, it's almost always because I'm in an unusual state of mind.  So I'd want the modal to actually slow me down.

This issue was fixed via https://github.com/zulip/zulip/pull/27885. Thanks for your work here, @vinitS101 !


:bug: Drop UTC offset for local time used in tasks table

The API provides date/time in UTC. For user convenience we display it in the browser time zone. Before this PR, UTC offset for the local time zone was included.
The format used is a subset of ISO 8601 which allows for predictable sorting in the table.
Format string: "YYYY-MM-DD HH:mm:ss".
Example date: "2024-07-03 13:21:44".
Part-of: #1969

Before

After


Prepend path to temp dir in run command

This PR closes #2190
What's done:

Added createTempDir function to native FileUtils
Started to execute all demo runs in temp dir
Added test for run command modification with temp dir

Don't know doest it really reasonable to separate one working directory into the two
Not sure, that it will strongly affect performance, but it probably could confuse us in future
@nulls your thoughts?


Large download size

The website's gallery doesn't have thumbnails, and the bootstrap installation could be stripped down.
The W3C mobileOK Checker (which has some quite questionable suggestions, but its download size counter is useable) reports:

Primary document: 9.2KB, Images: 2.6MB, Style sheets: 124.6KB

It explains the need:

Big pages require a possibly high cost and a long waiting time in many mobile networks. For instance, on many mobile networks, downloading 100KB worth of data takes as long as 1 minute.

[x] Gallery needs thumbnails (or responsive images, or something like that)
[ ] Bootstrap could be stripped down → would reduce stylesheet's size

A good limit is 100 KB.

The  gives this W3C mobileOK Checker interesting suggestion:

Make sure to separate CSS styles defined for screen and handheld media types so that only relevant CSS styles are downloaded by most devices.

Can we implement it?

Note that the "real" size of the page is usually less due to compression, eg, bootstrap goes from 120KB to 23KB.  Images don't compress quite as well though...

#33

Additional performance improvements:

[ ] Specify image dimensions (allows the browser to lay out the page before it has the images).
[ ] Make the splash image responsive (would reduce size substantially).
[ ] Inline main.js (it's tiny, and requests have a huge overhead on HTTP <2)
[ ] Ditch Bootstrap :-P
[ ] [minor] Serve a better-scaled logo (the main page logo is served as 96px, but scaled in HTML to 52px).

Surely there's a CSS optimiser that reads a collection of pages, and then makes a CSS file with only the rules used? ie: removes unused rules.

http://addyosmani.com/blog/removing-unused-css/

oops, sorry.

[minor] Serve logo (and anything else we can) as a (minified & stripped) SVG with a PNG fallback (SVG support)

We do not try to support IE 8, so why a PNG fallback?

I've wondered myself as well whether an svg logo would be smaller, but as it seems it isn't. Before we apply it, we should compare svg vs png sizes.
 It seems that mobile firefox always downloads the largest image.

@Calinou:

SVG only then, doesn't matter much to me.
If that's all, it should be fairly trivial to remove bootstrap, and it should speed up page loading substantially.

@est31:
SVG icon size
I looked into it and this is what I came up with:
An optimized SVG icon is 2527 bytes [1], whereas the 96x96 favicon that's currently used is 2829 bytes!
However, the nginx proxy that c55 has set up compresses things with gzip.  This (with a compression level of 4) results in the SVG being only 1003 bytes (note, however, that 2527 may be below the gzip minimum size threshold that c55 has set).  Compressing the PNG is, predictably, far less successful, with an output size of 2862 bytes (more than the original).
So an SVG is actually substantially smaller than the PNG.
Responsive images
Well, we always send the biggest image now anyways so it wouldn't much worse.  You could probably do something with CSS or JS that would work better, but of course it would add some overhead.
[1]: I used http://petercollingridge.appspot.com/svg-editor on misc/minetest.svg with everything turned on except "Remove IDs" (breaks tree and cactus shadows) and decimal places set to 1.

I noticed that the background images of the headers in other pages than home are 1920x1080, although you can only see a small part of it (e.g. in the community page everything is blue, since you can only see the sky; my browser window is ~1920x1080).
These images take almost 5 seconds for me to load, while everything else loads in under 1 second.
For the community tab and this browser resolution, you'd get the same visuals by just making the community header a solid blue background color, and speed up the page load by a factor of 5.

I can reproduce what PilzAdam says, except that I have a few pixels of some trees showing up at the bottom.
The image only takes around 0.8s to load for me, but my connection speed is above-average (~30Mbit/s).

We could use plain colours or a gradient instead.

Another thing to consider would be using progressive JPEG so that low resolutions are loaded quickly and the images improve in quality as the download finishes.


Library configuration file: Rename default parameters/values in config files to fallback if that is what they are

Whatever they are -- make this explicit in the configuration file property name.
Original question:
Do (any of) these take precedence over the value in the holdings mapping file?

still interested in this - changes should be backwards compatible

Could include #491 if wanted


ROS2 Foxy - Error on launch - SL_RESULT _OPERATION_TIMEOUT

Using the lauch scripts on this GitHub with a clean install of Foxy2 on an X86 machine with a rplidar A1 I constantly receive a SL_RESULT_OPERATION_TIMEOUT error.
The USB serial port is correct and baud is correct because when monitoring it, I receive clear text from the lidar:
"Firmware Ver 1.25 - rc2, HW Ver 5
Model: 18"
Is there something else I need to configure to avoid this error?

I have tried upgrading my rplidar firmware to the latest (1.27) but this did not change anything.
The Ros logs do not provide any more information about why this node threw an error that this error code "SL_RESULTS_OPERATION_TIMEOUT"

I have confirmed the hardware works buy using the SLAMTEC demo software under windows.

Firmware is now:
"RP LIDAR System.
Firmware Ver 1.27 - rc8 HW Ver 5
Model: 18"

@DingoOz did you manage to solve it? I'm having this problem now

Any other thing to test from this issue? I got the same error and the 666 permission change on ttyUSB0 does not fix the problem, this is the error
[sllidar_node-1] [ERROR] [1657739326.111938211] [sllidar_node]: Error, operation time out. SL_RESULT_OPERATION_TIMEOUT!
[ERROR] [sllidar_node-1]: process has died [pid 41683, exit code 255, cmd '/home/ubuntu/ros2_ws/install/sllidar_ros2/lib/sllidar_ros2/sllidar_node --ros-args --log-level debug --ros-args -r __node:=sllidar_node -r __node:=sllidar_node --params-file /tmp/launch_params_xvswqiic'].

thanks,

sorry discard my last comment, I confused the lidar model, actually it was a S1 version and works fine!

#13 humble error SL_RESULT _OPERATION_TIMEOUT


Add knowledge graph components

Description
Add Knowledge graph components, which is based on Neo4j and can work as an enhanced retriever
Issues
n/a.
Type of change

[ ] New feature (non-breaking change which adds new functionality)

Dependencies
neo4j
langchain
tiktoken
langchain_openai
langchainhub
langchain_community
sentence-transformers
Tests
n/a.

@XinyaoWa , The PR looks good, to make it clearer for other reviewer, please also provide info related to

a workflow diagram
screenshot for both rag query and cypher query

@lvliang-intel  Hi Lvliang, please have a review for this PR, thanks a lot!

@XinyaoWa, Please resolve the conflict.

Resolved.


Update decline to 0.6.2

Updates com.monovore:decline from 0.6.1 to 0.6.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "com.monovore", artifactId = "decline" }]

Codecov Report

Merging #148 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #148   +/-   ##
=====================================
  Coverage      91%    91%
=====================================
  Files          69     69
  Lines        1190   1190
  Branches       36     36
=====================================
  Hits         1083   1083
  Misses        107    107

Continue to review full report at Codecov.

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


Improve error messages for $data references

What version of Ajv you are you using?
6.12.3
What problem do you want to solve?
I would like ajv to produce more informative error messages (and objects) for $data references.
Consider this example:
const Ajv = require('ajv')

const ajv = new Ajv({ $data: true, allErrors: true })

const schema = {
  properties: {
    smaller: {
      type: 'number',
      minimum: 0,
      maximum: { $data: '1/larger' },
    },
    larger: {
      type: 'number',
      minimum: { $data: '1/smaller' },
      maximum: 100,
    },
  },
}

const data = {
  smaller: 99,
  larger: 1,
}

const result = ajv.validate(schema, data)

const output = {
  result,
  errors: ajv.errors,
  errorsText: ajv.errorsText(ajv.errors),
}

console.log(require('util').inspect(output, { colors: true, depth: null }))

The output is as follows:
{
  result: false,
  errors: [
    {
      keyword: 'maximum',
      dataPath: '.smaller',
      schemaPath: '#/properties/smaller/maximum',
      params: { comparison: '<=', limit: 1, exclusive: false },
      message: 'should be <= 1'
    },
    {
      keyword: 'minimum',
      dataPath: '.larger',
      schemaPath: '#/properties/larger/minimum',
      params: { comparison: '>=', limit: 99, exclusive: false },
      message: 'should be >= 99'
    }
  ],
  errorsText: 'data.smaller should be <= 1, data.larger should be >= 99'
}

As only derefrenced values are displayed, for large objects it is sometimes hard to spot where the error is. The reason is that the check is supposed to validate not the exact values (1 and 99), but rather to the relation between properties (smaller >= larger). However only one of the values is reported (the referred) and only one of the property name (the referee), which makes this information incomplete and "asymmetric" (even though the comparison is a "symmetric" binary operation).
Real-world example:  in our internal dev case, the begin and end are the boundaries of a percentage range and there was a similar "maximum" check attached to the smaller property, but no check on the larger property. We thought (erroneously) that the ajv-reported 'should be <= 1' was related to 100%. But we store percentages in the form of 0 to 100, and 1 is therefore a correct value. Confusion was only resolved after some manual tweaking of the example data.
Additionally, we use ajv for runtime validation of user-provided data and our users might be having hard times deciphering this particular error.
What do you think is the correct solution to problem?
I'd suggest errors to display the names of the referred properties in addition to their values.
For example, the message could say "expected data.smaller <= data.larger, but got 99 <= 1".
Will you be able to implement it?
No

Thank you for the suggestion. It can be changed in v7.

btw, using verbose option can probably help - the actual data will be in errors making information more symmetric.

in v7-alpha - error messages and parameters are separately configured for $data errors


Option for use 0 instead of nullptr

Use of nullptr makes lines a lot longer than it could be. An option for use 0 instead of nullptr could help.
I've tried Display As -> Unsigned Decimal (0), but it does not worked.
rax_1, rcx_1 = CreateThread(nullptr, nullptr, MainThread, nullptr, THREAD_CREATE_RUN_IMMEDIATELY, nullptr)

vs
rax_1, rcx_1 = CreateThread(0, 0, MainThread, 0, THREAD_CREATE_RUN_IMMEDIATELY, 0)

Please leave nullptr as the default,

Yes for sure we're going to keep it as nullptr as default but we could probably provide an option.


Don't warn on missing HHMM for HHS covid dates

We warn on missing HHMM for this file and say we "need" HHMM".  HHS doesn't need these for covid tests.  Can we change this fields from datetime to date?
I got this with a good HL7 file (HHS only requires YYYYMMDD)
"warnings" : [ {
"scope" : "ITEM",
"id" : "",
"details" : "Timestamp for OBR-22 - date_result_released needs to provide more precision. Should be formatted as YYYYMMDDHHMM[SS[.S[S[S[S]+/-ZZZZ"
}, {
"scope" : "ITEM",
"id" : "",
"details" : "Timestamp for SPM-17-1 - specimen_collection_date_time needs to provide more precision. Should be formatted as YYYYMMDDHHMM[SS[.S[S[S[S]+/-ZZZZ"
}, {
"scope" : "ITEM",
"id" : "",
"details" : "Timestamp for OBX-19 - test_result_date needs to provide more precision. Should be formatted as YYYYMMDDHHMM[SS[.S[S[S[S]+/-ZZZZ"
} ]
}

Looking at the HL7 fields, they are all defined as date times.

Name
HL7 Field
HL7 Type
HL7 Field Name
Comments

date_result_released
OBR-22
DTM
Results Rpt/Status Chng - Date/Time

specimen_collection_date_time
SPM-17-1
DTM
Specimen Collection Date/Time

test_result_date
OBX-19
DTM
Date/Time of the Analysis (TS) 01480

test_result_report_date
OBX-22
CNE
Mood Code
OBX-22 Reserved for harmonization with V2.6

testing_lab_specimen_received_datetime
SPM-18-1
DTM
Specimen Received Date/Time

We could just remove the warning sent back as the HL7 spec does not require the precision, however, we would like that precision.

Discussed this at the sync meeting.  We do want to push senders to provide better data and a date/time without HHMM and/or timezone lacks precision receivers may need.  For example, getting a DATE/TIME with no timezone from an EST timezone will result in a DATE/TIME set to UTC timezone that when used by a receiver it will show a different EST time.  We want to leave the warnings to push the senders to provide better data.  The warnings do not stop us from ingesting the data.


Just want to share most-koans I've built like 3 of years ago

https://github.com/vyorkin/most-koans

The Most.js Koans are a fun and easy way to get started with this awesome reactive programming toolkit. No experience assumed or required. Just follow the instructions below to start making tests pass!

Just letting you know in case you want to add a link to the README. But I'm not sure if it still works as expected (and if it's actually a good way to learn about most.js). Feel free to close the issue. Thanks!

Hey @vyorkin, this is super-cool.  Thank you for creating it and for sharing it!
Would you be interested in porting it to use @most/core?  I'd be willing to help, and I imagine other core team members may be able to pitch in as well.
Also, would you be open to donating that ported version to mostjs-community?  You'd retain ownership of the project and repo, and it would likely have more visibility to the community.
Let us know what you think, and thank you again!

Yeah, sure, I'd like to help porting it. I've just transfered the ownership of most-koans to the mostjs-community.

Awesome, thank you!  I'll try to get into it a bit soon as well.


CVE-2020-11612: Upgrade netty-dependencies to at least 4.1.46

[READ] Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request make sure the issue title starts with "FR:".

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Operating System version: _____
Firebase SDK version: 6.12.2
Library version: ____
Firebase Product: _____ (auth, database, storage, etc)

[REQUIRED] Step 3: Describe the problem
The ZlibDecoders in Netty 4.1.x before 4.1.46 allow for unbounded memory allocation while decoding a ZlibEncoded byte stream. An attacker could send a large ZlibEncoded byte stream to the Netty server, forcing the server to allocate all of its free memory to a single decoder.
More information: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11612
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Relevant Code:
// TODO(you): code here to reproduce the problem

We only ever use Netty as a client library to connect to remote RTDB (WebSocket) endpoints. I don't think this issue quite applies.


Comonicon supports option types from Configuration now

Hi @avik-pal nice package, it actually motivates me to finally implement this feature in Comonicon:
https://github.com/comonicon/Comonicon.jl/pull/222
It does not support YAML or JSON however since these are not shipped with Configurations or Julia, it's a bit tricky to support them as Comonicon does not depend on them. This could be enabled by conditional dependency in the future.

Thanks @Roger-luo. My first instinct was to check Comonicon, but it didn't have the feature, so I wrote this package.
One minor feature that would be desirable would be using a combination of the config file and command line arguments (not clear to me from the example if that is supported). For ex, for most experiments, the config file is fixed, but I would like to run a batch of experiments with different seeds (without having to create new config files)

My first instinct was to check Comonicon, but it didn't have the feature, so I wrote this package.

Haha, yeah, this feature has been proposed a few times, but I have been quite lazy to do it...

One minor feature that would be desirable would be using a combination of the config file and command line arguments (not clear to me from the example if that is supported). For ex, for most experiments, the config file is fixed, but I would like to run a batch of experiments with different seeds (without having to create new config files)

This should be supported in principle, since --config config.toml creates a dict, and --config.a=2 sets a dict, but there is a bug currently, let me fix it first.


InterpolatedUnivariateSpline: check_finite fails when w is unspecified

The following code raises a TypeError. This seems to be an issue with InterplatedUnivariateSpline only, UnivariateSpline does not have the same issue. It seems to be arising from an isfinite check on w when it is None. I will try to submit a PR soon, to emulating UnivariateSpline behaviour.
from scipy.interpolate import InterpolatedUnivariateSpline

x = np.arange(5) * 1.
y = np.random.randn(5)
InterpolatedUnivariateSpline(x, y, k=1, check_finite=True)

.../scipy/interpolate/fitpack2.py in __init__(self, x, y, w, bbox, k, ext, check_finite)
    588         if check_finite:
    589             if (not np.isfinite(x).all() or not np.isfinite(y).all() or
--> 590                     not np.isfinite(w).all()):
    591                 raise ValueError("Input must not contain NaNs or infs.")
    592

TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

The behaviour of InterplatedUnivariateSpline and UnivariateSpline is currently inconsistent, and I don't think either is what is expected. UnivariateSpline does not check w at all, while InterplatedUnivariateSpline and  LSQUnivariateSpline do. I suggest that we change all 3 to check that w is finite in the same way (LSQ has an addition required input t, but the point remains).
w_finite = np.isfinite(w).all() if w is not None else True
if (not np.isfinite(x).all() or not np.isfinite(y).all() or not w_finite):

I am also working on changing the test cases to reflect this new behaviour.


Fix typos

Fixed some typos in audit.md, debug-application.md, resource-usage-monitoring.md.

This change is

@islinwb, Please fix the merge conflict. Otherwise, lgtm.


OAuth fails

I downloaded gam-6.18-windows-x86_64.msi and installed it on a windows server 2016 standard that has never had gam installed on it before.
I skipped the scopes because it consistently failed.
After installation completed, I ran the command gam oauth create<EMAIL_ADDRESS>The results were:
IMPORTANT: If you get a browser error that the site can't be reached AFTER you
click the Allow button, copy the URL from the browser where the error occurred
and paste that here instead.
Enter verification code or browser URL: Process Process-2:
Traceback (most recent call last):
File "multiprocessing\process.py", line 315, in bootstrap
File "multiprocessing\process.py", line 108, in run
File "gam\auth\oauth.py", line 572, in wait_for_http_client
AttributeError: 'NoneType' object has no attribute 'replace'
Traceback (most recent call last):
File "gam_main.py", line 49, in
File "gam_main.py", line 44, in main
File "gam_init_.py", line 11743, in ProcessGAMCommand
File "gam_init_.py", line 10380, in createOAuth
File "gam_init_.py", line 10408, in doRequestOAuth
File "gam\auth\oauth.py", line 379, in from_client_secrets_file
File "gam\auth\oauth.py", line 316, in from_client_secrets
File "gam\auth\oauth.py", line 630, in run_dual
File "", line 2, in getitem
File "multiprocessing\managers.py", line 833, in _callmethod
KeyError: 'code'
[888] Failed to execute script 'main' due to unhandled exception!

closing as this issue should be fixed in latest GAM7 release.


Reverse 1bpp

Please could we have a version of 1bpp that emits the pixels from each byte in the reverse order.
Many thanks for publishing this library!

Have you tried changing the invert_diffpairs parameter for your board in this file ?
https://github.com/Wren6991/PicoDVI/blob/master/software/include/common_dvi_pin_configs.h
When i dit so it showed the negative of the original image on screen.

Please could we have a version of 1bpp that emits the pixels from each byte in the reverse order.
Many thanks for publishing this library!

Implementation is here:
https://github.com/Wren6991/PicoDVI/blob/7423e4d62e92feeb0f4ad2027f1c18c2600a737b/software/libdvi/tmds_encode.S#L193-L251
You would need to:

Reverse the order of the lookup table tmds_1bpp_table, to reverse the bits within each half-byte
Swap the two shift instructions for each invocation of tmds_encode_1bpp_body, for example lsls 3  lsrs 1 becomes lsrs 1 lsls 3, to reverse the half-bytes within each byte

Many thanks for getting back to me on this. I will try it out as as soon as
I get a chance.
I've started messing about with an emulator (not original, I know) for an
old computer... https://github.com/fruit-bat/pico-sorcerer-2. The display
is rock solid, amazing for a microcontroller.
Cheers,
Phil
On Fri, 20 Aug 2021, 12:28 Luke Wren, @.***> wrote:

Please could we have a version of 1bpp that emits the pixels from each
byte in the reverse order.
Many thanks for publishing this library!
Implementation is here:
https://github.com/Wren6991/PicoDVI/blob/7423e4d62e92feeb0f4ad2027f1c18c2600a737b/software/libdvi/tmds_encode.S#L193-L251
You would need to:

Reverse the order of the lookup table tmds_1bpp_table, to reverse
the bits within each half-byte
Swap the two shift instructions for each invocation of
tmds_encode_1bpp_body, for example lsls 3 lsrs 1 becomes lsrs 1 lsls 3,
to reverse the half-bytes within each byte

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Wren6991/PicoDVI/issues/16#issuecomment-902626859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABP3FQH5KDUUAE5VM6JMPQDT5Y34FANCNFSM5BQNUOVQ
.
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&utm_campaign=notification-email
.

That's a cool project! I added a new config DVI_1BPP_BIT_REVERSE with 844c6197d.
You should just be able to add target_compile_definitions(app_name_here PRIVATE DVI_1BPP_BIT_REVERSE=1) to your CMakeLists, please let me know if it works.


Update addToGroup to throw an error when index is out of bounds

addToGroup g/NUS m/2 does not throw any errors when the list only has 1 person

Duplicate of #203


Update balance fetching code to be more backwards compatible

Also DRY'd things up a lot by sharing all the core code between the
specific format of balance fetching methods

Technically the type is changing from double to dynamic but in practice none of our docs supported a specific explicit type definition, so I doubt anyone will notice. It's also more honest this way, since the existing humanReadable flag was already sort of implying the type returned would be dynamic.


[vcpkg/scripts/make] avoid versioning for android

cc @Neumann-A @vicroms

Looks valid? Don't know any details about this. But we probably need some kind of VCPKG_<variable> to pass additional libtool flags?

Waiting for #17083 merge.

/azp run

Please get failure logs here.

This PR is only for android triplets, the failure log seems irrelevant.

/azp run

Depends on https://github.com/microsoft/vcpkg/pull/17227

/azp run

@huangqinjin Which ports did you test this with? The flag is passed into configure here. configure doesn't use libtool, it actually generates it. Now it is starting to create problems: #31332.

@dg0yt libbacktrace. Actually libtool is totally unusable currently. There is an unfinished work in https://github.com/microsoft/vcpkg/pull/17088. If -avoid-version is causing problem, please simply revert this commit.

libbacktrace.

I will try this. Thanks.

Actually libtool is totally unusable currently. There is an unfinished work in #17088. If -avoid-version is causing problem, please simply revert this commit.

Note that the static android triplets do work on windows now. I had to fix vpckg's use of msys2 for this.

Note that the static android triplets do work on windows now.

Yeah, only shared libraries do not work, as libtool strips out --target link flags, that is what I fixed in https://github.com/microsoft/vcpkg/pull/17088 (though abandoned finally).


NotoSans-MM: 2.005 follow up

uni025B, uni0511, uni1D4B reverted to their previous shapes as they are part of series eopenclosed, eopenreversed and afii10073.
Composite glyphs with width updated or replaced by the previous Greek outlines:

Cyrillic afii10038, afii10033, afii10052 and afii10020 with previous outlines. We should review the new designs for Cyrillic.
Ohm symbol as composite of Omega with updated width as the symbol is just a legacy encoding variant of the Greek Omega.
Latin uni0245 updated width and kept nent with the new shape. Even if it is a turned V, the new shape looks better for the same reasons it looks better for Lambda.
Latin uni01A9 reverted the component and updated the width to match Sigma.

Revert moved components in some vulgar fraction glyphs: zerothird, fivesixths, fourfifths, onefifth, onefraction, oneninth, oneseventh, onesixth, onetenth, threefifths, twofifths
breve, macron have _top anchor wre added to be used in composite glyphs, brevecomb and macroncomb should be used instead. The anchor were removed.
iogonek_sc.salt had its ogonek shifted to match the anchor, we probably need to fix the anchor. This was reverted.
Reverted uni1E2E.salt, uni1EC8.salt (fixes https://github.com/googlefonts/noto-fonts/issues/2039)
uni1D26, uni1D27, uni1D28, uni1D29, uni1D2A were renamed as Gammasmall, Lamdasmall, Pismall, Rhosmall, Psismall and the outlines were replaced by components of small caps gamma.sc, etc. but they are not typographical small caps, they are supposed to be phonetic symbols with x-height instead of smallcap-height. The new names are kept and the outlines reverted.
uniA69E had its component changed to the round phi, it has also been shifted and a different width. It is changed as a component of afii10086, as this is a superscript combining version of that cyrillic letter, with updated offset and width. At the moment afii10086 and phi both have outlines which are practically the same. Maybe we should make one a component of the other.
Remove timestamped layers.
The case feature changed for the figures zero ... nine and zero.osf ... nine.osf. They used to become zero.lf ... nine.lf but now remain or become zero ... nine. That part of the feature was reverted so the figures behave the same as before.
The kern feature has @CombiningTopAccents and @CombiningNonTopAccents commented out. We can remove those as they are duplicate of glyph classes defined earlier.
Using featureNames instead of Glyphs.app notes.
Updated the glyphOrder to have the new names and the renamed glyph names.
Removed mark anchors from uniA7B6, uniA7B7.
Bumped version to 2.006.

@irenevl please could you review each of these points and let us know if you want to make further updates

thx @moyogo !
sure @davelab6 , I'm adding the Jot.salt kerning pairs and uploading new version.


Wrong item rendered in 's input box when clicking on  with trackBy and changed nzData

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-select-wrong-item-bug?file=src/app/app.component.html
Steps to reproduce

Open https://stackblitz.com/edit/ng-zorro-antd-select-wrong-item-bug?file=src/app/app.component.html
Input a '2' in the input box
Select option '2'

What is expected?
It is '2' that is in the input box.
What is actually happening?
'11' is in the input box instead.

Environment
Info

ng-zorro-antd
8.2.1

Browser
Chrome 76.0.3809.132 (UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36)

I am using trackBy: trackByValue on <nz-option>, which simply returns self value, i.e (value) => value. The bug disappears after removing trackBy: trackByValue.
I am using searchKey emitted by nzOnSearch to reduce the amount of nzData myself by .filter() and .slice() because the dropdown of <nz-select> is slow to open, which may also be the cause of the bug.

If these two usages are wrong, please let me know the right ones. Thanks in advance!

your function trackByValue is actual trackByIndex, the first param in the function is index
https://stackblitz.com/edit/ng-zorro-antd-select-wrong-item-bug-6r8z2s?file=src/app/app.component.ts
plz read the angular doc
https://angular.io/api/core/TrackByFunction

@vthinkxie Thanks for your correction❤
According to https://angular.io/api/common/NgForOf#ngForTrackBy, the default trackBy is already trackByIdentity i.e. <T>(index: number, item: T) => item, so I don't need to write it myself.  I thought the default trackBy was trackByIndex. I should have read the doc carefully😓


Copyright footer is not centered

fix: now copyright in footer properly align in different combinations of fullWidthTheme and centerTheme
https://github.com/mirus-ua/hugo-theme-re-terminal/issues/19

Looks good to me!


Test: task icon / color customization

Refs #151758, #145965

[x] Windows @alexr00
[ ] macOS or Linux @rebornix
[x] WSL @rchiodo

Authors: @meganrogge @Tyriar
Complexity: 2

icon and color can now be set for tasks as configuration properties
Verify that these take effect and show up in the Tasks: configure task and Tasks: run task quick picks

I logged an issue but I can't get the icon or color to show up for configure at all?

Did I miss anything it doesn't seem to work (after a few reloads)

I'd need a gif to see what's going on there. you also have a warning underline related to the problem matcher

It seems now I'm seeing the same as https://github.com/microsoft/vscode/issues/153564
https://user-images.githubusercontent.com/876920/176280854-acb5bb2c-ccc5-4ded-8276-02587ec41f3f.mov


Creative mod not working

Hello Hawkfalcon thanks for all your hardwork I am not sure if it is only me but creative mode is not working, map editor does works perfect, but even when I turn on the creative mode the buildings dont build instantly and still says that there arent enought science point.

What does the config say?

Hello thank you for your response, not sure where that is sorry. I am new
to timberborn modding.
On Sat, Sep 24, 2022, 7:38 PM hawkfalcon @.***> wrote:

What does the config say?
—
Reply to this email directly, view it on GitHub
https://github.com/hawkfalcon/Timberborn-Mods/issues/11#issuecomment-1257097612,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3IFTR4LQORBEOAZX32P4ELV76UJPANCNFSM6AAAAAAQU24364
.
You are receiving this because you authored the thread.Message ID:
@.***>

Simple thing.
Make sure you have File Viewer Plus installed and this mod is installed with Thunderstore Mod Manager.
In TMM, go to Config Editor, find BepInEx/plugins/hawkfalcon-CreativeMode/configs/CreativeModeConfig.json,
click Open File and change "DisableScienceCost" from false to true. Easy as that!

I'm experience the same issue. I've uninstalled and reinstalled the mod, checking the configs, no luck.


Added Enterprise Web Library to developer projects list

I'm the lead developer of EWL. Please let me know if I should clarify the project description or make any other tweaks. Thank you.

Thanks @william-gross. Appreciated. Happy new year!

Thanks @william-gross. Appreciated. Happy new year!


Mysql. Dashboard negative graphics data drawing.

Description
DBeaver 24.2.2 draw negative data -40000000000 on graphics every 10-60 sec. This leads to unusable graphics view.
DBeaver Version
24.2.2
Operating System
Windows server 2019
Database and driver
Mysql 8 (MariaDB 10.4.25)
Steps to reproduce

connect to DB
add dasboard "Innodb data"
wait 10-60 sec and negative spikes draws (read and write line) -400000000000

Additional context
hint with strange numbers:

normal graphics before problem:

db version:

negative spike:

after spikes hides on the right side - graphic vertical axis rebuild to normal data: 0.....26MB. Or I can click "refresh" every 10-60 sec and graphic draw new data without problem, and after random time (10-60 sec) graphics draw negative spikes :(

Hello @boomsya,
Can you please execute the following script against the problematic database and show the output?
show global status where variable_name in ('Innodb_data_read', 'Innodb_data_written');

ok. tomorrow I can do that on DB.


Ability to filter some endpoints on which quickperf diagnosis is not performed #27

Great! Thank you for this new contribution @debbeca!
Fix #27


As a project coordinator, I want to be able to filter, order and paginate the list of projects, so that I can find a project of interest to review

Description:
As a project coordinator, I want to be able to filter the list of projects, so that I can find a project of interest to review.
Acceptance Criteria:
Given that I am a project coordinator and I want to find a specific project(s)
When I click on the column headers of the project table
Then the table re-orders and by the selected column
Given that I am a project coordinator and I want to find a specific project(s)
When I enter search text into the column filter form input
Then the table filters by the search text using simple text search
Given that I am a project coordinator and I want to find a specific project(s)
When I click on the page number
Then the table displays a paginated set of projects
Development Checklist:

[ ] Enable built in column ordering, and enable for all columns if exists
[ ] Enable built in text filtering, and enable for all columns if exists
[ ] Use https://github.com/bcgov/cas-ciip-portal/tree/develop/app/components/FilterableTable if not implemented
[ ]  set table to match BCGov style
[x] Wireframe completed and linked to ticket
[ ] Meets the DOD

Personas:

Operations Team

Note:

Adding applicable Personas to the ticket
Operations Team - Persona

Wireframe in Ticket 63  shows the project search filters.

Hey team! Please add your planning poker estimate with ZenHub @AlexZorkin @dleard @pbastia

Looks great @matthieu-foucault! Tested in dev by:

using column filters
using text filtering
selecting apply button or entering 'enter' when in the text filter
clearing all filters and manually clearing text filtering

Works as expected.


dw1000_ranging.py closes after resetting positive reset pin

Hello,
I'm trying to test this repo with the UWB Click from Mikroe . I've wired this board to the raspberry pi (RPi) exactly as instructed in spi_server.py with one exception. The board from Mikroe has no negative reset pin (NRST) so this connection is omitted. I believe this is consequential as stated in the associated article:

I have provided a positive-going reset signal (RESET) and negative-going (NRST). This is because my early hardware had a transistor inverter in the reset line, so needed a positive-going signal. If you are connecting the RPi pin direct to the module, use the NRST signal. [And in case you’re wondering, I realise that the RPi mustn’t drive the module reset line high; my software does not do this, it drives the line low to reset, or lets it float.

Two RPis are running spi_server.py. The IP address for each RPi was copied to dw1000_ranging.py that runs on a third machine on the same network  as the two RPi. When dw1000_ranging.py is run, it soon closes with this logged in console:
Connected to <IP_ADDRESS>:1401
Connected to <IP_ADDRESS>:1401
No interrupt from unit 1
And in console log on the first unit (<IP_ADDRESS>) I see:
SPI_SERVER v0.13
Listening on UDP port 1401
Device ID: FF FF FF FF FF
Reset pin 22
dw1000_ranging is exiting after this performing if not dw1.test_irq() on line 75 in dw1000_ranging.py . Can you help me understand what test_irq() does? Can you help me understand what the function check_irq() does in dw1000_regs.py? If this issues is as a result of not having a NRST pin to connect, is there a way to still work with this?
Thanks for the very detailed article. It was very enlightening.

There are 2 main possibilities; either you haven't connected the IRQ
line, or you have the wrong polarity of reset signal.
The UWB-click schematic shows there is no inversion in the RST line, it
is directly connected to the module RSTn pin, so it should use the NRST
output from my code.
Jeremy Bentham
On 26/04/2021 05:36, skweesel wrote:

Hello,
I'm trying to test this repo with the UWB Click from Mikroe
https://www.mikroe.com/uwb-click . I've wired this board to the
raspberry pi (RPi) exactly as instructed in spi_server.py with one
exception. The board from Mikroe has no negative reset pin (NRST) so
this connection is omitted. I believe this is consequential as stated
in the associated article:
I have provided a positive-going reset signal (RESET) and
negative-going (NRST). This is because my early hardware had a
transistor inverter in the reset line, so needed a positive-going
signal. If you are connecting the RPi pin direct to the module,
use the NRST signal. [And in case you’re wondering, I realise that
the RPi mustn’t drive the module reset line high; my software does
not do this, it drives the line low to reset, or lets it float.

Two RPis are running spi_server.py. The IP address for each RPi was
copied to dw1000_ranging.py that runs on a third machine on the same
network as the two RPi. When dw1000_ranging.py is run, it soon closes
with this logged in console:
|Connected to <IP_ADDRESS>:1401|
|Connected to <IP_ADDRESS>:1401|
|No interrupt from unit 1|
And in console log on the first unit (<IP_ADDRESS>) I see:
|SPI_SERVER v0.13|
|Listening on UDP port 1401|
|Device ID: FF FF FF FF FF|
|Reset pin 22|
dw1000_ranging is exiting after this performing |if not
dw1.test_irq()| on line 75 in dw1000_ranging.py . Can you help me
understand what test_irq() does? Can you help me understand what the
function |check_irq()| does in dw1000_regs.py? If this issues is as a
result of not having a NRST pin to connect, is there a way to still
work with this?
Thanks for the very detailed article. It was very enlightening.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jbentham/uwb/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNUSERWERI5CBVFIZIAZOTTKTUTPANCNFSM43SCE7PQ.

I connected the RST pinout on the UWB Click board to the designated NRST pinout on the RPi (pinout 16 on the RPi). When I started spi_server.py I got my first hint of success:
SPI_SERVER v0.13
Listening on UDP port 1401
Device ID: FF 30 01 CA DE
The device ID was no longer just FF FF FF FF FF.
With spi_server.py running, running dw1000_ranging.py on another machine resulted in the following in console logs:
Connected to <IP_ADDRESS>:1401
Connected to <IP_ADDRESS>:1401
150.232 153.886
150.045 153.619
150.884 152.141
...
Success! It works!
This is exactly the issue and solution mentioned in the article:

If you are connecting the RPi pin direct to the module, use the NRST signal.
I thought the breakout board (from OSH Park) used there had both a RST and a NRST pinout. On a closer inspection that breakout board only has a RST pinout. The RST pinout on the breakout board was connected to NRST (pinout 16) on the RPi

Thank you so so much for your help. Greatly appreciated!


Fix server URL

Fix server URL not getting updated when edited in server settings
Fixes issue #24

While this is working for local dev through a web browser, it appears to not work once compiled to an app, I'll continue on a workaround

Set the serverAddress on localStorage when saving the serverAddress and when loading the app to try and prevent it from being wiped.

Just wondering if this needs any further testing or work before it goes through? As it seems to be very similar in nature to an issue on BigBoard that looks like it was fixed recently.

Hey @AlteranAncient I was gonna give it a quick test before I merged it in, the Responder codebase was just recently redone, so I wanted to try and figure out exactly why it was happening when the Namespaces for storage were supposed to be scoped, i.e. not using CapacitorStoage.

Hi Folks, any updates with regards to this, as to when we might be able to expect to see this issue resolved and fix implemented?

Hey @StoneManeHoss I did some initial testing on this and ran into an issue when loaded up in an installed app. I had other tasks I needed to wrap up and haven't circled back on this in a while, let me take a look at it.


Bug: Materialized view with auto-refresh will not redeploy when definition has changed

Currently materialized views with auto-refresh won't rebuild when the definition of the DBT model has changed. It is good that DBT doesn't refresh the views when either the calculated view is unchanged, but it definitely should be deployed the definition was changed.
I see two solutions for this:

Check if the definition of the materialized view changed on the user's machine
Check if the calculated materialized view differs from the materialized view that is currently deployed

I think the latter is the more elegant one, but I don't know which are feasible given the options working within dbt macro's.
The fix could either be applied in the refresh_materialized_view methods which are dependent on the specific data warehouse or extending the elif statement in line 19 of default/materialized_view to include one of the checks mentioned above.

@Luttik Love that you're thinking about this! What do you think about leveraging dbt's state-based selection to accomplish this? Then this would look something like:
# "full refresh" all MVs that have changes
dbt -s state:modified,config.materialized:materialized_view --full-refresh

# partial refresh of MVs without changes
dbt -s config.materialized:materialized_view --exclude state:modified

I'm not sure if I'm tracking completely. However, I think that this should just work automagically without having to specify anything in addition to the run command, after a run you expect the live definitions to be in-sync with your dbt definitions. Not refreshing data vs not refreshing the model is very different in my eyes, the first will correct itself at some point while the latter does not.

hey @Luttik thanks for opening this issue! Even though MVs & DTs now live in Core, this limitation that you call out still existis. I'm closing this issue in favor of https://github.com/dbt-labs/dbt-adapters/issues/234 so that we can track the use case and priority over there moving forward


Cryptic error message when omnitrucker url() fails

If omnitrucker url fails in this step:
https://github.com/hw-cookbooks/omnibus_updater/blob/develop/libraries/omnitrucker.rb#L84
This remote_path url is never set:
https://github.com/hw-cookbooks/omnibus_updater/blob/develop/recipes/downloader.rb#L27
And the remote_file[omnibus_remote[...]] resource is never instantiated.
https://github.com/hw-cookbooks/omnibus_updater/blob/develop/recipes/downloader.rb#L42-L66
You get an error like this:
  Chef::Exceptions::ResourceNotFound
  ----------------------------------
  Cannot find a resource matching remote_file[omnibus_remote[chef_12.4.3-1_amd64.deb]] (did you define it first?)

  Cookbook Trace:
  ---------------
    /var/chef/cache/cookbooks/omnibus_updater/recipes/installer.rb:65:in `block in from_file'
    /var/chef/cache/cookbooks/omnibus_updater/recipes/installer.rb:62:in `from_file'
    /var/chef/cache/cookbooks/omnibus_updater/recipes/default.rb:26:in `from_file'
    /var/chef/cache/cookbooks/platform-base/recipes/default.rb:142:in `from_file'

If someone were to run the omnibus_updater as part of a 'base' role in their various environments, something like this issue - http://status.chef.io/post/135204038311/issue-with-the-omnitruck-download-server , would trigger this bug and cause every chef run on every node to fail.

Noticed this error multiple times today

This issue has been solved in the new chef_client_updater cookbook. I'm going to close this issue out here since we've deprecated this cookbook in favor of the new method. We believe it provides a much better experience and encourage everyone to try it out.


Creating and dropping package in same script with SQLcl leads to SP2-0564 error

SQLcl: Release 4.2.0 Production on Fri Mar 31 10:20:17 2017

<removed>

Compiling script: /home/trent/Projects/PureMigration/test.sql

Package FOO compiled

Package FOO dropped.

SP2-0564: Object "SCHEMA.FOO" is INVALID, it may not be described.

<removed>

Reported as resolved in the next build from SQLcl. Will close once confirmed.


Price Cap removed for Octopus Intelligent Go

Ohme have removed the price cap option. It gives this error when you try to set it.
They say they will "have it temporarily switched back on", but I'm not sure exactly what they mean by that

I've added a check to hide the price cap settings when Ohme reports they're not supported in the latest beta. Could you please try this out and let me know if it all works for you?
Instructions for installing beta

Greyed out 👌


[Schema 2] Constructors and Getters

Part 2 of #342
Added constructors and implementation for three basic "get" methods.
As this series of PRs is generated in order of dependencies, Part 3 will include the addPod, addNode, addNamespace and addContainer methods.
Unit tests for Part 2 will be provided in later parts (estimate: part 6)

Overall LGTM. Just a couple of comments.

@rjnagal: Assigned this PR to you!

Let's merge this now, assuming we'll fix all comments in the followup PRs.


Implement Stepper component

Including StepperButtonsStyle.
https://www.figma.com/file/YMfJkmUMV8xiY7fgeW6QAr/[Orbit]-Native-Components?node-id=8086%3A3580

Animations should be done based on the second version from:
https://user-images.githubusercontent.com/35844477/163133679-98860f10-e185-40fc-9f31-7bd4d0f591b5.mp4


[Question] Change search engine shortcut rd

(Maybe this is not the right place for questions, and using Github Discussion would be more appropriate, but it is disabled in this repo)
Hi there,
I'm using Brave browser.
Is is possible to customize the address bar search keyword? Instead of rd I'd prefer to use r for example.
Maybe this is a Feature Request more than a question..? 🙂
Thanks!

Docs: https://help.raindrop.io/browser-extension/#search-from-address-bar
Screnshots

Other search engines:

Unfortunately it’s not possible to make it user configurable. Browsers just don’t have such API.
Originally we had r shortcut but many users complain about it, so I decided to change it to rd.

I've got an idea. Would it be possible to add OpenSearch on app.raindrop.io site?
This way, a browser with this option enabled would add it as a search engine, and allow to configure it like the examples highlighted below.

Enable external search engines detection:

After visiting app.raindrop.io, you should be able to activate it and configure the shortcut like in this examples:

Once done, you can deactivate the search engine indexing if desired.

What do you think?


Link component doesn't navigate properly when it has a hash fragment in it

Reproductions:
Case 1:
You are in the home page and you click this link:
<Link href="/partners#retailer">Retailers</Link>
// Somewhere down the page

It will take you to the page, but will not scroll back to the top nor take you to the retailers anchor.
Case 2:
You are in the /partners page and you click this link:
<Link href="/partners#retailer">Retailers</Link>
// Somewhere down the page

It will not jump you to the retailers anchor that was placed further down.

@rclai - we had this issue and many others with <Link>.
The solution we came up with was to create our own <Link> component (we needed too for styling anyways) and use the Imperative methods on Router to solve our issues.
When we click on a Link component, the handler runs, and we do a simple check -
    if (href.match(/((^tel:)|(^mailto:)|(^http:\/\/)|(^https:\/\/)|#)/gm)) {
      return;
    } else if (!!window.MSInputMethodContext && !!document.documentMode) {
      window.location.href = url;
      return;
    }

The first makes it so any tel: , mailto:, external (http/https) and # link returns out of the handler early.
The second piece was to get around a IE11 bug where navigating between pages caused Styled JSX to not flush right and be unstyled. This may be resolved now.
Basically, anything that passed this part of our handler can then be handled by Next imperative router implementation.
    Router.push(url).then(() =>
      window.scrollTo(0, 0)
    );

We also did scrollTo(0,0) because of it not resolving to the top of the page when navigating.

I don't think this is an enhancement. This is more of a bug.

@rclai: "Case 2" seems to be fixed in beta 3.0.1-beta18

@rclai True. This is bug.

@EranM6 the issue is still open with no linked pull requests, so it has not been fixed yet :) feel free to give it a go 👌

@rclai this is working for me. Are you sure it is not working because you have a typo in <Link href="/partners#retailer"? (#retailer is missing an s)


UPDATE install instructions - tune markdown, clean language

Simple PR, I've been doing a deploy recently and I know that #42 has been around for a while so as I go I'm writing script, editing README and generally just touching up bits that I think make for better UX. Not fully done, I just hate leaving large amounts of work on branches that go stale with life throwing curveballs and things never get completed.

Coverage remained the same at 58.094% when pulling 7fea12833eb24c29607ba0754eefa5b0335f0b83 on JohnVonNeumann:update-usage-docs into c1311a8dcf7a72b460ad520718b2d82f6e3fb0bd on Netflix:master.

Great idea @JohnVonNeumann.  I left a couple comments. Neither are super important.  Let me know when you feel the PR is done

Did we end up coming to a conclusion on this PR?

Nah you're actually right now that I think about it, I guess I was trying to add it so people can create it separately but it makes no sense in reality. I can remove it.

Wait, I think you've confused the PRs. The create script is part of the other PR. This one just tunes the README.

Just a rebase to origin/master?

Yes please.
On Tue, Aug 27, 2019 at 7:28 PM, JohnVonNeumann <<EMAIL_ADDRESS>> wrote:

Just a rebase to origin/master?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (
https://github.com/Netflix/repokid/pull/217?email_source=notifications&email_token=ACBG7IEQQZSV4LNRUCN5HVDQGXPEPA5CNFSM4HE27O42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5JV5LY#issuecomment-525557423
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/ACBG7IAR7LX66VT3M4RUXELQGXPEPANCNFSM4HE27O4Q
).


Can't compile Starrocks with Clang due to Thrift generated code

Refactoring request
Clang doesn't accept the Thrift generated C++ classes as valid, but works fine on GCC.
Errors:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.cpp:35:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.h:38:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService.h:10:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/TDispatchProcessor.h:22:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/TProcessor.h:24:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/protocol/TProtocol.h:46:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/transport/TTransport.h:23:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/Thrift.h:41:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/vector:66:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:993:50: error: arithmetic on a pointer to an incomplete type 'starrocks::TLoadInfo'
  993 |       { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
      |                          ~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:2041:19: note: in instantiation of member function 'std::vector<starrocks::TLoadInfo>::size' requested here
 2041 |     { return (__x.size() == __y.size()
      |                   ^
/home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService_types.h:3454:39: note: in instantiation of function template specialization 'std::operator==<starrocks::TLoadInfo, std::allocator<starrocks::TLoadInfo>>' requested here
 3454 |     else if (__isset.loads && !(loads == rhs.loads))
      |                                       ^
/home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService_types.h:215:7: note: forward declaration of 'starrocks::TLoadInfo'
  215 | class TLoadInfo;
      |       ^
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.cpp:35:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.h:38:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService.h:10:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/TDispatchProcessor.h:22:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/TProcessor.h:24:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/protocol/TProtocol.h:46:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/transport/TTransport.h:23:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/Thrift.h:41:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/vector:66:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:370:35: error: arithmetic on a pointer to an incomplete type 'starrocks::TTrackingLoadInfo'
  370 |                       _M_impl._M_end_of_storage - _M_impl._M_start);
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:531:7: note: in instantiation of member function 'std::_Vector_base<starrocks::TTrackingLoadInfo, std::allocator<starrocks::TTrackingLoadInfo>>::~_Vector_base' requested here
  531 |       vector() = default;
      |       ^
/home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService_types.h:3484:3: note: in defaulted default constructor for 'std::vector<starrocks::TTrackingLoadInfo>' first required here
 3484 |   TGetTrackingLoadsResult() {
      |   ^
/home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService_types.h:213:7: note: forward declaration of 'starrocks::TTrackingLoadInfo'
  213 | class TTrackingLoadInfo;
      |       ^
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.cpp:35:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.h:37:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/status.h:20:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/string:42:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/char_traits.h:50:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:979:21: error: static assertion failed due to requirement 'std::__is_complete_or_unbounded(std::__type_identity<starrocks::TTrackingLoadInfo>{})': template argument must be a complete class or an unbounded array
  979 |       static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:188:21: note: in instantiation of template class 'std::is_destructible<starrocks::TTrackingLoadInfo>' requested here
  188 |       static_assert(is_destructible<_Value_type>::value,
      |                     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/alloc_traits.h:948:12: note: in instantiation of function template specialization 'std::_Destroy<starrocks::TTrackingLoadInfo *>' requested here
  948 |       std::_Destroy(__first, __last);
      |            ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:735:7: note: in instantiation of function template specialization 'std::_Destroy<starrocks::TTrackingLoadInfo *, starrocks::TTrackingLoadInfo>' requested here
  735 |         std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
      |              ^
/home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService_types.h:3484:3: note: in instantiation of member function 'std::vector<starrocks::TTrackingLoadInfo>::~vector' requested here
 3484 |   TGetTrackingLoadsResult() {
      |   ^
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.cpp:35:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/agent/utils.h:38:
In file included from /home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService.h:10:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/TDispatchProcessor.h:22:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/TProcessor.h:24:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/protocol/TProtocol.h:46:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/transport/TTransport.h:23:
In file included from /home/samrose/workplace/contrib/starrocks/thirdparty/installed/include/thrift/Thrift.h:41:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/vector:66:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:993:50: error: arithmetic on a pointer to an incomplete type 'starrocks::TTrackingLoadInfo'
  993 |       { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
      |                          ~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:2041:19: note: in instantiation of member function 'std::vector<starrocks::TTrackingLoadInfo>::size' requested here
 2041 |     { return (__x.size() == __y.size()
      |                   ^
/home/samrose/workplace/contrib/starrocks/be/src/gen_cpp/build/gen_cpp/FrontendService_types.h:3498:55: note: in instantiation of function template specialization 'std::operator==<starrocks::TTrackingLoadInfo, std::allocator<starrocks::TTrackingLoadInfo>>' requested here
 3498 |     else if (__isset.trackingLoads && !(trackingLoads == rhs.trackingLoads))
      |                                                       ^

Is your refactoring request related to a problem? Please describe.

Describe the solution you'd like

I haven't really looked into how to fix this, but worth creating an issue, it would be good to compile the Starrocks project with Clang.
Describe alternatives you've considered

Additional context

Relevant links:

https://github.com/llvm/llvm-project/issues/59292
https://github.com/llvm/llvm-project/issues/62166

@Samrose-Ahmed which commit of the source code, and what is the version of gcc and clang, do you use docker image or compile directly from host os?

I'm compiling the main HEAD on Ubuntu 24 host OS.
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)

I tried a few different clang versions (15+) but none of them worked, here's one:
clang -v
Ubuntu clang version 18.1.3 (1ubuntu1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
Candidate multilib: .;@m64
Selected multilib: .;@m64

I forgot to add these but these issues are likely relevant:

https://github.com/llvm/llvm-project/issues/59292
https://github.com/llvm/llvm-project/issues/62166

yeah, looks like having something to do with the clang version.
The project can be built successful with clang-14/clang-15/clang-16, haven't give a try with clang-17/clang-18.

I've tried it with clang 14 as well and gives same error:
clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /tmp/cl1/clang+llvm-14.0.6-x86_64-linux-gnu-rhel-8.4/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/13
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/13
Candidate multilib: .;@m64
Selected multilib: .;@m64

I've tried it with clang 14 as well and gives same error:
clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /tmp/cl1/clang+llvm-14.0.6-x86_64-linux-gnu-rhel-8.4/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/13
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/13
Candidate multilib: .;@m64
Selected multilib: .;@m64

Interesting, will setup an env and try it out.

OK I figured it out, downgrading the GCC version to 11 (earlier was using 13) fixes it , works with all Clang version (14-18).