text:
Azure User/Group/Role Integration Testing

Hi All .I am new to Terratest.We have main.tf which call 3 modules users, group, and role.So this code creates user(s) then associate with the group and lastly it assign role to Group. We have unit test but how and what integration test i can achieve for this using terratest .Thnaks in advance for your reply .

@simplyvishal we are working on the CI pipeline for Azure support. See #89 for the whole story. With that we are establishing the pattern for contributing Azure modules in Terratest with examples and tests.
Until there are modules for User, Group, and Role, you can use Terratest to execute your terraform and destroy it like the samples show you and use the Azure SDK for Go to interact with Azure Resources in Go. I believe the specific resource you would use is authorization or authorization preview

source: gharchive/issue

authors: simplyvishal tsalright

repo: gruntwork-io/terratest

license_type: permissive

license_source: github-api


text:
🛑 volkstanz.st is down

In fc1239c, volkstanz.st (https://volkstanz.st) was down:

HTTP code: 0
Response time: 0 ms

Resolved: volkstanz.st is back up in 9df1579 after 10 minutes.

license: MIT


text:
100 levels in the Standard Set

Standard Set with 100 levels of properly increasing difficulty.

Fulfilled by commit 83797a8.

repo: grzegorz-kraszewski/untangle


text:
Update README.adoc

Based on Issue #2, I've added in some caveats from my initial use.

+1

+1

Hi, I would like to know what the status of this PR is. It seems useful to me. Is this project maintained?

@fwilhe this seems to be the right fork which is maintained: https://github.com/asciidoctor/asciidoctor-confluence/

Thanks, @rdmueller. But:

Latest commit efc41b2  on Mar 13, 2015

Does not really look like it is maintained.

:-) but at maybe there is a bigger audience.
Maybe my own project might help you:
https://github.com/rdmueller/asciidoc2confluence
It's not an asciidoctor plugin, but works quite nice...

source: gharchive/pull-request

authors: carlosjgp fwilhe jaredmorgs rdmueller

repo: gscheibel/asciidoctor-confluence

license: mit

license_source: bigquery


text:
Unexpected token e in JSON

I have used the following to change the prefix value used by ngStorage:
$localStorageProvider.setKeyPrefix('wikitime_'); $sessionStorageProvider.setKeyPrefix('wikitime_');
However, by doing so, I get the following error:
angular.js:13642 SyntaxError: Unexpected token e in JSON at position 0
Have any idea why this happens and how can I fix it?

Hey there.
Could you provide and example that fails? Or does it always fail when you use those prefixes?

Hey!
I think I understood now why this was happening. I had another key with the same prefix that was not serialized. The value of this key started exactly with the letter e.

authors: darrais egilkh

repo: gsklee/ngStorage


text:
--help and --version built-ins should stop processing even in verbs scenario

What in object it seems not happen.

Already working on it in this temporary branch: helpvers190.

Fixed with test coverage (+ refactored some tests).

In verb scenario now you can also give this command:
$ app version
YourApp 9.34.33-beta

repo: gsscoder/commandline


text:
Fix dev server proxy to admin/rest_framework static assets

Visiting http://localhost:8080/api/admin will not load the django admin css. You'll get 404 errors on /static/admin/*. Same with the rest_framework styling when you visit an api endpoint through the browser.
This PR fixes the issue by telling the dev server to proxy requests to /static/admin and /static/rest_framework to django.

Did local host 8000 not work for admin?

Yes, :8000 works. It's kinda nice not needing to change ports though?
Maybe this line of the readme could be more clear?:

The Vue application will be served from localhost:8080 and the Django API and static files will be served from localhost:8000.

How about something like?: "The Vue application will be served from http://localhost:8080. To view http://localhost:8000/api/admin (Django Admin) or http://localhost:8000/api/messages (the api endpoint) with static files, you will need to visit the django server directly at http://localhost:8000."

authors: gtalarico pawl

repo: gtalarico/django-vue-template


text:
Better Emacs notifier

Wrote some elisp that does a few things:
In Notiffany::Notifier::Emacs::Client#initialize, runs some elisp to
define a function ( but only if it isn't already defined ). This
function takes two arguments: color, and bgcolor. The function
that's defined does a few extra things:

it records the current foreground and background colours of the
mode-line face
it sets the mode-line face to what was passed in
it sets a timeout to reset the mode-line face back to what it was originally

In the actual notify call, it runs the function that was defined in
initialize in order to set the mode-line colors.
I don't mind Notiffany setting my mode-line too much, but I do like it to get set back to what it was after a short period of time. This way, users can also define their own Emacs function that will get called so that they can do something else when they get a notification.
I know that the big block of elisp in the class is kind of ugly, but it's one of the first functions I've written in elisp so I'm not sure if there's a more succinct way of putting it.
Also not sure if I'm using available? properly.
All the Emacs tests seem to still be passing, huzzah!
Let me know if there's stuff that needs fixing/tweaking/removing.

While I'm not an emacs user to test this, I don't get the change at all:

'elisp' is just a string variable set to a heredoc literal - it's not an accessor or anything
also, since it's a local variable with a string - there's not point in setting it inside the available block
tests work because this doesn't change anything

If at all, you should change the tests first to make them fail (TDD/BDD) - to make sure eval is called with your changes.
OTOH, I think the idea is a good one - about having a custom function.
I'd do the following:
Instead of 'notiffany-notify'  in the notify() method, make it a configurable parameter (so people can choose their own function - I don't know if there's a way to setup a default set of emacssclient list functions in home or something).
Look at how the :client option is implemented - you could add a :elisp_method option and make it default to notiffany-notify - and implement the default so it calls set-face-attribute with the bg and fg colors.
In fact, start with the tests and create a block like: https://github.com/guard/notiffany/blob/master/spec/lib/notiffany/notifier/emacs_spec.rb#L85
but for the "custom elisp function" option (called 'notiffany-notify' or whatever you want to call it).
You'll probably want to test these cases:

Notifier - without options (if default function is passed to client)
Notifier - with custom function passed to Emacs::initialize() (if it's passed to client correctly)
Notifier - with custom function override passed to notify()
Client - whether it correctly called Sheller with the right code (without a custom function name)
Client - whether it correctly called Sheller with the right code (with a custom function name)

The stuff may be a bit tricky in Notiffany, so don't hesitate to ask if you're unsure.

Alrighty! Thanks for the feedback -- I'll make those changes.

I'd very much like to second this suggestion. As an Emacs user, I'd like the mode line to change only temporarily, such as for a few seconds, and then to revert to its previous settings.

@jpace - I agree -  a configurable timeout is already what the TMux notifier has (and almost every other notifier). That's why the above function should use use the :timeout option - 10 sec for a fadeout may be too long.

I've been swamped at work over the past month. Things are getting better though -- I'm hoping to dive into making the above changes in the next week or so.

:+1:

I'd like to bump this PR—a better Emacs notifier is exactly what I've been wanting for a very long time.  Is there anything I can do to help test?

Moved here: https://github.com/guard/notiffany/pull/20

authors: cdlm e2 jpace rye seanhagen

repo: guard/notiffany


text:
[Do NOT Merge] Add janus data to riff raff artifacts

What is the purpose of this change?
This is a draft idea for publishing Janus config to an alternate S3 location in order to facilitate auditing by another process.
What is the value of this change and how do we measure success?
Images

Any additional notes?

Closing in favour of a different approach for now.

repo: guardian/janus-app


text:
Add two racing codes to no sports bucket

I haven't been able to find documentation of these codes, but they look like they only carry horse racing content.

these and more are in https://github.com/guardian/newswires/pull/80

oh wait, is ipccat being included in the sent wires? not iptccat?

Nope you're right! typo on my side. Closing in favour of #80

authors: andrew-nowak bryophyta

repo: guardian/newswires


text:
🛑 Sefaz - Rio Grande do Sul is down

In fa05124, Sefaz - Rio Grande do Sul (https://onboardapi.guichepass.com.br/sefaz?code=2) was down:

HTTP code: 500
Response time: 1241 ms

Resolved: Sefaz - Rio Grande do Sul is back up in a45c8b8.

repo: guichevirtual/statuspage


text:
🛑 Sefaz - Rio Grande do Sul is down

In 6c97171, Sefaz - Rio Grande do Sul (https://onboardapi.guichepass.com.br/sefaz?code=2) was down:

HTTP code: 500
Response time: 968 ms

Resolved: Sefaz - Rio Grande do Sul is back up in 3846d6f.


text:
[Build] Update for new CUDA Toolkit

We have a new version of the CUDA Toolkit, so need to update the path we use. Without this, cmake wound up unable to find the toolkit when installing llama-cpp-python.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.11%. Comparing base (0f15e4b) to head (522b770).

:exclamation: Current head 522b770 differs from pull request most recent head f91ab01
Please upload reports for the commit f91ab01 to get more accurate results.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #847      +/-   ##
==========================================
- Coverage   56.94%   49.11%   -7.84%
==========================================
  Files          63       63
  Lines        4571     4571
==========================================
- Hits         2603     2245     -358
- Misses       1968     2326     +358

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter riedgar-ms

repo: guidance-ai/guidance


text:
[BUG] Notification Sound Plays Regardless of Runelite Global Settings

Describe the bug
The idle notification sound continues to play regardless of the Runelite application Global Notification Settings. I do not think a plugin should be able to ignore the core notification settings and other idle notifiers are able to respect the global notification settings.
To Reproduce
Steps to reproduce the behavior:

While using the runelite-plugin-action-progress
Click on Configuration -> search Runelite
Scroll down to Notification Settings
Turn off Sound, Volume, timeout, disable tray icons and notifications
Fill inventory with chisel and gems, begin to chisel gems, and listen for notification sound which will play regardless of the notification settings within Runelite

Expected behavior
The sound should not play if the global settings have indicated that the user does not want notifications. This is actually a pretty annoying bug because nothing indicates where the sound is coming from so it's hard to even narrow down the issue to your app but it is reproducible
Screenshots
If applicable, add screenshots to help explain your problem.

I think this is a Runelite issue. Runelite shouldn't allow notifications if they are turned off


text:
Parsley (2.8.1) unique username validation with php

I read all the documentation of the Parsley Js web site. But i not get enough understand how to set custom validation depend on AJAX response.
I am using parsley js new version. Here is my code look like
<form class="forms-sample" id="form">

            Username
            <input type="text" class="form-control" id="exampleInputUsername1"
             name="username" placeholder="Username" required data-parsley-username>

        <button type="submit" class="btn btn-success mr-2">Submit</button>
        <button class="btn btn-light">Cancel</button>
    </form>

This is my script for validation

After i added a php file. that is something like this
<?php
        include("include/connection.php");
    ?>
    <?php
        if(isset($_POST['username'])){
            $username = $_POST['username'];
            $query = "SELECT * FROM user WHERE userName = '%$username'";
            $q = mysqli_query($conn, $query);
            if(mysqli_num_rows($q) > 0) {
                echo json_encode("error");
            }else {
                echo json_encode("success");
            }
        }
    ?>

PHP file and database work fine,
But i got default error message for every time that was "The username already exists.

Please check the remote validator.
Please use github issues for bugs. Questions on StackOverlflow. Thanks

authors: marcandre sahanpasindu


text:
Any chance that you would bring Metal support to llama.cpp?

Hey, I saw your repo, and I think that you're working on really cool stuff!
I was trying to hack out figuring out how to enable Metal on llama.cpp for Swift apps, and it looks like you were able to hack something together. Do you have any plans to bring your changes to llama.cpp, and if not, would you please share any insights into how you overcame them? I'm new to Swift, so I can't really make heads or tails of it but was able to run your repo w/ Metals successfully.

Hey, I saw your repo, and I think that you're working on really cool stuff!
I was trying to hack out figuring out how to enable Metal on llama.cpp for Swift apps, and it looks like you were able to hack something together. Do you have any plans to bring your changes to llama.cpp, and if not, would you please share any insights into how you overcame them? I'm new to Swift, so I can't really make heads or tails of it but was able to run your repo w/ Metals successfully.

Hello. I'm sorry for the late reply. I had ideas to make changes to ggml-metal.m, but I noticed you already did it. Is there anything else I can do to help?

No, but thanks anyways! Your repo was a helpful reference.


text:
Possibly consider other options for css processing

@phated I just wanted to make a note here that we should possibly consider something other than css for doing our css mapping. It has numerous problems and does not seem to be very active. It is responsible for many of the closed bugs that relate to sass and css mapping problems.

Moved to gulp-sourcemaps/identity-map/issues/1

authors: nmccready phated

repo: gulp-sourcemaps/gulp-sourcemaps

license: isc


text:
List of prominent blog posts

One of our goals for the 4.0 release is to email prominent blog posts and ask them to update with the new syntax.  So my question is, what are the prominent blog posts? @contra @travm @sindresorhus

@alexgorbatchev has a couple Gulp posts.
https://scotch.io/tutorials/automate-your-tasks-easily-with-gulp-js
http://leveluptuts.com/tutorials/learning-gulp
http://code.tutsplus.com/tutorials/managing-your-build-tasks-with-gulpjs--net-36910
http://www.sitepoint.com/introduction-gulp-js/
http://www.smashingmagazine.com/2014/06/11/building-with-gulp/

maybe this series: http://stefanimhoff.de/2014/gulp-tutorial-1-intro-setup/

There's also https://github.com/markdalgleish/presentation-build-wars-gulp-vs-grunt which, while not having a lot of stars, is the first result for a search for "gulp vs. grunt".

My articles are updated and ready to go live as soon as 4.0 hits. I'll keep an eye out for other articles and see if I can get in touch with the authors to make sure they are aware of the changes.

@travm Why not post those articles now? Gulp 4 will drop soon enough (@phated any ETA?), and many people will want to get a headstart on their migrations.

@pikeas https://github.com/gulpjs/gulp/issues?q=is%3Aopen+is%3Aissue+milestone%3A"gulp+4"

I remember using @greypants' gulp starter.

Article: https://www.viget.com/articles/gulp-browserify-starter-faq
Repo: https://github.com/vigetlabs/gulp-starter

It might be worth hitting some of the most prominent Gulp questions on Stack Overflow dealing with things Gulp v4 makes easier or fixes (for example):

http://stackoverflow.com/questions/22824546/how-to-run-gulp-tasks-synchronously-one-after-the-other/22826429#22826429
http://stackoverflow.com/questions/22391527/gulps-gulp-watch-not-triggered-for-new-or-deleted-files?s=34|0.0000

I am totally on board with @ilanbiala suggestion of leveluptuts. Scotts video series on youtube was what got me started with gulp 3 all those years ago.

I wrote an article over at CSS-Tricks about combining Gulp 4 with Webpack.
https://css-tricks.com/combine-webpack-gulp-4/

authors: JohnMunsch MWrathDev PascalAOMS contra hamstu ilanbiala phated pikeas strugee travm wethecode

repo: gulpjs/gulp


text:
Adding kgeri's solution

Implementation class: CalculateAverage_kgeri
Execution time (i7-10700, 8 cores, 32GB):
158.20user 16.77system 0:15.75elapsed 1110%CPU (0avgtext+0avgdata 9038680maxresident)k
1230133inputs+188outputs (1814194major+106949minor)pagefaults 0swaps

The current implementation is parallel and no-alloc, the heavy lifting done via a MappedMemorySegment which is still in preview (but an awesome feature!).

Getting this:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Out of bound access on segment MemorySegment{ heapBase: Optional.empty address:140423103467995 limit: 1971184376 }; new offset = 1971184376; new length = 1
	at java.base/jdk.internal.foreign.AbstractMemorySegmentImpl.outOfBoundException(AbstractMemorySegmentImpl.java:426)
	at java.base/jdk.internal.foreign.AbstractMemorySegmentImpl.apply(AbstractMemorySegmentImpl.java:407)
	at java.base/jdk.internal.foreign.AbstractMemorySegmentImpl.apply(AbstractMemorySegmentImpl.java:69)
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:124)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:448)
	at java.base/jdk.internal.foreign.AbstractMemorySegmentImpl.checkBounds(AbstractMemorySegmentImpl.java:396)
	at java.base/jdk.internal.foreign.AbstractMemorySegmentImpl.checkAccess(AbstractMemorySegmentImpl.java:356)
	at java.base/java.lang.invoke.VarHandleSegmentAsBytes.checkAddress(VarHandleSegmentAsBytes.java:81)
	at java.base/java.lang.invoke.VarHandleSegmentAsBytes.get(VarHandleSegmentAsBytes.java:108)
	at java.base/java.lang.foreign.MemorySegment.get(MemorySegment.java:1361)
	at dev.morling.onebrc.CalculateAverage_kgeri.readChunk(CalculateAverage_kgeri.java:161)
	at dev.morling.onebrc.CalculateAverage_kgeri.lambda$main$0(CalculateAverage_kgeri.java:211)
	at java.base/java.util.stream.LongPipeline$1$1.accept(LongPipeline.java:177)
	at java.base/java.util.stream.Streams$RangeLongSpliterator.forEachRemaining(Streams.java:228)
	at java.base/java.util.Spliterator$OfLong.forEachRemaining(Spliterator.java:777)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.Nodes$SizedCollectorTask.compute(Nodes.java:1887)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:667)
	at java.base/java.util.stream.Nodes.collect(Nodes.java:325)
	at java.base/java.util.stream.ReferencePipeline.evaluateToNode(ReferencePipeline.java:111)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:570)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
	at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
	at dev.morling.onebrc.CalculateAverage_kgeri.main(CalculateAverage_kgeri.java:212)

