overFullScreen Glitch?

Hi, thanks for the library it's really helping me create my animations, i cant imagine how long it would have taken to write everything myself.
I've ran into an issue though when using overFullScreen to present a view controller modally.
My setup is that I have a tableview in viewController A

that when a user presses I want to show viewController B (a detailed view of the pressed cell) on top of viewController A.
This all works (animation/transparency etc) my problem is that the original fromViews in viewController A that were animated from are still visible (in their new position after animation) . i.e. if I scroll up/down in viewController B I can see the images (snapshots I believe?) of the fromViews in the place they animated to.

In the image above I've pulled the scroll view in viewController B down and you can see the image from viewController A that was animated from.
Is there any way for me to remove these and have hero recreate them when returning to viewController A (if they are needed?)
Because I thought that the underlying views were snapshots I tried setting the modifier .useNoSnapshot on the views that were animating but ended up with a complete mess

Note: (In case you're wondering the text in the images is not german or any language, it's just placeholder text)

Right, for you first approach, i purposely did not remove the snapshots from the original view controller because it would make animated views disappears. Your use case is something I haven't thought about. A hacky way to achieve what you want might be calling Hero.shared.context.removeSnapshots(rootView: ) with your first view controller's image view at the end of the transition.
Your second approach didn't work because any layout code in your first view controller will end up controlling the view which will mess it up.

Hero.shared.context.removeSnapshots(rootView: ) (and other functions like it) was moved to internal but here's another hacky way:
//
let viewControllerA = UIViewController()
viewControllerB.present(vc, animated: true) {
	Hero.shared.context.container.isHidden = true
}

Hero.shared.context.container is the view containing all the snapshots so feel free to remove the view in any way you'd like.

Hi, thanks for the library it's really helping me create my animations, i cant imagine how long it would have taken to write everything myself.
I've ran into an issue though when using overFullScreen to present a view controller modally.
My setup is that I have a tableview in viewController A

that when a user presses I want to show viewController B (a detailed view of the pressed cell) on top of viewController A.
This all works (animation/transparency etc) my problem is that the original fromViews in viewController A that were animated from are still visible (in their new position after animation) . i.e. if I scroll up/down in viewController B I can see the images (snapshots I believe?) of the fromViews in the place they animated to.

In the image above I've pulled the scroll view in viewController B down and you can see the image from viewController A that was animated from.
Is there any way for me to remove these and have hero recreate them when returning to viewController A (if they are needed?)
Because I thought that the underlying views were snapshots I tried setting the modifier .useNoSnapshot on the views that were animating but ended up with a complete mess

Note: (In case you're wondering the text in the images is not german or any language, it's just placeholder text)


After opening a file, the Open button remains disabled until you click the user interface.

This is likely related to how the ICommand.CanExecute is now managed.


format-patch: if patchdir is a symlink, keep it intact

If the patch dir is a symlink, overwrite the folder to which it points instead of removing the symlink.
For further explanation: I have several git worktrees that I use to keep different projects checked out at the same time. In there, I usually keep a folder named bsp-patches pointing to the BSP patch directory to save my from typing the whole path all over again (which especially in Yocto projects can still take a lot of tab key presses). So I'd only like to do umpf tag -fp bsp-patches/.

It's a bit too magical to me.
And the workflow looks strange:

