place online to do shared coding for interview [closed] - livechat

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm giving a phone interview soon, and ideally, I'd like to see the candidate write some code in real time. Can anyone suggest a site where we can both go and he can type while I watch. (I'm behind a fairly strict corporate firewall, so a lot of basic chat services are blocked.)

Take a look at http://codeinterview.me. Similar to SeeMikeCode, but also gives the interviewee the option to install an IDE plugin (eclipse/intellij) which allows them to code in their IDE, while you watch in a browser.

I forget where i found this originally but it is quite nifty.
Seemikecode

For 2 people editing a text document (unfortunately, no syntax-highlight - color is for authorship):
http://typewith.me/
Trivial 1-click, 2-link setup
Two way editing with colors to identify who contributed each line
Line numbers
Indentation level preserved on ENTER
Undo / Redo / Save / Versions / etc
Export to Word / PDF / HTML / etc (to attach to HR interview feedback)
For 1 typer and 1 watcher (with good syntax highlighting):
http://codeinterview.me
Trivial 1-click, 2-link setup
Note on 2 typers: if you want both sides to be able to edit (eg, interviewer types in feedback), then both parties should click the "interviewee" link. This WORKS.
Plugins for Eclipse / Visual Studio / IDEA - optionally, the user can install an Eclipse plug-in to use that in place of the web editor and get the full fledged editing experience
Syntax Highlighting (with support for 14 languages, including CoffeScript)
No export functions (but you can copy / paste)

If you're not looking to see him compiling and such, why not just use a Google Wave or Google Docs with its live collaboration feature. If you're looking to actually share Visual Studio, you may need a service like WebEx or Microsoft Office Live Meeting.

Related