Thanks - I think that should only happen if the input file doesn't have a \n at the end - committed a fix to handle that case as well.

The output of this submission differs from that of the baseline impl. They must match :(

Nice... turned out it was a bug in chunking, making it dependent on the exact size of the file, so basically random 🤯
I could reproduce, and think I fixed it - can you check again, please.

00:28.386. Thx for participating!

00:28.386. Thx for participating!

Thank you, this was fun and I learnt a lot!

authors: gunnarmorling kgeri


text:
GraalVM native image from QBos07

Check List:

[X] Tests pass (./test.sh qbos07)
[X] All formatting changes by the build are committed
[X] Output matches that of calculate_average_baseline.sh

Execution time: 2:01,05 [1] [2]
Execution time of reference implementation: ~4:25 [2]

[1] Had to change to optimized code to be able to run it on my 4 core machine. This makes it heavly non-optimal on my pc.
[2] All files were on a slow HDD (due to size) wich espacially impacts the optimized version.
(I expact at least a double in speed on the test machine)
No code was changed! Only compilation is affected. Credit goes to Ray van Riju for the implementation.

Hey, could you please re-organize the scripts following the structure we've adopted since then. I.e. there should be a script prepare_QBos07.sh which does the build and SDKMan config and the calculate_average_QBos07.sh script should invoke native or JVM impl based on the native binary's presence. You can find an example in Roy's and Thomas' impl (at the top of the leaderboard right now). Thx!

Now good?

Hum, hum, getting this error now:
> java.lang.RuntimeException: There was an error linking the native image: Linker command exited with 1

Based on the linker command output, possible reasons for this include:
1. It appears as though libz.a is missing. Please install it.

Linker command executed:
/usr/bin/gcc -z noexecstack -Wl,--gc-sections -Wl,--version-script,/tmp/SVM-14402374923086019117/exported_symbols.list -Wl,-x -o /home/build/projects/eval/1brc/target/samplerun_qbos07 samplerun_qbos07.o /home/build/.sdkman/candidates/java/21.0.1-graal/lib/svm/clibraries/linux-amd64/liblibchelper.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libnet.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libnio.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libjava.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libzip.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/svm/clibraries/linux-amd64/libjvm.a -v -L/tmp/SVM-14402374923086019117 -L/home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc -L/home/build/.sdkman/candidates/java/21.0.1-graal/lib/svm/clibraries/linux-amd64 -Wl,-Bstatic -lz -Wl,-Bdynamic -ldl -Wl,-Bdynamic -lpthread -Wl,-Bdynamic -lrt -static-libgcc

Linker command output:
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-host-pie --enable-host-bind-now --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --enable-initfini-array --without-isl --enable-multilib --with-linker-hash-style=gnu --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_64=x86-64-v2 --with-arch_32=x86-64 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.1 20230605 (Red Hat 11.4.1-2) (GCC)
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/11/:/usr/libexec/gcc/x86_64-redhat-linux/11/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/11/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/11/:/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/11/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-z' 'noexecstack' '-o' '/home/build/projects/eval/1brc/target/samplerun_qbos07' '-v' '-L/tmp/SVM-14402374923086019117' '-L/home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc' '-L/home/build/.sdkman/candidates/java/21.0.1-graal/lib/svm/clibraries/linux-amd64' '-static-libgcc' '-mtune=generic' '-march=x86-64-v2' '-dumpdir' '/home/build/projects/eval/1brc/target/samplerun_qbos07.'
 /usr/libexec/gcc/x86_64-redhat-linux/11/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsdSutm.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /home/build/projects/eval/1brc/target/samplerun_qbos07 -z noexecstack /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/11/crtbegin.o -L/tmp/SVM-14402374923086019117 -L/home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc -L/home/build/.sdkman/candidates/java/21.0.1-graal/lib/svm/clibraries/linux-amd64 -L/usr/lib/gcc/x86_64-redhat-linux/11 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../.. --gc-sections --version-script /tmp/SVM-14402374923086019117/exported_symbols.list -x samplerun_qbos07.o /home/build/.sdkman/candidates/java/21.0.1-graal/lib/svm/clibraries/linux-amd64/liblibchelper.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libnet.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libnio.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libjava.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/static/linux-amd64/glibc/libzip.a /home/build/.sdkman/candidates/java/21.0.1-graal/lib/svm/clibraries/linux-amd64/libjvm.a -Bstatic -lz -Bdynamic -ldl -Bdynamic -lpthread -Bdynamic -lrt -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/lib/gcc/x86_64-redhat-linux/11/crtend.o /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crtn.o
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status

Seems some package is missing? Not sure which one though.
Taking a step back, what are we actually trying to do here? This invoke's @royvanrijn's implementation, not yours? Roy has added native compilation by now, too. So I think we could close this one here?

Ah yeah, seeing it in the submission text now, this was meant to add native image support to Roy's implementation. I am going to close this one in this light, given Roy's submission already has that. Thanks nevertheless!

I had some more optimized flags than him.
It‘s missing a static zlib for linking. Statically linking gives some minuscule amount during initializing.
Am 11.01.2024 um 20:31 schrieb Gunnar Morling @.@.>>:
Closed #173https://github.com/gunnarmorling/1brc/pull/173.
—
Reply to this email directly, view it on GitHubhttps://github.com/gunnarmorling/1brc/pull/173#event-11460758231, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3QOF5CV2DXYYADXDQ35RDYOA42XAVCNFSM6AAAAABBPRM5OWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGQ3DANZVHAZDGMI.
You are receiving this because you authored the thread.Message ID: @.***>

Ok, gotcha. If you feel it's worth it, perhaps send a PR to update Roy's prepare script itself? If it's just a few ms, i.e. within error margin of what we can measure, then it may not be worth the trouble. Specifically, I'm not sure which package I need to install on CentOS Stream for getting that static zlib thing.


text:
richardstartin submission

Runs in about 18s on my MBP

Clocking in at 00:38.819. Thanks!

You just beat me to push a change, see #58

authors: gunnarmorling richardstartin


text:
Updates to CalculateAverage_spullara

Making another PR to push progress in the open. Inlined a couple of methods so far. Attempts at SIMD acceleration are still failing. Kind of wondering if maybe it is already doing it in the VM for Array.equals for sure.

Instead of re-opening, could you please create a new PR, based on current
upstream/main? Thx!

Message ID: @.***>

I have SIMD changes in https://github.com/spullara/1brc/tree/simd but they are much slower.

Let me know when you're ready for another run. With 21.0.1-graalce again, I suppose?

I don't think enough has changed honestly and I'm not even sure the inlining helps that much. I'll also update to "sdk use" in my script.

Should be about 10% faster than before.

I've been running it with 21.0.1-graal from sdkman, added it to the script.

I have a bug. Don't run it yet! :)

Hi @spullara, I was able to make the original version perform 25% better on my machine with a few changes. Feel free to use the ideas: https://github.com/gunnarmorling/1brc/pull/86

Hey @spullara, could you rebase this one to latest main and then run this:
./test.sh spullara

This is a simple test suite I've added to make sure implementations are compliant and there's one failure (I have clarified some value ranges in the course of the day, this may be related). Thanks!

Updated and passes. BTW, having test.sh delete my 1B row file that I now need to regenerate is quite the troll :)

