What's wrong with my computer? When I run "sudo python example.py", I get:

$ sudo python example.py
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties:
name: Tesla K20c
major: 3 minor: 5 memoryClockRate (GHz) 0.7055
pciBusID 0000:03:00.0
Total memory: 4.69GiB
Free memory: 4.61GiB
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 1 with properties:
name: NVS 315
major: 2 minor: 1 memoryClockRate (GHz) 1.046
pciBusID 0000:04:00.0
Total memory: 1020.69MiB
Free memory: 627.60MiB
I tensorflow/core/common_runtime/gpu/gpu_init.cc:59] cannot enable peer access from device ordinal 0 to device ordinal 1
I tensorflow/core/common_runtime/gpu/gpu_init.cc:59] cannot enable peer access from device ordinal 1 to device ordinal 0
I tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0 1
I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0:   Y N
I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 1:   N Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:717] Creating TensorFlow device (/gpu:0) -> (device: 0, name: Tesla K20c, pci bus id: 0000:03:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:684] Ignoring gpu device (device: 1, name: NVS 315, pci bus id: 0000:04:00.0) with Cuda compute capability 2.1. The minimum required Cuda capability is 3.5.
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 16.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 32.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 64.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 128.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 256.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 512.0KiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 16.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 32.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 64.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 128.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 256.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 512.00MiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.00GiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.00GiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.00GiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.00GiB
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:73] Allocating 4.32GiB bytes.
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:83] GPU 0 memory begins at 0x704460000 extends to 0x8187c2000
HELP.
Thanks~!

Don't use sudo to run that ;)


Fix variable substitution within diagnostic files

/retest

@stuartwdouglas Can we hold merging this until https://github.com/apheleia-project/jbs-issues/issues/13 is resolved.

I think we should move to disallowing any tekton substitution in these, and have a pre-approved / documented list of env vars instead.

Closing this as redundant with https://github.com/apheleia-project/jbs-build-issues/issues/13


Remove syn

@stof

Regarding the usage of syn.js, I'd rather keep the initial implementation free of it, marking methods as unsupported and skipping tests if needed.

My worry is that we end up with something that is unusable in the real world.

Note that we might have to deprecate the existing keypress, keyup and keydown methods as they don't reflect reality: an actual browser has no way to interact in a way that triggers only one of those events.

Why not? They do reflect the real usage, or?
The bigger problem for me is blur and focus, which actually never really happen individually (and which, by the way, are also removed when we remove syn).

The remaining 4 failures are from the lack of calling element->blur() after changing the value.
For real-world usage, changing the value of  text field doesn't immediately trigger "change" event - the user must somehow unfocus the field (and the test seems to assume that that is what happens).
From the description of setValue, it's not clear to me if the field should be blurred or not.

@uuf6429 the various keyboard event never happen individually either.
Regarding focus and blur, the big issue with implementing them with syn is that they don't actually focus the element. syn will only simulate the event. It does not change the focused element.

@uuf6429 the various keyboard event never happen individually either.

I didn't mean how they are implemented in syn, but rather from a user/browser perspective.
A user should be able to press/hold/release a key, so I don't think it makes sense to remove that functionality (but rather implement it properly without syn). It might make sense to rethink how that works though, for example releasing a key only makes sense when it has been pressed.

Regarding focus and blur, the big issue with implementing them with syn is that they don't actually focus the element. syn will only simulate the event. It does not change the focused element.

That doesn't seem entirely true. There's a lot of code going on, but at some point it seems to actually call el.focus() and el.blur() (not about this one).
But as I was trying to say before, I believe the driver shouldn't expose focus/blur functionality since it's not something browser users can actually do.
In conclusion I believe that:

as agreed, syn should be removed
keyXX functionality should stay in mink, but maybe reworked to be more realistic
blur/focus should be removed from mink

What are your thoughts about https://github.com/uuf6429/webdriver-classic-driver/pull/2#issuecomment-1742057992? When we have a solution on that, I could finish this PR and merge it back.

@uuf6429 Regarding the ability to press keys, a work has been started and stalled about adding a different API allowing to support it in a working way. See https://github.com/minkphp/Mink/pull/772 and https://github.com/minkphp/Mink/pull/831
The syn-based implementation has never been a working way to do that as it does not simulate the actual behavior of browsers (and so a passing test does not guarantee that a user can actually use the feature as they might not be able to trigger the corresponding interaction). There's a good reason why MinkSelenium2Driver did not manage to implement those methods using Selenium APIs and you did not manage either.

I feel that we are going around in circles.

@uuf6429 Regarding the ability to press keys, a work has been started and stalled about adding a different API allowing to support it in a working way. See minkphp/Mink#772 and minkphp/Mink#831 The syn-based implementation has never been a working way to do that as it does not simulate the actual behavior of browsers (and so a passing test does not guarantee that a user can actually use the feature as they might not be able to trigger the corresponding interaction). There's a good reason why MinkSelenium2Driver did not manage to implement those methods using Selenium APIs and you did not manage either.

In all the comments so far, I repeatedly said that syn is not  a good solution. We all get that and there's no point in repeating it.
From my perspective, a browser user is still able to hold and release keys in different orders, at different times and with repeats - not just pressing them. But this is a different subject that is only relevant to mink as a whole, and not the drivers.
So for now we can shelve this discussion.

The last remaining problem in this PR is mentioned in https://github.com/uuf6429/webdriver-classic-driver/pull/2#issuecomment-1742057992. I still don't have a reply or a solution for that.

I feel the test is itself wrong. When you fill in a textfield, the blur event is not normally triggered.
Unless it is expected for mink to behave a bit differently than normal browsers, in which case I'm a bit stuck with point (2):
I cannot easily trigger a blur event without javascript (and without effectively repeating what syn did). Either way, we need to decide on point (1) first.

Moved to source repo


2.2

**2,2 Investigating the first type of disparity: probation versus incarceration **

How would we plot the smooth line if using matplotlib? It throws an error because we're using strings/dates on the x-axis

Also there's a weird multi-level index that results from this --- it's fine to rename the cols somewhat manually:
df.columns = ['something1', 'something2', ] etc

@sanhatahir could you post the above screenshot as the raw plot code so I can play around? thanks!

I'd try this approach --- you just need the y values rather than the x values: https://stackoverflow.com/questions/5283649/plot-smooth-line-with-pyplot
from scipy.ndimage.filters import gaussian_filter1d

ysmoothed = gaussian_filter1d(y, sigma=2)

Thank you so much!
It worked well; but it gives a smooth curve; not a straight line
I'm looking for a solution, but putting the code here:
ysmoothed = gaussian_filter1d(y, sigma=2)
plt.plot(sentencing4["sentenceym_derived"], ysmoothed)
plt.gcf().set_size_inches(20,8)
plt.show()

@sanhatahir so sorry for the confusion. I just went back to the original question text and you don't actually need to do the smoothed line --- the smoother was just in the solutions example (sorry for failing to flag it as such)

but it seems like the sigma controls the gaussian filter and higher sigma -> allows for more smoothing of the line - eg this code (my colnames differ from urs):
import matplotlib.pyplot as plt
from scipy.ndimage.filters import gaussian_filter1d
ysmoothed = gaussian_filter1d(analytic_df_my_i_wide["disparities_i"],
                              sigma=8)
plt.plot(analytic_df_my_i_wide["sentenceym_derived"],
        analytic_df_my_i_wide['disparities_i'],
        color = 'red')
plt.plot(analytic_df_my_i_wide["sentenceym_derived"], ysmoothed)
plt.gcf().set_size_inches(20,8)
plt.show()

produces this plot that is more similar to geom_smooth:

@sanhatahir Alternatively, you could use sklearn's LinearRegression to fit the points, then plot the x values as floats.


Pdf doesn't render appropriately

I am using the latest PDF.js available along with Firefox 26 and it fails to render the PDF located at https://drive.google.com/file/d/0B0crLpIS-8COTUl1SUc0M2RlT28/edit?usp=sharing appropriately.
The colors are missing.

The link to the PDF file is dead. Please provide a new link to reopen the issue.

It actually looks like this was fixed by PR #6684.


Dual protobuf

This would really be helpful for me.
See https://github.com/conda-forge/libprotobuf-feedstock/issues/198 https://github.com/conda-forge/tensorflow-feedstock/issues/378
needless to get my dual opencv builds up and running again:
https://github.com/conda-forge/opencv-feedstock/pull/396

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Tell me about it…..

anyway, i'm excited to see if we can get the openvino runtime working for onnxruntime. not sure if you have any interest in helping on that front!!!!
(Thats my other plan for getting away from tensorflow)

anyway, i'm excited to see if we can get the openvino runtime working for onnxruntime. not sure if you have any interest in helping on that front!!!!

It's a good plan.
I even have a PR to ONNX Runtime repo for simpler cmake integration https://github.com/microsoft/onnxruntime/pull/19184. Once it's merged and released, we can seamlessly integrate OV and ONNX runtime via find_package(OpenVINO).
I have a commit in conda-forge onnx runtime feedstock https://github.com/ilya-lavrenov/onnxruntime-feedstock/commit/54134c1efc25b3930d29ac3c42467e733ed6ea6e which performs such integration.
Do you think we don't need to wait for official ONNX RT releases and can use those patches?

Lets maybe discuss the static protobuf in the most problematic feedstock.
https://github.com/conda-forge/tensorflow-feedstock/issues/378
Other feedstocks have been quite compatible with conda-forge's dynamic linking strategy so its hard to really point to specific problems that dynamic linking brings other than making it difficult to compile tensorflow.

Do you think we don't need to wait for official ONNX RT releases and can use those patches?

I am much more inclined to merge in a patch that has been

submitted upstream
Generally accepted as a good idea by upstream
is limited to the build process
Helps in dynamic linking and unvendoring from downstream feedstocks ;)