I almost never use -f but use -u instead. Does that not work for you?
Worktrees can have their own git configuration (see https://git-scm.com/docs/git-worktree#_configuration_file), so you can set umpf.patch-dir there.

Thanks, -u does what I want!


Multires.ts visible calculator

this is awesome project but visible calculator is too complex.
I suggestion calculator visible by Frustum
https://stackoverflow.com/questions/10858599/how-to-determine-if-plane-is-in-three-js-camera-frustum

Thanks. I will take a look at that.


Caffe2 compile issue - nvcc fatal   : Path to libdevice library not specified

I am building Caffe2 on Ubuntu 14.04 and it fails with the following error. So far I tried setting the path for the $NVVMIR_LIBRARY_DIR and by editing the  nvcc.profile file.

[ 14%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o
Linking CXX static library libgloo.a
[ 14%] Built target gloo
[ 14%] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/nccl/gloo_cuda_generated_nccl.cu.o
nvcc fatal   : Path to libdevice library not specified
CMake Error at gloo_cuda_generated_nccl.cu.o.cmake:260 (message):
Error generating file
/usr/local/src/caffe2/caffe2/third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/nccl/./gloo_cuda_generated_nccl.cu.o
make[2]: *** [third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/nccl/gloo_cuda_generated_nccl.cu.o] Error 1
make[1]: *** [third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/all] Error 2
make: *** [all] Error 2

Cuda version details
root@01:/usr/local/src/caffe2/caffe2# which nvcc
/usr/local/bin/nvcc
root@01:/usr/local/src/caffe2/caffe2# ls -l /usr/local/bin/nvcc
lrwxrwxrwx 1 root root 28 Mar  7 18:05 /usr/local/bin/nvcc -> /usr/local/cuda-8.0/bin/nvcc
root@01:/usr/local/src/caffe2/caffe2#
root@01:/usr/local/src/caffe2/caffe2# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

Related issues seem to suggest this is a cuda installation issue:
https://devtalk.nvidia.com/default/topic/804501/libdevice-library-not-found-by-nvcc/
https://github.com/cudamat/cudamat/issues/40

Removed the standalone version and reinstalled though apt-get and got it worked..
Thanks


I am not able to use authorization key to access private spreadsheet

 await gsjson({
            spreadsheetId: spreadsheetId,
            allWorksheets: true,
            token: 'Bearer ya29.---------------------------------7yg',
            tokentype: 'Bearer'
        });```

This is throwing this error:
{
    "message": "Invalid authorization key.",
    "error_code": "",
    "data": {}
}

Can someone help me understand why this is failing. I generated a new token using Postman Auth2.0.

Have you tried informing the token without the "Bearer " prefix?


ListView, Scroll, Stack

please support ListView, Scroll, Stack widgets

ListView is supported in v0.6.0


dialogPolyfill.registerDialog and browsers with native dialog support

Shouldn't dialogPolyfill.registerDialog(element) transparently leave it to the browser when native <dialog> is supported?
It currently warns the user that the browser already offers support and that the polyfill may not work correctly, but still actually performing the polyfill bindings... ? (see https://github.com/GoogleChrome/dialog-polyfill/blob/master/dialog-polyfill.js#L153 )

It seems right to me to add return; after https://github.com/GoogleChrome/dialog-polyfill/blob/master/dialog-polyfill.js#L184. @samthor, should I PR this?

This has been open for a while. Any Progress?

The line number has since moved - what do you want to add again?
On 3 August 2015 at 21:46, Jeffery Utter<EMAIL_ADDRESS>wrote:

This has been open for a while. Any Progress?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/dialog-polyfill/issues/21#issuecomment-127477351
.

How about return; after https://github.com/GoogleChrome/dialog-polyfill/blob/master/dialog-polyfill.js#L283 ?


Review request for the capstone project

Hello reviewer.
#Below are the milestones achieved in this project.

Chose the topic for my website.
Create the 2 pages for mobile.
Deploy the project.
Adapt the 2 pages to desktop.
Implement the user interactions: link, mobile menu.
Deploy the project.
Implement the section "Featured speakers" with dynamic HTML.
Deploy the project and check to make sure everything works as planned.
Record a video describing my project.
Create a good README and pull request description.

@jerryowusu thank you


Add elm-autocomplete to native whitelist

See #198 (chatted w/ @evancz about this)

Okay, you should be able to publish now!


⚠ Spryr has degraded performance

In 78b6048, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4091 ms

Resolved: Spryr performance has improved in 45e4e44 after 7 minutes.


Create github actions based pipeline

Let me know if you need anything from me on this in the repo and org settings you don't have access to


Clash for unknown reasons

Here's log
latest.log

Optifine is not compatible with The Aether Reborn and you should downgrade Fabric API as the version you are using has problems with Cardinal components.


Sending completion user feedback

can we add like a "did you like this completion" prompt and log that too?

I think this is a great idea, we can likely defer this to the next model launch?

Agree! I will add this as a ticket to the new project plan: https://github.com/EleutherAI/text-generation-testing-ui/projects/1


Enabled port and protocol switching during requests

TERMINUS_PORT and TERMINUS_PROTOCOL are now functional environment variables.

:+1: I was just looking for this feature.


tests for updateServiceTags

Codecov Report
Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (0d0324d) 51.24% compared to head (6342b05) 54.58%.
Report is 2 commits behind head on main.

Files
Patch %
Lines

pkg/tagit/tagit.go
0.00%
14 Missing :warning:

cmd/run.go
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   51.24%   54.58%   +3.34%
==========================================
  Files           4        4
  Lines         201      207       +6
==========================================
+ Hits          103      113      +10
+ Misses         97       92       -5
- Partials        1        2       +1

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


Claim your name on PyPI

It looks like you have plans to support package manager installation which is great!
You should probably claim the name "archivebox" on PyPI immediately, even if that isn't yet done, otherwise someone may swoop in and register it between now and whenever you do support installation that way.

Already have a while ago :wink:


ovn-tester: Add port security to pod LSPs.

Signed-off-by: Dumitru Ceara<EMAIL_ADDRESS>

Acked-by: Lorenzo Bianconi<EMAIL_ADDRESS>


Merge cardano-sl-1.0

Okay, thanks. I thought this branch already had the workaround 😒

Apparently even that workaround doesn't help in 100% case, so you still may need to restart macos build :/

I thought this branch already had the workaround
There were many workarounds, last one was merged today :)


Not receiving session variable when using live_render

Describe the bug
I am trying to render a sidebar menu directly in my live.html.heex file, the menu is a Surface.Liveview
I am rendering it inline as follows:
 <%= live_render(@socket, UnipixWeb.SidebarLive, session: %{
          "current_user" => "user"
        }, id: "sidebar-menu-mobile") %>

I am then trying to pickup the current_user in the session in the mount of the Surface.Liveview, but it doesn’t seem to be adding anything I declare to the session, it just contains the following.
%{
  "_csrf_token" => "0hM4xxxx",
  "live_socket_id" => "users_sessions:vM-6Cuxxxxx",
  "session_id" => "9a54615e-xxxx",
  "user_token" => <<188, 207, xxxx>>
}

Here is the entirety of the Surface.LiveView currently, the above is the output from IO.Inspect(session)
defmodule UnipixWeb.SidebarLive do
  use UnipixWeb, :live_view_surface

  def mount(_params, session, socket) do
    IO.inspect(session)
    {:ok, socket}
  end
end

What am I missing here? Is this some quirk due to trying to render the Surface.Liveview from within the live.html.heex Phoenix.Liveview maybe?
How to reproduce it
As per above
The behavior you expected
To receive the added session variables in the mount call session.


Inconsistent crafting on Belt with normal Chute at higher speed

Describe the Bug
When placing a stack of items on a belt with a normal Chute and a belt speed higher than 80rpm items passing under deployers or mechanical presses are sometimes ignored and pass on without beeing processed. This does not happen with smart chutes or funnels.
Reproduction Steps

Build a production line with a belt speed higher than 80 rpm
Deploy the items on the belt with a normal chute
Some items will pass under presses or deployers without being processed

Expected Result
All items should be processed. (Works in the forge version)
Screenshots and Videos
https://user-images.githubusercontent.com/91908724/185792877-d6ce0165-84d8-45b8-921a-6086165a86a3.mp4
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.0c
Minecraft Version
1.18.2
Other Mods
fabric-api-0.58.0+1.18.2.jar
Additional Context
No response

just tested it with the dev build and i still have the problem

Can’t reproduce, please test patch G.

I'm having a similar issue with this setup. I think it's the same cause but easier to see since it's going slower. What happens is the deployer goes down, but the item moves past it just before it hits. (Perfectly caught in this screenshot). I just give the deployers materials for the precision mechanism, and then put 2 gold sheets in the leftmost hopper. After a cycle or so, the bug appears

The bottom belt is going -8 rpm (rightwards), top belt is going 8 rpm (leftwards), deployers also 8 rpm
Using patch g

can't reproduce, I think this was fixed at some point


cfg issue

I am running tut8  (btw, thanks for adding a grid-search functionality!)
However, I get this error:
cfg = specs.simConfig()
TypeError: 'module' object is not callable

What is going wrong?
Thanks!

@karnigili The real devs can give a better answer :) But the short answer is that you need one more layer in the import:
>>> import netpyne
>>> cfg = netpyne.specs.simConfig.SimConfig()
>>> cfg
<netpyne.specs.simConfig.SimConfig object at 0x7f52d47b8b50>

hi Gili ... you were only missing the capital 'S', since SimConfig is a class:
from netpyne import sim, specs cfg = specs.SimConfig()

@salvadord thank you!


Portfolio mobile menu

In this PR we have the following:

Menu display by clicking on the hamburger icon
added .gitgnore file to ignore node_modules
js linter check file for js errors checking
package.json file setup

@Zuhaib042
Please ! All checks have passed for errors

Lighthouse (pull_request
Linters / Webhint (pull_request)
Linters / Stylelint (pull_request)
Linters / node_modules checker (pull_request)


Tqdm for Jupyter Notebook

Each iteration of TQDM starts a new line in Jupyter Notebook -- is there any way to integrate one of the suggested fixes into torchbearer?
(ref: https://github.com/tqdm/tqdm/issues/375, https://stackoverflow.com/a/47200571)

Restarting the notebook fixed the problem... Will close the issue, sorry about the clutter.

Restarting the notebook temporarily fixed the problem, but it looks like 1 extra newline is added for every fit_generator call.
On the 1st fit_generator call, it works fine.
On the 2nd fit_generator call:
0/1000(t):   0%|          | 0/1000 [00:00<?, ?it/s]
0/1000(t):   0%|          | 1/1000 [00:00<07:57,  2.09it/s]
0/1000(t):   0%|          | 1/1000 [00:00<07:57,  2.09it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 2/1000 [00:00<07:24,  2.24it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 2/1000 [00:00<07:24,  2.24it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 3/1000 [00:01<07:48,  2.13it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 3/1000 [00:01<07:48,  2.13it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 4/1000 [00:01<07:17,  2.28it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 4/1000 [00:01<07:17,  2.28it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 5/1000 [00:02<06:48,  2.44it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   0%|          | 5/1000 [00:02<06:48,  2.44it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 6/1000 [00:02<06:36,  2.51it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 6/1000 [00:02<06:36,  2.51it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 7/1000 [00:02<06:17,  2.63it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 7/1000 [00:02<06:17,  2.63it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 8/1000 [00:03<05:59,  2.76it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 8/1000 [00:03<05:59,  2.76it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 9/1000 [00:03<05:58,  2.76it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 9/1000 [00:03<05:58,  2.76it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 10/1000 [00:03<05:32,  2.98it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 10/1000 [00:03<05:32,  2.98it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 11/1000 [00:04<05:37,  2.93it/s, running_loss=7.09, running_acc=0.632]
0/1000(t):   1%|          | 11/1000 [00:04<05:37,  2.93it/s, running_loss=5.01, running_acc=0.113]
0/1000(t):   1%|          | 12/1000 [00:04<05:34,  2.96it/s, running_loss=5.01, running_acc=0.113]
...

On the third:

0/1000(t):   0%|          | 0/1000 [00:00<?, ?it/s]

0/1000(t):   0%|          | 1/1000 [00:00<07:21,  2.26it/s]

0/1000(t):   0%|          | 1/1000 [00:00<07:21,  2.26it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 2/1000 [00:00<06:59,  2.38it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 2/1000 [00:00<06:59,  2.38it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 3/1000 [00:01<07:29,  2.22it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 3/1000 [00:01<07:29,  2.22it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 4/1000 [00:01<07:03,  2.35it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 4/1000 [00:01<07:03,  2.35it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 5/1000 [00:02<06:40,  2.49it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   0%|          | 5/1000 [00:02<06:40,  2.49it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 6/1000 [00:02<06:32,  2.54it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 6/1000 [00:02<06:32,  2.54it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 7/1000 [00:02<06:11,  2.67it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 7/1000 [00:02<06:11,  2.67it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 8/1000 [00:03<05:55,  2.79it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 8/1000 [00:03<05:55,  2.79it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 9/1000 [00:03<05:54,  2.80it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 9/1000 [00:03<05:54,  2.80it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 10/1000 [00:03<05:28,  3.02it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 10/1000 [00:03<05:28,  3.02it/s, running_loss=3.67, running_acc=0.085]

0/1000(t):   1%|          | 11/1000 [00:04<05:34,  2.96it/s, running_loss=3.67, running_acc=0.085]

And so on. Is there some callback that's supposed to be removed on KeyboardInterrupt? Happy to put in a PR to fix this behavior, but does anyone know why it's occurring?

I'm not sure why this behaviour is happening myself, any ideas @ethanwharris?
The tqdm_notebook fix looks simple enough to implement, I'll look into it on Monday and hopefully it will fix this.

Seems like the issue is just tqdm not handling notebooks very well. Best idea is to have a tqdm_notebook callback which uses the notebook variant. Or perhaps, allow the tqdm callback to be given the tqdm module to use, assuming the commands are the same. I prefer the second option if possible. Thoughts?

Yeah, I agree the second option is better. Not sure how we decide to integrate it with the verbose flag though, unless we change verbose to "printer_type" or something. Could still keep the integer flags as in verbose but also allow strings.
Alternatively we allow a printer callback to be passed and just default it to Tqdm. So then arguments such as notebook could be given when the callback is initialised.

This should now be fixed in master, the callback list was persisting through the fit calls (which wasn't the original intention) leading to multiple Tqdm callbacks running simultaneously, thus the new lines.
@kl2792 Tqdm now works properly for multiple fit calls in my local jupyter, could you verify if this works for you too? Thanks!

Works for me, thanks so much!


Update ice-bar package version

Updated ice-bar package version with hash to (currently) latest version.
Things done

Built on platform(s)

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

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

[x] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Thank you for the update. Please make sure your commit message follows CONTRIBUTING.md. Your PR must also target the master branch.

done - thanks for the heads up!

Fix conflicts

Done in #352384.


Right-click to open person in new tab/window gets 404 error

This was send to me by one of our users, and I've confirmed it. I've also seen other reload page while on the person pages show the same problem.

Expand a scheduled item to display its description.
Right click on a participant's name
Select Open in a new tab (or open in a new browser window)
You get a 404 error

I expect it to do exactly what it does when you left-click -- open a listing for that program participant with a bio and a listing of all of the participant's program items -- just in a new tab or window.

This sounds like an issue with the webserver configuration.  If the 404 is the app's internal error page (which doesn't say 404 explicitly), then it may just be an issue in the app configuration, like an omitted package.json edit.

https://schedule.readercon.org/people/6566d46e-93df-4407-8c67-f97e49d3d57b
I'm not clear from your documentation what I need to change to make this link show up properly.
We're using Apache as the server, so specific directions would be helpful.

The Apache instructions are in the README.  If you've followed those instructions and are sure mod_rewrite is working, you can try some config tweaks: adding absolute paths for the schedule and people, and making sure the fetch origins are correct.  Both values are near the top of src/config.json.

Yes, the Apache mod rewrite instructions fixed the issue. Sorry about the problems. Skipped the part where copy didn't copy the hidden files.
Thank you .


OCPBUGS-27226: fix: add missing permissions to cluster scoped resources

fixes various missing update/patches that are required to patch cluster scoped resources in the future

/override ci/prow/snyk-deps

/cherry-pick release-4.15

/lgtm

/cherry-pick release-4.15


Create a WebSocket client and server implementation

Basic WebsocketConnection abstraction https://github.com/vkottler/runtimepy/pull/14


Property prediction

This codebase works well for me and I'm able to replicate the current results. Having worked a good bit with other latent spaces, I'm curious to find out what other operations the latent space of this model might support.  Specifically, I suspect that the latent space could also support analogies and attribute vectors, but unfortunately I'm not familiar with chemistry datasets and smile strings.
Would anyone be interested in helping me build a labelled dataset of molecules that includes binary attributes and then investigating the results of applying attribute vectors? An example structure of the dataset would be:

smile string
Polar
Toxic
Flammable
Positive Oxidation State

CN1CCC[C@H]1c2cccnc2
True
False
False
True

O=C1Oc2ccccc2c3ccccc13
False
True
True
False

...

Generally, these datasets can be useful even if they are much smaller than the training dataset - say dozens to hundreds of rows. Ideally, the chosen attributes would be those that could serve as unambiguous labels and operators. For example, pretend the following is true:
Carbon dioxide is a polar molecule.
The equivalent to carbon dioxide without polarity is carbon monoxide.

Then this would be a great attribute because it follows the formula:
Molecule X has (doesn't have) attribute Y
The equivalent of Molecule X with (without) attribute Y is Z

I don't know enough chemistry to know if there are even such attributes for subsets of molecules. But if there are, then a small dataset of molecules with and without attribute Y would be sufficient to see if Z could be inferred from this model given X.

According to original paper, properties are labelled by calculation of LogP from RDKit. I somewhat know how to use it, so if it helps you?

And to further re-implementation of original models included in original paper.
I think this repo will be also useful
https://github.com/fmfn/BayesianOptimization

With a tip from @rpadams I was able to locate a solubility dateset (J.S. Delaney ESOL: Estimating aqueous solubility directly from molecular structure. J. Chem. Inform. and Comp. Sci., 44(3):1000–1005, 2004.) made available by @duvenaud in the neural-fingerprint repo. With light modifications to this codebase (pull #25) I was able to encode this dataset into the latent space of the provided model_500k.h5, and then used my plat library I was able to encode a "solubility vector".
I've attached this 'solubility vector' in json form if anyone wants to experiment with it. The idea is that:

any smiles molecule could be encoded using the model_500k.h5 into latent space
The 'solubility vector' could be applied to move in latent space toward more solubility. Note that it can be applied with a scalar, include a negative scalar to make it less soluble. Generally the useful range of the scalar would be [-1, 2]
This vector could be decoded back into a molecule and interpreted

(3) is the difficult part for me - so I'm not sure if this will work or not. But I did do some testing on hold-out data from the delaney dataset that hinted it might be working. Also - this is based on a pretty small dataset and it might contain other bias in the labelings.
solubility_vector.json.zip

cc @dakoner re: our recent emails on zinc properties

I've overhauled the dataset downloading scripts to start getting into this problem.  To get it, you can now do:
python download_dataset.py --dataset zinc21
This also works with --dataset chembl21 but that doesn't come with any properties, just SMILES.
You'll need to re-run the preprocessing script with a --property_column:
python preprocess.py
    --smiles_column SMILES
    --property_column LogP
    data/zinc12.h5 data/processed.h5

That will produce a 7.7G data file with the property data in property_train and property_test fields corresponding to the entries in data_train and data_test.

I think you mean --dataset zinc12 ?(A typo)

Yes, edited my comment to match.

Another thing I think need to be mention is that ZINC database is shipped with xlogP.
I don't know it is equivalent to logP calculated from RDKit MolLogP

The column is named LogP... it's not clear if it's measured or calculated, but I would have expected it to be cLogP if it was calculated. I know a big point of ZINC is to include orderable compounds which also makes me think there's a good chance they're measured. On the other hand, that's a ton of compounds to have measured data for...

The full list of columns in the ZINC12 file is:
- Charge
- Desolv_apolar
- Desolv_polar
- HBA
- HBD
- LogP
- MWT
- NRB
- SMILES
- ZINC_ID
- tPSA

As far as I know from here. It's derived from calculation.

I suggest loading all the properties en masse into the training/test data.
One of the suggestions we got from Geoff Hinton and George Dahl was that
forcing the learning to predict more things simultaneously would make a
better model (less overfitting?)
On Sat, Nov 12, 2016 at 3:54 AM, hsiao yi<EMAIL_ADDRESS>wrote:

As far as I know from here http://wiki.bkslab.org/index.php/ZINC_subsets.
It's derived from calculation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/maxhodak/keras-molecules/issues/11#issuecomment-260117889,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHtyQE0cZxDeyGRwiw2XXUWusDqBBEOGks5q9akKgaJpZM4Km2IP
.

I agree the suggestions in your comment, but the original work we want to reimplement here is just to find a continuous representation of chemical derived from current string representation. And back to original scenario, namely, drug design, we usually can't know all properties of the drugs, so maybe you suggested here is somewhat unreasonable? The original work done in the paper is simply train a autoencoder NN and  another GP model. As far as I know, GP models don't have such multiple output characteristic as NN.

I think one of the decisions to be made is what the ambition of this repo is: are we just reproducing the one paper? Do we want to expand upon it to some other functional aim?
Personally I'm for going further as there are lots of interesting ideas to explore here and not many venues like this where you can just check out the code and easily get something running. I also like the little proto-community we have here and I don't know how well it would work to move everyone to a different repo.

I agree what you point out, and I think go further is better, but I think before this, the repetition of original model is needed. Currently, I think the GP part of original paper is what you didn't achieve.


nil->val replaces falsey things, not just nil

(use 'com.rpl.specter)
(use 'com.rpl.specter.macros)

(select [:bool (nil->val true)] {})
;; => [true]
(select [:bool (nil->val true)] {:bool false})
;; => [true]

Since 99.9% of the uses of this navigator are to provide default values for missing map keys, this bug is probably very low priority.  But it's an easy fix, so maybe you can save it for a frustrating moment when you need a small thrill of accomplishment.

Thanks for the report, it's now fixed in master.


Publish docker image to dockerhub when creating a new release

After creating a new release drone should trigger pushing the docker image to Dockerhub.

fixed in 7f324a2277a1520facfc9de80989980bdc754032


Respond.js incorrectly parsing compressed CSS

I have found some issues (missing styles in IE) while building a site in Drupal 6 that uses its core CSS compression in combination with Respond.
Specifically, the characters {} in the regular expression it uses for compression:
# drupal/includes/common.inc:2030
$contents = preg_replace(
  '<\s*([@{}:;,]|\)\s|\s\()\s*>S',           // Remove whitespace around separators,
  '\1', $contents);                          // but keep space around parentheses.

Removing the curly brackets from the original regular expression fixes the parsing issue. Conversely, parsing fails if I adjust the regular expression to strip whitespace only around curly brackets <\s*([{}]|\)\s|\s\()\s*>S.
Is it possible that a closing bracket next to a media query }@media could cause problems?

Looks like this is a duplicate of https://github.com/scottjehl/Respond/issues/78


Move the tests out to their own tasks

https://github.com/microsoft/azuredatastudio/issues/11168

Coverage remained the same at 36.004% when pulling 652a13eafcf1b70c3ab28e15253d381e90c17012 on amir/separateTests into fd29e351990ab1306f674d1fcc9a6820cbbfcc36 on main.

Which one? We have so man now :D @Charles-Gagnon

But only one with the honor to have the actual name ci.yml 😉
https://github.com/microsoft/azuredatastudio/blob/main/.github/workflows/ci.yml

Oh, since that's not ADO i'll handle that later.


Add scad to STL conversion to scripts

@funkonaut noted a couple of available command line tools in the PDF example walkthrough.
In particular
openscad -o ./braille-font-test.stl ./doc/examples/pdf/resources/braille-font-test.scad
Decide if and how to incorporate this into a new or existing script, presumably something like bitmap-to-stl.sh

If you have installed from a .dmg you can right click the application icon to show package contents the executable you should add to your path for openscad command line tools should be in the folder {path to openscad app}/Contents/MacOS/OpenSCAD if you installed using brew you will have to look for it in where ever your brew package manager install executables.

Done in b3a23a74de4de1f86f8364d9ced497701b8b7e35
I added a bash script for OS X and Linux. Windows users just need to add -stl to the arguments to bitmap_to_scad.py


add a small delay after creating a ZVOL

On Gentoo the ZVOL is busy and can not be destroyed right after
creation.  Adding even a 0.1 second delay helps.
It is not clear why the volume is busy.

@ryao any thoughts on what could be causing the problem?
I didn't see it on centos or illumos.


Simplify _createFromPandasWithArrow().

Simplify _createFromPandasWithArrow() if we won't reach schema check block. (https://github.com/apache/spark/pull/19459/files#r145603645).

merged, thanks!


Added resetScrollPosition option

This option allows you to disable the scroll position reset. Very helpful is you have a lot of items in a multiple select-element.

Thanks! Would you mind updating the read me with a brief description of what this config option does please?

:+1:

👌🏻

😘


YAMLConfigFileParser: use yaml.safe_load

yaml.load can call arbitrary functions, which is incredibly dangerous.
Use yaml.safe_load instead.

Please issue a new release after this pull request is integrated.

That isn't strictly necessary, because the dangerous code hasn't made it into a release yet either, so anybody running this code is living probably a bit too far on the edge.  Also I have some other fixes I'd like to submit pulls for that I haven't gotten to yet that it'd be nice were in the next release too.

Thanks for the bug report and PR.


Add support for Qdrant VectorDB

Description
This pull request introduces a new feature that integrates Griptape with Qdrant VectorDB, enhancing the capabilities of Griptape for handling large-scale vector data.
Problem Statement
Managing and querying large-scale vector data efficiently has been a challenge. The current solutions lack seamless integration for ingesting, processing, and indexing vector embeddings, leading to inefficiencies in AI and machine learning workflows.
Solution
The integration between Griptape and Qdrant VectorDB provides a scalable and efficient solution for ingesting, processing, and indexing vector embeddings. Leveraging Griptape's powerful data pipeline capabilities and Qdrant's advanced vector search technology, this integration supports a wide range of AI and machine learning applications.
Key Features

Seamless Ingestion: Efficiently ingest large-scale vector data into the system.
Advanced Processing: Utilize Griptape's robust data processing pipelines to handle vector data.
Efficient Indexing: Index vector embeddings using Qdrant VectorDB for optimized query performance.
Scalability: Support for large-scale data applications ensuring performance and reliability.

Alternatives Considered

Using standalone solutions for data ingestion and vector search without integration.
Employing other vector databases that might not provide the same level of performance or integration capabilities.
Custom-built solutions for managing vector data, which require significant development effort.

Additional Context
This integration has been well tested with the following code, ensuring reliable performance and accuracy:
import os
import logging
from transformers import AutoTokenizer
from sentence_transformers import SentenceTransformer
from griptape.drivers import QdrantVectorStoreDriver, HuggingFaceHubEmbeddingDriver
from griptape.tokenizers import HuggingFaceTokenizer
from griptape.loaders import PdfLoader
from griptape.chunkers import TextChunker

# Configure logging
logging.basicConfig(level=logging.INFO)

# Setting the models
embedding_model = "sentence-transformers/all-MiniLM-L6-v2"
qdrant_model = SentenceTransformer("all-MiniLM-L6-v2")
file_name = "test_file.pdf"
HUGGINGFACE_TOKEN = os.environ["HUGGINGFACE_HUB_ACCESS_TOKEN"]

# Using HuggingFaceTokenizer
def create_tokenizer(embedding_model):
    tokenizer = HuggingFaceTokenizer(max_output_tokens=1024, tokenizer=AutoTokenizer.from_pretrained(embedding_model))
    return tokenizer

def create_embedding_driver(embedding_model, tokenizer):
    embedding_driver = HuggingFaceHubEmbeddingDriver(
        api_token=HUGGINGFACE_TOKEN, model=embedding_model, tokenizer=tokenizer
    )
    return embedding_driver

# Instantiating QdrantVectorStoreDriver
def create_vector_store_driver(url, collection_name, embedding_driver):
    vector_store_driver = QdrantVectorStoreDriver(
        url=url,
        collection_name=collection_name,
        content_payload_key="content",
        force_recreate=True,
        embedding_driver=embedding_driver,
    )
    return vector_store_driver

# Opening the file
def load_pdf(file_name, tokenizer):
    with open(file_name, "rb") as f:
        loader = PdfLoader(tokenizer=tokenizer, chunker=TextChunker(tokenizer=tokenizer, max_tokens=1024)).load(
            f.read()
        )
    return loader

def main():
    tokenizer = create_tokenizer(embedding_model)
    embedding_driver = create_embedding_driver(embedding_model, tokenizer)
    vector_store_driver = create_vector_store_driver(
        url="http://localhost:6333",
        collection_name="test_collection",
        embedding_driver=embedding_driver,
    )

    # Loading the data
    loader = load_pdf(file_name, tokenizer=tokenizer)

    # Generate metadata for each chunk (example metadata)
    metadata = [{"source": file_name, "page": i + 1} for i in range(len(loader))]

    try:
        for i, l in enumerate(loader):
            content = str(l)
            meta = metadata[i] if metadata else None
            vector_store_driver.upsert_vector(embedding_driver.try_embed_chunk(content), meta=meta, content=content)
        logging.info("Successfully upserted vectors with metadata.")
    except Exception as e:
        logging.error(f"Error during upsert_vector: {e}")

    query_string = "Who created linux?"

    query_results = vector_store_driver.query(query_string, count=6, include_vectors=True)
    # print(f"Query results: {query_results}")
    for result in query_results:
        print(f"ID: {result.id}, Score: {result.score}, Vector: {result.vector}, Metadata: {result.meta}")

if __name__ == "__main__":
    main()

Output

Script Output:

Token is valid (permission: write).
Your token has been saved in your configured git credential helpers (osxkeychain,store).
Your token has been saved to /Users/hkhajgiwale/.cache/huggingface/token
Login successful

tokenizer_config.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████| 350/350 [00:00<00:00, 2.20MB/s]
vocab.txt: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████| 232k/232k [00:00<00:00, 532kB/s]
tokenizer.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████| 466k/466k [00:00<00:00, 714kB/s]
special_tokens_map.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 112/112 [00:00<00:00, 783kB/s]
WARNING:pypdf._reader:Xref table not zero-indexed. ID numbers for objects will be corrected.
Token indices sequence length is longer than the specified maximum sequence length for this model (566771 > 512). Running this sequence through the model will result in indexing errors

WARNING:pypdf._reader:Xref table not zero-indexed. ID numbers for objects will be corrected.
Token indices sequence length is longer than the specified maximum sequence length for this model (566771 > 512). Running this sequence through the model will result in indexing errors
Inserted a total of 789 vectors into the Qdrant collection 'linux_bible'.

 The kernel is the software that starts up when you boot your computer and interfaces with the programs you use so they can communicate effectively and simply with your computer hardware.\nNote\nSee Appendix B for historic details on how the kernel and other free software came together to create the \nLinux phenomenon. /square6\nComponents such as administrative commands and applications from other free and open source \nsoftware projects work with the kernel to make Linux a complete operating system. The GNU proj-ect (\nwww.gnu.org ), in particular, contributed many implementations of standard UNIX compo-\nnents that are now in Linux. Apache, KDE, GNOME, and other major open source projects in Linux have also contributed to the success of Linux. (See Chapter 2 for an explanation of how open source projects work and how you can get involved in them.) Those other projects added such things as\nGraphical user interfaces (GUIs)\n/circle6 —Consisting of a graphical framework (typically the \nX Window System), window managers, panels, icons, and menus. GUIs enable you to use Linux with a keyboard and mouse combination, instead of just typing commands (as was done in the old days).\nAdministrative utilities\n/circle6 —Including hundreds (perhaps thousands) of commands and \ngraphical windows to do such things as add users, manage disks, monitor the network, \ninstall software, and generally secure and manage your computer.\nApplications/circle6 —Although no Linux distribution includes all of them, literally thousands \nof games, ofﬁ  ce productivity tools, Web browsers, chat windows, multimedia players, \nand other applications are available for Linux.Programming tools\n/circle6 —Including programming utilities for creating applications and \nlibraries for implementing specialty interfaces.Server features\n/circle6 —Enabling you to offer services from your Linux computer to another \ncomputer on the network. In other words, while Linux includes Web browsers to view \nWeb pages, it can also be the computer that serves up Web pages to others. Popular server features include Web, mail, database, printer, ﬁ  le, DNS, and DHCP servers.\nAfter Linus Torvalds and friends had a working Linux kernel, pulling together a complete open source operating system was possible because so much of the available “free” software was\nCovered by the GNU Public License (GPL) or similar license\n/circle6 —That allowed the \nentire operating system to be freely distributed, provided guidelines were followed relating to how the source code for that software was made available going forward (see \nhttp://www.gnu.org/licenses/gpl.html ).\nBased on UNIX-like systems/circle6 —Clones of virtually all the other user-level components \nof a UNIX system had been created. Those and other utilities and applications were built to run on UNIX or other UNIX-like systems.\n85057c01.indd   1285057c01.indd   12 10/15/09   2:22:54 PM10/15/09   2:22:54 PM\n13Chapter 1: Starting with Linux\nLinux has become one of the most popular culminations of the open source software movement. \nBut the traditions of sharing code and building communities that made Linux possible started years before Linux was born. You could argue that it began in a comfortable think tank known as Bell Laboratories. Read Appendix B to learn more about the history of Linux.\nLeveraging work done on UNIX and GNU projects helped to get Linux up and running quickly. \nThe culture of sharing in the open source community and adoption of a wide array of tools for communicating on the Internet have helped Linux to move quickly through infancy and adoles-cence to become a mature operating system.\nThe simple commitment to share code is probably the single most powerful contributor to the \ngrowth of the open source software movement in general, and Linux in particular. That com-mitment has also encouraged involvement from the kind of people who are willing to contribute back to that community in all kinds of ways. The willingness of Linus Torvalds to incorporate code from others in the Linux kernel has also been critical to the success of Linux.', 'page': 84, 'source': 'linux_bible.pdf'}
ID: faf99e96-5c1a-47a0-9e5e-cedd04146bbe, Score: 0.5350301, Vector: [0.024331223, -0.07055378, -0.04639513, -0.06745808, 0.11607092, -0.06295789, -0.050465923, 0.13786222, 0.030159013, -0.004015608, -0.010676871, 0.043769825, 0.002562885, -0.10791365, 0.08188917, -0.06733823, 0.015235985, -0.04399143, -0.029254304, -0.07622137, -0.051291894, -0.042619515, -0.035561237, -0.03216422, -0.015353801, 0.007827441, 0.003842683, -0.024111375, 0.011969527, -0.073085405, -0.004015697, 0.05118515, 0.04462064, 0.016457165, -0.044123165, 0.029161211, 0.032725297, -0.09948047, -0.11717596, -0.07006103, -0.07375753, -0.06258994, -0.04566733, 0.07318526, -0.018762583, -0.028633866, 0.00589228, -0.025655907, 0.028555587, -0.05916732, 0.0030022084, -0.028934382, 0.045359496, 0.008084487, -0.0059830844, -0.06705739, -0.039903928, -0.05109666, 0.017328693, 0.019561894, 0.03865932, -0.031135602, -0.094755515, 0.0696307, 0.0079221, -0.0009801845, 0.04914509, -0.044889834, -0.014624922, -0.06107484, -0.08638306, 0.004438856, 0.07317532, 0.059987534, -0.084445775, -0.019608138, 0.03666604, 0.052662563, 0.014499273, 0.026804266, 0.064353116, 0.121469095, -0.095886566, 0.0138858305, -0.061298773, 0.042142395, -0.04137195, 0.016541636, 0.027204953, -0.03736728, 0.024546837, 0.04318625, 0.045745023, 0.018195828, 0.012363759, 0.009674581, 0.07117867, -0.05164778, -0.042451415, 0.10459722, -0.051867876, 0.039014667, 0.053602595, -0.013444189, -0.059383016, 0.026365539, 0.03386706, 0.052461583, -0.05169558, -0.016761262, -0.045771126, -0.05824901, -0.062215872, -0.043441582, -0.0011185831, -0.015508645, -0.07924711, 0.0067165955, 0.027270535, 0.0128110545, 0.055487428, 0.0096251005, -0.052989874, -0.035143983, 0.0745588, 0.008490463, -0.0061789937, 5.7813365e-33, -0.0077322903, 0.05089334, -0.06208537, -0.012271753, 0.037881814, -0.032028474, 0.031108173, 0.03932017, -0.113128036, 0.065454625, 0.04473485, 0.048975635, -0.0397826, -0.041689493, 0.15407364, -0.0093920585, -0.048749406, 0.01576997, 0.039169155, 0.028227244, 0.04160524, -0.009283758, -0.0039213984, 0.014405117, 0.071765065, -0.04113585, -0.06290899, -0.09136639, 0.06928661, 0.020446315, -0.05478173, 0.015546732, -0.06627345, 0.025668463, -0.02507427, -0.054088365, -0.09528659, -0.07856511, 0.02387049, 0.013679139, -0.075428315, 0.030132407, -0.0421513, -0.061015166, 0.039319675, 0.0005365387, 0.010995959, 0.0019172272, -0.0077442573, -0.0067242687, -0.032987166, 0.063831784, 0.07289842, 0.06597161, 0.021873735, -0.015787529, 0.008175407, -0.0051377737, 0.035549764, 0.13740769, -0.07484701, 0.01975612, 0.00097205286, -0.016821997, -0.02086878, -0.043551154, 0.029973619, 0.051265553, -0.009231957, 0.091875225, -0.040937915, -0.020471284, -0.013983976, 0.04625708, -0.011935796, 0.036329255, -0.02307174, -0.050468333, 0.034062546, -0.024977278, -0.053438656, 0.09805345, -0.04715404, 0.06499154, 0.0026042063, 0.048584484, -0.05834566, -0.017755663, -0.054628246, 0.04123106, 0.008707029, 0.0045137308, 0.015643694, 0.07451622, 0.0013959655, -5.6718363e-33, -0.032046035, -0.043305457, -0.0010658664, 0.0074834055, 0.033055622, 0.054477125, -0.08341126, 0.019022267, -0.03950564, 0.022333609, -0.07156558, 0.023374123, 0.03629009, -0.0011669495, 0.016282769, -0.073552124, 0.030347448, -0.055158608, -0.025584424, 0.00715488, -0.058990058, 0.15312871, 0.009879565, -0.097141646, 0.01882934, 0.069251604, -0.08145449, 0.0343667, -0.050875288, 0.019485632, 0.05586577, -0.015215959, -0.016180554, -0.03318689, 0.09547338, 0.023699587, 0.03604217, 0.048568293, -0.012289297, -0.0016615205, 0.08206157, -0.017569851, -0.06479148, -0.052218817, -0.008343782, 0.0065487307, -0.06361596, -0.015336794, 0.010537647, -0.075127974, 0.058192264, 0.011879299, -0.008780829, -0.040178724, -0.0033989523, -0.06746455, -0.044544596, 0.057894103, 0.031869363, 0.030301424, 0.06432371, -0.04518761, -0.047280554, 0.10941228, -0.0032685648, -0.051799525, 0.029878203, 0.086914174, -0.023249878, 0.054577317, -0.048716806, -0.022192033, 0.010497893, 0.007632791, 0.0058831843, 0.07827393, 0.03452274, -0.061196122, -0.061946824, 0.05277168, -0.0036381485, 0.01532919, 0.005320174, 0.056102376, -0.027673684, -0.026463313, 0.045050167, -0.060121257, 0.008630904, -0.05514328, -0.028198322, 0.06288215, -0.06112665, 0.12975036, 0.044362936, -5.1572744e-08, 0.06916056, -0.055261664, -0.0121382205, 0.05772162, 0.013674339, -0.009856258, 0.060743503, -0.0068293344, -0.042229537, 0.12912934, 0.022893893, -0.06768744, -0.034169108, -0.019764515, 0.021298576, 0.15513909, -0.047815453, 0.08062074, -0.06744864, -0.010472879, 0.093221396, 0.0092249, 0.033652484, 0.004951226, -0.0108227655, -0.08298904, 0.07829765, -0.02918012, 0.040861372, 0.07502183, -0.013328497, -0.007117863, -0.0010515214, 0.016050711, 0.07137554, -0.05032972, -0.055674076, 0.05260627, 0.06055885, 0.010967028, -0.044464994, 0.08605771, -0.008431955, -0.007856606, -0.08918092, -0.03736765, -0.10412424, -0.006117804, -0.0065842066, -0.035468876, -0.008603244, 0.017469272, -0.022496583, 0.070861705, 0.059056558, -0.026201164, -0.015157915, 0.02911126, 0.04120862, 0.038511287, -0.037579004, -0.0666424, 0.042541374, 0.0468446], Metadata: {'content': 'www.linuxdevices.com ) to game consoles (such as PlayStation 3) to \nsupercomputers to Mars rovers. In short, Linux has become a system that almost anyone can run almost anywhere.\nOn both desktop and server computers Linux has become a formidable \noperating system across a variety of business applications. Today, large enterprises can deploy thousands of systems using Linux distributions from companies such as Red Hat, Inc. and Novell, Inc. Small businesses can put together the mixture of ofﬁ  ce and Internet services they need to keep their \ncosts down.\nThe free and open source software (FOSS) development model that \nespoused sharing, freedom, and openness is now on a trajectory to sur-pass the quality of other operating systems outside of the traditional Linux servers and technical workstations. What were once weak components of Linux, such as easy-to-use desktops, multimedia codecs and limited driver availability, have improved at a rapid pace. In areas of security, usability, connectivity, and network services, Linux has continued to improve and outshine the competition.Starting with Linux\nIN THIS CHAPTER\nGetting started with Linux\nUnderstanding LinuxLinux features and advantages\n85057c01.indd   385057c01.indd   3 10/15/09   2:22:53 PM10/15/09   2:22:53 PM\n4Part I: Getting off the Ground with Linux\nComputer industry heavy-hitters such as Microsoft and Oracle have taken notice of Linux. \nMicrosoft has struck agreements with Linux companies including Novell and Xandros to form partnerships that primarily protect those companies against threatened Microsoft lawsuits. Oracle began producing its own enterprise-targeted Linux system to try to stem the ﬂ  ow of cus-\ntomers to Red Hat Enterprise Linux.\nWhat does this all add up to? A growing swirl of excitement around the operating system that the \nbig guys can’t seem to get rid of. For people like yourself, who want the freedom to use your com-puter software as you like, it means great prospects for the future.\nLet this book help you grab your ﬁ  rst look at the distributions, applications, services, and com-\nmunity that make up the phenomenon that has become Linux.\nTaking Your First Step\nIn your hands, you have 18 different Linux distributions (on CD and DVD), thousands of applica-\ntions, and descriptions for getting it all running on your own computer. For you right now, the worldwide Linux phenomenon is just a reboot away.\nLinux Bible 2010 Edition brings you into the world of free and open source software that, through \nsome strange twists and turns, has fallen most publicly under the “Linux” banner. Through descriptions and procedures, this book helps you\nUnderstand what people do with Linux and how you can use Linux for all your comput-', 'page': 76, 'source': 'linux_bible.pdf'}
ID: 559b54c1-b769-4c3c-b2cd-f832a93fb99f, Score: 0.52532214, Vector: [0.00746728, -0.11844351, -0.007997972, 0.011819327, 0.16083239, -0.027890231, -0.030016694, 0.16784942, 0.009562944, 0.008335069, -0.013510524, 0.011549256, -0.002929275, -0.11596569, 0.076392695, -0.05113839, -0.09048634, -0.054655273, 0.030377481, -0.093296915, -0.003533422, 0.01996293, 0.03350387, -0.027454238, 0.030402206, 0.028024137, 0.027541379, -0.07663866, 0.034651108, -0.044327524, 0.0043478194, 0.1217768, 0.015323285, -0.011632312, -0.06851035, 0.025471015, 0.07107715, -0.06755785, -0.054285582, -0.020122241, -0.1076624, -0.043894358, -0.039558616, 0.012672985, 0.014954614, -0.041535545, -0.0032710384, -0.042225473, 0.013539396, -0.052253213, -0.03387083, -0.05464647, 0.0065770554, 0.019909745, 0.012807563, -0.04035854, -0.01783124, -0.09215303, -0.015678443, -0.07305397, 0.04806908, -0.051449973, -0.10381545, 0.069721416, -0.04161106, -0.014806088, -0.007637158, 0.077433415, 0.055192057, -0.090190195, -0.07149286, -0.03136405, 0.058312405, 0.08901262, -0.0028556655, -0.02804934, -0.006143313, 0.05121465, 0.019295719, 0.055265322, 0.05419187, 0.069835, -0.052713167, 0.05128869, -0.08664806, 0.059907466, 0.022448724, 0.038762752, 0.0010765686, -0.049246322, 0.039219253, 0.050062515, 0.013636117, -0.015030285, 0.019150577, -0.034392092, 0.07742463, -0.0508219, -0.0017189122, 0.09155765, -0.04176071, -0.008775968, -0.009357665, -0.026293984, -0.07783781, 0.015077545, 0.02026658, 0.025035856, 0.0037758523, -0.013756253, -0.017237144, -0.018613083, -0.028278133, -0.044136588, 0.021040194, -0.028701229, -0.050071683, -2.1271697e-05, -0.0068169152, 0.050660476, -0.020379832, 0.06683549, -0.04830146, -0.0068403357, 0.06609714, 0.03009027, -0.040599417, 1.713397e-33, 0.08282234, 0.085729845, -0.049530335, -0.0024655517, 0.02111573, -0.05216762, -0.0014215877, 0.03463404, -0.0848725, 0.08374194, 0.10646674, 0.101235144, -0.067771494, -0.017541744, 0.08444848, -0.07616206, -0.058477767, -0.022663856, 0.03657865, 0.0052248565, -0.009666332, 0.019909766, -0.00357673, 0.042327613, 0.013103364, -0.07006073, -0.05037492, -0.08474202, 0.045402613, -0.00415185, -0.08691769, 0.053092122, -0.052869864, -0.04253742, -0.041239712, -0.044962313, -0.07403936, -0.08684757, 0.042667765, -0.016743267, -0.06625975, 0.03955627, 0.011500935, -0.05137156, 0.062236868, 0.008678709, 0.071807645, 0.01332741, 0.054589562, -0.0337019, -0.07072625, -0.033138905, 0.016805813, 0.07812944, -0.03546032, 0.029750424, -0.020088248, -0.03131388, 0.02462189, 0.10450523, -0.019727007, 0.010109403, 0.027690204, -0.047882847, -0.06731156, 0.007277827, 0.044157535, 0.036198664, 0.012190073, 0.07966004, -0.058520474, -0.04031732, -0.02942285, 0.052512333, -0.041164894, 0.05458101, -0.01795128, -0.04443241, 0.01644369, -0.00730637, -0.054506686, 0.06160984, -0.02327273, 0.032622233, 0.05859294, 0.04919139, -0.0384079, -0.072201855, -0.063880034, 0.032740485, 0.08284124, -0.034969304, -0.043666027, 0.054361627, 0.0041896417, -3.5277522e-33, 0.020163145, -0.059797283, 0.0012108752, -0.0014657109, 0.04875801, 0.060138997, -0.09107212, 0.038635015, 0.013244924, -0.017910503, -0.0833695, 0.011083091, 0.04996642, 0.027823742, 0.0013634168, -0.094470024, 0.021212595, -0.015475093, -0.07432784, 0.00825962, -0.04147317, 0.08459714, -0.020067075, -0.11088987, 0.07192243, 0.045834888, -0.021038346, 0.027490195, -0.046723317, 0.08015263, 0.09808546, -0.029732263, -0.022613453, -0.0022434823, 0.052874245, 0.0043748957, 0.049254607, 0.025183193, 0.0063277683, -0.013529587, 0.06683558, 0.016061414, -0.0039460785, -0.080721654, -0.018246287, -0.024714625, -0.09032139, 0.019064434, 0.008227884, -0.104419395, 0.028195327, -0.012441221, 0.06800411, -0.06576471, 0.015530077, -0.04920336, -0.039293244, 0.043917872, 0.08952696, 0.010601837, -0.018011035, -0.0034346264, -0.046036497, 0.0957672, -0.042801708, -0.10759926, 0.009244587, 0.01889225, -0.013532307, -0.005812693, -0.054307435, 0.033654302, -0.023743318, -0.030277519, -0.0240804, 0.06364629, 0.00070645014, -0.025784686, -0.09093685, -0.010048218, 0.03863883, 0.037403032, 0.0033992024, 0.014415501, -0.047117464, 0.04075601, 0.08425122, -0.041142225, -0.007136692, -0.02124992, -0.025833722, 0.072112374, -0.0085339425, 0.099372335, 0.03907196, -5.1821072e-08, 0.043728434, -0.050226863, -0.019331686, 0.08265944, 0.0062530763, 0.00013409385, 0.032990552, -0.00386631, -0.029465502, 0.10428476, -0.022173971, -0.03215279, -0.018030467, 0.0009613294, 0.052704975, 0.09792233, -0.029748386, 0.059049904, -0.058105685, -0.032421697, 0.13109277, -0.02589744, 0.06618135, 0.021598492, 0.009302079, -0.061946012, 0.07017781, -0.0001900025, 0.053011436, 0.03306959, -0.0047116936, 0.019234378, -0.05053415, -0.017033761, 0.08826063, -0.0536139, -0.027290963, 0.03367373, 0.049046386, 0.026319882, -0.074161656, 0.0363738, 0.014411307, -0.019714253, -0.100796, 0.01724432, -0.06411304, 0.020741925, 0.03345999, -0.006161178, 0.04991325, -0.013879994, 0.03182722, 0.02034885, 0.03105859, 0.041133456, -0.06589748, 0.08011253, 0.04666577, -0.0033899012, -0.04469346, -0.079689756, 0.011030314, 0.042117614], Metadata: {'content': 'In the ﬁ  rst two chapters, you’ll learn a lot of exciting ways Linux is being used today and see who \nmany of the major players are in the free and open source software (FOSS) world. You will see \nhow people are adapting Linux to run on handhelds, mini laptops, 32- and 64-bit PCs, Macs, mainframes, and super computers. Linux is truly everywhere!\nHowever, if you are concerned that somehow “free” software is too good to be true, skip ahead for \nthe moment to the brief history of Linux in Appendix B. That appendix guides you through the strange and circuitous path of free and open source software development that led to the Linux phenomenon.\nIf you are intrigued by what you learn here, I’ll tell you how you can become part of the open \nsource and free software communities, whose stars are known by a single name (such as Linus) or a few initials (such as rms). You’ll ﬁ  nd a staggering number of open source projects, forums, \nand mailing lists that are thriving today (and always looking for more people to get involved). \nHow This Book Is Organized\nLearn the basics of what goes into Linux and you will be able to use all sorts of devices and computers in the future. The book is organized in a way that enables you to start off at the very beginning with Linux, but still grow to the point where you can get going with some powerful server and programming features, if you care to.\nPart I includes two short chapters designed to open your eyes to what you can do with Linux, \nthen get your hands on it quickly. Those two chapters describe\nHow others use Linux, how to transition to Linux from Windows, and how to start with \n/circle6\nLinux using the CD and DVD inside this book (Chapter 1)\nWhat you can do, what you can make, and what you can become with Linux (Chapter 2)/circle6\n85057flast.indd   xxvi85057flast.indd   xxvi 10/15/09   2:23:00 PM10/15/09   2:23:00 PM\nxxviiIntroduction\nIn Part II , you start in with details on how to use Linux desktops and associated applications. \nChapters 3–7 describe\nThe KDE, GNOME, and other desktop interfaces (Chapter 3)/circle6\nTools for playing music and video (Chapter 4)/circle6\nDesktop publishing and Web publishing using word processing, layout, drawing, and /circle6\nimage manipulation tools, plus tools such as wikis, blogs, and content management sys-\ntems for managing content online (Chapter 5)\nApplications for e-mail and Web browsing/circle6  (Chapter 6)', 'page': 73, 'source': 'linux_bible.pdf'}
ID: edbaf079-9d34-4de7-b38b-e79ec9a16962, Score: 0.48150444, Vector: [-0.024073696, -0.06740264, -0.04933037, -0.056596126, 0.0640839, -0.08332419, 0.0027693151, 0.13868594, 0.057942413, 0.0045598065, 0.0018336017, 0.07531288, 0.018394172, -0.07559044, 0.0490967, -0.073607825, -0.013805403, -0.053357575, 0.028111273, -0.089254394, -0.05395274, 0.016952382, -0.024828944, 0.0049645705, 0.016095687, -0.0074422187, -0.0111827785, -0.0129252635, 0.015384097, -0.02754346, 0.027828624, 0.051317822, -0.024497803, -0.017709127, -0.070052184, 0.070469335, 0.043555737, -0.04935626, -0.043799397, -0.050337467, -0.070827074, -0.024127513, -0.020474128, 0.038182694, 0.0008033708, -0.03626968, -0.050244138, -0.014230472, -0.027392898, -0.05233938, -0.05788181, -0.0087971985, 0.07703545, 0.03716889, 0.0056894175, -0.08257068, -0.006536877, -0.048928753, -0.0030512463, -0.042867243, 0.026243336, -0.035939734, -0.084637694, 0.065710865, 0.001997814, -0.0055882614, 0.006594209, 0.02063613, 0.016229676, -0.09070771, -0.09010035, -0.047365617, 0.036659993, 0.11633981, -0.039124742, -0.021918172, 0.027612792, 0.007670698, 0.01996161, 0.014145673, 0.032564282, 0.120462574, -0.002979826, 0.050316617, -0.077059455, 0.06513185, 0.06011874, 0.05446738, 0.05895109, -0.047661755, 0.09689729, 0.04157286, 0.0069837584, -0.025893275, -0.04024964, -0.00027525637, 0.08663912, -0.063367985, -0.016695589, 0.07634073, -0.0046042968, -0.07553812, 0.016132131, -0.06466097, -0.046718005, -0.012522675, 0.040737897, 0.029054755, 0.0054848413, 0.020392884, -0.12974729, -0.04055431, -0.09623701, -0.024364535, -0.020406479, -0.076892, -0.06804503, 0.040718183, 0.031146491, 0.0005500672, 0.02577542, 0.059472144, -0.037667777, -0.06337242, 0.09070736, 0.011583493, 0.024941992, 2.911553e-33, 0.015209375, 0.05031743, -0.071215, -0.043480393, 0.027895976, -0.065813914, 0.0075986134, 0.045926567, -0.078338884, 0.05116739, 0.023592697, 0.06374172, -0.026450198, 0.016269743, 0.17122796, -0.021455862, -0.03337701, -0.01743979, 0.0930162, -0.03729465, -0.04721721, 0.010541696, 0.037904505, 0.023485055, 0.03921805, -0.05274242, -0.005406335, -0.034132645, 0.015480098, -0.01049564, -0.016216632, 0.011952389, 0.0054787714, -0.012547889, 0.0142544545, -0.01064859, -0.087488934, -0.09501916, 0.027134314, 0.007356856, -0.029017627, 0.036929734, -0.0067986315, 0.024368, 0.07348975, 0.03733985, 0.028452594, -0.021815332, 0.014123607, 0.013288786, -0.077107206, -0.020698708, 0.061511688, 0.042465787, -0.07053348, 0.053588647, 0.022194672, -0.033159703, 0.02148347, 0.083170116, -0.061057176, -0.051194493, 0.03694642, -0.05161562, -0.027916215, -0.060474515, 0.05438269, -0.002920457, 0.036952972, 0.05566183, -0.060088944, -0.06387428, 0.012257671, 0.03642768, -0.023741508, -0.0056332806, 0.009154998, -0.052247345, 0.023426965, 0.019512601, -0.09632673, 0.032396507, -0.06482864, 0.040396318, 0.08001134, 0.060092065, -0.09680037, 0.03586784, -0.021762831, 0.006366735, 0.038419466, -0.04474926, -0.014793833, 0.10049441, 0.0023396981, -4.9488852e-33, -0.08328449, -0.07763805, 0.0026429582, 0.04993892, 0.04945391, 0.050035976, -0.10315616, -6.121183e-05, -0.026305752, -0.008961132, -0.059943065, -0.0110602295, -0.002902582, 0.007216774, -0.0017162564, -0.07697368, -0.014351343, -0.029406307, -0.0030815566, 0.016400246, -0.04912495, 0.09657606, -0.004924246, -0.050857008, 0.032611314, 0.016854322, -0.028242879, 0.043756545, -0.0022887944, 0.016687715, 0.11364286, -0.047498297, -0.03072822, -0.011637853, 0.03166923, -0.015000611, 0.104585, 0.012948129, -0.035104573, -0.0007573287, 0.07480522, 0.017861715, -0.04618072, -0.06523287, -0.033361565, -0.02468294, -0.049310334, -0.012103423, -0.009812822, -0.0723652, 0.0133117335, -0.052323323, 0.059941348, -0.013579973, 0.0046214564, -0.041455805, -0.027436167, 0.05619888, 0.06613538, 0.03857493, 0.036038622, -0.023564767, 0.006929671, 0.12132061, -0.06090688, 0.0015805558, 0.05244593, 0.0139290495, -0.078118846, 0.04538711, -0.030370511, 0.03300274, -0.0024404058, -0.050177578, -0.04499654, 0.041831892, -0.026301343, -0.029057309, -0.101833805, -0.010659004, 0.008464277, 0.0019811208, -0.021909859, 0.03556323, -0.07210136, -0.05506824, 0.07401727, -0.09481533, 0.0062993583, -0.06668644, -0.011408364, 0.041455653, -0.031962853, 0.13377553, 0.028018326, -5.7048968e-08, 0.07315667, -0.099995196, 0.0065096393, 0.016581548, 0.012141264, -0.01728705, 0.03933864, -0.00065708964, -0.05199344, 0.074340224, 0.0500053, -0.07451712, -0.07489221, -0.042417005, 0.06900265, 0.11055208, 0.022807684, 0.12333708, -0.05916859, 0.0011295219, 0.102453664, -0.06302064, 0.08926409, 0.0017882853, 0.06728807, -0.04813749, 0.090594076, 0.026217436, 0.029793752, 0.0327958, -0.002881321, -0.026205432, 0.027978938, 0.046610203, 0.09486055, -0.02050504, -0.08508389, -0.03376538, 0.039941408, 0.07671597, -0.03209068, 0.039046388, 0.018367276, 0.006731865, -0.04051718, 0.0066023828, -0.119661875, -0.016749056, 0.042518236, -0.034705643, 0.051088512, -0.033405125, 6.3934596e-05, 0.038810138, 0.06264515, 0.007958509, 0.021373093, 0.01930552, 0.04081616, 0.093892, -0.024699429, 0.0017280468, 0.084522046, -0.030239053], Metadata: {'content': 'conﬁ gure system services, and secure your computers and networks.\nA Linux server administrator/circle6 —Using some of the world’s best server software, you \ncan set up your computer to be a Web server, ﬁ  le server, mail server, or print server.\nA software developer/circle6 —You can draw on thousands of open source programming tools \nto develop your own software applications.\nThe Linux systems you have in your hand don’t contain trialware or otherwise-hobbled software. \nOn the contrary, they feature software created by world-class development projects, the same teams that build the software that powers many professional businesses, schools, home desktops, and Internet service providers. In other words, this truly ﬁ  rst-rate software is from develop-\ners who have made a commitment to producing software that can be used in the ways that you choose to use it.\nMost of the Linux distributions offered on the DVD and CD that come with this book are live \nCDs that let you try a Linux distribution without installing. Almost all of those live CDs include features that let you install the contents of those live CDs to your hard disk. For example, you can try out Fedora, Gentoo, Ubuntu, openSUSE, PCLinuxOS, and Mandriva as live CDs, and then install those distributions permanently to your hard drive from icons on the desktops of those live CDs.\n85057flast.indd   xxv85057flast.indd   xxv 10/15/09   2:22:59 PM10/15/09   2:22:59 PM\nxxviIntroduction\nUnlike some other books on Linux, this book doesn’t tie you to one Linux distribution. The book \nteaches you the essentials of Linux graphical desktop interfaces, shell commands, and basic sys-tem administration. Separate chapters break down many of the major Linux distributions avail-able today. Then descriptions of the major software projects in most Linux distributions (KDE and GNOME desktops, Apache Web servers, Samba ﬁ  le and printer sharing, and so on) guide \nyou in setting up and using those features, regardless of which Linux you choose.\nUnderstanding the Linux Mystique\nThis book is designed to spark your imagination about what is possible with Linux, then give you the software and instruction to jump right into Linux. From there, the approach is to help you learn by using it.', 'page': 72, 'source': 'linux_bible.pdf'}
ID: c83dcac1-b65a-44cc-a261-cae57bfc95d9, Score: 0.47938925, Vector: [-0.01984242, -0.009251191, 0.018457491, -0.03781013, 0.09261274, -0.1193788, -0.07727213, 0.12620927, 0.061431658, -0.008344117, 0.048700366, 0.061782468, 0.020591466, -0.08948288, 0.044110827, -0.04765848, 0.030769775, -0.042209804, -0.009124599, -0.0050316285, -0.027673768, 0.03784497, 0.01110022, -0.028833224, -0.03238227, -0.013826247, -0.013972005, -0.023391213, 0.045812063, -0.024594031, -0.031893104, 0.100631386, 0.05064631, 0.027371014, -0.046596188, 0.016476015, -0.012597444, -0.07095902, -0.12446081, -0.0748582, -0.03965642, -0.09973392, 0.000987572, 0.055254634, -0.010403949, 0.008403102, 0.027986538, -0.08947484, 0.022214811, -0.048560645, 0.007943433, 0.024376217, 0.041964628, -0.0047879405, -0.107106864, -0.08339744, -0.08268022, 0.0054734685, 0.06822181, 0.014187082, 0.068419866, 0.0043118214, -0.06377442, 0.039710492, -0.022174219, -0.018763384, -0.028919643, -0.08097144, 0.019838884, -0.11666613, -0.001925492, -0.054298107, 0.05674856, 0.064811416, -0.1130536, 0.055029638, 0.062297072, 0.03982368, 0.009177934, 0.0065956744, 0.07105321, 0.046975676, -0.05081734, -0.019804347, 0.025514895, 0.04018937, -0.03603348, 0.09892643, -0.015842075, -0.07272974, 0.028053425, 0.022715459, -0.024910647, -0.014285808, -0.062179208, -0.019571653, 0.050337255, -0.048734803, -0.044195447, 0.061492193, -0.034729943, 0.03594042, 0.004427827, 0.046833638, -0.0811618, -0.065017976, -0.0058287294, 0.038173143, 0.01884109, -0.0010024076, -0.03490026, -0.09206027, -0.042224646, -0.023313448, -0.008650974, -0.068659246, -0.07769698, 0.024585923, 0.07928828, 0.0507452, -0.02071425, -0.007857347, -0.054172, -0.085780405, 0.09351972, 0.026023535, -0.021894667, 2.9005352e-33, 0.009481408, 0.039077844, -0.058403946, -0.03236557, -0.0436744, -0.044231296, 0.013088542, -0.0015156794, -0.007417522, 0.07432986, 0.019383166, 0.05898135, -0.048191715, 0.05201061, 0.13181533, 0.01023683, -0.03131462, -0.094403155, 0.033403378, 0.02029259, -0.005610449, -0.020971322, 0.0025865599, 0.058985524, 0.10762909, -0.02880986, -0.009944965, -0.08452161, 0.042229496, 0.013476404, -0.11522525, -0.0024188985, -0.043511253, 0.0072523504, -0.020189347, 0.008922283, -0.097898155, -0.07456626, 0.04497631, -0.013212123, -0.054286465, 0.018808616, -0.021918701, -0.037321456, 0.009258915, -0.009115823, 0.026472611, 0.0015630679, -0.008941925, -0.0698581, -0.023157999, 0.04200182, 0.059763074, 0.031845745, 0.028716076, -0.06301514, 0.0072998507, -0.04026639, 0.035564926, 0.07956249, -0.034908388, 0.025232004, -0.013495203, 0.053126812, -0.049734563, -0.013398143, 0.060294926, -0.0136634465, -0.06469721, 0.111679986, -0.013956184, -0.020290876, -0.037272546, -0.010292192, -0.015074762, 0.057141107, 0.016747905, -0.04238848, 0.015225668, 0.0037201268, -0.010678778, 0.025131961, 0.0011383804, 0.076179445, 0.0059719067, 0.010766955, -0.08781016, -0.052099165, -0.01751505, 0.03523437, -0.014993603, -0.01481304, -0.05686633, 0.09258094, -0.014618604, -3.5376932e-33, -0.06829073, -0.05625367, 0.01898682, -0.018509958, 0.0141084455, 0.033197742, -0.006314207, -0.06868979, -0.057048954, -0.018725408, -0.09629635, 0.020050153, 0.06967098, 0.014687666, 0.040810168, -0.04380362, -0.020860473, -0.05163723, 0.035567094, -0.0116340425, -0.037055183, 0.1415086, 0.02216848, -0.032433484, 0.046441674, 0.0015570261, -0.03556, 0.033511095, -0.030493163, -0.034631, 0.0648899, -0.060514897, 0.024986625, 0.013376488, 0.13324007, 0.058048494, 0.056575127, 0.0039180466, 0.0019940243, -0.049429327, 0.112915434, -0.0021007357, -0.005317771, -0.0010912868, 0.024768947, -0.04099412, -0.10867125, 0.01139904, 0.010392324, -0.043638453, 0.06804612, 0.023437329, -0.0022319213, -0.027865846, -0.031080289, -0.051383488, 0.004178208, 0.016367517, 0.0064936453, -0.005538669, 0.10007223, -0.0513617, -0.014779815, 0.00809466, -0.092387974, -0.035935618, 0.07260038, 0.04789249, -0.030158034, 0.042474665, -0.0046493723, -0.024117976, 0.0284292, 0.015506525, 0.012158536, 0.11800204, -0.0076966677, -0.084179156, -0.02120884, -0.024012763, -0.0050964435, 0.036493853, 0.08855071, 0.02996459, -0.01967626, 0.029032387, 0.0044003217, 0.013221407, -0.0519412, -0.024593018, 0.017867127, -0.022305354, -0.07073401, 0.14142574, -0.050426587, -5.4846257e-08, 0.12618408, -0.027908817, 0.041142188, -0.011754587, -0.044638153, -0.039858174, 0.10112651, -0.07076211, 0.049010936, 0.09001549, 0.055804297, -0.0926332, -0.039273467, 0.03511042, 0.058552198, 0.17512369, 0.012697251, 0.05950258, -0.028028043, 0.022259632, 0.08422044, 0.008618497, 0.008055855, 0.020150276, 0.03209303, -0.029780453, 0.022748128, -0.037858676, 0.040491004, 0.005359437, -0.03923957, -0.02287067, 0.057957288, 0.05262032, 0.051870637, -0.04273112, -0.024588205, -0.0257344, 0.0607741, -0.0013320881, -0.002911388, 0.013258696, -0.038104214, 0.0073573994, -0.09144806, -0.047250293, -0.08016776, -0.08225485, -0.0037114276, 0.07447247, 0.012219077, -0.00036026005, 0.014231857, 0.024624372, 0.06254016, -0.0037182071, 0.025127977, -0.019237185, -0.009543065, 0.013651966, -0.053267457, -0.03690494, 0.06738827, 0.046157088], Metadata: {'content': 'lowing the progress of the Mars Exploration Rover Mission, refer to the project’s Web site at the NASA Jet Propulsion Laboratory (\nhttp://marsrovers.jpl.nasa.gov ).\nLinux in gadgets\nLots of commercial communications, entertainment, and other kinds of gadgets have Linux run-ning on the inside. Linux makes an excellent operating system for these specialty devices, not only because of its cost, but also because of its stability and adaptability. \nLinux enthusiasts love these devices, referred to as embedded Linux systems, because they can \noften adapt, add, or run different Linux software on these devices (whether the manufacturer \nintended that or not). More and more, however, manufacturers are embracing the Linux enthusi-ast and hardware hacker and selling open devices for them to use. Here are some examples:\nMobile Phones\n/circle6 —OpenMoko ( www.openmoko.com ) produces mass-market mobile \nphones, such as the Neo FreeRunner, that are based on Linux. Like the software, the FreeRunner’s hardware also follows an open design. Although the phone is intended for general consumer use, the phone’s software is currently most appropriate for people who want to develop their own software for the phones. Figure 2-2 shows an example of the Neo FreeRunner.\n85057c02.indd   1785057c02.indd   17 10/18/09   11:26:05 PM10/18/09   11:26:05 PM\n18Part I: Getting Off the Ground with Linux\nFIGURE 2-2\nModify software to use the Linux Neo FreeRunner as a phone, GPS device, clock, game player, and media \nplayer.\nMotorola, OpenMoko, and Tranzda Technologies each offer multiple Linux-based \nmobile phones. Phone models running Linux on the inside include the Motorola Rokr EM30 (emphasizing music playing), Tranzda Technologies NewPlus phones (with WiFi, GPS, and a camera), Purple Labs Purple Magic phones (sub-$100 phone), and Grunig B700 (with keyboard and e-mail support).\nSony PlayStation\n/circle6 —Not only can you install and run Linux on PlayStation, but Sony \nencourages you to do it. In 2002, Sony released Linux Kit for PlayStation 2. Included \nin that kit is a derivative of the Japanese Kondara MNU/Linux (which is based on Red Hat Linux). For PlayStation 3, several Linux distributions have been modiﬁ  ed (ported) \nto run on that hardware, including Fedora, OpenSUSE, Ubuntu, Gentoo, Debian, and a commercial Yellow Dog Linux product for PlayStation 3. (See Chapter 22 for a descrip-tion of Yellow Dog Linux.) \nPersonal Video Recorders (PVR)\n/circle6 —If you have a TiVo PVR or a set-top for streaming \nvideo from Netﬂ  ix, you are already running Linux in your home. The Netﬂ  ix PVR is \nfrom Roku, Inc. ( www.roku.com ), which produces a range of Linux-based media play-\ners. TiVo has produced Linux-based PVRs for years. The availability of the TiVo Linux \nsource code ( www.tivo.com/linux ) has made TiVo one of the most popular devices \nfor Linux enthusiasts to hack.\nNetbooks/circle6 —Shrinking laptops with shrinking prices have led to Netbooks. These \nmini laptop computers have proven to be excellent devices for running Linux. With \nlow-powered processors and small screens, Netbooks provide a good partnership with Linux systems that are tuned for these compact, efﬁ  cient devices. \n85057c02.indd   1885057c02.indd   18 10/18/09   11:26:05 PM10/18/09   11:26:05 PM\n19Chapter 2: Linux Projects, Activities, and Careers\nThe Asus Eee PC is one of the most popular Netbooks available today. Many Asus Eee \nPCs have been sold with Xandros Linux preinstalled. However, industrious Linux enthusiasts have created ports of Fedora, Ubuntu, and other Linux distributions to run on the Eee PC. The Acer Aspire One is another popular netbook.  You can vote on which \narticles are most interesting to you to gain more exposure for an article.\nGroklaw/circle6  (www.groklaw.net )—The place to look for information regarding legal \nissues surrounding open source software.Linux Today\n/circle6  (www.linuxtoday.com )—This site gathers news that is of particular \ninterest to software developers and IT managers.LWN.net\n/circle6  (www.lwn.net )—Produces a weekly newsletter covering a range of Linux \ntopics.\n85057c02.indd   2385057c02.indd   23 10/18/09   11:26:05 PM10/18/09   11:26:05 PM\n24Part I: Getting Off the Ground with Linux\nNewsforge/circle6  (www.newsforge.com )—Bills itself as the “Online Newspaper for Linux \nand Open Source.” Contains many original articles, as well as links to up-to-the-minute \nopen source stories from other locations on the Web.\nLinuxInsider/circle6  (www.linuxinsider.com )—Covers news articles related to Linux \nissues around the world.Linux at Wikipedia \n/circle6 (http://en.wikipedia.org/wiki/Linux )—Contains an \nexcellent write-up of what Linux is, and includes other Wikipedia links to related top-\nics, companies, and issues. Also, provides a good understanding of Linux history and relationships.\nLinux.com\n/circle6  (www.linux.com )—Provides Linux information, news, tips, articles, and \nreference material.CertCities.com\n/circle6  (http://certcities.com/certs/linux_unix/columns/) —\nRegularly publishes articles on Linux and UNIX.\nIf you need help or have questions about Linux, here are a few sites to try:\nLinux Questions/circle6  (www.linuxquestions.org )—In addition to offering forums on \ndifferent Linux distributions, this is a great place to ask questions related to hardware \ncompatibility, security, and networking. The site also has some good tutorials, as well as reviews of books and Linux distributions.\nGoogle Linux\n/circle6  (www.google.com/linux )—Search for Linux-speciﬁ  c information from \nthis part of the Google search site.Linux Forums\n/circle6  (www.linuxforums.org )—Contains active forums on your favorite \ndistributions and has active IRC channels as well.The Linux Documentation Project\n/circle6  (www.tldp.org )—Offers a wide range of \nHOWTOs, guides, FAQs, man pages, and other documentation related to Linux.Linux Help\n/circle6  (www.linuxhelp.net )—Offers forums, news, and current information \nabout the Linux kernel. Also contains information about ﬁ  nding Linux mailing lists, \nnewsgroups, and user groups.Linux Online\n/circle6  (www.linux.org )—Provides a central source of information related to \nLinux distributions, documentation, books, and people.Linux Kernel Archives\n/circle6  (www.kernel.org )—The primary site for Linux kernel devel-\nopment. You can get the latest stable or testing versions of the Linux kernel. Not the ﬁ  rst \nplace to start with Linux, but I thought you would want to know it’s there.\nMajor Linux projects\nAs you may know, the name Linux comes from the Linux kernel created by Linus Torvalds. The \ndesktop, application, server, and other software needed to create a full Linux system are added \n85057c02.indd   2485057c02.indd   24 10/18/09   11:26:05 PM10/18/09   11:26:05 PM\n25Chapter 2: Linux Projects, Activities, and Careers\nfrom other open source projects. The following is a list of some of the major open source software \norganizations that usually have software included with Linux:\nFree Software Foundation/circle6  (www.fsf.org )—Supports the GNU project, which pro-\nduces much of the software outside the kernel that is associated with Linux. In particu-lar, open source versions of nearly every early UNIX command have been implemented by the GNU project. \nApache Software Foundation', 'page': 92, 'source': 'linux_bible.pdf'}

Please refer to attached screenshot regarding the data insertion into Qdrant

Special Note
Utilization of batches is still in progress, (the code is already present in the MR) and we are actively working on it to further enhance the efficiency of the integration.

📚 Documentation preview 📚: https://griptape--812.org.readthedocs.build//812/

Thanks for the PR! Some of the team is traveling right now but we'll try to take a look next week.

Hi @hkhajgiwale. I am an engineer at Qdrant and found your PR. Thanks for contributing, I've left some comments for you to consider.

@collindutter All the requested changes have been incorporated.

@collindutter @vasinov Can you please approve this MR?

Thank you @hkhajgiwale. LGTM with the CI green.

Thanks @Anush008 for investing time and providing the valuable feedback

@vachillo @vasinov @collindutter Incorporated all the said changes. Kindly review

overall looks great, there's some changes needed for the example in the docs. all code snippets in the docs run as integration tests on a remote runner. the test needs to be updated to support that.

Fixed

looks great! one last request: please add
- `QdrantVectorStoreDriver` to integrate with Qdrant vector databases.

under Added in the CHANGELOG

Added in the changelog.


Adding in a settings option to toggle barrier on/off

This first of all locks the settings for vcpkg so that the build is consistent regardless of VS version.
Secondly, adds a new option to the extension setting called "Include barrier":

When checked, the addon will include barrier stats (so they show healing + barrier) on all the overlay windows, when disabled it is the same as the current behaviour.
Ideally this would be on the exclude menu on each window, but as far as I can tell this would require a more rework - as I don't think the combat event type is accessible with these checkboxes.

Some thoughts:

Could we make the option to include/exclude barrier generation per window rather than global? I imagine this would be much more useful since then you can keep both windows up at the same time and you could separate the two. Perhaps the proper place in the UI is under "stats exclude" and there you have an option for "healing" and one for "barrier generation"
1.b If we do that, maybe we could also paint the bars in the window based on how much you have of each? So if you do 70% healing and 30% barrier generation, we paint a bar that's 70% green then 30% beige?
1.c Let's maybe also add an option under the "Sort by" option where you can select to sort by barrier generation (ascending/descending)? And I guess one for healing + barrier as well ("Total outgoing" maybe?)
1.d Let's maybe also add a new window preset which is "Peers Barrier Generation"?
Can we try to consistently call it "barrier generation" rather than just "barrier" as I think it's unclear what means what. You can obviously pad your own stats quite a bit by just spamming barrier off cooldown but that's hardly being a good player, and it should be obvious to everyone reading the stats that they are seeing the barrier generation, not the used barrier (i.e. the generated and consumed barrier)

For the actual implementation on 1., I imagine you have to tag the events whether they are healing or barrier when storing them, but that shouldn't be too hard. Then aggregate all the barrier into a separate variable during the aggregation

Nice work btw, I'm surprised you can get something somewhat usable just by removing a few if cases, I didn't think about that at all 😄

I agree with your points around doing this per-window - and it's where I want it to head.
For now it functions, and my guild is going to test it in a few raids to confirm it's all working as expected, then I'll explore the option of doing it per window.
The per window I think will need a wider code change, perhaps having 3 healing totals - non-regen healing, all other healing, barrier - which can then be totaled for the window; but I'll need to review your code further to implement that change.
I'm away now for a week, so apologies, this is going to sit for a while.

Awesome, no worries

Also, just thinking out loud, in theory can't we work out if the barrier expired or was actually "used up"? I'm sure arcdps must throw events for that.

Maybe you can look at the timestamps in events and get something that's like 98% accurate. I haven't done anything like that historically but not really opposed to it, as long as we make it clear to the user about what the shortcomings are

I think it's easier than you make out.
Looking into this there is an area event "BarrierUpdateEvent" and that shows % increases/decreases of barrier.
I would consider any barrier that takes damage to be worthwhile (even if it's not fully used), so you can track all the barrier update events and the delta for the barrier they apply. If there is then a corresponding barrier update event where you have -delta the same you know the barrier expired naturally. If there isn't a corresponding event after the timeout of barrier then you know it was (at least partially) used up, and so I would track it.
It's not going to be perfect, but it gives you an idea of "impactful" barrier.

CBTS_BARRIERUPDATE is not in the live API
Besides, how would you track who generated the barrier referenced by that event?

And, of course, you still have the same issue that you need to order area events against local events, same as I described above

Hmm, trickier than I thought then!


Week 5 testing

Complete FindMeetingQuery.java in order to find acceptable meeting times based on the duration and the attendee's other meetings.

This is just the part where I get the algorithm to work. I am still working on the testing change portion of the assignment. I just thought I'd split up the pull requests.


Add no crossorigin for DataUrls and add crossorigin props if not a Da…

…taUrl is given in src, Adding crossorigin attribute to second image to avoid duplicate calls in case when crossorigin is specified. Image is then loaded twice from server
Hi @DominicTobias , sorry for this commit, but I think with your last commit the logic was changed, so that the crossorigin props was only added when the src was actually a DataUrl. The check changed from is it not a DataUrl to is it a DataUrl.
Or was it intentionally?
Closing issue #66

Whoops this was a mistake - thanks for the update


Support setting a single TENZIR_TOKEN for platform auth

The new tenzir.token option has the format
<tenant-id>:<api-key>[:<control-endpoint>], and has a higher precedence than the existing variables.

Closing this; I'll bring this back in the future.


cm:created in metadata file is overridden

cm:created in metadata file is overridden
Steps to Reproduce:
Bulk import a document with the following metadata file.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
  <entry key="cm:name">Design Submissions.pdf</entry>
  <entry key="namespace">http://www.alfresco.org/model/content/1.0</entry>
  <entry key="cm:modifier">abc</entry>
  <entry key="separator">,</entry>
  <entry key="cm:creator">abc</entry>
  <entry key="type">cm:content</entry>
  <entry key="cm:created">2016-03-29T09:07:15-04:00</entry>
  <entry key="parentAssociation">cm:contains</entry>
  <entry key="cm:modified">2016-05-31T14:46:07-04:00</entry>
</properties>

Expected Result:
In Share, browse to the document's Document Details page, "Created Date" should display the value as cm:created.
Actual Result:
Created Date shows a different value than cm:created.
Environment:
Alfresco <IP_ADDRESS>, JDK 1.8, MySQL 5.7, Alfresco Bulk Import 2.1.0

With 2 exceptions*, the BIT doesn't perform any processing of property values - they are passed to Alfresco verbatim.    Posting the support ticket # or JIRA # back here would be great, so that others running into this same issue can also track it.

the two exceptions are:

Date & datetime properties with the value "NOW" are converted into the server's current datetime
Multi-valued properties are split up (as required by Alfresco)

Peter,
I posed more details on the mailing list.
https://groups.google.com/forum/#!topic/alfresco-bulk-filesystem-import/L-cGLCeKhY8
It seems to be me that the issue is the calling of toPrefixString() method in FilesystemBulkImportItemVersion.java. Please review. Thank you.

Please attach that text here & reopen this bug report. Thanks.

Note: this may still be a regression in Alfresco, albeit in the toPrefixString method. The behaviour you're seeing should impact all properties, not just cm:created.

Copied from mailing list -
I debugged and traced it to FilesystemBulkImportItemVersion.java line 259 - cachedMetadata.getProperties().containsKey(ContentModel.PROP_CREATED.toPrefixString())
cachedMetadata has been loaded with key "cm:created" from the metadata file. It seems that here we are checking and skipping if the matching key is found. However, ContentModel.PROP_CREATED.toPrefixString() resolves to "created" instead of "cm:created". Thus, assuming no such key exists, it goes ahead and executes the section "// If not set in the metadata file, set the creation timestamp to what's on disk". Later in BatchImporterImpl.importVersionMetadata(), this value replaces/overrides the value from metadata file.
Maybe we should call toPrefixString() with a NamespacePrefixResolver to resolve the prefix "cm" instead of null? Thanks.

Regarding to "The behaviour you're seeing should impact all properties, not just cm:created.", the code in FileSystemBulkImportItemVersion specifically sets created time and modified time to what's on the disk if they are missing from metadata file.
By the way, I don't have the option to re-open the issue.

Oh weird - reopened.

Here's the relevant line of code.
Note also that the same issue exists for cm:modified.

I added a local NamespaceService and used it to call toPrefixString(). This worked in my test. I don't know this project's contributing policy but I attached the updated Java class here.
FilesystemBulkImportItemVersion.java.txt

Thanks!  The contributing guidelines are here - a PR would be ideal to ensure proper attribution.


bug: correctly combine words spanning multiple lines

The bug
When partitioning pdfs using auto strategy, some elements contain words that are split over multiple lines and have a dash. Even though line separators are removed in the final element.text, the dash remains.
Example:
When partitioning example-docs/layout-parser-paper-fast.pdf the word "distribution" in the numbered list spans multiple lines and is left broken in the combined list element:
(pdb) elements[22].text
'4. A DL model hub and community platform for the easy sharing, distribu- tion, and discussion of DIA models and pipelines, to promote reusability, reproducibility, and extensibility (Section 4)'

Note: though this ListItem passes through _combine_list_elements, it is not like the other list items in this document that were broken and needed to be combined (meaning the bug occurs somewhere earlier in the call stack).

Closing as inactive. Feel free to reopen if this is still a problem and you can provide a file that reproduces this behavior.

Still an issue:
from unstructured.partition.pdf import partition_pdf
elements = partition_pdf(filename="example-docs/pdf/layout-parser-paper-fast.pdf")
elements[22].text


Some questions for PLBART training and attack

Thanks for your interesting work.
I am facing some problems when trying to train the PLBART .

The first problem is: I notice you set the args.model_name_or_path equals to "../../checkpoint_11_100000.pt" both in trainning the PLBART and in attck, but i could not find this file.
The second problem is that the config declaration " config = argparse.Namespace(activation_fn='gelu', adam_betas='(0.9, 0.98)', adam_eps=1e-08, .......)" statement in run.py . i can not understand some parameters here just like 'data='/home/zzr/CodeStudy/Defect-detection/plbart/processed/data-bin''. Are these parameters required during fine-tuning?
I notice in the same statement, you set restore_file='/data2/cg/CodeStudy/PLBART/pretrain/checkpoint_11_100000.pt', Should I run this program first to get “checkpoint_11_100000.pt”?
Thank you very much, I am eager to get your answer!

You can download from this link: https://1drv.ms/u/s!AnLV9A1xwwEtvSIc11BPvEHO6VcX?e=qp0is7
For PLBART training, we completely reused the code from the ISSTA 22 work. You can refer to: https://github.com/ZZR0/ISSTA22-CodeStudy. I believe these parameters do not affect the model training.
Please use the file downloaded in the first point.


update packages

:x: Build TheIdServer 4.2.1-fix-dependencies1-0215 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/6e33af9530 by @)


NodeJS 8.9 images

Any chance to have the node 8.9 images available?
The 8.10 and 8.11 versions have a seg fault issue as you can check here https://github.com/nodejs/node/issues/19274, it was already solved but the release of 8.11.2 will take some days or weeks to land.

A CircleCI Node v8.9 image is available.
Here's a test build that uses it: https://circleci.com/gh/felicianotech/cci-testing-pub/635


Support language-specific user configuration

Is your feature request related to a problem? Please describe.
Different users might have different style preferences. For example, rustfmt lets the user specify their preferences in a rustfmt.toml file.
Preferences like comment width, layout of imports, etc. should be configurable to the user.
Describe the solution you'd like
Each language should specify which configuration options are available for that language, perhaps in languages.toml.
I see that indent is a configuration option that can be specified in languages.toml, however that wouldn't be dynamically configurable. What I have in mind could be something like this:
# languages.toml

[[language]]
name = "bash"
extensions = ["sh", "bash"]

# ... other languages

[[language]]
name = "rust"
extensions = ["rs"]

[language.config.indent] # A subtable for each configurable option
default = "    " # The default value for the option for rust, in this case 4 spaces
accept = [ " ", "  ", "    ", "    " ] # The possible values for the option. This indicates that it accepts 1, 2, or 4 spaces, or tab

User defined config:
# Topiary.toml - this would be a user-defined file that could be checked into a project that uses topiary as its formatter.

[[rust]]
indent = "  " # The user overrides the default indentation to be 2 spaces instead of 4.

Additionally, there would need to be a way to check the configuration options in the topiary query file, since the queries would look different depending on the config.
The main thing that would be needed is support for conditionals in topiary queries.
Describe alternatives you've considered
This could all be done in languages.toml using the -c option, however it wouldn't be language-specific. There are many user preferences that would make sense for some languages but not for others.
Without a way to do conditionals in the topiary scm, the types of user style preferences we can support are limited.
Additional context
I looked through the existing issues and didn't find anything that would allow the user to configure the formatter in this way.

Hej!
I'm not sure what you mean with languages.toml not being language specific or not being dynamically configurable. And in fact, topiary already supports reading a configuration file in the project.
Here is the applicable section of the README that describes topiary configuration: https://github.com/tweag/topiary#configuration Notably, topiary checks 3 locations for the configuration file, with later ones overriding the earlier ones. Assuming you are on a Linux distribution:

The builtin configuration file
The user configuration file in the OS's configuration directory so ~/.config/topiary/languages.toml
The project specific topiary configuration so .topiary/languages.toml which is searches for going up in the directory structure.

The languages.toml file is in fact language-specific. Topiary defaults to 2 spaces for indentation, and so every [[language]] block that doesn't mention indentation uses 2 spaces. Say you want to use a tab for json indentation instead of the default 2 spaces. You can create a file in ~/.config/topiary/languages.toml with the content:
[[language]]
name = "json"
indent = "\t"

Let me know if this addresses your concerns.

What I mean by language-specific is the options themselves. Currently, every language can override indent, right?
There are many formatter options that would only make sense in a certain language. For instance, merge_derives only makes sense for rust, array-callback-return only makes sense in JS/TS, etc.

If you set the indent in a language block, the indentation is only changed for that language. So above, only the indentation in json files would be changed.
Right now, there are no plans to include options for specific language due to the limited resources we have. For every such option we will likely look at the current most agreed upon (with some bias ofc) opinion among the members of that language's ecosystem, and apply that opinion.
As such, Topiary is more in spirit with ormolu than, say, rustfmt or clang-format.