BTW, having test.sh delete my 1B row file that I now need to regenerate is quite the troll :)

Hum, hum, interesting point. I'd consider it volatile data, so 🤷 . The root issue is that we should have made the data set name an argument to the programs under test. Next time.
That said, something seems wrong with this PR now, way too many unrelated changes. Can you rebase/squash so that it only contains your changes over the latest main? Thx!

Hum, hum, interesting point. I'd consider it volatile data, so 🤷 . The root issue is that we should have made the data set name an argument to the programs under test. Next time.

Yeah, mine also takes a file as an argument so I could test locally with a smaller file when it was slower.

Nice, looking good now. 00:12.063, super-clsoe #2 behind @filiphr with 00:12.027!

Nice, looking good now. 00:12.063, super-clsoe #2 behind @filiphr with 00:12.027!

His is using the hash code of the city as a key which is against the rules? Otherwise mine would be even faster.
https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_filiphr.java#L173

Argh, again?! Seems I really need to add a test with 10K distinct keys. It's so easy to miss otherwise. Gnarf.

Argh, again?! Seems I really need to add a test with 10K distinct keys. It's so easy to miss otherwise. Gnarf.

You would have to construct that names that purposefully have the same hash code to discover these bugs with a test. You have to do it by inspection.

Actually, I'm not sure. Seems the key is derived straight from the characters and it is used as a key in a map, not index in an array. I.e. I don't think there could be collisions?

If they aren't comparing the actual string value of the keys you can construct keys that collide with their formula. You allow city names up to 100 bytes of UTF-8 and this compresses that to just 4 bytes. It is impossible to construct a 4 byte (int) hash that represents 100 bytes of UTF-8 uniquely.

True. It would just overflow at some point. Gnarf, that stuff is really tough to spot, as I can't generically fabricate colliding values without knowing what's the hash function. @filiphr, I'll remove your entry from the leaderboard for now, until this issue has been fixed. @spullara, thanks for paying attention that closely!

I was reading the discussions around the hashing today. Sorry about it, I didn't have time to adapt it today.
I have an idea similar to also use Arrays.equals for this, let's see what that would lead to.

authors: filiphr gunnarmorling spullara yemreinci


text:
I wonder why is the reshaping necessary?

I thought this line is unnecessary and can lead to errors triggered by this line. Am I missing something?

That line is same to the origin official BERT. I haven't changed it.


text:
File order is broken in Create Checksum File

In the original kliu release, when you select a bunch of files and right-click -> Create Checksum File, the files would be ordered based on the ordering within the Explorer window.
Today, there is no rhyme or reason to the file ordering that appears in a checksum file.  It is nearly randomized.
Can anyone describe what changed in the code that would explain this behavior change?

You mean this? The Checksum doesn't respect my "View Settings"
I don't remember what I changed from the code so that it don't directly use or recognize that I have an SSD.

I think that sounds right.  But I don't think it has anything to do with "View Settings" specifically.  Windows Explorer preserves the ordering when it sends off the list-of-files to an application.  The item under the cursor is first, and then the rest of the list from top-to-bottom.  Somehow that order of parameters is being lost.  Is there a hashlist being created and then iterated?

authors: SoyRA a-raccoon

repo: gurnec/HashCheck


text:
Update bladebit.py - fixing n in --check

-fixing an issue in --check  when before value was 1 and way to little. Updated value: 100
-added plot deletion feature when plot checking fails. WARNING: This feature is currently uncommented and not used.
fixing an issue with plotting not starting when argument --check was not enabled. Hopefully this works now.
@guydavis if you are curious abut this --check feature you can read more here: https://chiaforum.com/t/bladebit-gpu-plotter-beta/19119/594   Comment is at Sep23
Please check my editing for typos or bad code

wow you are fast :O

Updated machinaris:develop just created now.  Please try:
    check_plots: 100
    check_threshold: 0.6

By default, these two settings will be commented out new sample plotting configs.

Ok already updated. Plotting starts now. will see the output in around 30 mins.

Ok @guydavis  the plot is finished. The new Check feature works as intended and took around 25 seconds on my rig. Plot deletion could not be testet because the plot passed the check. O will plot some more and keep an eye on it. But i would say its a success :)
Plotting LOG:
Bladebit Chia Plotter
Version      : 3.1.0
Git Commit   : e9836f8bd963321457bc86eb5d61344bfb76dcf0
Compiled With: gcc 9.4.0

[Global Plotting Config]
 Will create 1 plots.
 Thread count          : 4
 Warm start enabled    : false
 NUMA disabled         : false
 CPU affinity disabled : false
 Farmer public key     : ###########################################################################
 Pool contract address : ##########################################
 Compression Level     : 6
 Benchmark mode        : disabled
Warning: 16G mode is experimental and still under development.
         Please use the --check <n> parameter to validate plots when using this mode.
         Direct I/O not supported in 16G mode at the moment. Disabing it.

[Bladebit CUDA Plotter]
 Host RAM            : 31 GiB
 Plot checks         : enabled ( 100 )
 Plot check threshold: 0.600

Selected cuda device 0 : NVIDIA GeForce RTX 3060
 CUDA Compute Capability   : 8.6
 SM count                  : 28
 Max blocks per SM         : 16
 Max threads per SM        : 1536
 Async Engine Count        : 2
 L2 cache size             : 2.25 MB
 L2 persist cache max size : 1.69 MB
 Stack Size                : 1.00 KB
 Memory:
  Total                    : 11.76 GB
  Free                     : 11.13 GB

Allocating buffers (this may take a few seconds)...
Kernel RAM required       : 4828776144   bytes ( 4605.08   MiB or 4.50   GiB )
Intermediate RAM required : 4378927104   bytes ( 4176.07   MiB or 4.08   GiB )
Host RAM required         : 2147483648   bytes ( 2048.00   MiB or 2.00   GiB )
Total Host RAM required   : 6976259792   bytes ( 6653.08   MiB or 6.50   GiB )
GPU RAM required          : 6163857408   bytes ( 5878.31   MiB or 5.74   GiB )
Allocating buffers...
Done.

Generating plot 1 / 1: ###############################################
Plot temporary file: /plotting/plot-k32-c06-2023-11-19-23-21-#################################################.plot.tmp

Generating F1
Finished F1 in 18.43 seconds.
Table 2 completed in 59.72 seconds with 4294965842 entries.
Table 3 completed in 112.89 seconds with 4294967296 entries.
Table 4 completed in 138.23 seconds with 4294890775 entries.
Table 5 completed in 148.36 seconds with 4294774065 entries.
Table 6 completed in 115.02 seconds with 4294560332 entries.
Table 7 completed in 105.99 seconds with 4294196995 entries.
Finalizing Table 7
Finalized Table 7 in 46.48 seconds.
Completed Phase 1 in 745.13 seconds
Marked Table 6 in 11.00 seconds.
Marked Table 5 in 9.18 seconds.
Marked Table 4 in 9.14 seconds.
Marked Table 3 in 9.06 seconds.
Completed Phase 2 in 38.38 seconds
Compressing Table 2 and 3...
 Step 1 completed step in 55.06 seconds.
 Step 2 completed step in 65.38 seconds.
Completed table 2 in 120.44 seconds with 3439868618 / 4294967296 entries ( 80.09% ).
Compressing tables 3 and 4...
 Step 1 completed step in 50.81 seconds.
 Step 2 completed step in 77.57 seconds.
 Step 3 completed step in 69.09 seconds.
Completed table 3 in 197.47 seconds with 3466019657 / 4294890775 entries ( 80.70% ).
Compressing tables 4 and 5...
 Step 1 completed step in 44.14 seconds.
 Step 2 completed step in 80.13 seconds.
 Step 3 completed step in 69.93 seconds.
Completed table 4 in 194.21 seconds with 3532799969 / 4294774065 entries ( 82.26% ).
Compressing tables 5 and 6...
 Step 1 completed step in 44.54 seconds.
 Step 2 completed step in 80.49 seconds.
 Step 3 completed step in 75.48 seconds.