This seems to hit all these points.
There is no exact science, but if you are inclined you can try to see how well it applies to 1.17.1 and hopefully you won't have to do so much work.


Technical Article

Pls i do love to see more technical articles with examples that will help me understand Snips-NLU better

Hi @Emekaborisama ,
That is a legitimate request indeed. We will try to allocate some time for this.
Are you looking for example use cases that would help you understand better how to leverage Snips NLU, or rather some advanced step by step tutorial that will showcase the functionalities of the lib ? Or something else?
Thanks

Both are cool. i.e use cases and step to step tutorial

I would really appreciate this too. I have been struggling a bit for advance uses of the library.


Improve support for engines

This is probably going to be a relatively large task. We've recently had a few issues show up regarding needing improved support for testing engine parts in isolation. While those issues are provided for via a relatively simple module inclusion, general engine support is lacking.
I started to follow the newish Rails Guide: Getting Started with Engines. I followed the tutorial using today's latest stable Rails release (4.1.8). Essentially, right from the beginning RSpec is lagging very far behind :frowning:. Attempting to run the scaffold generator, bin/rails generate scaffold article title:string text:text, resulted in zero RSpec generated files. :weary: Also, if you do not run the default test-unit process when creating the engine there isn't a clear way on generating another dummy test application.
I'm happy to begin working on making engine author's lives easier. I'm also happy to take patches and PRs / suggestions / advise from the community.
Cheers everyone! :smile_cat:

@cupakromer do you have any ideas on where to start?

@mikeastock not exactly. I actually need to create an engine based gem at my work. I'm going to use that as a driving force for improving this. I guess I'll just be starting from the basics and trying to get everything setup smoothly. Since I haven't done too much with engines in the past, I'm sure I'll hit many of the standard pain points right out of the gate.

cool @mikeastock !
I would be glad to help you on this, just ping me if you need it. :smiley:


[Help wanted] The request connection took longer than 0:00:20.000000. It was aborted.

While running the example, I encountered the following error 1. If I set the proxy for HttpSetup, I encounter error 2.
Error 1:
(base) ➜  example git:(main) ✗ flutter run
Launching lib/main.dart on iPhone 13 in debug mode...
Running Xcode build...
└─Compiling, linking and signing...                      2,703ms
Xcode build done.                                            7.3s
Syncing files to device iPhone 13...                               123ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
💪 Running with sound null safety 💪
An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:65388/S7AYxR2iYWY=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:65388/S7AYxR2iYWY=/
Performing hot restart...
Restarted application in 354ms.
flutter:
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception:
status code :null  message :The request connection took longer than 0:00:20.000000. It was aborted.
data:null
Error 2:
void initState() {
openAI = OpenAI.instance.build(
token: token,
baseOption: HttpSetup(
proxy: "localhost:1087",
receiveTimeout: const Duration(seconds: 20),
connectTimeout: const Duration(seconds: 20)),
isLog: true);
super.initState();
}
(base) ➜  example git:(main) ✗ flutter run
Launching lib/main.dart on iPhone 13 in debug mode...
Running Xcode build...
└─Compiling, linking and signing...                      2,496ms
Xcode build done.                                            8.8s
Syncing files to device iPhone 13...                               108ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
💪 Running with sound null safety 💪
An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:49416/nGCSjrR8sk8=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:49416/nGCSjrR8sk8=/
flutter:
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception:
status code :null  message :null
data:null

You can add long timeout such as const duration(50)

Still haven't solved the problem.
(base) ➜  example git:(main) ✗ flutter run
Launching lib/main.dart on iPhone 13 in debug mode...
Running Xcode build...
└─Compiling, linking and signing...                         6.9s
Xcode build done.                                           22.6s
Syncing files to device iPhone 13...                               330ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
💪 Running with sound null safety 💪
An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:60639/d5UPNmD2irU=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:60639/d5UPNmD2irU=/
flutter:
flutter:
(base) ➜  client git:(main) ✗ ping api.openai.com
PING api.openai.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=57 time=161.608 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=57 time=165.892 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=57 time=161.090 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=57 time=162.182 ms
^C
--- api.openai.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 161.090/162.693/165.892/1.887 ms

your have error ?

your have error ?

(base) ➜  example git:(main) ✗ flutter run
Launching lib/main.dart on iPhone 13 in debug mode...
Running Xcode build...
└─Compiling, linking and signing...                         7.6s
Xcode build done.                                           33.0s
Syncing files to device iPhone 13...                               424ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
💪 Running with sound null safety 💪
An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:65085/MvM7AE3FZSc=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:65085/MvM7AE3FZSc=/
flutter:
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception:
status code :null  message :The request connection took longer than 0:00:50.000000. It was aborted.
data:null
#0      OpenAIClient.post (package:chat_gpt_sdk/src/client/openai_client.dart:85:7)

You using proxy ? , or using normal api.

I have tried using both proxy and normal APIs, but neither of them worked.

Normal APIs you try new version , I upload last time and if have error you case ask me.

I pulled the latest code(commit 46a3bee448d1a8fa0a12d504c0607688288ac1f8), but it still gave an error. The error message is as follows.
An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:54369/DmhC3aQzclM=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:54369/DmhC3aQzclM=/
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception:
status code :null  message :null
data:null
#0      OpenAIClient.post (package:chat_gpt_sdk/src/client/openai_client.dart:132:7)

You can show code ?

You can show code ?

I just run this code and replace my token in constants.dart. https://github.com/redevRx/Flutter-ChatGPT/tree/main/example/lib

You add permission internet in iOS or android right ?

You add permission internet in iOS or android right ?

I can visit google in my iOS simulator.

You try check
the following in info.plist file.
NSAppTransportSecurity

NSAllowsArbitraryLoads

It's still not work, and my config is as follows.
`

NSAppTransportSecurity

NSAllowsArbitraryLoads

CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleDisplayName
Example
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
$(PRODUCT_BUNDLE_IDENTIFIER)
CFBundleInfoDictionaryVersion
6.0
CFBundleName
example
CFBundlePackageType
APPL
CFBundleShortVersionString
$(FLUTTER_BUILD_NAME)
CFBundleSignature
????
CFBundleVersion
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS

UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
Main
UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight

UISupportedInterfaceOrientations~ipad

UIInterfaceOrientationPortrait
UIInterfaceOrientationPortraitUpsideDown
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight

UIViewControllerBasedStatusBarAppearance

CADisableMinimumFrameDurationOnPhone

UIApplicationSupportsIndirectInputEvents

`
I also found your solution on StackOverflow.

you try run on android device.

you try run on android device.

I found this PR, and I try it, it's works(translate and chat).


⚠ Bofrost.com has degraded performance

In 502b76a, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1104 ms

Resolved: Bofrost.com performance has improved in 67a50ac.


allergies: Make exercise schema-compliant

Related to #625.

@rbasso is this diving into the "more than just formatting and compliance"?

@rbasso is this diving into the "more than just formatting and compliance"?

This PR was not supposed to cross that line, @kotp. What is the offending part?

At first glance it appears it is grouping expectations in a different way.  I will look closer though.

I was forced to move the description to comments, because one of them was a list of strings. This also forced me to add other descriptions, because the schema doesn't allow test groups without descriptions (they wouldn't make sense for the student)

That now makes sense.


Create 0000-01-02-kingobw.md

layout: slide
title: “Welcome to our second slide!”
Your test
Use the left arrow to go back!

OK - hope we're ready now.

Sending a new pull request - closing this one.


getInstance method name is a misnomer

The getInstance method with a context parameter implies there is a single instance of Fetch per context. If you support multiple instances per context (which you do), you may want to consider renaming the method to newInstance. See item 1 in Effective Java for the naming conventions for static factory methods.

@jacobtabak thanks. The getInstance method will be deprecated, and the newInstance method will be added. This will make it in the next release. Fixed.


Reformat config files

This runs the configlet fmt command, which normalizes the
contents and ordering of keys in the track config and
maintainers config.
This will let us script changes to the config files without
having unnecessary noise in the diffs when submitting pull
requests.
See exercism/meta#95

Since this is purely janitorial I'm going to go ahead and merge it.


Clarify that lineDash has no effect in IE 10 and below

See #5114

OK now @tsauerwein?

Yes, thanks for updating! :+1:

Nice, please merge.

Cheers for the reviews!


[#5498] CSV content type

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[ ] Sufficient User and Developer Documentation

[x] Passing Jenkins Build

[x] Peer Code review and approval

Positive Test Case

Create a resource
Upload a CSV file that has a header row and data rows with data columns separated by comma (CSV content type supports 3 delimiters - comma, semicolon and tab).
Verify a CSV content type got created by clicking on the file icon and seeing its metadata.  Verify the extracted metadata (number of data rows, delimiter, column properties, number of columns etc)
Verify you are able to update column names, add description to any columns, change the datatype etc. Note when you update metadata the associated CSV file is NOT updated.
You can try uploading a CSV file with no header row. In that case the column names will be empty when the metadata is displayed. You can add column names. Note if you add a column name for one column, if you have to do that for all columns.

@devincowan now using the new version of hsmodels (1.0.4)


Fix colorization for markdown indented paragraphs

Issue #8264
Bug
Indented paragraphs are not highlighted in markdown files. Up to three spaces are allowed before the first non space character (4 or more spaces turn it into a code block).
Fix
Add rule to consume optional spaces before paragrpah start.
closes #8264

Hi @mjbvz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Matt Bierner). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


fix(learn): clear instructions for Appending Variables to Strings lesson

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #39515

Otherwise, @RandellDawson I see you posted an alternative solution to fix the issue on the thread, are you still wanting more discussion on that? Or, would you approve of this as is?

I suppose we could take it as is.  I just was curious what others thought about my suggestion.

