Questions tagged [compass]

1

votes
1

answer
892

Views

Mongodb compass hanging in ubuntu

When I open mongodb-compass from my ubuntu desktop, it hangs immediately. I have tried reinstalling and installing numerous times and have also tried with different versions. All of them seem to have the same problem. Ubuntu -16.04
lightbringer
1

votes
2

answer
40

Views

Remove all the spaces at the bottom of elements

I was wondering if there is a better way to do this. I have to remove all the padding and margin at the bottom of all html elements that are before the footer, so that I can add an specific margin between the footer and the last element. Here is the HTML
Monica
1

votes
0

answer
29

Views

About the algorithm of reading sensor data in compass driver mmc3x30.c?

I am working to bring up the mmc3630kj at msm8909. The driver code is in drivers/input/misc/mmc3x30.c. But I do not understand about the reading data function 'mmc3x30_read_xyz'. What the algorithm of calculating the tmp.x tmp.y and tmp.z? I have no idea about it? Could anyone can give me some notes...
Chris
1

votes
0

answer
55

Views

Get query error message in Mongo Compass

I'm trying to run the following query in MongoDB Compass. So obviously there is an error with the project field but I don't see a way of running the query anyway or to show an error message to help me understand where the problem is.
DODMax
1

votes
0

answer
33

Views

How to copy css from Developers Tool if using Compass

I just started using Compass for my style. I used to edit my css in the developers tool then copy paste it in my css file but in compass, it is not applicable. In Compass, we edit on a sass file then compile it to css that is red by the html. Is there any way to still used this even using the compas...
Urek Mazino
1

votes
0

answer
47

Views

Windows UWP Sensor API: Compass Heading vs Display Orientation

In Windows Mobile devices (tablet and phone), the programmer must consider the device or the display orientation respectively to treat the compass heading correctly. In Microsofts UWP documentation there is a table with the compass heading in dependence of the display orientation as follows: However...
Tom
1

votes
1

answer
374

Views

Access compass data in Mobile Web / HTML5

I'm making AR Mobile Web App, and my current goal is to show some events on the camera screen. For example, if there is fire in direction north from me, I want to point phone to north, and fire logo should be visible there. My problem is - how can I get the absolute compass data? I've tried this Jav...
Coelacanth
1

votes
1

answer
842

Views

MongoDB Compass - How To Insert Date Type?

When inserting a document into a MongoDB database with MongoDB Compass how do I insert the current date? I have tried like so: But as you can see there is an error. How do I insert the current date using MongoDB Compass?
BugHunterUK
1

votes
1

answer
273

Views

Web Font Sass Mixin Issue