Completed table 5 in 200.51 seconds with 3713250583 / 4294560332 entries ( 86.46% ).
Compressing tables 6 and 7...
 Step 1 completed step in 46.78 seconds.
 Step 2 completed step in 79.55 seconds.
 Step 3 completed step in 80.53 seconds.
Completed table 6 in 206.86 seconds with 4294196995 / 4294196995 entries ( 100.00% ).
Serializing P7 entries
Completed serializing P7 entries in 32.41 seconds.
Completed Phase 3 in 951.89 seconds
Completed Plot 1 in 1735.40 seconds ( 28.92 minutes )

Checking 100 random proofs with seed 0x########################################...
Plot compression level: 6
 10%...
 20%...
 30%...
 40%...
 50%...
 60%...
 70%...
 80%...
 90%...
Seed used: #######################################
Proofs requested/fetched: 104 / 100 ( 104.000% )
Proof validation failed : 5 ( 5.000% )

Plot is OK. It passed the proof threshold of 60.000%

/plotting/plot-k32-c06-2023-11-19-23-21-#################################.plot.tmp -> /plotting/plot-k32-c06-2023-11-19-23-21-##################################################.plot
Completed writing plot in 11.91 seconds
Final plot table pointers:
 Table 1:                0 ( 0x0000000000000000 )
 Table 2:       1289981956 ( 0x000000004ce39004 )
 Table 3:       6787391308 ( 0x00000001948f5f4c )
 Table 4:      20876563033 ( 0x00000004dc571259 )
 Table 5:      35237188033 ( 0x00000008344cd1c1 )
 Table 6:      50331337108 ( 0x0000000bb7fb4194 )
 Table 7:      67786997308 ( 0x0000000fc86b7e3c )
 C 1    :             4096 ( 0x0000000000001000 )
 C 2    :          1721780 ( 0x00000000001a45b4 )
 C 3    :          1721956 ( 0x00000000001a4664 )

Final plot table sizes:
 Table 1: 0.00 MiB
 Table 2: 5242.74 MiB
 Table 3: 13436.48 MiB
 Table 4: 13695.36 MiB
 Table 5: 14394.90 MiB
 Table 6: 16647.01 MiB
 Table 7: 16892.97 MiB
 C 1    : 1.64 MiB
 C 2    : 0.00 MiB
 C 3    : 1228.58 MiB

And here we go. Plot deletion also works fine.

Bladebit Chia Plotter
Version      : 3.1.0
Git Commit   : e9836f8bd963321457bc86eb5d61344bfb76dcf0
Compiled With: gcc 9.4.0

[Global Plotting Config]
 Will create 1 plots.
 Thread count          : 4
 Warm start enabled    : false
 NUMA disabled         : false
 CPU affinity disabled : false
 Farmer public key     : ############################################
 Pool contract address : ##########################################
 Compression Level     : 6
 Benchmark mode        : disabled
Warning: 16G mode is experimental and still under development.
         Please use the --check <n> parameter to validate plots when using this mode.
         Direct I/O not supported in 16G mode at the moment. Disabing it.

[Bladebit CUDA Plotter]
 Host RAM            : 31 GiB
 Plot checks         : enabled ( 100 )
 Plot check threshold: 0.600

Selected cuda device 0 : NVIDIA GeForce RTX 3060
 CUDA Compute Capability   : 8.6
 SM count                  : 28
 Max blocks per SM         : 16
 Max threads per SM        : 1536
 Async Engine Count        : 2
 L2 cache size             : 2.25 MB
 L2 persist cache max size : 1.69 MB
 Stack Size                : 1.00 KB
 Memory:
  Total                    : 11.76 GB
  Free                     : 11.12 GB

Allocating buffers (this may take a few seconds)...
Kernel RAM required       : 4828776144   bytes ( 4605.08   MiB or 4.50   GiB )
Intermediate RAM required : 4378927104   bytes ( 4176.07   MiB or 4.08   GiB )
Host RAM required         : 2147483648   bytes ( 2048.00   MiB or 2.00   GiB )
Total Host RAM required   : 6976259792   bytes ( 6653.08   MiB or 6.50   GiB )
GPU RAM required          : 6163857408   bytes ( 5878.31   MiB or 5.74   GiB )
Allocating buffers...
Done.

Generating plot 1 / 1: 5##########################################################
Plot temporary file: /plotting/plot-k32-c06-2023-11-20-05-44-##########################################.plot.tmp

Generating F1
Finished F1 in 22.59 seconds.
Table 2 completed in 74.31 seconds with 4294962058 entries.
Table 3 completed in 134.16 seconds with 4294967296 entries.
Table 4 completed in 165.07 seconds with 4294898008 entries.
Table 5 completed in 190.84 seconds with 4294807613 entries.
Table 6 completed in 157.75 seconds with 4294651478 entries.
Table 7 completed in 127.13 seconds with 4294353678 entries.
Finalizing Table 7
Finalized Table 7 in 59.68 seconds.
Completed Phase 1 in 931.53 seconds
Marked Table 6 in 14.51 seconds.
Marked Table 5 in 13.38 seconds.
Marked Table 4 in 19.29 seconds.
Marked Table 3 in 17.69 seconds.
Completed Phase 2 in 64.87 seconds
Compressing Table 2 and 3...
 Step 1 completed step in 135.61 seconds.
 Step 2 completed step in 77.91 seconds.
Completed table 2 in 213.52 seconds with 3439865884 / 4294967296 entries ( 80.09% ).
Compressing tables 3 and 4...
 Step 1 completed step in 58.18 seconds.
 Step 2 completed step in 99.17 seconds.
 Step 3 completed step in 72.14 seconds.
Completed table 3 in 229.50 seconds with 3466010672 / 4294898008 entries ( 80.70% ).
Compressing tables 4 and 5...
 Step 1 completed step in 49.80 seconds.
 Step 2 completed step in 91.28 seconds.
 Step 3 completed step in 80.81 seconds.
Completed table 4 in 221.90 seconds with 3532785827 / 4294807613 entries ( 82.26% ).
Compressing tables 5 and 6...
 Step 1 completed step in 47.30 seconds.
 Step 2 completed step in 101.94 seconds.
 Step 3 completed step in 79.40 seconds.
Completed table 5 in 228.64 seconds with 3713337141 / 4294651478 entries ( 86.46% ).
Compressing tables 6 and 7...
 Step 1 completed step in 54.31 seconds.
 Step 2 completed step in 95.99 seconds.
 Step 3 completed step in 106.10 seconds.
Completed table 6 in 256.40 seconds with 4294353678 / 4294353678 entries ( 100.00% ).
Serializing P7 entries
Completed serializing P7 entries in 38.97 seconds.
Completed Phase 3 in 1188.93 seconds
Completed Plot 1 in 2185.33 seconds ( 36.42 minutes )

Checking 100 random proofs with seed 0x############################################
Plot compression level: 6
 10%...
 20%...
 30%...
 40%...
 50%...
 60%...
 70%...
 80%...
 90%...
Seed used: 0x#################################################
Proofs requested/fetched: 91 / 100 ( 91.000% )
Proof fetches failed    : 1 ( 1.000% )
Proof validation failed : 3 ( 3.000% )

WARNING: Deleting plot '/plotting/plot-k32-c06-2023-11-20-05-44-###############################################.plot.tmp' as it failed to fetch some proofs. This might indicate corrupt plot file.

Completed writing plot in 32.58 seconds

````

authors: ApfelBirneKreis guydavis

repo: guydavis/plotman


text:
Bentest

Resolve issue in #2.

That's a merge, folks

That's a merge, folks

repo: gvfonseca/github-slideshow


text:
发现一处小细节不对

在切换到其他选项卡的时候，比如教学楼或者校门，景点的图标不会消失，会一直存在

楼主这个问题解决了吗

repo: gxgk/school-map


text:
generateNixPathFromInputs should check for default.nix file instead of for package set

nix.generateNixPathFromInputs only adds inputs to NIX_PATH if they have a packages or legacyPackages output. This is a rather curious restriction, as the existence of such a package set does not prove that the flake source can be imported directly. It also means that flakes that can be imported, such as nix-darwin, don't end up in NIX_PATH as they don't have a package set.
Instead of testing for the package set, it should check if the flake has a default.nix file. Unfortunately I don't think Nix lets you test if a file exists, so this might require using an activation script instead of config.environment.etc. Though perhaps setting environment.etc."nix/input".source to a derivation whose outPath is a directory of symlinks might work? That way the derivation build script can test the inputs for a default.nix.

I hacked this together myself, and I can confirm that environment.etc."nix/input".source = pkgs.runCommandNoCC works to build a directory. There may be an issue activating the result for anyone who already has the existing /etc/nix/inputs as a directory though (this is true for nix-darwin, I don't know if nixos's environment.etc activation is any smarter, though my belief is nix-darwin just copied it from nixos).

Yeah, good point. Will implement it this weekend

I think it's fixed by https://github.com/gytis-ivaskevicius/flake-utils-plus/issues/105?

authors: gytis-ivaskevicius lilyball

repo: gytis-ivaskevicius/flake-utils-plus


text:
a good paper

I will recommend you a good paper,it may help your research
Q. Sun, C. Bai, H. Geng, and B. Yu, “Deep Neural Network Hardware Deployment Optimization via Advanced Active Learning,”
in IEEE/ACM Proceedings Design, Automation and Test in Eurpoe (DATE), 2019.