In my opinion - your suggestion was good @RandellDawson. This just seemed like a simpler way to fix the issue.


It doesn't work with copying to the clipboard

Workflow version
latest
Alfred version
2022.6
macOS version
12.3.1
Debugger output
No output

More details
For example lets create a simple workflow in Siri Shortcuts.

Make a GIF from Clipboard (on this step you have a video copied to the clipboard)
Copy GIF to the Clipboard

In clipboard we have

latest

Please never say “latest” but always the exact version. “Latest” is often wrong and makes it impossible for people who face the same issue later on to know if their version matches the report. An example of when it can be problematic: because you seem to be referring to Alfred’s version, it is impossible to know which version you’re referring to because there is currently a stable version and a pre-release—two versions which could be reasonably classified as “latest”.
Fortunately, it doesn’t matter in this case. The Workflow does work with copying to the clipboard, but only text content. Without getting bogged down in the details, the Workflow uses the clipboard to temporarily store information to get around NSTask’s decomposition.
I have changed the approach. Are you able to confirm this new version works for you?

2022.7 is out with the change.


Add "search" to help

There was no "Search" to help message.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTING.md for more information.

@bors: r+ ae783c6
Thanks!

:hourglass: Testing commit ae783c6 with merge 83fd8aa...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-32, cargo-win-64


Possible bug with punctuation in a text

Hi guys when running the mitie model with the following sample
{
  "rasa_nlu_data": {
    "common_examples": [

      {
        "text": "Hi, thank you for your interest, the last price I can go for it is 200,000.",
        "intent": "new_offer",
        "entities": [
          {
            "start": 0,
            "end": 2,
            "value": "Hi",
            "entity": "greeting"
          },
          {
            "start": 67,
            "end": 74,
            "value": "200,000",
            "entity": "price"
          }
        ]
      }
    ]
  }
}

i am getting this error
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.12_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.12_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/site-packages/rasa_nlu/train.py", line 65, in <module>
    do_train(config)
  File "/usr/local/lib/python2.7/site-packages/rasa_nlu/train.py", line 59, in do_train
    trainer.train(training_data)
  File "/usr/local/lib/python2.7/site-packages/rasa_nlu/trainers/mitie_trainer.py", line 25, in train
    self.entity_extractor = self.train_entity_extractor(data.entity_examples)
  File "/usr/local/lib/python2.7/site-packages/rasa_nlu/trainers/mitie_trainer.py", line 42, in train_entity_extractor
    start, end = self.start_and_end(tokens, val_tokens)
  File "/usr/local/lib/python2.7/site-packages/rasa_nlu/trainers/mitie_trainer.py", line 31, in start_and_end
    start, end = locs[0], locs[0] + len(entity_tokens)
IndexError: list index out of range

I am not sure how to fix this, but i am positive it is related to the punctuation in in the text string, because when i remove the last '.' in the training sample text field it works.
Thanks for your amazing product!

Which version are you using, are you running on master or 0.6b?

I am using the version from pip install rasa_nlu which seems to be 0.5.0

Just tried it out and it works with the current master (the issue is within MITIE as it doesn't properly tokenize 200,000. into ["200,000", "."])

I am now just getting a warning,
[u'Hi', u',', u'thank', u'you', u'for', u'your', u'interest', u',', u'the', u'last', u'price', u'I', u'can', u'go', u'for', u'it', u'is', u'200,000.'].Entities must span whole tokens.
but what actually happens with this sample? Is it ignored?

No they are not ignored, what happens to them is not defined. It depends on the entity extractor (mitie / spacy).

Thank you. Please close the issue


Developers want the KAT backend to be able to handle timeouts, etc.

The httpstat.us usage in t_retrypolicy.py points to a simple KAT backend extension that'll allow us to not need to use httpstat.us, and may allow better timeout testing: allow the KAT backend to delay a response for a particular amount of time, under control of a header. Let's get this done.

A reasonable way to tackle this may well be to modify the kat client to measure the time taken for a request, then deliberately cause the timeout and check the time it took.
For bonus points, have all the deliberate timeouts run in a phase 0 that's independent of the phase 1, phase 2, etc. sequential timers.

Fixed in #1690


Plot Command Issues

The plots commands are having issues, when I create a plot and try to do the trusting or claiming commands it tells me that I’m not standing on a plot and a open plot that is supposedly able to allow people outside my town doesn’t work either because when someone tried to claim the open plot I set it says that they can’t claim it because they are not a part of my town

Are you still having these issues, or did you get it sorted out?

I think the open plot claiming was a mistake and they meant to use /buyplot

I'm also thinking you might have created shallow plots and weren't standing within the y boundaries, I need someone to test this some more


Feature: binding string interpolation

Support for multiple annotated bindings in properties, attributes, and textContent.
Should support the following use cases:
<my-el class$="foo bar {{baz}} zot {{computeClass(a, b)}} ziz">
  My name is: {{name}}

  I like to {{computeLikes(a, b)}}!!
</my-el>

:+1:

+1

Logic belongs in the script!
But how complex must a expression be to be logic?
Is the example so complex that you should write a computing method for the whole class attribute?
To me it seems a bit to much effort to make up an own computing method for the example given.
But I want to put in consideration:
How powerful must/will the parser be?
I think it's important to limit the competence of the parser to simply replacing bracket-expressions and not allow (complex) syntax in the markup.
That could lead to things like the old times:

So, limiting the power of the parser will keep the core nice and tight and the logic separated from the content.
Finally, +1

but how about this example:

where the "computation" is very simple BUT activeId can change any time, so it must be reflected immediately (this is how it works in Polymer 0.5)

IMO, that's logic.
So it should be in the script/method.
That is a conditional expression which is a logic element.

1)So you'll write separate method in JS, just to check one boolean statement?
2)How the change to activeId will be reflected back in div's class if I compute it just once?

Yes.
Like this:

and
_computeClass(promoted, id, activeId) {
return (promoted ? "promoted" : "") + (activeId == id ? "active" : "");
}

1)IMHO, this approach will blow up HTML and JS file
2)Correct me if I'm wrong, but once computation is done, it will not reflect changes of activeId, right?

I think "blow up" is a bit extreme.
I give more credit to the performance of the polymer core, in regard of the necessary parser, than the file size of a certain component.
Secondly a recomputation is done whenever a argument changes, including activeId.

1)I've already done it in real life app and I have dozens of "return only" functions
2)I have tested it just second ago and It didn't work

I'd appreciate you create a fiddle or something, so I can check on that.

Which of JSFiddle/Bin/else supports Polymer?
So far it throws "compute method `_computeClass` not defined"... https://jsbin.com/yuqisexebo/1/edit?html,css,console,output
And back to my code - I think that the problem occurs with <template is="dom-repeat" items="{{items}}">. It looks like class="{{_compute(something)}}" is completely ignored.

The occuring error is caused by the element recognizing the changed attribute value to {{_computeClass(..)}} and not finding the (not yet implemented) _computeClass method.
I guess in dom-module elements it works because the method is implemented before the value is actually computed.
The current error is due to a lack of support for template computed methods and not due to the incompetence of computed methods to update on property changes.
I would like to open another issue on that specific topic with your example.

ok, do it please.
And is the explosion of "return only functions" still under concern of this issue?

I can across this issue which should cover your concerns.
I hope with behaviors we can effectively tackle both problems to anyones convenience.

PS:
The "class" problem is due to the assignment operator you use.
Use $= instead of =.
https://jsbin.com/namoxiketi/1/edit?html,css,console,output

ok, $= solved the problem of recomputation. Thank you @Jamtis
However having this: <my-el class$="foo bar {{baz}} zot {{computeClass(a, b)}} ziz"> instead of dozens of compute methods will be great!

@kevinpschaaf how will this affect performance? Wasn't interpolation a source of perf concern in 0.5? Or was it just the arbitrary expression syntax?

I guess string interpolation might be eventually represented as computed binding which is already present, this is just syntactic sugar that will add some performance hit at initial parse time, but will not differ from other computed bindings in runtime.
Namely:
<my-el class$="foo bar {{baz}} zot {{computeClass(a, b)}} ziz">
  My name is: {{name}}

  I like to {{computeLikes(a, b)}}!!
</my-el>