I'm trying to import a web font using a sass mixin with the following extensions, .eot, .woff, .ttf Here are the fonts file location. For some reason the font is not rendering? I'm unsure why. Here is my SASS mixin: @mixin font-face($font-family, $file-path) { @font-face { font-family: $font-famil...
Filth
1

votes
1

answer
108

Views

Jenkins grunt compass ENOENT No such file or directory @ realpath_rec

I am working on an existing project to replace bower with yarn and upgrading angularjs from 1.2.9 to 1.3.0 I've got it working on my local system but it fails on jenkins when running deploy grunt task with a filepath issue, the weird thing is on jenkins it complains with my local path Errno::ENOENT...
Subash
1

votes
0

answer
2.6k

Views

Aggregate method in MongoDB Compass?

as stated in the title i'm having some problems querying from MongoDB Compass using the aggregate methhod. I have a collection of documents in this form: {'Array':[{'field':'val','field2':'val2'},{'field':'val','field2':'val2'},{'field':'val','field2':'val2'},{'field':'val','field2':'val2'},{'field'...
1

votes
0

answer
34

Views

Android compass not working while the vehicle is moving

I am trying to figure out how to point the device marker where the user is heading. I tried the code below to get the bearing angle between the true north and where the user is heading. Once the bearing is found, I would apply it to the device marker and rotate it based on that bearing, but it only...
JayB
1

votes
0

answer
39

Views

Can MongoDB Compass be embedded into a Web Page?

Would it be possible to embed the GUI from MongoDB Compass into a Web Page with a static URL and full access to the MongoDB database? For instance could it be displayed on a Confluence page and if it's possible, would this require an extra license or any other implication? I'm asking because the Cli...
dfarnsworth71
1

votes
0

answer
24

Views

Move left, right or continue walking while following an CLLocation destination in iOS + objective c

I have to point the arrow to the defined destination location (in my sample code it's CLLocation with latitude 70.0 and longitude -50.0) and guide the user saying 'Great! continue walking' if the user is moving with 5 degrees left or right of the pointer and 'You are going the wrong direction. Move...
Simant
1

votes
0

answer
432

Views

I am experiencing trouble while installing mongodb compass on ubuntu?

I am trying to download mongodb compass from the following steps: Download the package: wget https://downloads.mongodb.com/compass/mongodb-compass_1.12.5_amd64.deb; Installing Compass: sudo dpkg -i mongodb-compass_1.12.5_amd64.deb; But the last command returns error which is as follows: dpkg: error...
Umar
1

votes
0

answer
96

Views

Access Privacy > Location Services > System Services > Compass Calibration from app

ARKit has a big problem in that if 'Compass Calibration' is disabled in user settings, GravityAndHeading breaks, and there's no way to guide a user to turning it back on. Further, it seems that for whatever reason, iPhone X's running iOS 12 have this turned off by default. Is it possible to openUrl:...
Aidan Wolf
1

votes
1

answer
643

Views

Mongodb Compass export data with sort

I am able to sort data in compass, but my problem is when I export, I don't get it sorted and I can't find where can I apply sort upon exporting data? As you can see here I am filtering with {name: 'SelectedProduct'} and I am sorting with {name: 1}: But in the export collection dialog for the same f...
Ali El Khateeb
1

votes
0

answer
35

Views

Sass::Importers to load from an alternative fallback folder

I'm trying to use a frontend project as a git submodule so i can use it as fallback import path if there is no file in the current project. On the config.rb of the assets/sass/ folder, one simple line is required: add_import_path '../../frontend/assets/sass/' This way, if no file exists on the asset...
Elías Fernández
1

votes
0

answer
174

Views

MongoDB Query - Filter only works with “_id”

I'm using mongodb v4.0.3, and this happens both with the shell and in compass. This only happens with a certain collection. It previously had overriden ids (instead of the default mongodb id, there was a string. I dropped the collection and I recreated it without that). I have the following structur...
user3743211
1

votes
0

answer
199

Views

Can't connect to mongoDB: Mongo error { Error: querySrv ENODATA

My set-up consists of Node.js on Express on the back-end connected to mongoDB through mongoose. When I start the server, I get this error: Mongo error { Error: querySrv ENODATA `database_hostname` at errnoException (dns.js:55:10) at QueryReqWrap.onresolve [as oncomplete] (dns.js:243:19) code: 'ENODA...
Eduard
1

votes
0

answer
25

Views

Grunt can't find “compass.bat” binary

When I try to execute the command: grunt build I get the following warning: Warning: Couldn't find the `compass.bat` binary. Make sure it's installed and in your $PATH Use --force to continue. Aborted due to warnings. I've checked and I have ruby and compass properly installed on my computer and the...
João Silva
1

votes
2

answer
138

Views

gem install compass - Failed to build gem native extension

gem install compass - Failed to build gem native extension, as shown below within Terminal: johnlove% gem install compass ERROR: Error installing compass: ERROR: Failed to build gem native extension. [THE BASICS] [Macintosh:~] johnlove% which ruby /usr/bin/ruby [Macintosh:~] johnlove% which sass /u...
John Love
1

votes
1

answer
260

Views

Fedora 29 MongoDB Compass install Segmentation fault Core dump

I tried installing MongoDB Compass but got Segmentation fault core dump. Installed an earlier version which got me up and running. (1) wget https://downloads.mongodb.com/compass/mongodb-compass-1.14.1.x86_64.rpm (2) sudo dnf install mongodb-compass-1.14.1.x86_64.rpm (2.5) yes to all (3) mongodb-comp...
hreinn
1

votes
1

answer
73

Views

Can't find gem compass (>= 0.a) with executable compass

I can't get PhpStorm to work with a relative installed bundler package. I´m using bundler with following gemfile: source 'http://rubygems.org' gem 'susy', '~>2.2.14' gem 'sass', '~>3.4.22' gem 'compass', '~> 1.1.0.alpha.3' gem 'breakpoint', '~>2.5.0' gem 'font-awesome-sass', '~>4.6.2' At the PhpSto...
ntiedt
1

votes
2

answer
1.3k

Views

iPhone SDK Point to a specific location

I'm trying to develop an application that use the GPS and Compass of the iPhone in order to point some sort of pointer to a specific location (like the compass always point to the North). The location is fixed and I always need the pointer to point to that specific location no matter where the user...
lnetanel
1

votes
1

answer
1.2k

Views

use compass-lucene as caching technique

Any example of scenarios other than doing search for which I could use 'compass'? Lets say we have a page that list top 10 most view article. How to use compass to show this kind of results. Any demo/sample project on this to refer to? definitely Jira would be a good example but its source code is n...
cometta
1

votes
2

answer
622

Views

How do I make Rack::Reloader re-load changes to haml files?

My jruby rack sinatra compass haml app correctly reloads changes to *.rb files, but does not detect changes to *.haml files. Is this compass doing some caching or a limitation of Rack::Reloader? Any pointers to how to fix?
Ben Hogan
1

votes
2

answer
1.5k

Views

What is the correct usage of blueprint-typography-body([$font-size])?

Recent convert to RoR and I've been using Compass w/ Blueprint to dip into the proverbial pool. Compass has been fantastic, but I've come across something strange within the Typography library. The blueprint-typography-body mixin contains the following: =blueprint-typography-body($font-size: $bluepr...
Alexis Abril
1

votes
1

answer
344

Views

trouble using compass with rails

I am trying to use compass for the first time in my rails app. compass v. 0.10.5, haml v. 3.0.10 Although I say @import 'compass' at the top of my sass file, compass does not seem to get loaded. As a test, I can't use 'border-radius' on a div. The installation seems to be correct and the files in t...
Paul
1

votes
3

answer
6.4k

Views

Compass and Accelerometer precision

i made my own application in Android that use compass and accelerometer sensors to display the degrees of rotation and inclination of my device. I initialized all the listener and objects i needed (i followed some tutorials), and now i can catch the degrees as i wished. The problem is that the measu...
McKracken
1

votes
1

answer
3k

Views

Android compass example does not seem to work in landscape mode

I have developed a compass based on this example: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/Compass.html Since my app only operates in landscape mode so will the compass. However, it seems as this code does not function correctly in landscape mode....
per_jansson
1

votes
1

answer
284

Views

CompassQuery - leave only keywords, no aliases or operators

I have following piece of code: CompassQuery suggested = hits.getSuggestedQuery() String displayedSuggestion = suggested.toString(); If just do that I get nasty string with aliases and query operators: +(alias:item) field:keyword1 OR field:keyword2 How do I get simple sitring like this?: keyword1 k...
Mat B.
1

votes
1

answer
5.4k

Views

SASS Compass Linear Gradients with px color stops & webkit

@include linear-gradient(color-stops(#e2e2e2, #fff 600px), top); will generate something like background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #e2e2e2), color-stop(100%, #ffffff)); ^ this is not 600px Also I learnt from this post that in webkit I should be using something li...
Jiew Meng
1

votes
1

answer
105

Views

Rails3.How do I see the errors when I use Compass?

Rails 3. I installed compass and I started to modify application.html.haml to convert it from erb to haml. So far, it does not work. When I refresh the page the layout do not get rendered. It just render the contents of the controllers' view (which is erb). It is the first time I use Compass, so pr...
Nerian
1

votes
1

answer
284

Views

Compass Lucene indexing PhantomReadLock error

I'm using MySQL to store Compass indexes, with Tomcat on RHEL, but when I shut down Tomcat and restart my indexing process, this error is thrown while indexing, and indexing fails: PhantomReadLock unable to obtain lock, write.lock/customer-index Maybe because I shut down Tomcat, this error occurs i...
cherit
1

votes
1

answer
424

Views

Do android photo's store compass information in metadata, if not how could it be done?

Just wondering , is there a way of storing the compass information of your phone when you take a photo, Ideally the direction the person is facing when the photo will be recorded. How would i go about implementing this in android Edit added the ExifInterface does not store data based on the compass...
molleman
1

votes
1

answer
642

Views

Why is Asset Pipeline trying to compress my CSS twice (or not compressing at all)?

After upgrading our Compass-powered app to Rails 3.1.1.rc1 and Asset Pipeline, I've started getting 'regexp buffer overflow' error when trying to precompile stylesheets locally. I've discovered that ScssCompressor was receiving already precompiled stylesheet and thus failing on a more complex regexp...
Damir Zekić
1

votes
1

answer
813

Views

Rails 3.1 error 406 response when downloading web fonts

I'm having problems serving web fonts through Rails 3.1, within a Spree 0.70 application using compass (which I don't think should make a difference) I have a scss file which contains the declarations: @font-face { font-family: 'RokkittRegular'; src: font_url('fonts/store/rokkitt-font/Rokkitt-webf...
purpletonic
1

votes
2

answer
3.2k

Views

assetic exception when using assetic:dump and compass with symfony2

I have a few scss files imported into a larger one using scss's @import statement. When trying to dump the assets I get the following exception: $ php app/console assetic:dump --force --verbose Dumping all dev assets. Debug mode is on. [file+] sf_project/app/../web/js/f389f05.js sf_project/src/Theat...
maiwald
1

votes
1

answer
398

Views

Image paths in Compass CSS on Windows

I've been using SASS and Compass successfully on my Windows 7 x64 machine. Everything was working fine until I tried using the replace-text-with-images mixin. I placed the image I'm trying to use in the correct place (t:\Website\stylesheets\stylesheets\images for my system), and checked that relati...
ezuk

View additional questions