How to convert Word documents to PDF without formatting issues [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 months ago.
Improve this question
I need to convert Word documents to PDF in a Django application. The user uploads a Word document template. The application should then do a mail merge based on data in the database and save the PDF.
The volume can be quite substantial - up to 50000 in a batch.
I've tried various libraries including Aspose and I found formatting issues with all of them. It just doesn't look the same compared to opening the real Microsoft Word and saving as a PDF.
It seems like my only option is to automate Microsoft Word from a .NET application.
Since my application runs on a Linux server, I would need to create a separate asp.net application with Word installed. The app then takes the word document as input and returns the PDF.
I'm confident I can get it to work, but it feels like a big hack and not sure how well it will handle 50000 PDFs. It seems like there should be better ways but I can't find it? I'm also wondering if this will create a licensing issue.
Any ideas will be appreciated.
You should note, to properly layout and render MS Word document to PDF or any other fixed page format (XPS, Image etc) the fonts used in the document are required. If Aspose.Words cannot find the required fonts, the missed fonts are substituted according to substitution rules. Font substitution might affect document layout. You can implement IWarningCallback to get a warning when font substitution is performed.
Since you are running conversion on Linux, most likely, MS fonts are not available there by default and you should install the required fonts. Alternatively, you can simply copy the required fonts into some folder and specify true type fonts location in FontSettings. I believe installing the required fonts will resolve formatting issues on your side.

Asking for an approch to start building an Analysis app for top management industrial company [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I want your suggestions to start a simple software developement.
I'm an intern student and i want to build, preferably, something that can be acceced with a user authentication to a specific number of users < 5 so that each one of them can access the analysis of the data that concerns him. Preferably :
I want my users to get to the app through the browser
The users are those who will provide data to the app through an upload file button so this latter can output the whole analysis
the app should have a professional look
I'm supposed to work with these four-five peapole to determine what they want to see so i can prepare all the analysis code that corresponds to the right feeded data. genrally the data will have csv excel format.
I've start working with R shiny then I built a single shiny app for control and mangement director that contains a dahsboard with analysis/viZ elements. Then i figured out that I cannot add the feature of multiple users and neither the authotication feature. then I've start learning django but i realized that it's quite harder to do it in a month. I searched for django-plotly-library but I always hesitate to work and learn until the end.
well, now i'm open to learn anything that can solve this issue. I've been hesitating for a month to choose the right technology. I appreciate your suggestions and remarks.
Django User's Guide gives you most of the answers, mainly regarding the authentication. https://docs.djangoproject.com/en/3.2/topics/auth/
Corey Schafer does high quality videos, here on the authentication:
https://www.youtube.com/watch?v=q4jPR-M0TAQ
For the professional look : bootstrap + django-crispy-forms, it's very convenient.
To upload data: https://www.youtube.com/watch?v=vs6dXL9Wp7s&t=882s
In terms of Django it is completely possible to modify data served to each user. You can do it with the use of permissions or even with the use of front technologies such as filtering data.
"the app should have a professional look" is such a general statement I don't think there is anything to be suggested. If you want for this app to look "professional" you can try using some react templates such as react-admin.
Django has builtin auth system and it is highly configurable. But if you want that "industry standard" frontend you should write your backend in DRF and add React/Vue/Svelte etc.

sitecore, setting language based on country or keyboard [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
How can I set the default language based on Country and/or keyboard using the sitecore framework?
I take your point that you would expect an out of the box solution, but in fact the requirements are often perculiar to the project. That said, here are some thoughts
Creating a custom language resolver is probably the best approach.
First Attempt
I normally start by trying to use the the browser language preferences (HttpRequest.UserLanguages), which might supply the whole 2-part language 'en-GB', or sometimes just the basic language 'en'.
If this gave you the whole language, then your're done. Just get the system language with the with the same name.
If it gave you the basic language only, you need to get the country somehow.
If it didn't give you anything. You need to get the country, and find a default language for that country.
Getting the Country
If you go with the MaxMind option, you should probably use the the GeoLite version locally, as you can't rely on the DMS Geo IP lookup being performed in a timely manner.
If the lookup is successful, and you already had a basic language then you should now have 2-part language to compare against your system languages.
If the lookup was successful, but you don't have basic language, then you need to get a default. In the past, I have created a 'Language Mapping' template with 2 fields. A 'Country code' text field, and a 'Language' droplink source to the list of system language. When you have obtained the country code, you simply look it up in your mapping items, and set the context language accordingly.
Some things to consider
Remember you need to have some sort of fallback for when the lookups haven't worked.
Perhaps store the language as a cookie, so the lookup is not done every time.

PDF Form Generation [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have an ASP.NET 4.0 Web Application that needs to create application forms for insurance. Basically, the program loads a PDF Template, populates the form fields, then flattens and closes the PDF. The templates are small when I create them from Word (about 156k for 5 pages) but each form field added to the template via Adobe Acrobat adds about 5-10k to the overall file size. Unfortunately, these pages have a whole lot of form fields (200+), and the end result tends to be about half a MB to a 1 MB per page.
Can anyone suggest an alternate application, usable dynamically from an ASP.NET webpage, that can do a similar job but maintain a smaller file size? It doesn't need to be a free component, but it does need to have a way for me to create a template from a word document but not use Office automation to populate the word doc and save as PDF. My preference would also be that it deal with streams and not files, but that is a minor consideration for me in the circumstances.
Take a look at ABCpdf, I'm pretty sure it can handle what you're looking for
It might be worth looking at Docmosis. You can use word documents as templates to populate and produce PDF and other outputs. Because of the way it works, the document size will not "explode" as you have indicated is a problem with a large number of fields with your current scenario. ASP.NET can invoke Docmosis in various ways depending on your application's runtime environment. Docmosis offers online web-services which have minimal footprint/requirements for an application environment as well as downloadable and embeddable options. It is commercial (I work for the company that created it) and has no Office Automation requirements.
Hope that helps.
You might try Docotic.Pdf library for this.
The library can be used to fill existing fields from code or by importing FDF files.
The library can not flatten form fields but you can make fields read-only or protect the whole document from changes with permissions.
Here are some sample that might be useful:
Fill existing form
Import FDF data
Find control by name
Permissions
Disclaimer: I work for the vendor of the library.

What is your method of "folksonomy" tagging for files on your local machine? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Way back in the days when "delicious" was just "del.icio.us", I had assumed that everyone had finally caught on that Ontology is overrated.
So why am I still having to roll my own tagging system using sqlite and a bunch of ruby scripts in order to address this obvious deficiency on my own local machine? I can tag on-line web links, blog posts, questions on stackoverflow.com, and all kinds of web-centric miscellany, but this very basic concept still seems to be missing (or hideously crippled) in the few operating systems I get to use. Perhaps I am just using the wrong OSs?
From what I've seen out there, the pickins' seem pretty slim.
What do you use?
The BeOS operating system already did this in 1991, before it became fashionable on the web – in fact, the web didn't even exist then. There's several successors, reimplementations and filesystems inspired by the BeFS out there. Some operating systems that include them are magnussoft ZETA (discontinued successor to BeOS, uses the original BeFS), Haiku OS (open source clone of BeOS, formerly known as OpenBeOS, uses an open source reimplementation of BeFS, called OpenBeFS), SkyOS (proprietary commercial BeOS-inspired operating system, using a fork of OpenBeOS) and Syllable (BeOS-inspired open source OS, formerly called AtheOS, using a BeFS-inspired fileystem called AtheOS FS).
I don't know but I agree. I ended up putting together a MySQL database to handle mine. (mostly for organizing JPEG photos)
I don't use tags, I just don't have the discipline to do it all the time. I find that searching, using a desktop search tool like Copernic Desktop Search, works the best for me.
I find that if I have to enter the data, to find the files then I won't do it. It takes too much time to think of good tags and apply them. I find it much easier to just drop my stuff into a hierarchy I can remember and be done with it. The hierarchy might not be perfect, and it may take slightly longer to find stuff, but it's better than spending tons of time entering tags for every file I create.
There are some partial tagging solutions for GNOME/Nautilus that you might be interested in.
If you install python bindings for Nautilus you can then install the tracker-tags-tab extension which allows you to set tag properties on files of your choice and then have them come up in a search using Tracker.
Have a look at http://svn.gnome.org/svn/tracker/trunk/python/nautilus/ and the python-nautilus package.
Emacs Org Mode:
youtube google tech talk
http://pages.stern.nyu.edu/~marriaga/software/oyepa/
ugly, but it works....also, there is find;)

Resources