Will be equivalent to:
<my-el class$="[[something('foo bar ', baz, ' zot ', a, b, ' ziz')]]">
  [[details(' My name is: ', name, '
 I like to ', a, b, '!!')]]
</my-el>

While something and details will be generated at parse time.

Since we already have multiple syntaxes, namely {{ }} and [[ ]] which do slightly different things, why not use the underscore from 0.5 to denote that the attribute contains multiple bindings, or needs the strings to be concatenated and thus should be treated differently. This way if you don't use class_= in your markup, then you don't experience any performance issues.
Right now, for something simple as changing the state of an indicator and displaying a hover effect, I have to write this:
class$="{{concat('icon large', level, state)}}" with a concat function where it could have been as simple as class_="icon large {{level}} {{state}}"

If I understood @nazar-pc right then concatenation syntax doesn't affect runtime perf.
So I don't see a need for an underscore operator.
The original perf concerns I raised was about arbitrary expression syntax, like the ternary operator in expressions.
One could suggest that we use the underscore for arbitrary syntax.
But I wouldn't do that either, for two reasons:

Logical expressions shouldn't be in the semantics.
Developers had to deal with to different operators. It allowed devs to be lazy and always use the underscore with a downside on perf.

:+1:

:+1:

:+1:


Update values.yaml

Uncommented the node selector tags

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [stable/mychartname])

Hi, @anuof90 - Thank you for your PR. However, as of November 2020, we stopped accepting updates to this archival repo. More details: https://github.com/helm/charts#helm-charts - and you can find the current home of this chart here: https://artifacthub.io/packages/helm/bitnami/cassandra


Keyless Sign OIDC Providers

Cross posting my cosign GitHub Issue here just in case its a Fulcio related-issue.
I have been looking into using keyless signing again. My problem is that I want to be able to use keyless signing completely from the command-line / terminal (without the need to login through a UI). So far, the cosign docs haven't shown how to do this with OIDC providers other than GCP... The example in the documentation is:
cosign sign --identity-token=$(gcloud auth print-identity-token --audiences=sigstore) gcr.io/user-vmtest2/demo
We do not use GCP so unfortunately this is not an option for us. Alternatively, I did try using my Amazon EKS Cluster as the OIDC provider (following this guide), and the Identity Token I received from that turned out to work with cosign just fine. The ID token from EKS took this form:
{
  "aud": [
    "sigstore"
  ],
  "exp":<PHONE_NUMBER>,
  "iat":<PHONE_NUMBER>,
  "iss": "https://oidc.eks.us-west-2.amazonaws.com/id/EKS_ID",
  "kubernetes.io": {
    "namespace": "MY_EKS_NAMESPACE",
    "pod": {
      "name": "MY_EKS_POD",
      "uid": "1234567899"
    },
    "serviceaccount": {
      "name": "MY_EKS_SERVICE_ACCOUNT",
      "uid": "1234567890"
    }
  },
  "nbf":<PHONE_NUMBER>,
  "sub": "system:serviceaccount:MY_EKS_SERVICE_ACCOUNT"
}

I wanted to try and see if we can use Hashicorp Vault as an OIDC provider. Our Vault ID token takes the form:
{
  "aud": "sigstore",
  "email"<EMAIL_ADDRESS>  "exp":<PHONE_NUMBER>,
  "iat":<PHONE_NUMBER>,
  "iss": "https://stg.vault.company.com/v1/VAULT_NAMESPACE/identity/oidc",
  "namespace": "t9wNo",
  "nbf": "1727328682",
  "sub": "1234567890"
}

The public keys can be reached at https://stg.vault.COMPANY.com/v1/VAULT_NAMESPACE/identity/oidc/.well-known/keys. However, using this token unfortunately leads to the error:
cosign sign-blob --identity-token eyabc --output-certificate cert.txt --output-signature sig.txt test.txt --bundle cosign.bundle
Using payload from: test.txt
Generating ephemeral keys...
Retrieving signed certificate...
Error: signing test.txt: getting key from Fulcio: retrieving cert: not verified by identity provider
main.go:74: error during command execution: signing test.txt: getting key from Fulcio: retrieving cert: not verified by identity provider

Is there anything wrong with the Vault token claims? Is the Vault token not an option we can use? Are there any other options we can use for our use-case?

Is hosting our own OIDC provider and making the public keys avaialble through a JWKS endpoint a possibility or are we really limited to what cosign / fuclio supports

I think you're hitting two issues.
not verified by identity provider is because the token you've provided contains an email but not an email_verified claim.
The other issue is that Vaults are self-hosted and I thought typically not publicly exposed, though I'm not very familiar with the product. This would mean that Fulcio cannot verify the token provided for a self-hosted vault without the identity provider being public as well.
If so, you could host your own instance of Fulcio within your network, configured to support your vault (adding something like this but with your vault values).

Actually I think this is straightforward to add assuming the URIs are standard. We can add Vault instances as "meta issuers", meaning we just use * in place of any values unique to your deployment. Is https://*.vault.*.com/v1/*/identity/oidc/ a standard URI for vault deployments?

@haydentherapper, yes that looks to be Vaults standard URI. Under the hood, what exactly is happening? From my understanding, is it:

A signing request is made through cosign sign-blob --identity-token <> ...
The identity-token will contain a base URI in the iss claim, which the backend will just append .well-known/openid-configuration to
The fully-constructed URI: $ISS/.well-known/openid-configuration is inspected for the jwks_uri value, which will then point to $ISS/.well-known/keys.
The pubkeys are retrieved from here and then other validation stuff happens

I ask because I think in Vault there are two OIDC setups, a multi-tenancy setup and a global setup. This means the iss can be either:

https://stg.vault.COMPANY.com/v1/<namespace>/identity/oidc OR
https://stg.vault.COMPANY.com/v1/identity/oidc/provider/<provider>

But I guess the regex https://*.vault.*.com/v1/*/identity/oidc/ like you mention above will account for this since it all starts with that iss param?

As I mentioned over Slack, I haven't been able to find documentation that that regex is standard for a Vault deployment - if you have any references, that would be helpful.
We also want to make sure we're supporting well-secured hosted instances like the other providers. Most of the supported providers are public, so this is a bit of a unique case, since iiuc some vaults are self-hosted, some are managed by Hashicorp.


Python 3.13 support

I created this issue to keep track of numba adding 3.13 support which should be with their next release.

Waiting for https://github.com/numba/numba/issues/9777


Top menu highlighting

Hello and thank you for a wonderful theme for Hugo!
Describe the bug
main_menu = { highlight_active_link = true} from params.toml highlights multiple sections names if the names overlap.
To Reproduce
If you have two sections one named Mission and the other named Admission (in that order) when clicking on Admission, Mission also gets highlighted.
Expected behavior
The highlight should be for the active section only.
Technical details:

Academic Version: 4.8.0
Hugo Version: Hugo Static Site Generator v0.74.3-DA0437B4/extended
Browser/OS: Any

This looks like it's going to be fixed in the latest release of academic. (Err... wowchemy, it seems.)

How does one access the code that fixes this, please?

How does one access the code that fixes this, please?

It would be in layouts/partials/navbar.html I believe. If it's not absolutely pressing, I would hold-off until the next release of wowchemy comes out. (The more you manually alter in the theme, the more you have to spend time developing/integrating changes when/if you update to an newer version.)
You're also going to want to follow the inheritance hierarchy for Hugo – so you avoid making direct source-code changes to wowchemy (this will make upgrades a nightmare).

Thanks John!

Unfortunately, using the latest code from layouts/partials/navbar.html does not resolve the issue. (I only just got to trying to fix it!)


Multiple sources to destinations

Is there a solution to support multiple source-destination like v1?
"staticFiles": {
        "staticPath": [
            {
                "staticPath": "assets/robots.txt",
                "staticOutDir": ""
            },
            {
                "staticPath": "assets",
                "staticOutDir": "assets"
            }
        ],
        "watcherGlob": "**"
    },

Helo @damianobarbati!
At this moment there is no feature like this. Maybe in future someone (me or someone else) will add it.

This one supports multiple sources https://github.com/jvidalv/parcel-reporter-static-file-copier

This would be excellent because in all the static apps I deploy there's loads of assets I don't want exposed in /www - so my /dist folder always looks like /dist/www, /dist/config, etc, and in the config folder I copy in PHP dependencies and such and also files with SMTP passwords for example, but POST entrypoint handling scripts and other static assets need to go in /dist/www.

I think my PR should solve this problem, had the same issue where i have multiple different files under different paths and needed to export them. See my pr https://github.com/elwin013/parcel-reporter-static-files-copy/pull/13

@elwin013 if @Drecu 's solution works can we please get that merged? This would be a huge help. Thank you!

Feature is added with 1.5.0 version of plugin. Plugin now allows to things:

multiple configurations (just set staticFiles to array and put as many configs as you wish),
env variable matching (all variables must match), example config:

// package.json
  {
  ...
  "staticFiles": [
    {
      "staticPath": "production.txt",
      "env": {
        "NODE_ENV": "production"
      }
    },
    {
      "staticPath": "development.txt",
      "env": {
        "NODE_ENV": "development"
      }
    }
  ]


set location of a view with panGestureHandler

i try to create a seekbar with reanimated and panGestureHandler
i use of example folder to create draggable seekbar and thats work fine
but i want when user tap on somewhere of bar the toggle jump to where user tapped
plz help
my code:
`this.offsetX = new Value(0)
this.gestureState = new Value(-1)
this.onGestureEvent = event([
{
nativeEvent: {
translationX: this.dragX,
state: this.gestureState,
},
},
])
this.addX = add(this.offsetX, this.dragX)
this.transX = cond(
  and(eq(this.gestureState, State.BEGAN), eq(this.draging, 0)),
  [call([this.posX], this.startDraging)],
  cond(
    eq(this.gestureState, State.ACTIVE),
    [call([this.addX], this.setTime), set(this.draging, 1), this.addX],
    cond(
      and(
        or(
          eq(this.gestureState, State.END),
          eq(this.gestureState, State.CANCELLED),
          eq(this.gestureState, State.FAILED),
        ),
        eq(this.draging, 1),
      ),
      [
        block([
          set(this.offsetX, this.addX),
          set(this.currentTime, this.addX),
          call([this.addX], this.setVideoTime),
          set(this.draging, 0),
        ]),
      ],
    ),
  ),
)

<PanGestureHandler
maxPointers={1}
hitSlop={{
top: 15,
left: 15,
bottom: 15,
right: 15,
}}
onGestureEvent={this.onGestureEvent}
onHandlerStateChange={this.onGestureEvent}
>
<Animated.View
style={[
{
width,
height: 12,
flexDirection: 'row',
position: 'absolute',
alignItems: 'center',
bottom: 0,
left: -width,
},
{
transform: [
{
translateX: Animated.interpolate(
cond(greaterThan(this.draging, 0.5), this.transX, this.currentTime),
{
inputRange: [-1, 0, width, width + 1],
outputRange: [12, 12, width, width],
},
),
},
],
},
]}
/>

`

Hi @mldb,
Could you please prepare code I could simply paste into editor and run? I do not clearly understand what's going on here


How do I setup variable names and create loops in cells?

Hello,
first of all thank you for this great work, I almost cried in joy when I saw this repo while trying to do a datatable with some bad components.
However, I have two (small) problems:
I'm trying to do the "following", but can't manage to reproduce it mainly because I'm still newbie with React, and also because I don't think I'm doing it the good way
How can I do loops in cells and render a loop result?
I want to add a HTML5 music player if one string (actually the path to the file) finishes by '.ogg', '.wav' or '.mp3'. With another component, I could do the following:
<TableBody>
   {data.map(n => {
     let filename = n.path.split('/').pop();
     let format = filename.split('.')[1];
     let tags = n.tags.replace(/[^a-zA-Z0-9]/g, ""); /

     return (
       <TableRow >
           <TableCell disablePadding>
               {filename}
           </TableCell>
               {
                   ['mp3', 'ogg', 'wav'].includes(format) ?
                       <TableCell>
                           <audio controls>
                               <source src={ n.path } />
                           </audio>
                       </TableCell>
                       :
                       <TableCell />
               }
               <TableCell numeric>
                   { tags.split(' ').map(function(tag, i) {
                       return (
                           { tag }
                       )
                   })}

However, while reading the doc, I only managed to do the following with the "format" part, but I can't define any variables anywhere without the code flipping out:
const columns = [{
    Header: ' ',
    accessor: 'path',
    Cell: row => (
        <input
            type="checkbox"
            value={row.value}
        />
    )
}, {
    Header: 'Fichier',
    accessor: 'path',
    Cell: row => (

{row.value.split('/').pop()}

    )

}, {
    Header: 'Lecture',
    accessor: 'path',
    Cell: row => (
        /*
        * let filename = n.path.split('/').pop();
 let format = filename.split('.')[1];
        * */

            {
                ['ogg', 'mp3', 'wav'].includes(row.value.split('/').pop().split('.')[1]) ?
                    <audio controls>
                        <source src={ row.value } />
                    </audio> :
                    ' - '
            }

    )
}

Thank you in advance

The Cell renderer is just a function, so you can perform as much logic in it as you want, eg:
`Cell: row => {
... whatever you want, loops, variables, javascript
return <... />
}


[ScatterView] Check if Delaunay is actually necessary

Close to regular grids would be better represented by quads than by triangles. Furthermore, the Delaunay triangulation would not be necessary.

The above refers to the "Solid" visualization mode.

In fact, it would be enough to replace the overlay by an image instead of a set of triangles.

I am not sure i understand. The use case is not the same.

I expect a function smart enough to decide if the data are regular or not.

Checking that the data is a grid to avoid computing Delaunay triangulation should definitely be a good optimization... but that is not as replacing the visualization with an image with nearest interpolation, or that would lead to a different visualization.
I think we need more options to interpolate a scatter plot (issue #1910 already opened on that), and to me, what you're thinking of is a fast pass for nearest interpolation of scatter plot when it is a grid.

This is what I wanted to mean, I think we are saying the same thing.
There are different ways of doing it with small differences (e.g., image, voronoi, #2743, histogram with bin size chosen to have on point in each bin if the grid is really regular).
I'll make some demos of some of those.
I'm fine providing many modes in the API, but I'd prefer to keep the number of options available from the GUI as small as possible.
That being said, we need to add one for this case.


feat: implement orthogonality for AffineSubspace

Define AffineSubspace.orthogonal and AffineSubspace.IsOrtho, as well as develop an API emulating that of Submodule.orthogonal and Submodule.IsOrtho, respectively. Additionally, provide some relevant lemmas exclusive to affine subspaces, which are mostly to do with the relationship between orthogonality and AffineSubspace.Parallel.
Closes #5539

Still WIP as I need to add more docstrings as well as notations for the new definitions.

@eric-wieser Sorry for the long delay. I left this marked as draft because I intended to write docs for a few more things and maybe touch up some proofs. However, I've been quite busy for the past few months (school started back up), so I haven't had time to work on this (and, to be honest, I kind of forgot about it).
I should have more time to work on this around the new year, but if you think that those improvements are unnecessary, I can mark this as ready for review now.

No idea why lean4checker failed, but looking at the logs (could not execute external process 'lean4checker/build/bin/lean4checker') I suspect that it's not an issue with my code in specific.
Other than that, I think that it would be helpful if someone could come up with better notation than ᗮᗮ and ⟂⟂. I would also appreciate feedback on any lemmas I should add; I tried to add all lemmas I could convert from Submodule.orthogonal and .IsOrtho, but there may be others that are useful.

Merging master will probably fix the CI issue


ND4J on single-board pc

is it possible to run on ND4J single board microcomputers (such as raspberry pi, ODROID-XU4 etc. with ARM architecture) ?

Yes, of course. Building from source should work pretty much the same as with linux-x86_64. If you run into issues, just post them here and we'll fix them as they show up.

did you have any luck with this? Its a fun idea I am considering to try out this weekend on my BBB will update if I get around to actually doing it :)

Theoretically, all dolyuno work, but in practice, I could not check it
because of the lack of a single-board computer. For my task, I use my
friend's server.
16 сент. 2016 г. 17:55 пользователь "Sadat Anwar"<EMAIL_ADDRESS>написал:

did you have any luck with this? Its a fun idea I am considering to try
out this weekend on my BBB will update if I get around to actually doing it
:)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deeplearning4j/libnd4j/issues/243#issuecomment-247622012,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI23tNlEjbqGHmopFlNHY1eVSrFRPd1Nks5qqq3fgaJpZM4I-WNW
.

Working till now for the Raspberry PI 2 (Raspbian linux arm 32 bit JVM) with some changes in nd3j and libnd4j.
The modified codes are here:
https://github.com/dschowta/libnd4j
https://github.com/dschowta/nd4j
The method followed during the building process is updated in README.md
I hope this helps

@dschowta could we maybe get a pull request here?

Thanks for the contribution @dschowta ! For those looking for instructions:
https://github.com/deeplearning4j/libnd4j/blob/master/RaspberryPi2.md

@saudet did anyone succeeded building ND4J for arm7-hf? I have an ODROID XU4 and i still facing errors when building it.


Would be nice if documentation from schema.yml propagated to Databricks

Describe the feature
When I provide a column description in schema.yml, it would be nice if that populated the column comment in Date Explorer.
Describe alternatives you've considered
Copy-pasting?  I'm new enough to both products that I don't know if there is some other way I should be getting documentation to show up in Data Explorer.
Who will this benefit?
Will increase the likelihood that tables are actually documented when viewed in Data Explorer (again, assuming I'm not missing some easy path outside of this library to accomplish it)
Are you interested in contributing this feature?
Sure, if someone can point me down the path.

Closing because I think persist_docs flag does this.


precompiled font resources not linked in applications assets

I moved my app to a new VPS and I am having in the new server this request which results in a 402 Not found response.
GET /assets/fontawesome-webfont.woff2?v=4.5.0 HTTP/1.1
Here the request headers:
Accept: application/font-woff2;q=1.0,application/font-woff;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: identity
DNT: 1
Referer: https://www.myawesomeapp.com/assets/application-9953a441413f350766cc20c2a1469148ed511c3137e011ad33e7317050c0c29f.css

Tried to upgrade but same error.
All the linked resources in the HTML page are properly linked to precompiled resources: js, png, ...
The corresponding woff2 file is correctly precompiled in place.
In my previous VPS all is working fine.

My fault. A mix-up with the capistrano stage variable.


error: Error creating Lambda function: InvalidParameterValueException: The runtime parameter of nodejs8.10 is no longer supported

$ pulumi up failed to create the mapboxQuery Lambda function due to deprecated Node.js version.  I am walking through the instructions in RHEL.
error: Error creating Lambda function: InvalidParameterValueException: The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions.
It'd also appear the latest version of @types/aws-lambda is 8.10.51 - still nodejs8.x I supposed - from looking it up in npmjs.com.

Thanks for the issue @amoschong. There is a PR in flight and we'll get this resolved this week.

This should be resolved now @amoschong - Dependencies have been updated and runtimes all reflect Node12.
Let me know if you continue to have issues.


Ping intervals ?

Hello, just found out Monitoror, great tool and thank you : )
Looking at example .env from this repo I just copy/pasted these 4 as I will only be monitoring ports and ping's
MO_MONITORABLE_PING_COUNT=2
MO_MONITORABLE_PING_TIMEOUT=1000
MO_MONITORABLE_PING_INTERVAL=100
MO_MONITORABLE_PORT_TIMEOUT=2000
My question is: PING_TIMEOUT is 1 second (1000ms) ? Because testing out and dropping  outgoing ping seems to delay status change to Red for about 5 seconds not 2.
Not that it matters too much but in production I would like to have control and sense how to configure this.
Any explanation is welcome..
Thanks

Ping tile allows you to get an average ping value through n calls. Like the real ping command. That's the COUNT part: you can choose how many pings will be done before returning the result.
Then, you can define how much time to wait before making the next ping call: that's the INTERVAL.
There is some TODO in docs for that ^^'
https://github.com/monitoror/monitoror/blob/ed951340a926dba0103503a109bda70ca0604cf3/docs/documentation/index.html#L1639-L1644
The timeout is a global timeout: if the N calls are not done at the TIMEOUT value, Monitoror ignores the result and consider that as an error.

Thank you very much. It's clearer now.
I guess logical question (and maybe should be 1st one) is at what intervals tiles/browser refreshes results? As I said, when I completely drop connection to Port X, seems tile goes RED in about 5 seconds.. sometimes it 3,4..
Thanks

The UI refresh each 10 seconds, with an initial random delay allowing us to spread request in time instead of requiring all tiles each 10 seconds at the same time.


Docker build

Hi,
I am using Windows 10 with cmd or WSL and docker for windows.
I tried to build the docker image with the command in the readme docker build -t tgs-to-gif .
I get the error logs:
Step 10/15 : RUN npm ci
 ---> Running in a68b9cca070e
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t<EMAIL_ADDRESS>npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

I tried this with WSL and Ubuntu bash and with CMD from Windows10 directly and got the same output
Any Idea what I am doing wrong?

@huehnerlady hi! This issue should be resolved. Please try again.


⚠ Bofrost.at has degraded performance

In fac82f4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2712 ms

Resolved: Bofrost.at performance has improved in 2557209 after 34 minutes.


langchain[patch]: Migrate graphs to use optional community imports

Migrate graphs to use optional community imports.

https://github.com/langchain-ai/langchain/issues/21080


WIP - 9 - chat.

Done

Send message with push of enter.
Automatically scroll to bottom when sending a message.
Minimum 1 characters.
Maximum 100 characters.

TODO

Automatically scroll to bottom when receiving a message.

Related Issues
https://github.com/Zomis/Games/issues/16
https://github.com/Zomis/Games/issues/9
Closed

Default chat

Select another chat

Will wait with merging this until the backend is finished so that it can be tested more properly.


Ubuntu, firefox installed from deb doesn't seem to work.

Hi,
I'm on Ubuntu 22.04 amd64, Gnome 42.4, with Firefox 105.0.2.
I opened Firefox, that has lots of tabs, but typing part of the name of any of them doesn't seem to show any results.
I have tried reinstalling the firefox extension from the firefox extension page but it doesn't seem to help.
Cheers
Stuart

I double checked this + have the addon installed in firefox.
In GNOME looking glass the extension hasn't logged any errors.
Any idea how I can debug this ?

Hi,
You need to install 3 components for this to work.
You can see them on README.
Could you confirm if after installing all 3 components whether search works?

Ooh, think I did something silly and didn't install the host connector, will confirm...

Yep, totally was that - think I had not installed as I'd got lazy when there was no deb.
Using the meson instructions worked great.


Trying to install MS Container on Hyper-V and getting error after issuing PowerShell command At line:1 char:37 + PS c:\New-ContainerHost.ps1 -VmName  -WindowsImage Server ... The '<' operator is reserved for future use. + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException   + FullyQualifiedErrorId : RedirectionNotSupported

PS C:\WINDOWS\system32> PS c:\New-ContainerHost.ps1 -VmName  -WindowsImage At line:1 char:37

PS c:\New-ContainerHost.ps1 -VmName  -WindowsImage Server ...

                                ~

The '<' operator is reserved for future use.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported

Sorry mistake please ignore as the PowerShell command contains PS which it should not so resolved the above error by issuing this PS command with the PS as such  (also note the   has no < > encapsulation below) ....
PS C:\WINDOWS\system32> c:\New-ContainerHost.ps1 -VmName mylittleserver -WindowsImage ServerDatacenterCore -Hyperv


deepspeed 分布式训练 loss nan or inf

单机多卡训练正常，多机多卡报错
Skipping backward and optimizer step for nan or inf in forwarding metrics/loss!

尝试换成bf16


Update attributes of entity in one query and fixed finding of column in association mappings

This changes will fix #180.
I have also fixed the code block of finding a column in association mappings, because the variables were never used in this method.

Any chance to get this PR merged @bendavies @DavidBadura @tolry ? Sounds useful to me.

I'll take a look at this soon. Really need to make sure we have tests covering this.

Is it a replacement of #180? Can you finished it (rebase / tests)? Thanks!

replaced by #253


pythonPackages.timy: init at 0.4.2

Description of changes

added timy to pythonPackages
needed for https://github.com/NixOS/nixpkgs/issues/289977
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/1016/117

I dont see any tests from this package being run?

I dont see any tests from this package being run?

This is expected as setup.py does not reference them.
I don't think it's worth the effort to manually path the tests into this package as it is rarely updated.

I don't think it's worth the effort to manually path the tests into this package as it is rarely updated.

We are mostly concerned about update dependency updates breaking the package. Please run them. If the sdist does not contain them, then just download from GitHub. Also please check if we can just run pytestCheckHook, running them through python setup.py check is deprecated anyway.

makes sense, thanks

@ofborg build python311Packages.timy


rename and validation

Rename constants.
Check response for appropriate structured message use.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Storage.Blobs


Rows auto width

How to make the width of the column by content???

you need to do everything inside db.query

This issue (and hack fix) are tracked here: https://github.com/guyonroche/exceljs/issues/83

+1


Add parsing support for class names following closing brace

@src-code I'm not sure if this is a valid use-case because (in theory) you could always replace the dust syntax in the example with conditional Atomic css.

To clarify: The purpose of this change is to allow the parser to correctly locate Atomic classes where the classname is preceded by a closing brace, such as inside a Dust template conditional.

@src-code thanks, I've updated the test label.

:+1:

This'll land in v3.2.0


Django 3 Support

Since Django 3 dropped support for python 2, pinax messages do not work.
Problem is in models definition which is using @python_2_unicode_compatible decorator and referring to the future library.
Support for both is now over and I think they should be removed.

Hi @maddrum, you're absolutely right. This is something I'm working on a release plan for. Thank you! https://github.com/pinax/pinax/wiki/Pinax-20.xx-Proposed-Process

@maddrum We're working on a new release now, including dropping support for Python 2. Would you be interested in updating this app to drop Python 2/add Django 3? Here's  summary of what we're dropping/adding: https://github.com/pinax/pinax/wiki/Pinax-20.xx-Proposed-Process#pinax-20xx-release-overview

An update, @maddrum... It's just a matter of time before the PR below will be merged and provide Django 3.0 support. https://github.com/pinax/pinax-messages/pull/51

Hello @maddrum, I've just merged that PR and should just be a matter of time before it's published to PyPI. Cheers.

Pypi still hasn't released v3. Any idea why it's taking so long?

@chemeng It's because I don't personally have access to do it. I've asked the people above me about getting them published.

@KatherineMichel is there an update you can provide on this ?
Would be useful if there is a workaround way of getting the latest branch listed in the readme.
Thanks

@Flexin1981 I've been given access recently and will be publishing soon! Sorry for the delay.

@KatherineMichel any update on this? :) thanks

Hello, @maddrum, @chemeng, @Flexin1981, @krystofbe... I've published a release earlier today. Hope this helps! https://pypi.org/project/pinax-messages/


fix: Allow updating inline snapshots when test includes JSX

Summary
Closes https://github.com/facebook/jest/issues/11561
Note that the fix by @SimenB does not fix the added test because the test passes the babel config directly to babel-jest instead of being declared in a babel.config.js.
It seems to me that saveSnapshotsForFile should ultimately ensure it transforms the source with the same transformer that was passed to Jest. It looks like it's currently assuming Babel with pre-defined plugins.
Though we can't actually accept any transformer since their AST format may differ and we currently use the AST to find toMatchInlineSnapshot calls.
I guess for now we focus on fixing this when using Babel and keep the old behavior when Babel isn't used?
Test plan

[ ] yarn jest toMatchInlineSnapshotWithJSX
[ ] CI

I take it there's no workaround possible in the meantime?


Getting started with Docker FAILED.

I have downloaded the docker desktop, which includes docker-compose. After cloning the repository, the execution of docker-compose fails, and the same error occurs on both windows and mac:
W: GPG error: http://deb.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED<PHONE_NUMBER>

So I added the --force-yes option to the apt-install command in Dockfile, and this time I got a new error:
 > [4/6] RUN rbenv install 2.6.1 && rbenv global 2.6.1:
#0 0.259 To follow progress, use 'tail -f /tmp/ruby-build.20230211125129.19.log' or pass --verbose
#0 0.272 Downloading ruby-2.6.1.tar.bz2...
#0 0.272 -> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.bz2
#0 165.1 error: failed to download ruby-2.6.1.tar.bz2
#0 165.1
#0 165.1 BUILD FAILED (Debian GNU/Linux 8 using ruby-build 20230208.1-2-g4d2e1cc)
#0 165.1

Apparently https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.bz2 is an incorrect URL.
Please help to solve this problem, thanks.

Please take a look if you have time, thank you very much! @Bryukh

Please take a look if you have time, thank you very much! @Bryukh

@SuperJe
Updating the base docker image to node18-bookworm made it build in my machine.
You can find the change here.
https://github.com/prasy-loyola/codecombat/blob/update-base-docker-image/development/docker/Dockerfile
I am new to CodeCombat , so I am not sure if all the functionalities are working fine, but I was able to build and open it locally in  the browser.

@SuperJe
Updating the base docker image to node:18-bookworm made it build in my machine.
You can find the change here. https://github.com/prasy-loyola/codecombat/blob/update-base-docker-image/development/docker/Dockerfile
I am new to CodeCombat , so I am not sure if all the functionalities are working fine, but I was able to build and open it locally in the browser.

thank you very much, tried what you said and it works successfully in my local browser.


FIX: Ensure un-nested lists are not over-flattened

Do we have a good dataset to test this? It showed up with blip-up/blip-down, presumably single volume field maps.
Closes #598.

@bkraft4257 Is there any chance you could give this a shot and verify that it solves your issue?
git clone git@github.com:effigies/fmriprep.git
cd fmriprep
git checkout fix/flatten
fmriprep-docker -f fmriprep [...]

Where [...] is the rest of your command.


لاأستطيع الرجوع الى الصفحه السابقه بعد التعديل عليها

'package:flutter/src/widgets/framework.dart': Failed assertion: line 5403 pos 14: '_dependents.isEmpty': is not true.

'package:flutter/src/widgets/framework.dart': Failed assertion: line 5403 pos 14: '_dependents.isEmpty': is not true.

@Alialkohlany
When you open a new issue, please try to use issue template and fill out requested details so that we can properly address the issue. Just providing error line won't help us much. Also, please use English to file issue so that we can understand it.
Closing for now due to lack of details.


Accessibility test more pages with Axe

Related to https://github.com/pydata/pydata-sphinx-theme/issues/1378.
There are some open questions on #1378 that need to be answered before I can be sure if this PR closes that issue.

Since all the comments in the original issue are now resolved will merge 🚀  thank you @gabalafou


Could not compile toml_edit due to recursion limit reached

I am trying to install cargo-edit, which fails on trying to compile toml_edit.  Building toml_edit by itself also fails.  Minimal test case:
bram@raggel:~/Code$ cargo new --bin toml_edit_test
     Created binary (application) `toml_edit_test` project
bram@raggel:~/Code$ cd toml_edit_test/
bram@raggel:~/Code/toml_edit_test$ vi Cargo.toml
bram@raggel:~/Code/toml_edit_test$ cat Cargo.toml
[package]
name = "toml_edit_test"
version = "0.1.0"
authors = ["..."]

[dependencies]
toml_edit = "*"
bram@raggel:~/Code/toml_edit_test$ cargo build -vv
[...]
   Compiling toml_edit v0.1.2
     Running `rustc --crate-name toml_edit /home/bram/.cargo/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=33d17469c5ea603f -C extra-filename=-33d17469c5ea603f --out-dir /home/bram/Code/toml_edit_test/target/debug/deps -L dependency=/home/bram/Code/toml_edit_test/target/debug/deps --extern combine=/home/bram/Code/toml_edit_test/target/debug/deps/libcombine-a3f87f244ed072d4.rlib --extern chrono=/home/bram/Code/toml_edit_test/target/debug/deps/libchrono-9e8cfa828b060d66.rlib --extern linked_hash_map=/home/bram/Code/toml_edit_test/target/debug/deps/liblinked_hash_map-e0125a89193b31b6.rlib --cap-lints warn`
error: reached the recursion limit while instantiating `<parser::datetime::date_time<combine::easy::Stream<combine::stream::state::State<&str, combine::stream::state::SourcePosition>>> as combine::Parser>::parse_mode::<combine::parser::FirstMode>`

error: aborting due to previous error

error: Could not compile `toml_edit`.

Caused by:
  process didn't exit successfully: `rustc --crate-name toml_edit /home/bram/.cargo/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="default" -C metadata=33d17469c5ea603f -C extra-filename=-33d17469c5ea603f --out-dir /home/bram/Code/toml_edit_test/target/debug/deps -L dependency=/home/bram/Code/toml_edit_test/target/debug/deps --extern combine=/home/bram/Code/toml_edit_test/target/debug/deps/libcombine-a3f87f244ed072d4.rlib --extern chrono=/home/bram/Code/toml_edit_test/target/debug/deps/libchrono-9e8cfa828b060d66.rlib --extern linked_hash_map=/home/bram/Code/toml_edit_test/target/debug/deps/liblinked_hash_map-e0125a89193b31b6.rlib --cap-lints warn` (exit code: 101)
bram@raggel:~/Code/toml_edit_test$ rustc -V
rustc 1.27.0 (3eda71b00 2018-06-19)

I am using Linux x86_64, on a pretty low-specced netbook (2 cores, 4GB RAM).  I am curious as to why this fails to compile, as I have installed cargo-edit (and thus toml_edit) on a couple of x86_64 machines using the same rustc version over the last couple of days, which all worked fine.  Is rustc's recursion limit dynamic based on the machine's specs?  That's the only thing I can think of why compilation fails on this netbook, and not on other machines.

Hey @bupknar!
That's an interesting issue. I don't know much about how rustc handles recursion limit, but it seems to be a fixed value (https://github.com/rust-lang/rust/blob/6c537493d01694cc6e0a614dff12c475055aa2b4/src/librustc/middle/recursion_limit.rs#L25). Do you have an x86_64 CPU as well?
Could you checkout the branch recursion_limit? I
$ git clone https://github.com/ordian/toml_edit
$ git checkout recursion_limit
$ cargo +stable build

Hm, actually I can reproduce the issue on my not-so-low-specced laptop.

Seems like a regression introduced in https://github.com/Marwes/combine. It should be fixed there https://github.com/Marwes/combine/issues/172.

Thank you so much for the very quick investigation and fix, @ordian! :smile:


I have no issue pulling the previous image tho:
docker pull ghcr.io/mistralai/mistral-src/vllm:288c7c

This command does work perfectly.

I'll start building the image from dockerfile in the meantime...


Fix help-notice spacing in call-to-action

What
Fix help-notice spacing in call-to-action
Why
When a help-notice element is used inside a call-to-action an excessive space is created as the padding of the outer element adds to the margin of the inner element. This change reduces this excessive space by removing the margin-top on the inner element if it is the first element within the call-to-action container.
Visual Changes

BeforeAfter

Hi Alex, checked against https://www.gov.uk/foreign-travel-advice/australia/coronavirus and looks fine to me. One small thing to mention. Since the issue happens when the help-notice element is used inside a call-to-action - I wondered if the sass might need to be structured in the same way? e.g.
.call-to-action .help-notice:first-child {
    margin-top: 0;
}

Otherwise all looks good so have approved 👍

Ah, yes, I thought I'm already within a call-to-action block. Will update – good spot!


chore: upgrade umzug to 3.0

BREAKING CHANGE:
migrations.pattern is removed in favour of migrations.glob
Migrations are using umzug under the hood, which is now upgraded to v3.0.
With this version, the pattern configuration options is no longer available,
and has been replaced with glob. This change is also reflected in MikroORM.
The default value for glob is !(*.d).{js,ts}, so both JS and TS files are matched
(but not .d.ts files). You should usually not need to change this option as this default
suits both development and production environments.
Closes #2549

Codecov Report

Merging #2556 (8ea3dd6) into master (decfd10) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2556   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          190       190
  Lines        10979     10985    +6
  Branches      2511      2511
=========================================
+ Hits         10979     10985    +6

Impacted Files
Coverage Δ

packages/core/src/typings.ts
100.00% <ø> (ø)

packages/core/src/utils/Configuration.ts
100.00% <ø> (ø)

packages/cli/src/CLIHelper.ts
100.00% <100.00%> (ø)

...ckages/cli/src/commands/MigrationCommandFactory.ts
100.00% <100.00%> (ø)

packages/core/src/utils/ConfigurationLoader.ts
100.00% <100.00%> (ø)

packages/knex/src/schema/SchemaGenerator.ts
100.00% <100.00%> (ø)

packages/migrations/src/MigrationStorage.ts
100.00% <100.00%> (ø)

packages/migrations/src/Migrator.ts
100.00% <100.00%> (ø)

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 decfd10...8ea3dd6. Read the comment docs.


Viewing netflix in kodi when subscribed to the "Mobile" plan

Feature request
I'm submitting a proposal to ...

[] new feature
[*] change an existing feature

Describe your request
I get an error when I try to play netflix video in kodi as I am subscribed to the "Mobile" plan,
How to view netflix in kodi when subscribed to the "Mobile" plan??
Describe the use case
It should play even if I am subscribed to mobile plan
Development tips
Can you allow option to "Always show mobile version of video"?
Specific details
I get following error when I try to open a netflix video in kodi
Screenshots

currently "mobile" plan is limited to some countried only
it will be difficult that it will work because this addon is based on website, not mobile API
also it is not clear on which operating system you are using kodi
even if somehow hacked way maybe possible to play the videos, would be limited to smartphone only
it is a very limiting accont, suggest you to change account plan

Can you tell more details about how to change[hack] then addon to play the videos?
I just want to change the HD stream to mobile stream and install the addon


In NuGet publish workflow, restrict valid versions to vM.N.O or v.M.N.O-alpha.X.[issue-code] (OSOE-536)

Jira issue

Related: https://github.com/Lombiq/GitHub-Actions/issues/70
This is kind of a duplicate, because generating the version number is (and should be) optional, because this pattern doesn't fit a production release number.

Kind of, yes. But typos in version number keep happening and they sometimes break the upgrade process of freshly versioned packages, because the mistyped version keeps appearing at the top, for example, when actually a newer one exists.

This happened again now: https://github.com/Lombiq/Orchard-Privacy/pull/50/files#diff-0cb3d0d3e8c6b5787f70f48b2d467b21fc55ef86f64fb8a3d13398f414a8271aR54.
I think it would be really easy to add a regex check to the version number for the time being, before someone will tackle and solve the much harder issue #70.

@0liver, if the regex check's result is false, so the version number is incorrect, should the action just simply exit or what's the expected behavior?

It should error out so that the responsible developer can fix the version. Best would be to add the expected format to the error message right away.

Thank you.

@0liver I already tested my code locally, but is it possible to test the workflow with the new condition somewhere?

You can use any of the NuGet-published modules in OSOCE to push new tags out which will generate new versions of a package, e.g. Node.js Extensions.


Access to raw JSON for issues?

Hello.
I currently use the github-api package to maintain a local mirror of my repositories. I would like to be able to maintain a local copy of all issues, open or closed. Right now, I could use the API to pull a list of GHIssue objects and then manually serialize them all. However, this suffers from two problems: It's a maintenance burden, and I'd need to constantly check the API to ensure that new fields haven't been added that my manual serialization would otherwise miss. The github-api package obviously has access to the raw JSON, so is there any way that it could expose it so that I could write it directly to disk?

We don't keep JSON in memory, so you'd be better off making direct HTTP calls by using GHIssue.getApiURL().

OK, thanks.


Feature Request: Filter Out Duplicates

To stop repeated stories from multiple different sources and to clean up your smart feeds, have a duplicate filter option; edit wich sources are superior in certain categories, or hide stories from a certain source if another uses the same phrases. I recommend placing it inside the unread button and making a tray to hold all the filtering options upon opening.

Or even just collapse articles of the same title under a ‘folder’ into one entry and just pick one to use at random in the collapsed item.  e.g. four feeds from the NYT for different subjects might all have the same article exploding counts.

I totally understand wanting this feature. There are two big issues with it:

Performance would be abysmal. Checking every new article against every existing article would take a very long time.
There might be some shortcuts, yes, that might perform better — like just looking at titles — but this will have false positives and, more importantly, it will never really satisfy. People would still have near-duplicates that they’d like filtered out.

In other words, I believe there is no option that both performs well and does what people actually want.


Mac OS and packetflix URL

Hi all,
thanks for this great service, this looks like an amazing companion to Containerlab.
I was trying to make the Wireshark plugin to work with Edgeshark UI on mac os.
I am successfully using the Edgeshark UI, but I think some installation step is missing for Mac OS installation when it comes to the csharg plugin.
I copied it over to the extcap dir of my wireshark installation, but it feels like something needs to be added on mac to intercept the packetfix:// url schema and open wireshark, because nothing happens when I click on the "fin" in the Edgeshark UI. Using Chrome browser.
ADD1: when I copy/paste the packetfix:// link and paste in the packetfix capture option in the Wireshark UI it all works correctly.
So it is only the matter of opening up the wireshark when I this link is opened by the browser.
Thanks!

We were afraid that this would come up 😁
For myself, I lack the needed macOS knowledge to write an installer and additionally register the needed capture URL handler. I didn't find a colleague having the knowledge and wanting to contribute, so we're at this point reliant on other devs contributing. I'm willing to test though, as I have snatched up an old Intel macbook (that is perfectly fine BTW).

gotcha, thanks @thediveo
Edgeshark is too good to let it go and I see thousands of happy network engineers using this in various scenarios.
Not a macos dev myself either, but this should be still accurate and working -- https://www.802101.com/wireshark-integration-with-unetlab-on-osx/

I used Apple Script Editor to open the script
here is its contents
on open location this_URL
	set get_date to do shell script "date +%Y%m%d-%H%M%S"
	set cap_URL to this_URL
	set new_cap_HOST to word 2 of cap_URL
	set new_cap_INT to word 3 of cap_URL
	set capturefile to new_cap_INT & "-" & text 1 thru 15 of get_date
	# set cap_out to capture.new_cap_INT
	# display dialog new_cap_HOST
	# display dialog new_cap_INT
	tell application "Terminal"
		activate
		do script "mkfifo /tmp/" & capturefile
		do script "wireshark -k -i /tmp/" & capturefile
		do script "ssh root@" & new_cap_HOST & " tcpdump -U -i " & new_cap_INT & " -s 0 -w - > /tmp/" & capturefile
	end tell
end open location

Now I think all I need is to pass the URL to the wireshark app, without any of that extra bits that save the pcap

I'm wondering if the tell can target Wireshark instead of the Terminal wrapper? On Linux, the desktop file boils down to:
Exec=wireshark -k -i packetflix -o extcap.packetflix.url:%u

...where %u is the URL passed to the invokation.

@thediveo yeah, I have almost finished fixing this plugin.
hopefully share this with you today

@thediveo do you mind giving it a try?
"works on my machine", but it would be great if more people give it a try
edgeshark-handler.zip
When unarchived you will find an applescript program title edgeshark-handler
move it to Applications on mac.
Then try using the FIN in the web UI. The prompt should appear

Maybe another prompt will appear saying that it is not wise to run scripts downloaded from the internet, in that case you need to go to global Settings -> Privacy And Security and under the Security section there will be a prompt to allow the script to run (not shown on the screenshot below)

I did a quick test with a colleague and it worked nicely.
Will do some docs around this on https://containerlab.dev and share with you

Will try tomorrow when in office.
There's a nice story behind your contribution you can'tyet be aware of: we originally started years back using GNS3 with its absolutely fresh beta Docker support, and that brought me into container networking, giving eventually birth to Edgeshark. Now things circle back to using Edgeshark for containers for network simulation in form of Containerlab.

Will try tomorrow when in office.
There's a nice story behind your contribution you can'tyet be aware of: we originally started years back using GNS3 with its absolutely fresh beta Docker support, and that brought me into container networking, giving eventually birth to Edgeshark. Now things circle back to using Edgeshark for containers for network simulation in form of Containerlab.

right, we are in the regular networking domain dreamt of a web UI for wireshark in one form or the other. Edgeshark is something that crosses off 80% from my wishlist.
I'll make sure to praise your work soon in social media. Stellar work!

It'll raise a good chuckle when I report that we're getting praise from hell(t). So we need to repent, either or both on our tooling and/or container technology.

I am not, I saw it being mentioned in the docs though, but haven't checked this.
I wonder if it is feasible at all to raise UI/UX enhancements to the edgeshark or is it more or less a "finished" project and not something that is actively developed now?

we open sourced it so that there can be community contributions.

Let's discuss the ui/ux then separately. I wonder if in your case a network topology view helps at all, especially I wondered on many a hike in the landscape how filtering would even work. Maybe yours might be a list/tabular view, or even just simple cards, that you can filter...?

@thediveo let me know how you want to carve out the ui/x discussion thread. In a separate GH issue, or maybe email thread, or a call, or over the beers :D

I've started analyzing the URL handler app, but I hit a problem here: the binary blobs included in it. Looks like it is not really easy to generate them, but I cannot simply check-in binary blobs nor distribute them without knowing exactly how we created them in the first place.

Ah, I've been able to create anew using Apple's Script Editor.

Finally got it recreated anew using Apple's Script Editor, and also added the Edgeshark icon to the package. Will now work on updated documentation with installation instructions.

Here is my testimonial https://www.linkedin.com/feed/update/urn:li:activity:7161328352350330880

Thank you very much! And your work has helped so much to get the missing URL scheme handler in place. I'm now updating everything accordingly.
As for the ux/ui discussion, I would recommend creating a new discussion https://github.com/siemens/edgeshark/discussions, the ideas category seems to be fitting. I wonder if you might even have more fun with Grafana dashboards and we bring the shark fin button to it...?

As for the ux/ui discussion, I would recommend creating a new discussion https://github.com/siemens/edgeshark/discussions, t

https://github.com/siemens/edgeshark/discussions/42

I'd be super interested to see what it takes to bring this up to a k8s cluster

ach, we actually have full k8s support with a central cluster-wide frontend service; however, this is only company-internal at this time. I don't know if this can be open-sourced.
alas, I've a packet-handler.app/.zip now working with the instruction; it took me several botched attempts to finally figure out that after downloading the zip, its quarantaine attribute needs to be removed. Otherwise, macos will block and claim that "it's broken".

ach, we actually have full k8s support with a central cluster-wide frontend service; however, this is only company-internal at this time. I don't know if this can be open-sourced.

ah, I thought it is a matter of shoveling in some daemonsets and some flags to the gostwire/packetflix...
Alright, maybe I will challenge cilium to hack this in the CNI ;)

The demonset is one part, and you can get already away with that. We have a central front-end service that tracks the demonset instances and automatically collects and aggregates the information about the available capture targets, so that the extcap plugin gets a unified cluster-wide view without having to know on which node a pod is running.

yeah, sounds like what the industry needs exactly.
Maybe one day you will let it fly in the open


Skype

Hey dude could u add me on Skype? I want to talk to u, cause I would like to know how to transfer data from one stream to another while using your Core Parser to handle the Packets.
skype: dennisjv3

Sorry, I don't use Skype.
Parser is more or less abstract, so you shouldn't have problems plugging it in to whatever you want.
I am afraid I don't get your question. If you want to proxy all requests from some socket to another, just decrypt packets while receiving from socket A and send it to socket B, same applies to sending from B to A, except you need to encrypt packets.
I would get rid of most code from our source, just use ExternalInterface to communicate with SWF. Just keep in mind it's outdated and you will have to uptade some keys in SWF (and possibly entire SWF if BP updated their encryption).

Well I will just try to explain it ^^. So I have my BOT(which is using a WebBrowser so I just send packets under it). Than I have a SOCKS5 Proxy and a Third Party Program called Proxifier.
Lets say the SOCKS5 Proxy is running on IP <IP_ADDRESS>:1090 than Proxifier will redirect all incoming traffic from the BOTs WebBrowser, if the packets that are being send come from/go to Port 8080, to <IP_ADDRESS>:1090.
The SOCKS5 Server than directs it to the BOTs WebBrowser and sends the data to the connected TCP Client(Your Core File). But here comes the Problem, how to write the packets that the SOCKS5 Server recieved on the TCPClients stream? I mean I know how but it wont work right. The SOCKS5 Server only gives as EventArgs the Buffer, Offset, Count, Reqeust(IP, Port etc.) and the Client(from where the data was recieved).
I tried writing it on the TCPClient stream with the EndianWriter like:
writer.Write((short)(Buffer.Length + 2));
writer.Write(Buffer);
But than the Packet ID is missing.
I also tried clientstream.write(Buffer, Offster, Buffer.Length);
But this sadly did not work either.
Do u have any idea?

I think that SOCKS5 servers send you packets in BigEndian  already, so you should just send it straight away. It's hard to say, as you have multiple points where transformation from BE to LE might happen. You should debug your code and see what's going on with your packets.

byte[] array = new byte[e.Count];                 Array.Copy(e.Buffer, array, e.Count);                 e.Buffer = (new byte[array.Length]);                 e.Buffer = (array);                 Client.Send(e.Buffer, e.Offset, e.Buffer.Length);
This is what I do with the incoming packets (SOCKS5).
And than I send them to the Bot like this:
clientStream.Write(Buffer, Offset, Count);             clientStream.Flush();

You might create repo with your code so I can take closer look on it.
As it's unrelated to this repo I'm closing this issue.


add custom user agent, fixes #112

Add a custom 'IRR explorer' user agent to all HTTP requests done by the back end, as requested in #112.

You should now see a IRRExplorer user agent string. Fixed both in code and on https://irrexplorer.nlnog.net.