Questions tagged [embedding]

An embedding is one instance of some structure contained within another instance, such as a group that is a subgroup.

An embedding is one instance of some structure contained within another instance, such as a group that is a subgroup.

Links:

1356 questions
5
votes
3 answers

Linking Tensorboard Embedding Metadata to checkpoint

I'm using the tflearn wrapper over tensorflow to build a model, and would like to add metadata (labels) to the resultant embedding visualization. Is there a way to link a metadata.tsv file to a saved checkpoint after the fact of running it? I've…
5
votes
2 answers

tf.contrib.layers.embedding_column from tensor flow

I am going through tensorflow tutorial tensorflow. I would like to find description of the following line: tf.contrib.layers.embedding_column I wonder if it uses word2vec or anything else, or maybe I am thinking in completely wrong direction. I…
user1700890
  • 7,144
  • 18
  • 87
  • 183
5
votes
5 answers

Prevent a user from closing an application that is opened through a C# program

I have a old command line based program (its fortran if that matters) that is opened from a C# application when a user clicks a button. If the command line program is shut down while it is running data becomes corrupted. Is there any way to…
Pieces
  • 2,256
  • 5
  • 25
  • 39
5
votes
3 answers

Embed many graphics using an array

In AS3 you can embed a graphic into a Class variable: [Embed(source="MenuAssets.swf", symbol="topSquare")] public var TopMenuItem:Class; I have hundreds of assets in this one website project I'm doing, so I want to embed assets into an…
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
5
votes
1 answer

JSON-LD framing with optional properties?

How to define some properties as "optional" in JSON-LD context? I created simple example of the problem. Here is the same example in JSON-LD Playground. This is the example data: { "@context": { "ex": "http://example.org/ex#", "foaf":…
amiika
  • 115
  • 4
5
votes
1 answer

Different methods of embedding a page

We provide a third-party site to clients. Frequently when we are handling an RFP, we are asked if it is possible to embed our site within our client's site. Many of our prospective clients have unusual limits or requests, such as 'do not use…
Jeff
  • 2,835
  • 3
  • 41
  • 69
5
votes
1 answer

Allow users to embed my content into their sites (like blogs) -- rails 4

I'm building a Rails 4 app, and what I want to do is offer my users the option to embed my content onto their own sites (like their blog) via embeddable code. In other words, I want to have an erb page with some content on it, and a button that…
ruby_n00b
  • 63
  • 1
  • 4
5
votes
3 answers

Embed python in c++: choose python version

I've been searching an answer to my question for quite a while but none of the ones that I have found seems to solve my problem. I'm trying to embed Python within my C++ code with the functionalities provided by Python (Python.h, Py_xxx functions,…
alex_m
  • 51
  • 1
  • 2
5
votes
2 answers

Confusing return value from embedded application

I'm trying to invoke one app from another in C++. The embedded app is subject to segmentation faults due to syntax errors from an input file, so the outer program would be responsible for re-running the inner, and logging failures. My immediate idea…
Innkeeper
  • 663
  • 1
  • 10
  • 22
5
votes
1 answer

rhino embedding

Anyone understands the rhino javascript Contexts? I cannot find any useful documentation about it. My main problem is the Context.exit() (really should be cx.exit()) which from what I understand exits the context associated with the current…
neheh
  • 61
  • 1
  • 4
5
votes
1 answer

Is Haskell Embeddable?

I'm wanting to know if it's possible to develop applications in or on Haskell to Windows Mobile, also if there is any version of hugs or ghci for Windows Mobile. Thanks.
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
5
votes
0 answers

PDFs in HTML pages: is PDF.js safe for production?

I'm researching ways to reliably view PDF files from with HTML pages on our site. I've found many references to PDF.js, which looks really cool, but has almost zero documentation. Development appears to be active, but I can't tell if it's a…
emersonthis
  • 32,822
  • 59
  • 210
  • 375
5
votes
3 answers

How do I embed IPython with working generator expressions?

Certain list comprehensions don't work properly when I embed IPython 0.10 as per the instructions. What's going on with my global namespace? $ python >>> import IPython.Shell >>> IPython.Shell.IPShellEmbed()() In [1]: def bar(): pass ...: In…
joeforker
  • 40,459
  • 37
  • 151
  • 246
5
votes
2 answers

First attempt at lazy loading (deferring the load of embedded YouTube videos) - how can I do this more gracefully?

Yesterday I decided to improve the way my website loads YouTube videos by only embedding them when a user requests them. Sometimes a page could have as many as 30 videos on, and this would take a long time to load. This is the first time I've…
James Donnelly
  • 126,410
  • 34
  • 208
  • 218
5
votes
1 answer

create new None object in embedded python

I am writing a simple C wrapper for a Python module. What I need to do is create a new PyObject* that represents None. I can't figure out how to do this. Is there a simple function that will return a PyObject* pointing to None, similar to how…
ewok
  • 20,148
  • 51
  • 149
  • 254