Thank you!
I will definitely look into it.
Do you also have other recommendations for machine learning resources (I'm fairly new to the field)?

Thank you! I will definitely look into it.
Do you also have other recommendations for machine learning resources (I'm fairly new to the field)?

I'm new too.Maybe we can help each other?

Thank you! I will definitely look into it.
Do you also have other recommendations for machine learning resources (I'm fairly new to the field)?

I'm new too.Maybe we can help each other?

my email:   bingli226@mail.ustc.edu,cn

Sure!
I will hit you up if I have any questions.
If you have any questions for me you can reach me at: st171805@stud.uni-stuttgart.de


text:
Attempt to fix h13i32maru/esdoc#11

Attempt to resolve the issue(s) outlined in h13i32maru/esdoc#11 directly in the ES6 source (rather than in the distribution/built files).

@mmoss Hi, thank you for this PR!
I have to fix the issue fundamentally. So, please wait just a little more :sweat_drops:

Will do, this is a blocking issue for a project using ES6--this is a great tool, can't wait to see this resolved. :+1:
Please let me know if there's anything I can do to help out.

@mmoss ESDoc head revision fixes the issue. You can use it with following commands.
git clone git@github.com:h13i32maru/esdoc.git
cd esdoc/
npm install
npm run test
npm run build
npm install -g ./
esdoc -h

But if you have other problem, please post minimum codes that occur problem.

It turns out the error error I was seeing below was caused by the usage of @instance & @memberof tags, where the @memberof didn't actually point to a file. Updating the comments (just removing the extranseous stuff I needed for JSDoc resolved this.)

/usr/local/lib/node_modules/esdoc/out/src/Publisher/Builder/SearchIndexBuilder.js:106
TypeError: Cannot read property 'kind' of undefined

It is good :sparkles: Thank you!


text:
Documentation?

This is an absolutely marvellous project, but lacks serious documentation / wiki pages. Any plans?

i m very agree

I thought the same in the beginning, but try to work with the examples. They are very self explanatory and cover probably all the cases. Once you get it to work the the API is easy to use

We're all developers after all, everything's easy once we look through examples. That's like asking a mechanic to open the hood of a car and reverse engineer the engine to figure out how it's working - it's all easy :)
The point is, no one's got the time these days when you've got 101 libraries out there doing essentially the same thing. This library's far superior but you don't realize this till you learn that it's mainly due to its flexible API. A few steps worth of good documentation saves people hundreds of hours worth of development time and understanding.

I agree on a good "Get Started" that would guide to a basic working scenario.
I don't agree with the mechanic metaphor. The sample projects are here to avoid having to go into the source code to figure out how it works. I think that basically, having a few sections explaining step  by step what the sample does would help

So you've essentially agreed to what I was saying in the first place but then trying to contradict yourself by saying the metaphor isn't applicable, Okay :) Whatever gets us a good "get started" guide!
Like I said - the library is awesome. And you figure this out essentially by trying out the samples. The samples, however, are by far the easiest to understand. They're riddled with "generics" and a whole bunch of abstract classes with similar functionality available via implementing the various equivalent interfaces. I've got like two decades of programming experience on various platforms and languages and I must say I couldn't figure head or tail without actually going into the library's source code and figuring out how it works. In particular, the EDS sample has a LOT in there to swallow. On my second attempt it took me 5 minutes to follow the code and how the various wrapper adapters work, but the learning curve is very steep.

I think the reason there is no real documentation is probably a lack of time from the author. Looking at the EDS sample, it looks indeed complicated, way more than the rest (I've only used Swipe and Drag/Swipe). Maybe that would be the one needing a more in-depth guide

yes im absolutly agree  . it takes me 2 hour to understand  the library .
i just saying for new user that  dont know how to deal with examples and so on
btw  its really amazing library
and i myself will begin to write a wiki for this library as soon as my current project finish
tnk u 4 answer

Hi! Thank you all.
I admit this library lacks friendly and cool documentation 😞
So far I have not tried to create it yet, because it requires a lot of work. However, I know many developers are using this library today, and many question posts are created to the issue page these days. I feel the importance of decent document is increasing day by day... so finally, I decided to create a project and document site.
http://h6ah4i.com/android-advancedrecyclerview/
This is a GitHub Pages of Advanced RecyclerView. Its contents is just copied from example of the theme for now, but I am going to write them in my spare time.

If anyone can help me, I would really appreciate. Here is a quick guide how to edit the document site.

Install Hugo
Clone gh-pages-source repository

git clone -b gh-pages-source --recurse-submodules git@github.com:h6ah4i/android-advancedrecyclerview.git android-advancedrecyclerview-gh-pages

Launch server

cd android-advancedrecyclerview-gh-pages
hugo server

Open http://localhost:1313/android-advancedrecyclerview/ in your browser

Thanks.


text:
Add event handlers for advancements in slack bot to show in slack chat

Advancements, both normal and custom, will now be announced in slack chat when they are completed.

I don't think I specifically tested goals and challenges, but it should work, the only difference is the display frame type, right?

repo: hackclub/HCCore


text:
Gbox

Your checklist for this pull request
Author name
Author: Kokonico (myself)

About your game
A simple, but rage inducing game where you push many boxes around using the power of gravity. new players can take 5+ minutes to beat the game, but the more you play, the faster you can get. very speedrunnable.

How do you play your game?
press WASD to change the direction of gravity, press "I" to start the game and restart it after beating it, press "k" to restart the exact level you are on.

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
(keep in mind the gameplay is SEVERELY different from gravity_box.)
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)
N/A

Thanks for your PR!

Why did you close this PR? 👀

old version of the code I downloaded. I updated the code, and I didn't submit that copy.

repo: hackclub/sprig


text:
Failed to generate PDF for JSON Resume theme

With version 1.4.2 on Ubuntu 15.10:
$ node_modules/.bin/hackmyresume BUILD resume.json TO resume.pdf -t node_modules/jsonresume-theme-slick

*** HackMyResume v1.4.2 ***
Reading resume: resume.json
Applying JSONRESUME-THEME-SLICK theme (1 format)
ERROR: Cannot read property 'outFormat' of undefined
TypeError: Cannot read property 'outFormat' of undefined
    at single (resume/node_modules/hackmyresume/src/verbs/generate.js:151:31)
    at resume/node_modules/hackmyresume/src/verbs/generate.js:104:17
    at Array.forEach (native)
    at build (resume/node_modules/hackmyresume/src/verbs/generate.js:103:13)
    at Command.execVerb (resume/node_modules/hackmyresume/src/index.js:175:28)
    at Command.<anonymous> (resume/node_modules/hackmyresume/src/index.js:109:16)
    at Command.listener (resume/node_modules/hackmyresume/node_modules/commander/index.js:301:8)
    at Command.EventEmitter.emit (events.js:98:17)
    at Command.parseArgs (resume/node_modules/hackmyresume/node_modules/commander/index.js:615:12)
    at Command.parse (resume/node_modules/hackmyresume/node_modules/commander/index.js:458:21)

Html works:
$ node_modules/.bin/hackmyresume BUILD resume.json TO resume.html -t node_modules/jsonresume-theme-slick

*** HackMyResume v1.4.2 ***
Reading resume: resume.json
Applying JSONRESUME-THEME-SLICK theme (1 format)
Generating HTML resume: resume.html
The JSONRESUME-THEME-SLICK theme says: "For
best results view JSON Resume themes over a local or remote
HTTP connection. For example:

    http-server <resume-folder>

For more information, see the README."

@umpirsky Thanks for the report -- this got pushed to v1.5 since we have some lower level PDF issues to work through first. In progress now.

Should be out today. See also #96.

Fixed in 1.5.0. If you still have issues, leave a comment and I'll re-open and issue a hotfix. Thanks!

@hacksalot Thanks!
Now I have another error:
node_modules/.bin/hackmyresume BUILD resume.json TO resume.pdf -t node_modules/jsonresume-theme-slick

*** HackMyResume v1.5.0 ***
Reading resume: resume.json
Applying JSONRESUME-THEME-SLICK theme (2 formats)
Generating PDF  resume: resume.pdf
ERROR: [object Object]
The JSONRESUME-THEME-SLICK theme says: "For
best results view JSON Resume themes over a local or remote
HTTP connection. For example:

    http-server <resume-folder>

For more information, see the README."

Interesting, let me test with SLICK. Will have to patch a few things in 5.1 anyway.

@hacksalot Not slick specific:
$ node_modules/.bin/hackmyresume BUILD resume.json TO resume.pdf

*** HackMyResume v1.5.0 ***
Reading resume: resume.json
Applying MODERN theme (5 formats)
Generating PDF  resume: resume.pdf
ERROR: [object Object]
The MODERN theme says: "To get colored skill
progress bars, make sure your resume includes a `level`
element for each skill!"

@hacksalot just to let you know, pdf generation now fixed for me with 1.5. Fantastic work on this project!

Thanks @umpirsky I'll add it to the tests anyway. v1.5.1 also has a stack trace option you can set to force full exception info.
*** HackMyResume v1.5.0 ***
Reading resume: resume.json
Applying JSONRESUME-THEME-SLICK theme (2 formats)
Generating PDF  resume: out\rez.pdf
The JSONRESUME-THEME-SLICK theme says: "For
best results view JSON Resume themes over a local or remote
HTTP connection. For example:

    npm install http-server -g
    http-server <resume-folder>

For more information, see the README."

Is your resume missing any important sections or other obvious info? HMR's handling of those still isn't 100% but I've/we've at least figured out how to test around this so look for a sharp improvement soon. There will also shortly be an anonymize option so people can upload resume JSON for bug reports without revealing private details.

Stop emailing so much please
On Jan 8, 2016 1:42 PM, "hacksalot" notifications@github.com wrote:

Interesting, let me test with SLICK. Will have to patch a few things in
5.1 anyway.
—
Reply to this email directly or view it on GitHub
https://github.com/hacksalot/HackMyResume/issues/93#issuecomment-170086757
.

@hacksalot OK, I will wait for 1.5.1 to see the trace, maybe I am missing some sections. Thanks.

@caseycamichloe Yeah, that can be annoying. The emails are automated by GitHub (I'm on the web UI right now), but you can adjust your settings or disable notifications for the project.

Thank you so much
On Jan 8, 2016 2:09 PM, "hacksalot" notifications@github.com wrote:

@caseycamichloe https://github.com/caseycamichloe Yeah, that can be
annoying. The emails are automated by GitHub (I'm on the web UI right now),
but you can adjust your settings or disable notifications for the project.
—
Reply to this email directly or view it on GitHub
https://github.com/hacksalot/HackMyResume/issues/93#issuecomment-170095711
.

authors: caseycamichloe hacksalot mickmur umpirsky

repo: hacksalot/HackMyResume


text:
In development mode, skip uploading resume to S3 if there is no defined AWS key

This will allow for easier local testing without getting the actual s3 credentials for production.

Fixed because resumes are no longer required for upload in development mode.

repo: hackumass/dashboard


text:
[BUG] Recursion Errors

Every time I run it it gets stuck in this loop until it gets a precision error:

\pycln\utils\scan.py", line 718, in generic_visit
self.visit(item)
File "python39\lib\ast.py", line 407, in visit
return visitor(node)
\pycln\utils\scan.py", line 104, in wrapper
func(self, *args, **kwargs)
\pycln\utils\scan.py", line 639, in visit_ImportFrom
node = cast(ast.ImportFrom, expand_import_star(node, self._path))
\pycln\utils\scan.py", line 855, in expand_import_star
analyzer.visit(tree)
File "python39\lib\ast.py", line 407, in visit
return visitor(node)
\pycln\utils\scan.py", line 718, in generic_visit
self.visit(item)
File "python39\lib\ast.py", line 407, in visit
return visitor(node)
\pycln\utils\scan.py", line 104, in wrapper
func(self, *args, **kwargs)
\pycln\utils\scan.py", line 639, in visit_ImportFrom
node = cast(ast.ImportFrom, expand_import_star(node, self._path))
\pycln\utils\scan.py", line 855, in expand_import_star
RecursionError: maximum recursion depth exceeded while calling a Python object

Hi, could you provide me a sample of the code that causes the problem?

Hi @GameDungeon, I'm happy to see you around, I did fix the issue, my fix will be applied in the next release (v1.0.4), thanks for the feedback.

authors: GameDungeon hadialqattan

repo: hadialqattan/pycln


text:
[bug] not working with --only-custom-payload flag

Question
Thanks for great tool. How can i use my custom payload file? I tried the below commands but it didn't work. There is no any requests wity my payloads, i check with Burpsuite. Is it bug?
dalfox file target.txt --only-custom-payload --custom-payload ./payloads.txt --skip-bav --skip-mining-all --proxy http://127.0.0.1:8080
/root/go/bin/dalfox file target.txt --custom-payload ./payloads.txt --skip-bav --skip-mining-all --proxy http://127.0.0.1:8080

target.txt
http://testphp.vulnweb.com/search.php?test=query
http://testphp.vulnweb.com/listproducts.php?cat=

payloads.txt
<script>alert(document.domain)</script>

Environment

Dalfox Version: v2.7.0
Installed : go install github.com/hahwul/dalfox/v2@latest

Hi @normface
Thank you for submit issue!
First, when I checked, there seems to be a problem with --only-custom-payload. I'll check this out!
with
$ dalfox file target.txt --only-custom-payload --custom-payload ./payloads.txt \
--skip-bav --proxy http://localhost:8090

without
$ dalfox file target.txt --custom-payload ./payloads.txt \
--skip-bav --proxy http://localhost:8090

@normface
Hi, I fixed this issue :D
It will be apply in v2.7.1 release
Test
// payloads.txt
hahwul

v2.7.1 release note 🚀
Please refer to the document below for how to update!
https://dalfox.hahwul.com/docs/update/

Thank you =)

authors: hahwul normface

repo: hahwul/dalfox


text:
Change Icon

Looks better, has transparency for dark themes

Cool thanks :)

repo: haidubogdan/netbeans-php-blade-plugin


text:
lib64 是什么

checkErr(os.Chdir(path.Join(dllPath, "lib64")))
这个函数  为什么会出现 chdir d:\workGo\code.xx.com\src\github.com\go_ctp\src\go_ctp/lib64: The system cannot find the file specified 这样的错误
是因为/lib64 这个格式不对吗

您好:
lib64是目录, 目录下有封闭的dll文件. 这个项目更新有点慢,可以关注gitee的更新,比github会更及时.
hubert28@qq.com
发件人： zhosi
发送时间： 2020-07-03 15:11
收件人： haifengat/go_ctp
抄送： Subscribed
主题： [haifengat/go_ctp] lib64 是什么 (#2)
checkErr(os.Chdir(path.Join(dllPath, "lib64")))
这个函数 为什么会出现 chdir d:\workGo\code.xx.com\src\github.com\go_ctp\src\go_ctp/lib64: The system cannot find the file specified 这样的错误
是因为/lib64 这个格式不对吗
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

authors: haifengat zhosi


text:
Nothing is being saved in the .bin files in the gt_database_mm folder.

Running the command in the following figure results in no data being saved in the .bin files.

Hello, I have just started working on this project. I have tried configuring the environment using this readme on both VSCode and Psycharm in the early stages, but many errors have occurred. I am currently unsure how to proceed further. Can you help me?

authors: ckdghks tankewudi

repo: hailanyi/VirConv


text:
New plugin not appears in hpm

Hello, I published plugin 2 months ago - https://www.npmjs.com/package/hain-plugin-puttytray, but it not available with /hpm install.
Here is the package.json, what did I do wrong?

Oh Sorry, your package.json contains a keyword hain-0.6.0. but it looks like that isn't supported now. please add keyword hain-0.5.0 :)

Thank you!

authors: appetizermonster popstas

repo: hainproject/hain


text:
master mode does not work?

when I run the docker image with master mode,my other slave docker can not connect to master.But,if I run
locust master without your docker image,and I run docker image with slave mode,the slaves can connect to master and work well.I don't know why.

Hi, I got similar problem today.
When try run my slave Locust with argument  "MASTER_HOST=http://<my.master.ip>", it shows ZMQError with message "Invalid argument".
Then I tried removing "http://" from the argument, it works.
Guess the document is a little bit outdated?
Hope this helps.

repo: hakobera/docker-locust


text:
Mismatched order of imputation column and header

Order of imputation results does not match expected header in SummaryInputation.py.
effect_allele and non_effect_allele order are different in:

Results variable
_result function

Thanks for reporting this, it is fixed now. The "imputation variant" code was out of sync with the "imputation by variant" code.
For completeness' sake, please note that "imputing by region is preferred" (i.e. specifying a file with approximately independent LD regions with the -by_region_file argument)

authors: Heroico jhchung

repo: hakyimlab/summary-gwas-imputation


text:
关于此电子书如何搭建

编程小白，请问类似于这种的电子书是怎么编写搭建的，之前听说过gitbook，但是能不能像做笔记一样私有化部署起来，家中有NAS，想用docker之类的部署一个。
谢谢。

谢谢大佬！！！！
我去试一下

@halfrost 搭建了一晚上，HUGO后台登陆好像可以，但是主题弄半天弄不上，DOCKER中git用不了，我又尝试原始方法，把主题解压放到相应文件，同时复制新的config.toml，这会导致docker应用打不开，报错是key不对。搞的我现在头疼。

@poshoi 把 key 不对的错误修复一下。把主题解压到这个文件中，这种做法应该很稳才对。

可能docker版本有点小问题吧，我刚看日志，有个SCSS文件与我这个HOGO版本不适配，需要用扩展的版本，好麻烦

authors: halfrost poshoi

repo: halfrost/LeetCode-Go


text:
⚠ ClamAV has degraded performance

In e32bd4f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in ad3179d after 6 minutes.

repo: hamboneZA/caffeine


text:
⚠ ClamAV has degraded performance

In a2455f4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 80 ms

Resolved: ClamAV performance has improved in e5f506a after 11 minutes.


text:
⚠ ClamAV has degraded performance

In 96c0655, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 495 ms

Resolved: ClamAV performance has improved in fc2389c.


text:
⚠ ClamAV has degraded performance

In 8015ea9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 54 ms

Resolved: ClamAV performance has improved in 8a5804f.


text:
⚠ ClamAV has degraded performance

In 4c71962, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in 23feb6c.


text:
cannot import click error

Hi
I installed magicclass using
pip install git+https://github.com/hanjinliu/magic-class.git
When running
from magicclass import click
I get this error:
cannot import name 'click' from 'magicclass'
It was working from the pip release, but I was getting some errors, hence the reason I installed from the updated master branch instead.
Cheers
Pradeep

Hi @pr4deepr ,
I'm very sorry for that. I was moving click to another place but left the codes in an incomplete state...
I just fix it in the last commit.
However, I'm planning to relocate click in magicclass.utils because it's totally an "additional" feature (you'll get deprecation warning). Could you use from magicclass.utils import click instead?

Hi @hanjinliu
Thanks for the speedy response.

Could you use from magicclass.utils import click instead?
Yea, I'll do that.
assuming you'll be updating your example code as well with this change, right?

Cheers
Pradeep

Hi @pr4deepr ,
Yeah, please take a look at https://github.com/hanjinliu/magic-class/blob/main/examples/use_click.py

Thank you!

repo: hanjinliu/magic-class


text:
fortls doesn't work when ssh into linux

I remoted into my linux environment and tried to set the path to fortls executable. It doesn't seem to recognize .F90 files. The same file works fine in windows.  I tried setting fortls path for the user/remote/workspace settings and vs code still doesn't recognize the file.
This might be a problem with vs code. I don't know.
I also wanted to add the file extension .cuf into fortran language server. This the cuda for fortran. I am writing a tutorial on how to get started with nvfortran (nvidia fortran compiler) https://github.com/pjuangph/fortran everything so far works except for the vs code extension.

I tried going into my linux laptop manually and checking to see if it's an ssh problem and it's not. The extension actually doesn't work in linux.

Yes I found the same issue, could the author add support for remote linux system? It will be highly appreciated.

repo: hansec/vscode-fortran-ls


text:
Fix for Github issue #152

#152 Fix.

Thank you for the PR!

authors: hansihe kraythen

repo: hansihe/rustler


text:
Handle Information in State Mode

When the environment is in state-mode for the OpenCabinetDrawer task, the 94-dim state vector does not contain the handle information, correct? So for two different cabinet instances, if they have the same pose (i.e. positions, orientations, velocities, etc.), their state vector will be the same (assuming their self.target_indicator is the same), right?

Hi @arjung128
State-mode does not provide any information about handles. There is no canonical way to describe an arbitrary 3D shape by a low-dimensional vector.

Thank you for your prompt response. Could this be why a single policy does not generalize well to a large number of objects (Table 5)? If the policy doesn't receive information about the handles, then for one object instance it can memorize the position of the handle, but because the state contains no information about which type of articulated object is being interacted with (the state is indistinguishable when given another object), it cannot do this for multiple objects?

Hi @arjung128 ,
Yes, we need additional information to distinguish the different objects when training in more than one environment.
As for the results shown in table 5, we append a one-hot vector to the state before passing it to the NN.

I see, thanks!

repo: haosulab/ManiSkill


text:
About the Dataset

Hi Fanbo,
I accidentally found that some instances in partnet-mobility dataset do not provide all the obj files needed.
For example, https://sapien.ucsd.edu/api/download/compressed/3593.zip?token={TOKEN} do not have textured_objs/new-1.obj, which is required by the mobility.urdf
What do I do with these instances?

Hi Helin,
These objects are actually not needed. This is probably an issue from
PartNet where certain objects contain 0 faces. We have removed these
objects but keep them in URDF for reference. SAPIEN simulator will ignore
these files and you do not need to worry about them.
Best,
Fanbo
On Sat, Aug 14, 2021 at 1:26 AM HelinXu @.***> wrote:

Hi Fanbo,
I accidentally found that some instances in partnet-mobility dataset do
not provide all the obj files needed.
For example,
https://sapien.ucsd.edu/api/download/compressed/3593.zip?token={TOKEN} do
not have textured_objs/new-1.obj, which is required by the mobility.urdf
What do I do with these instances?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/haosulab/SAPIEN-Release/issues/33, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTH456PF54JYQPX64M23OLT4YSCVANCNFSM5CE3WA4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Got it, thanks!

authors: HelinXu fbxiang

repo: haosulab/SAPIEN-Release


text:
Graceful Shutdown and Log Draining

Howdy, this is a question of best practice more than anything.
When I do a server.stop I think http-good will send whatever is left in its queue. However there is no way to know when the final request to the log server has finished to actually exit the process based on the lack of callback here: https://github.com/hapijs/good-http/blob/master/lib/index.js#L113
So what is best practice? Should I just give a "reasonable" amount of time for this to wrap up?
I guess I could use good-broadcast for more deterministic behavior if good-file has a way to know when logs are drained to the file system.
Thanks for the help!

Great question. As of right NOW, when the "end" event occurs, good-http attempts to drain anything left in the buffer. As you've pointed out, there isn't a callback here to know when or even if the request has finished. I'd just give it a reasonable time as you've suggested.
In good version 7, this reporter will have a stop function that will be called when the server is shutting down so any "last ditch" efforts can be done there. Check out https://github.com/hapijs/good/blob/master/API.md#reporter-lifecycle for more details.

Sounds good. I'm satisfied if you want to close or do whatever with this ticket. Thanks for the fast response.

authors: arb kevinmstephens

repo: hapijs/good-http


text:
Issue with React-router 4.1.1

I am facing issues in app.jsx when i update react-router to the latest version.
ServerRouter is removed from the new version of react-router.
Also is it possible to add old plain routes in this new router? since i am new to react, i couldnt able to grab the things properly. Only this repo seems understandable and working nicely.

Hi lineldcosta,
React-router changed their API a lot when they updated from the alpha to the beta. ServerRouter is StaticRouter now. You can try to check their new documentation and see if you can figure out the changes.
I will also probably update my boilerplate this weekend for this.
Let me know if you have more questions!
Michiel

Hi Michiel,
Thanks for the information. I implemented it. But u r the only sooperman. I could able to understand and implement the server side rendering using your code in my own project.
Thanks

I have not implemented AWS, but while pushing to production, i will look into your project again :-)

authors: happylinks lineldcosta

repo: happylinks/blrplt


text:
我是来学习的

便于大家了解项目

#23

便于大家了解项目

thx

便于大家了解项目
mooc

repo: happypeter/gitbeijing


text:
install.sh Bad substitution

Hi it seems that there is an issue with the install.sh due to a commit last month:
Using DEBIAN:2.8.2-debian-11-r10 @yaronr
#0 0.305 Cloning into 'haproxy-lua-oauth'...
#0 1.382 Debian based system detected
#0 1.382 false
#0 1.382 Debian based system detected
#0 1.383 ./install.sh: 37: Bad substitution

Default shell set to sh, change to bash and it worked, thanks.

repo: haproxytech/haproxy-lua-oauth


text:
Automate nuget org push

There are two steps that I wont be able to prepare... btw. not able without authorization at nuget.org to change your package.

Obtain an api key from nuget.org and add it using the key "NUGET_TOKEN" to your secrets to enable pushing built packages to nuget.org. That will get triggerd on pushing to "release-*" branches.
Obtain an api key from https://int.nugettest.org/ and add it using the key "NUGET_TEST_TOKEN" to your secrets to enable pushing built packages to int.nugettest.org. That will get triggered on pushing to "master" branch and will run online similar checks on the package like need to be satisfied publishing using nuget.org.

Is it possible that the tests are a bit flaky? I had a quick look intor the failing test running on appveyor and is saw at least PuppeteerSharp.Tests.TargetTests.BrowserWaitForTargetTests.ShouldWaitForATarget failing some times running on github actions too.

Yes, tests can be quite flaky :(

@stesee just to confirm. This is ready to go right?

Found some more issues while testing - give the new workflow PushToIntNugetOrg a try 🤖.

@stesee ops https://github.com/hardkoded/puppeteer-sharp/actions/runs/4078318164/jobs/7028385175

authors: kblok stesee

repo: hardkoded/puppeteer-sharp


text:
doc: fix cacheMaxAgeSeconds type

Description
Just fixing a typo

Linked Issues
Additional context

Thanks!

authors: AnzhiZhang harlan-zw

repo: harlan-zw/nuxt-seo-kit


text:
feat!: implement singleton

Description
BREAKING: useSiteConfig now has a value getter & setter which allows to use it anytime and access up-to-date variables inside.
Linked Issues
n/a
Additional context
See the test as an example for what's currently failing: using site-config, then updating it and checking for updates values through the site-config used before.

This is a good solution to the issue but I'll need some time to think about if this is the best path forward.
Out of curiosity, can't you just call useSiteConfig when you need to access the data instead of storing it?

Yes, that should work as well. It's just that I was very confused that useSiteConfig does not provide a ref while most other Vue composables do. I spent quite a bit of time figuring out why the site config I used did not contain the description I updated it with.

And computed does not like to have getter and setter of different types...

Ok, maybe a more understandable / real world use case would be:
updateSiteConfig({
  description: siteDescriptionProp.value,
})
defineOgImage({
  alt: ogImageAltProp.value,
  component: ogImageComponentProp.value,
})

The og image would not have the description available right now.

I think you have a valid issue that you're trying to solve in this PR, however, I don't think I can merge this as is as it would be a breaking change and I'd prefer to keep the existing API (it lets me expand it easier in the future).
I have made an issue to solve this at some point though: https://github.com/harlan-zw/nuxt-site-config/issues/11

authors: dargmuesli harlan-zw

repo: harlan-zw/nuxt-site-config


text:
Remove LIB environment variable [DOC-2449]

Remove LIB environment variable from chaos faults
JIRA ticket: https://harness.atlassian.net/browse/DOC-2449
Signed-off-by: Smriti S <[smriti.satyanarayana@harness.io]>

Preview environment: https://ci.pr.harness.io/pr-419

Preview environment: https://ci.pr.harness.io/pr-419

Preview environment: https://ci.pr.harness.io/pr-419

Preview environment: https://ci.pr.harness.io/pr-419

authors: SahilKr24 SmritiSatya bot-gitexp-user

repo: harness/developer-hub


text:
fix: [PIPE-18425]: Add in GitEx documentation that we don't support Oauth for Azure repos

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://661f4e25fab17ad18763a39f--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://661fcdc52b51223d826c4fc4--harness-developer.netlify.app

authors: CLAassistant bot-gitexp-user krishi0408


text:
Update plugin-step-settings-reference.md

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: updated plugin outputs limitation
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66cf9e20c6fa123035cfa21d--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66cf9e51d3716a38d81fcc46--harness-developer.netlify.app

authors: CLAassistant bot-gitexp-user nofarblue


text:
Update README.md

Duplicate section

Thank you!

repo: harrystech/prelaunchr


text:
[NeurIPS 2023 Streaming Track] hwtl_sdu_anns_streaming

Here is the code for team HWTL_SDU-ANNS. Thank you.

@maumueller ,  @harsha-simhadri ,we forgot to change the informaiton in NeurIPS 2023 Competition track,  our register information in the  Competition system is below, which seems no relevance with our team name "HWTL_SDU-ANNS" .Sorry for the inconvenience.
Conference Name:Practical Vector Search Challenge: NeurIPS 2023 Competition track
Paper ID 30
Paper Title A graph-based algorithm for K-Nearest Neighbor search.
I want to change the paper title to "HWTL_SDU-ANNS" this morning, but it can not be changed anymore. Only  Supplementary Files an be added.  So I added the team  information  in the Supplementary Files "[hwtl_sdu_anns_streaming and hwtl_sdu_anns_filter.pdf]".  Please use the Paper ID and Paper Title  to find our register information, thank you!

@WPJiang  I see only one config when I run. Is this as expected
hwtl_sdu_anns_stream,"HWTL_SDU_ANNS_stream(('R65_L70', {'Ls': 100, 'T': 16}))",msturing-30M-clustered(final_runbook.yaml),10,,0.0,1.6761493682861328,4885612.0,0.0,0.0,streaming,0.967459999999998

@WPJiang  Can you share the source for this entry and whether it has modified DiskANN. Could you please also add to the discussion here #251

authors: KhylonWong WPJiang harsha-simhadri

repo: harsha-simhadri/big-ann-benchmarks


text:
Won't count down in Safari

Just wanted to see if you are aware that this plugin doesn't seem to work in Safari. It will inject the HTML string into the specified element but it then just says '00:00:00'.
Using the following code:
$('#timeCheck').countdowntimer({
    dateAndTime: "2018-05-08 19:55:01 UTC"
});

Tested this plugin on two different websites that I've created, one using jQuery v1.11.2 and the other using jQuery v3.1.1, both sites work perfectly as expected when viewed with Google Chrome [v66.0.3359.139] while neither work using Safari [v10.1.1 (12603.2.4)]. I've also tried playing around editing the format of the date and time but no luck.
I know that Safari is said to handle JS differently than Google Chrome but I don't know the specifics enough as to why Safari won't countdown the numbers as expected or what to do to fix it.
Would you please take a look and provide me with any suggestions as how I could get it working? I like this plugin and would rather not move to a different one but my sites need to support Safari unfortunately. Thanks in advance.

I am noticing this same issue, did you ever find a fix?

Hey @clveranis I noticed I had my dateAndTime formatted like yours, with dashes (2018-05-08). The documentation calls for slashes (2018/05/08), so I switched to that and it works just fine :)

Hi,
As suggested by @zforsman,
It doesn't seem to be an issue with the timer. For support please write me to harshenpandey@gmail.com.
Meanwhile You can also refer the documentation.

authors: clveranis harshen zforsman

repo: harshen/jQuery-countdownTimer


text:
KeyError

Hello, when I run your project I get
KeyError: 'raise_eyebrows'
error. What can the reason be?

The named directions dict in the Colab notebook is empty by default, you need to save your own edits first using the interactive UI cell at the bottom of the notebook.
Added a warning message in 0ea1051.

authors: harskish yagizcolak

repo: harskish/ganspace


text:
[Question] same circumstance of ping function issue.

I got a chance to rebuild harvester with latest version(1.1.2)
I meet the same issue to the early one on #3283
summary of issue again:

create the fist VM, but can't ping GW
it worked to ping function after the second VM creation.

the same at this time
[root@firstvm ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether ae:b4:eb:ee:c1:27 brd ff:ff:ff:ff:ff:ff
    inet 10.138.181.2/24 brd 10.138.181.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::acb4:ebff:feee:c127/64 scope link
       valid_lft forever preferred_lft forever
[root@firstvm ~]# ping 10.138.181.1
PING 10.138.181.1 (10.138.181.1) 56(84) bytes of data.
^C
--- 10.138.181.1 ping statistics ---
650 packets transmitted, 0 received, 100% packet loss, time 648999ms

[root@firstvm ~]# ping 10.138.181.1
PING 10.138.181.1 (10.138.181.1) 56(84) bytes of data.
64 bytes from 10.138.181.1: icmp_seq=9 ttl=64 time=0.704 ms
64 bytes from 10.138.181.1: icmp_seq=10 ttl=64 time=0.729 ms
64 bytes from 10.138.181.1: icmp_seq=11 ttl=64 time=0.652 ms
64 bytes from 10.138.181.1: icmp_seq=12 ttl=64 time=0.636 ms
64 bytes from 10.138.181.1: icmp_seq=13 ttl=64 time=0.732 ms
64 bytes from 10.138.181.1: icmp_seq=14 ttl=64 time=0.641 ms
64 bytes from 10.138.181.1: icmp_seq=15 ttl=64 time=0.710 ms
64 bytes from 10.138.181.1: icmp_seq=16 ttl=64 time=0.703 ms
64 bytes from 10.138.181.1: icmp_seq=17 ttl=64 time=0.687 ms
64 bytes from 10.138.181.1: icmp_seq=18 ttl=64 time=0.717 ms
64 bytes from 10.138.181.1: icmp_seq=19 ttl=64 time=0.672 ms
64 bytes from 10.138.181.1: icmp_seq=20 ttl=64 time=0.663 ms
64 bytes from 10.138.181.1: icmp_seq=21 ttl=64 time=0.632 ms
^C
--- 10.138.181.1 ping statistics ---
21 packets transmitted, 13 received, 38% packet loss, time 19999ms
rtt min/avg/max/mdev = 0.632/0.682/0.732/0.049 ms

@tjjh89017
as your request in comment
Could you help us to provide some info below to debug?
Thanks a lot

Create a support bundle and upload to us.
How to create your VM. You could give us the VirtualMachine CRD for vm1 & vm2
VM1 & VM2 are in the same host or not?
what's your harvester network config and vlan config. and we need the net-attach-def of your VM.
While VM1 cannot ping, could you help us to login to the harvester node of VM1, execute the following command and send us the result? (Please do those twice, for VM1 only, and VM1 & VM2 are existing and pingable)

bridge -c vlan show
ip link
ip addr
Thanks a lot

could you please help support explanation or command?

how to make support bundle
what's or how to get VirtualMachine CRD ? is it VM's yaml file
vm1 and other vm which they are on the same host.

at this time in harvester 1.1.2 installation,  I will upload these files as below while firstvm cann't ping.
bridge-vlan-show-while-firstvm-cannot-ping.output
ip-addr-while-firstmv-cannot-ping.output
ip-link-while-firstmv-cannot-ping.output

then, I will upload attachment after the second vm creation.
bridge-vlan-show-while-secondvm-creation.output
ip-addr-while-secondvm-creation.output
ip-link-while-secondvm-creation.output

Thanks a lot for help.
Regards,

Cc @yaocw2020 please take a look.

Please try to disable net.bridge.bridge-nf-call-iptables.
sysctl -w net.bridge.bridge-nf-call-iptables=0

Hi, here from https://github.com/harvester/harvester/issues/3924
@yaocw2020  That solves the issue -- specifically executing it on the harvester node which the VM is running on is what is needed. The setting on the VM makes no difference whether set or unset.
Reverting it back to enabled (1) on the harvester node, brings back the issue!
Let me know here or in the other ticket what more I can do to help with this.
On VM
#net.bridge.bridge-nf-call-iptables=0 on harvester host
root@rancher:/home/dopey# curl 10.21.10.3
Found.

#net.bridge.bridge-nf-call-iptables=1 on harvester host (Curl hangs)
root@rancher:/home/dopey# curl 10.21.10.3
^C
#net.bridge.bridge-nf-call-iptables=0 on harvester host (works immediately again)
root@rancher:/home/dopey# curl 10.21.10.3
Found.

root@rancher:/home/dopey#

any idea on what's causing the real issue?
In our case, we observed that by setting net.bridge.bridge-nf-call-iptables=1, TCP fragments coming from veth interfaces were reconstructed in mgmt-br, and the ping with size 5000 bytes was failing.

I still experience this.
Fresh v1.2.0 cluster
Rancher(Addon)
RKE2 cluster provisioned
Nodes will hang claiming issues towards rancher.
Work around is setting the iptables above.
There is a single NIC, with single cluster network defined. There is multiple tagged vlans coming into the nic, and tagged vlan VM networks created. I can provide logs or support if helpful

Fresh v1.2.0 cluster, 3 dual nic nodes 802.3ad, VLANS
Rancher(Addon)
Manually create bast node in Harvester
Can't reach Rancher from bast node
Lookup IP of Rancher and see that it uses the Harvester VIP
Can ping the VIP and the host nodes, can't reach them on HTTPS
Reinstall without 802.3ad, put mgmt on first nic with a vlan, setup VM network for second nic with other vlan
Works

If anyone here still has the appetite to help collect iptables logs to see why the packets are being filtered, I left some instructions on how to do so here: https://github.com/harvester/harvester/issues/3960#issuecomment-1834160541

cc @mingshuoqiu

@bingo4933 per the description of the bug report, could you help attach the output of the following command executed on the management node? I expect to see the vlan and route settings on mgmt-br and the veth interface.
bridge -d vlan show
ip route show

repo: harvester/harvester


text:
WIP: SupportBundle: add extra collectors

related issues: #3064
blocked by: https://github.com/rancher/support-bundle-kit/pull/47
After support-bundle-kit PR reviewed, this change need to bump the newer support-bundle-kit.
Also, I thought maybe we need UI to implement that what extra collectors for the support bundle? cc @bk201 @guangbochen

After some discussion, I though we do not need UI change for it.
harvester should only support the specific harvester module to SB kit.
If the LH need something specific resource to collect, we could just add it directly.
What do you think?  cc @bk201 @guangbochen

I guess it's a sane choice.

Tested with SB-kit PR. I thought this PR would be ready to review.


text:
add terraform test cases about volume and keypair

Changes

UPDATE terraform_install.sh to fix download latest version bug
UPDATE .gitignore to exclude all folders in terraform_test_artifacts/
NEW configure option terraform-provider-harvester to configure version of Harvester Terraform Provider
NEW binary tool json2hcl to convert json format into hcl (terraform) format
NEW fixture fixtures/terraform.py for terraform related test cases
NEW Test cases

test_create_ssh_key for legacy test_create_keypairs_using_terraform
test_delete_ssh_key
test_create_volume for legacy test_create_volume_using_terraform
test_delete_volume

Tested on harvester-runtests#407
The filename test_z is necessary, we would need to let terraform related test cases be executed in the last.

repo: harvester/tests


text:
Add Age of accidents victims to filter

Add Age of accidents victims to filter and UI

Requested by Ministry of education

I started working on it. There are some points to discuss.

Just to clarify, when you filter by a certain age group you will get all accidents in which at least one of the involved matches one of the desired age groups. Other involved people might be of different ages.

Our current age groups are in 4 years resolution. I think these are too many buttons to display in the UI, so my thinking was that we have fewer buttons which cover multiple groups, for example: ילדים, נוער, מבוגרים, קשישים. Now sure how many buttons we should have, though.

How about a slider for minimum age and maximum age of all involved?
On Fri, Sep 8, 2017 at 4:20 PM Roey Darwish Dror notifications@github.com
wrote:

I started working on it. There are some points to discuss.

Just to clarify, when you filter by a certain age group you will get
all accidents in which at least one of the involved matches one of
the desired age groups. Other involved people might be of different ages.
2.
Our current age groups are in 4 years resolution. I think these are
too many buttons to display in the UI, so my thinking was that we have
fewer buttons which cover multiple groups, for example: ילדים, נוער,
מבוגרים, קשישים. Now sure how many buttons we should have, though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hasadna/anyway/issues/717#issuecomment-328101334, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAQEw8VLHHWOBVnN7l8KZCK4N8PJF0Jiks5sgT8agaJpZM4PPqD0
.

No, that's silly, because you won't be able to search for accidents
involving children. So maybe a slider for minimum/maximum age of at least
one involved.
On Fri, Sep 8, 2017 at 4:33 PM Daniel Hershcovich <
daniel.hershcovich@gmail.com> wrote:

How about a slider for minimum age and maximum age of all involved?
On Fri, Sep 8, 2017 at 4:20 PM Roey Darwish Dror notifications@github.com
wrote:

I started working on it. There are some points to discuss.

Just to clarify, when you filter by a certain age group you will get
all accidents in which at least one of the involved matches one of
the desired age groups. Other involved people might be of different ages.
2.
Our current age groups are in 4 years resolution. I think these are
too many buttons to display in the UI, so my thinking was that we have
fewer buttons which cover multiple groups, for example: ילדים, נוער,
מבוגרים, קשישים. Now sure how many buttons we should have, though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hasadna/anyway/issues/717#issuecomment-328101334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQEw8VLHHWOBVnN7l8KZCK4N8PJF0Jiks5sgT8agaJpZM4PPqD0
.

Understood and agreed at least one in the selected age is good
A slider might be confusing since if I choose 0-8, I cannot have the exact filter since we get 0-7, 8-14 from Lamas. Unless we find a slider with specific stops. so I suggest a widget with multiple selection of. Checkboxes  correlated  with available groups from Lamas. That will pop up in a similar way to the calendar. Whatever is easier.

We have 18 age groups. Are we sure we don't want to unify some of them?

The ministry of education were interested in the detailed resolution of age groups for children, they even wanted to add one 14-18 that does not exist today. So we can do something like 0-7, 7-14, 14-24, adults, and then 60-70, 70-80, 80+ if we want less groups, or if you find a slider that you can stop in the specific age group values that will also be nice, then you can have 18 stops 0,7,14,24 etc.
What do you think?

I'm not sure I'm a fan of a slider, but I'm good with your division. This is our current age groups:

00-04
05-09
10-14
15-19
20-24
25-29
30-34
35-39
40-44
45-49
50-54
55-59
60-64
65-69
70-74
75-79
80-84
85+

So it'll have to be 0-9, 10-14, 15-24, 25-59, 60-69, 70-79, 80+

Can we try to see what others/similar projects do? My instincts tells me slider would be more intuitive (like tinder ;) ). But I might be wrong
ב-8 בספט׳ 2017, בשעה 18:31, Roey Darwish Dror notifications@github.com כתב/ה:

I'm not sure I'm a fan of a slider, but I'm good with your division. This is our current age groups:
00-04
05-09
10-14
15-19
20-24
25-29
30-34
35-39
40-44
45-49
50-54
55-59
60-64
65-69
70-74
75-79
80-84
85+
So it'll have to be 0-9, 10-14, 15-24, 25-59, 60-69, 70-79, 80+
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Slider is very common, but I agree with Roey that tuning them is less convenient, it's hard to select your accurate range, you can try here (http://www.travelist.co.il)  for example after you choose a destination to set you prefered hour range, so you can feel what I mean.
Ebay for example don't use slides, they give you a few options, and then they have a see all button, where you can choose from the full list (see image below).
@galraij What do you think?
One more issue @r-darwish is to check if this ranges were not changed over the years, if there were changes in the ranges then we might be required to display a dynamic set to ranges, by the most coarse range.
If we go for checkboxes, then I would suggest this set:

00-04
05-09
10-14
15-19
20-24
adults
70-74
75-79
80-84
85+

Looks like @galraij is busy?
So, since it will be very nice to get back with age filter, when we go to meet them again.
So you can choose between the ebay (old style), and Alice (new style, see below) with a large popup slider that you can tune easily, assuming the slider can display discrete values (0,4,7... ).
Then when we will have a UX contributor we can create a new issue for UX fine tuning.

I think I prefer ebay

Lets go fo it :-)

Sorry that I didn't get to that. Hopefully I will get to that during this weekend.

authors: danielhers galraij r-darwish simonaho

repo: hasadna/anyway