text
stringlengths
454
608k
url
stringlengths
17
896
dump
stringclasses
91 values
source
stringclasses
1 value
word_count
int64
101
114k
flesch_reading_ease
float64
50
104
public class ScmUrlImportDescription extends Object EXPERIMENTAL. This class has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the Team team. clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait public ScmUrlImportDescription(String url, String project) public String getProject() public String getUrl() public URI getUri() public void setUrl(String url) public void setProperty(String key, Object value) key- property key value- property value or nullto remove the property public Object getProperty(String key) nullif none. key- property key null Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.
https://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/team/core/ScmUrlImportDescription.html
CC-MAIN-2019-39
refinedweb
122
56.66
The ndarray objects can be saved to and loaded from the disk files. The IO functions available are − load() and save() functions handle /numPy binary files (with npy extension) loadtxt() and savetxt() functions handle normal text files NumPy introduces a simple file format for ndarray objects. This .npy file stores data, shape, dtype and other information required to reconstruct the ndarray in a disk file such that the array is correctly retrieved even if the file is on another machine with different architecture. The numpy.save() file stores the input array in a disk file with npy extension. import numpy as np a = np.array([1,2,3,4,5]) np.save('outfile',a) To reconstruct array from outfile.npy, use load() function. import numpy as np b = np.load('outfile.npy') print b It will produce the following output − array([1, 2, 3, 4, 5]) The save() and load() functions accept an additional Boolean parameter allow_pickles. A pickle in Python is used to serialize and de-serialize objects before saving to or reading from a disk file. The storage and retrieval of array data in simple text file format is done with savetxt() and loadtxt() functions. import numpy as np a = np.array([1,2,3,4,5]) np.savetxt('out.txt',a) b = np.loadtxt('out.txt') print b It will produce the following output − [ 1. 2. 3. 4. 5.] The savetxt() and loadtxt() functions accept additional optional parameters such as header, footer, and delimiter.
https://www.tutorialspoint.com/numpy/numpy_with_io
CC-MAIN-2020-05
refinedweb
247
56.76
Render Online Forms with ASP.NET MVC Display Templates and The Code Generator—Part 1 Jan Lenoch — Nov 9, 2016 mvcformdevelopmentbest practices This how-to article explains how Kentico Online Forms are included in the Dancing Goat ASP.NET MVC 5 sample site by using best practices. Those practices include usage of the view model design pattern, the repository pattern, strongly typed MVC display templates, partial views, and the System.ComponentModel.DataAnnotations attributes. The second part of the article will introduce a new community project—a Kentico module that would further automate the implementation of Kentico Online Forms (and possible other FormEngine data) in MVC sites. The second part of this article will also tell you how to create a new Online Form in Kentico from scratch and how to include it in an MVC site. Note: The article was adjusted to support Kentico 10! Here you can navigate to the Part 2 of this article. One of the best use cases for MVC is displaying well-structured, strongly-typed data. In Kentico, an example of such data is Online Forms’ items. The idea behind this article is: Why should a developer write lots of code when there is built-in functionality, in both MVC and Kentico, that can save him/her from custom coding? Let me explain some of the basics of MVC, how our Dancing Goat MVC sample site is implemented, and how Online Forms play in the big picture of the sample site and Kentico platform. A Bit of ASP.NET MVC Background In contrast to ASP.NET Web Forms, ASP.NET MVC allows the developer to have full control over the emitted HTML code. But, at the same time, it allows the leveraging of the easy-to-use display templates and editor templates for any model that is passed to the view by the controller. For MVC beginners, the simplest description of those templates would be: A display/editor template is an HTML/Razor or C# code that is designed for rendering the HTML code of a specific .NET model class. There are pre-defined templates in the MVC stack and the developer can also create her/his own templates. Once a class appears in the (view) model, MVC gets the associated template (using naming conventions) and renders it automatically. There is an older but excellent article series on the topic written by Brad Wilson. Brad is a former Microsoft employee who had taken part in the development of MVC and xUnit. The series is short (five parts, about an hour of study) and it is literally a prerequisite to this article. It is, indeed, very good reading material! A Short Excerpt of the Articles For those that still wish to be teased into reading the series, the following text is the shortest possible excerpt of the articles. With the following model: public class Contact { public string FirstName { get; set; } public string LastName { get; set; } public int Age { get; set; } } … and the following view: @model Contact @Html.DisplayFor(model => model.FirstName) @Html.DisplayFor(model => model.LastName) @Html.DisplayFor(model => model.Age) … the resulting HTML would look like: Almost no other coding is necessary. And the same can be done with just: @model Contact @Html.DisplayForModel() And when the DisplayFor or DisplayForModel is replaced with EditorFor or EditorForModel, the output looks like the following: ASP.NET MVC knows the type of each component of the model and chooses a display template or editor template automatically. Moreover, the true beauty of MVC comes with System.ComponentModel.DataAnnotations. When the model gets decorated with the DataAnnotations attributes, MVC is smart enough to handle most of the formatting and validation with minimum to no effort. For example, if we added a newly decorated property: [EmailAddress] public string Email { get; set; } … then, MVC would not only render it as a hyperlink but, in editor mode, enforce all the required validation rules for an email address format. There is an example in Brad’s articles of all that can be achieved just by using the built-in ASP.NET MVC and the DataAnnotations functionality, without any custom HTML, Razor or C# code involved: To fully customize the HTML, all that’s needed is to add a display/editor template file into the proper folder in the MVC site. If the model consists of other models (by using composition or aggregation), MVC will handle that. All that’s needed is to define how deep (or shallow) the rendering should be. This was just a teaser for Brad’s series. I really recommend reading it first. Otherwise, the following text wouldn’t be able to show the real power of it. A Bit of Kentico Background On the Dancing Goat MVC sample site (DG for short), the pages are rendered with the help of generated model classes of the content only Page Types. Apart from these classes, there are also artifacts such as HTML helper methods, view models, repositories, or an IoC container in play. It can be seen that the DG site follows the best practices in the industry and, of course, all other MVC solutions can follow them too. Before we get to the Kentico module, let me quickly explain how the DG site processes pages. Then, I’ll also demonstrate that an Online Form is also treated with these above-mentioned artifacts, just like the other data in the page. Then I’ll show that with Online Forms, the editor templates and DataAnnotations really start to shine. The Process of Rendering Pages The overall process of displaying an MVC page can be captured in the following diagram. The diagram shows the basic scenario of a GET request. Legend: The controller accepts a GET request and selects the appropriate ActionResult method When the data properties in the controller have to be instantiated, the IoC container decides which specific repository type will be instantiated The IoC container then returns the appropriate data to the repositories The controller gets those repository models from the repositories and compiles a view model out of them The controller selects the appropriate view with some potential partial views The controller puts the view model data into the view and returns the resulting HTML code to the user agent For a detailed explanation, I will now use an existing page in the DG site as an example, the Contacts page. It displays both: an Online Form and the ordinary text and images of the page. In the DG site, the Contacts page is handled by the ContactsController controller class. The GET request is handled by the Index() action result method. This method (and its back-end methods) builds its view model, selects the default view, and passes the view model into it. The View Model Design Pattern The concept of a view model is not proprietary to Kentico. It is a general best-practice design pattern. Its purpose is to compose a well-structured package of data that is only required by a particular view. In the background, the index view model of the Contacts page is composed of models for the company’s contact information, cafes, and the message model. The message model is the representation of our Online Form. The GetIndexViewModel() method loads data from repository fields created using the Inversion of Control design pattern (IoC). Again, neither the repository pattern nor the IoC are proprietary. Kentico’s DG site just follows the industry’s best practices. The Repository Design Pattern This pattern allows us to decouple things and abstract from the specifics of the data source, which serves the data to the controller class. It works in close alignment with the IoC pattern (see below). In plain English, instead of instantiating the class generated in the Page Types application, the controller instantiates repository classes (with the help of the IoC and repository model classes). The controller then doesn’t have to know anything about Kentico and the developer can let the application swap Kentico classes with any others. The Inversion of Control (IoC) and Dependency Injection (DI) Design Patterns The aspirations of this paragraph is not to describe IoC and DI in full. It will just be described how IoC is used in this case to implement dependency injection. The idea behind IoC and DI is that the data in the fields shouldn’t always be of a specific class that’s retrieved from the database. These patterns were invented so that the methods of one class (the controller class in our case) should be usable (testable) with other data coming from some in-memory, XML or other data sources. An IoC container can be instructed to persist parts of the site’s content using mock classes into .csv files or, for example, through Entity Framework. The container can dynamically select data sources depending on the current context (development versus production, running on Azure versus running in Amazon, etc.) It works in the way that the controller class contains private read-only, interface-defined fields that can be instantiated only through the constructor. Then there’s a parametrized constructor that accepts data conforming to interface that both the database-originated class and the test-data-originated class implement. And in the background, there is an IoC container (AutoFac in our case) that intercepts and handles all requests for constructing objects. Upon each instantiation request, it passes the appropriate objects of appropriate specific repository classes to the controller’s constructor, depending on the current context (production/test runs). In the DG project, there are repository classes that implement the interfaces in the way that they simply map the properties of repository models to the respective properties of the classes generated in the Page Types application in the Code tabs of various page types (café, contact, country, etc.) So, the overall point of the repository pattern is to decouple from the specifics of Kentico or a database engine. And the point of IoC is that the IoC container listens in the application to fill the controller fields with repositories conforming to a common interface. All the above design patterns are not only used to display data off the Kentico database, but also in the opposite direction – to gather data via Online Forms and put them to the database. The Implementation of the Online Form The form is represented by the mFormItemRepository field. Its class binds the properties of the MessageModel repository model class to the DancingGoatMvcContactUsItem class’s properties at runtime. The view of the Contacts page includes a partial view of the Online Form. The view model has the Message property of the aforementioned type MessageModel. The _SendMessage.cshtml partial view belonging to the form has this simple code: @model DancingGoat.Models.Contacts.MessageModel @using (Html.BeginForm("SendMessage", "Contacts")) { @Html.AntiForgeryToken() <div class="FormPanel"> @Html.ValidationSummary(true, "", new { @ </div> } The MessageModel repository model class looks like this: using System.ComponentModel.DataAnnotations; namespace DancingGoat.Models.Contacts { public class MessageModel { [Display(The "Contact us" form data.</param> public void InsertContactUsFormItem(MessageModel message) { var item = new DancingGoatMvcContactUsItem { UserFirstName = message.FirstName, UserLastName = message.LastName, UserEmail = message.Email, UserMessage = message.MessageText, }; item.Insert(); } } } There is almost no other code in the project that deals with HTML formatting or the validation of this form. There’s just the ValidatedEditorFor() HTML helper extension method mentioned in the above partial view. But it is just a wrapper of helper methods for a label, editor control, and validation message. Nothing else. So this is the beauty of ASP.NET MVC display/editor templates: very feature-rich, out- of-the- box functionality that has absolutely no constraints while also offering easy to use display templates with all the strongly typed goodness such as IntelliSense™. Final Words The article (together with Brad Wilson’s articles linked above) showed how flexible and extremely rapid the MVC development can be when using the display/editor templates and the DataAnnotations attributes. The article also explained how the Kentico Dancing Goat MVC sample site uses the industry best practices: view models, repositories, and IoC. I’ve also shown which artifacts in the DG site were used for processing page data, with relation to Online Forms. Teaser for Part 2 Be sure to check out Part 2 of this article in the upcoming weeks. I’ll prepare a preview version of a Kentico module that can generate the repository model code and partial view code of Online Forms created in Kentico administration UI. I’ll publish the project on GitHub so that we all can contribute to it! Applies to: Kentico 9, Kentico 10.
https://devnet.kentico.com/articles/render-online-forms-with-asp-net-mvc-display-templates-and-the-code-generator%E2%80%94part-1
CC-MAIN-2021-04
refinedweb
2,091
52.7
Created on 2013-03-23.12:36:20 by seletz, last changed 2014-05-22.00:33:21 by zyasoft. The readline.py add_history() contains a typo. --- readline.py.orig 2013-03-23 13:33:09.000000000 +0100 +++ readline.py 2013-03-23 13:33:13.000000000 +0100 @@ -94,7 +94,7 @@ _reader.history.clear() def add_history(line): - _reader.addToHistory(line) + _reader.history.addToHistory(line) def get_history_length(): return _reader.history.maxSize Hi Philip, a cursory look at this makes me agree that it is a typo, but I don't know much about this code (I see your name by it in the repo history). Does this look correct to you? If so I'll be happy to correct it. I don't recall ever working on this file before but it looks reasonable AFAICT just some background on this issue -- last Saturday I tried to run IPython (master) using Jython (also master). This was *one* bug I ran into. The patch is obviously correct IMHO, as the reader.history object *has* a addToHistory() method which actually does what the method name suggests ;) BTW -- hitting "reply" on tracker mails does bounce -- is that intended? This was fixed by Jeff Allen in 7115:6231c3bbcd90, along with a substantial refactoring in general.
http://bugs.jython.org/issue2030
CC-MAIN-2015-35
refinedweb
210
61.93
Get the highlights in your inbox every week. 4 essential characteristics of successful APIs | Opensource.com 4 essential characteristics of successful APIs An API needs to do much more than "just work." opensource.com Subscribe now If you are building an application that uses some variation of a client/server model, you need an application programming interface (API). An API is a clearly defined boundary between one process and another. A common boundary in web applications is a REST/JSON API. While developers may be mainly focused on making the API work (or function), there are some "non-functional" requirements that need their attention. Four must-have non-functional requirements for all APIs are: - Security - Documentation - Validation - Testing Security Security is an essential requirement in software development. There are four areas for API developers to include regarding security: - HTTPS/SSL certificates - Cross-origin resource sharing - Authentication and JSON Web Tokens - Authorizations and scopes 1. HTTPS/SSL certificatesThe gold standard for the web is HTTPS using SSL certificates, and Let's Encrypt can help you achieve this. It is a free, automated, and open certificate authority from the non-profit Internet Security Research Group (ISRG). Let's Encrypt's software generates central authority certificates for your domain. These certificates ensure payloads of data from your API to the client are encrypted from point to point. Let's Encrypt supports several deployment options for certificate management; check out its documentation to find the right solution for your needs. 2. Cross-origin resource sharing CORS is a browser-specific security policy preflight check. If your API server is not in the same domain as the requesting client's domain, you will need to deal with CORS. For example, if your server is running on api.domain-a.com and gets a client request from domain-b.com, CORS sends an HTTP precheck request to see if your API service will accept client-side requests from the client's domain. "Cross-origin resource sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any other origins (domain, scheme, or port) than its own from which a browser should permit loading of resources." There are many helper libraries for Node.js to help API developers with CORS. 3. Authentication and JSON Web Tokens There are several approaches to validate an authenticated user in your API, but one of the best ways is to use JSON Web Tokens (JWT). These tokens are signed using various types of well-known cryptographic libraries. When a client logs in, an identity-management service provides the client with a JWT. The client can then use this token to make requests to the API. The API has access to a public key or a secret that it uses to verify the token. There are several libraries available to help verify tokens, including jsonwebtoken. For more information about JWT and the libraries that support it in every language, check out JWT.io. import jwt from 'jsonwebtoken' export default function (req, res, next) { // req.headers.authorization Bearer token const token = extractToken(req) jwt.verify(token, SECRET, { algorithms: ['HS256'] }, (err, decoded) => { if (err) { next(err) } req.session = decoded }) } 4. Authorizations and scopes Authentication (or identity verification) is important, but so is authorization, i.e., does the verified client have the privilege to execute this request? This is where scopes are valuable. When the client authenticates with the identity management server and a JWT token is created, having the identity management service provide the scopes for the given authenticated client can enable the API service to determine if this verified client request can be performed without having to perform an additional costly lookup to an access control list. A scope is a text block (usually space-delimited) that describes the access capability of an API endpoint. Normally, scopes are broken down between Resources and Actions. This pattern works well for REST/JSON APIs since they are very similarly structured in a RESOURCE:ACTION format (e.g., ARTICLE:WRITE or ARTICLE:READ, where ARTICLE is the resource and READ and WRITE are the actions). This allows the API to focus on function and not roles or users. The identity access management service can relate roles and users to scopes, then provide the scopes to the client in a verified JWT. Summary When building and deploying APIs, security should always be one of the most important requirements. While security is a broad topic, addressing these four areas will position your API well for production environments. Documentation What's worse than no documentation? Outdated documentation. Developers have a love–hate relationship with documentation. Still, documentation is a crucial part of an API's definition of success. Developers need to know how to use the API, and the documentation you create plays a huge role in educating developers on how to best use it. There are three areas to focus on in API documentation: - Developer onboarding (READMEs) - Technical reference (Specifications) - Usage (Getting started and other guides) 1. Developer onboarding When building an API service, you need to specify things like: What does the API do? How do you set up a developer environment? How do you test the service? How do you submit an issue? How do you deploy it? The usual way to answer these questions is with a README file. It is the file in your code repository that gives developers a starting point for working with your project. A README should contain: - A description of the API - Links to technical references and guides - How to set up the project as a developer - How to test the project - How to deploy the project - Dependency management - Contribution guide - Code of conduct - License - Gratitude Be concise in your README; you do not have to explain every aspect but give enough information so that developers can drill deeper as they become familiar with your project. 2. Technical reference In a REST/JSON API, every endpoint is a specific function with a purpose. It is important to have technical documentation that specifies each endpoint; defines the description, inputs, and outputs that can occur; and provides examples for various clients. REST/JSON has a specification standard called OpenAPI, which can guide you through the details required to document an API. OpenAPI can also generate presentation documentation for your API. 3. Usage Your API's users want more than just technical specifications. They want to know how to use your API in specific situations or cases. Most potential users have a problem and they are looking to your API to solve it. A great way to introduce users to your API is with a "getting started" page. This can walk the user through a simple use case that gets them up to speed quickly on the benefits of your API. Summary Documentation is a key component of any successful API. When creating documentation, think about the three areas of focus—onboarding, technical, and usage—cover those bases, and you will have a well-documented API. Validation One of the most often overlooked aspects of API development is validation. Validation is the process of verifying input from external sources. These sources might be a client sending JSON or a service responding to your request. More than just checking types, ensuring that the data is what it is supposed to be can eliminate many potential problems. Understanding your boundaries and what you do and don't have control over is an important aspect of validation. The best strategy is to validate at the edges before your logic takes place. When a client sends your API some data, apply validation before you do anything else with that data. Make sure an email is an actual email address, a date is properly formatted, a string meets length requirements. This simple check will add safety and consistency to your application. Also, when you receive data from a service, like a database or a cache, revalidate it to make sure the returned result meets your data checks. You can always validate by hand or use utility function libraries like Lodash or Ramda. These work great for small data objects. Validation libraries like Joi, Yup, or Zod work even better, as they contain common validations that can save time and effort and create a very readable schema. If you need something language-agnostic, look at JSON Schema. Summary Validation is not sexy, but it can save a ton of time that would otherwise be spent troubleshooting and writing data migration scripts. Don't make the mistake of trusting your client to send clean data; you don't want bad data leaked into your business logic or persistent data store. Take the time and validate your API endpoints and service responses. While it may cause some frustration upfront, it is much easier to loosen the reigns than to tighten them later. Testing Testing is a best practice for software development and should be a primary non-functional requirement. Defining a test strategy can be a challenge for any project, including APIs. Always understand your constraints and define your strategy accordingly. Integration testing is one of the most effective methods for testing APIs. In this pattern, the development team creates a test to cover some part of the application flow, from one specific point to another. A great integration test flow includes testing the API's entry point and mocking the request point to the service. By picking those two points, you cover the entire logic, from the beginning of the API request to the service request, and the mock service gives you a response to hand back to the API response. Although it uses mocks, this method allows you to focus on the code in the logic layer and not depend on back-end services or presentation logic to run the test. Having no dependencies makes running the test much more reliable, easier to automate, and simpler to include in your continuous integration pipeline. One setup I use for integration testing uses Tape, Test-server, and Fetch-mock. These libraries enable me to run isolated tests against API endpoints from the request to the response, with Fetch-mock catching the outbound request to the persistence layer. Summary While all types of testing and type checking are beneficial to APIs, integration testing offers the largest benefit in terms of effectiveness vs. time to build and manage. Using tools like Fetch-mock can provide clean mocking scenarios at the service boundary. Focus on the fundamentals As you design and build your application and API, make sure to include these four fundamentals. These are not the only non-functional requirements to consider; others include application monitoring, logging, and API management. Even so, security, documentation, validation, and testing are crucial focus points for designing and building a successful API for any use case.
https://opensource.com/article/21/5/successful-apis
CC-MAIN-2022-05
refinedweb
1,802
54.52
After yesterday’s musings on a “component store” for Ubuntu developers, a few people said “hm that sounds interesting, how would it work?” So I’ve thrown together a little demo. I should be clear: this is a demo. It’s not a component store; it’s not for real use; you can’t add things to it; you can’t use it in your apps. This is just enough of a test implementation to allow people to talk about whether this is a good idea or not. None of the code I’ve written would be used in a real implementation, if such a thing existed: I don’t do any error checking, I don’t have any tests. It’s just to give a demo of what I think the developer experience of a component store might be like if it existed, which it does not. First you need the utility which searches the store, which is called ucs. Get it with bzr branch lp:~sil/+junk/ucs-cli. You now have a utility named ucs which can search the component store for components you might find useful in your apps. Next, an app which uses it. Grab a demo with bzr branch lp:~sil/+junk/ucs-demo-app. You can now load that app into the Ubuntu SDK editor, or just run it from the command line with qmlscene ucs-demo-app/UCSDemoApp.qml. If you do that, you’ll see that it’s missing components: UCSDemoApp.qml:3 "ubuntu_component_store": no such directory. So, the app needs components and they aren’t installed, which is correct. Change to the app’s folder and run ucs install.1 $ cd ucs-demo-app $ ucs install Installing RedButton and now the app should work: qmlscene UCSDemoApp.qml shows an app with a red button in it. If you look at the source of the app in the ucs-demo-app folder, you’ll see two things that make it different from a stock app: import "ubuntu_component_store"at the top of UCSDemoApp.qml. This includes components installed from the UCS into the app. You don’t need to individually name the components you import: just import "ubuntu_component_store". The app can then use all the components it asks for, such as the RedButton {}QML Item. there is an ubuntu_component_store.jsonfile in the app’s folder. This ships with the app, and it describes the components that this app uses. Basically, it is JSON like this: { dependencies: { RedButton: "*" }}, describing that this app requires a component called RedButtonand doesn’t care about its version number (hence "*"). So the process for working on an app which uses components from the store is: get the app source, then ucs install. That will install all the components that the app requires, and then you can start hacking on the app. The process for developing an app which needs components: if you want to add a component to your app-in-progress, then ucs list will show the list of all components (which in this demo is one, RedButton), and ucs install RedButton will install that component2 and update ubuntu_component_store.json to add it to your dependency list. So when developing, just ucs install ComponentINeed, and then make sure that ubuntu_component_store.json is checked into source control and that the ubuntu_component_store/ folder isn’t checked in. Those of you who have worked with node.js and npm will be thinking: this looks a lot like npm. You are not wrong. I think that that’s an excellent model for building projects. There will be people who say “but what if I want the same component in two projects but I don’t want to have it on my disk twice?” Ignore these people. Make a component store which works on a project-by-project basis; it’s so much nicer. Clearly there’d need to be a bunch more work on all this: ucs search and ucs submit and ucs remove and a web UI to browse everything and API specifications and server scaling and re-running ucs install after you install a component in case that component itself has dependencies and deciding what happens if two components in the same project have the same dependency and actually paying attention to version numbers and, and, and. There’s a bunch of integration which could be done with the Ubuntu SDK editor: if your app ships with an ubuntu_component_store.json file, then run ucs install when you open it. Ship ucs with the SDK. Automatically add ubuntu_component_store/ to bzr ignore. Provide a graphical browser for the list of components. This is not an implementation: it’s a demo. A real version would need a decent amount of thought. I don’t know whether this would actually take off. I don’t know whether there are sufficient people developing reusable components for Ubuntu apps to justify it. But I think that, if there are, then this might be a good way for someone to go about it. - fill in a path to the ucsutility wherever you branched it, of course, or put it on your $PATH↩ - from wherever the store says it’s hosted. This RedButtoncomponent is on github, mainly because ucsdownloads a zip file of the component and github helpfully provides them for you, which Launchpad doesn’t. Note that I think that components should not themselves be uploaded to the store; the store just stores a URL for them. ↩
https://www.kryogenix.org/days/2014/02/16/more-on-an-ubuntu-component-store/
CC-MAIN-2019-04
refinedweb
911
64
----------------------------------------------------------------------------- -- | -- the transaction tries to commit, -- this update remains invisible to other threads until the corresponding -- onCommit action is dispatched. -- -- *) -- -- Note: If you /really/ need to access the 'TVar' within an onCommit action -- (e.g. to recover from an IO exception), you can use 'writeTVarAsync'. -- onCommit :: IO () -> m () -- | Retries the transaction and uses 'unsafeIOToSTM' to fork off a -- thread that runs the given IO action. Since a transaction might be rerun -- several times by the runtime system, it is your responsibility to -- ensure that the IO-action is idempotent and releases all acquired locks. unsafeRetryWith :: IO () -> m b -- | See 'S.orElse' orElse :: m a -> m a -> m a -- | See 'S.retry' retry :: m a -- | See 'S.check' check :: Bool -> m () -- | See 'S.alwaysSucceeds' alwaysSucceeds :: m a -> m () -- | See 'S.always' always :: m Bool -> () -- | Reads a value directly from the TVar. Does not block when the -- onCommit actions aren't done yet. NOTE: Only use this function when -- you know what you're doing. readTVarAsync :: TVar a -> m a -- | Writes a value directly to the TVar. Does not block when -- onCommit actions aren't done yet. This function comes in handy for -- error recovery of exceptions that occur in onCommit. writeTVarAsync :: TVar a -> a -> m () -- | See 'OldTVar.newTVar' newTVar :: a -> m (TVar a) -- --StateT f m = StateT $ \s -> let a = evalStateT m s in do r <- f a return (r,s) instance MonadAdvSTM m => MonadAdvSTM (StateT s m) where onCommit = lift . onCommit unsafeRetryWith = lift . unsafeRetryWith orElse = mapStateT2 orElse retry = lift retry check = lift . check -- Note: The state modifications of the invariant action -- are thrown away! alwaysSucceeds = liftAndSkipStateT alwaysSucceeds always = liftAndSkipStateT always catchSTM m h = StateT (\r -> catchSTM (runStateT m r) (\e -> runStateT (h e)WriterT2 :: (m (a, w) -> n (b, w) -> o (c,w)) -> WriterT w m a -> WriterT w n b -> WriterT w o c mapWriterT2 f m1 m2 = WriterT $) instance (MonadAdvSTM m, Monoid w) => MonadAdvSTM (WriterT w m) where onCommit = lift . onCommit unsafeRetryWith = lift . unsafeRetryWith orElse = mapWriterT2 orElse retry = lift retry check = lift . check --ReaderT2 :: (m a -> n b -> o c) -> ReaderT r m a -> ReaderT r n b -> ReaderT r o c mapReaderT2 f m1 m2 = ReaderT $ \r -> f (runReaderT m1 r) (runReaderT m2 r) instance MonadAdvSTM m => MonadAdvSTM (ReaderT r m) where onCommit = lift . onCommit unsafeRetryWith = lift . unsafeRetryWith writeTVarAsync tvar = lift . writeTVarAsync tvar readTVarAsync = lift . readTVarAsync writeTVar tvar = lift . writeTVar tvar readTVar = lift . readTVar newTVar = lift . newTVar --------------------------------------------------------------------------------
http://hackage.haskell.org/package/stm-io-hooks-0.6.0/docs/src/Control-Monad-AdvSTM-Class.html
CC-MAIN-2017-17
refinedweb
399
67.35
TLF problem with flex_sdk_4.0.0.10485gauravk.pandey Mar 2, 2010 2:05 AM Hi All, I have just written a simple As class using flex builder3 and flex_sdk_4.0.0.10485 surprisingly it shows a dozen of errors my simple class is package { import flash.display.Sprite; import flashx.textLayout.compose.StandardFlowComposer; import flashx.textLayout.container.ContainerController; import flashx.textLayout.elements.ParagraphElement; import flashx.textLayout.elements.SpanElement; import flashx.textLayout.elements.TextFlow; public class HelloWorld extends Sprite { public function HelloWorld() {(); } } } the error lis in Flex builder: Severity and Description Path Resource Location Creation Time Id 1084: Syntax error: expecting rightbrace before BusyCursor. DemoTLF line 17 1267524161015 177 1084: Syntax error: expecting rightbrace before end of program. DemoTLF line 53 1267524161015 178 1084: Syntax error: expecting rightparen before s. DemoTLF line 17 1267524161000 174 1093: Syntax error. DemoTLF line 17 1267524161000 175 1094: Syntax error: A string literal must be terminated before the line break. DemoTLF line 17 1267524161015 176 I did'nt get whats going wrong any help would be highly appriceated 1. Re: TLF problem with flex_sdk_4.0.0.10485rdermer Mar 2, 2010 9:54 AM (in response to gauravk.pandey) I'm guessing that its choking on the Vector declarations in playerglobals. Make sure you are targetting player10. With FlexBuilder 3 I recall that was a bit tricky - first turn on generate HTML wrappers if it iisn't already. But then maybe its something else. Hope that helps, Richard 2. Re: TLF problem with flex_sdk_4.0.0.10485Rezmason Mar 2, 2010 10:09 AM (in response to gauravk.pandey) It sounds like your IDE is building more than just the HelloWorld example, and that the error is in some other file. Have you searched for a class called "DemoTLF"? If you're in Flex, do a multi-file search. "DemoTLF" doesn't sound like something they'd put in the SWC. 3. Re: TLF problem with flex_sdk_4.0.0.10485gauravk.pandey Mar 2, 2010 8:25 PM (in response to rdermer) Hi , Richards thanks for your reply, I am targeting the flash player 10 and generate HTML wrappers is allrady turn on , can you help me that anything else causing it. Thanks Gaurav kumar pandey 4. Re: TLF problem with flex_sdk_4.0.0.10485robin.briggs Mar 2, 2010 9:03 PM (in response to gauravk.pandey) By default it will use the SDK that comes with Flex Builder, you will need to add the new SDK, and select it as your target Flex SDK, if you haven't already. That will ensure that it is using the correct version of the compiler when it builds. I don't remember exactly how this is done, but I think if you select "Preferences" there will be an option, perhaps under "ActionScript" for installing the Flex SDK. I would suggest checking to make sure this is done. 5. Re: TLF problem with flex_sdk_4.0.0.10485gauravk.pandey Mar 4, 2010 3:08 AM (in response to robin.briggs) Thanks, Robin , for ur help I got this , I was pointing the flex sdk which is else in my hard disk rather then Flex/builder/sdks What i did i just copy the latesst sdk into Flexbuilder/sdks and this working fine Thanks for helping again Gaurav Kumar Pandey
https://forums.adobe.com/thread/587917
CC-MAIN-2017-22
refinedweb
547
67.35
Learn how to build and train Neural Networks using the most popular Machine Learning framework for javascript, TensorFlow.js. Learn how to build and train Neural Networks using the most popular Machine Learning framework for javascript, TensorFlow.js. This is a practical workshop where you'll learn "hands-on" by building several different applications from scratch using TensorFlow.js. If you have ever been interested in Machine Learning, if you want to get a taste for what this exciting field has to offer, if you want to be able to talk to other Machine Learning/AI specialists in a language they understand, then this workshop is for you. Thanks for reading ❤ If you liked this post, share it with all of your programming buddies! ☞ Machine Learning A-Z™: Hands-On Python & R In Data Science ☞ Machine Learning In Node.js With TensorFlow.js ☞ Machine Learning in JavaScript with TensorFlow.js ☞ A Complete Machine Learning Project Walk-Through in Python ☞ Top 10 Machine Learning Algorithms You Should Know to Become a Data Scientist Graph data can be used with a lot of learning tasks contain a lot rich relation data among elements. For example, modeling physics system, predicting protein interface, and classifying diseases require that a model learns from graph inputs. Graph reasoning models can also be used for learning from non-structural data like texts and images and reasoning on extracted structures. Machine Learning Cheat Sheets Machine Learning with Emojis Cheat Sheet Scikit Learn Cheat Sheet Scikit-learn is a free software machine learning library for the Python programming language. It features various classification, regression and clustering algorithms including support vector machines is a simple and efficient tools for data mining and data analysis. It’s built on NumPy, SciPy, and matplotlib an open source, commercially usable — BSD license Scikit-learn Algorithm Cheat Sheet. If you like these cheat sheets, you can let me know here.### Machine Learning: Scikit-Learn Algorythm for Azure Machine Learning Studios Scikit-Learn Algorithm for Azure Machine Learning Studios Cheat Sheet Data Science with Python Cheat Sheets TensorFlow Cheat Sheet TensorFlow is a free and open-source software library for dataflow and differentiable programming across a range of tasks. It is a symbolic math library, and is also used for machine learning applications such as neural networks. If you like these cheat sheets, you can let me know here.### Data Science: Python Basics Cheat Sheet Python Basics Cheat Sheet Python is one of the most popular data science tool due to its low and gradual learning curve and the fact that it is a fully fledged programming language. PySpark RDD Basics Cheat Sheet .” via Spark.Aparche.Org NumPy Basics Cheat Sheet NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays. ***If you like these cheat sheets, you can let me know ***here. Bokeh Cheat Sheet .” from Bokeh.Pydata.com Karas Cheat Sheet. Padas Basics Cheat Sheet Pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series. It is free software released under the three-clause BSD license. If you like these cheat sheets, you can let me know here.### Pandas Cheat Sheet: Data Wrangling in Python Cheat Sheet Matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPy. It provides an object-oriented APIf. Pyplot is a matplotlib module which provides a MATLAB-like interface matplotlib is designed to be as usable as MATLAB, with the ability to use Python, with the advantage that it is free. Data Visualization with ggplot2 Cheat Sheet Big-O Cheat Sheet Special thanks to DataCamp, Asimov Institute, RStudios and the open source community for their content contributions. You can see originals here:. By the end of this video tutorial, you will have built and deployed a web application that runs a neural network in the browser to classify images! To get there, we'll learn about client-server deep learning architectures, converting Keras models to TFJS models, serving models with Node.js, tensor operations, and more! ⭐️Course Sections⭐️ ⌨️ 0:00 - Intro to deep learning with client-side neural networks ⌨️ 6:06 - Convert Keras model to Layers API format ⌨️ 11:16 - Serve deep learning models with Node.js and Express ⌨️ 19:22 - Building UI for neural network web app ⌨️ 27:08 - Loading model into a neural network web app ⌨️ 36:55 - Explore tensor operations with VGG16 preprocessing ⌨️ 45:16 - Examining tensors with the debugger ⌨️ 1:00:37 - Broadcasting with tensors ⌨️ 1:11:30 - Running MobileNet in the browser Deep Learning Using TensorFlow. In this TensorFlow tutorial for professionals and enthusiasts who are interested in applying Deep Learning Algorithm using TensorFlow to solve various problems. In this TensorFlow tutorial for professionals and enthusiasts who are interested in applying Deep Learning Algorithm using TensorFlow to solve various problems. TensorFlow is an open source deep learning library that is based on the concept of data flow graphs for building models. It allows you to create large-scale neural networks with many layers. Learning the use of this library is also a fundamental part of the AI & Deep Learning course curriculum. Following are the topics that will be discussed in this TensorFlow tutorial: In this TensorFlow tutorial, before talking about TensorFlow, let us first understand what are tensors. **Tensors **are nothing but a de facto for representing the data in deep learning.?What is TensorFlow? **TensorFlow **is a library based on Python that provides different types of functionality for implementing Deep Learning Models. As discussed earlier, the term TensorFlow is made up of two terms – Tensor & Flow: In TensorFlow, the term tensor refers to the representation of data as multi-dimensional array whereas the term flow refers to the series of operations that one performs on tensors as shown in the above image. Now we have covered enough background about TensorFlow. Next up, in this TensorFlow tutorial we will be discussing about TensorFlow code-basics.TensorFlow Tutorial: Code Basics Basically, the overall process of writing a TensorFlow program involves two steps: Let me explain you the above two steps one by one: So, what is a computational graph? Well, a computational graph is a series of TensorFlow operations arranged as nodes in the graph. Each nodes take 0 or more tensors as input and produces a tensor as output. Let me give you an example of a simple computational graph which consists of three nodes – a, b & c as shown below: **What is TensorFlowTensorFlow Code BasicsTensorFlow UseCase ** Basically, one can think of a computational graph as an alternative way of conceptualizing mathematical calculations that takes place in a TensorFlow program. The operations assigned to different nodes of a Computational Graph can be performed in parallel, thus, providing a better performance in terms of computations. Here we just describe the computation, it doesn’t compute anything, it does not hold any values, it just defines the operations specified in your code. Let us take the previous example of computational graph and understand how to execute it. Following is the code from previous example: import tensorflow as tf # Build a graph a = tf.constant(5.0) b = tf.constant(6.0) c = a * b Now, in order to get the output of node c, we need to run the computational graph within a session. Session places the graph operations onto Devices, such as CPUs or GPUs, and provides methods to execute them. A session encapsulates the control and state of the *TensorFlow *runtime i.e. it stores the information about the order in which all the operations will be performed and passes the result of already computed operation to the next operation in the pipeline. Let me show you how to run the above computational graph within a session (Explanation of each line of code has been added as a comment): # Create the session object sess = tf.Session() #Run the graph within a session and store the output to a variable output_c = sess.run(c) #Print the output of node c print(output_c) #Close the session to free up some resources sess.close() Output: 30 So, this was all about session and running a computational graph within it. Now, let us talk about variables and placeholders that we will be using extensively while building deep learning model using TensorFlow.Constants, Placeholder and Variables In TensorFlow, constants, placeholders and variables are used to represent different parameters of a deep learning model. Since, I have already discussed constants earlier, I will start with placeholders. A TensorFlow constant allows you to store a value but, what if, you want your nodes to take inputs on the run? For this kind of functionality, placeholders are used which allows your graph to take external inputs as parameters. Basically, a placeholder is a promise to provide a value later or during runtime. Let me give you an example to make things simpler: import tensorflow as tf # Creating placeholders a = tf. placeholder(tf.float32) b = tf. placeholder(tf.float32) # Assigning multiplication operation w.r.t. a & b to node mul mul = a*b # Create session object sess = tf.Session() # Executing mul by passing the values [1, 3] [2, 4] for a and b respectively output = sess.run(mul, {a: [1,3], b: [2, 4]}) print('Multiplying a b:', output) Output: [2. 12.] **What is TensorFlowTensorFlow Code BasicsTensorFlow UseCase ** Now, let us move ahead and understand – what are variables? In deep learning, placeholders are used to take arbitrary inputs in your model or graph. Apart from taking input, you also need to modify the graph such that it can produce new outputs w.r.t. same inputs. For this you will be using variables. In a nutshell, a variable allows you to add such parameters or node to the graph that are trainable i.e. the value can be modified over the period of a time. Variables are defined by providing their initial value and type as shown below: var = tf.Variable( [0.4], dtype = tf.float32 ) **Note: ** **What is TensorFlowTensorFlow Code BasicsTensorFlow UseCase ** Constants are initialized when you call tf.constant, and their value can never change. On the contrary, variables are not initialized when you call tf.Variable. To initialize all the variables in a TensorFlow program, you must explicitly call a special operation as shown below: init = tf.global_variables_initializer() sess.run(init) Always remember that a variable must be initialized before a graph is used for the first time. Note: TensorFlow variables are in-memory buffers that contain tensors, but unlike normal tensors that are only instantiated when a graph is run and are immediately deleted afterwards, variables survive across multiple executions of a graph. Now that we have covered enough basics of TensorFlow, let us go ahead and understand how to implement a linear regression model using TensorFlow.Linear Regression Model Using TensorFlow Linear Regression Model is used for predicting the unknown value of a variable (Dependent Variable) from the known value of another variables (Independent Variable) using linear regression equation as shown below: Therefore, for creating a linear model, you need: So, let us begin building linear model using TensorFlow: Copy the code by clicking the button given below: #]})) Output: [ 0. 0.40000001 0.80000007 1.20000005] The above stated code just represents the basic idea behind the implementation of regression model i.e. how you follow the equation of regression line so as to get output w.r.t. a set of input values. But, there are two more things left to be added in this model to make it a complete regression model: **What is TensorFlowTensorFlow Code BasicsTensorFlow UseCase ** Now let us understand how can I incorporate the above stated functionalities into my code for regression model. A loss function measures how far apart the current output of the model is from that of the desired or target output. I’ll use a most commonly used loss function for my linear regression model called as Sum of Squared Error or SSE. SSE calculated w.r.t. model output (represent by linear_model) and desired or target output (y) as: y = tf.placeholder(tf.float32) error = linear_model - y squared_errors = tf.square(error) loss = tf.reduce_sum(squared_errors) print(sess.run(loss, {x:[1,2,3,4], y:[2, 4, 6, 8]}) Output: 90.24 As you can see, we are getting a high loss value. Therefore, we need to adjust our weights (W) and bias (b) so as to reduce the error that we are receiving. TensorFlow provides optimizers that slowly change each variable in order to minimize the loss function or error. The simplest optimizer is gradient descent. It modifies each variable according to the magnitude of the derivative of loss with respect to that variable. #Creating an instance of gradient descent optimizer optimizer = tf.train.GradientDescentOptimizer(0.01) train = optimizer.minimize(loss) for i in range(1000): sess.run(train, {x:[1, 2, 3, 4], y:[2, 4, 6, 8]}) print(sess.run([W, b])) Output: [array([ 1.99999964], dtype=float32), array([ 9.86305167e-07], dtype=float32)] So, this is how you create a linear model using TensorFlow and train it to get the desired output.
https://morioh.com/p/d53a9bde1027
CC-MAIN-2020-10
refinedweb
2,219
53.51
Walkthrough: TDD Support with the Generate From Usage Feature in VS 2010 (Lisa Feigenbaum) Lisa As part of the October VS 2010 CTP, we also shipped a set of walkthrough documents explaining how to use the product to experience the new features. The CTP was released as a Virtual PC image, and can be a pretty hefty download to undertake. So for those of you just interested to know what’s there, reading the walkthroughs can be a good alternative! Below is the combined VB/C# walkthrough for “Generate From Usage”. Please tell us your feedback on this new IDE feature, either at the end of this blog post or at the following forum: Thanks, Lisa Walkthrough: TDD Support with the Generate From Usage Feature This walkthrough demonstrates how to use the new Visual Studio 2010 Generate From Usage feature that supports Test-Driven Development (TDD). TDD is an approach to software design in which you first write unit tests based on the product specifications, and then write the source code required to make the test succeed. Visual Studio 2010 supports TDD by generating new types and members in your source code when you first reference them in your test cases. Visual Studio 2010 generates the new types and members with minimal interruption to your workflow. You can create stubs for types, methods, properties, or constructors without leaving your current location in code. When you invoke a dialog box to specify options for type generation, the focus returns immediately to the current open file when the dialog box closes. In the release version of Visual Studio 2010, the Generate From Usage feature can be used in conjunction with any test framework that integrates with Visual Studio. In this walkthrough, the Microsoft Unit Testing Framework is demonstrated. To set up a project and test project 1. In Visual C# or Visual Basic, create a new Windows Class Library project and name it GFUDemo_VB or GFUDemo_CS, depending on which language you have chosen. 2. In Solution Explorer, right-click the solution icon at the top, point to Add, and then click New Project to open the Add New Project dialog box. In the Project Types pane on the left, click Test. 3. In the Templates pane on the right, click Test Project and accept the default name of TestProject1. 4. Click OK to close the Add New Project dialog box. You are now ready to begin writing tests. To generate a new class from a unit test 1. The test project contains a file named UnitTest1. Double-click this file in Solution Explorer to open it in the Code Editor. Locate the declaration for class UnitTest1 and rename it to AutomobileTest. Locate TestMethod1 and rename it to DefaultAutomobileIsInitializedCorrectly. Inside this method, create a new instance of a class named Automobile. Notice that a wavy underline immediately appears, indicating a compile-time error, along with a smart tag under the type name. Also notice that the exact location of the smart tag varies, depending on whether you are using Visual Basic or C#, as shown in the following illustrations: 2. Rest the mouse pointer over the smart tag to see the error message that indicates that no type named Automobile has been defined yet. Click the smart tag or press CTRL+. (CTRL+period) to invoke the Generate From Usage context menu, as shown in the following illustration: 3. Now you have two choices. You can click Generate Class ‘Automobile’ to create a new file in your test project and populate it with an empty class named Automobile. This option provides the quickest way to create a new class type in a new file with default access modifiers in the current project. However, you may prefer to place the new file in your source code project, or you may want to place the class in an existing file or specify its access modifiers. In such cases, click Generate other to open the New Type dialog box. In the Project location list box, click GFUDemo_VB or GFUDemo_CS to instruct Visual Studio to place the file in the source code project, as opposed to the test project. Note that you can also specify the access of the type, in addition to whether the new type is a class, a struct, or an enumeration, in this dialog box. You can also choose to generate the type in an existing file. 4. Click OK to close the dialog box and create the new file. 5. In Solution Explorer, look under the GFUDemo_VB or GFUDemo_CS project node to verify that the new file has been created. Note that, in the Code Editor, the focus is still in AutomobileTest.DefaultAutomobileIsInitializedCorrectly, so you can continue writing your test with a minimum of interruption. To generate a property stub Assume that the product specification states that the Automobile class has two public properties named Model and TopSpeed. These properties are required to be initialized with default values of “Not specified” and -1 by the default constructor. This unit test will verify that the default constructor sets the properties to their correct default values. 1. Add this line of code to DefaultAutomobileIsInitializedCorrectly: Visual C# code Assert.IsTrue(myAuto.Model == “Not specified” && myAuto.TopSpeed == -1); Visual Basic code Assert.IsTrue(myAuto.Model = “Not specified” And myAuto.TopSpeed = -1) 2. Because the line references two undefined properties on Automobile, a smart tag appears. Invoke it and then click Generate property stub for ‘TopSpeed’. After this stub is generated, a new smart tag appears under the Model property. Generate a property stub for that property as well. The following illustrations show these smart tags. 3. If you want to, you can navigate to the automobile.cs or automobile.vb source code file to verify that the new properties have been generated. To generate a stub for a new constructor 1. In this test method, you will generate a constructor stub that will initialize the Model and TopSpeed properties with values that you specify. In the next step you will add additional code to complete the test. Add the following variables and test method to your AutomobileTest class: Visual C# code [TestMethod] public void AutomobileWithModelNameCanStart() { string model = “550 Barchetta”; int topSpeed = 199; Automobile myAuto = new Automobile(model, topSpeed); } Visual Basic code <TestMethod()> Public Sub AutomobileWithModelNameCanStart() Dim model As String = “550 Barchetta” Dim topSpeed As Integer = 199 Dim myAuto As New Automobile(model, topSpeed) End Sub 2. Invoke the smart tag under the new class constructor and then click Generate constructor stub…. In the Automobile class file, note that the new constructor not only has correctly inferred the types of the arguments, but has also examined the names of the local variables that are used in the constructor call, found properties with the same names in the Automobile class, and supplied code in the constructor body to store the argument values in the Model and TopSpeed properties. (Note that in Visual Basic, the_model and _topSpeed fields in the new constructor are the implicitly defined backing fields for the Model and TopSpeed properties.) 3. After you generate the new constructor, a wavy underline appears under the call to the default constructor in DefaultAutomobileIsInitializedCorrectly. The error message informs you that the Automobile class has no constructor that takes zero arguments. To generate an explicit default constructor with no parameters, invoke the smart tag and click Generate constructor stub…. To generate a stub for a method 1. Assume that the specification states that a new Automobile can be put into a Running state if its Model and TopSpeed properties are set to something other than the default values. Add the following lines to the method: Visual C# code myAuto.Start(); Assert.IsTrue(myAuto.IsRunning == true); Visual Basic code myAuto.Start() Assert.IsTrue(myAuto.IsRunning = True) 2. Invoke the smart tag for the myAuto.Start method call and click Generate method stub…. Next, invoke the smart tag for IsRunning and click Generate property stub…. The Automobile class now looks like this: Visual C# code public class Automobile { public int TopSpeed { get; set; } public string Model { get; set; } public void Start() { throw new NotImplementedException(); } public bool IsRunning { get; set; } public Automobile(string model, int topSpeed) { // TODO: Complete member initialization this.Model = model; this.TopSpeed = topSpeed; } public Automobile() { // TODO: Complete member initialization } } Visual Basic code Public Class Automobile Sub New(ByVal model As String, ByVal topSpeed As Integer) ‘ TODO: Complete member initialization _model = model _topSpeed = topSpeed End Sub Sub New() ‘ TODO: Complete member initialization End Sub Property TopSpeed As Integer Property Model As String Property IsRunning As Boolean Sub Start() Throw New System.NotImplementedException End Sub End Class To run the tests 1. From the main menu, click Test, point to Run, and then click All Tests in Solution. This command runs all tests in all test frameworks that have been written for the current solution. In this case, there are two tests, and they both fail, as expected. The Test Results window looks like this: To navigate to the source code Now that the tests have run and failed, the next step is to navigate to the Automobile class and implement the code that will cause the tests to pass. Quick Search is a new feature in Visual Studio 2010 that enables you to quickly enter a text string, such as a type name or part of a name, and navigate to the desired location by clicking the element in the result list. 1. Open the Quick Search dialog box by clicking in the Code Editor and pressing CTRL+, (CTRL+comma). In the text box, type Start, as shown in the following illustration: To implement the source code - When the Start method is called, it should set the IsRunning flag to true only if the Model and TopSpeed properties have been set to something other than their default value. Remove the NotImplementedException from the method body and implement the desired behavior in any way that will cause the tests to succeed. Do the same for the default constructor. - Add code to the default constructor so that the Model, TopSpeed and IsRunning properties are all initialized to their correct default values of “Not specified”, -1, and True (true). To re-run the tests From the main menu, click Test, point to Run, and then click All Tests in Solution. This time, the tests pass. The Test Results window looks like this:
https://devblogs.microsoft.com/vbteam/walkthrough-tdd-support-with-the-generate-from-usage-feature-in-vs-2010-lisa-feigenbaum/
CC-MAIN-2019-13
refinedweb
1,727
61.46
MineTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 134 Accepted Submission(s): 29 This game is played on a n*m board, just like the Pic(1) On the board, Under some grids there are mines (represent by a red flag). There are numbers ‘A(i,j)’ on some grids means there’re A(i,j) mines on the 8 grids which shares a corner or a line with gird(i,j). Some grids are blank means there’re no mines on the 8 grids which shares a corner or a line with them. At the beginning, all grids are back upward. In each turn, Player should choose a back upward grid to click. If he clicks a mine, Game over. If he clicks a grid with a number on it , the grid turns over. If he clicks a blank grid, the grid turns over, then check grids in its 8 directions.If the new grid is a blank gird or a grid with a number,it will be clicked too. So If we click the grid with a red point in Pic(1), grids in the area be encompassed with green line will turn over. Now Xiemao and Fanglaoshi invent a new mode of playing Mine. They have found out coordinates of all grids with mine in a game. They also find that in a game there is no grid will turn over twice when click 2 different connected components.(In the Pic(2), grid at (1,1) will turn over twice when player clicks (0,0) and (2,2) , test data will not contain these cases). Then, starting from Xiemao, they click the grid in turns. They both use the best strategy. Both of them will not click any grids with mine, and the one who have no grid to click is the loser. Now give you the size of board N, M, number of mines K, and positions of every mine Xi,Yi. Please output who will win. The first line of the date is an integer T, which is the number of the text cases. (T<=50) Then T cases follow, each case starts with 3 integers N, M, K indicates the size of the board and the number of mines.Then goes K lines, the ith line with 2 integer Xi,Yi means the position of the ith mine. 1<=N,M<=1000 0<=K<=N*M 0<=Xi<N 0<=Yi<M #include <cstdio> #include <cstring> #include <algorithm> #include <iostream> using namespace std; // const int V = 1000 + 50; const int MaxN = 500 + 5; const int mod = 1000000000 + 7; const int inf = 1987654321; int T, n, m, k, sum[V][V], ans, cu; int d[8][2] = {-1, -1, -1, 0, -1, 1, 0, -1, 0, 1, 1, -1, 1, 0, 1, 1}; bool vis[V][V], visit[V][V]; int que[V * V], front, rear; void bfs(int i, int j) { front = rear = 0; que[rear++] = i * m + j; visit[i][j] = true; cu++; while(front < rear) { int x = que[front] / m; int y = que[front] % m; front++; if(sum[x][y] != 0) continue; for(int q = 0; q < 8; ++q) { int xx = x + d[q][0], yy = y + d[q][1]; if(xx < 0 || yy < 0 || xx >= n || yy >= m) continue; if(!vis[xx][yy] && !visit[xx][yy]) { que[rear++] = xx * m + yy; visit[xx][yy] = true; if(sum[xx][yy] > 0) cu++; } } } } int main() { int i, j, c = 1; scanf("%d", &T); while(T--) { ans = 0; memset(sum, 0, sizeof(sum)); memset(vis, false, sizeof(vis)); memset(visit, false, sizeof(visit)); scanf("%d%d%d", &n, &m, &k); while(k--) { int x, y; scanf("%d%d", &x, &y); vis[x][y] = true; } for(i = 0; i < n; ++i) for(j = 0; j < m; ++j) { int temp = 0; for(k = 0; k < 8; ++k) { int xx = i + d[k][0], yy = j + d[k][1]; if(xx < 0 || yy < 0 || xx >= n || yy >= m) continue; temp += vis[xx][yy]; } sum[i][j] = temp; } for(i = 0; i < n; ++i) for(j = 0; j < m; ++j) if(!vis[i][j] && sum[i][j] == 0 && !visit[i][j]) { cu = 0; //统计每个块的个数。 整个空白为1, 数字为1. bfs(i, j); if(cu % 2 == 1) ans ^= 1; else ans ^= 2; } for(i = 0; i < n; ++i) for(j = 0; j < m; ++j) if(!vis[i][j] && !visit[i][j]) ans ^= 1; printf("Case #%d: ", c++); if(ans != 0) printf("Xiemao\n"); else printf("Fanglaoshi\n"); } }
https://blog.csdn.net/dongdongzhang_/article/details/9988053
CC-MAIN-2019-22
refinedweb
754
84.1
This article, which is part of the series on Linux device drivers, demonstrates the creation and usage of files under the /proc virtual filesystem. After many months, Shweta and Pugs got together for some peaceful technical romancing. All through, they had been using all kinds of kernel windows, especially through the /proc virtual filesystem (using cat), to help them decode various details of Linux device drivers. Here’s a non-exhaustive summary listing: /proc/modules— dynamically loaded modules /proc/devices— registered character and block major numbers /proc/iomem— on-system physical RAM and bus device addresses /proc/ioports— on-system I/O port addresses (especially for x86 systems) /proc/interrupts— registered interrupt request numbers /proc/softirqs— registered soft IRQs /proc/kallsyms— running kernel symbols, including from loaded modules /proc/partitions— currently connected block devices and their partitions /proc/filesystems— currently active filesystem drivers /proc/swaps— currently active swaps /proc/cpuinfo— information about the CPU(s) on the system /proc/meminfo— information about the memory on the system, viz., RAM, swap, … Custom kernel windows “Yes, these have been really helpful in understanding and debugging Linux device drivers. But is it possible for us to also provide some help? Yes, I mean can we create one such kernel window through /proc?” asked Shweta. “Why just one? You can have as many as you want. And it’s simple — just use the right set of APIs, and there you go.” “For you, everything is simple,” Shweta grumbled. “No yaar, this is seriously simple,” smiled Pugs. “Just watch me creating one for you,” he added. And in a jiffy, Pugs created the proc_window.c file below: #include <linux/module.h> #include <linux/kernel.h> #include <linux/proc_fs.h> #include <linux/jiffies.h> static struct proc_dir_entry *parent, *file, *link; static int state = 0; int time_read(char *page, char **start, off_t off, int count, int *eof, void *data) { int len, val; unsigned long act_jiffies; len = sprintf(page, "state = %d\n", state); act_jiffies = jiffies - INITIAL_JIFFIES; val = jiffies_to_msecs(act_jiffies); switch (state) { case 0: len += sprintf(page + len, "time = %ld jiffies\n", act_jiffies); break; case 1: len += sprintf(page + len, "time = %d msecs\n", val); break; case 2: len += sprintf(page + len, "time = %ds %dms\n", val / 1000, val % 1000); break; case 3: val /= 1000; len += sprintf(page + len, "time = %02d:%02d:%02d\n", val / 3600, (val / 60) % 60, val % 60); break; default: len += sprintf(page + len, "<not implemented>\n"); break; } len += sprintf(page + len, "{offset = %ld; count = %d;}\n", off, count); return len; } int time_write(struct file *file, const char __user *buffer, unsigned long count, void *data) { if (count > 2) return count; if ((count == 2) && (buffer[1] != '\n')) return count; if ((buffer[0] < '0') || ('9' < buffer[0])) return count; state = buffer[0] - '0'; return count; } static int __init proc_win_init(void) { if ((parent = proc_mkdir("anil", NULL)) == NULL) { return -1; } if ((file = create_proc_entry("rel_time", 0666, parent)) == NULL) { remove_proc_entry("anil", NULL); return -1; } file->read_proc = time_read; file->write_proc = time_write; if ((link = proc_symlink("rel_time_l", parent, "rel_time")) == NULL) { remove_proc_entry("rel_time", parent); remove_proc_entry("anil", NULL); return -1; } link->uid = 0; link->gid = 100; return 0; } static void __exit proc_win_exit(void) { remove_proc_entry("rel_time_l", parent); remove_proc_entry("rel_time", parent); remove_proc_entry("anil", NULL); } module_init(proc_win_init); module_exit(proc_win_exit); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Anil Kumar Pugalia <email_at_sarika-pugs_dot_com>"); MODULE_DESCRIPTION("Kernel window /proc Demonstration Driver"); And then Pugs did the following: - Built the driver file ( proc_window.ko) using the usual driver’s Makefile. - Loaded the driver using insmod. - Showed various experiments using the newly created proc windows. (Refer to Figure 1.) - And finally, unloaded the driver using rmmod. Demystifying the details Starting from the constructor proc_win_init(), three proc entries have been created: - Directory anilunder /proc(i.e., NULL parent) with default permissions 0755, using proc_mkdir() - Regular file rel_timein the above directory, with permissions 0666, using create_proc_entry() - Soft link rel_time_lto the file rel_time, in the same directory, using proc_symlink() The corresponding removal of these is done with remove_proc_entry() in the destructor, proc_win_exit(), in chronological reverse order. For every entry created under /proc, a corresponding struct proc_dir_entry is created. For each, many of its fields could be further updated as needed: - mode — Permissions of the file - uid — User ID of the file - gid — Group ID of the file Additionally, for a regular file, the following two function pointers for reading and writing over the file could be provided, respectively: int (*read_proc)(char *page, char **start, off_t off, int count, int *eof, void *data) int (*write_proc)(struct file *file, const char __user *buffer, unsigned long count, void *data) write_proc() is very similar to the character driver’s file operation write(). The above implementation lets the user write a digit from 0 to 9, and accordingly sets the internal state. read_proc() in the above implementation provides the current state, and the time since the system has been booted up — in different units, based on the current state. These are jiffies in state 0; milliseconds in state 1; seconds and milliseconds in state 2; hours, minutes and seconds in state 3; and <not implemented> in other states. And to check the computation accuracy, Figure 2 highlights the system uptime in the output of top. read_proc‘s page parameter is a page-sized buffer, typically to be filled up with count bytes from offset off. But more often than not (because of less content), just the page is filled up, ignoring all other parameters. All the /proc-related structure definitions and function declarations are available through <linux/proc_fs.h>. The jiffies-related function declarations and macro definitions are in <linux/jiffies.h>. As a special note, the actual jiffies are calculated by subtracting INITIAL_JIFFIES, since on boot-up, jiffies is initialised to INITIAL_JIFFIES instead of zero. Summing up “Hey Pugs! Why did you set the folder name to anil? Who is this Anil? You could have used my name, or maybe yours,” suggested Shweta. “Ha! That’s a surprise. My real name is Anil; it’s just that everyone in college knows me as Pugs,” smiled Pugs. Watch out for further technical romancing from Pugs a.k.a Anil.
http://www.opensourceforu.com/2012/03/device-drivers-kernel-window-peeping-through-proc/
CC-MAIN-2015-06
refinedweb
1,001
50.97
Ok so with MVC comes the use of Routes which calls in the need to compare request values to see which route to use. Now before I even bother with that headache (Although it’s getting better AND will be a post) I ran into a situation where I would have to check a passed in string against a list of strings to see if it matches any of them. One thing I like to do is use Dictionaries. They are just plain convenient when it comes to looking things up or matching values to get methods. But what if I don’t really have a value to find with a key? What if finding the key is all that matters? Say I have a list of strings and I just want to know if the list contains that string, sounds like a job for an array or list right? Wouldn’t it be silly to create a dictionary like: Dictiontary<String, String> someList = new Dictiontary<String, String>(); someList.Add("INeedThis", ""); someList.Add("ThisToo", ""); and do this: if(someList.ContainsKey("INeedThis")) If I don’t actually care about the attached value? I’m sure I’m breaking a rule somewhere… but what if it was faster overall? What if ContainsKey is faster than a list using Any, Contains, FirstOrDefault, or where? Turns out it is. Here’s the method I used. public void TimeRun(Holder toHold) { Int32 maxLength = 1000; Dictionary<String, String> stringDictionary = Enumerable.Range(0, maxLength).Select(item => RandomTool.RandomString(item)).ToDictionary(item => item, item => item); List<String> stringList = stringDictionary.Select(item => item.Key).ToList(); String chosenString = stringList[RandomTool.RandomInt32(0, maxLength)]; Stopwatch runTime = new Stopwatch(); runTime.Start(); stringDictionary.ContainsKey(chosenString); runTime.Stop(); toHold.DictionaryContainsKeyTime = runTime.ElapsedTicks; runTime.Reset(); runTime.Start(); String junk = stringDictionary[chosenString]; runTime.Stop(); toHold.DictionaryStraightIndexCheck = runTime.ElapsedTicks; runTime.Reset(); runTime.Start(); Boolean junkThree = stringList.Contains(chosenString); runTime.Stop(); toHold.ListContains = runTime.ElapsedTicks; runTime.Reset(); runTime.Start(); Boolean junkTwo = stringList.Any(item => item == chosenString); runTime.Stop(); toHold.ListLinqAny = runTime.ElapsedTicks; runTime.Reset(); runTime.Start(); String junkFour = stringList.First(item => item == chosenString); runTime.Stop(); toHold.ListLinqFirst = runTime.ElapsedTicks; runTime.Reset(); runTime.Start(); IEnumerable<String> junkFive = stringList.Where(item => item == chosenString); if (junkFive.FirstOrDefault() != String.Empty) { } runTime.Stop(); toHold.ListLinqWhere = runTime.ElapsedTicks; runTime.Reset(); } Crazy simple, and why shouldn’t it? Am I right? Am I right? Ok. As you can see, I gave all the methods a run and timed them using StopWatch. And then I ran it a given amount of times, 200 in this code but I tried up to 10000 also. (I’ll put the test code at the end) The test was to go through a list of a thousand strings, each string increasing in length. (Yeah I could have done random size strings but I’m lazy) What did I find out? Well if it didn’t throw an exception, a straight index search on a dictionary is fastest: someList["INeedThis"] And pretty consistently fast. Around 2600 ticks or so on average on multiple runs. (so 10 iterations of parent method running 200-10000 interations of the test method) Next fastest was the ContainsKey method on the dictionary, usually around 2-4 times faster than the next in line good old List.Contains. What I did find surprising is that all the Linq methods failed on this one. I figured that once the first run was through, it would be at least as fast as Contains. (Linq always sucks the first time through) Yeah not so much though. Contains was always faster. Sometimes it was close. Sometimes not even. Here are some example runs: Dictionary_ContainsKey: 15805 Dictionary_StraightIndexCheck: 2926 List_Contains: 34559 List_LinqAny: 96575 List_LinqFirst: 56541 List_LinqWhere: 64678 Dictionary_ContainsKey: 7264 Dictionary_StraightIndexCheck: 2676 List_Contains: 29970 List_LinqAny: 41280 List_LinqFirst: 58313 List_LinqWhere: 45669 Dictionary_ContainsKey: 6773 Dictionary_StraightIndexCheck: 2636 List_Contains: 32366 List_LinqAny: 38670 List_LinqFirst: 33859 List_LinqWhere: 41288 All in ticks. Now mind you, none of these are horribly slow so it probably just comes down to reability and ease of understanding. Personally I like the Dictionary way, so at least speed wise I’m on track. As for looks? That’s a personal thing. Rest of the code. Here is the parent method. This is a unit test hense the .Assert but it could easily be adapted to any output. [TestMethod] public void RunTime() { Int64 overallDictionaryContainsKeyTime = 0; Int64 overallDictionaryStraightIndexCheck = 0; Int64 overallListContains = 0; Int64 overallListLinqAny = 0; Int64 overallListLinqFirst = 0; Int64 overallListLinqWhere = 0; Int32 loopMax = 200; for (Int32 loopCounter = 0; loopCounter < loopMax; loopCounter++) { Holder currentHolder = new Holder(); TimeRun(currentHolder); overallDictionaryContainsKeyTime += currentHolder.DictionaryContainsKeyTime; overallDictionaryStraightIndexCheck += currentHolder.DictionaryStraightIndexCheck; overallListContains += currentHolder.ListContains; overallListLinqAny += currentHolder.ListLinqAny; overallListLinqFirst += currentHolder.ListLinqFirst; overallListLinqWhere += currentHolder.ListLinqWhere; } Assert.IsTrue ( false, " Dictionary_ContainsKey: " + (overallDictionaryContainsKeyTime / loopMax) + " Dictionary_StraightIndexCheck: " + (overallDictionaryStraightIndexCheck / loopMax) + " List_Contains: " + (overallListContains / loopMax) + " List_LinqAny: " + (overallListLinqAny / loopMax) + " List_LinqFirst: " + (overallListLinqFirst / loopMax) + " List_LinqWhere: " + (overallListLinqWhere / loopMax) ); } And the holder class which is a nothing class. I just didn’t care for having to add parameters to the child mehod. public class Holder { public Int64DictionaryContainsKeyTime { get; set; } public Int64DictionaryStraightIndexCheck { get; set; } public Int64ListLinqAny { get; set; } public Int64ListContains { get; set; } public Int64ListLinqFirst { get; set; } public Int64ListLinqWhere { get; set; } } Couple Notes: - StopWatch is in System.Diagnostics - RandomTool is actual a class of mine. Nothing special about it. Just makes a string of X length with all random letters. - This can not be rebroadcast or retransmitted without the express written permission of my mom.
http://byatool.com/2009/07/
CC-MAIN-2019-13
refinedweb
882
50.53
simple ... Using "functional"-Programming to map Resultsets to POJOs When I use jdbc to develop a small tool, where using a OR-Mapper like Hibernate is overkill, I always dislike that i have to dublicate all the "getStatement" "execQuery" "while (resultSet.next())" stuff. i dont like to repeat stuff in my code. It would be very easy if java had closures, but i dont want to wait until java7 to simplify my code so I needet another idea. java has no closures but it has something that can be used in a similar manner - Anonymous inner classes. so to simplify the following class Connection con = getConnection() Statement st = con.createStatement(); ResultSet rs = st.executeQuery( "sqlstring"); List<Foo> result = new ArrayList<Foo>(); while (rs.next()) { Foo f = new Foo(); f.setProperty1( rs.getString( "property1" )); f.setProperty2( rs.getString( "property2" )); result.add( f ); } // imagine catch/finaly block here st.close(); con.close(); i define a interface called Function interface Function<T> { public T valueOf( ResultSet rs ) throws SQLException; } Then i define a QueryMapper like this public class QueryMapper<T> { private Database db; public QueryMapper( Database db ) { this.db = db; } List<T> listOf( Function<T> f, String query ) { List<T> res = new ArrayList<T>(); Resultset rs = ... get resultset for query .. while ( rs.next() ) { res.add( f.valueOf( rs )); } // catch/finaly block here return res; } } So all i have to do in my code now is calling Function<Foo> fn = new Function<Foo>() { public Foo valueOf( ResultSet rs) throws SQLException { Foo res = new Foo(); res.setPropery1( rs.getString( "property1" )); res.setPropery2( rs.getString( "property2" )); return res; } } QueryMapper<Foo> qm = QueryMapper<Foo>( db ); List<Foo> res = qm.listOf( fn, "select * from foo"); I can even recycle the Function objects ( if i query different object of the same type but with different ids for example ) thats more how i like itread more ...
http://www.local-guru.net/blog/page/128
CC-MAIN-2017-39
refinedweb
306
56.35
UFDC Home myUFDC Home | Help <%BANNER%> The Jewish Floridian ( December 2,1 ' nseaeaaeajeai lirewiislh Floriidilauii Combining THE JEWISH UNITY and THE JEWISH WMLY /olume 39 Number 47 Miami, Florida, Friday, December 2. 1966 Three Sections Pries 2~X CLIMAX SEEN APPROACHING /tfiofe Break Out Again on Tense Border of Jordan U.S. ARMS TO ISRAEL PACE 3-A REPRISALS CANT BE TOLERATED PAGE 11 A JEIU'SALEM (JTA) Israeli act to protect its interests. To act Lbservers maintained a close watch! in such a Jordanian crisis would L ,he unrest in neighboring Jor-|P,ace Israel in an awkward posi- dan where rioting broke out again Nablus and where local Arabs, (incited by strong anti-Israel propa- ganda, demanded arms from King Hussein to be used against Israel fin retaliation of Israel's reprisal faid into Jordan on Nov. 13. It was felt here that the situ- ation in Jordan is nearing some kind of a climax, as troops from 5audi Arabia were reported to have arrived in Jordan today to Mrengthen the position of King Hussein against the growing rest- lessness in the country. A spokes- nan for the U.S. Sixth Fleet, hich is stationed in the Mediter- ranean, was also reported to state [that the fleet is keeping an eye on the explosive situation in the liddle East and is ready to inter- vene, should Washington give the Icommand. The 'spokesman for the t-ship fleet refused to state thether the fleet has already been |placed on the alert. Tht question here is of what possible action Israel could take if King Hussein's regime should fill under pressure of the Pales- tinian Arabs on the West Bank of Jordan, and bo replaced by military junta linked either to the Ba'ath regime in Syria or | to President Nasser's regime in Egypt. Israel's declared stand in such l.i event is based on the announce- ment by then Premier David Ben- iGurion in Parliament six years ago that if a major change in Jordan's [government took place, Israel |-ould draw the consequences and RCA Joins Ford On Boycott List LONDON (JTA) The Radio Corporation of America has been added to the Arab blacklist of firms doing business with Israel, it was reported here from Kuwait I where the Boycott Bureau of the Arab League has been holding a [ week long meeting. The Kuwait Radio previously an , nouneed that Ford Motor Company and the Coca-Cola Corporation were added to the blacklist during the meeting. Mohammed Mahgoub, commissioner general of the boy- >cott bureau, said the ban on RCA covered "all branches of the firm even,where.'' Each member state decides whether and how the ban will be applied in its territory and Continued on Peee 10-A Continued on Page 10-A Jews Protest Nazi Gains In Germany GEN. DAYAN csa defer peace AT ANNUAL 10 A DINNER Dayan Opposed to UN Troops as Arab Buffer U.S. JET 0*S CO TO JORDAH PAGE 13-A NEW YORK (JTA) Gen. Moshe Dayan, former Commander- in chief of the Israel Defense Forces, spoke up Sunday against the stationing of United Nations troops as a buffer between Israel and the Arab states. "We should aim towards normalization of rela- tions with neighbors; the buffer of foreign troops merely creates a fiction in neighbor relations, and thereby defers the peace," he said. Gen. Dayan's statement, which he made here in an address at the annual dinner of the Zionist Or- ganization of America, is consid- ered particularly significant in the light of the reported proposal by Washington for a permanent seal- ing of the borders between Israel and Jordan and between Israel and Syria through the United Nations. Over 1,000 Zionists and communal leaders attended the dinner in commemoration of the 19th anni- versary of the United Nations Res- olution for the establishment of Israel. Citing Israel's gain as a result of the Sinai campaign of 10 Continued on Page 1S-A NEW YORK (JTA) The | electoral gains of West Germany's i extreme right-wing National; Democratic Party in last week's i Bavarian election, evoked world-| wide protests this week on the part of Jewish organizations. Headquarters of national Jew- ish groups here issued statements expressing fears over the rising strength of the NDP in Germany. A statement issued by Morris B. Abram. president of the American Jewish Committee, urged the Bonn Government "to redouble its ef- forts to maintain a vigilant alert in which the growth of the Na- tional Democratic Party and all other extreme-rightist efenents are carefully observed, using the shcools, the churches, the mass media and the courts as a grand coalition to counteract these grow- ing signs of a Nazi revival." Dr. Joachim Prim, speaking for the Conference of Presidents Continued on Pago 15-A Jewish Producer Will Stage Passion Play LONDON (JTA) A Jewish producer, who said he would go ahead with plans to stage an adap- tation of the Oberammergau Pas- sion Play in Britain despite sharp Jewish criticism, asserted this week that "as a Jew," his partici- pation would "insure" that the performance would not contain 'anything to offend Jews." The adaptation will open in Manches- , ter on Feb. 28. Following a statement from the I Board of Deputies of British Jews ; which urged Jews to have nothing i to do with the planned present a- ! tion, two of the three Jewish im- i presarios associated with the Bri- I tish production plans Brian CABLE TO JWV Adenauer In Defense Of Kiesinger BONN (JTA) Responding to criticism by American Jewish groups of the selection of ex-Nazi Kurt Georg Kiesinger as Chancel- lor-candidate, former Chancellor Konrad Adenauer this week strong- ly supported Kiesinger. In a cablegram to national com- mander Malcolm Tarlov, of the Jewish War Veterans of the U.S.A., Adenauer lauded the Christian Democratic Party's controversial Continued on Pago U-A Histadrut Ups Financial Success Over Last Year Epstein, manager of the Beatles, and Vic Lewis withdrew com- pletely from the project. Mr. Ep- stein's company, NEMS Enter- prises was to have acted as agent for the play in Britain and in the United States. Philip Solomon, the producer and director of Dunedin The- atrical Enterprises, said he was distressed by the Board of De- puties statement but that ho had no intention of dropping the project. * i The adapted version, for which Dunedin has British. Irish a"nd| Continued on Page 15-A NEW YORK (JTA) The an- nual campaign in the United States for the Histadrut. Israel's labor federation, raised $3,186,852 dur- ing the 1965-66 fiscal year, an in- crease of $178,000 over the previ- ous year, delegates to the opening session of the 43rd annual conven- tion of the National Committee for Labor Israel were told here this week. The report was made to the 2.000 delegates by Dr. Sol Stein na- tional director of the committee. He also reported that $891,000 was raised for the social welfare pro- gram of Histadrut's Working Wom- en's Council by the Pioneer Wom- en's Organization. This made the total western hemisphere contribu- tion $4,078,000 for the period, an increase of four percent over the previous period. President Johnson in a mes- sage to the convention, com- mended "the productive ex- change of ideas between Histad- rut and the American trade union movement." Premier Levi Eshkol, in a message of greet- ing, said that the annual cam- paign was particularly signifi- cant this year because of the need to absorb into "productive work thousands of youth and unemployed workers" who need "appropriate vocational train- ing" to become wa.ge-earner. Dr. Stein also told the conven- tion that the National Committee had developed two branches. One is the American Histadrut Cultural Exchange Institute to serve "as a bridge between the intellectual Continued on Page 2-A CJFWF Eyes Long-Range Plan LOS ANGELES (JTA) The achievements of the General As- sembly of the Council of Jewish Federations and Welfare Funds, which met here for five days, were outlined by Philip Bernstein, CJFWF executive director, in a summary emphasizing that the session marked "another turning point" for the federations through- out the country. "We ventured beyond the im- mediate to the long range," Mr. Bernstein said. "We began to add the vision of a decade to the usual perspective of a single year; we began to explore not only where we are pushed to go by the force of events, but where we seek to go. We began to think seriously about the aspirations and goals and basic purpose. "We did this In several dimen- sions: in what we must do with- in the Jewish community, by Jewish agencies, to overcome the pathologies the problems that trouble us. We examined this in terms of the needs locally in our communities, nationally and overseas. Wo examined it in terms of what wo would help ac- complish as part of the larger society, through non-sectarian organizations and through Gov- Continued on Page 3-A PHIIIP SftNSTEIN another frn-emg point Page 2-A +Jeisti OwkUar) Friday, December 2, 13 GG LONGTIME FEDERATION CAMPAIGN LEADER Talianoff to Co-Chair '67 CJAppeal ACCOUNTANTS INAUGURAL PAGE 6-A George J. Talianoff has accepted an appointment as associate chair- man of the 1967 Combined Jewish Appeal campaign. He will be working closely with Norton Pallot, also an associate chairman of the Combined Jewish Appeal. Pallot's appointment was announced previously. Milton Weiss, overall chair- man of the 1967 drive, publicly announced Talianoff's accept- ance at the Greater Miami Jew- ish Federation's "Bravos for Big Wheels Bash" held at the Al- giers Hotel last week. Addressing over 200 volunteer workers who had gathered for the event, Weiss said. "I am grateful to Mr. Talianoff for assuming this post. With such able and dedicated men as Norton Pallot and George Talianoff filling the associate chairmanships, we are assured of success." Talianoff and Pallot are accus- tomed to working together on CJA campaigns, LeUt year, they served as co-chairmen of the Trades and Professional Division for the 1966 CIA drive. The year prior, in 1965, GEOKE TAUANOff Talianoff had been sole chairman of this division. Talianoff is a member of the executive committee and board of governors of the Greater Miami Jewish Federation. He serves as a trustee for the United Fund of VENETIAN RAMBLER ^u-wow New 1967! Only *1677 DOWN PMT. 21.77 WITH $200.00 TRADE TERMS TO SUIT ANYONE 24 MONTHS AT $67.77 . EXTRA BO&9J8 . LAST 12 MONTHS AT $58.77 INCLUDES ALL! SALES TAX, LICENSE PLATES, INSURANCE, INTEREST AND FULL FACTORY EQUIPMENT Always 100 Fine Used Cars Available VENETIAN RAMBLER 545 N.E. 15th STREET FR 7-8831 SAVE BY EARN FROM DECEMBER 20 DECEMBER 1 Current Annual Dividend ON PASSBOOK SAVINGS Paid & compounded quarterly 41% tCCtURIS HOW mSURED UP TO IIS Mt AN ACIKCV Of THE II0IMI SOViMUMMT. PER ANNUM Minimum SAVINGS Period CERTIFICATES 16 Months. Savt by the 12th-Earn from the 1st 4ffc\ Washington Federal SAVINGS an* LOAN ASSOCIATION OF MIAMI BEACH JACK O OOtOOH ..*-! AtTHUS H COUtSMON Ckvn-o- .1 th. tc.tf 1/01 Mendian Ave WU Washington Ave. 1133 Noimandy Dtive 699 N. E. 16.7th St. Dade County, and is a member of the boarjl and executive commit- tee of the American Cancer Soci- ety of Dade County. He is a former state president of B'nai B'rith and past president of the Florida regional board. He has also served as national com- missioner of the Anti-Defamation League, and is currently a mem- ber of the board of trustees of the National Committee of ADL. Talianoff serves on the na- tional executive commit!** of the Joint Distribution Commit- to* and it a board m*mbr of the Children's Asthmatic Re- search Institute and Hospital in Denver, Colo. For the last 17 years. Talianoff has served as vice president of Temple Emanu-El. He is former special assistant attorney genera* of the State of Florida, a member of the Miami Beach. Dade County and Florida Bar Associations, and a past chairman of the Florida Board. He is currently serving as a member of the Charter Review Board of the City of Miami Beach. Talianoff is a senior member of the law firm of Talianoff and Waller, 420 Lincoln Rd. JWV Gives Flag To Beth David ' Murray Solomon Post 243 0r Coral Gables, Jewish War Vel erans of the U.S-.A and its .\uxi! iary have presented Beth David Congregation with a US. Hag that has flown over the Cabifol i Washington. Commander M. Jay Berliner and Auxiliary President Mrs Dian Steiner. Histadrut Ups Financial Success Over Last Year Continued from P9e 1-A communities of the United States and Israel" and the other is the Histadrut Foundation for Educa- tional Travel, he said adding that last year, nearly 2,000 American tourists were sent to Israel through the Histadrut Foundation. Dr. Stein emphasized that Is- rael's current economic difficulties were "far from catastrophic" and noted that the Government and the Histadrut were seeking to im- plement a new economic policy that will "ultimately place the country on a healthier basis." He YOU CAN MAKE ISRAEL ECONOMICALLY STRONG! BUY A SAFE ISRAH BONO. GIVE 10 THE CJ.A. Too giit her* and to Israel. MAYSHIE FRIEMERG *&& PRESCRIPTION OPTICIANS fASHIOM CENTER Of THE SOUTH Largest Selection in t-ateet Styles for Men and Women FREE PARKING SPACE IN REAR CONVENIENT TO BUSES 728 LINCOLN ROAD (On the Mall) Phone JE 8-0749 Oculists' Prescriptions Filled CONTACT LENSES ^w vat* yn ira Rabbi Joseph E. Rackovsky Phone JE 1 3595 45 MICHIGAN AVE., MIAMI BEACH Dignified, beautiful and reverently cared for surroundings for our departed loved ones are a source of very real comfort to alL ami SEXCltTsU \ZflfiW/fflA AND COMMUNITY MAIJS0I tllV M0 1-7693 Miami Hebrew Book Store ISRAELI a. DOMESTIC GIFTS Hebrew Religious Supplies for Synagogues. Schools 4, Privata 1585 Washington Avt. Miami Beach JE 8-3840 REPHUN'S HEBREW BOOK STORE Greater Miami't largest 8 Oldest Supply House for Synagogues, Hebrew A Sunday Schools. Wholesale I Retell ISKAIU GlfTS AND NOVfimi 417 Washington Ae. JE 1-W17 said that in the interim many thou- sands of families were feeling the effects of joblessness but that "the mutual aid institutions connected with Histadrut are on hand to al- leviate some of the hardships, pro- j viding, first of all, continuing! medical care and other welfare services." AMERICAN-ISRAELI g RELIGIOUS STORE A All Religious Articles For Synagogues Schools Homes 1357 WASHINGTON AVE. JE 17722 S. Schworti Riverside exists to serve. For morn than three generations, Jewish families in the New York Metropolitan and Miami areas have contin- ued to entrust their funeral arrangements to Riverside, They know that no matter which Riverside Ghapel makes these arrangements, standards of service are con- sistently excellent because. Riversidewhich owns, op- erate* and' dircetly supervises each Riverside Chapel knows that its very existence depends on superior service. Perhaps tliat is the reason why over eighty per cent of the funerals-conducted at Riverside are for families wo: 16GG0 N.E. 19th Avenue Manhattan Brooklyn Bronx Westchester Far Rockaway To arrange a funeral anywhere in the United States, call the nearest Riverside Chapel. Friday, December 2, 1966 'Jmhti fhrldUan Page3-A S JF WF Eyes Long Range Plan |IIWIIIIIIIIII!lllllll;lllllllllllllll!IIIIIHIIIIIIIIII!llllllillllllM Continued from Page 1-A ernment. And beyond our patho- ogies, we examined what we would do to build an enlightened and vigorous Jewish community that will enrich the lives of its members. "We recognized that: 1. Short- range planning must be guided by long-range goals; 2. Annual budget reviews should be sharpened through guidelines developed in five to ten-year financial plans; 3. Traditional Federation boun- daries of responsibilities may have But we must be selective in ac-, and other meaures. cepting government funds so that as Jewish agencies we do not at- I tenuate special Jewish purposes; \ 5. The people using our services | arc likely to change. They will be ; people with more complex needs. ! more resources to purchase serv-1 ; ices, more sophisticated ideas as to I what service they believe will be | helpful, with more opportunities to; select what they want among sec- [ tarian and non-secretarian re-1 sources." The discussions on needs in Is- rael, Mr. Bernstein pointed out, "In the discussions dealing with building Jewish life con- tructively here at home, we were able to move from the pre- vious level of general challenges to the consideration of specific recommendations presented by our Council's National Commit- tee on Federation Planning for Jewish Education, established as a result of the Asembly's action a year ago/' Bernstein stated. The Committee submitted 28 specific proposals to obtain quality teachers, administrators and spc-! cialists, and eight related recom- mendations on post elementary education. "The Committee will' follow up in helping communities to consider and act on the recom- mendations most closely fitting their own needs, and will address itself to other elements of Federa-: tion responsibility in this field," the CJFWF executive director em- phasized. A number of the Assembly dis- cussions dealt with the involve- , mint of the next generation in WASHINGTON (JTA) The tional arms were being provided j jewjsn responsibility. "Running I'nited States is continuing to pro- lo Jordan. They pointed out that > through all of the discussions was cess pending arms sales to Israel, this transaction was not entirely] the urgent need for priority atten-; new. but that Jordanian requests tion ,0 overcome the critical staff were "under study" in line with I shortages of Jewish agencies the existing programs of helping | across the country," Bernstein Jordan meet its defense require- noted. ments. U.S. official sources denied; "This problem will require most reports that Washington had de; urgent action by Federation ferred arms sales to Israel in con-! boards, committees and foremost nection with the recent Israeli ac-1 lay leadership to attract the high- size to be redefined to reflect new con-' dealt with unemployment and po- cerns:; 4. Increased government verty there the inadequacy of funds provide new opportunities to \ the public assistance and work re-' meet unmet needs of the past, lief payments, and the need for emerging needs of the future, and: programs in depth that will re- to explore new areas where volun- habilitate people and bring them tary agencies can make special to self-support through vocational contributions. I training, better welfare services IS Continues Arms Sale to Israel, Including Light Jet Bomber Contract including the preparations for ship- ment of light jet bombers previous- ly contracted. State Department, sources said this week. These sources said that addi- isn't everything. Take our product for in- stance. We make a razor blade. As good as any on the market; better than most. SUPER stainless steel, polymer coating ... all the new features you expect from a razor blade today. Only difference is, ours is made in Israel. Does that stop you? Can tiny Israel make a razor blade as fine as those made by the giants of the razor blade industry? Ever hear of David and Goliath? If the man where you buy your razor blades is found wanting in SHALOM razor blades, ask him to get some. You will both be benefitting and helping Israel at the same time.. rJht EQUITABLE life Assurance " .Society of the United Stales Horn* OHica: Now York, N. Y. tion against Jordan. Reports wore received in Washington this week from Mos- cow that a top-level Egyptian military and political delegation arrived in the Soviet capital for "military and political" negotia- tions linked with the recent Arab- Israeli clashes. The delegation is headed by Field Marshal Abdel Hakim Amir, Egyptian First Vice President and Command- er-in-Chief of the Armed Forces. est quality of young men and wom- en to Jewish communal service. It will demand leadership to obtain personnel specifically for Jewish federations and welfare funds and for the other Jewish services; and beyond that, to help obtain the, Federal legislation which is indis-1 pensable for augmenting the uni-| versity facilities, faculties, and ] field training to enlarge the entire pool of communal workers, of J which the Jewish personnel are a part," Mr. Bernstein stressed. SHALOM SUPER STAINLESS STEEL BLADES | Distributed by SHEFFIELD RAZOR BLADES LTD 527 West 34th St., New York 10001 Two previous visists to Moscow by Amer were followed by heavy | >-== shipments of modern arms to Egypt. It is anticipated that Russia will supply Egypt with ultramod- ern weapons of types not yet in the Egyptian arsenal. Secretary of State Dean Rusk conferred this week with Israel Ambassador Avraham Harman for an exchange of views on the situa- tion in the Middle East. The meet- ing took place at the initiative of Secretary Rusk. CHANUKA GREETINGS NOW 2 LOCATIONS! 1 Photocopy 25c 100 Offset Copies $2.06 *vmit> |.. wait COPY SERVICE of Miami Beach 420 Lincoln Rood Mall Room 102 Ground Floor Lobby JE 8-4482 alto at Bale. Bitcayne Shopping Plaza 561 N.E. 79th St. (Pm. 23S-A) 758-8361____________ rvia. . Max Lewis at FR 7-0401 or PL 1-7503 for a good buy on a fine PIANO, ORGAN, ORCHESTRA INSTRUMENT, or SCOTT STEREO CONSOLE ATTENTION! Jewish Home for the Aged THRIFT SHOP NEEDS YOUR DONATION NOW! "FURNITURE"-"APPUANCES" "CLOTMNC'-'MEWELRY," etc. "All Items Tax Deductible" CALL 696-2101 WINDOW SPECIALISTS "SERVICE WERE PROUD OFI" Maintenance Inc. REPAIRS AND MAINTENANCE OF AIL TYPES WINDOWS AND JALOUSIES Complete Stock of Replacement Parts 6290 NT 79th STREET MIAMI, FLA. 33138 Phone 751-4584 Exeimnive Distributor* ior: PIANOS ORGANS by YAMAHA, KNIGHT, KOHLER, KIAABALL, CONN, ESTEY, KAWAI and GULBRANSEN by ALLEN, CONN, GULBRANSEN, KIMBALL and SEEBURG We Tune Rebuild llefinish lluv Pcgo4-A *Jelsiifk>ridHar) Friday, December 2, 1986 ; .- i ':)..I "^Jewish Floridlaii CPFICE and PLANT 120 N.E. Sixth Street Telephone FR 3-4605 Teletype Communications Miami TWX 305-696-4869 FFID K. SHOCHET.......... Editor and Publisher LI 3 MINDLIN .......................... Executive Editor SI1MA M. THOMPSON .... Asst. to Publisher Tff Jewish Floridijn does not guarantee the Kashmth of the merchandise advertised in its columns. Published every Friday since 1927 by The Jewish Horldlan ;it 120 N.E. Sixth Street. Miami I, Florida. Second-Class Postage Paid at Miami. Horidu. The Jewish Floridian has absorbed the Jewish Unity and the Jewish Weekly. Member of the **M TaMMMMa Agency, Seven Arts Feature Syndicate, Worldwide News Service, National Editorial Assn., American Assn. of English-Jewish Newspapers, and the Flor.da press Assn. 8 -U-B-S CRIPTION RATES! Local Area One Year $5.00 Three Years $12.00 Out of Town Upon Request Volume 39 Number 47 Friday, December 2, 1966 19 Kislev 5726 American Contribution To Middle East Peace We can only hope that the United States is demonstrating more understanding of the Middle East ccnger than Ambassador Gold- berg's puppet-like vote for Israel cer.sure showed last week. Otherwise, our government has fc^len into the same insensitive, cense, predictably pro-Arab, and his- torically short sighted view that marked the eight-year Eisenhower rule, when that area of the world appeared to be in constant turmoil and to which, indeed, this view con- tributed an unhappy continuing life. What American censure did was to emphasize Israel's reaction with- out noting the provocation. At least publicly, therefore, what is again ex- pected of Israel is that she should be understanding about every Arab effort to undermine her national in- tegrity and the safety of her citizens, while making not a single effort to teach the perpetrators of these crim- inal acts that they will have to pay for their deeds. This is more than can be demanded of any country and any people. It is more than Washington would ex- pect of itself. The greatest "chutzpah'' of all was the story "leaked" via the Associated Press early this week which reports the Johnson Administra- tion's backstage anger particularly because Israel's retaliation put King Hussein's rule into guestion. Of Hussein, the story said that Wash- ington feels he is the "most stable" ruler in the Middle East. Imagine the "stability" when Jordanians threaten his safety as a conseguence of Is- rael's defensive action. In any case, our gov- ernment promptly let it be known that we are already assessing a need for a huge Jordanian military buildup, and that we are prepared to contribute to it with a variety of arms. Now, there's a solid American contribution to the peace of the Middle East. vPfimv BY HENRY LEONARD Our Sermon Hexl Friday Evening "THE ART OF ? HUMILITY" Rabbi L. B.-Jo Krister/} Ph.D.,M.A.,M;B.E,,LITTD' A New Mt. Sinai Wing Formal launching of the 1967 Combined Jewish Appeal campaign is just around the corner. In conjunction with this, it is an apt time to note the dedication of a massive addi- tion to one of CJA's major beneficiary agencies here. Dedication of the Albert and Bessie Warner Pavilion at Mt. Sinai Hospital will take place on Sunday afternoon. The $1,500,000 wing, contributed by movie mogul Maj. Warner and his wife, will make available 150 additional beds to the hospital. The new addition stands at bayside. It will help Mt. Sinai render even more extensive service to our community than in the past. With a long-standing record of service to our community through its teaching, research and healing programs, Mt. Sinai Hospital moves forward once again ably assisted by the philanthropic spirit of citizens like Maj. and Mrs. Warner. interesting comments on the significance of our twin city in Israel, Me Ami, which serves as an agricultural-defense settlement against precisely the kind of border trouble Israel is suffering today. On Building Human Bridges Another "first" for our community was to be scored on Thursday at Barry College, with the staging of a Catholic-Jewish Dialogue spon- sored by the Catholic Diocese and the Anti- Defamation League of B'nai B'rith. At the dialogue, participants were sched- uled to ask one another guestions about the differences that trouble them, to air views they have not yet ventilated, and happily to dis- cover similarity in the tie? that bind them. For Greater Miami, which has a laudable record in interfaith and interracial relations, the dialoaue will prove a noteworthy extension of the deliberations at the Vatican Council itself, where the ecumenical spirit was written into the Jewish schema. Among Jewish participants at the dialogue was to be Dr. Joseph Lichten, of the national ADL office, who made a distinguished per- sonal contribution to the Vatican Council deliberations. In the staging of these events, both the Catholic and the Jewish communities are breakina pioneer ground in the building of bridges between man and man. Sen. Gruening Visits Us The Jewish National Fund banguet Sunday night at the Fontainebleau should prove an enlightening platform from which our com- munity can learn some of the facts behind the current Middle East chaos. Speaker will be U.S. Sen. Ernest Gruening, who has lona been a critic of our government's foreign aid pro- grams, particularly as (hey relate to the Arab nations. In this context, the Senator will have some luring the week ... as i see it by LEO MINDLIN Our Young People Speak At a time when we are constantly worried about the status of our voung people today, it is heartening to note the schedulina of the annual YMHA teen-age conclave set for this Sunday. At this function, Dade County high school- aae students get together to discuss central issues of the day, with the accent on how they feel about themselves, their parents, and the world in which thev live. Theme for the Sunday conclave will be "Today's Issues Where Do You Stand?" Among prominent guest speakers will be for- mer U.S. Senator from Washinaton Harry Cain, for many vears nnw. and happily for us, a Miami resident. Welfare Planning Council chairnvm. A. Budd Cutler, a former president of the "Y," will also address the voung people. In comina toaether for a serious examina- tion of contemporarv problems and how t>ev see them, our young people are showing their mettle. d THOSE HMW* report^B urinq the week TSSSL bZT n Jewish organizations invited on study tours of West Ger many simply had no meaning They had no meaning because both the Bonn Government and what they saw failed the visiting delegations in a very ? i,kt.....:. ii' ....!.. significant respect: Kadi had no reality. Each was a pioiee tion of optimistic American policy without regard to native Gerniar spirit. It is a terrifying thing to suggest that the extremist National Democratic Party reflects the true Germany, and that Konrad Ade- nauer and Ludwig Erhard never did. Unappended. the suggestion would be an utter distortion For one thing, it must be remembered that however striking the party's sue cesses in Hesse several weeks ago, and now in Frankfurt, still the predominant Christian Social Union and the Social Democrat- ear ncred a full 84 percent of the close to 5.5 million votes cast at the polls. But the question is: How did the National Democrats mai to take a sudden upsurge? The answer lies precisely in the fact that there has been a ing but long-evolving American reassessment of basic German pol ideology. The reassessment began, not in Bonn, but in Washii Seemingly, it sprang full-grown from the head of the recent El visit with President Johnson, which forced "Dei Dikke" to return home empty-handed and to find himself plunged into a govern crisis. For the first time since the end of World War II. Washii had turned its eye beyond West Germany as this nation- significant ally on the European continent. And. for the first the extremists in Germany could finally raise 1 heir voices sufficii loudly to get a hearing from those interested in listening to anything other than patently pro-American propaganda. 45 THE GERMANS SAW IT THE DEMOCRATIC IMPRINT upon the face of Bonn was the CO* metic makeup it woie to win American cooperation in the single unifying fear that cuts across all German parties and ideologes ol the East. During the Hitler era. this fear was expressed by the cry against Bolshevism, and it may very well be that some of the Western nations might ultimately have responded if the cry were not also g rallying call for the violent racism marking the Nazi rule. (Specula- tion here would also necessarily include as a presupposing factor the non-existence of (he repeatedly threatening Hitlerian demand for Lebensraum, which nearly consumed all of Europe, and against which. the continent ultimately had to struggle, hence dissipating its ami Communist energies into anti-German mobilization instead! As the West Germans wanted to see it, our own postwar policies were precisely in accord with Hitlerian doctrine so far as the S Union is concerned. This did not necessarily make the German view invalid at the time, as President Truman, for example, was to learn so quickly after the German unconditional surrender. Placed into proper speculative context, it must here be remembered that Hitler was virtually shocked into inaction following the fall of France, when he discovered that the British would not join him in an all-out cam paign against the Soviet Union when it became clear to him tha-. the British intended fighting him to the very last. Without Hitlers horrifying racism and anti-Semitism, who knows but that his faulty foresight might not have proven accurate in the final analysis that the Western Allies might not have joined him in the "Dram: nach Oaten"? What Hitler failed to reckon with was the West's expedient mor- ality: repugnance against his inhuman violence and a seemingly incomprehensible and convictionless refusal to trust his offer of alli- ance to battle the Russians. That he genuinely expected the British to come over to his side was proof to the West of his instability and unreliability. Nevertheless, Hitler felt he had good reason for his hopes. That, despite the Western inertia in the matter of his over- whelming anti-Semitism, the West continued to feel obliged at least publicly to condemn him, Hitler found more confusing than ever Brutal or not, his goals were clearer than the West's. HI LOST THE WAR IN THE STARS TPHE FRENCH, he discarded as hopelessly romantic and. besides. ' too traditional a German enemy upon whom to count in his scheme of things. Anyway, it was necessary for him to whip them to prove a point his campaign call to the German people. Roose\elt he saw a captive of the Jews but a captive who would, as a conse- quence of his weak and hopeless Anglophilia, follow the Brit;-li It was on the British that he relied, for the West's repugnance and distrust of him were, after all, lip-service and nothing more Was there no anti-Semitism in Great Britain and the United State.-' And was he not doing their job to outroot the Bolshevik menace, which he hyphenated as Jewish? The truth in fact is that the British rejection, which was no re- jection at all. for England never considered an alternative choii Churchill's grand design, confused Hitler beyond reason. Turin: astrology to see a sign for the next phase in his European camp now irrevocably" against Britain, he promptly lost the war. This says nothing positive about the Nazis or negative about u- The Russians had. after all. largely confined their Communism to their own country. It was not until after World War II that the Cominform and Comintern, although subsequently abandoned as the semantics of their politics, became cruel realities in expansionist fact. Biit the Germans as the Greeks and Italians were to learn much later found their nation a battleground for Communist ascendancy almost from the beginning of the Soviet Revolution. The Weimar Republic barely squeaked through: it was on the tide of fear for the Bolsheviks that Hitler finally succeeded. On the other hand, the West was disinclined to believe that Russia, a feudal society at least from the industrial point of view. would within a short period of time throw down the gauntlet for a battle in which-winner takes all. * * WARNING TUTTI AGAINST BOLSHEVIK SCOURGE IN ANY CASE, what motivated the Germans under Hitler moti them after Hitler, as well. Only now, and for the first time, i motivated tho U.S., too. The Berlin Lift was America's finest in strengthening the general German belief that we had finally their bandwagon. And, when President Kennedy declared on a tni to Europe before a hysterical mob, reminding us all of the v Continued on Page 13-A ~rc .k'Wl IBM Friday, December 2, 1966 -Jewlsli ftcrMian PageS-A LEnERS TO THE EDITOR a TVew; Light on 'Deicide' FOR OTHER VIEWS FROM KOlTOR. The Jewish Floridian: 1 have for a long time, as the news unfolded, determined to write a letter to the editor of The Jewish Floridian on a seemingly intei ininable controversy, namely -:he "deicide" of Christ centuries ago in a corner of Roman terri- tory. One specimen of thr contro- lersy is Paul Vis Lenten homily. which has aroused dismay in both hristian and Jewish sensibilities to the extent that "a few more \planations from Ihe Pope and }Ioc-hhuth can write another play." \nother specimen is Dore Schary's ii\e points calculated to allay anti- ^vmitism but which at times strike Christians as artificially ameliora- te or out of focus. The idea of "deicide" or, to use the vulgar phrase "Christ-killer," urgently needs to be explained by ill Christians of good will and sound education. My own account is presented essentially as a foot- note to an actual American situ- ation that should not be forgotten in all the currents and cross- currents originating in present-day grand and grandiose theological meetings and almost daily pro- nouncements. In my hometown in Wiscon- sin, I attended a parochial grade school for eight years, and then, in the south-central part of the state, lived in a Lutheran board- ing school for four years before entering the great university in Madison. In about 14 years of schooling and extra-curricular activities, I never once heard the phrase "Christ-killer" save as a warning against vulgarity ".|=r, worse, intellectual nonsense. Moreover, from teachers who were painstaking scholars rath- er than educationists, my class- mates and I learned that the concept of "deicide" is as dan- fotm WATER COLOR * Felt tip pen with fine -'-% point * Slim, handy styling * Non-toxic, safe for children * 8 water colors, won't bleed thru paper (a* For school, artwork, i coloring, notes, busi- mess charts, posters OUR READERS PAGE 8-C geiously and horrendously play- ful as Nietische's idea that God is dead. My education aroused a respect and affection for the Old Testa- ment and Its men of action or prophets or poets to such an ex- tent that 1 had a homebody proprietary attachment to them, and thus cannot significantly re- gard the Bible as made up of two contradictory parts. Despite the wisecrack about the Impossibility of woi hipi iv- a hyphen, the his- toric phrase. Judaeo-Christian, en- tered our lives as a permanent value, along with such verities of national existence as the Bill of Rights, the franchise, the melting pot. and the income tax. Concerning one of the culmina- tions of Christianity, namely the crucifixion, we were told, or nat- urally held, the following: that "deicide" willed by man is per se an impossibility; that Jesus was a Jew who was inevitably accept- ed by a few Jews and just as in- evitably rejected by the majority; that because of this rejection, the Jews were a touch unfortunate but not at all criminal (we regarded Judas Iscariot and Simon Peter during the moments of denial as real criminals who acted as un- naturally as those many outside the nuclear group acted naturally); that the alliance against Jesus of Romans and Jews was a historical necessity; that Jesus willed His death to take place when and where it did: that He was killed by heavenly plan; that Romans and Jews were divine instruments (more or less like crthquakes) and that all Christians should be grateful that God had not selected Turks or Egyptians for the sacri- ficial act necessary for the mortal and immortal joy and consumma- tion of the Christ's orthodox fol- lowers. Let there be no doubt about it: the phrase, "Christ-killer," was explained to us in our American setting (one of thou- sands of a similar cast and philosophy) as something used by yahoos and white trash. Even today, in crossroads Miami, I have never heard the phrase save as the substance of serious intellectual discussion that would be acceptable to theolog- ians and other scholars of al- L&G. Glass & Mirror Works ' BARNETTS OFFICE SUPPLIES & EQUIPMENT 228 N.E. 59th STREET-Miami 1608 WASHINGTON AVL-M.B 134 N.E. 1st STREET-Miomi 272 VALENCIA-Coral Gables Ph. PL 4-3457 most every faith: some people do not invite or permit certain crudities. la there anything that accounts for the decency and what I like to call the normality of the plural- istic society I am footnoting? There is indeed. It is the coming together of educated bourgeois I hristians and Jews in a restrain- ed environment that gave respect to the art>. to proper and correct language, to a constant sharing nelghborliness, and above all to warm human decorum that van- ishing virtue In our recklessly pei-- missive and loosely expressive way of life in which anybody can Utter anything anywhere at any time. Of course, the times were more at ease and were complex in a somewhat different way than they are now. and thus a partially new- analysis is required. Rabbi Arthur Hertzberg stimulates such analysis when he says: ". the phrase. Christ-killer, is a lessening danger to Jews: it is a growing danger to Christianity." But unfortunately divine philosophy is no longer charming enough to arouse signi- ficant theological dialogue among most busy materialistic people. As a result, the issue is clouded by- Jewish pride occasionally being called anti-Christian and Christian pride occasionally being called anti-Semitic. What I am advocating is a sustained theological exchange of views worthy of the best tra- ditions and intents of our plural- istic society. Such dialogue is a source of cohesiveness and com- JWV Auxiliary Sets Two Events There will be a regular meeting of the Harry H. Cohen Surfsidc- Bay Harbor Auxiliary on Wednes- day evening. Dec. 14. at the Surf- side Town Hall. Membership chairman, Mrs. Shirley Tragash, announces that a paid-up membership coffee klatch and card party is slated for the Carillon Hotel on Dec. 5 at 7:30 p.m. fort, and whets the mind for sharper function and better cit- izenship. Thus I am not the least disturbed when Christians and Jews criticize certain ex- cesses or weaknesses in each other, anymore than I am ham- strung by Bernard Shaw's state- ments: ". national Christian- ity is impossible without a na- tion of Christs." "... the Holy Ghost, formally the most nebulous person in the Trinity and now become its sole (strong- ly functioning) survivor ." And such dialogue enables me to counter at least partially a state ment made by a member of the ADL, namely that the two things he fears most in this world are atomic destruction and the suc- cess of the international ecumen- ical movement. But the image of "Christ the Rotarian" ought to al- lay all Jewish worries. PROF. CARL M. SELLE Department of English University of Miami Schwartz Talks To Beach Lodge Gerald Schwartz, past pre.- of the Miami Beach Lodge of B'oai B'rith. was principal speaker at the lodge's monthly meeting ft'ed- nesday night at the DiLido I according to president, s ( Pascoe. Schwartz discussed the ci tit Middle East crisis, the n-vr. >f neo-Nazisni in West Germar.j I the problems of Jewish li ment in the changing civil ta struggle in the United States Among guests were Rabbi . ham Korf. regional direct I Chabad; Hal Glasman, forme: >- lie relations director of the I er Miami Jewish Federation: i .Michael Sossin, past preside -f the South Florida^ Council of i B'rith Lodges. Mrs. Gershon Miller, wife other lodge past pre- presented a special di ic reading on "The Meani: .1 B'nai B'rith." Mrs. Miller a graduate ol the Northwestern Uni- versity School of Speech, and taught drama and speech for ( years. Program arranged by Pai^oe and August, presidentelect -a- tured Judith Robinson, soprano. Miss Robinson has appeared h the Caesar LaMonaca Orel"., -i. 01 R NEW HOME . IB M Building 2125 Biscayne Boulevard Miami, Florida 33137 Telephone 373-7644 We have added to our staff a full fellow of the society of Actuaries We have expanded our facilities to include computerized record keeping services for uninsured and insured plans. ifc PENSION TRUST AND PROFIT SHARING PLANS FIRST FLORIDA CONSULTANTS. INC. ATTENTION! ATTENTION! HENRY S. GREENBAUM IS NOW AFFILIATED WITH Arthur's Wholesale Jewelry 234 Seybold Bldg. Phone 379-0402 STORE FRONTS MIRRORS FURNITURE TOPS RESI1VERING BEVELING CUSTOM WORK Call FR 1-1363 for CLASS 136 S. W. 8th ST. . NOW 12 WAYS T0 SAVE REGULAR PASSBOOK SAVINGS ACCOUNTS 4'/ ATDADE FEDERAL SAVINGS ACCOUNT CERTIFICATES Current Dividend Rate paid and compounded quarterly. Save by the 20th Earn from the 1st 1 '/< When held for at least 6 months. Minimum investment $2,000 or more. Save by the 10th Earn from the 1st. 7 CONVENIENT OFFICES SERVE DADE COUNTY Main Offloe: 101 Eaat Flaglar Street Alllflttih Bunch MOO N.W. 36th St. Timltmi Bunch 1901 S.W. 8th St. Ediwn Ctnttr Bunch MOO N.W. 7th Avt. I North Miami Bunch 1M00 N.W. 7th Avt. Kendall Bunch I Cutler Ridfa Bunch U.S. I It S.W. 104th St. 1080! Cinbbiin Blvd Our Main OffIce is open Monday* and our Branch Offices on Fridays until 8:00 P.M. On other weekdays, we're open until 4:30 P.M. Page G-A vJenisfi ftcriaUajn Friday, December 2, 13C4 STRONG CRITIC OF U.S. FOREIGN AID TO ARAB NATIONS JNF Banquet Sunday Slates Gruening U.S. Sen. Ernest Gruening. of Alaska, will be guest speaker at the Jewish National Fund banquet on Sunday night at the Fontaine- bleau Hotel. William Bornstein, president of the JNF Council here, said thai "this promises to be a sell-out affair." Molly Stark, noted soprano, will entertain at the 6:30 p.m. function, where plans will be revealed to expand Me Ami, Mi- ami's twin city in Israel estab- lished by the Jewish National Fond. "It is no longer a privilege to support this project." Bornstein said on the eve of the Sunday function. "It is now a responsibil- ity, particularly with the present troubles brewing on Israel's bor- der. This is what Me Ami is about 11 is an agricultural community composed of farmer-soldiers dedi- cated to the development of the, SIN. GRUCNING land and to the defense of their country." Program will also include the appearance of Dr. Irving Lehrman, of Temple Emanu-El. chairman of the Jewish National Fund Founda- tion, and Rabbi Mayer Abramo- witz, of Temple Menorah. chair- man of the JNF executive board. Son of a physician. Sen. Gruening graduated from Har- vard College, class of 1907, and from Harvard Medical School, class of 1912. From there, he moved on to a career as news- paper and magazine editor, au- thor, government official and "general practitioner" in public service. As Governor of Alaska, he was in the forefront of the battle for Alaskan statehood. President Roosevelt designated him as Governor in August, 1939. He vigorously opposed discrimina- tion in public places against Alas- ka's natives Indians, Aleuts and Eskimos. He sponsored legis- lation to outlaw such discrimina- tion and succeeded in having it enacted. He sponsored legislation to es- tablish an Alaska Department of Fisheries, to diminish the destruc- tion of salmon resources, to help restore the economy of Alaska's coastal communities from depend- ency on fisheries and to prepare Alaska for the responsibilities of statehood. Through 50 telegrams to mem- bers of Congress, he protested the abandonment of Alaska defenses and decommissioning of its bases after V-J Day aware of the com- ing peril from the Soviet Union. When statehood was achieved in 1958, Sen. Gruening was "reelect- ed" and took his oath of office as U.S. Senator on Jan. 5. 1959. In his valiant support of Is- rael, he presented the Senate Committee on Government Op- erations with a 472-page report on U.S. aid to ten Near East countries. The report, resulting from a two-month tour of Tur- key, Iran, Syria, L-banon, Jor- dan, Israel, Gre'ce, Tunisia, Lib- ya and Egypt in the winter of 1962, heaped scathing criticism on U.S. aid practices. In it. he made clear thai I i , has become a "socialist police | state." that Nasser seeks "hjg (m personal and Egypt's national ag- I grandizement, in that order." and i "U.S. dollais aie enabling Egypt to wage war in Yemen, to foment trouble in Jordan and Saudi Arab ia, and to arm to attack Israel just as surely as though they were spent directly for that purpose " ^*rV^VrN '67 DODGE Mvvwvy Other Fine Part 2?5 tla pin Miiejje A. A. AARON RENTAIS 1451 W. Flagler FR 9-2776 lMnMMnMnMAAnMvvw ^_-_> Will RENT 1 or 2 ROOMS to COUPLE or MIDDLEAGED LADY or GENTLEMAN, with kitchen privileges, in my Kosher SW section home. CALL 448-7262 ANNUAL GATHERING SUNDAY WILL HEAR SEN. CAIN Teen Conclave to Air Issues of the Day The 13th annual teen-age con- clave of the YM and WHA of Greater Miami will be an all coun- ty interdenominational event. Re- presentatives of all the senior high clubs of all branches of the Y.MHA will be attending the conclave on Sunday at the Central Y.' 8500 SW 8th St. plus other individual groups of the YMCA. will be attending. Repre- sentatives of United Synagogue Youth and the National Federation of Temple Youth also will be there. Teen-agers representing other seg- ments of the community have been invited and are expected to attend. Representative youth leaders of Keynote speaker at the con- Ihe Hi-Y and Tri-Y of the YMCA,| clave luncheon banquet will be Criminal Court Judge Klein Will Speak At Accountants Division CJA Opener Sen. Harry P. Cain, of Miami. Cain is well-known in this area for his political, business, and civic duties. He was a United States Senator from the State of Washington from 1945 to 19S3. During World War II. he was a colonel in the U.S. Army and was I cited in the Battle of the Bulge. At present, he is a member of the policy study committee and Gov- ernment Research Bureau of the Miami Dade County Chamber of Commerce. Cain is also vice president of Goodwill Industries of South Flor- ida and a vice president of the Ur- ban league of Greater Miami. He has been on the executive com- mittee of the National Conference of Christians and Jews since 1959. Theme for the conclave will be "Today's Issues Where Do You Stand?" The discussion sessions will be involved with eight major issues which confront the youth oi America. A. Budd Cutler, president of the Welfare Planning Council of Dade County, and a board member of the YM and WHA of Greater Mia- mi, will be present to outline the conclave's basic objectives. MALE HELP WANTED PUBLIX MARKETS is now taking applications for the following jobs: Stockmen, Meat Cutters, Front Personnel. Make ap- plication at the following locations: 2S. Accountants Division of the J967 Combined Jewish Appeal campaign will hold its pre-tax sea- son annual dinner on Tuesday, at 6 p.m., at the Columbus Hotel. Judge Edward S. Klein, of the Criminal Court of Record, will be guest speaker for the event. His subject is "The Criminal Court Its Function and Responsibility." A Miami resident for the pact 24 years, Judge--Klein served as assistant state attorney for eight years and was legal aide to the Dade County legislative delega- tion for the 1963 and 1965 ses- sions. He is former executive vice president of the Young Democratic Club of Dade Coun- ty, a member of the Dade Coun- ty Bar Association, and serves on the criminal law committee of the Florida Bar Association. The Accountants Division is the first group to kick off its cam- paign on behalf of the Combined Jewish Appeal. The early start affords an early finish and does not interfere with the accountants' busiest time of the year tax season. Harry Blumin. chairman of the division, and Irving J. Bloom, as- Strong Yet afe-ta$ Hours of Continuous Relief from Minor ARTHRmSMW Anacin? gives hours of continuous relief from arthritis' minor pains- even such chronic pain arising from deep In the joints. Anacin also re- duces swelling and inflammation. In eiinutea pain goes so that it's easier to move afflicted limbs again. The reason Anacin Tablets are so effec- tive is because they contain the pain reliever most recommended bydoctors flus an extra ingredient not found n leading aspirins or buffered Muirins. Tsui* as directed. fMMNS Haym Topol JUDGE tDWAKD KLtIN sociate chairman, urged all Dade County accountants "to make their reservations as soon as possible." Attention: MIAMI BEACH MERCHANTS VISIT THE WINNFrt'l CIBCIT DOG RACiNG EVERY NIGHT EXCEPT SUNDAY SpOfUO'l MO MINORS NOW) A PURSE. RACE at TROPICAL _ PARK 30 Club House . I imisstons ' m F ii.;0Rv. I Merrill Browne Ftl. 6-t11| PERFECTAS Attend MESIV GREATER MIAMI DINNER Saturday Eve., Dec. 10th at 7:15 p.m. at the FONTAINEBLEAU HOTEL GUEST SPEAKER: RABBI DR. MOSES D. TENDLER Talmudic Scholar and Research Scientist YESHIVA UNIVERSITY RESERVATIONS $36 PER COUPLE Hyman P. Gaibut Chairman Nightly, except Sunduys, thru Jan. 2 Enjoy Cafe Caribe. Moderate Prices. Admission 50c Parking 25c Regular A Ample Bus Service Res. Suacjested For SMART CORAL TERRACS RESTAURANT f^SUN BENT A CAB '^BSlKv NEW DODGES Automatit. Power Steering Air-Condltioned Can 0 Passenger Stafion Wauons Wlc.+-6cmi. Including Liability Insurance Pickup-4 0lwry ^wvice 301 23rd St., MB OTHER NEW CARS FROW '15 PHONE 532-5502 Friday, December 2. 19G6 wr +Jewish mridigar. Page 7-A Rush Meets Leaders on Soviet Jewry WASHINGTON (JTA) Secretary of State Dean Rusk held an extended discussion here on the special problem of Soviet Jewry with Rabbi Israel Miller, chairman of the American Jewish Conference on Soviet Jewry. * 'Joining Secretary Rusk in the discussion were Douglas MacArthur II, Assistant Sec- retary of State for Congres- sional Relations, and Walter .1. Stoessel Jr., Deputy As- sistant Secretary for East European Affairs. Senators Abraham Rihicoff and Jacob Javits. who were unable to attend the discus- sion because of a vote in the Senate, sent representatives in their stead. Rabbi Miller satd that he was "most En- couraged by the depth of concern and awareness ex- pressed by Senator Rusk." He described the meeting as i detailed examination of the problem. Rabbi Miller presented an assessment of the current status of Soviet Jewry to the Secretary of State.. He re- ported that there has been no basic change in the situ- ation during the past year except for token concessions. Carner Bank Continues Monthly Mailings for Interest of Certificates Highest Rate Now Paid ll.ooking over progress report of Carner iBank of Miami Beach for first five [months under new management are, left Ito right, M. H. lionsinger, executive If ice president; Stephen Carner, presi- dent; Joe Hart, owner of the Castaways Motels and member of the board of the Carner Bank; and Alexander Muss, na- tionally-renowned builder and Corner Bank board member. Jack, Stephen Carner Head Bank's Officers Now paying the highest rate of Interest permitted by the United Stiites e;ovemnicnt. I he Carner Bank ot Miami Beach set the pace in South Florida by mailing monthly interest checks to holders of certificates ol deposit. This 1111 i<111,- feature permit! certificate holders t<> get their payments without ever visiting the bank and the certificates arc automatically renewable. Minimum deposits are only $1,000 for the CD's, and the certificates are available for periods of six months or longer. All CD's, as well as regular and special banking accounts and the passbook Ravings accounts, are m>w insured up lo S15.000. This is a 5(1 per cent increase over the pre- vious glO.000 figure set by the Federal De- posit Insurance Corporation. FDIC, an agency of the I'nited Slate* government, makes il possible 1": a couple to have as much as $75,000 in accounts in- sured. Details of the many savings, checking and loan possibilities are gladl} given by anj officer of the Carner Bank of Miami Beach. The man most responsible for the drama- lie speed with which the Carner Bank of lliami Beach has found favor in the city, |nd in the booming South Shore area where :.s In. iic: at 937 Washington A\e. is Jack r/arner. Chairman of the l>oard of directors. Jack ,4t p -inds several hours daily in his of- ai the Carner Bank, lending his lifetime If experience in banking, financial and busi- ness matters to the capable bank officers leaded by his son. Stephen H. Carner. Jack Carner has served his community I'li:; ami well. He is a former general chair- 1 iii ot the Combined Jewish Appeal, the Imiuai fund-raising effort ssponsored by the renter Miami Jewish Federalion. Long a vice president of Temple Emanu- , he is a perennial Trustee of Israel, and ill's in a key leadership role for State of |srael Bonds, the United Jewish Appeal and lumerous non-sectarian causes. Within the little more than five months lime Jack Carner purchased control, the I'arner Bank of Miami Beach has incn capital from |1 25 0 to $1,70 i,l President of the Carner Bank of Miami Beach since its change in name several months ago is one of the South Shore area's most dynamic community leaders, Stephen II. Carner. Steve as he is known to thousands of Miami Beach citizens resigned as a direc- tor of the Mercantile National Bank of Mi- ami Beach and closed his own mortgage brokerage office to accept the full-time posi- tion as president. Before returning here three years ago, Carner was vice president of the Colonial Bank o.f Orlando. Steve also serves on the advisory hoard of the Dixie .National Bank in Bade County. Prior to his bank service in Orlando, Car- ner was engaged in various real estate man- agement, financing and building enterprises in Florida. Married for 12 years, Steve and his wife have two children. Steve Carner is a member of the hoard of Temple Beth Am, and just this month produced th*- hit show, "Fiorcllo," for his congregation. Judge Cypen on Bank Board One of Miami Beach and I'lorid.;'.-. 1" si known civic paders is a director and gen- li-al counsi 1 of the Carner lank Judge Irving Cypi n whose nitre on the circuit court lere brought him numerous honors, is a past president of the Jewish Home for the Aged of the Greater Miami and vice president of Temple Emanu-EI. A past president of the Cl vl c League of Miami Beach, Judge Cypen has been in the forefront of the I mini Fund, Combined Jew- ish Appeal, State, of Israel P.oinls and numerous Other community-wide efforts. Talking over plans to increase service by the Carner Bank of Miami Beach to the South Shore area and the entire com- munity are. left to right, board chair- man Jack Carner; Mrs. Anna Brenner Meyers, bank board member and mem- ber of the Dade County school board; vice president Robert D. L*ngi and Mor- ris l.apidus, internationally-known archi- tect and Carner Bank board member. A Bible is presented to tarner Bank or Miami Beach's board chairman, Jack Carner, by Dr. Irving Lehrman. left, rabbi of Temple linmnu-hl. Carner is ^ president of the Miami Beach congregation and has amed In innumerable top-level civic, religious and business leadership posts. Civic Leaders on Bank Board Flection of five Dade Coun- ty business and community leaders to the lx>ard of direc- tors of the Carner Bank of Miami Beach was announced recently by Jack Carner. chairman of the hoard of the 12-year-old financial institu- tion. New directors of the bank. located at 937 Washington Ave arc Mrs. Anna Brenner Meyers, attorney and mem- ber of the Dade school board; Morris L.apidus, head of the New York and Miami Beach architectural firm of Morris Lapidus Associates; Joe Hart, owner and opera- tor of the Castaways Motels; Alexander Muss, board chair- man of the New York and Miami Beach real estate de- velopment and management firm of Alexander Muss & Sons, Inc.; and Joseph M. Rose! owner and operator of the Royal Palm Hotel. Mrs. Meyers has been pres- ident of numerous Interna- tional, national and Southern women's bar associations; Chairman of such women's divisions as Community Chest. Federation and Israel Bonds l.apidus. designer Of many of the nation's leading finan- cial buildings, hotels, apart- Bank Professionals Have Top Records Working closely with Stephen Carner. president. In guid- ing the dally activities Of the earner Bank of Miami Beach are two veteran officers of the 12-year-old bank. Both M. H. Honsinger. executive vice president, and Rob- ert D. Lang, vice president, also serve on the board Ol direc- tors of the bank Honsinger, who began his banking career with the Imperi- al Bank of Canada in 1927. became an American citizen alter World War II service overseas with the Royal Canadian Air Force. He joined the Bank of .Miami Beach in 1957, and lives at til05 V Bay Kd. Lang, who joined the bank eight years ago after service as a vice president and director of the Miami National Bank, has been a resident of Dade County since 1922. ments and shopping ci i is considered an expcri city planning Hart, a veteran of 10 years service on the CH> "t Miami Beach Public Rela- tions Board, is owner of Hart Properties, Inc. Muss, now completing the third Seacoast Towers high- rise ap n tmenl buildlni Miami Beach, is a vice presi- dent of ' pie Emanu-El and a found- er of t ii e Albert Stein College of Medicine. i; '-e. for- nie r general chaiDnan of Israel Bonds here, is honor- ary life presi- dent anil past Temple Kmanu-F.l. He is trustee of Mt. Sinai Hospital PD. ADV. ROSK president of Page 8-A . Jfc-/#f fhrirfinr Friday, December 2,1965 =$ A ..- in incc Friday, December 2. 1966 * Jewish fk>i adHicnn Page 9-A I I : - I ^^53$5J$5J$5^I$5^ from jm nf barton's Bring the sweet taste of Barton's chocolates to your holiday season with a selection from JAA's Candy Shop! Everybody's favorites, have a good supply on hand for enter- taining ... to give as gifts. The AAenorah, 15 ounces of Barton's famous continental chocolates. The candies in the center of the box are colorfully foiled and packed to resemble a Menorah, 2.2.9 Hanukkah Favorites, 14 ounces of assorted continental miniatures, beautifully boxed for gift-giving, $2 Bartonettes, one pound of parve or assorted miniature chocolates, wrapped with a mosaic Menorah design, 2.29 Dredel and Sweets, filled with treats including kiddie pops, chocolate medallion, fruit drops and a plastic spinning dredel, Si Bag-O-Dredels, 11 hollow Swiss .nilk chocolate dredels plus a plastic dredel, in a mesh bag, Dredel, a plastic spinning top with chocolate Hebrew coins, JM CANDY SHOP, first floor, miami available at dadeland and fort lauderdale Sorry, no C.O.D.'s TM STORE WITH TMt FLORIDA FLAI* Puge 10-A + Jewish ftcridtiarj Friday, December 2, 196G AU-DAY SESSION THURSDAY Catholic Jewish Dialogue at Barry Features Notables Daniel Neal Heller (left), chairmen of the High Rise and Res- dents Division for the 1967 CJA drive, and Byron J. Topol, -.vho co-chaired the division with Heller last year, appraise Federation's qift a reproduction of a Euqene Massin orig- inal. The print was presented to each volunteer worker at a Big Wheel Bash of the Combined Jewish Appeal last week. Riots Break Out Anew On Hot Jordan Border Continued from Page 1-A lion in the United Nations. But not to act. it was pointed out. would convert Israel's longest bor- der and the one most difficult to defend, into a permanent front controlled by an enemy power. King Hussein's decision to arm -< (tiers in Israeli border villages v as received here with mixed feel- ings. On the one hand, there was hope that such aiming might weaken the violence of the radio campaign from Cairo against King Hussein mounted by Ahmed Shu- kairy, head of the "Palestine Lib- < at ion Organization," who has called for Hussein's assassination ii the King continued to refuse help from Egypt and Syria and from the PLO. On the other hand. there was fear that giving arms Ii the most passionately anti-Israel element in Jordan's population might cause new border incidents ii bloodshed. The observers noted that fire a opened last night in the Jerus- alem vicinity on a car in Israeli NOW A LITTLE BIT '. OF ISRAEL COMES TO FLORIDA CRUISE TO THE CARIBBEAN ON THE LUXURIOUS . Shalom territory in which one passenger was injured. The observers said I that the shooting probably was done by relatives of casualties in the Nov. 13 action, in the tradi- tional Arab loyalty to the concept! of revenging relatives. Israel j lodged a complaint over the inci- dent with UN' military observers. Border tensions also caused Jordanian officials to close to- . day the MandaJbaum Gate divid- ing new and old Jerusalem, which yesterday was opened only for a few hours. The gate ; was opened briefly yesterday after the American consul in Jerusalem crossed into Jordan and persuaded the governor of Old Jerusalem to allow a group of American tourists to go through the checkpoint. Israeli officials meanwhile post- poned Israel's regular twice-a- month convoy to Mount Scopus until next week because of con-; ccrn over possible reactions by'' Jordanians in Old Jerusalem I which the convoy traverses en route to the Israeli enclave. The ' convoy brings relief police guards : and supplies to the Israeli guards i on Mount Scopus. Some of the nation's and this community's most prominent Cath- olic and Jewish leaders were to take part at Thursday's Catholic- Jewish Dialogue scheduled in an all-day session at Barry College. Co-sponsored by the Catholic Diocese here and the Florida of- fice of the Anti-Defamation League of B'nai B'rith. the dialogue was to continue with a banquet in the evening. Co-chairmen are Judge C. Clyde Atkins and William L. Pallot, with the theme slated as "The Person, the Family and the Common Good." Registration, under the direc- tion of Sister Mary Clifford, was to lake place at 9 a.m., in Thomp- son Hall on Barry College campus. Sister If. Dorothy, president of Hairy College, was to give greet ings to guests. Judge Atkins was to introduce the morning keynote speaker. Dr. Joseph L Lichten. national direc- tor of intercultural affairs for the Anti-Defamation League of B'nai B'rith. Small discussion groups were to be formed, stressing "The Person" during the morning session, and "The Family" during the after- noon session. Judge Pallot was to introduce the Fort Lauderdale attorney, Francis K. Buckley, guest speaker for the afternoon session, following the opening remarks. Buckley is past president of the Broward County Bar Association and president of the Community Service Council of Broward Coun- ty. The Rev. Cyril Burke, chaplain of Barry College, was to summar- ize the conference, emphasizing social concern and community is-; sues influenced by religious be- liefs and traditions. Greetings were to be extended by Bishop Carroll. Dr Irving Lehr-I man. Judge Pallot and Judge At-1 kins at the 8 p.m. session. Out-of-town speakers for the evening session were to be the Rev. David J. Bowman, theolog- ian, author, educator and mem- ber of the Bishop's Committee for Ecumenical Affairs in Wash- ington, D.C., and Or. Samuel Sandmel, professor of Bible and Hellenistic literature at Hebrew Union College. Fr. Bowman holds a licentiate in philosophy and theology at West Baden College. Ind., and a doctor- ate in sacred theology from the Gregorian University in Rome, specializing in the theology of the redemptive incarnation and the theology of ecumenism. Dr. Sandmel is a specialist in the New Testament and its rela-' tion to Judaism. He was appoint- ed to the faculty of Hebrew Union College in 1952, and served as j provost from 1957 to this year, | when he was named distinguished j service professor. in the heart of Miami Beach 400 foot private beach and cabanas Vz mile of boardwalk two heated pools steam, sauna and massage facilities* stores and specialty shops right on the premises STUDIOS U? * BEDROOM APIS.. " RENTALS FROM mo Uatfi ConsmtliU Scit 6) Occtfmy Kitchen Sit/\ y" can > appliances by \XJ sure il it's... 144 Westinghouse Triton Tomer ON THE BOARDWALK IN THE HEAAT OF MIAMI BEACH Rfftln OH'Ce on premises open 7 djps 9-S COLLINS AVE. & 29th ST. PHONE JE 2-2411 t 1 li ( Now you can cruise on the niciit it, the new Shalom, right from Port Everglades. The Jl- "ere aboard the Shalcm unique blend ot Israeli warmth and C .nbbean excitement...and you'll) visit such places as St. Maarten, St. Thoma*, San J. an, Guadeloupe. January 6 for 8 days. Reservations are going*fast. so hurry. S.S. Shalom Israel Registry, built in 1964. pr more information see your travel agent, or call ZIM UNES-21 Owner's Representative: American Israeli Shipping Co.. Inc., 24,5 Southeast First St.. Miami. Fla. Arab League Boycott Adds RCA to Ford Continued from Page 1-A Tunisia has been boycotting Arab League meetings. In a related development, Eygp- tian assets of Ford were frozen by three Alexandria banks. Hans1 Slock, general manager of Ford: operations in Egypt, denied re- ] ports that the action had been! taken because the American firm | had refused to assure the Arab I League that II would not operate in Israel. Ford recently entered into an agreement with an Israeli firm to assembly Ford vehicles in bsael, Mr. Stock said that the banks froze Ford funds in Egypt pending settlement of a $1,840,000 customs claim. Egyptian law requires pay- ment of a customs duty on com- pleted cars assembled in the Alex- andria free zone. Ford has paid duty only on imported parts of the completed units and not on locally supplied items such as tires, bat- teries, upholstery and labor. (In Detroit, Ford officials declined comment on the report of the freezing of company assets in Alexandria.) YOUR SAVINGS INSURED up to $15,000 If you want EXTRA PROFIT we will automatically add the dividends from your Savings Certificate to your Regular Passlx>ok Savings, giving you even higher earnings. We make no charge to transfer your funds from anywhere in the U.S.A. to: MITCHELL WOLFSON Chairman ot the Board MILTON WEISS President m SAVINGS AND LOAN ASSOCIATION Second Oldest in the Nation. Largest in Miami Beach. MAIN OFFICE LINCOLN ROAD MALL AT WASHINGTON AVENUE 538-5511 BRANCH OFFICES 755 WASHINGTON AVENUE, MIAMI BEACH 538-5511 301 71st STREET, MIAMI BEACH 538-5511 260 SUNNY ISLES BOULEVARD, MIAMI 947-1415 18330 N, W. 7th AVENUE, MIAMI 621-3601 ** FAKKINO AT ACL. OFFICES TOWER OF THRIFT T33J ht: ..._?,* 1MB [riday. December 2. 1966 *Jfewfef, meridian Paqe 11-A Reprisal Can '* be Tolerated ^ [Meeting to discuss the Dec. 15 Woman of the Year Luncheon of the Greater Miami Women's Division, American Friends of the Hebrew University, are (from left) past president, Mrs. Louis Glasser; president, Mrs. Philip F. Thau; board members, Mesdames Herbert S. Shapiro and Jack S. Popick. WITH ASSIST FROM JACKIE GUASON lew $1,500,000 Warner Pavilion Ready :or Dedication at Mount Sinai Sunday Dedication of Mount Sinai Hos- pital's new 150-bcd Albert and lassie Warner Pavilion will be Bid on Sunday at 2 p.m. .lackie lea son will make a special ap- earance at the ceremony to pay ribule to Maj. Warner, one of the bunders of the Warner film |\ nasty. Ma), and Mrs. Warner presented llount Sinai with Sl.500.000 for the ^instruction of the new edifice following Maj. Warner's hospitali- lation at Mount Sinai two years Iffo. "The groat growth of our com- , monity, th efforts of this fine .medical institution, and the con- sistent goals of the hospital to Iprovide the best patient care to all" is what impressed him at the time and made him decide to |help provide additional needed beds to the institution. The new win-:, on the bayslde of the hospital grounds, i- a four- story building, the three middle floors o! which are patient areas. Rooms have the latest in modern furniture and contain free televi- sion and telephones, in addition to necessary hospital equipment. Each floor has a spacious visitor- patient lounge. The first floor contains a large lobby, offices and other adminis- trative areas. The roof of the pavilion contains recreational and solarium type equipment. The en- tire building is colorfully-deco- rated, and work is currently under way so that the surrounding grounds will be an attractive set- ting for this modern .structure. The ceremonies will be followed by conducted tours of the new wing and refreshments. Admission to the program is by invitation only. UNITED NATIONS (JTA) After more than a week of bar-, gaining behind the scenes of the United Nations Security Council over the text of a resolution on Jordan's complaint against Is- rael's reprisal raid into Jordanian territory on Nov. 13. a joint draft resolution by Mali and Nigeria was presented to the Council. The resolution censures Israel and emhapsizes that actions of military reprisal 'cannot be tol- erated.'' It warns that if they are repeated, the Security Council "will have to consider further and more effective steps" as envisaged in the UN Charter. In the meantime, it requests the UN Secretary-General "to keep the situation under review" and report to the Security Coun- cil "as appropriate." The resolu- tion avoids recommending any sanctions against Israel, as re- quested by the representative of Jordan. i he text of the resolution reads: "The Security Council, having heard the statements oi the repre- sentatives of Jordan and Israel i ii i erning the grave Israeli mili- tary action which took place in the southern Hebron area on 13 No- vember 1906. "Having noted the information provided by the Secretary-Genera1 concerning this military action in ins statement of Hi November and also document S/7593; Observing that this incident constituted B large-Scale and carefully planned military action on the territory of Jordan by the armed forces in Israel; Reaffirming the previous resolutions of the Security Council condemning past incidents of re- prisal in branch of the General Armistice Agreement and of the United Nations Charter; Recalling the repeated resolutions of the Se- curity Council for the cessation of violent incidents across the de- marcation line, and not overlook- ing past incidents of this nature; "Reaffirming the necessity for strict adherence to the General Ar- mistis- tice Agreement between Israel and Jordan; 3. Emphasizes to Israel that actions of military reprisal cannot be tolerated and that if they arc repeated, the Security Council will have to consider further and more effective steps as envisaged in the Charter to ensure against the repetition of such acts; 1. Re- quests the Secretary-General to keep the situation under review and report to the Security Council as appropriate." Prior to presentir.-j the resolu- tion, the representatives of Mali, Nigeria and Uganda addressed the Security Council. The Uganda representative suggested that a "hot line" be set up be- tween Israeli and Jordanian military commanders to prevent further incidents. He also said that his country welcomed steps planned by Israel to seal the bor- der. The delegate from Uganda in- dicated that UN trace machinery had outlived its usefulness. He called for practical measures, such as meetings of military command- ers on both sides of the armistice lines to work out means of sur- veillance of the border. He also said there should be full freedom of movement in the demilitarized zones for UN military observers so that UN personnel will not be stop- ped in tracking offenders. He also called for UN observation posts in sensitive sectors on the demarca- tion lines. Before the Mali-Nigeria draft resolution was presented to the Security Council, members of the Council were working to combine several proposed texts into a re- solution that might be acceptable to the Council. 'flu delegates from Mali and Ni- geria, i.: pi esenting their joinl r solution, said that they did not l - pact either Jordan or Israel to ac- 'cl i in this resolution, but asked that thej accept if as part "! B genuine concern of the Seem Council that "peace should he re- stored and maintained in the arei |on the basis of peaceful co-ex! '- c nee thai we all advocate." DAVID LIGHT SLATED FOR AWARD Jen Pastore to be Guest Speaker Sunday at Beth Am Bond Dinner CHANUKA CELEBRATION DfC. II SEC. B TEMPLE NEK TAMID BANQUET SEC. S FREE! PEOPLES FIRST NATIONAL BANK OF MIAMI SHORES Complete Tryst Facilities Northeast 2nd An. at 95th Street Miami Shores, florida Telephone 757-5S11 PEOPLES AMERICAN NATIONAL BANK OF NORTH MIAMI Northeast 125 th St. at 10th Ave. North Miami. Florida Telephone 751-661 I PERSONAL CHECKING SERVICE for Persons 65 years or older Phone for Bank-By-Maii Material PEOPLES FIRST NATIONAL BANK OF NORTH MIAMI BEACH Wait Dixie Highway at 162nd Street North Miami Beach, Florida Telephone 945-4311 PEOPLES NATIONAL BANK OF COMMERCE Northwest 79th St. at 33rd Ae. Miami, Florida Telephone 696-0700 PEOPLES LIBERTY NATIONAL BANK OF NORTH MIAMI Northwest 7lh Avo. at 1 3 5th St. North Miomi, Florida Telephone 6SS-2444 PEOPLES NATIONAL BANK OF BAY HARBOR ISLANDS 9500 lay Harbor Terrace (Off Kane Concourse, Miami Beuch) ay Harbor Islands. Florida Telephone 166-6266 Combined Resources ia excess of $72,000,000.00 MfMBMS- FfOFHAI DEPOSIT INSURANCC COKPOtATION-FlOEKAL ItSl'VC SYSTIM United States Sen. John O. Pas- lore, of Rhode Island, will be puest speaker at the Temple Beth >m Israel "Chai" dinner Sunday ivening at the Dupont Hotel, it WU announced by Herman Feld lan. dinner chairman. Feldman noted that Sen. Pastore r\ill come to the Beth Am dinner if the personal invitation of Dr. Herbert M. Baumgard, spiritual eader of the temple. Dr. Baumgard and Sen. Past re irst met Jast spring at the Isrpel SEN. PASTORE Independence Day dinner where Sen. Pastore was speaker. David J. Light, veteran South Dade community leader and a founder of Temple Beth Am, will be the recipient of the Herbert I H. Lehman Award. A member of the U.S. Senate ' since 1950, Sen. Pastore, in addi- tion to serving on the Joint Atomic Energy Committee, is assigned to I he Senate Committees on Appro- priations and Commerce He also plays a leading role in the Senate Democratic Policy Committee. Prior to his election lo the U. S. Senate, he had served for five j years as Governor of Rhode Is- land. His political career began in 1935. when he was elected to the Rhode Island General Assembly. Shortly thereafter, he was ap- pointed to the Attorney General's Department He served for six years as Assistant Attorney Gen- eral of Rhode Island, before hold- ing the office of Lieutenant Gover- nor in 1944. A leading figure in the passing of the nuclear test ban treaty. Sen. Pastore had a decisive part in the adoption of the Civil Rights Act. lie was President Johnson's choice to deliver the keynote address of the Democratic National Conven- tion in Atlantic City in August. 1964. The dinner will be at 6:30. pre- ceded by a champagne reception tendered In honor of Sen. Pastore by Dr. and Mrs. Baumgard and Mr. and Mrs. Light. 67 RENAULT avm PLUS STATE SALES TAX AND LICENSE Diamond is the WORLD'S best friend DIAMOND MOTORS 3 2190 S.W. 8th STREET PHONE 373-5436 18340 S. DIXIE HWY. PHONE 235-1053 Page 12-A KjfeNtftf fk>rktiat i Friday. December 2. 1966 Israel Will Keep 'Nili For Auction to Meet .< {scsrl Treasury officials decided Sunday lo keep' the "Nili," the Hgl^L sh^p in _thc J^ryjd^jJ. in Miami Port Mortgage Debts Miami YMHA senior high students discuss Jay Gartman, president of the Presidents plans lor the 13th annual teen conclave to be Council, Jay Veber. Seated is Mike Rosen, held at the YM and WHA of Greater Miami conclave coordinator. Not shown are conclave on Sunday. Standing (left to right) are Mike coordinators Bonnie Kalish and Sherry Hech- Weinberg, Glenna Allman, Susie Goldberg, felsen. (See story, Page 6-A.) DEEPLY-HELD RELIGIOUS CONVICTIONS REMAIN UNCHANGED Dialogues Have No Effect -- AJCong. By Special Report NEW YORK Interfaith dia logues and other programs aimed at bringing Catholics and Jews closer together have had little or no effect in changing deeply-held positions on birth control, public funds for parochial schools and other church-state issues, the American Jewish Congress re- ported here. Despite the new look in Cath- olic-Jewish relations since the Ecumenical Council, differences between the two groups remain "as wide as ever" on both public and theological questions, it was stated. Howard M. Squadron, chair- man of the Commission on Law I and Social Action of the Con- j gress, said he was "neither sur- prised nor disappointed" that closer ties had not led to fewer differences. "Dialogue does not have to result in agreement," ; he declared. "It does serve a useful purpose by exposing different points of | view to rational exploration rather than emotional expulsions." The American Jewish Congress leader said it was "not unusual for Jews and Catholics to oppose each other at a public hearing on an issue of church-state separation in the morning and sit around a table the same evening in interfaith dialogue. "This is a healthy development." he commented. "It is healthy that the two groups should meet to- gether in civilized discourse and it is healthy that neither group should feel it must abandon prin- ciple as the price of interfaith har- mony." Squadron said one of the major differences between Catholics and Jews was the question of public financing of church connected schools. He conceded that some Orthodox bodies in the Jewish community had joined with Cath- olics in seeking Federal and state funds for parochial schools and Yshivoth. But he said the "over- whelming majority of American Jews as represented by the sec- ular and religious organizations Adenauer OK's Kiesinger Continued from Page 1-A candidate. He added that his opinion was "shared by authorita- tives representatives of Jews liv- ing in West Germany." Meanwhile Kiesinger made public this week his exoneration by a West German De-Nazifica- tion Court. The verdict said that Kiesinger joined the Nazi Party on May 5, 1933, but that he op- posed the party program at both professional and personal risk, after Hitler liquidated Ernst Roehm and other storm troop- ers in the summer of 1934. ^t Kiesinger released the Courfs verdict without comment. He had previously made public a repon'hy the Nazi Secret Service accusing him of having worked against the party program during the second World War while he was a foreign ministry official. According to Kie- singer, Allied de-Nazification au- thorities completely exonerated him in 1946 after holding him in prison for more than a year. The West German exoneration of Kiesinger was handed down by the County Court at Scheinfield near Munich in August, 1948. It con- firmed that he did not resign from the Party, but said he had never held office or rank. It added that from the time he recognized the true nature of the Party program he had opposed the Nazi "Mastery of the Select" to the extent within his power. t&H Call 534,2141 SHARPN - NEWEST, FINEST NAME IN KOSHER RESORTS ^# Exciting, elegant, enticing...for the few who appreciate specialized service! Pool, Cabanas, Private Beach, free Lounges, free Parking, T.V & Radio each Room, nightly Entertainment. 0 We only look expensive! OCEANFRONT at 20th St. Miami Beach, Fla. %. t *' -+ ir * 33139 Hold Mod. American Plan k-ftr rm. ' Obl Sec I 10 ! 1 106 Mwi To D.< 16 Amtricon Plan I Dec. IT >o Jill. 2 that speak for them strongly oppose any weakening of the wall of separation between church and state." Another area of disagreement is the question of providing birth control information and materials as part of the anti- poverty program. Catholics have opposed this aspect of the war on poverty in many parts of the country. Squadron noted. He added: "We recognize that the Catholic community has its in- ternal disagreements and that we find ourselves at odds, on some issues, with only some of its spokesmen. "It is clear, however, that on the matter of public funds for church-connected schools, Cath- olic leaders are united in opposing the principle of church-state sep- aration as uniformly understood and practiced by the American people since the writing of the Constitution." The American Jewish Congress spokesmen said a significant trend was developing in the "rising num- ber of church-state issues now be- lug fought out at the state as well ' as the Federal level." Recent proposals to repeal Ar- j tide XI. Section 3 of the New York State Constitution the provision that bars the expenditure of pub- lic funds for church-connected schools were the "first salvo in a campaign to open the public treasury to sectarian schools, not only in New York but in states around the country," he charged. "Opponents of strict separa- tion," he said, "have opened a new front in the State Legisla- tures, where they hope to find- a more receptive climate." He cited legislation proposed or already enacted to provide text- books, bussing and public school j teachers for church operated schools. State courts in Michigan, New York, Ohio, Oregon and Penn ; sylvania are expected to hand ] down decisions on these issues soon, he noted. Somerfin shipping company, in Miami until it is auctioned to meet some of the debts against Somer- fin which have been guaranteed by the Israel Treasury. The decision to bar the Nili from a scheduled Caribbean cruise was taken after Tieasuiy officials heard a report from the Treasury's iegal adviser. Elhanan Landau, who went to Miami to investigate the situation, and returned to Jerusalem for conferences with top Treasury officials. The Nili is mortgaged to the Bank of Glasgow, Scotland. Its mortgage, which is in default, is guaranteed by the Israel Govern- ment, which has provided the Geneva-based firm with SI 8,- 000,00 in various forms of guar- antees and collateral. The company, which was found- ed and is operated by Meir Halevy, an Israeli citizen, was disclosed to be in difficulties about two weeks ago when Swiss creditors and banks asked for a court injunction to freeze Somerfin assets and to bar Halevy from the management, reportedly to protect their invest- ments in Somerfin. Treasury officials said that the Israel Government would not lose any money on its guarantees if the Treasury was permitted to act as a "hard banker" without "sen- timental considerations." II AM K AH SPK4 I A December tith TO December 1Mb tmrvarm W * DAVID RDSNER'S HOTtt POOL cum; Alt CSSdHloneJ i Sealed Dicta'y L?-vs Strictly Observed . FREE T.V. RADIO 1,1 EACH ROOM On the C-?anjtG7t!i Street Miami Beach Phone UN 6-8831 CONSTANT RAI3INIOU SUPERVISION SAND-ELL KOSHER CATERERS Under Rabbinical Supervisee BAR M1TZVAHS WEDDINGS PARTIES Specializing in Nome Cateriaf and Hotel (Verb SOL WEISS 866-6226 IF NO ANSWER DIAL 866-5278 1216 NORMANDY DRIVE., MJ. Handwriting Analyst Heard A regular business meeting of the Business and Professional Women's Chapter of Women's American ORT, took place Tues- day evening in the Hospital Room of Chase Federal, 425 Arthur God- frey Rd. Charlotte Leibel spoke on "History of Handwriting." So- cial hour followed. CATERING All OCCASIONS unucn ntn MAMAbtMfNT Open Doily 4-9:30 P.M. Now Featuring KOSHER TAKE-OUT SPECIALTIES 940-71st ST., M.B. 866 6043 j Continental to a Kosher Caterers WEDDINGS BAR MITZVAHS BANQUETS UNLIMITED At Your Home, Hall or Synagogue Miami's Only "Shomer Sbabbos" Restaurant Quality Par Excellence 8393 BIRD ROAD, MIAMI Phone 226-1744 HAROI.r. PONT and IR-VIN GORDON 4,Oltl0> and io\r KOSHER CATERERS hmii from hop> d'oeuvres to a complete buffet l^rnkftW 170 N.W. 5th ST.. MIAMI PHONE FR 4-2655 Under the ttrict tuperviaion of the United Kashrue Association of Greater MiamiSupervising Rabbi: Rabbi Abraha'- J. Safra OPEN HOUSE WEDDISGS BAR MITZVAHS RECEPTIONS ^tWB ROYAL HUNGARIAN TW RESTAURANT AND CATERING NOW OPEN for the SEASON 731 Washington Avenue Phone 538-5401 Bonfc's Capital on Rise Capital structure of Jefferson National Bank of Miami is in ex- cess of $1,700,000 as of Nov. 15, according to an announcement by Arthur H. Courshon, chairman of the board. Jefferson National's original capital structure in March, 1964 was $1 million, according to Courshon, who noted that "this is a 70 percent Increase in only 32 months of operation." KATZ's PARADISE RESTAURANT 1451 Collins Avenue Phone 532-1671 REOPENING FRIDAY, DEC. 9 AT 4 P.M. KREPLACH ft KISHKE ft MATZO BALLS -A- KNISHES MEAT ft FISH ft STEAKS ft CHOPS ^CHICKEN COMPLIMENTARY BEER OR WINE SERVED WITH DINNER ON OPENING NIGHT CATERING FOR ALL OCCASIONS Excellent Cuisine Superb Service Modern Decor RE-OPENING SUNDAY, DEC. 4th at 4 PM. STAR Dairy. Veg. & Fish Restaurant EST. 1943 Under Same Management THE OLDEST AND ONLY DAIRY RESTAURANT IN DADE COUNTT * 841 Washington Ave. Ph. 531-9182 * ! (/ Friday. December 2, 1966 +Jeist fh>rId in r) Page 13-A 36 Jet Fl04's Go to Jordan I Florida's most controversial bank issue, branch banking, was I the major topic discussed at the fu.it annual Florida Com- mercial Bankers Forum held in Miami recently. Pat DuBois, president. Independent Bankers Association of America (right), explains why his organization favors unit banking to Frank Smothers Jr., president. United Bancshcres of Florida [(left), and William Pallot, president. Greater Miami Clearing- house Association (center). luring the week... as i see it Continued from Page 4-A I in their heyday, that "Ieh bin ein Berliner.'" he simply confirmed | their erroneous impression of the facts. The Germans were upset about the division of their country and [of Berlin; and they have needed repeated assurance that we would not abandon them in the face of a threatening Communist tide. [What we have done, in our NATO [maneuvering, in our designation of former Nazi elite Gen. Speidel as NATO commander, in our re- creation of the German military image, in our acceptance of West Germany as this nation's prin- cipal ally in the ultimate con- frontation with the Soviet Union, is also to tell the Germans that we finally accept what Hitler said in the first place. This is the duality with which the Germans have since lived. They have not ever been able to understand why we continue to countenance the trials of former Nazis, why we silently approved of world pressures designed to underscore German sins during the Hitler era, and why we turn- ed the other way when some forces, notably the Jews, never let up in seeking to stir whatever (guilt the Germans could feel. As the Germans wanted to see I it, this has been the minor note and why not forget it? in the major composition that was the Hitler symphony: the warn- ing tutti against the Bolshevik scourge. If we joined them, why were we still fighting them? Erhard's visit with Johnson changed all that. Suddenly, the U.S. suggested a newer view of the European continent and the Western struggle against the East. Individual nuclear capabil- ity was denied him. A less stern view of the Russian threat was voiced, however sotto voce, in the face of newer threats we wanted the Germans, along with the West generally, also to feel. NATO, it suddenly grew appar- ent, would no longer be what it had been in the past. Erhard re- turned and his shaky coalition came crashing down on his head. Now the old guard, the Nazis, the extremists of the thirties, could speak again, raising t.fiir tattered banners anew. And, since Uncle Sam was no longer a democratic ally, the makeup on the face of Bonn smeared, grew streaky and ran. It ran in the successes in Hesse, and grew bleared in the ballot boxes in Frankfurt. By Special Report The United States announced Tuesday that it is sending 36 F104 Star-fighters, Lockheed jets cap- able of 1,500 miles an hour, to strengthen King Hussein's regime in Jordan. The announcement came in the wake of open and frank expres- sions of State Depaitment dis- pleasure and even anger at the Nov. 13 retaliation by Israeli loices against repeated Arab in- fractions of the border and ter- rorist activity in Israeli village settlements. Meanwhile, Israel claimed, also on Tuesday, to have shot cown two Egyptian MIG 19's in a tattle over the Negev Desait. According to the claim, an Is- raeli communications plane was patroiing over (he desert and was intercepted by the two So- viet-produced Egyptian fighters. Israeli jets came to the rescue at 15.000 feet over the frontier settlement of Beertayim. Israel said that one MIG fell on Egyptian soil. Hi- Mirages, the vaunted French-manufactured fighters, are both reported to have returned safely. King Hussein, of Jordan, re- ceived the U.S. F104-s following a weekend assessment in which the State Department concluded that it would be necessary to bolster the King's military strength against new calls by the Arabs, and particularly Syria, to bring down Hussein's rule. Allegedly, Hussein is regarded as "soft on Israel'" by other Arab rulers. The King, determined to main- tain his throne, was this week forced into making new strong statements against Israel to put the lie to the Arab charge. At the i same time, in a press conference in Amman, he attacked the Soviet | Union, accusing Moscow of adding to present Middle East tensions because of the Communist deter- j initiation to gain control of the oil-rich area. He openly called the Communists to blame for the pres- ent unrest. Hussein frankly told the West that if the Middle East fell to Communist influence, "the threat will be very, very severe." Wednesday, U.S. JSecrejtary of Labor Wiliard WirtT'arrived in Israel. But it was reliably under- stood that he was bringing a per- I sonal warning from Washington [ not to repeat the Nov. 13 incident. I Washington clearly blames Israel : for the threat to the Hussein re- gime. The Jordanian King, 31, is considered by State Department observers as the most stable mon- arch in the Middle East. MORRIS & RUTH URNER HARRY ZUCKERMAN Catering for All Occasions Established in 1945 PARKING FACILITIES Famous 471 WASHINGTON AVE. JE 1-3987 MIAMI BEACH J^esfauranl VOW OPEN 7 DAYS A WOR fC Branches Set Dinner Show Workmen's Circle Branch 1059, fcliami Beach, will celebrate its lOth anniversary with a dinner know at the Lucerne Hotel on Sun- pay. Dec. 11. Reservations and tickets are Available from Murray Gold, 6905 pay Dr.. or the Workmen's Circle Dilic. 940 Lincoln Rd. Branch 1059 is one of the English-speaking branches in the Greater Miami ar*a. Meetings are held the third Saturday evening of the month at the . Washington Federal Normandy Isle Branch. Mrs. Max Greenberg, chairman, Announces that in lieu of the Jan-; pary meeting, the group will spon- < or a concert by the Greater Mi- j pnii Mandolin Orchestra with the proceeds to the Workmen's Circle Schools in Greater Miami. Miami Beach Branch 692 of the Workmen's Circle will install new- officers at the last meeting in December. Slate for 1967 includes financial secretary. Harry Schuldiner, 1015 Meridian Ave.; treasurer. Arthur Geller; recording secretary. Isaac Frankel: Isidor Cohen, correspond- ing secretary; Max Zimmerman, hospitaler. Executive board are Saul Block. Sidney Borenstein. Sarah Gold, Mr. and Mrs. Samuel H. Levine, I. R. Levine. Nathan Rosenfeld. Hyman Simon, Katie Tischler and Abe Boyer. Meetings are held at 25 Wash- ington Ave.. the first and third Thursday of each month at 1 p.m., Chabner to Serve Cemetery Assn. As Prexy 4th Time Hyman Chabner has been re- elected president of the Greater Miami Jewish Cemetery Associa- tion, and will serve in the office for a fourth term. Others reelected as officers for the current year are Fredric Rosenthal. first vice president: Leo Meyer, second vice president- Nathan Ginsburg, secretary; Samuel Kostoff. treasurer; Max R. Silver, chairman Trust Fund. Serving on the board are Philip Berkowitz and Abraham Pepper, Beth El Congregation: Morris B. Frank and Morris Krevat. Beth Jacob Congregation: Lewis Stern- shein, Beth David Conaregation; Irving I.ubin, Beth Kodesh Con- gregation: Hyman P. Galbut and Mrs. Samuel Geltner, Chesed S'lel Ernes Sisterhood. The Greater Miami Jewish I Cemetery Association owns and J operates the Mount Sinai Memorial Park Cemetery and the Jewish i Section of Woodlawn Park Ceme-j tery. ... Show Place of South Beach d 15 NOW OPEN! ,._-;. CHINA INN Chinese food Under New Management 14255 NW 7th AVENUE Open from 11:30 A.M. to 9:30 P.M. /Closed Monday) Complete Luncheon 70e Complete Dinner $1.35 Combination Platter $1.75 COMPLETE TAKE-OUT SERVICE CALL 681-0012 Tired of shopping from store to store? LET HASSEN'S DELIVER YOUR FOOD TO THE DO0R in 50 2 Servings 5 Days *"** Plus Del. & Sales Tax German American Cooking Call for Menu HASSEN'S HOME CATERING 2980 N.W. 7th St. 6-U-9716 f4-9967 sWhere The Angels Meet ...To Eat!" ________________________ i [ THI FINEST KINO OF FOOD AND SERVICE AT WORKWOMAN4* PRICES OPEN 7 A.M. to 9 P.M. 7 days a Week, I Page 14-A +Jewlsli mhridlur Friday. December 2, 1966 P Today's Thought: By DR. SAMUEL SILVER Americans Overseas Cease Being Americans VHHEN DOES- an American cease to ** be an American? When he ceases to be in America? Most American tour- ists, I am sure, are exemplary >n their conduct. Others seem to change outlook when Ihey go overseas. American Jews, for example, sub- scribe to the notion that evil should not be fostered. Yet thousands of them go to Austria, a country which is pock-mai.cu v. Semitism more blatant than latent. Recently, the Reconstructionist Magazine wondered aloud why Jews would surrender their dignity and patron- ize a nation where Hitlerites are almost lionized and where anti-Nazism is enough to make a person the butt of popular ridicule. The attraction of Spain and Portugal for American tourists Jewish and non-Jewish, evokes wonder, too. A friend of mine told me about one of his friends who spoke enthusiastically about the charm of Spain and the picturesqueness of the Portuguese people. My friend was boiling because his friend had spoken : OH the Record: By NATHAN ZIPRIN Demonstration of Orthodox Love I HAVE NEVER been ashamed ofl being a Jew nor of Orthodox persuasion in an age that strains religious credulity. This faith, | however, was shaken quite pro- foundly recently when I was wit- ness to an unbelievable spectacle a picket line by young religious I zealots against one of the great I Jewish scholars of the clay and a man ol impeccable Orthodox piety. The target was Dr. Samuel Belkin, president of Yeshiva University and of its Isaac Elchanan Theo- logical Seminary of America, an institution without which the American Orthodox rabbinate would be extinct today. Dr. Belkin's sin was acceptance of an invitation from the Synagogue Council of America to participate in a dinner ceremony in tribute to the heads of the three leading rabbinical seminaries in the country Orthodox, Conservative and Re- form. The invitees, besides Dr. Belkin, were Dr. I 'inis Finkelstein, chancellor of the Jewish Theo- logical Seminary of America, and Dr. Nelson Glueck. UN Listening Post: By SAUL CARSON A Big Lesson United Nations |SRAEL has learned several les- ons of great importance from its last diplomatic encounter here in its case against Syria. Perhaps i the most important of those les- sons is that, contrary to the views held by many people including I Israel the Jewish State is not a lone woii at the United Nations and does have friends at court. They are powerful friends. They include not only the Big Three Western powers the U.S.A., Britain and France but also a net majority of the Security Council's ten non-perma- nent members. Although the resolution on which the Council finally took a ballot had been a dehydrated version of a somewhat stronger draft previously moved by the United States and Britain, the fact that the last draft had been co-sponsored by six of the ten non- permanent members showed that Israel's case was not a lost cause. Syria's ambassador himself, George J. Tomeh. in voicing his objections to the final draft, conceded that it "implies that Syria is being admonished, that Syra is being blamed for not having taken the neces- sary measures." That is precisely what Israel sought, and that is exactly why the Soviet Union vetoed the draft. By exercising its veto, the USSR killed all the efforts to adopt the resolution formally. But the Council's official records show that ten of its 15 members agreed with the Syrian evaluation of the main operative clause, which stated that the Coun- cil "invites the Government of Syria to strengthen its measures for preventing incidents that constitute a violation of the GeneraT^Armistice Agreement." Mild as such wording was, it is. indeed, as the Syrian ambassador complained, "tantamount to laying the responsibility for these incidents at the door of the Syrian Government." If Israel could get six co-sponsors out of a Council membership of 15 to stick their necks out when Israel's case happens to be just if Israel could get two-thirds of the Council members to vote for its side what does that show about Israel's status at the United Nations as a whole? The recent Security Council debate and final results on the Syrian-Israeli dispute showed also where Israel's real friends are situated. For a time, during the Council deliberations, France was un- willing to join the United States and Britain in out-and-out endorsement of Israel's case against Syria. president of the Hebrew Union College Jewish In- stitute of Religion. On encountering the pickets before the hotel, who were surrounded by bewildered people who could not grasp how so-called religious people could picket an event that marked the sitting together of brethren. I asked one of them whether he believed in the dictum that "all Israelites are comrades." His impudent answer was yes, but that the term "Israel- ite" referred only to "our Jews." I received a sim- ilar answer when I reminded another of the pickets about the Psalmist's admonition, "Indeed, how good and pleasant is the sitting of brethren together." And when I reminded a bearded gentleman with piercing eyes of a fanatic of the Biblical injunction. "Thou shalt not hate thy brother in thy heart," he burst into an irate flame that almost consumed me. Angrily he replied, "the word brother means our brothers, not of the kind you have in mind." At this point. I could not resist reminding him'of the Talmudic dictum that falling into wrath is a worse sin that idol-worshipping. Now. his still more angry reply, was "Ihr zeit an am haaretz" (you are an ignoramus). On entering the dining room of the hotel, where the function was held, I hoped to meet and talk to Dr. Belkin and other erudite Orthodox scholars about the demonstrators and the rationale behind their conduct. But before I could get into a con- versation with Dr. Belkin, the dinner bell rang, and our talk was interrupted before it even began. At our table there was speculation whether any of the three honored guests, particularly Dr. Belkin, would react to the situation. The answer was not long in coming, though Dr. Belkin did not specific- ally refer to the religious zealots who objected to his sitting at one table and under one roof with men of different Jewish religious views. My notes on what he said may be incorrect, but here is what my notebook says he said. Dr. Belkin observed that he could see no ob- jection to a uniting of Jewish religious forces within v the Synagogue Council of America on matters of common interest and concern, but that "in the things in which we differ we can have- no unity, nor should it be expected of us, particularly of Jews of Orthodox orientation." Continuing he said, "we do not hate any Jew in our heart; we love our neighbors regardless of whether they are Jews or non-Jews ... As an Ortho- dox Jew, I have no hatred for any Jew whether he is observant or non-observant. I have the deepest affection for my fellow co-religionists, and when we rebuke them, or make pleas to them in furth- erance of Tdrah, we never do it in the spirit of hatred, vengeance or grudge, but in the spirit of genuine love and affection. We shall never diminish our deep devotion to our brethren and fellow- citizens, nor shall we compromise with our sacred heritage, with our link in our golden chain of being." admiringly of the Portuguese as "unspoiled." The bucolic nature of the Hispanic countryside also evoked praise. "Doesn't he know," roared my friend, "that unspoiled means untouched by progress, that picturesque often means squalid, and that obsequious people are the fruit- age of dictatorship? Doesn't he know that despite the whitewashing done on Franco he remains the hater he was, unrepentant and brutal, still refusing to grant free- dom to his own subjects, to organized Protestant and Jewish groups? Naturally, he wants American dollars. But how can Americans who in this country are adherents of freedom and supporters of democracy betray these ideals when they go abroad?" Of course, it's the thing to do these days to go to Spain. But one can understand my friend's feelings about this strange blend of fashion and fascism. One tourist spot worthy of support is Gibraltar, which has a Jewish prime minister, Israel Hassan, and lots of troubles because in his zeal to get it away from England. Franco is putting the squeeze on Gibraltar's economy with undisguised ruthlessness. When an American leaves America would it not be well for him to bring to other nations that which is finest in America? Panorama: By DAVID SCHWARTZ Of Isaac Carmel JTHE MAN WHO shook hands i with Theodore Herzl himself 3 flew into Kennedy Field the other I day for his annual visit from Is- JraeL We mean Isaac Carmel. They tell of Paul Revere that I in his old age he liked to put on his Revolutionary War uniform land reminisce over the famous noie ride he took back in Boston in 1776. Carmel hasn't got a horse, but he flies about more than Revere ever did, bespeaking the message of Israel. But he isn't as old as some people think. "I was sitting the other day in Jerusalem at the opening of the Knesset in its new, beautiful building. Sitting alongside of Dr. Schwartz, of the Israel Bond Organ- ization, when up comes my friend, Meyer Weisgal, of the Weizmann Institute. "Carmel," he exclaims exuberantly, "you here! You must be 100 years old." "Well," I say, "I don't know, Meyer, but you ought to know. You were at my brith." Actually, Weisgal only recently celebrated his 77th birthday. Carmel is 83. Despite his love for Israel, Carmel usually man- ages to return for a few months annually to Amer- ica. Along with Israel, he says, he regards America as one of the great powers. "What a wonderful thing we have done in Is- rael." he says. "In 18 years, we have built up a Jewish state of two and a half million people, de- veloped a substantial industry and a wonderful ag- riculture. We export oranges, bananas, eggs, even flowers. "Do you know that when Ben-Gurion first went to Sde Boker in the Negev, his wife, Paula, said, 'Do you want to know why Ben-Gurion chose Sde Boker? Because it is the worst place in Israel.' And she was right. "When Adenauer visited Israel, he went to see Ben-Gurion at Sde Boker." "But I understand," I said, "you do have un- employment in Israel today." "It's greatly exaggerated," said Carmel. "Any- one who really wants to work can get a job. Take my friend, Krinitzi. Many years ago, he was out of work, so he went and founded the city of Ramat Gan and has been its mayor since." As We Were Saying: By ROBERT E. SEGAL Freedom Budget for All Our Citizens A SHARP RESEARCHER noted in ^ June when that XB-70A experi- mental bomber cracked up over the Mojave Desert, the destroyed aircraft was one of two way-out planes built at a cost of $1,200,000,000. And that fig- ure is just about what Uncle Sam will spend in 1966 on the anti-poverty pro- gram. So perhaps a great host of people were ready for the recent unveiling of the "Freedom Budget for All Americans," the A. Philip Randolph Insti- tute blueprint for achieving freedom from want. The plan may cost $185,000,000,000 over a decade of operation. But when one of its chief architects, Econo- mist Leon Keyserling, insists that it can be carried out with no new taxes and no let-up in expenditures for our operations in Vietnam, people have to pay serious attention. There is never an ideal time to come forward with a request for such a huge expenditure. Should the archi- tects and sponsors of the plan have waited for the white backlash to ease off? Is it appropriate to introduce such a proposal when we are sending thousands of young men into the Asian conflict? Do we not realize that this is the year of the cut-off for federal civil rights legislation? All such questions can be answered. We'll have the backlash with us for quite a spell; but the Freedom Budget is by no means an exclusively Negro-benefit project. If we assure income and pass it around a little more, we can produce guns and butter. And if doubts are raised about civil rights legislation, it can be convincingly stated that the enabling act needed for the Freedom Budget is not a civil rights law, but a socio-economic measure. The Freedom Budget is a good companion to the Demonstration Cities proposal. Under the latter, the fed- eral government will move in to rehabilitate our urban slums; under the former, there will be a heavy invest- ment in health services, education and training. Iday, December 2, 1966 _____________*,Jwist)fk>ri(fiatr7 Page 15-A Dayan Opposes UN Border Troops leth David Congregation members of the Parent Teacher Committee meet with Rabbi Sol Landau to discuss a Chanuka Workshop on Tuesday, 9:30 a.m., at the South Dade School 1500 SW 120th St. Left to riqht are Mrs. Robert Sirull chair! [nan of Room Mothers; Mrs. Lawrence Scherr, Sisterhood frouth vice president; Rabbi Sol Landau; and Mrs. Sol Ger- thakov, teacher, representative. \Jetvs in Protest Of Nazi Advance Continued from Page 1 A [lajor American Jewish Organi- ations, called upon the German eopte and rhe German Govern- ment to reject these ultra-na- alistic trends before they ac- i*ire substantial power. "For sake of the German people i well as for the security of this Janet, every means must be em- toyed in Germany to insure that here shall be no revival of Naii geology, no return to Nazi fana- cism, no restoration of Nazi olitical power," he said in his atement. |ln Israel students of Tel Aviv luverity picketed the West Ger- Embassy in protest against the ^tional Democratic Party. They ricd banners with such slogans "Remember 1933,"' and "We rme Looking for Another Ger- any," and "The Neo-Nazis Got ven Percent Hitler Started Ith Even Less." Police forces \n rushed to the Embassv build- to prevent students from enter- After the police were told that students intended only "quiet Iketing," they were allowed to |nd opposite the Embassy build- Police were also called to Kiryat klik. near Haifa, to disperse lups of youths protesting against 1st Germany and the "resurg- pe of neo-Nazism" there. The ptesting pickets gathered at the I Council hall where a council- was reporting on a recent lit to West Berlin. The council- f said a West Berlin borough had tineMed arrangements for a "sis- ' city" relationship with Kiryat alik and that he had been given marks (S400) for promotion It he idea here. The councillor was Incized for acting in the matter 1 his fellow councillors. p Paris a resolution calling for dissolution of the NDP was opted by more than 1,000 per- l attending a meeting of nch Jewish war veteran. The Nting was called to foeus atten- |n on the danger of a resurgence [Nazism in Germany. Mrs. Made- leine Fourcade, president of the Committee of Action of the French Resistance, told the meeting that the "neo-Nazi" NDP already had more support than did Hitler's Nazi Party in 1928. All speakers at the meeting said danger hovered over Europe in the wake of NDP electoral victories. In Munich a group of univer- sity students this week an- nounced the re-establishment of the "White Rose" Society, which tried to oppose the Nazis in 1943, to combat the National Demo- crats. Its manifesto said that the National Democratic successes in Hesse and Bavaria showed that "there are men in Germany who have forgotten everything and learned nothing." Rainer Huf, one of the leaders of the new society, said that the Nazis had enrolled many young people, that the National Democrats were calling themselves the Party for Young Germans, and that the "White Rose" Society would op- pose the National Democratic "Octopus." Two of the leaders of the Society in the Nazi era were captured and executed. Continued from Page 1-A year's ago, Gen. Dayan voiced the conviction that had the Gaza Strip remained under Is- raeli Army control "there would have been a possibility at some time to reach an arrangement with the government of Jordan whereby the Gaza Strip would be transferred to her rule, in such an event, Jordan would settle the refugees in her terri- tory, and, by developing the Port of Gaza, gain an outlet to the Mediterranean, a prize of supreme importance to her." Elaborating on this point, Gen. Dayan said that such an arrange- ment "would offer three general advantages: the most difficult seg- ment of the Arab refugee problem would be solved; Egypt would lose the administrative and military "bridge-head" she maintains in Gaza and would retire to her nat- ural borders the western side of the Sinai desert; and the Jor- dan government, with her own outlet to the sea, would ensure her independence from Syria and ' could consolidate political and economic freedom." | At this point Gen. Dayan voiced his opposition to the stationing of I United Nations force~ buffer j between Israel and her Arab neigh- I bors. He said: "1 do not believe ' that Scandinavian and Canadian i troops should separate Israel from the Arab states. We should aim to wards normalization of relations with our neighbors. I prefer the normalization of even hostile rela- tions over artificial arrangements. Arab and Israeli farmers should plough their lands right up to the trontier, and get used to living in neighborly proximity. The troops and government of Egypt must reconcile themselves to the fact that Israel is their neighbor on land, at sea and in the air, and her rights to peaceful existence must be respected." Jacques Torczyner, ZOA pres- ident, was toastmaster at the dinner. He presented Gen. Day- an with a scroll as well as with the first Israel medallion minted on the occasion of the Tenth Anniversary of the Sinai Cam- paign. In behalf of the ZOA, Mr. Torczyner renewed the pledge on behalf of American Zionists "to stand by Israel and provide our firmest support to its just cause." The medal presented to Gen. Dayan shows, on its observe side, a ship passing through the Straits of Tiran and a great sun, to sym- bolize peace and tranquility. In Hebrew and English, the inscrip- tion reads: "Sinai Campaign Tenth Anniversary," with the verse "And all her paths are peace." from Proverbs. On the re- verse, the verse "A time for war and a time for peace," from Ec- clesiastes. Parents Join Children Parents will join with their nur- sery and kindergarten children at a special Chanuka party Friday, 10 a.m., at the YM and WHA of Greater Miami. The children will present a dramatization of the story' of Chanuka. A lunch of tra- ditional food for the occasion will be served. Jewish Producer To Stage Bigoted Passion Play Continued from Page 1-A American rights, will be performed also in Dublin and Glasgow. Solo- mon said he "quite understood" the decision of Epstein and Lewis to cease to act as agents but added he had found substitute agents. Mr. Solomon explained that "as a Jew, I feel that by retaining my interests in the production. I can insure that it does not contain any- thing likely to offend Jews." The original version, staged every ten years by the villages of Oberam mergau, has been widely criticized as anti-Semitic in its portrayal of the trial and crucifixion of Je- sus. CAR DEPT. OPEN'TIL 5 PM $4.25 PER $100 PER YEAR 24 Hr. Service JE 2-6451 JEFFERSON NATIONAL BANK J0M1H STREET 'ARTHUR GODFREY ROAD; EACH SIDE OF JULIA TUTTIE CAUSEWAY OF MIAMI BEACH MEMBER F.D.I.C. The Minaret says pleasant things about your taste. Your appearance. Your affluence. Fine mohair and imported wool in one and two-button, side- vent models, with hand-needled edges, cuffed sleeves, slant pockets. Solid colors. $200 JM MEN'S CLOTHING, first floor, miami available at dadeland t t I ORIOA fLAlR FASHIONS 1501 BISCAYNE BLVD. PARK FREE! Page 16-A , hnist ITk>ridf.*<*Jnn Friday, December 2, 1966 ). REGoodrich f NNf. 4A BFGoodri ENJOY YEAR ROUND SAVINGS AND SPECIAL CREDIT TERMS AT THESE ^ NORTON TIRE STORES: O.IN 14 MOU.S OPIN SUNDAYS CENTRAL MIAMI S300N.W. 37th Ava. ? 33-1435 DOWNTOWN MIAMI SOO w.ii Naal.r SI. 373-4*3. NORTH MIAMI 1JJ..N.W. 7th . 411-1541 MIAMI SHORES 7J.-444. MIAMI BEACH 1454 Alt.n ... 534-5331______ N.MIAMI BEACH 1 704 N.I. t .3 St. .45-7454 A.M. I. P.M. TH S P.M. M^< Iri. SOUTH DADI fNI Saalh Mai. Mwy. _______*47-7S7S_______ HOMESTEAD S0100 S.. F.d.ral Mwy. Cl 7-1*17 W. HOLLYWOOD 40 I 7 Hoi I yw..d II v d al Stat. laad 7 TU 7-04S0 FT. LAUD!RDALI 1S30 W.tt Irtwird II. J. 1. 5-3 13* WEST PALM BiACH SIJ S..thiia Tl 1-4 111 4 ' "" * *.1Ut owian s UJorU "Jewish Floridian Miami, Florida, Friday, December 2, 1966 Section B AT SABBATH SERVICES THROUGHOUT MIAMI Hadassah to Mark Israel's 'Chai' Ticket chairman, Mrs. Robert Apfel (center), discusses ticket -sales for the Temple Israel Sisterhood "Sound of Books" series with chairman and co-chairman, Mrs. Julius Rosenberg (right) and Mrs. Sidney Raffel. The series begins on Tuesday with >r""v':-ieakfast at 10 a.m., in the Wolfson Auditorium. Dr. Joseph R. Narot, spiritual leader of Temple Israel, will review Bernard Malamud's "The Fixer." n j by ISABEL GROVE Hadassah Sabbath will be ob- served in Miami synagogues on Dec. 2, 9 and 16 as a tribute to Henrietta S/.old, founder of Ha- dassah, and to the State of Israel in its "Chai" year. Dedicated to humanitarian prin- ciples in the fields of medical re- search, social welfare and voca- tional training, Hadassah looks back on 54 years of progress that helped make possible the estab- lishment and growth of the State of Israel. The more than 320,000 Hadassah members in the United States and Puerto Rico look to even greater achievements in the future by vir- tue of ever-increasing member- ship. Through Youth Aliyah. Hadas- sah has brought into Israel 130,000 children, rescued from the European holocaust of the thir- ties; from the world of the dis- placed; the lost and homeless chil- dren of 80 different countries to freedom, new life, educational op- portunity and the gift of Jewish heritage. The following synagogues will participate in observance of Ha- dassah Sabbath: Dec. 2: B'nai Raphael, Rabbi Harold Richter, guest speaker, Mrs. Morton Amster. Dec. 9: Beth Am, Rabbi Herbert M. Baumgard, speaker, Mrs. Ber- nard Mandler; Beth Solomon, Rab- bi A. M. Feier, speaker, Mrs. .Michael Krop; Beth Torah Congre- gation, Rabbi Max A. Lipschitz, speaker, Mrs. Adolph Jacobs: Beth Tov, Rabbi Simon April, speaker, Mrs. Gerald Soltz; Temple Beth Moshe, Rabbi David Rosenfeld, speaker, Mrs. Maurice Simmons; Temple Tifereth Israel, Rabbi Hen- ry B. Wernick. speaker, Mrs. Nor- man Chasin. Dec. 16: Temple Ad.ith Yeshu- ron. Rabbi Milton Schlinsky, speaker, Mrs. Joseph Scopp; Tem- ple Judea, Rabbi Morris A. Kipper, speaker. Mrs. Seymour Schulner. Dec. 9: Beth Kodesh Congrega- tion, Rabbi Max Shapiro; Temple Or Olom, Rabbi Ralph Glixman; Sky Lake Synagogue, Rabbi Jonah Caplan; Temple Sholom of Pom- pano Beach, Rabbi Morris Skop. Over 300 guests crowded the in me of the Max B. Astors, at 2380 S\V 26th St., on Sunday aft- ernoon to honor the host who was celebrating his 80th birthday Family circle included the couple's son and wife, Mr. and Mrs. Edward Astor. of Ft. Lee, N J., and their daughter and son-in-law, Mr. and Mrs. Philip Sussman, here from Orlando with their three charming daugh- ters Way back in 1906, Mr. Astor was a prominent member ol the Yiddishe Progressive, and he social and civic organizations which can lure him to present nis charming programs of hum- orous readings consider them- selves "in luck" . On retiring to Miami in 1948, the talented performer turned to another facet of art painting . Since then, he has produced o\ er 500 works which have been exhibited in the Dupont Build- ing, Burdine*s, in museums and libraries all the way to Canada, ai <1 won him a blue ribbon in the Miami Jordan Marsh Senior * itizens show ... In addition to irtistic pursuits, the octogen- has found time to be active .numerable civic organiza- He is a past president of the rarband Labor Zionist Order. Gurion Branch, the David i Folk School of Greater i. veep of the Miami Beach Israel Histadrut, executive mem- ber of the Yivo Scientific Organ- ization of Miami Beach, and be- longs to Hebrew University, the Jewish National Fund and the United Jewish Appeal. a a Looking forward to the coming holidays are Mr. and Mrs. Walter Berger. who have waited three years for another visit from son, Warren; spouse, Ruth; and their three Vacationing from their New Jersey school careers will be teen-agers Bonnie 16. and Lee 14, and pre-teener Laurie 11. Local deb in the news, 16-year- old Caron Roman was first run- ner-up in the recent Merritt Is- land Miss Junior Miss contest ... In addition to the many gifts she received, pretty Caron is elig- ible to vie on the national level, should it become necessary . Brown-eyed Caron is the daugh- ter of Mr. and Mrs. Henry Ro- man, and granddaughter of Mr. and Mrs. Jerry Baker ... A sen-. tor at Merritt Island High, the gifted teen-ager came out with one of the highest averages ill the National Merit Scholarship awards and will he sunong the youngest college X'T-shmen when she enters Sophie Newcomb in September, 1967. An elegant dinner at Mr Ber Continued on Page 4-B "It's a good party," says Leonard Abess (left), president of Mount Sinai Hospital, to Dr. Charles Binder, chairman of the hospital's medical staff Thanksgiving Eve dinner donee held at the Fontainebleau with over 400 physicians, trustees and guests attending. Looking on are Mrs. Abess and Mrs. Binder. f 1 f I 1 \ 1 \ the rare vashmvrv by Vrinqli' The softness of Pringle's cashmere like the mist on the Scottish moors. Whether you prefer the manly cardi- gan or the traditional v-neck pullover, you may choose navy, burgundy, yellow, grey, spruce, s, m, 1, xl. Cardigan $40. V-neck $35. flore for men, street floor, DOWNTOWN MIAMI {at all 6 Burdine'i starts) J Page 2-B uJewisti Fhridliari Friday. December 2 1966 Descending the stairs of the Fontainebleau Hotel is the planning committee for the annual "Duet Affair" of the Louis D. Brandeis Group of Hadassah. Left to right cere Mesdames Allan Wilson, Rose Turetsky, co-chairman; Rose Ruban. chairman; Matilda Washton. honorary vice president; Bernard Lipson, hon- orary vice president; and Elizabeth L. Stein- bach, president. Beach Hadassah Groups Planning 2 Big Functions Louis D. Brandeis Group of Ha dassah will begin its "Duet Affair" with a Henrietta Szold Day lunch- eon on Monday noon, Dec. 12, at the Fontainebleau Hotel, to be followed by the Matilda Washton birthday luncheon on Tuesday, Jan. 24, at the Fontainebleau Hotel. This will be Ids. WashtorTs tenth year for sponsoring these musical luncheons. Proceeds from both functions are for the programs of healing, teaching and research at the Ha- dassah Medical Center in Israel. Mrs. Elizabeth L. Steinbach is president. Israeli Group of Hadassah will hold a paid-up membership lunch- eon and card party on Monday noon at the Promenade Hotel. Pro- gram chairman is Mrs. Sara Appel. Mrs. Joseph Meyer is president. Kadiman Group will hold its regular luncheon meeting on Mon- day noon at the Singapore Hotel. I Highlight of the afternoon will be \ a Chanuka party with the kindling \ of the Chanuka lights and holiday i songs led by Mrs. Leo Paul. In ' addition, there will be a birthday ' cake-cutting ceremony in tribute to Hadassah's founder, Henrietta Szold. Mrs. Meyer Schneider is president. * * Morton Towers Group will hold its regular monthly luncheon League Sponsors 'Capshule1 College Mrs. Lawrence Wulkan will serve as chairman of "Capshule College." (also known as Education Day) sponsored by the National Women's League of the United Synagogue of America, Florida Branch, on Dec 1 at Temple Beth El, West Palm Beach, from 930 to 2 p.m. Attending will be Sisterhood presidents, activity chairmen and rabbis' wives from throughout the State of Florida. Branch officers will act as workshop chairmen at the two morning sessions. Mrs. Arthur J. Brown, president of Florida Branch, will extend the welcome at the 12:30 luncheon. Speaker will be Rabbi Allen Rut- chik, executive director, Southeast Region* of United Synagogue of America. His topic will be "Some Religions I've Known." meeting on Monday noon at the ; Morton Towers Restaurant. High- light of the meeting will be the lighting ceremony and telling of 1 the Chanuka story by Lillian Haut, | education vice president. Mrs. i Emanuel Menu is president. * Renanah Group will hold its j regular monthly meeting on Mon- | day at the home of Mrs. Robert Berner at 12445 Keystone Dr., No. . Miami, at 1 p.m. Refreshments will be served. Guest speaker will I be Mrs. Morton Silberman, re- gional president of Hadassah. Mrs. Walter Lebowitz is president. s Hanna Senesch Group will hold its regular luncheon meeting on Monday noon at the Algiers Hotel. Guest artists for the musical por- tion of the program will be Ruth Dean, soloist, and accompanist is Jean Ronin. Mrs. Sylvia Kurland is president. a Southgate Group will hold an Oneg Shabbat on Saturday, 1 p.m., in the Terrace Room, sponsored b\ i Mrs. Sadie Adaskin. Mrs. Hannah Fassler will review the book, "The Fixer.' Another feature of the day will be songs and a piano recital. Mrs. Henry Schwartz is chairman. * Southgate Group will hold its regular monthly meeting on Mon- day, 12:30 p.m., in the Terrace ; Room. In celebration of Chanuka. j there will be a candlelighting cer- emony and a dramatic reading by | Mrs. S. Goldberg, with musical background by Mrs. R. Utal, in addition to a piano recital by Mrs. E. Levine. Mrs. Joseph Rosenberg is president. * a Miami Beach Chapter of Hadas- sah has once again established a Center for Winter Residents at the Moulin Rouge Motel, 41st St. and Indian Creek Dr. The Center is in the process of planning special functions, and will welcome win- ter visitors and all Hadassah group meetings. The Center will be open Monday to Thursday from 10 a.m. to 2 p.m. Mrs. Alfred Tuv- in is national liaison officer in charge of the Center. Melaveh Malkah At Beth Solomon Beth Solomon Congregation will conduct a Melaveh Malkah on Sat urday at 8 p.m. Rabbi Aharon M. Feier will de- liver a sermonette Dvar Torah bib- lical interpretation,' and the He- brew School students chorus will offer selections of Hassidic, Israeli and folk melodies. The program will also feature Jewish and Hebrew songs record- ed by outstanding artists of liturg- ical and folk music. Greater Miami Council, Pioneer Women' Observes Chanuka in Musical Programs! A meeting of Pioneer Women Club 1 was to be held Thursday, 1 p.m., in Washington Federal, 1234 Washington Ave. Mrs. Joseph Krantz, president, announced that Dr. Celia Davis was to review the book, "Signal Fires of Laehish," by Rivka Guber. On Thursday, Dec. 8, at 7:30 p.m., in the Royal Hungarian Res- taurant, the club will hold its an- nual Chanuka party. Mayshie Frieberg, who will celebrate his | 85th birthday, will be honored. * 9 * Club 2 will tender a dinner in honor of the golden wedding an- niversary of Mr. and Mrs. Morris ! Kobemick, on Sunday, Dec. 11, at 6 p.m., in the Royal Hungarian '. Restaurant. . Chairman for the evening will I be Mrs. Sally Barr. Mr. and Mrs.: Joseph Hurwitz will kindle the! Chanuka lights. Invocation will be \ delivered by Mrs. Sadie Hubert.! Mrs. Milton Green, president of' the Greater Miami Council of Pio-! neer Women, will be guest speak- er. A program of Jewish folk i sones will be offered by Mrs. Louis! Packar. p.m., at the Coral Gables Federal I 12501 Ponce de Leon Blvd V1 Fred Sandier, president, will P'!' I duct tho business agend^S will mclude plans for the chapter, Dec 10 night club affair aithe Carillon Hotel. Evening will con elude with card games and a social Mrs. Joseph Lowy, president of ",Va,K Ch,8Pt:r' uhaS annnu"cnd that the chapter held a luncheon card party on Nov. 29 in the Wash ington Federal, 699 NE lfi7th St Hostesses for the luncheon were Mesdames Ros Goobich. Ginnie Shore, Libby Waltck, Julie Rush, ell, and Isaac Donen. The chapter was to have its next regular meeting on Thursday 1 p.m.. in the First Federal Pool NE 125th St. It was to be a cdffi bined business meeting and Chan- uka celebration. Golda Meir Chapter will hold its next regular meeting on Wednes- day noon, Nov. 14, in the Bis- cayne Cafeteria. Mrs. Abraham Seltzer will conduct the business portion of the meeting. Program for the afternoon will include a presentation on the Maccabcan era by Mrs. Miriam Yelson, cultural chairman. David Lippman will light the Chanuka candles, and holiday songs will be presented by Mrs. Irving Herman Cender. Chairman for the afternoon will be Mrs. Louis Kandell. * * Kadimah Chapter will have its regular meeting on Tuesday, 7:30 Sibling Rivalry Is Subject At Central PTA Central Beach Elementary pi'A will present, at its general' mem bership meeting on Tuesday. 8 p.m., a program entitled "Sibling Rivalry." After a short business agenda conducted by president, Mrs. Theo- dore Trushin. a film from the Mental Health Society will he shown. Mrs. Paul E. Rosen, vice pres- ident of programming, will intro- duce guest speaker. Dr. Richard Emerson, local psychiatrist, associ- ated with the Dade County Child Guidance Clinic. Leroy D. Fienberg, principal of Central Beach Elementary School, will greet guests, and dessert and coffee will be served in the school, cafeteria prior to the meeting. ^'" True Kosher All Beef MEAT PRODUCTS * FRANKFORTS PASTRAMI * KNOCKWURST TONGUES * CORNED BEEF SALAMI * BOLOGNA 1^3 UNDER THE STRICT SUPERVISION OF |/ArilLD RABBI A. J. SAFRA ,%WOr,CI1 Mashgiach On Premises Ask for 1 ON SALE AT ALL LEADING P00D STORES Number -* Provisions Co. The ONLY Manufacturing Plant in Florida that Manufactures and Sells ONLY Kosher Products. HERMAN PEARL BILL LADIMER, AAgr. 859 Biscayne St., Miami Beach, Fla. 531-6811 SUNSWEET PRUNE JUICE crisp TRY THE NEW TASTE OF SUNSWEET FROZEN PRUNE JUICE Try the exciting taste of new Sunsweet* Frozen Prune Juice. It has the same famous controlled laxative strength as regular Sunsweet Prune Juice. And it has the added daily requirement of CERTIFIED KOSHER & PARVE vitamin C. Your family will love it! Duffy-Mott Co., 370 Lexington Avenue, Ne* York, N. Y. rndmr. IW*n^ Friday. December 2, 1966 ** Unitti fhrkiiari Page 3-B Opera Guild Stars to Excerpt 'Martha' At Hebrew University Women's Luncheon Program for the Dec. 15 Woman of the Year Luncheon of the American Friends of the Hebrew University was announced this men; Mrs. David Ponve and .Mr- Louis Glasser. lecture hall co- chairmen; Mrs. Harry Platoff, tickets chairman: and Mrs. Trudy week by the president. Mrs. Philip Hamerschlag, patrons chairman. F, Thau, at a committee meeting The Woman of the Year lunch- held in the home of Mrs. Leo Rob- eon is an annual event sponsored inson. by the Greater Miami Women's The program will be a presenta- Division of the American Friends tion in excerpted form of the op- of the Hebrew University to rec- era "Martha," by Von Flotow. sung ognize the Florida woman who has in English. Guest artists who ap- distinguished herself for her civic, pear through special arrangement cultural and philanthropic endeav- with the Opera Guild of Greater ors. The 1966 honoree will be Mrs. Miami will be Elizabeth Walker, Jack Katzman, to whom a presen- soprano, as Martha; Joseph Papa., tation will be made by Dr. [rving Meeting to discuss plans for the Dec. 15 Woman of Year luncheon are (from left) Mes- dames Anna Brenner Meyers, Philip F. Thau, K MAKE YOUR CHANUKA TABLE SPARKLE Herbert S. Shapiro, Irving Lehrman, Jack S. Popick, Louis Glasser and Jack Katzman. Qoo dies for tenor, as Lionel; Natasha Kim- mell. mezzo-soprano, as Nancy; and Daniel Green, baritone, as Plunkett. Introducing the opera and serv- ing as narrator will be Dr. Arturo diFilippi, artistic director and gen- eral manager of the Opera Guild of Greater Miami. Accompanist at the piano will be Dr. Paul Csonka, former conductor of the Havana Philharmonic. The artists will ap- pear in costume. Mrs. Dorothy Kriegcr Fink. Lehrman, spiritual leader of Tem- ple Emanu-EI. By ROSALIND S. ZUNSER sorbent paper. Serve with apn'e sauce Chanjka, the eight day Feast of apple Lights, celebrates the final triumph Dessert-Coffee Marks Holiday Miami Beach Chapter, Women's Division of the American Technion Society, will hold its annual Chan- uka meeting on Thursday. Dec. 8. at the Algiers Hotel. The dessert- coffee will begin at 12:30 p.m. Program will highlight the holi- chalrman'Ttne Woman of the | &- fL'^J^ 2 Year luncheon, which will take the j~east of JL^ights nt paper. Serve with apn'e- Cream the vegetable shorten:.., i mixed with crushed pine- and sugar. Mix baking powder and! place in the Fontainebleau Hotel. Mrs Dorothy Kneger Fink who Serves five' flour together. Add egg to shorten-! presented a resume of recent He- bring the latest news from Wagner in a group of songs, and ol Judas Maccabeus over the Greek Syrian pagans under Anti- chus who had desecrated the Tem- ple. Chsnuka begins on the 25th day of Kislev and commemerates tlic cleansing and reconsecration of the Temple in 165 BCE. What this holiday meant to the children of the "Shtetl" was besr.; described by Sholem Aleichem in his stories. For eight whole days there was no going to the Cheder (Hebrew School), the distribution of Chanuka gelt; the daily con- Mimption of hot latkes potato pancakes fried in schmaltz and the constant visitation to the j homes of one's kin where each child received the gift of money. t.- day usually ended with the spinning of the dreidel, a four, sided leaden top with Hebrew Let-j lers. one on each side of the i rectangular top carrying the mes j sage "A Great Miracle Happened j Here." Chanuka called for a Fes-1 tive Meal particularly the Fifth] Night at the burning of the Fifth candle. Fifth Candle Dinner Radishes Celery Green Onions Hot Petcha Soup Broiled Roumanian Camatzlach Potato Latkes Apple Sauce mixed with can of Crushed Pineapple Chanuka Cookies Tea Potato Latkes 6 large potatoes 3 tablespoons flour 3 eggs 1 teaspoon salt Vt teaspoon pepper 1 onion grated Pare and grate potatoes; squeeze out liquid and reserve; cover grated potatoes with flour to pre- -wnt potatoes from darkening; add '.*gs, salt and pepper and grated onion. Spill out reserved liquid and add starch at the bottom at batter j (to hold pancakes together batter) and mix altogether well. Drop by spoonful into hot fat and brown well on both sides Drain on ab- A viva Chapter Chanuka Party Aviva Chapter. Mizrachi Wom- en, will celebrate Chanuka with a latke party at the home of Mrs. Esther Solomon on Monday noon. The significance of the candle- lighting ceremony will be narrated by chapter members under the leadership of Mrs. Simon April, president. Games on the terrace will con- clude the afternoon, and all funds will be forwarded to vocational schools in Israel. Co-hosts for the day are Mes- .mes Joseph Roth Louis Zimmer- an, Nathan Zeichner, Elias Schoenberg, Ferdinand Lewis and Irving Linden. Chanuka Cookies l2 cup kosher vegetable shortening 1 cup sugar 1 egg "4 cup orange juice 2'j cups flour 2 teaspoons baking powder together. Add egg t ramw-i P....~-..v~------------------------..... ing mixture and mix we... Add flour | gL^JSHl ^^ "* Cm' iSTmS-TSi*. president, and orange juice alternately mix-\ ""^ JgjjJ^ ^ ed on announces the following commit- ing between each addition and mix resg ot tneir committees in- tee in charge: Mesdamcs Norman well. If dough does not roll easily ciuc|ed Mrs. Anna S. Melnick, ar- Hill, Ruben Porter. Trudy Hamer- add more flour. Roll and cut out | rangements chairman; Mrs. Mau- as desired. Bake in 375 degrees I rice Yorkin. gifts chairman; Mrs, oven about 10 minutes. Makes! Emil Friedlander and Mrs. Myrtle about 3 dozen cookies Epstein, decorations co-chair- LONDON _^ PARIS schlag, Jack Cantor. Max Kern, Joseph Sugerman, Nan Cohen, David Ponve, Flora Sinick, H. P. Forrest, Jack Goldberg. FROM SANKA COFFEE 2 ROUND TRIP FARES TO ISRAEL K Certified KosherParve REGULAR GRIND YOU'LL FLY ON A r/vrvr /vrviEKtGAPV JET CUPPER* The World's Most Experienced Air- lineto your choice of London, Paris, or Rome. Then on to Tel Aviv via connecting jet airline. Experi- ence Theatre-in-the-Aira wonder- ful movie plus your choice of eight entertainment channels. YOU'LL HAVE A HERTZ CAR FREE! / '"""' 1 It s 100% real coffee, too. Only the caffein has been removed. And caffein adds no flavor to any cup of coffee. Comes instant and ground...fine products from General Foods. NO PURCHASE NECESSARY OFFICAL SWEEPSTAKES RULES IUse entry blank or write your name and address clearly on a plain piece of paper. 2 Enclose your entry in an envelope with one inner seal from any jar of Instant Sanka" or the code number from the top of the can of ground Sanka" coffee or with the word SANKA printed in plain block letters on a plain piece of paper, 2Vz" % 3", and then mail to: SANK*. P.O. BOX 4443 Grand Central Station New York, M.Y. 10017 3 You may enter as often as you wish, but eich entry must be mailed in a separate envelope. J All entries must be postmarked not *' later than midnight Dec. 15. 1966 and received not later than Dec. ZZ, 1966. 5 Winner of prize described above- ever privileges in many European countires. Trip is transferable but not redeemable for cash, and must be redeemed within one year from the date winner is announced. 7 Sweepstakes is open to art residents ' of the United States except in Mis- souri and Wisconsin, and employees of General Foods Corporation, its subsidi- aries, its advertising agencies, tin judging staff, and their families. 8 Any liability for federal, state, and local taxes will be the responsibil- ity of the winner. Q No purchase necessary to enter. Pcge4-B -Jewlst fiortdKari Friday, December 2, 1966 -''' -.,-"'';- - _ Hostesses at Temple Menorah Sisterhood donor games are ,ieft to right) Mesdames Sally Birken, Dora Lefkotf, Liber Ring- er and Harry Center. Donor games are held in the Temple's Youth Lounge every Tuesday afternoon. Seven Miami Section Divisions of Council Plan Varied Programs for Wednesday 7ie seven divisions of Greater Miami Section of National Council c: Jewish Women will hold meet- - on Wednesday. ft * Bay Division will meet for t :ich at Surfside Community Center at 11 a.m. Program will be "Wills, Bequests and Opportunities iri Today's Market," with panelists Herbert Kurras. vice president and trust officer of Community Na- tional Bank and Trust Co.; Howard Re-kin, attorney: and Robert S. Childs, stock broker. Moderator ill be Mrs. Aaron Farr, NCJW ( paign chairman. * 0 * Coral Division will hold its an- .1 Ship-A-Box luncheon, pre- pared and donated by members of; th board, with proceeds going to Coundl'1 Ship-A-Box project., Luncheon takes place at 11:30 a.m. ' 81 Hillel House, 1100 Miller Dr. * Indian Creek Division will meet 1 he Sea Isle Hotel at noon for a| ;.' o-A-Box luncheon, Mah Jong t^oc/a lit Continued from Pag* IB nard's Crystal House Restaurant honored Dr. Stephen Wright and his recent bride, the former Bobbie Schechter Hosting the 50-guest dinner party were Lynn and Louis Wolfson and his sister, Frankie Samet Gold- en harvest theme was carried out with gold tablecloths and golden cornucopias filled with fresh fruit Cuisine with an inter- national flavor featured shrimp from French Guiana, salad as- paragus from Nice. France . Main course was Chicken Kiev, and French wine was served through all the gourmet courses. Ruth and Manny Rudes. cele- brating their 25th wedding an- niversary on Dec. 17. have in- vited 50 friends and relatives to b\f their home at 6120 Twin Lakes Dr., to make the occasion a mem- orable one Besides, they feel a little guilty because one year ago they took themselves off to Europe to mark the previous milestone, leaving behind their 50 friends and relatives Com- ing a week early from New Or- leans for the happy event, the former Marilyn Rudes and hus- band. Dr. Nelson Zido, whose nephew, son of his sister, Ruth and Dr. Don Altman, will mark his Bar Mitz.vah on Dec. 10 at Beth Am. a a A surprise party, which was a genuine surprise to the guest of honor, given in mid-November for Syd Steinhardt. who was feted by the members of the JWV Norman Bruce Brown Aux- iliary for her many years of con- sciences service as correspond ing secretary and sunshine chair man Pythian Hall in Miami bulged with well-wishers, especi ally the many who had received get-well cards from Syd through the years Floral corsage from Esther Jacobs, president, seemed an appropriate gift to the honor ee, who has spread so much beauty around her Acting hostesses for the evening were Julia Berger, Kate Graham Belle Swartz, Sylvia I.iebman" Jean Tobb and Eva Taub * a Loyal University of Miami fans. the Glatzers. Gayle who is now a student there, and N. Abraham UM '65, traveled to Gainesville this past weekend to see the classic UM-UF clash Couldn't have been happier about the whole thing. and card party. Mrs. Charles Ser- kin is chairman of the day. Islands Division will hear Mrs. Edyth Geiger review Bernard Mai amud's "The Fixer" at the Ven- etian Isle Motel at a 1 p.m. coffee. * Lincoln Division will present a Ship-A-Box program and fashion show by Sylvia of Moiton Towers at 12 noon at the Sea Gull Hotel. Coffee and cake will be served. Shores Division will hold a noon luncheon meeting at Westview Country Club. Hank Messick, crime reporter for the Miami Her- ald, will discuss "Ci ime in the Community." < + South Dade Division members will meet at 9:30 a.m. for a bus tour of community services. In-, eluded are visits to the Braille, Bindery and Library, the Uptown | Thrift Shop, and the Jewish Home for the Aged, where a box lunch will be served. Forbcmd Branch Installs Officers Time for Tetley Tea Have a hard day? '.'.'hen you need a pick up, nothing brightens your life like Tetley Tea! The secret is Tetley's tiny tea leaf flavorplus bags that brew so fast you get real potbrewed ta'am. Favored in Jewish homes s rice 1875. Real old Haimische ta'am! Tetley tastes better because it never tastes bitter. K on the package means kosher certified kosher and parve. Mrs. Sol Henkind, cf Scars- aaie, N.Y., has been elected president of the National Women's League at its re- cently-concluded jubilee con- vention in Kiamesha Lake, N.Y. The League, with a membership of 200.000 wom- en organized into 800 Sister- hoods of Conservative con- gregations, is the largest synagogue women's group in the world. Some 1,700 delegates from the U.S., Canada, Mexico and Puerto Rico attended. The League engages in a broad program of educational, religious and social service activities reaching into both the Jewish and general American com- munity. Eiahth Annual Aliyah Auction Naomi Group of Hadassah pre sented its eighth annual Youth Aliyah auction on Saturday ni.Ltht at Hillel House. 1100 Miller Dr. Leonard Stern, auctioneer, open- ed the bidding at 7:30 p.m. for hotel weekends, health spa stay?.! dinners, small appliances, car ren- tals, handbags, clothing, sec- retarial services, jewelry, furni- ture, linens and other items All proceeds from the auction, which was headed by Mrs Kli R nick, will go toward the support in Israel of children from oppressed lands. Farbar.d, Ben-Gurion Branch, will meet on Wednesday evening at the Hungarian Kosher Rcstau-1 rant. Piogram will be dedicated to' Uhanuka w ith Bernard Furman.' incoming president, lighting the first holiday candle, and Dr. Si- mon Wilensky, past president.. Poale Zion. chain, Greenber.^: Branch of Greater Miami, giving | a talk on Chanuka. Musical selections will be pre-, sented by Mrs. Rose Rosemand accompanied by Mrs. Aida Yaslow. Also included in the evening j will he installation of officers forl 1966-b'T conducted by Manuel Bur-1 stein. Serving with Furman, president, j will be Abraham Fraidlin, vice| president; William Beckwith, Mrs.; Meyer Kahn. secretaries. Mrs Ru- bin Bornstein. treasurer. Also Dr. Simon Wilensky. cu', tural chairman: Mrs A Bild. publicity; Mrs. ,1,. son,' social. Outgoing president Mi Burstein, and Max Astor, h ary president of the brai ing his 80th birthda;.. will be honored. Chariff to be Speaker Meyer Chariff will present a lec- ture on "What is Man at tl M. Fisher Community School or. Tuesday at 7:30 p.m. The lecture will be followed by a question-and- answer period until 10 p.m in the school auditorium, and is fre the public. POPPIN' COTTAGE A FIRST FOR MIAMI BEACH Where Candy is an art Come in and watch your Candies being made I Let us help you with your Fund Raising ideas. Come in & Browse Around DELIVERY SERVICE . r 11(11 tj -----THE CHOICE OF THE CONNOISSEUR Assorted Handmade Chocolates, Candies Finest Imported Hard Candies Fresh Roasted Nuts Fruit Shipping, Jellies Gifls, Greeting Cards special r\\i)ii:s For Parties and Meetings SATURDAY 10 A.M. to 9 P.M. SUNDAY 12 P.M. TO 6 P.M 7435 COLLINS AYE. PHONE 864-1457 Next to Currys Restaurant COlLlQO Wine-Tasting At AMC Luncheon Regular monthly luncheon meet- ing of Tropical Chapter, American Medical Center at Denver, i- scheduled for Friday noon. Dec. f. at the Deauville Hotel. Fred Senton will conduct a wine tasting program, compliments of the Taylor Wine Co. American Medical Center pro- ( vides free medical care to victims of advanced or recurrent cancer and chronic respiratory diseases Many patients from this area have benefited from the medical atten-j .ion offered. juicy omcL * ekMtouAt CORNED BEEF ITS3 PURE BEEP Kashn.th Supervision by prominent Orthodox Rabbi: Rabbi Ben Zion Rosenthal and two steady Maahgiehim V. 1 OWL IntpcctaS WILNO KOSHER 2mc"AL kOO, ILLINOIS |0OT SALAMI FRANKFURTERS CORNED BEEF BOLOGNA 2181 N.W. 10th AVENUE Phone FR 1-6551 MIAMI BRANCH: rnarrw. Imrf*mhxw rl 1HKK t Friday. December 2, 1966 -kwlstncrtdton Page E-B Dr. Kaplan Will Receive AZA's Alumnus Award By Special Report An alumnus of the boys' division lie also serves on the editorial WASHINGTON Dr. Abraham of ,nc B"na> B'rilh Youth Organ- boards of 'Inquiry.' 'Philosophy Kaplan w*ll be the 16th recipient I ization in Duluth, Minn., Or Kap- East a:id UVst and "The. Journal Of the S^Bi^er Distinguished! !an is now a ptofossor of philos- o| A ,jc(| r;,.llavi(,,a! sciences .' Aleph' Zadik Ateph Alumnusophy at the University of Mich Award. igan. the Department of Philosophy t UCLA, a visiting professor at Harvard University and Col- umbia University, and president of the -American Philosophical Association's Pacific Division. He received his PhD degree at Formerly, he was chairman of | UCLA. *> Dr. Kaplan is director of tne East West Philosophy Confei which will take place at the versity of Hawaii next sum He is anaatoeiate at the Acac I for fsytnfianalysis and Nat*...tal Training Laboratories; and he - received several fellowships / ; >T% good food > <*> good \bmtov! > Hanuka Treat your holiday guests and family to plenty of Maxwell House. So rich and mel- low in flavor, so constant and unchanging in quality...this matchless coffee is a tradition in itself, as cheering as the glow of the Hanuka candles. Certified Kosher andParve. MAXWELL HOUSE COFFEE- M Always... Good to the last drop* Paqe 6-B tJenlst noridiqn Friday. December 1 i m i'l. ......... U*'ihi : :i .' :iin,. i i i lilillNIUI'IU^ tzArhout f~^eople and /" TIME OF THEIR LIVES Hattie Friedland, all the children and grand- children, were joined by a host of "Who's Who" dignitaries, local and national, at the Diplomat Hotel last weekend to mark Sam Friedland's 70th birthday. TINKLE "Tinkle"- is the name of a game. Mollic and Sol Silverman had some of their friends over for desert some of Mollic's famous apple strudle. cake like a feather. Afterward, the guests played "Tinkle." Those tinkling were Mr. and Mrs. Irwin Becker, Mr. and Mrs. Irving Wagner, Mr. and Mrs. Charles Fruchman, Mr. and Mrs. Tobias Sussman, Mr. and Mrs. Ix>uis Housman. and Mrs. Fay Tupler. * V * JUST BECAUSE SHE BOUGHT A LOAF OF RUSSIAN RYE BREAD Dolly (Mrs. Stanley) Jonas decided to have a Russian dinner party. They had had a trip to Russia and brought home some Russian records. Dolly thought it would be a good time to play Ihem. She did. and no one liked them at all. While she was buying the Russian bread, a tellOW- shopper wondered why she wasn't buying either - or bauds When Dolly explained that it was a Russian dinner party, the woman gave a parting sally, 'What will your friends think?" The friends. Dr and Mrs. Robert Trope, Mr. and Leonard Rrickner. and Mr. and Mrs. Ben Adds, liked the borscht, the caviar, the whole dinner, in fact A TURKEY ON'EVERY TABLE Thanksgiving at Westview Country Club was aces .. the closest to being at home. There were huge turkeys on the table of Mr. and Mrs. Melvin Cohen, as well as the table of Dr. and Mrs. David Nathan, as they each had a large gathering. Also among those seen at the fruit decked festivities, which in the old tradition had home made bread, were Col. and Mrs. 1-arry Rosenberg, Dr. and Mrs. Stanley Wcinkle, and Mr. and Mrs. Herbert 1'aige. Mr. and Mrs. Sam Hillman were there with their whole family, and also Mrs. Fay Ablin with her family. 9 < a HERE'S NEWS Bubbles Wallach will, no doubt never be called Bubbles again, but by her given name. Barbara, which sounds more sedate. Her parents, Mr. and Mrs. Harry L. Wolpaw. of Shaker Heights, O.. are announcing her engagement and forthcoming marriage in March to Julius Drossin. Julius was with the Cleveland Symphony and is the composer of works that have been performed in the northern Ohio area. Not only is he an accomplished musician, but he is a member of MENSA, an international organization of gen- iuses. Bubbles will now be a "faculty" wife. Julius is a professor and chairman of the Depart- ment of Music at Cleveland Stale University. With marriage, her family of two daughters will mow her husband-to-be is the father of two daughters and a 20-year-old son. Her many friends in the Greater Miami area are just as excited aa She Is, and they all know that if there is an award for being the best faculty wife and the best mother. Bubbles, now Barbara, will get it. Frances Lehman A cocktail party at the home of Judge and Mrs. Henry 3ala-l ban launched the planning sessions for the Van Cliburj Benefit Concert to be held Dec. 13 at the Deauville Hot/ to raise funds for Variety Children's Hospital. Shown (sterna! ing center), with Mrs. Balaban, cochairman, are (left to right) Mrs. Edward Melniker, president, Variety Women's Commit- tee, Mrs. Maune Ashman, Mrs. Jay Oxenberg, Mrs. P Wil- liam Burke, Mrs. Casdan Roberts, and Mrs. William Wis- newsky. B'nai B'rith Women's Council Schedules December Meetings, Chanuka Program; ------ v -:.. Nine pre-school teachers of the Religious Schools of the Greater Miami area were awarded certificates of merit for ten years of service to the Jewish community at the annual dinner of the Bureau of Jewish Education at the Diplomat Hotel on Nov. 20. Albert E. Ossip, Bureau president, presented the nursery and kindergarten teachers awards "for their de- voted service to the community." Left to right are Mesdames Beatrice Saal, of Beth Dav- id; Ray Berman, Beth David; Rebecca Stern, Temple Menorah; Naomi Brandeis, Temple Emanu-El; Rebecca Kay, Beth Torah Congregation; Ruth Penick, Temple Or Olom; and Gertrude Golden, Beth Solomon Congre- gation. Not shown are Beatrice Seldith, Tem- ple Or Olom; and Jane Schulman, Temple Emanu-El, who also received certificates. BBW Unit Holds Saturday Gala An evening sponsored by B'nai B'rith Women of Miami, Chapter 787, on Saturday night will in- clude dancing and entertainment. Reservations for the affair, to ! be held at the Algiers Hotel, are under the direction of Mrs. Betty Birchansky. On Thursday, at the Park I.ane Cafeteria, the chapter held a luncheon and card party with Mrs. Peter Duchon in charge. Mrs. Herman Pearl is chapter president. Miami Beach Council of B'nai B'rith Women will meet Monday evening at the Deauville Hotel President is Mrs. Rose I.itt. Chai Chapter will meet Tuesday evening. Dec. 20. at the Deauville Hotel. President is Mrs. Paul Gaier. A Chanuka program will be presented by Mrs. Max Kern, adult education chairman. Freedom Chapter will meet Thursday noon. Dec. 15, at Cafe Francaise, Harbor House South. Mrs. Bernard Austcin, president, announced that a luncheon will be followed by a white elephant sale and cards. Harmony Chapter will meet Tuesday evening, Dec. 27. at the Deauville Hotel. Mrs. Jack Cohen is president. Mrs. Jack Herman is program vice president. * * Hatikvah Chapter will meet, Tuesday, Dec. 13, 12:30 p.m., at the Morton Tower Savoy Restau- rant. Mrs. Gertrude Solomon, prcs- j ident, announced there will be a I Chanuka candlelight ceremony followed by a film, "The American I Jewish Tribute to Freedom." The i Study Group will meet on Dec. 20, j I 12:30 p.m., at the home of Mrs.: I Ida Cooper, Morton Towers, Apt. ' 427. -:. 4 ; Maccabee Chapter will meet ; Thursday, Dec. 29, 7:30 p.m., in the Forte Towers North Auditor-1 ium. Mrs. Herman Auerbach. pres- ident, announced that Judge Mil- \ , ton A. Friedman will be speaker of the evening. Miami Beach Chapter : mei Tuesday. Dec. 20. [2:30 m. the Deauville Hotel. Mrs Samiu Baum is president, and Mrs Ann Kaufman, program chail North Shore Chapter v. I] nici Monday. Dec. 19. 1 p in at th Deauville Hotel. Mrs, Ira Youm entob is president. Menorah Chapter will uold regular meeting on Tuesda De 27. 12:30 p.m.. at the Was lingtc Federal, 1234 Washington Ad Mrs. Bertha Woskoff Is presidenl and Mrs. Louise Rich, ; rograi vice president. ISRAEL Stay at the hotel "in a class by itself We didn't say this about the Shert- ton-Tel Aviv. Hundreds ot vis ting ,y, Rates, see your Travel Agent. Oi call 377-0275. SHERATON-TEL AV1VJH Holiday gifts made in the Occupational Therapy Department of United Cerebral Pafeyy-f Miami were shown at the first annual fund-raising fashion show and luncheon for UCP of Miami held Nov. 29 at the Fontainebleau Hotel. Mis. Esther Levitz, 4747 Collins Ave.. was general chairman of the event. Above are Mrs. David Braun. 2481 SW 26th Ave.. president of the Miami unit of UCP, and Attorney W. L. Adams, president of the beard of tHrectors. The UCP units in Greater Miami are cooperating for the luncheon. Oneg Shabbat For Culture Club Oneg Shabbat of the David Pin- ! ski Culture Club will be held on Friday evening at 842 Washington ] Ave. President Abraham Filosof will i conduct the meeting, and program i participants mclade L Lesavin, ', author and lecturer; Michl Gibson. of the Yiddish stage; Ben -Yomen, choir director and composer. "Brenfng will conclude with a social hour aird refreshments. 5? W** ^RACING GREYHOUNDS *** i \ * QUOTA LIMITED s1finn will purchase I wW One Racing Greyhound of your Choice We Will Lease the Greyhound you purchase Train it Care fer it Race it at absolutely No cost to you And PAY YOU "naTST The greyhound you purchase it registered and races in your name. Select your Greyhound Today fer fun and Profit. Visit Phone or Wire us Today UNIVERSAL GREYHOUND RACING CORP. "teeo tisoamtratvo ~Griykmiml-9mi*ltmmti" ? hl ter Appointment 374-4107 MIAMI, HOaiDA FndfTV nrr Friday, December 2, 1966 * Jewisti ncridfiain Page 7-3 Secret Groups In High School To be Debated Parents of junior and senior high school students who belong to non approved or secret organiza- tions should be subject to legal penalties according to a resolu- tion to be debated on the program of the Dade County Council o( Parent-Teacher Associations meet ing on Wednesday. Dec. 7, 10 am.. at William Jennings Bryan Ele- mentary School, 2(M) \K 125th St. Giving both negative and af- firmative viewpoints on the n k>1u tion will he the Debate Club of Southwest High School, coached by .lames R. Ferguson Jr. Students have conducted orig- inal research for the topic. Inter- viewing administrators, educators activities directors and people ac- tive with the groups under discus sion. Moderating chairman of the bate will be Robert Apt. Speak- g Cor the affirmative will be Steve Povsner and Sue Guild. For the negative, speakers will be Mit- chell Taub and Nina Balsam. Mrs. Florence Cittadino, pro-, gram chairman, has entitled the, program "'From Aloha to Omega." Mrs. Martin Uubinstein. Dade County Council president, will preside at the session. New Book By Singer Reviewed Rabbi Avrom 1.. Drazln, spiritual leader of the Israelite Center, re- viewed Isaac Bashevis Singer's new nook, "In My Father'-. Court," al the Miami-Coral Gables (hap ter, American Jewish Con ess, meeting on Wednesday at Toby's Cafeteria Chairman for the day was I Jeannette stern president of the Chapter. A report on current American Jewish Congress activities in the area of church-state relations given by Mrs. Irving Quartin, pro- gram vice president. Gomes Night Scores Su-ccess Annual scholar-hip games night of the VM and WHA of Greater Miami was declared a successful venture by chairman. Mrs. Paul Kheingold. Over 500 people attend- ed the event, and the "Y' Scholar- ship Fund received SI,500. On Thursday, a "Thank You" party for all workers was to be held at the Central 'Y,' 8500 SW 8th St.. where the funds were to be presented to Paul Faske, pres- ident. Scholarship games night was ^ujiisored by the "Y's" Women, ^Aen's Club and the "Y's" Singles. Proceeds helped provide scholar- ships for needy children at the YMHA. Phi Sigma Siqma Alumnae of Greater Miami will hold its 17th annual fashion show at the Fcnta:nebleau Hotel on Saturday, Dec. 10, at 1:15 p.m. Proceeds will be donated to the Children's Center for emotionally-disturbed children. Seated (left to right) are Misses Aud- drey Borok and Bobbi Ann Ossip, co-chair- men of the event. Standing are Mrs. Harris Steinberg, sapphires; Mrs. Samuel Heller, correspondence; Mrs. Sanford Schwartz, prizes; Mrs. Bert Saul, reservations; and Mrs. Myles Eaton, model coordination and pres- ident of the local chapter. Also included on the committee are Mrs. Bernard Baer and Mrs. Norman Sholk, ad book; Mrs. Alex Kogan, decorations; Miss Rita Pollack, prizes; and Miss Laura Beren~, Beta Theta chapter chair- man. The show will feature fashions by Patty's Editions modeled by representatives of the sororities on the University of Miami campus. Chanuka Dinner At Beth Moshe Beth Moshe Sisterhood will hold its annual Chanuka family dinner on Sunday. Dec. 11. from 4 to 7 p.m., in Popiel Social Hall. Menu will include traditional holiday fare. Chairmen are Mrs. Joel Daum and Mrs. Robert Harris. Assisting hostesses are Mesdames Norman Faber, Fred Blank, Joseph Foos, Max Greenberg, Harold Klusky, Seymour Hinkes. Henry Naftali, .lay Rand. Saul Reiter. Ruby Rub- in. Milton Schwersky, Burton Streit, president, and Rhoda Willis. Chanuka items will be available all week in the Temple Gift Shop. Am "Keep the Lamp of Learning Aglow" is the motto of these ambitious Hebrew Academy Women discussing results of the membership luncheon Wednesday in the French Room of the Fontainebleau Hotel. Left to right are Mesdames Maurice Goldring, Daniel Zalis, Samuel Rosner, Hebrew Academy Women president, chairman, Charles Simon, co-chair- man, Louis Sussman, Saul H. Breeh, Harry Rosenberg, decorations chairman, and Sam Shapiro. WC Schools Set 22 Annual Dinner at Algiers Hotel The I. I.. Peretz Workmen's Cir- 8500 SW 8th St., and at 1545 SW cle Schools will hold its 22nd an- nual banquet on Sunday. 1 p.m., at the Algiers Hotel. The schools, which teach the Yiddish language, hold classes for children at the YM and WHA, 3rd St. Students presenting recitations and songs include Olean Deaton, Ann Glusman, Barney Gordon. Ann Rayman. Eva Skrande, Deane and Robin Wagner and Hermine Wciner. The program will also include a concert of Yiddish and Hebrew songs by A. Krashinsky, formerly of Canada, who has directed choral groups for many years. Ben Swire, chairman of the school board, is in charge of tick ets and reservations which are also available at the office of the Work- men s Circle, 940 Lincoln Rd. This great sauce is the recipe of seafaring Italian folk, mada as only Chef Boy-Ar-Dee can '. make it'. Chunks of Italian- , style plum tomatoes, rich and . zesty with onions, herbs, spices and olive oil. For spa-, ghetti, noodles and rica, meats, fish and egg dishes-j its geshmakstc.and meat- less! TRY SOME SOON! for HOLIDAY . and Everyday the Perfect Salt for Koshering II your meat and fowl Mr. and Mrs. Albert Friedman, of 425 Malaga Coral Gables, ft shown at the Wall of Healing at the Hd%sa^Henb";W "" <> versity Medical Center in Jerusalem. The Fr.edmans noted that -'It is wonderful to have seen for ourselves th ark> able Center after working for it so long. Mrs. Fnedman is a member of Hadassah here* NOW! SUNSWEET. TENDERLY NEW PITTED PRUNES PITTED PRUNES READY TO EAT c/5 -^^>- a~ RRAIW TO EAT PITTED PRUNES No need to cook...great new nosh, ready to eat right from the purple and orange package. Ideal for lunch boxes. Snip 'em into cookies, cakes, salads. No pits, just fresh fruit tenderness through and through. Rich in ^ ^_J*?3 natural fruit...bite right in I WM f CHT|FIED ABIGEZUNTlR with SUNSWEET PRUNES! - ?cge 8-B vJewlsli ncrkiian DODO WOMAN OF THE WEEK Dodo Weinsteinr now Mrs. Leon Sirkin, spent her win- ter months as a child in St. Augustine, and her summer months in Old Orchard Beach. Me. Life In a small town is no different from life in any other small community, ex- plained Dodo. But her life during the summer months in Maine was nevertheless very different indeed, with dancing lessons, of course, and a business. Dodo was everybody"s pet. Before she had even started nigh schoolj she had a candy shop, which later turned into a coffee shop. It was through this business venture that she put herself through school. She got her BA at Sophie N'ewcomb. There, she was pres- ident of her dormitory and an active Alpha Epsilon Phi. Sophie Ncucomb is a girls' college, but so close to Tulane University that it made dating easy. It was a mat- ter of exposure that caused Dodo to be a lawyer. Law was in her family. It could be a law firm of Weinstein. VVeinstein and Weinstein indefinitely there are five Weinstein lawyers. Dodo's oldest sister, Natalie, had moved to Miami and opened a law office; so Dodo moved here, too, and went to the law school at the University of Miami. It was here that she met her husband, Leon Sirkin, and now there are two little Sirkins, Molly Ann and David. In the six years that Dodo has been married, she has put her husband and children first. Her law career is secondary, and on a part- time basis. Since she never cooked before, she has gone all-out to become the best. She adores gardening and has, besides, a wide range of fruit trees, and her own kitchen garden with parsley, onions and super tomatoes. Dodo has been secretary' of the Miami Beach Bar Asso- ciation for almost ten years. It is an integral part of her profession, and she finds it both interesting and time- consuming, but in a way she likes. She adores politics, and when she picks out a candidate she feels is worthy she goes all out to support him and to see that he wins. Pres- ently, she is chairman of the Miami Beach Democratic Committee. The Sirkins like to relax with television, and spend quiet week nights at home. Dodo started to play golf, but decided it was too strenuous; so the family waits for Leon to come home from golf on the weekends. Then they bounce about, having fun, taking long rides, and visiting family. House-hunting is also included. Every summer, they go to Old Orchard Beach, and last summer, Leon fell under the spell of sailing. So a house on the water is a "must." Dodo feels that sailing will include the whole family, and she is just as eager to start sailing as Leon. Dodo was always a happy youngster. She grew up to be a happy young woman, and is now a satisfied and happy young matron. She feels she has the fulfilment that comes with a happy marriage combined with an interesting voca- tion. She has no time for the boredom that besets the matron of today. Her family and friends feel this gift she has of being satisfied, this wonderful feeling that she can invoke in others ever since she was everybody's pet during the summer years in Old Orchard Beach, is a most desir- able trait that would be well for the whole world to emulate. MMti.t. ;: i: "- '-" -** ~t~ :ci Ellen Benus Now Mrs. Herschfeld A late evening ceremony on Sat- urday, Nov. 26, united Ellen Shay- na, daughter of Mr. and Mrs. Sam- uel Benus, 2150 SW 19th Ter.. and Philip Stuart Herschfeld, 118 Za- mora Ave. For the nuptials, conducted by Rabbi Maxwell Berger at Temple . Zamora. the bride chose a floor- i length gown of white peau de soie with three-quarter-length sleeves. It was trimmed with appliques at the neckline and the bottom of the Aline skirt, and had a detachable train. A pillbox headdress with a short illusion veil completed the ensemble. Attending the couple were Cyn- thia Rheingold. maid of honor, Di- ane Fishman and Donna Hochstadt, bridesmaids. Robert Lippman served as best man, and Ronald Friedman and Stephen Gottlieb ushered. Friday, December 2, 1968 Garden Club Plans Workshops Mrs. Ben Lond, president ol Mi Sinai Garden Club, announces that a basic course in floral arrange ments will, be given at the Garden Center. Members who will instruct the classes are Mesdames Harold Spaet, Anthony Lane, Ben San- uels, Harold Hirschfield, Etta Bu bis and Rose Kelemer. Workshop dates are Nov. 28 Dec. 5, Dec. 12, Jan. 16. .1;, Jan. 30, 10 to 12 noon. Committee chairmen for the course are Mrs. Charles Courshoa and Mrs. Sanford Levine MRS. PHILIP HERSCHFELD Beach High. New Mrs. Benus is Son of Samuel Herschfeld. 600 a graduate of Coral Gables High. SW 9th Ave.. and Mrs. I.ouis Free- man. Newark, N.J.. the bride- groom is a graduate of Miami Following a honeymoon at the Diplomat Hotel, the couple will live in Coral Gables. Singles Club Sets Chanuka Program Special Chanuka program will |>e featured at the next meeting ol "% < "Y" 's Young Adult Sinj;U' i li^H * on Thursday. Dec. 8. 8 p.m., in the Cardinal Room at the VM and WHA. 8500 SW 8th St. Young adults between 18 and 2: years of age are invited to atten Dancing will follow the meeting A varied program of coed sports July Nuptials For Ronna Nathanson. S^iStf!:1^; Phillip Slotsky MISS RONNA NATHANSON Randi Hochfelsen Engaged to Wed In March Rites Mr. and Mrs. Herbert Hochfel- sen, 415 NE 158th St., announce the engagement of their daughter, Randi Hope, to Leonard H. Roth- enberg. son of Mr. and Mrs. Ed- ward Rothenberg. Ill NE 170th St. The bride-to-be is a graduate of North Miami Senior High and Miami-Dade Junior College. Her fiance is a graduate of North Miami Senior High and Emory' University. He is now attending the university's School of Dentist ry, and is a member of Alpha Omega, dental fraternity. A March wedding is planned for the betrothed couple. Mrs. Anna Nathanson, 101 SW 13th St.. has announced the en- gagement of her daughter, Ronna E., to Phillip S. Slotsky. son of Dr. and Mrs. Israel Slotsky, 2185 SW 17th St. Also daughter of the late Mr. Abraham Nathanson, the bride- elect is a graduate of Niagara Falls High, Niagara Falls, N.Y., where she was a member of Beta Alpha Sigma Sorority. Now attend- ing the University of Miami, she is active in the Hillel Foundation on campus. The prospective bridegroom, now teaching physical education in the Dade County School Sys- tem, earned a Bachelor of Educa- tion degree from the University of Miami, and a Master's degree from the University of Illinois. His fraternity is Phi Epsilon Kappa. The couple will be married on July 2 in Niagara Falls. for Young Adults is scheduled for Thursday, Dec. 15. at 8 p.m. Officers who have been elected to represent the newly-forme Young Adult Singles Club at the WMHA are president, Tom Shu pack; program vice president Shelly Weiss; fund-raisini; vice president, Barbara Jano.>i; record ing secretary, Ileen Goldblat. cor responding secretary. Cynthi,- Robinson, treasurer. Barry Sher bal; historian Kay Levin; parlia- mentarian, Stuart Jasper Miamians Attend NCJW Confab Mrs. Edwin Oppenheim. pres dent, Greater Miami section of N^fr _~^ tional Council of Jewish Women and Mrs. Irving Wexler. vice prea ident of administration, are in New York City to attend a two-day con ference designed for metropolitar area Section leaders in larger Jew- ish communities of the United States. Meetings will take place in the Council national office on Dec. I and 2. Representatives from the Balti- more. Chicago, Los Angeles and .New York Sections will examine big-city challenges and how IhC) are being tackled by government other agencies and the Jewish community. Discussions will focus on the role of the Council Section within this framework, both at pre- sent and in planning for the future mw *wwn YOU can be SURE of the BEST at - Todd's BONDED FRUIT SHIPPER PLACE YOUR HOLIDAY ORDERS BEFORE DEC. 6 2164 PONCE DE LEON Coral Goblet Tel. 448-5215 NOW SHIPPING FLORIDA'S flNEJT FRUIT BASKtTS I ClfTS < 4 i t * 4 4 4 4 4 Social Events For JWY Groups MISS RANDI HOCHFELSEN BAR MITZVAH and BAS MITZVAH INVITATIONS NAPKINS MATCHES MENUS STIRRERS PLACE CARDS THE WBBBtNG SHOPPE "Everything but the Gown ami Groom" Fhone 444-0614 3614 COtAl WAY, MIAMI Closed Thursdays Speaker at the Gold Coast Lodge of B nai B'rith on Thursday, 8 p.m., was to be E. Albert Pallot, international vice president of the order, in the auditorium of Sea- coast Towers North Building. MARKS Cleaning Laundry Storage 1201 -20th Street Miami Beach JE 8-6104 OPM 1 AM. 7 PM. Some Day Service Never Am txtra Caere;* West Miami Auxiliary. Jewish,---------------------------------- War Veterans was to hold a regular meeting on Thursday evening. Dec. Gold COOSf Ba SBSSIOII 1st. at the home of Mrs. Stanley Gold. 8410 SW 36th St. Program was to include a Chanuka observance and a gift :^rab bag. Membership chairman is Mrs. i Ben Shapiro. President of the Auxiliary is' Mrs. Norman Burman. West Miami Post and Auxiliary will hold a membership social on! Saturday evening, at Hillel House, 100 Miller Dr. Men and women who have served in the U.S. Armed Forces! in wartime and their families are | eligible for membership. Entertainment will be provided by Miss Gwen's Studio of Dance. President of the auxiliary is Mrs. Norman Burman. Command er of the post is Mr. Leo Slachte-. In charge of reservations are Mrs.; Ben Shapiro and Abe Isgar. Sky Lake Marks Chanuka Holiday Congregation and Sisterhood " Sky Lake Synagogue will celel Chanuka with a special pro on Saturday night, Dec. 10 ft*. turing Larry Stang and Joe Ga^ ane in song and comedy. Included in the program will he games, Chanuka songs and tional holiday food. In charge of the prog rat Mr. and Mrs. Philip Fine, assiste by Norman Lieberman. Ashen En- gelman. Daniel P. Tunick. Mrs Ralph Deutsch. Mrs. Lo"'- ban, Mrs. Ben Jacobson Mrs Abraham Feld, Mrs. Ashen En- gelman, Mrs. Stanley Kestin an Mrs. Julius Salitsky. i-vMrnr rw~,krin ibbc Friday. December 2, 1966 .Jewisl) Fhridlian Page 9-B y^ESTVIEW Country Club held " its annual formal dinner danct Saturday evening, and the even: as a most glamorous one. Mr-. John Serbin topped her black velvet, figure molding sheatr gown with a chinchilla stole. Emerald green silk dynas- ty was the color and fabric in the Stole worn with an emerald green brocade gown by Mrs. Daniel Oilman Mrs. Paula Gol- ub's black velvet sheath featured a slashed bateau neckline border- ed ir >hite mink. Mrs. Bernard Walls nory-colored alaskan silk gown featured the empire waist- line, narrow shoulder straps, and a prix -.ess silhouette skirt. Pet;.' pink satin was worn by Mrs. Baron de Hirsch Meyer. The square-necked sheath was cover- ed with rows of fringe created with loops of satin-lined crystal beads Her stole was in the pink satin. Mrs. David Balogh's white satin gown had appliques of white brocade flowers which were reemhroidered with a Fren lace. Her black peau de soie evening coat was three-quarter- length and had a wide ascot type neck!ix.t. Mrs. Leonard Miller was fi muted lavendar silk chif- fon with clear crystal beads at the halter neckline. Panniers were in back and went to the hemlir?. > LJRS. Louis Cassett caused *?* many eyes to turn with her white !ace gown. Rosettes of silk organ:.: rn white and soft pink completely covered her gown.; Her neckline was a high bateau, with a wide panel across the back creatir,^- the Aline silhouette. Other towns seen at the sump- tuous cocktail party preceding the c: r.ner were those of Mrs. W'altt Jacobs, in a white alas- kan silk with long sleeves and | jet jev els encrusted at the neck-' line and cuffs; and Mrs. Harry! Nathaiison, in pale pink silk cov- ered with sequins, satin-lined bugle fjeads. and crystals. Blccx and white were the col- ors used in the floral center- piece in the dining room. Bas- kets t:' white flowers were sus- pended from the ceiling on ropes of bi^tk satin Candles were lit in baskets which hung high enout- over each table to give an unobstructed view to the din- ers, ax.d crystal tear drops were suspt ;uled on the bottom. The orchestra played on the revolv- ing dais, and guests danced in a wide circle around the musicians. Mrs. Don Michnoffs brocade gown was in multi-colored pastel florals with gold lame interwov- en into the fabric. Mrs. Homer Grossman was in a waist-skim- ming silver lame with silver beading. Coral silk chiffon with long full sleeves was worn by Mrs. Margie Rossin. Her collar and cuffs were jewel encrusted. Mrs. Ferd Meyer, whose husband is Westview's president, chose American Beauty red over white. Her coat was slit on the sides and followed the A-line silhou- ette. Mrs. Alex Miller's black silk crepe followed the Grecian influence with a criss-cross neckline and flowing draped lines. e e LJRS. Larry Singer's silk chif- "* fon had long full sleeves, and was gathered across the neckline in back to give a full A line silhouette. Matching | American Beauty crystal beads i trimmed the neckline and cuffs. I White silk crepe with silver and ; pink crystal teardrops on the I bodice was worn by Mrs. Arnold M. Strauss. Mrs. Lawrence Mark-1 man's silver lame gown was cut with a halter neckline and in the Aline silhouette. A silver French metallic thread was used to interweave in the fabric for an interesting textured effect. Mrs. Jerry Black's Hurel- French fabric was a silk blend with rhinestone buttons down the back of the gown. It had three- quarter-length sleeves and was in the popular Aline silhouette. Another of the conversation piece ensembles was worn by Mrs. Sam Luby Jr. Her gold and white brocade had asymetrically- placed buttons on the bodice, and the skirt was slit to the waist. It was worn over gold lame knife-pleated evening pants. Mrs. Arnold Gertner's black velvet sheath had a deep gold beaded bib designed in the ancient Egyptian motif. Ice pink peau de soie was Mrs. Richard Deutch's choice for the evening. Her empire gown was embroid- ered with pearl caviar beads and silver-lined bugle beads. Mrs. Irving Miller chose black silk crepe with white satin forming a face-framing neckline. Her scoop neckline dipped to a low V in back, and the white satin was used to detail the cuffs on the full long sleeves. Religious Schools Schedule Annual Holiday Assembly departments of Temple All MISS GLORIA BRICKMAN March Rites For Gloria Brickman Mr. and Mrs. Frank Brickman, of Miami Beach, announce the en- gagement of their daughter, Gloria Brickman, to Michael Kenneth Su- pran, son of Mr. and Mrs. Al Supran. Miss Brickman is working to- ward a Master's degree in statis-; tics at the University of Georgia.; She is a graduate of Emory Uni- versity in Atlanta, Ga., where she was president of Alpha Epsilon Phi, social sorority, and a member of Phi Betta Kappa. Mr. Supran is a doctoral candi- date in food science at the Uni- versity of Georgia. He received his Bachelors' and Master's degrees j from the University of Georgia, where he was president of Phi Ep- silon Pi, social fraternity. At pres- ent, he is on a leave of absence from the Mead Johnson Company of Evansville, Ind. A March wedding is planned. Emanu-El Religious School will participate in the annual Chanuka assembly on Sunday, 10:30 a.m., in the main sanctuary. Raphael K. Yuncs is chairman of the board of education. Feature of the morning will be a presentation entitled "Judah Rides Again," written and directed by Trixie Levin, and presented by the United Synagogue Youth Group of the temple. Members of the cast include David Abelow, Debbie Buchwald, Murray Cohen, Jill Danziger, Mark Hauser, Rochelle Hyman, Olivia Levin, Jeffrey Nevil, Sheryl Retkoff, Bruce Singer, Susan Singer, Kenny Spielfogel, Sandi Stein, and Andrew Sweet. Musical accompaniment will be by Sally Glass. The PTA, under the direction of Mrs. Harold J. Brooks, president, will present treats and Chanuka drcidels to all youngsters. Following the Chanuka program, the faculty and members of the board of education will meet for lunch and discussion with Dr. Irving Lehrman in Sirkin Hall. Miami Beach Mayor Elliott Roosevelt is assisted by Mrs. Mai Englander (left) as he presents an oil portrait r.f his late mother. Eleanor Roosevelt, to the Eleanor Roosevelt Democratic Club of Dade County. Accepting the painting, done by an anon- ymous Czechoslovakian artist, are Mrs. Joseph Leifer and club president, Mrs. Lee Weissenborn (extreme right). Bonnie Brody Wins Top Award verse MAKE YOUR WEDDING, BAR MITZVA, ANY FUNCTION "THE TALK OF THE TOWN" with IRVING PIETRACK ORCHESTRA NO JOB TOO SMALL JE 8- WNCTION I STRA I -0204^1 Warehouse Sale To Aid Sick Tots A one-day benefit warehouse sale will be held Saturday, from 10 to 4 p.m., sponsored by the Suburban League Women, with all proceeds earmarked for Variety Children's Hospital. The warehouse is located at 3635 S. Dixie Hwy. On display will be all types of household appliances, toys, books, infants' furniture, and miscellan- ( eous household goods. Mrs. William Cooper is chair- man of the one-day sale, assisted by Mrs. Robert Sussman. publicity chairman. The Suburban League is a serv- ice organization whose members raise funds to assist two cancer patients at Variety Children's Hospital. Mrs. Alan Hertz is pres- ident. Bonnie Sue Brody 17. winner of the Robert Frost Memorial Award "McFaddley's M a 1 a d y," has received a merit award from the Dairy Council of South Florida. The daughter of Mr and Mrs. Morris Brody, 211 SW 51st PI., she is a superior honor roll stu- dent at Miami Bonnie Brady High School, a member of Beta Club, and a staff writer for the Miami High Times. Bonnie is cadette captain in the Miami All Girls Squad of Civil Air Patrol, and a CAP representative to Dade County Youth Council. She is also corresponding secretary for Teen Democrats. The Dairy Council has a con- tinuing program to honor meritori- ous young people in Daue County. Nominations can be sent to Agnes Edwards, P.O. Box 615, Miami 33152. Pompano Sholom Marks Chanuka In commemoration of the Fes- tival of Lights, members and Re- ligious School pupils will celebrate the victory of the Maccabees in their struggle for religious free- dom during the Friday evening services at Temple Sholom, Pom- pano Beach, conducted by Rabbi Morris A. Skop. On Sunday, Dec. 11. a special Chanuka assembly will depict the Maccabees in a dramatic presenta- tion, and Chanuka skits will be presented by classes of the Re- ligious School. The Sisterhood will host a Chanuka brunch, featuring tradi- tional holiday foods. CT ICm Wedding Time!" - FLOWERS JILL VL 'WMinc, BLOSSOM SHOP (Mercantile National Bank Building) 1616 Washington Ave., Miami Beach CALL JE 2-3231 LEO HOHAUSER PLUMBING CONTRACTING REPAIRING I Serving Dade County Over 25 Years 11811 SW. 14th ST. HI 6-9904 DOMESTIC MAIDS RESTAURANT & HOTEL HELP A-l EMPLOYMENT Ph. FR 9-8401 Page 10-B +Jwist ncrkHar Friday, December 2. 19S6 Interfaith Group For Interama Is Announced Here Newly-elected Parents of Menorah officers and members cf the board of directors are installed a' an "Orchid" Luncheon at Temple Menorah. Rear (left to right) are Mesdames Nathan Friedman. Lester Axelrod, Arnold Felder. Moris Bahmoiras, Joel Grossman, Al- vin Mund, Edward Greenberg, Morris Beren- thal and Arthur Reich. Front row are Mes- dames Gerald Nathanson, L. S. Berens, Shel- don Hacker. The first function sponsored by the newly-formed Parents cf Menorah was the Chanuka Institutes held last Monday morning and Wednesday evening. Luminaries to Lead Festival LOUIS COHENS TO BE HONORED PAGE 14 B A host of luminaries of the enter- innient world have been an- ounced for the second annual immunity-wide Chanuka Festi- al. which will be held on Sunday k'ening, Dec. 11, at the Miami I each Auditorium. Heading the festivities will be pen star Jan Peerce. He will be lined by humorist Emil Cohen. t ie Miami Beach Symphony Or- chestra under the baton of Barnet I reeskin, the Hora Festival Danc- rs. the Scottish Baa Pipers, and the Greater Miami Choral Society, i nder the direction of Lawrence 1 I'dgpeth. A highlight will be the dramat c presentation of "The Saga of israel," with a cast headed by Arnold Warren and Ken Taylor. Emil Cohen Barnetl Breesfcin Choreographer i Jack Nagle. Musical consultant is David Con- viser. The Chanuka Festival is spon- sored by the Israel Bond Organiza- tion. Complimentary tickets are available to all Greater Miami 1966 Israel Bond purchasers. In announcing the Festival, Rab- bi I.eon Kronish. chairman of the Greater Miami Israel Bond Or- ganization, noted that "this year's Chanuka Festival will be a two- fold celebration, marking Israel's year of 'Chai,' as well as the triumph of Judah Macabee. "Some 2,000 years ago, Judah Macabee rallied the people of Is- rael and led them to victory against the fortes of tyranny and oppression. The second annual community-wide Chanuka Festi- val, coinciding with Israel's "Chai" year, will truly be in the spirit of the Macabees of old," he said. Symposium On Synagogue Role At Emanu-EI Adult Education Committee of; Tempi' Emanu-EI announces the first in n scries of symposiums to: fee held on Tuesday, 8:30 p.m., in the main sanctuary of the temple. Particinants in this symposium,, > eing h; Id in conjunction with the : Rabbinical Association of Greater] Miami. arn Rabbi Herbert Baum- -ard. Rabbi Solomon Schiff and (alibi Alfred Waxman. Subject for discussion is "The Role of the Synagogue Today." Dr. Irving Lehrman, spiritual leader of Emanu-EI, will act as moderator of the symposium. The symposium is part of the adult education program, which consists of evening classes for men and women in the study of Hebrew and the Bible, and classes for wom- en on Tuesday mornings in the same subjects. Instructors include Rabbi Arthur S. Hollander, Miss Sarah Weinberg, Mrs. Aliza Bren- ner, Miss Rachel Charuvy and Mrs. Fay Feinstein. A special symposium will be held on the first Tuesday of each month for participants of all classes. Interfaith Committee for Inter- ama, a non-profit corporation which had been in an unofficial planning stage for nearly two .ears, was formed here this week. The committee is sponsored by the three major faiths, including the Greater Miami Rabbinical As- sociation, the Greater Miami Council of Churches, and the Di- ocese of Miami. The committee has been or- ganized "to establish, operate, and maintain a facility or facil- ities in the Inter-American Cul- tural and Trade Center, known as Interama, to present the vital role of religion in the American way of life." Among the various plans are a religious pavilion, art exhibits, concerts, and worship service. Rev. A. E. Guysan, of the Christ Carmel Wines In Top Awards At the .2th International Wine Exposition held at I.jubljan. Yugo- slavia, 18 gold and silver medals were awarded to Carmel Israel Wines. There is viitually no interaction or relationship, official or unoffi- cial, between Yugoslavia, an Iron Curtain country, and the Jewish State. Dr. Eliakum Ostashinsky, man aging director of Carmel Wines in Israel, received communication from Gospodarsko Raztavisce in Ljubljana, informing him of the high degree of success achieved by the Carmel entries. These includ- ed Chateau Rischon Vin Rouge, Chateau Rischon Vin Blanc. Hock white and red wines. Topaz. Mus- catel. Sharir and Partom (dessert wines and vermouths, sweet and dry) and the President's Sparkling Wine, as Carmel's champagne is called. Informing Moses Englander, general manager of Carmel's New York Office in charge of the dis- tribution of Carmel Wine through- out the United States, Canada and South America, of this tribute, Dr. Ostashinsky noted that Carmel brandies and Wishniak had not fig- ured in the Exposition for a rather special reason. The consignment had never arrived. "They may have been stolen en route to the Fair," noted the Is- raeli, "and if so, we can only con- gratulate the thief on his excel- lent taste, because the missing liquor beverages are the best of our products. We have every rea- son to think that if they had reached their destination, they also would have received the highest award." Lutheran Church, was elected chairman of the committee. Other officers are the Very Rev. Msgr. Robert W. Shiefen, vice president; I,eonard Sauer, Lutheran layman, secretary: and Rabbi Solomon Schiff, executive vice president of the Greater Miami Rabbinical As- sociation, treasurer. Since the permanent exposition includes all the Americas, the schedule of exhibits also will in- clude expressions of the religious life in the Latin and Caribbean countries and in Canada Each progiani will be built around In terama's theme of "The American Way of Life Progress with I- reedom." The committee will be rasponsi ble for planning for the religious needs of the thousands of persons who eventually will be living on the grounds of Interama, as well as for letting the millions of vis itors know about the services available to them at local churches and synagogues. Dr. Irving Muskat, director of Interama, has been working closely with the committee through his administrative as- sistant, Vincent Antel. He is channeling all religious pro- gramming and requests for re- ligious exhibits through the committee. Others on the committee, made up of five Protestants, live Cath- olics, and five Jews, are the Rev. Luther Pierce, executive director of the Greater Miami Council of Churches: the Rev. J. Calvin Rose, of the Miami Shores Presbyterian Church; R. Douglas Hazcn, a Prot- estant layman; the Rev. Vincent J. Sheehy, of the Catholic radio and television commission: Edwin Tucker, attorney; Joseph Walker. Catholic financier; Rabbi Leon Kronish, of Temple Beth Sholom; Sidney Lefcourt and Harold Thur- man, noted Jewish community leaders; and Rabbi Max A. Lip schitz, president of the Greater Miami Rabbinical Association. Temple Ner Tamid plans a Chanuka celebra- "ion Sunday morning, Dec. 10, in Sklar Audi- ;orium. Presentation will feature an assembly with children of the Drama Club presenting a play, "You Were There," with the Dancing Club and Junior Choir participating. Rabbi Eugene Labovitz, spiritual leader of the tem- ple, will quiz the children on the holiday, and a prize will be awarded to the outstanding student. Standing are Simie Estrach, Joy Mol- ko. Rose Ann Lewis, Debbie Schick, Karen Schick, Vicky Kaufman, Annette Geller, Min- dy Oppenheim. On the floor, Gary Vermette, Keith Robbins, Daniel Green, Howard Shapiro. Standing (front row) are Miss Diane Keshlan- sky, teacher, Sam Axelrod, Scott Schlitz, Rich- ard Du Beshter, Michael Berky. Beth Am Annual Chanuka Festival The annual Chanuka Festival sponsored by Temple Beth Am will take place on Friday evenings, Dec. 9 and 16. The Dec. 9 family service at 7:30 p.m. will be the annual Candle-Lite service, and those at- tending will bring a Chanuka candle. The program will include the C hildrcn s Choir in a cantata writ- ten and arranged by Cantor Mi- chael Kyrr, and a children's dance group, under the direction of Miss Linda Rovin. The observance will be followed by an Oneg Shabbat. The 8:30 p.m. Dec. 16 service will feature the Senior Choir, un- der the direction of Cantor Kyrr. The group will offer a Chanuka musicale featuring the music of Isaachar Miron and Handel. Miss Linda Rovin and Shaul Freeman will present a program of dances. Art Featured On Shalom Cruise By Special Report Prof. Murray J. Schlam, who ad- mits to having "nurtured many substantial talents" among his pu- pils during a 20-year career as an art teacher, is now providing in- structions to cruise passengers aboard the SS Shalom by courtesy of the Zini Lines. Prof. Schlam is a Friend of the Royal Society of Art, London, headed by Prince Philip. Duke of Edinborough. His appointment as art instruc- tor aboaid the Shalom is in keep- ing with the Zini Lines policy of providing cultural activities, as wall as the lighter amusements of a cruise. The Shalom has nine Caribbean cruises scheduled be- tween November and the end of February. 1967. A unique Israeli art festival will be held aboard the Zim Lines' flagship Shalom during a 12-day cruise to the Caribbean early next year. It will be conducted by Miss Yurika Mann, director of the Jer- usalem Art Center in Israel, and will feature an exhibition of orig- inal works by 17 of Israel's most prominent artists. Her program aboard the Shalom will be highlighted by a special art and fashion show titled "The Women of Yesterday and the Women of Today in Israel." The Shalom sails on her "Art Cruise" on Jan. 4, 1967 from New York and on Jan. 6 from Port Everglades, calling at St. Maarten, St. Thomas and San Juan. F'rirlmr TWk-r VI 1WJT pday. December 2, 1966 JfiWfcft flfrSdHmr Page 11-B frSt?^ iriyn PSE^ K 500 Will Attend Mesivta Dinner 1 [Members of the Mesivta dinner committee are standing (left to right) Jerry Bienenfeld. Mrs. Samuel Feiner, Paul Weiss, Mrs. Jerry Bien- enfeld, Rabbi Alexander S. Gross, Oscar B. Schapiro, Mrs. S. Louis Schwartz, Max Gut- imanu-EI School .hief Returns Tom Confab Mr-. Naomi Brande-s. supervi- lor of the Nursery-Kindergarten department of Temple Emanu-El'a Koliiinon Schecter Bay School, is j)iis\ reviewing some of the litera- Ere she brought back from the |966 conference <>f the National association for the Education of roung Children held last week in phicago. Mrs. Brandeis has been with Xmanu-El for almost 20 years and fas devoted herself to keeping khreust of all the latest develop- ments in the field of education for Jhe very young. She was honored recently at the B5th anniversary dinner of the jBureau of Jewish Education "for Bier many years of service in the Jewish community" and "for her active part in the early childhood Iprogram." She is the wife of Leo Brandeis. land lives at 1605 Pennsylvania lAve. Staff of the Nursery-Kindt ruar Men Department consists of highly- |t|iialified and experienced teach En. "The Temple Emanu-El Nur- sery Kindergarten Department for Ithe total personality development lof the child," Mrs. Brandeis ex- plained. "The department is concerned Iwith the intellectual development, [social and emotional adjustment, [and physical growth of each child. lit provides an introduction to Jew- |ish culture at the preschool level." The Solomon Schecter Day I School is now in its ninth year un- I der the personal supervision of Dr. Irving Lehrman and Rabbi Arthur I S. Hollander, director of Educa- tion. Mrs. E. J. Berman is princi- pal of the General Studies Depart ment. mann, Mr. and Mrs. Sheldon Roth, Mrs. Max Gutmann. Seated (left to right) are Mrs. Joe Zalis, Isidore Schwartz, Joe Za'.is, Louis Mer- witzer, S. Louis Schwartz, Mrs. Murray Berko- witz, Mr. and Mrs. Louis Geller. Beth Torah Adds New Courses A discussion group on "Jewish Family Living" and a "Book Reading Club" have been added to the Adult Education Institute of Beth Torah Congregation. Dr. Max A. Lipschitz, spiritual leader of Beth Torah. conducts and coordinates the course on I family living which meets every Monday evening at 8:15 p.m. The book club meets at 9 a.m.,j every third Monday of the month, and in December will hear a re- ' view of "The Assistant," by Bei- nard Malamud. The group is con- ducted by Abraham J. Gittelson, education director. Chanuka Festival Slated at T The YM and WHA Chanuka Festival will be held Saturday; evening, Dec. 10, at the "Y," 8500 | SW 8th St., from 7 to 9:30 p.m. In addition to celebrating the' significance of Chanuka, the major! portion of the evening will be de-' voted to entertainment. The Festival is open to "Y" j members only, and there is no ad-j mission charge. 1 MM. NAOMI BKANDCIS Funeral Directors Plan Convention In San Juan, P.R. The annual convention of the Jewish Funeral Directors of Amer- ica will be held Dec. 5 to 9 at. the Americana Hotel in San Juan, P.R., according to an announce- ment by Edward T. Newman, of Miami Beach, president of the or-. ganization. Newman is owner of Newman Funeral Home here. Other Greater Miami funeral directors at the convention will , be Leonard Zilbert, vice pres- ident of Riverside Funeral Chapels; Larry Blasberg, of Bias berg Funeral Home; and Mrs. Ike Gordon, Mrs. Jennie Gordon and Mrs. Irvin Gordon, of Gor- don Funeral Home. Some 250 executives of Jewish funeral establishments throughout; the United States and Canada will take part in the four-day conclave which will deal with major issues of concern to Jewish families throughout the nation. Nationally prominent personal- ities in the fields of education and social services will address the convention on a variety of topics dealing with psychological prob- lems and ethical aspects of the funeral and bereavement and re- lated subjects. Commenting on the importance of the convention with regard to vital issues of widespread interest, Newman said that the conclave will stress the growing need for "a better understanding of the: problems surrounding death and grief by the psychological, med- ical, theological and funeral pro- fessions." He noted "the increas- ing realization in medical circles, as well as among the general pub- lice, of the significance of grief as a causative factor in psycho- somatic illness.-' > E. Germans Hit For Denouncing Bonn Regime BONN (JTA) Qunther Von Hase, the West German Govern- ment spokesman, denounced this week the East German Communist leaders, charging them with seek- ing to undermine the West Ger- man regime by accusations that high West German officials had participated in Nazi war crimes. In a special Statement at a press conference, he cited as an ex- ample an effort to discredit Pres- ident lleinrich Luebke by dissem ination of charges that he had been responsible for building Nazi concentration camps during the war. He cited an exhibit under Communist auspices in Munich containing documents about Dr. Luebke in that connection, some bearing Mr. Luebke's signature which the West German Govern- ment promptly denounced as forgeries. Mr. Von Ilasc noted that such documents had been confiscated by his Government. He also disclosed that Government officials had considered instituting libel pro- ceedings against persons in West Germany who had repeated the libel." However, he said, it was de- cided that the dignity of the Pres- ident's office might be harmed by such proceedings, and the idea was dropped. He reiterated that ma- terial purporting to prove" that Dr. Ijicbke had engaged in such activities was "entirely false" and that there was absolutely "no sub- stance to the charges." More than 500 persons are ex- pected to attend the sixth annual scholarship dinner of the Mesivta of Greater Miami-Louis Mcrwitzer High School on Saturday night, Dec. 10, at the Fontainebleau Hotel. Principal speaker for the occa- sion will be Rabbi Dr. Morris D. Tendler, of Yeshiva University, i who is scheduled to discuss "Jew- ish Survival in an Age of Accept- ance." Dr. Tendler will also be given an award, "Torah in Derech Eretz," meaning a synthesis of Jewish scholarship with academ- ic achievement. Dr. Tendler, a rabbi and bacteriologist at Ye- shiva University, will be recog- nized "for his Torah scholarship and his scientific research in the field of cancer." Out-of-town students will pre- sent a brief playlet depicting the goals and activities of the Mesivta. According to fly Galhut, chair- man of the dinner, "the entire student body of the Mesivta High School is receiving a complete He- brew and a full secular program within the Mesivta, plus dormitory fa< ilities." Proceeds will help defray the expenses of the costly Mesivta pro gram. Serving with Galbut arc co- chairmen Murray Berkowitz, Jer- Civil Rights Panel Heard on Beach A panel and symposium on "Re- cent Civil Rights Demonstrations Should the Line be Drawn?" was featured at a meeting of Free- dom Lodge, B'nai B'rith. on Mon- day night at Surfside Community (cnier, it was announced by Judge Theodore R. Nelson and Herman J. Nudelman, program chairman and president. Chief panelists were Morton Perry, assistant states attorney, and Richard Yale Feder, Miami attorney and a counsel for the American Civil Liberties Union. Rabbi Solomon Schiff, executive vice president of the Greater Mit- anii Rabbinical Association, intro- duced the discussion and debate with a brief review of "Civil Rights in the Jewish Tradition." Moderator was Judge Sam Sil- , ver, of West Miami, a past pres- ; ident of the Dadc County Bar As- sociation. 2 Mexican Trips Free at Luncheon Prizes of two round-trips to Mexico will be awarded at a lunch- con on Dec. 5 sponsored by the Women's Committee of Variety Children's Hospital. The luncheon will be held at the Deauville Ho- tel. Jordan .Marsh will present a showing of new styles in ladies' lingerie fashions. Models will dem- onstrate the creations. Reservations may be made with Mrs. Terryce Kaplan and Mrs. Tillie Ashmann. Mrs. Ashmann is serving as chairman, assisted by Mrs. Rcnee Rodney. ome Bienenfeld, Milton Kahn. II man Kolko, Harry Lerner. D Irwin II. Makovsky, Louis Me witzer, Alexander ('. Moskovit-. Mrs. Sam Schandlcr. Rabbi Hen Wein. Serving on the arrange tnents committee are Louis Pol- lack, chairman, Mrs. Murray Ber owitz, Mrs. Hyman P. Galhut. Ml S. Louis Schwartz, co-chairmc Abe Chiel, Henry Groudan, Ben Kadushin, Louis Meyers, Oscar Mamber, Harry Rosenberg, Mm ray Rosenberg, J. Jerry Schechte, Sam Schechter Ben Stern, Mori - Waidman, Sam Waldman, Pa'.d Weiss. Day at Races To Benefit Children United Order of True Siste; Miami 43, will have a day at tl races Monday at Tropical Park. In charge of tickets is Mrs. Lou Gillman, chairman of the day. Miami 43 gives support to tl Children's Tumor Clinic at Varie Children s Hospital financial and with volunteer service. - fob saij: - Complete Set of 'Beautiful CASTUTON I FINE CHINA, floral patten, seven place setting, extra cups, sic dishes $150.00. Phone 538-187--. NICE FRONT HOUSEKEEPING ROOM 560 a month. Near ocean, shop> Three buses. Call 864-2784 after 2 p.m. Elderly Active Woman Would Like to SHARE Her HOME (S.W. Section) with Same. Maid, Kosh- er kitchen. All in exchange for Com- panionship. Phone 379-9988, 443-2816 WANTED Woman to Live In as Light Housekeeping Companion to Elderly Woman, light cooking re- quired. Call Bernice at WAbash 3-130 after 6 p.m. Groups Formed For All Ages Temple Beth Am is organizing a group for Young Adults, between 18 and 25, which met for the first time on Wednesday evening in the Youth Lounge. The Beth Am Temple Youth Group, an affiliate of the National Federation of Temple Youth, meets each Monday evening at 7:30 in the Youth Lounge. Miss Ellen Sherman, president, an- nounces that the group now has its own office adjacent to the, temple office. The newly-formed eighth and ninth grade groups, under the di reel ion of Gary Canner, also meets on Monday evenings. RELIEF FOSTER PARENTS (COUPLE) to live in agency oper- ated home with small number of older boys. Two days weekly, good salary and fringe benefits. Write: R. F., Box 2973 Miami. Flo. 33101 Avoid the Holiday Rush Caff NOW for TUNING & REPAIRING OF YOUR PIANO IRVING GOLDBERG 621-0081 Cantor Wanted FOR FRIDAY NIOHTS or WEEK-ENDS Also for HIGH HOtlDAYS Write to POST OFFICE BOX .'.-4091 WEST HOllVWOOD, FLORIDA 3302. MAN THAT ZIP COPE REALLY SENDS ME... ** e"v *o co. JEWISH CONVALESCENT HOME OF SOUTH FLORIDA 310 Collins Ave. Phone 532-6491 NONPROFIT NON-SECTARIAN Miami Beach's Only Kosher Nursing Home and Health Center SIDNEY SIEGEL SARAH KEISER Executive Director President (Kales start of S55J Paae 12-B JewlstiJtvrldton Friday, December 2, 1966 2nd YIP Service At Emanu-EI Second 1966-67 Sabbath service' dedicated to VIPs, (Very Interested ParentsV v, ill be observed on Sat-' urday during regular services. ' following the services, parepts and ciiiklien' will"join Dr. Irving Lchrman. spiritual leader of Tem- ple Emanu-EI, at a luncheon and discussion session. Mrs. Alfred Stone and Mrs. An-; dre Bialolenki are co-chairmen of the \ IP Committee. Reform Judaism Is Subject At ! Temple Israel Spokesmen for Orthodox and Conservative .Judaism and Rabbi = % Joseph Karasick, a New York City businessman, hes been elected the new present of the Union of Orthoc;:< Jew- ish Congregations c: Amer- I Joseph H. Narbi will provide the ica, the national organization Members of the Women's Cancer League of luncheon chaiiman; Mrs. Frances Linn, non- Miami Beach put their heads and hands to- orary chairman; Mrs. Martin Wexler and gether in plannilKJ deccrat'ons f-r the eighth Mrs. Robert Grossman, ticket co-chairmen; annual luncheon fcr the benefit of the Tumor Mrs. Malvyne Sommers, decorations chair- Clinic at Mount Sinai Hcsp:tal. The a'fair wi'l man; Mrs. Edward L. Cowen, sponsors chair- be held at the Fcn'a'nobieau on Dec. 14. man; Mrs. Morris Gidney, president; and Mrs. Shown (left to right) are Mrs. Abe Schonfeld, Michael Bright, treasurer. base for 'What a Jew Should Know About Reform Judaism al this Sunday's Greenfield Adult Institute at Temple Israel of Great-'. er Miami. On Saturday morning. Dr. John McDavid. of the University of Miami, will address the parents' I serving 3,100 syncjogues throughout the United States end Canada. He svoceeds Moses I. Feuerstein, of Brook- line, Mass., who served in the post for the past 12 years. The election was held 3t the series on^"High-Pressured Educa- UOJCA 68th anniversTry na- tional biennial convention in Washington, D.C. Lubavitch Group To Celebrate Two Events Sunday A joint celebrating marking the dedication of the second Sefer lion." Both weekend lectures begin at 10 a.m.v Professor of psychology at the University of Miami, Dr. McDavid has worked for many years in the field of education. A graduate of Rice, he received both his Master's and Doctorate at Princeton Uni- versity, where he also taught prior to a stint at the University of Iowa and. since 1960. at the University of Miami. Rabbi Schiff To Install Beth El Slate on Sunday Self-Serviee Postal Units To Open Here Newly-elected officers and board members of Congregation 3eth El He has published extensively on I wjn be installed at a piv-Chanuka IZl JZ* h Z Sh"3 Psychological subjects, and is a dinncr 0n Sunday evening Rabbi Synagogue and the 168th anni- mcmber of a nuni!ber of honorary Schjff ^ r.c, ,he versary of the release from prison as weii as professional societies. of Rabbi Schneur Zalman of I.iady, founder of the Chabad-I.ubavitcher movement, will be held on Sunday, 10 a.m., at 832 Washington Ave. The new Sefer Torah has been donated by members of the Luba- vitcher Minyan Synagogue, which meets daily in the Blackstonc Re- tirement Hotel, 800 Washington Ave. The self-service postal units in the 163rd Street and Northside Shopping Centers will open for The Yud-Tes Kislev commemo- business on Dec 13- Postmaster ration, marking the release of E. M. Dunlap announced this Silver anniversary banguet of Chabad, scheduled for Jan. 22 at the Deauville Hotel, is topic of discussion by (left to right) Abe Dlatt, Norman Ciment, Isidore H. Kramer and Miami Beach Councilman Joseph W. Malek. Ciment is chairman, and Malek is co-chairman with Michael Sossin of the dinner com- mittee, which wili mark the 25th anniversary of the Luba- vitch movement's educational activities in the United States. Initial committee meeting was held Sunday at the Blackstone Retiremen'1 Hotel. Rabbi Zalman, is celebrated by wee't- followers of the Lubavitchcr move- ment throughout the world. A luncheon will be served fol- lowing the Sefer Torah dedica- tion ceremonies, during which the Yud-Tes Kislev anniversary wiil be commemorated. Rabbi Abraham Korf, regional director of Merkos L'Inyonei Chin- uch, the educational arm of Cha- bad-Lubavitch, will officiate. Also participating will be Norman Ci- ment. chairman of the Chabad sil- Vending machines will offer stamps, postal cards, envelopes and minimum insurance. Letter and parcel scales indicating post- age plus bill and coin changers will be available. In addition, a free direct telephone line to the Post Office will assist customers in obtaining additional informa- tion throughout the day and night. ceremony. Officers to be installed include Hyman Chabner. president: Ben Boskin. Andrew Mandel. vice pres- idents; Philip Berkowitz treasur- er: Joseph Rotenberg. secretary; Sam Phillips, financial secretary. The 5:30 p.m. dinner will be sponsored by the Beth El Sister- hood. Mrs. Jack Shapiro pres- ident. Chabner ha- served Bt h El for many years in various capacities, including the presidency He is also president of the Greater Mi- ami Jewish Cemetery' Assn. He is active in many community activ- ities, including Hebrew Acidemy. The new self-service postal in- stallations are two of 100 being ver anniversary banquet; Michael constructed in major shopping Sossin and Councilman Joe Malek, centers throughout the nation this co-chairmen; and Morton May berg, >ear at a ,fost f approximately president of Camp Can Israel. S1500 eaeh" Each umt wl11 havc sponsored by the Florida Chabad Uvo ** mal1 *** and a Committee. Sunday's celebration also will discuss plans for the silver anni- versary banquet, scheduled Jan. 22 at the Deauville Hotel. It will mark the 25th anniversary of the Chabad Lubavitch movement's move to the United States follow - Paul Faske (far right), president of the Greater Miami YM and WHA, and his brother, Louis Faske, buy literary items from Mrs. Esther Stern, one of the many volunteers at the "Y" outdoor art ehow last Sunday. Art objects, books and records were featured on sale at the spacious "Y" grounds at 8500 SW 8th Si. Deborah Women Meet Tuesday Dobin Joins Graphics Firm Jerome Dobin ha? joined Graph- ic Advertising. Inc. as vice pres- ident, it has been announc- nounc^i by Sey- m o u r Gerber, presid e n t of the newly- formed Miami advertising tising agency. Dobin, a vet- eran 0 f 2 0 years in adver- tising an! pub- 1 i c relations, headec his own York City and P;ior to joining lnc he had advertising tudv group is led by Dr. Irving i and public relations director for Lehman, spiritual leader of the Doral Beach Hotel and Dora! Coun- congrej;ation. I try Club Hotel. Members meet bi-weekly at! Holder of a Bachelor of Arts de- special parcel post deposit. Torah Club Starts 7th Year Torah Luncheon Club of Temple Emanu-EI will hold its first ses- sion of the season on Monday, DOBIN agency in New Miami Beach. w* S0"' iPVa8i0n f RuSSia in 12:15 p.m.. at The Shclborne Hotel!' Graphic Advert World War II. jjow jn its ^.^1, year) the' served four years as Chanuka Dinner . V" "*eSCUe lunch'to study" the sacred "Titera-i gree from City College of New Annual Chanuka dinner for the ture of Judaism and t0 participate York, where he majored in psy- Child Rescue Fund sponsored by in djscussl0n. The course utilizes! chology, Dobin saw World War II the Golda Meir Chapter, Pioneer | texts and commentaries. Women, was held Sunday at the Barcelona Hotel. Rabbi David Shapiro, spiritual leader of Hollywood Temple Sinai, was guest speaker, and Mrs. Meyer Golob offered the invocation. Rabbi Stauber Is Guest Speaker Daughters of Israel will hold its A group of vocal selections was I annual Melavah Malkah on Satur- Greater Miami Chapter of Deb- orah Hospital will hold its regular monthly meeting at the Deauville Hotel on Tuesday noon. Mrs. Mildred Auslander, pres- ident, will conduct the meeting, and plans for the forthcoming paid-up membership luncheon wili be discussed. day night at Kneseth Israel Con- gregation, 1415 Euclid Ave. Proceeds will go towards the Miami offered by Harry Rosensweet, as- sisted at the piano by Olga Bibor Stern. Mrs. Abraham Seltzer, pres- ident, extended greetings on be- j maintenance of Greater half of the chapter, and Mrs. Dav- community Mikvah. id Lippman, vice president in charge of Child Rescue, served as chairman. Mrs. Milton Green extended combat service a? a naval Lieuten- ant in both the European n'.d Pa- cific Theatres, and was iwarded the Purple Heart. Graphic Ad\ertising. Ir.c is af- filiated with Graphic Arts, Inc., of Miami. Both organisations, iocated at 230 NE 70th St., Miami, are headed by Gerber, one-time Chi- cago advertising executive who moved to Miami 12 years ago. Mrs. David Lehrfield, president, will present Rabbi Sherwin Stau- ber, of Young Israel of Greater Miami, speaker, and Cantor Abra- gree4inu's in the name of the Pio- ham Seif, of Kneseth Israel, who neer Women's Council. | will sing musical selections. lb Time and Free Will Discvssei i , "Bergson's Time and Free Will" will be the subject for the Great Books Discussion Group meeting on Wednesday, 7:30 p.m., at the Miami Beach Public Library. htxmm in lOCC Friday, December 2, 1966 J3<*r +Jewisti fhridian Page 13-B Richard Mufson Richard Alan, son of Mr. and Mrs. Raymond Mufson, will be- come Bar Mitzvah on Saturday Dec. 3, z\ Temple Emanu-El. RichartT-atter.ds eighth grade at Nautilus Junior High, plays trom- bone in the band and is captain of the volley ball team. He has won many awards and trophies in sports <; all kinds, also enjoys dancing, arts and crafts and play- ing the piano. The cdebrant will be honored at a reception Saturday at his home. Mrs. Mollie Mufson and Mrs. Lee Leibow, Richards grandmothers, will attend the e\ent. ? Raymond Meinberg During service.- at Temple Sinai of Nortt i)ade on Friday, Dec. 2, at Washington Federal, 699 NE 167th 5-: Raymor.d A., son of Mr. and Mn Raymond C. Meinberg, will be Bar Mitzvah. Raymond is in the ninth grade at Norland Junior High and stud- ies ?. Temple Sinai Religious Schocn He i> head of the audio- visual department, news reporter for his Home Room and a member of the Student Council'at Norland. His hobbies are model-building drawing and reading. Raymond plans to study law. An < r,eg Shabbal In Raymond's honor will follow the services. * Craig Dearr Bar Mitzvah of Craig Rorv Dearr was observed on Saturday Nov. 26, at Temple Beth El in Miami. The lebrant is the son of Mrs. Mildred Dearr. 725 Cremona, Cor- al Gables, and the late Sheldon' Dearr. and was honored at a re-1 ception at his home on Sunday. I An eighth grade student at the' Hebrew Academy. Craig is study-1 ing the piano and is active in I sports. High, and is in the pre-confirma- tion class at Beth Torah-Harold Wolk Religious School. Her inter- ests include debating and writing. She is active in the United Syna- gogue Youth program, and also plays guitar. Oneg Shabbat following the ceremony, and a luncheon recep- tion at her home, was held in hon- or of the celebrant. Among guests were Mrs. Ann Rosenthal, grandmother, of Miami. Richard Rothman Richard, son of Mr. and Mrs Bernard Rothman, will observe his Craig Dtarr Raymond Meinberg Richard Mufson Bar Mitzvah on Saturday, Dec. 3, at Temple Zion. Richard is an eighth grade pu- pil at West Miami Junior High and is interested in journalism. Mr. and Mrs. Rothman will host the Oneg Shabbat on Friday even- ing following the services, and the Kiddush on Saturday morning. The celebrant will be honored with a luncheon at the El Bolero on Coral Way. Frederich Poritzky Frederich Larry, son of Mr. and Mrs. Irving Poritzky, 1060 NE Paul Sharr Paul Sherr, son of Mr. and Mrs. Dale Burkett, 100 NE 174th St., celebrated his Bar Mitzvah at Beth Torah Congregation on Saturday morning. Nov. 26. The celebrant is a ninth grade student at John F. Kennedy Junior High, and is in the fifth grade at Beth Torah Religious School. He won the American Legion of Hon- or Award for Outstanding Boy in his last year of Elementary School, is active in athletics, and inter- ested in art. Following the Bar Mitzvah serv- ices, a buffet luncheon was held in Pauls honor at Beth Torah on Saturday afternoon. Benna Solomon Benna, daughter of Mr. and Mrs. Joseph W. Solomon. 17510 NE 8th PI., celebrated her Bas Mitz- vah on Friday evening, Nov. 25, at Beth Torah Congregation. Benna is an eighth grade honor student at John F. Kennedy Junior ZBT Frat Men Stage Fun Day For Sick Kids Zeta Beta Tau Fraternity men at the University of Miami, more interested in community service than Dailies and good times, have raised S500 for the kids at Variety Children's Hospital to sponsor a Fi'n Carnival for the patients last week. Fraternity president, Andy Ecfel- man. said some 100 members of the local chapter helped con- struct same booths on the hospital grounds, put or, a big show, and distribute special toys to every sick youngster in the hospital as part of an all-day project to bring sunshine to the shut-ins. "More and more, fraternity men are becoming aware of the local health and welfare insti- tutions which need community support," said ZBT trustee, Mar- shall Rosenberg, commending the students on their action. Recently, they signed a pledge ;or a $500 donation to Variet> Children's Hospital representing jersonal gifts from each of tru nen at the Chapter House oi uiguria Ave., Coral Gables. President Edelman said this wa i "100 per cent project" involving ill the members. Named to head up the workirv committee for the recent Fun Carnival were booth construction ,nd games. Richard Magid; cix, aimes, Wallace Kleinberg; giua, Howard Ullman; entertainment, rtonald Deblinger; planning, Irving Halperin. Fred Goldsmith, ana steve Lungan: publicity, Michael Try son. I66th St.. No. Miami Beach, will celebrate his Bar Mitzvah on Sat- urday. Dec. 3, at Beth Torah Con- gregation. Frederich is in the eighth grade at John F. Kennedy Junior High, and in the fifth grade at Beth Torah Religious School. The Oneg Shabbat following the Friday services will be given in his honor. A luncheon will be held Saturday afternoon at the Beach- comber Motel. Michael Zagrodny, of Boston, grandfather of the celebrant, will be among out-of-town guests, a a Leonard Goldstein Bar Mitzvah of Leonard San- ford, son of Mr. and Mrs. Irving Goldstein, 18120 NE 10th Ct., No. Miami Beach, will take place on Saturday morning, Dec. 3, at Beth Torah Congregation. Leonard attends John F. Ken- nedy Junior High and is in the eighth grade. He is a sixth grade student at Beth Torah Religious School and plans to continue his studies after Bar Mitzvah. Leonard plays the clarinet and the sousa- phone, and is interested in model rocketry. A dinner reception will be held at the Beau Rivage Hotel. Bal Har- bor, on Saturday evening. Zeta Beta Tau Fraternity men constructed a games booth for their Thanksgiving Fun Carnival at Variety Children's Hospital here recently. As a community service, the fraternity members also distributed gifts and toys to pa- tients, provided ."trolling comic acts, and brought much cheer to sick youngsters who couldn't get home to enjoy the holiday. To top it all, they donated S500 to the Variety Chil- dren's Hospital free medical-care deficit. Hard at work are (left to right) Bruce Kern, Ted Orkin, Alan Asher, Ken Lieber- man, and President Andy Edelman. Pre-Chanuka Meeting Slated Mrs. Rose Ogrodnick announces that a meeting of the Minyonaires Synagogue Sisterhood is scheduled for Tuesday. Final plans for the annual Chan uka dinner and concert will be made. Mrs. Lillian Ciment, chair- man, is in charge of reservations A pre-Chanuka program will be presented at the meeting by Mrs. Rose Cohen. Bureau Starts Winter Semester In Ulpan Courses Eighth annual Ulpan program in Hebrew Conversation, sponsored by the Bureau of Jewish Educa tion, is now registering adult stu- dents for the winter semester, ac- cording to an announcement by Albert E. Ossip, president. Classes will begin Tuesday, 8 p.m., at the offices of the Bureau. 40 Lincoln Rd., and will continue for 10 two-hour weekly sessions. Courses to be offered are begin- ners, intermediate, and advanced. Modern audio-lingual methods in language teaching will be em- ployed in the program. Media used in teaching Israeli conversa- tion are tapes, records, music and Israeli daily papers. Herbert Zvi Berger, Bureau as ociate director, is acting as reg- istrar. Seniors Seek Actors Senior Citizen's drama group of the YM and WHA of Greater Mia- mi is now presenting a special Jhanuka program. The group meets every Tuesday from 11 to 12 noon in the Golden Key Room of -he YMHA, 8500 SW 8th St. The Senior Citizens are looking for ad- ditional actors. In charge of In- formation is Mrs. Rita Schoen- berg. Dr. Lipschitz At Beth Sholom Dr. Max A. Lipschitz. president of the Greater Miami Rabbinical Association, and spiritual leader of Beth Torah Congregation of North Miami Beach, will speak on "Is There Room for Doubt Concerning the Nature of God?" at a sympo- sium as part of the adult education program of Temple Beth Sholom on Monday evening at 9 p.m. On Dec 12. at 9 p.m., Dr. Ira Eisenstein, president of the Recon itructionist Foundation, will clos; he series of lectures with ;i "solu- tion" to the problem ol the "death of God." The program is sponsored by the 'oard of education of Temple Beth Sholom, of which Mrs. Irving B. Kaplan is chairman. Lapidus Named Architect For Brooklyn Pool Noted Miami Beach architect Morris Lapidus has been named to design a swimming pool for one of the most congested sections in Brooklyn, N.Y. The pool will serve the Bedford- Stuyvesant section and will be sit- uated at Marcy Ave. and Koscius- ko St. The $1.9 million pool and center will occupy a block-square site covered with low, reinforced con- crete structures of multiple uses o that the center may be used throughout the year. "Although the project is call- ed a swimming pool, it is, in fact, a neighborhood park," Lapidus explained. There will be a small pool for diving and a larger one for swimming. An immigrant, Lapidus was him- self raised in the Williamsburg and Bedford-Stuyvesant section of Brooklyn. He was the architect for such renowned Miami Beach ho- tels as the Fontainebleau. Eden Roc and Americana, as well as the Americana Hotel in New York City. ".-,- n Greater Miami area was the new Temple Judea opposite the Uni- versity of Miami. :iub 2 Seniors to Elect Slate Florida Senior Citizens Club 2 N will hold nomination and election of officers for the coming year at a membership meeting on Monday, 2 p.m.. at 842 Washington Ave. More than 190 committee members of the Hebrew Academy's 19th annual scholarship dinner at a breakfast honoring Mr. and Mrs. Louis Merwitzer, the school's president. Seat- ed (left to right) are Mr. and Mrs. Joseph Gon- shor, quests of honor, Mr. and Mrs. Charles Kclb, Mr. and Mrs. Louis Merwitzer, Ben I. Hinder, Oscar Member, Mrs. Henry Penchan- sky, and Mr*. Jerome Bienonfeld. Stand'^a, second row (left to right) are Morris Nash, Mr. and Mrs. Hyman Kolko, Louis DeCoveny, Mr. and Mrs. Harry Genet, Mrs. Flora Berman, Mr. and Mrs. Samuel Reinhard, Prof. George H. Pickar, Carl Brandes, Harry Ro-en, Oscar Shapiro, Mrs. Georae H. Pickar, Rev. and Mrs. Joseph Krantz, Mrs. Morris Bienenfald, and Henry Penchansky. Standina, back row (left to right) are Jerome Bienenfeld, Louis Cohen, Mr. and Mrs. Henry Groudan, Mr. and Mrs. Irving Firtel. Former Principal To Give Address Brandeis Zionist District of Mi- ami Beach will hold its next reg- ular meeting at 8 p.m. on Monday at Washington Federal, Normandy Isle. Dr Sigmund Fogler, former principal in the public schools of New York City, will address the group on "The Jew and Hit World." The talk will be followed by a question and Jdiscu.ssion per- iod. Mrs Isaac Donen will host the collation during the social hour. Mrs. and Mrs. Izzv (Hilda) Karp, cf 1146 Biarritz Dr., will be guests of honor at a testi- monial dinner in their be- half at the Algieja Hotel on Sunday evening, Dec. 11. Tho Asthmatic Children's Foundation of America will hest the dinner. / Paqe 14-B * If i si, fkjrkttam Friday, December 2, 1966 Family Service At Beth David The season's first Sabbath Eve service at Beth David Congrega- tion will take place on Friday at 7:30 p.m. Services will be conducted by Rabbi Sol Landau and Cantor Wil- liam Lipson. assisted by the choir linden the direction oi Albert Sussman. Religious School students have been invited to attend with their parents. They will be joined by the staff of the Religious School. William Bornstein, president of the Jewish National Fund Council of Greater Miami, has unnounced that the Philip Rose banquet on Dec. 18 "promises to be a most outstanding event," sponsored by the Greater Newark, New Jersey Club and King Cole Apartment Social Club. Proceeds will go toward the establishment of the Philip Rose Forest in Israel. "This is a unigue honor in tribute to an outstandinq individual for dedicated achievements," said Joe Schmier, chairman of the committee. Goal is a 75,000-tree forest. Guest speaker at the banquet will be Rabbi Mayer Abramowitz, of Temple Menorah. Com- mittee for the banquet consists of Dr. William B. Stollman, H. Finder, Z. Feit, B. Katz, co- chairman, S. Hammel, Philip Rose, Nathan Glaser, Joseph Schmier, chairman of banquet, B. Goldstein, Sam Gross, David Werner, Charles Cohen, Leo Rutstein. Islander ORT Dec. 13 Luncheon RABBI SOt LANDAU Forest to Honor Philip Rose Here for 'Dedication1 William Bornstein. president of I he Jewish National Fund of Great- er Miami, announced Wednesday that the Greater Newark. New Jersey Club of Florida, in conjunc- tion with the JNF. will hold a de- dication supper on Dec 18 at 'he Fontainehleau Hotel in honor of Philip Rose, president of the New- ark club and King Cole Apartment Social Club. Rose will be cited 'for his out- standing services and dedication to all humanitarian and Jewish Consul General Zeev Boneh to Appear At Dinner in Honor of Louis Cohens Zeev Boneh. Israel's new Consul General for southern United States, will come to Miami from .Atlanta to join in honoring Mr. and Mrs. Louis Cohen at a Temple Ner Tamid Israel "Cnai" dinner Satur- day night at the Fontaincbleau Hotel. Rabbi Eugene Labovitz. of Temple Ner Tamid. announced. Boneh will present Israel's Chai" Award to Mr. and Mrs. Cohen "in recognition of their yean of service in Jewish life." Murray Shaw, president of the temple, is dinner chairman. Prior to the dinner, Boneh will be feted at a reception tendered in his honor by Mr. and Mrs. Cohen. The reception will be in the Gigi Room of the Fontaine- bleau Hotel. Boneh is a sabra. born in Tel Aviv. At the age of 16, he enlisted in the Haganah. After receiving of-' licer's training, he served for eight, years, leaving the Army with the rank of major. The dinner program will feature entertainment by the noted sing- er. Jan Bart, who will present his .-pocial adaptation of "Fiddler on the Roof," which will also feature his wife, Lillian, a noted soprano in her own right. Shaw announced that music for dinner dancing will be be provided by a continental society orchestra. The dinner will start at 7 o'clock in the Fontaine Room of the Fon-' tainebleau Hotel. causes" in the form of the "Philip Rose Forest" in Mei Ami. Israel. "This tribute is justly deserved." said Joseph Schmier. chairman of the Philip Rose supper committee. "Tickets for the banquet are selling rapidly," said Mrs. Ethel Herman, secretary of the com- mittee. Bernard Katz, co-chairman of the arrangements committee, an- nounced that means are being made "to secure a prominent Is- raeli star to appear at this special event." Guest speaker will be Rabbi Mayer Abramowitz. who has just returned from a visit to the State of Israel, and who will report on the latest developments in the Mid- dle East and on the role the JNF plays in the security of the State of Israel. Women's American ORT. Island- er Chapter, will hold its regular meeting on Tuesday, Dec. 13, at a noon luncheon at the Deauville Hotel. In addition to a candlelighting ceremony, entertainment will be provided by Stanley Rosensweet. , sightless singer, accompanied by 10 QQ Speaker Mrs. Oiga Bibor Stem. Mrs Melvin Rose and Mrs. Sam Garfunkel are co-chairmen of en- tertainment. MDJC Prof. Rabbi to Talk On Chanuka Holiday Next meeting of the Women's league for Israel, Florida Chap- ter, will be held at the Forte Towers. North, on Wednesday at 1 p.m. Speaker for the afternoon will be Rabbi Max Zucker, whose topic will be "The Chanuka Holiday." Also on the program will be "Kindling of the Lights," comem- orating the holiday. James McWhortcr, professor at Miami-Dade Junior College, will be guest speaker at Temple Or Olom Atid on Sunday, 7:30 p.m. McWhortcr served with the Peace Corps in Bolivia and will relate some of his experiences. Temple Or Olom Atid is a social and cultural young adult group. open to men and women between 18 and 24. which meets every Sun day evening at the temple. MR. AND MRS. 10UIS COMIN Holiday Items At ORT Gift Shop There are holiday gifts galore in the Topiary Gift Shop at 1629 Michigan Ave., which is sponsored by Southeastern Florida Region of Women's American ORT. The shop is stocked with items from the far corners of the world, as well as hand-made articles. Proceeds will go to the ORT Health Project, which provides medical and dental care for stu- dent! around the world, and helps the mentally retarded, the deaf and the blind. ORT program for the blind in the Textile School at Ramat Gan is the only one of its kind in Is- rael. It was established to conduct research in effective methods of instruction in textile skills for blind people and to conduct courses to prepare them to handle machines and carry out normal work operations. The Institute also serves as a training center for vocational teachers for the blind. Criminal Lawmen To Hear Speaker Florida Criminal Defense Attor- neys' Association will hold its third annual dinner on Saturday at the Carillon Hotel. President Mitchell M. Goldman announced that the principal speaker will be the noted Northwestern University professor of law. Jon R. Waltz. The Criminal Defense Attorneys' also will present an award "to the i person who has contributed the1 most to the furtherance of crim- inal justice in the past year." Pre-1 vious winners were Dade Criminal Court Judge Ben Willard (post- humously) and Broward Court of Record Judge Douglas Lambeth. Prof. Waltz teaches evidence, procedure and trial practice and is co-author of the book, "The Trial of Jack Ruby" (with John Kaplan i He is also the author of "Medical Jurisprudence," to be published next year by Macmillan. His topic before the Criminal De- fense Attorneys will be "The Trial of Jack Ruby How to Conduct a Legal Disaster." Friends Board Meeting Sunday First board meeting of the sea- son will be held by the American Friends of the Hebrew University on Sunday morning, at 10 a.m., in Juniors Restaurant, according to Jack S. Popick, president of the group. In addition to plans for parlor meetings to be held during the forthcoming visit of Dr. Moshe Prywes, coordinator of the medi- cal, dental and pharmaceutical fac- ulties of the Hebrew University, Popick will announce scheduled dates for the groundbreaking and dedication ceremonies planned for the Ruth and Jack Popick Miami Humanities Building soon to be erected on the Jerusalem campus of the Hebrew University Attorneys Talk On Legal Equality "Rich or Poor: Equality Before the Law," will be the topic of the People Speak Town Hall Forums on Friday, 8 p.m., in Washington Federal. 1234 Washington Ave. The panelists, all attorneys on the Economic Opportunity Pro- gram legal service, are Howard Dixon, Joseph Segor," and Donald Castor. Chaim Rose will preside. Ques- tion period follows. Wagner to Head Beth Raphael Abe Wagner was installed this week as new president of Temple Beth Raphael, 1575 Jefferson Ave. Former Miami Beach Mayor Kenneth Oka was installing offi- cer. Others installed were Max .1 Affachiner, first vice president. Sam Siegel, second vice president; Sol Podolsky, financial secretary I. Rosenberg, recording secretary; and Sam Huessin, treasurer. Joseph Lovy was named execu tive director. Pofsy Board fleets New members elected to the board of directors of United .Cere- bral Palsy. Association of Miami are Jerry Toffler. 6815 Maynada Ave Coral Gables; Robert G. Ven.. of Snapper Creek; David S. Minton. Sears Roebuck & Co.; Joseph Kaplan. 112 E. st Ct., Hibis- cus Island; and W. E. Johnson, of Hialeah. II Bazaar Luncheon For Sisterhood Sisterhood of Temple Ner Tam- id is planning a bazaar luncheon on Tuesday noon in Sklar Audi- torium. Admission is by contribu- tion of saleable merchandise, vhich will be sold at the Sister- hood Bazaar in February. Reservations may be made with the temple office or with chair men, Mrs. Sol Dwork and Mrs Yvette Silberger. Proceeds will help subsidize the Religious School. Menorah Enrolls 135 New Families A record 135 new families will be feted at lale Friday services conducted by Rabbi Mayer Abram- owitz at Temple Menorah, and will be honored at the Oneg Shabbat following the service. Hubert Ponter, of Rhodesia, will respond for the new members, and fiis. Joel Grossman will make the blessings over the candles and open the service with the medita- tion. Of the 135 new families, 82 have enrolled their children in various departments of the temple Religious School. Miami Rabbis Talk About Books "Religion in Our Age as Reflect- ed by Florida Authors" was to be discussed by Rabbi Herbert Baum- gard, author of "Judaism and Prayer." and Rabbi Sol Landau, author of "Length of Our Days." at the City of Miami Public Library on Thursday at 8:30 p.m. Louis Schwartzman. executive director of the Bureau of Jewish Education, was to serve as mod- erator. Ruby Fogel I^vkoff was to read from her book. "Of Apes and Angels and Other Poems." Rabbi Baumgard has been th spiritual leader of Temple Beth Am for the past ten years. RaNii Landau is spiritual leader of Beth David Congregation. Pallot to Attend Meet E. Albert Pallot. international vice president of B'nai B'rith. will I attend the annual board of gov- | ernors meeting Dec. 3 to 6 in Washington, D.C. Pallot accepted ' the international post at ceremon- ies in Israel last year and has been ; active in the fraternal organization for over 25 years. Dr. William Wexler (left), president of B'nai B'rith, continue* his organization's 123-year-old tradition of assisting disaster victims by presenting Ambassador Turgot Menemencioglu in Washington with B'nai B'rith's contribution to Turkey's emer- gency relief fund for victims of a recent earthquake. First B'nai B'rith relief efforts, in 1865. aided Jewish colonists in Palestine stricken by a cholera epidemic. K J rnnmr I in TOCC Friday, December 2. 1966 * knist nrrSdHimri Paqe 15-B URGES ESTABLISHMENT OF 'HEALTHY SPIRITUAL BRIDGE' Rumania Chief Rabbi at UOJC Meet By Special Report NEW YORK Dr. Moses Ros- en, Chief Rabbi of Rumania, was a featured guest speaker at the 68th anniversary national biennial con- vention of the-Jnion or Orthodox Jewish Congregations of America being held Nov. 23 to 27 at the Shoreham Hotel in Washington, DC. Dr. Rosen, who has accepted an invitation to come to the United Slates to address the UOJCA con clave, spoke at one of several sessions devoted to issues affect- ing Jewish communities through- out the world. The convention sessions fo- cused on creative approaches to the major issues affecting Amer- ican and world Jewish life and on the role of Jewry in the worldwide quest for peace and security and the struggle against poverty, injustice and other problems confronting mankind. DR. mOStS ROSEN Addressing the dinner session of i the 68th anniversary national biennial convention of the UOJCA, Dr. Rosen also asked that his in-: vitation be transmitted to the | Conference of European Rabbis' and to the associated religious na tional organialions with which the UOJCA and the Rabbinical Coun- ci* of America are affiliated.: Harold Jacobs, vice president of' the UOCJA. announced that his or- ganiiation had formality accepted Rabbi Rosen's invitation. Dr. Rosen, who is also .president of the Federation of Rumanian Jewish Communities, invited the rabbinic and lay leaders to meet in February. 1967, in Bucharest. He stressed that such a confer- ence in Rumania would be im-; portant in bringing about a closer association and understand ing between the Jewish com- j munities in the West and those in Eastern Europe. "The participation of import- j ant rabbinic and synagogues leaders in the deliberations of this conference will go a long way towards establishing a healthy spiritual bridge between the Jewish communities of East and West," Dr. Rosen told the ganlzation's president for the last 12 years, voiced disagreement wil . leaders of other Jewish religion, organizations who have taken strong position against the war i I Viet Nam. The position of the UOJCA was set forth on issues of America i society such as civil rights, Kegn- Jewish relations, moral slatidan s and business ethics. Some 2,000 delegates attende; the fiveday conference of tl UOJCA, the national organizalk) \ serving 3,100 Jewish congregation - throughout the United States an Canada. The convention ws* the largest multiple-day assem- blage of Orthodox Jews in Anie ican history. LEGAL NOTICE B'nai B'rith Martyrs' Memorial Set By Special Report WASHINGTON B'nai B'rith announced plans this week to erect a 35-ft. memorial to Jewish mar- tyrs of the Nazi holocaust on a Judean hilltop overlooking the entrance to Jerusalem. The bronze monument, designed by sculptor Nathan Rapoport in the form of two Torah scroll seg- ments, will be the central point of a 500,000-tree section of the B'nai B'rith Martyrs' Forest in Israel. The segments will be engraved to depict symbolically the history of Kuropean Jewry from pre-war days through the Nazi era. The monument, on its hilltop site, will be a landmark to trav- elers on the principal highway leading into the Israeli sector of Jerusalem. The $150,000 project, to be com- pleted by 1970, was adopted last week at the annual meeting of the B'nai B'rith Commission on Israel. The 500.000 trees surrounding it will be a companion forest ad- joining a similar project com- pleted by B'nai B'rith in 1964. More than 170,000 saplings of the new section have already been planted. A smaller version of the monu- ment was rejected by the New York City Art Commission in February, 1965 in a controversial decision over a proposed memorial I hat several Jewish groups offered '<) sponsor in the city's Riverside Park. At that time, a member of the commission opposed the design as excessively and unnecessarily large." Another objection was that the theme of the memorial, since it did not interpret American his- tory, was inappropriate for a mu- nicipal park and could open the way for other religious and eth- nic groups to ask for public land to establish memorials of their own. Samuel Levltsky, of Philadel- phia, chairman of the B'nai B'rith Commission, said that he and his colleagues had approved the Rapoport design as "a styl- istically Impressive and dram- atic symbol of Jewish remem- brance." Rapoport, who attended the meeting of the B'nai B'rith Com- mission, said that the monument would first be cast in hundreds of small pieces, then welded together. The 55-year-old, Warsaw born sculptor, who now lives and works in New York, is the creator of a number of famous ghetto mem- orials. Model of a 35-ft. bronze memorial to Jewish martyrs of the Nazi holocaust which B'nai B'rith plans to erect on a Judean hilltop overlooking the entrance to Jerusalem. Designed by sculptor Nathan Rapoport in the form of two Torah scroll segments engraved with symbolic art depicting European Jewish life from pre-war days through the Nazi era, the $150,000 monument will be the focal point of a second 500.000- tree section of the B'nai B'rith Martyrs' Forest in Israel. 'Witch of Buchenwald1 Makes New Attempt to Receive Gov't. Pension BONN (JTA) rise Koch, who became known as the "Witch of Buchenwald" when testimony at her Nazi war crimes trial re- vealed she had ordered lamp- shades made from the skins of victims of the Buchenwald death camp, renewed this week her ap- plication for a government pen- sion. She is serving a life term for atrocities at the camp during the period when her husband, Karl, was commandant. He was shot by German troops the day before the Allies liberated the camp. Her first pension application was re- jected. She filed a complaint against the rejection, contending that she was entitled to a pension because her husband was a member of the Waffen SS, and not of the General SS. The Waf- fen SS was made up of Hitler Elite Guard members who were in active military service. The General SS comprised the men who ran the Nazi concentra- tion camps. Use Koch was sentenced to a term of life imprisonment at hard labor by an Allied court in 1947. The sentence was reduced by American occupation officials a year later to four years. After a public outcry, a new trial was held in 1950, and she received the life term she is now serving. convention. He said that Eastern Jewry must be hosts as well as guests. ."The Jewish community in Rumania," he emphasied, "is an integral part of the world Jewish community, recognizing its role and responsibilities in the religious affairs of Jewish people everywhere. -While root- ed in the Rumanian Socialist Republic, it is freely developing an independent Jewish religious and. cultural life within the framework -of the Rumanian Socialist society." He pointed out that the con- ference "could help ease the ten- sions of the cold war. In this way, Jews in different parts of tlie world might well be instrumental in carrying out the Jewish reli- gious mission of bringing peace to mankind." At another session the delegates went on record in support of Pres- J&JK? J* 'i^S^.'l ident Johnson s position on Viet Nam. The resolution stressed the determination of the U.S. Govern ment to resist Communist aggies sion anywhere in the world and declared that "a true conception of America aspirations must also encompass a continuing quest for peace." In presenting the resolu- tion to delegates, Moses I. Feur- stein who has served as the or- NOTICE UNDEK FICTITIOUS NAME LAW NOTICE IS RERKI1Y fllVKN I !> ' tin- undersigned, Centring t, engfls in business under the fictitious nami - of BTATK PROTECTION HKRYIItt I NT Kit AMERICAN IR'SIN'MSH AOBNCY, :it I"" s. Blscnyne BWrt , First National Bank of Miami UMa Miami, Fla. 33131, Intends to netrtcr said name* with the Clerk of n Circuit Court of Dade County, Flo - Ida. JOHN \\ ADAMS 802 lilsca) no liulMInu 12 2-0 i Art Lectures Held at Beth Am The Art Committee of Temple Beth Am, co-chaired by Edward Grad and Mrs. Abraham Turoff. presented the first in its series of lectures on Wednesday evening in the Adult Education Room of the temple. Josh Kligerman lectured on "Random Thoughts on Art Collect- ing" and showed slides. Director of the Gulf American Collectors Gallery, Kligerman's experience includes the organiza- tion of an Art Center in Atlantic City, the arrangement of exhibi- tions and managing galleries. An artist himself, he did graphics with the Workshop of Graphic Arts in Mexico. NOTICE UNDER FICTITIOUS NAME LAW NOTICE IS HEREBY lilVEN thit the undersigned, desiring t< enguitg in business unili-r the fictitious nan - of ROYAL HOTEL A PROPERTIES .ii .".:::.' North Miami Ave., Mian Florida, Intends to register said nan - with the Clerk of the Circuit Court C Dade County, Florida .11' i'V, INC., a Florida Corporatloi Hl'ClENE I.KMLH'H Attorney for II" CY, Inc. ^:ii:. w. Flagler Hi .Miami. Pte, 12 2-9-16-23 BB Social Singles Plan 2 Affairs B'nai B'rith Social Singles will | hold a night club show with danc- ing to a live band on Saturday night at the Barcelona Hotel. Also on the calendar is the club's New Year's Eve dance and supper slated for the night of Dec. 31 at the Saxony Hotel. In charge of tickets is Mae Blum. IN THE COUNTY JUDGE'S COURT IN AND FOR DADE COUNTY. FLORIDA. IN PROBATE No. 71953-B 111 RE: Estate of Tossn: MAE LAWRENCE a k II MAXIM: t.AWIIKM K n/k-H MRH, John .-. LAWRENl ! I> reused. NOTICE TO CREDITORS To All "i i illtoiw and All I rson l Having Claims or Demands Again-t s.ilil Estate: Yi.ii are hereby notified and r. - oulred tn present any claims ar demands which you may have again*!'. il.....state ..: TONS1E MAE LAW HENCE ii h H MANINK LAWRENC .' a/k/n MRS. John C. LAWRENCE leceused late < Dade. County, Flo Ida, i" tIi.- County Judges of Dajrie County, and rile the same in dunli rate and as provided in Section i Florida Statutes, in their offices I the County Courthouse in Dado County, Florida, within six calendar months from tin time "f the first iiuiilicaiic.il hereof, or the same will in. barred. Dated at Miami, Florida, this SI . da) of November, A.l>. 1966. HARRY B. SMITH As Administrator Plrsl publication of this notli.....; the 2nd day of December, 1966. SAMUEL 8. SMITH Attorney for Administrator la, Lincoln Road IS Z-9-36.. V-' o i / n .i r i e 3 WELLISCH UNA LAURA, 84, of 3661.SW SSrd Ti r., dlt'd Nov. SS. S*h cann* hi re 26 years ago from Vienna, Austria. Survivors Include her husbaml. Sam- uel: two sons, Kurt Wellisch of Coral Cables, Heinz Welllwh of Mi- ami; anil four grandchildren, Serv- ices wire held Nov. JO at Dordon Mineral Home with Interment in Mt. .Who (".in. t. rj POTRUCH, Mrs. Ann, :.9, of B380 Carlyle Ave died Nov. 28. River- side. SANDS. Mark. 66. Of TMM k. Treas- ure Dr., iiiiii Nov. 27. Gordon, weiss, Louis, (6, of 1320 Carlyle Ave., died N"v. l>7 Services in New Vi.rk City. Riverside. BURNS. Ueorge Michael, fia. of 17.1 XB 20th St., Boca Raton, iiii'il Nov. L'ti Riverside. KATZER, Harry i: 80, "f 1037 Mich- igan Ave., died Nov. 24. Riverside. LIEBOVITZ. Jacob', 72, of 128 Collins Ave., died Nov. 247 Services In Chi- cago, Khi'isiii. GOLDBERG, Samuel I... of ...... Weal Ave., died Nov. 21 Riverside. PRAVITZ. Mrs Dora, 74, of in:, West Ave., died Not 24. Services in New York Cits R ,'erslrie ADRIAN, Mas P., ,,f 2744 BW ::ith ci., died Nov. 23 Riverside. GREEN. Robert, .".7. of 171" Alton ltd., li.-il Nov. 23. Riverside. SHAP'RO Ellas IAIIIp) 7",. .,f 7......' Bonita Dr., died Nqv. 23, Services in New Vork City. Riverside, adelman. Mrs. Sarah, B0, of 1219 Euclid Ave. died Nov. 21. Services in Boston. Riverside. SCHWARTZ. Ruth. .".!. of 413 Alml- tuir, died Nov. :';'. Riverside. IN THE COUNTY JUDGES COURT IN AND FOR DADE COUNTY, FLORIDA, IN PROBATE No. 72995 in RE: Estate of INEZ Q, R1CHMANN I i. is.-il. NOTICE TO CREDITORS Ta All Creditors and All i rsoi I Having claims or Demands Against sain I.state: ITou are hereby notified and ri - 'iniii'il ti, present an) claims and demands which you may have agaio* the estate of INEZ U. RICHMA.NN ......i late "i l Hide Count). Floi Ida, t" the Count) Judgos of Dnil.- County, and file the same In dupl call and us provided in Section 733.lv. M'.iMa Statutes, in their offices i the i 'ounty i U>ui thouse in I lail County, Florida, within six laliiula- months from the tima ol the first I Ion hen of, or tin* bh m, n be barred. Dated al Miami, Florida, this 3 . da) il Noventber, a.m. 1966. J. CA43PER UEYER As ESxecutor First publication of this notice -. the 2nd day of December, 1966, MANUEL LUBBL Attorney for Exeoutor 101 Hast Flagler Street ___________________I2/2-9-16-2J} IN THE COUNTY JUDGES COUR- IN AND FOR DADE COUNTY, FLORIDA, IN PROBATE No. 72904- B in RE: Estate of ; l'.\ II. OROW, Deceased. NOTICE TO CREDITORS I'" All Creditors and All Persons ii.iMnt Claims or Demands Againsc Said Estate: you an- hereby notified and re. quired to present any .ilalms an demands which you imv have agalpsr the .stale ol PAIUi OROW, ili-.-,.,-. late of Dade County, Florida, to 11 County Judges of Dade County, and rile tin- same in duplicate ami as pro- vided In Section 733.16, Florla Stai utes, In their offlpei n the Count} Courthouse In Dade C......tv. Florida within six calendar months from tii i time of iln first pHbUogtlon hercol or the same will be Barred Dated ,u Miami. Hlorida, this :':ii- da) ol November, A.D. 1966 JOSH i;i:i'iii.\ As Exec He r First publication of this notice .. the 2nd day i.r December, 1966 JOSH ItKI'lll'.V Attorne) for Rx< cutor 1370 Washington \\enue 12 2-9-16-23 Page 16-B fjewisti flcrkiiair Friday, December 2, 1968 OUR ONLY "GAME" IS TO FOOD FAIR DELICATESSEN AVAILABLE AT STORES HAVINO APPETIZER DEPARTMENTS Corned Beef LOW, LOW PRICES EFFECTIVE THRU SATURDAY AT ALL FOOD FAIR 8. FREDERICKS STORES! (EXCLUDING KOSHER MARKETS) QUANTITY RIGHTS RESERVED 'ptetA fruMt t&e Ocean! FLORIDA MACKEREL DELICIOUS LEAN Va LB. Save 40< LB. BELLY LOX FRESH CAUGHT 29 FRESHLY SMOKED ib Save I Merchnt\ j k-4. CftrCM STAMPS jttftjUt THE FINEST NAME BRAND GIFTS IN THE GREATEST VARIETY AWAIT YOUR CHOICE Save ___ __ 40< LB. %LB. STORE SLICED TO iNSURi FRf SHNES SAVE 40< LB. FRESHLY SMOKED Large White!ish lb SAVE 40< LB. DELICIOUS Chopped Liver 99 .'? ,Vi LB. FRANKS KNOCKS l-LB. PKG. X S MASTERS DELICIOUS ' YOGURT ALL 1 WWII I FLAVORS M CUPS PLAIN YOGURT 16-OZ. CUP 25< STOCK-UP & SAVE AT OUR M&&ty& SALE NOW GOING ON! LIBBYS YELLOW CLING PEACHES HALVES or SLICED 4 29-OZ. CANS $ JUNIORS DELICIOUS 24-OZ. .......... JAR MADE WIT HRESH EGGS, SOUR CREAM & A ZIP OF LEMON JUICE FOOD FAIR CREAMED l-LB. CUP FOOD FAIK CKtAMtU l-LB. t-UK Cottage CheeseZV i U.S. NO. 1 LARGE WHITE POTATOES 20 89 LIMIT ONE CAN, EITHER BRAND/PLEASE, WITH OTHER PURCHASES Of $5 OR MORE S FOLGER'S COFFEE ...... ......,. .#' FOOD FAIR COFFEE all grinds i~lb. can l-LB. CAN 49 39' l>_ rnnmr iMnMharin 10CR "eJewish Floridian Miami, Florida, Friday, December 2, 1966 Section C Greater Miami Armed Services Group And YMHA Honor Jewish War Vets Installation breakfast for the newly-elected oificers of the Young Judaea groups, Senior, "ntermediate and Junior, was held in Sklar Auditorium recently. Josh Rephun, member of the Young Judaea Youith Commission, wrought greetings from the Greater Miami Young Judaea membership, and Sam Pearl- man, Ner Tamid Youth Commission chair- man, welcomed children with their parents. Rabbi Eugene Labovitz, spiritual leader of the temple, installed the newly-elected officers. Front row (left to right) are Karen Rosenfeld, junior vice president; Debbie Goodman, junior secretary; Peter Farbman, intermediate third vice president; Richard Prager, intermediate president; Michael Wolland, intermediate vice president; William Nankin, intermediate treas- urer; Jay Pecrlman, junior treasurer; Robert Goodman, junior president. Back row (left to right) are Rephun, member of Young Judaea Youth Commission; Teddy Eorkan, senior treasurer; Barry Schimler, senior secretary; Michael Lynn, intermediate second vice pres- ident; Lloyd Sieqendorf, senior president; Bruce Richman, educational director of Tem- ple Ner Tamid; Linda Klein, senior vice pres- ident of membership; Liza Breslaw, intermedi- ate recording secretary; Marcia Posin, inter- mediate corresponding secretary; and Mr. Pearlman. Toys and games collected by the Greater Miami Section, Na- tional Council of Jewish Women, as part of its Ship-A-Box program last Chanuka, are now in use at the Morich School under the direction of Jacob Lanery, of Ashkelon. Kindergar- ten and nursery schools throughout Israel are also recipients of these toys, such as tea sets, dolls, balls, kitchen stoves, crayons and paints. On Nov. 20 and 27, this year's Ship-a- Box program was conducted in temples and religious schools in Miami. All costs of packing and shippinq are paid by the Greater Miami Section, National Council of Jewish Women. Mrs. Edward Oppenheim is Section president, and Mrs. Max Fuchs Is Section Ship-a-Box chairman. Mesdames Irving El- sen, Jack Primack, Al Berkowitz, Charles Serkin, Ethel Gold- stein, Michael Morcan and Robert Siegel are chairmen of their respective divisions. ____________ Jews Seek Funds For Day Schools Rabbi Caplan Explains Three Big Observances Sky Lake Synagogue of North Miami Beach marked three an- nual Jewish observances with a program to celebrate Jewish Book Month. United Nations Day, and Palestine Day. Festivities were held on Tuesday, Nov. 29, at 8:30 p.m. Rabbi Jonah E. Caplan, spiritual leader of the congregation, ex- plained the meetings of thes ob- servances. Highlight of the evening will be a review of "Justice in Jerusalem," a book by Gideon Hausner. Rabbi Berel Wein. of Congregation Beth Israel, Miami Beach, was the reviewer. A new slate of officers was presented by Mrs. Stanley Kestin, chairman of the nominations com- mittee. Serving with Mrs. Kestin are Mrs. Norman Lieberman, Mrs. Irvjng Laufer, Mrs. Harry Moro- vitz, Mrs. Howard Roskin, and Mrs. Daniel P. Tunick. NEW YORK (JTA) The i New York City Board of Educa- j lion was urged to allocate funds j immediately to help pupils in the | city's Hebrew day schools, as pro- vided by the Federal Elementary and Secondary Education Act of 1965. While the legislation pro- vides funds for remedial and en- richment programs for both public and non-public school children, the Board has not yet passed on the allocations to parochial school children m New York. Such grants are opposed by some Jewish and non-Jewish groups. In a joint statement, Rabbi Pes- ach Z. Levovitz, president of the Rabbinical Council of America, and Moses I. Feuerstein, president of the Union of Orthodox Jewish Congregations of America, said that delay in granting the funds "may make it impossible to Imple- ment the program for the coming year." Any delay in granting the Federal funds, the statement de- clared, "would prove an irrepar- able damage for hundreds of thous- ands of youngsters in New York City, and will advrsely affect their future." Both Orthodox Jewish leaders stressed that their groups are "traditionally opposed" to Federal aid and involvement in religious schools. But they maintained that the present law "is in full con- sonance with the separation of church and state." Greater Miami Armed Services Committee, in conjunction with the Greater Miami YM and WHA, paid tribute to Jewish War Vet- erans and other organizations for their work and support in the Armed Services Program at a spe- cial tribute luncheon at the YMHA, 8500 SW 8th St., last week. Keynote speaker was Ben Stern- berg, director of the National Jewish Welfare Board Armed Service. Sternbcrg came to Miami from New York specifically to make the awards presentation. The Armed Services Committee of Greater Miami, under the chair- manship of Mrs. Louis Glasscr, honored the following Jewish or- ganizations of the community: Temple Judea Sisterhood. Na- tional Council of Jewish Women's Greater Miami Section, Beth Tfi- lah Congregation, Miami Beach Chapter of Hadassah. American Jewish Congress Florida Worn- en's Division. Temple Ner Tamid Sisterhood, Temple Ner Tamid, Temple Israel of Greater Miami, Temple Or Olom Sisterhood, Tem- ple Mcnorah Sisterhood, Beth El Congregation, Jewish Home for the Aged Miami Auxiliary, Temple . Beth Moshe Sisterhood. Torah Group of Hadassah, B'nai B'rith Sholem Lodge, Sisterhood of Tem- ple Emanu-El, Temple Beth Sho lem Sisterhood, Pioneer Women's Greater Miami Council. These organizations have pro- vided religious, cultural and rec- reational services for Jewish men and their families in the Armed services who are currently sta- 1 tioned at the Homestead Air Force 1 Base. Special tribute was paid to the i Jewish War Veterans "for their ', outstanding program of service ! provided for the men in uniform ! during the past year." Special awards were given to ! Jack Gordon, of Washington Fcd- ! eral Savings and Ix>an Association, and to Michael Schechter, of the Jewish War Veterans. All Jewish War Veteran post commanders and women's auxili- ary presidents received honors for their active participation. Included in this group are past State Commander Jack Berman. present State Commander Mr. Irv- ing Cooperman, past Women's Auxiliary State President Mrs. Irving Cooperman, and present Women's Auxiliary State Pres- ident Mrs. Sofie Lee. BIN STIRNBtRG Eisenstein On Boxing Board Of Miami Beach Leo Eisenstein, Miami Beach businessman and realtor, has been elected chairman of the Miami Beach Boxing Commission. His term ''ill run through September of 1967. Eisenstein was appointed to the Commission last September. He has been a Beach resident for the past 32 years, and has served as president of the Miami Beach Realty Board, B'nai B'rith, and the Miami Beach Zoning Board for 16 years and was a member of the original Auditorium and Con- vention Hall Advisory Boards. He also served as a member of Exchange Club. Chanuka Party Workshop Slated "Significance of Chanuka To- day" was the topic of discussion at a Chanuka Party Workshop for adults on Monday, 8 p.m., at the YM and WHA of Greater Miami. The Workshop, sponsored by the Adult Division of the "Y" and PTA of the Early Childhood Develop- ment Program, emphasized the songs, dramatics, arts and crafts, and special holiday foods. In charge of information wer Miriam Scheinberg and Jeannptte B. Schwartz. Balabans Co-Chair Van Cliburn Concert Dec. 13 Judge and Mrs. Henry R.ilaban, i both active in civic and fraternal organizations for many years, and particularly for Variety Children's Hospital, have been appointed co- chairmen of "An Evening with Van Cliburn," a Variety benefit on Dec. 13 at the Deauville Hotel. The black-tie affair will include a reception, banquet and piano re- cital by the renowned virtuoso, who has appeared on concert stages throughout the world and has become a recording legend in recent years. The circuit court judge and his wife have announced that "the sole purpose of the Van Cliburn event is to raise funds for Variety Children's Hospital to meet the annual free-care deficit of some $700,000 annually. "This represents the cost of giv- ing free medical treatment to more than 60,000 sick youngsters in the 21 clinics of Variety's Out- patient Department." Judge Henry and Mrs. Balaban are co-chairmen of the Van Cliburn benefit banquet concert for Variety Children's Hos- pital on Dec. 13 at the Deauville Hotel. Page 2-C vJentet: Fforidlfon Friday, December 2, 1 966 VA Supervisor Marks 25 Years Children consecrated at Temple Zicn recently are bottom row (left to right). Iris Oaken. Stev- en Beiser, Robert Feldman, David Bush, Steven Colsky, Arthur Pascal, Brian Matlin. Middle row (left to right )aie Frank Katz, Mark Topp, Solomon Rosen, Irl Marcus, Jeff Froug, Steve Singer, Barry Brazer, Jay Weisman. Top row (left to right) are Louis Oaken, Mike Cohen, Beth Drexler, Risia Topp, Robert Drexler, William Press. Completion of its major project in three years since its organ- ization sees donation by the North Miami Beach Auxiliary of the Jewish Home for the Aged of ten wheelchairs for use by residents of the Home. Here Mrs. Ida Gross, a resident at the Home, is comfortable in one of the chairs, as current Auxil- iary president Mrs. Leah Wenig (left), looks on, with Mrs. Sara Gordon, president of the Auxiliary, during the major portion of the wheelchair fund drive. Rabbi Stern To Attend Mizrachi N.Y. Conclave The Religious Zionist Organiza- tion of America will hold its 59th annual convention at the Promen- ] ade Hotel in Long Island, N.Y., [ through Dec. 4. Rabbi Tibor H. Stern, spiritual leader of the Jacob C. Cohen Com- munity Synagogue, and chairman of the Southeastern Region ZOA,. will serve as chairman of the Tor-' ah session to be held on Dec. 3, according to Rabbi David Hill, convention chairman. Among the over 1,000 dele- gates expected at the conclave will be the Ambassador from the State of Israel to the United States, Michael Comay; Dr. Jos- eph B. Soloveitchik, of Boston; and the Minister of the Interior of Israel, Chaim Shapiro. Local Mizrachi group will ob- serve the Chai anniversary dinner at the Deauville Hotel on Sundav. Dec. 18. While in New York, Rabbi Stern will attend the annual ban- ; quet of Beth Midrach Gehova, of j Lakewood, N.J., where he will ac I cept a plaque in behalf of Jacob | C. Cohen, president and founder of the synagogue witch bears his name. Bob Melion. supervisor of the out-patient administration section of the Veteran's Administration Hospital, ("oral Gables, will receive recognition later this month for 25 years of government service. Melion. a resident of Miami since 1946, helped establish the VA Regional Office here at Din- ner Key in the same year. Dinner Key is the present site of City j Hall. Born in Vienna, Austria, Mel- { ion came to this country in April, 1940. On Oct. 6, 1941, he was drafted into the Army Air Force. He left the service as staff sergeant on Nov. 15, 1945. Melion received citizenship in 1942 while on active military duty in Tampa. His service with VA began in December. 1945. He lives with his wife, miu. and daughter, Debbie, at 1504 S\V 102nd Ave. Another daughter I.mdy, is a teacher at Miami Park Senior High School A 25-year service pin and , tificate will mark his dutv com pleted until Nov. 6. ' Weight Watchers Course Given A highlight of the luncheon and card party being sponsored bj the Junior Auxiliary. Jewish Home for the Aged here recently was the gift of a Weight Watcher; course Held at the Deauville Hotel! reservations chairmen of the af- fair were Mrs. Larry Levey and Miss Rena Stein. President of the grouii is m,Si Gladys Israel. Sbs Beach Student Receives Award Richard Miller, 10, a fifth grad- er at Solomon Schecter Day School, who is "Mr. Fixit" around his home,1 has received a merit award from the Dairy- Co u n c i 1 of South Florida. Son of Mrs. Glorida Miller. 9273 Caryle Ave., Surfside, he has been with the Re- creation ichorJ Miller Depart- ment parks program since first grade and is described as a boy 'with a good sense of humor who does not always win but knows how to lose." He plays football in the 75 lb. Optimist Football League and Little League baseball. The Dairy Council has a con- tinuing program to honor meritori- ous young people in Dade County. Cotillion Classes At Beth David There are still openings for co- tillion lessons being held at Beth David on Sunday evenings, ac- cording to Mrs Seymour Kaplan. Sisterhood president, and Mrs. Leonard Adler. chairman. Classes are under the direction of Mrs. Peggy Logan, and meet [ from 7 to 8:10 p.m.. for sixth I grade students, and from 8:20 to j 9:30 p.m., for seventh and eighth ! grade students. Enrollment may be made at the synagogue, and is open to the public. THE BISCAYII TERRACE 340 Biscayne Boulevard Miami, Florida FACING BISCAYNE BAY 'WHERE THE STARS AND HIAVCN JOIN TOUR rfSTIVIWS" AT THE BEAUTIFUL NEWLY DECORATED ft ENLARG(t) STARLIGHT HAIXROOM SEATING UP TO 400 ir WEDDINGS ir CONFIRMATIONS * BANQUETS RECEPTIONS ir LUNCHEONS MEETINGS CATERING Strictly Kothrr facilities Available Under Supervision of RABBI TIBOR H. STERN CALL Miss SHIRLEY, Catering Manager, FR 9-3792 # f Have thai i Meeting, #J* * if # Banquet, or Special Occasion You'll find complete facilities to exactly satisfy your needs in the Kismet, Aladdin, Scheherazade and Rubaiyat Rooms, be it for a wedding or a private party I It th & i * * faiicrs * for Information! HAZEL ALLISON Catering Director, JE 1-6061 SSth St. A Collins AWo. ^uHuy. iSBCvii'umi i., 1000 + Jew I si) Meridian rage MAKES TOP MARK IN FINANCIAL WORLD Dr. Irving E. Muskat, chair- man of the Inter-American j+ Center Authority, said that Congress has approved an appropriation bill to finance the U.S. exhibit at the Inter- American Cultural and Trade Center (Interama) in Miami. The S5.87 million approved by Congress will be used to finance the federal exhibit in the U.S. Pavilion, Dr. Mus- kat declared. Tribute Paid To Hemophilia Group Founder John Walsh, vice president and director of the National Homo philia Foundation, attended a spe- cial memorial meeting held by the Miami Beach Auxiliary Chapter to pay tribute to its late founder president, Mrs. Delia Delancy. Walsh praised Mrs. Delancy't dedication and achievements, and suggested renaming the Auxiliary to Delia Delancy Chapter of the i,' National Hemophilia Foundation to "perpetuate her name." Mrs. Ellen Wynne, regional president, spoke on the care of hemophiliacs. Auxiliary' appointed Mrs. Leah Udell as acting president. She an- nounced that the Auxiliary would continue its function of fund-rais- ing for research and procurement of blood for needy sufferers. Joint Thanksgiving Services Community Thanksgiving serv- ices were held at Temple Emanu- El, Ft. Lauderdale, jointly with Temple Beth El, Hollywood, on Wednesday at 8 p.m. TELL THEM ABOUT ELCOME #|*tt WAGON If you know of family who hai kilt arrived In your community, be sura to tell them about Welcome Wagon. They will be delighted with the basket ot gilts end helpful Information they will receive from our hostess, a symbol of the com- munity's traditional hospitality. Or you may all a 443-2526 "j Please have the Welcome Wagon Hostess call on me. H I would like to subscribe H The Jewish Floridian. Fill out coupon and mall to Circulation Dept., M.P.O. Bex 2973, Miomi, Flo. Miamian Gains National Recognition By RANDY FUHR It's not hard for Myron S. Zeientz to hold both a command- ing role at his concern and in the community. Zeientz. a pioneer Miamian, was recently appointed national vice president of Bache and Co., a worldwide securities exchange. The 53 year old executive speaks a language familiar to the market investor, small and lar.ge. Employees respect his in- sights when he talks about "sell- ing short" or "buying on mar- gin." At a touch of his fingers, the world of securities comes into view. In his office, he uses a tele- register a small, inclined box with code buttons on it. Instant Quotes It looks something like an add- ing machine. He presses two or three of the buttons, a screen lights up, and he instantly reads the lat- st quotation on any security. Zeientz entered the business world in 1933. when he became a joard marker for Hcntz & Co., ol Miami, members of the New York Stock Exchange. In 1938, he joined Tache in Miami as a salesman. Today, as national vice presi dent of Bache, he has come a loni way. He smokes a pipe and relaxc; in his black executive's easy chair waiting to aid the many investors small and large, who seek his as sistance and knowledge. Born in New York City in 1912, Zeientz. left the bvj city for Miami, when he was nine years old. In 1930, he graduated from Miami Senior High School, and later attended New York Univer- sity. He's been a resident of Surfside since 1950. jnterfaith Party Seeks Better Ties LONDON (JTA) A Chris- tian-Jewish "consultation" held by 70 Protestants, Catholics and Jews at Newnham College of Cambridge University called upon both Cath- olice and Protestants here to fol- low through on the decisions to improve Christian-Jewish relations. The participants in the week long parley called attention of the Catholic Church to its Vatican Council declaration condemning hatred and persecution of Jews and anti-Semitism in general. A resolution adopted by the partici- pants requested the Catholic Church to issue "clear and un- ambiguous expressions of regret regarding those events in the his- tory of Christian-Jewish relation- ships which are contrary to the spirit of the document." As for the Protestants, the session noted that the World Council of Churches had shown a desire at its New Delhi assem- bly to improve relations with Jews. The consultation then call- ed on Protestants for "formula- tion and clarification of theolog- ical understanding of Christian- Jewish relationships." The conference also recommend- ed that all Christian education treat Christian-Jewish relations in the context of other group rela- tions; that use of authentic Jewish sources be encouraged in Christian education; and that more money and personnel be allocated to in- tensify Christian-Jewish dialogues. The conference also voiced con- cern over the resurgence of neo- Nazism and bigotry in some areas, pointing out that the defeat of Nazism had not ended racial and religious discrimination. The par- ley noted that, while legislation against discrimination and incite- ment to hatred could help improve relations, "no law could substitute for the initiative of citizens to re- sist vigorously against all attempts to undermine the democratic structure of society." MYRON ZEIENTZ pioneer Miamian His role in the community In eludes serving on the South Flor- ida Council Boy Scout Advisory Board, a position he has held for 10 years; lormer councilman of Surfside, from 1951 to 1952; for- mer member of the Surfside Plan- ning and Zoning Board, and Per- sonal Appeals Board: and former, chief, and now assistant chief of the Sufside Volunteer Fire Depart- ment. 'I've served as a member of the board at Temple Israel of Miami, and as president of the Bayshore Service Club," Zeientz said. In ad dition. he is a member of Sholem Lodge of B'nai B'rith, and a parti cipant on the board of directors of the Miami Security Dealers Asso- ciation. loves Trove/ Zeientz loves to travel parti- cularly on freighte-s. "Two years ago. on our 25th wedding anniver- sary," he recalled, "my wife and I left for the Dutch West Indies on a freighter. We especially like the peace and quiet this kind of travel- ing has to offer.'' The financial executive has sailed on freighters to New Or- leans, around the Keys, and on- ward to New York. In addition, he collects stamps.! gardens around the house, and fishes "when I can find the time." He will boast his sailfish catch at the drop of a lure. He is married to the former I Tar-1 . riet Kahn. and his father-in-law ' was well-known in Miami in the real estate investment field. He and his wife have two daughters, Judy 19. and married Susan 24. Judy is a sophomore in nursing at the University of Miami, and Susan is ;i registered nurse. The Market Today Securities today? "The disap- pearance of human board markers; is only one of the major changes in the market today. In this age, industry tends to locate near large universities. "For South Florida, this ran spell the development of a good deal of light industry in the fu- ture we're simply too far away from raw materials for the reloca- tion of the larger industrial enter- prises." In Zeientz' view, "investors nowadays must show their op- timism when they trade on the market the country should not be Mild short." True to his own advice, Zeientz declares optimistically: "There's more change brewing a kind of return to normalcy. The last month has seen the rise in sales of blue chips over specu- lative glamour issues." Himself. Myron Zeientz is a symbol of the blue chip the man rooted in his community. Get personal. Have all your gifts initialed VO. this yean Known by the company it keeps Seagram's V.O. Canadian UAGNIFICCNTLY GIFTWRAPPEO AT NO EXTRA COST. CANADIAN WHISKY-* BUND Of SELECTED WHISKIES. SIX YE*KS 010. 66 8 PROOF. SEAGRAM OlSTIltERS CO. Y.C. Fcge4-C 9-JewlsMcrMton Friday, December 2,1966 J i i i e c s t r i < t i 1 i b \ i: C T J r d t a t i: r r i t c * a f AJCong. Names Duo Laureates At N.Y. Dinner By Special Report S. Supreme'Court Justice Abe ft.'tas and Frank Abrams, of New I Yc rk, nationally prominent Jewish | t: nmunal leaders, have been Denied the 1966 laureates of the Stephen S. Wise Award of the A.rierican Jewish Congress. The awards were presented at a ner recently in the l'laza Hotel it New York. Justice Fortas was honored anting human freedom." for Abrams, who is the national treasurer of the American Jew- ish Congress, was cited "for s'rengthening Jewish life." ^abbi Arthur J. I.elyveld. of Cleveland, O., president of the A.r.erican Jewish Congress, pre- sented the award to Justice For t. - Samuel J. Levy, of White Plains, N V., an industrialist and civic 1-sder. presented the award to A rams. The annual awards, established ir 1949. are named for the late Ribbi Wise, founder and long-time resident of the American Jewish C< ngress. Shad Polier, of New York, chairman of the National Gov- t-ning Council of the Congress, >s ho was the dinner chairman, r.oted that the annual awards tr presented to persons, organ- izations and institutions "whose -oral courage and love of lib- erty exemplify the tradition of Rabbi Wise and the teachings of the Jewish heritage." Last year"s laureates were Am- I -sador Arthur J. Goldberg. Sam- lie! J Bronfman, of Montreal, and v ii roe Goldwater. of New York. Previous winners have included : mer President Harry S. Tru- r an. former Israel Prime Minis- ter David Ben-Gurion, Sen. Robert F. Kennedy, the late Adlai E. S-evenson, and others. Students who were consecrated in special services conducted by Rabbi Leon Kronish at Temple Beth Sho'.om recentlv are front row (left to right) Michael Somerstein, Jeffrey Miller, Katherine Brodie, Harry Schaefer, Suzanne Harris, Steven Hal- pert, Babette Bodin, Bruce Wilson, Mark Brooks, Michael Sand- ier, Robert Arkin and Joanne Zaiac. Second row (left to righO are David Silvers, Frederick Brownstein, Maria Sue Popkin. Doralie Chesky, Sheri Franzen, Lori Bell, Susan Klein, Richard 2-Term Courses Offered at Sinai Temple Sinai adult education program, which began here re- cently, will have two terms of 10 weeks each this year. Second session is scheduled to begin Jan. 9. Courses offered include, from 8 to 9 p.m., basic Hebrew and con- tinuing Hebrew, from 9 to 10 p.m., modern approach to the Bible, and the vocabulary of Jewish life. A coffee follows at 10 p.m. The courses are offered free to Temple Sinai members with a nominal charge for non-members. / G-Ur puAJLpaJikeA, QJbiQ(mCJL-... fW-CLjZ^eti'WJL \ PARKER 75 International ball pen in Solid Sterling Silver The look, the feel, the performance of the Parker "5 ball pen will tell him \ou have given him the finest ball pen ever made. In fact, it's guaranteed lor life with normal refill replacement. If it doesn't perform flawlessly, Parker will replace it free. All things considered... the Parker 75 International ball pen makes a very impressive gift. Stander, Howard Waxman. Joel Yasman. Third row (left to right) are Steven Teplis, Andrew Lazlo, Shepard Nevel, Daniel Ccminsky, Karen Ser, Sandra Levin, Bradley Arkin and Scot! Feder. Fourth row (left to right) are Debra Brooks. Steve Bron- stein, Earry Adler, George Luck, Jack Kline, Cindy Adler, Michael Cominsky, Abby Sussman. Rear are Anita Koppele, teacher; Felix Bertisch, Director of Education at Beth Sholom; Morcia Levin and Emily Grunwald, teachers. Scholarship Fund Launched Here A Scholarship Loan Fund has been initiated by the Greater Mi- ami Jewish Federation as a result Of the benefaction of Maurice Gusman. An active participant in Jewish romnfunal lift". Gusman has long been Involved in philanthropic endeavors. Hi' is a resident of Mi- ami Beach and a well-known busi- nessman in the Greater Miami area "Federation's Scholarship Loan Fund has already awarded one scholarship to an I :duate student presently attending the University of Miami." said Arthur S. Rosichan. executive director of the Greater Miami Jewish Fed- eration. "The Jewish grateful to Gusman roi his < bution to such a wot' h Rcuchan declared it is our tape that o hrv h-II 'ht'-twl generous footsteps so thai Fi'JeraV tion's Scholarship Fund can help more needy students In oto cam- munity." ''- -, OFFICES OF DISTINCTION by PAVLOW $-j250 gift boxt'J When you vvjni to sjv more than you can say in words. ..give j Pjr.er BARNETT'S OFFICE SUPPLIES & EQUIPMENT JOSEPH MtDOff Medoff Honored At Beth Tfilah j Sabbath Service Joseph Medoff Shabbos" Saturday honored Joseph Me during services at Beth Tfilah Cow, gregation. Rev. Jacob D. Kal nt o: Beth Tfilah, g eeted Medofi i he was escorted to the Oren Ko- desh bj Louis Merwitzer, trej er, and I Gi ienb Rabl i Joseph F. Rackov - itual leader ol Beth Tfilah the Messii ledqfl "as Incere, d< \ plaque prominently place I I Beth Tfilah marks Medoff's serv- ice during the past five years Kiddush following the Sabbath prayers honored Medoff. Office designs and furnishings direct from manufacturer - Desks, Chairs, Sofas, Credenzas, Lamps, Everything for the Office of Distinction pavinw l Interior design and apace planning. Ooen Saturday Morning *> i South PAVLOW OFFICE FURNT*u"ltr>c, 223 N.E. 59lh STREET-fAiomi 1608 WASHINGTON AVE.-M.B. 134 N.E. 1st STREET-Miami 272 VALE.MCIA-Coral Cables Phone PL 4-3457 Parkview Isle Taps Leaders Officers of Parkview Island who' will serve with President Norman Ciment are C hester Weinstock. i first vice president; John Howard., second vice president; Jack Sper- ans, third vice president and treas- urer; William Tauder, fourth vice! president; Larrj ^;^^!ol. fifth vice presid i B. Eft [orris Luck, J german '.: Seplow, W S ton Mall and A Weil, directors, ANSWERITE TELEPHONE ANSWERING SERVICE FR 3-2666 JE 8-0771 VOU GET MORE CALLS WHEN YOUR PHONE 15 ANSWERED RITE MODERATE RATES 24-HOUR SERVICE Serving IEFFERSON HIGHLAND MURRAY UNION FRANKLIN PLAZA NEWTON Friday. December 2, 1966 "knistinnriaficin Page 5C Soviet Policy Against Religious Training May Doom Judaism in Russia in 15 Years By Special Report NW^.YORK If _JJ3j Soviet Union continues its present policy of discouraging the practice and teaching of Ju.ism, within 15 years nearly three-million Russian Jews "will no longer exist as Jews." a prominent American rab- bi warned this week. In a signed article appearing in the current issue of Look Mag- azine, New York Rabbi Arthur Schneier said "the Soviet Govern- ment is making it impossible for Jewishnesa to survive." Rabbi Schneier recently vis- ited Russia as the head of the interfaith Appeal of Conscience r Foundation of New York. Along with Rabbi Schneier, on the trip were leading Protestant and Ro- man Catholic clergymen, includ- ing Dr. Harold A. Bosley, min- ister of New York's Christ Church Methodist, and Fr. Thurston N. Davis, editor in chief of the Jesuit magazine, "America." Jewi-hness in Russia is doomed, said the Rabbi, because "fear and discrimination have virtually de- stroyed Jewish religious training in the Soviet Union." It was reported that the num- ber of synagogues in Russia has declined sharply since 1956, when the Soviets said there were 450 synagogues. The latest informa- tion indicates that now only 62 synagogues exist in Russia, the rabbi said. Although the Soviet Govern- ment denies that Jews are ill- treated in Russia, Rabbi Schneier found that discrimination against Jews is very much a part of Soviet HIM "Jews hesitate to call attention > to their Jewishness.'" he said. "At the very least, a Jew might be' regarded as an eccentric" for at- tending a synagogue and thus not worthy of oromotion on h>s \<\h." In contrast to the Soviet sup- pression of Judaism, the rabbi noted that Christian churches in Russia appear to be faring well despite official policies of athe- ism. At present there are some 20,000 Russian Orthodox church- es in the Soviet Union and some 5,000 Protestant churches, re- ported R?bbi Schneier in his Look article. In talks with Archbishop Niko- dim, Metrooo'itan of the Russian Orthodox Church, Rabbi Schneier learned that an estimated ?0 to 50 million of the 232 million Rus- s'ans are believers who attend church. Rabbi Schneier was later told by a Soviet official that his gov- ernment was "not going to lift a finger to promote religion. The religious groups themselves must take the initiative." Concluded the Rabbi: "Only world opinion can save the Rus- sian Jews." Jacob C. Cohen Sisterhood arranaements com- mittee and hostesses for their annual Chan- uka luncheon at the Deauville Hotel on Sun- day noon, Dec. 11, are first row (left to right) Mesdcmes Julius Schwartz, Joseph Zalis, Sol Rcshin, Abe Dlatt, president, Anna Platt and Pauline Hyman, luncheon chairman. Second row are Mesdames Alfred Lieber, Bella Yelli.-. Joseph Rosenblatt, Nathan Sommer, Abe K:- el, Florence Albert, Leon Gottlieb, Tibor n Stern, and Althea Gerstein. Sculptor's Death Implicates Rabbi JERUSALEM (JTA) An I chain across the road to Mount official of the Ministry for Relig- j Zion on a Saturday night. The ac- ious Affairs pleaded not guilty this week to charges of negligence in the death of David Palonibo, the internationally-known Israeli sculp- tor who was killed last August when his scooter crashed into a cident revived the controversy in Israel over the role of rabbinic law in Israel. The magistrate ordered the trial to start in January for Rabbi Am- ram Blau, who is in charge of Mount Zion maintenance. On> " his assignments is to block the road on the Sabbath. The indictment charged Rabbi Blau failed to take ne sary measures to warn drivers after the chain was put in pi .-; on that Sabbath. The defend: at is not related to the leader of the Ncturci Karta zealots organizat :. who has the same name. Parents Oppose School Classes In Religious Bldg. SPRING VALLEY. NY. (JTA) Twenty-five Jewish. Protestant and Catholic parents served a complaint here against a local school board which has assigned pupils to attend public school classes, beginning in September, to be held in a Catholic church and a Reform temple. The complaint by the parents was backed by affidavits by two parents one an Orthodox rab- bi, the other a Catholic house- wife who protested against assigning their children to schools conducted in the house of worship of a faith other than theif own. The two are Rabbi Solomon Zeides, who lives here and is a librarian at Yeshiva University in New York; and Mrs. Madeline Ret, a member of St. Margaret's Roman Catholic Church in nearby Pearl River. (1 The school board served with the petition had decided two months ago to hold some public classes next September at St. Josephs Roman Catholic Church and at Temple Beth El, a' Reform house of worship. The American Jewish Congress is aiding the complaining parents with counsel. The dissent- ing parents said they would file a petition in the State Supreme Court, at White Plains, N.Y., seek- ing an order to restrain the school board from proceeding with its plans to use religious edifices for school purposes. I Toys for Tots At Holiday Party At the Jewish War Veterans Auxiliary of Miami Beach Thanks- giving party on Saturday, at the Parkway Children's Center, NW 17th St. and 30th Ave., 50 children received clothing and toys. Re- freshments were served. Mrs. Rose Goldberg, child wel- fare chairman, Mrs. Ben Roch- warg, Mrs. Sydel Brooks, Mrs. Dorothy Cohen, Louis Brigioti and Irving Spiro hosted the party. > LO'."'U CO rM the News That's Fit to Print" Adolph Ochs' life story reads like one of Horatio Alger's rags-to-riches tale9. For his is the story of a printer's helper who became owner of the most successful and influential newspaper in the world . The New York Times. You might say Adolph Ochs started his newspaper career in 1872, at the tender age of 14. That year he took a 25c-per- day job sweeping floors and running er- rands for his hometown newspaper, the Knoxville Chronicle. Five years later, young Ochs purchased the almost bankrupt Chattanooga Times with a borrowed $800. Within a relatively few years, the young publisher made that moribund newspaper one of the most influential in the South. In 1896, Ochs was invited to reorga- nize The New York Times which was steadily moving towards bankruptcy. Just three short years later, Ochs became owner of The Times and had it on the road to becoming a great newspaper. Ochs' policy for The Times was simple. In the days of "yellow journalism'' and sensationalism, he set out to publish a newspaper that "reflects the best in- formed thought of the country, honest in every line, more than courteous and fair to those who may sincerely differ from its views." Married to the daughter of Rabbi Isaac Wise, Ochs was one of the promi- nent leaders of Reform Judaism. He also headed the fund-raising campaign for the Hebrew Union College. The Adolph S. Ochs Chair in Jewish History at the college is a fitting and lasting memorial to this eminent publisher. P. LORILLARD COMPANY ESTABLISHED 1760 First with the Finest Cigarettes through Lorillard research i- j Page 6-C +Je*ist Her id/an Friday, December 2,]oej^ AJComm. Prexy Wins ZBT Award By Special Report NEW YORK The president of the American Jewish Commit- tee accepted an honorary member- ship in a Greek-letter fraternity recently, "because its doors are opened to people of all back- grounds." Furthermore, he said. "I earn- estly hope that this pattern will be followed by other Jewish social organizations as Jews are ac- cepted by their non-Jewish coun- terparts." Presentation of the award was made by James R. Katzman, past vice president and long-time mem- ber of the Greater Miami Chapter. Katzman is past national president of Zeta Beta Tau. and a member of its Supreme Council. Morris B. Abram, president of the American Jewish Commit- tee, has been presented Zeta Beta Tau's Gottheil Medal for the year 1965. Special ceremon- ies were held Oct. 20 at New York's Waldorf Astoria Hotel. At the same time, Mr. Abram was initiated as a member of the fraternity. "As you know." Abram said. "the American Jewish Committee has. since its founding GO years ago. been committed to eliminat- ing discrimination in all areas oi life in employment, in housing,! in education, and in the social club. The Gottheil Medal is presented periodically to that individual whose activities best promote bet-1 ter human understanding in re- lationships among all people. Previous winners include Adlai E. Stevenson, John Fitzgerald Ken- nedy, and Pope John XXIII. SHOPPING AROUND WITH (Izkk^&wrf Sliitreet Quits As Police Chief TEL AVIV (JTA) Behor Shitreet, a member of every Is- raeli Cabinet since statehood, re- signed this week as Minister of Police for reasons of health but said he would continue to be ac- tive in Parliament and in Mapai Party institutions. The 72-year-old former police officer and magistrate indicated he thought Yosef Mahmias, the Is- raeli Ambassador to Brazil, a for- mer police chief, would be the best man to replace him. Other suggested nominees men- tioned were Beersheba Mayor Eli- ahu Nawi, Deputy Speaker Israel Yohayahu and former Knesset member Shlomo Hillel who is pres- ently Israel's deputy representa- tive at the United .Nations in New York. Premier Eshkol accepted the resignation with "great regret" Some sources in the Government were reported to feel there was no need for a special police Mm- Istry. Former Premier David Bcn- Gurion's dissident Israel Workers Party (Rafi) has already submitted a formal proposal to Parliament to close the Ministry and merge its functions with the Interior or some other Ministry. Seagram's V.O. From time to time in almost every product category, a single brand will shoot into prominence only to fade away equally as fast. For a short time it is considered i "in." but suddenly it becomes "out." On the other hand, you have products,which through the years have steadily won a large and: loyal following based on continued excellence. Such a product is Sea- gram's Imported V.O.. a Canadian whisky that reigns once again as the season's most classic import. More people order and serve V.O. than any other imported whisky, including Scotch. Seagrain's V.O. has a special kind of lightness that actually brings out the brilliance of the whisky. The approaching Chanuka holi- days will provide many opportun- ities for giving and serving Sea- gram's V.O. Honor your guests with V.O., the choice of "may- vinim." Switzerland Swiss Often imitated but never dupli- cated is Switzerland Swiss Cheese. There are many Swiss cheeses on j the market, but if you know qual- ity, then you surely know that nothing equals the true flavor and \ taste of Swiss cheese from Switzer- land. A product of centuries of craftsmanship and the most strict i quality controls, Switzerland Swiss | is 100 percent natural. It contains no chemicals or food colors. If you have special company coming for Chanuka, your even- i ing will get off to fine start if you j serve the following Swiss Dip. SWISS DIP Add Switzerland Swiss cheese, finely grated, to sour cream. Add finely chopped olives, onions and pimento. Salt and pepper to taste and dust with paprika. Serve with crackers and melba toast. Remember that when it comes to Swiss cheese, anybody can make the holes, but only the Swiss make the flavor. Planters Oil One product you can reach for with confidence is Planters Peanut Oil, and with Chanuka at hand, smart Jewish housewives will be reaching for it again and again. | Housewives reach for Planters j Peanut Oil when they are making, salads because Planters is light I and tasy, and it mixes well with all | other ingredients. Good cooks j reach for Planters when baking, whether they have a new cookie i recipe or Mama's favorite old | recipe for homemade bread, and j naturally smart gals reach for | Planters Peanut Oil for all their frying. Frying with Planters gives you the crispest fried foods you ever tasted. Planters Oil is the premium quality polyunsaturate, and lab- oratory tests have shown Planters is so light that it floats on other oils. Look for Planters, the 100 per- cent vegetable oil, in the new handy-grip bottle. Planters Oil is certified Kosher and Parve for all your cooking needs. 0 * Chef Boy-Ar-Dee In planning the meals for her family, the Jewish housewife often; looks for new and different treats for her daily menu. Frequently. there a need for something extra special that can be prepared quick- ly and easily. With Chanuka soon upon us, many housewives will be looking to Chef Boy-Ar-Dee to fill that "something special" meal- time order for family or friends. Chef Boy-Ar-Dee offers a com- plete line of food products that add excitement to your family eating schedule and satisfy even | the most discriminating appetites. If \ou like cheese kreplach and who doesn't prod-1 ucts include the Complete Cheese [ Pizza with the new quick crust, the all-purpose Marinara Sauce, i the Complete Spaghetti Dinner, and the -wonderfully rich Chef Boy-Ar-Dee Spaghetti Sauce with mushrooms. The next time you go shopping be sure to buy all of the fine Chet Boy-Ar-Dee products. Keep plen- ty on hand. It will add zest to your eating schedule. Tetley Tea One of the most satisfying things i about a traditional Jewish holiday like Chanuka is the knowledge that you are sharing this holiday not only with all Jewish people around the world, but with many; generations that have gone before. | When you enjoy a cup of hearty Tetley Tea, you are sharing a pleasure that also has been en- joyed by generations of Jewish; families. That is one of the many j reasons why Jewish housewives have made Tetley the leading tea in Jewish homes. Tetley Tea has an aroma and | flavor that could only come from i its exclusive blends of tiny tea, leaves, choice tea leaves that are picked at the height of perfection.' This Chanuka. add to the warm glow of the menorah lights by serving your family and friends Tetley Tea. * Mar-Parve Margarine Mar-Parve margarine is the per- fect margarine for Jewish fam ilies because Mar-Parv is made with the Jewish housewife in mind. (' Delicious Mar-Parv is kosher, pareve and made from pure high-, 1\ iinsaturated corn oil and other1 vegetable oils with Vitamins A and D added for good health and good eating. Mar-Parv contains no milk or animal fat, and is recom- mended in diets where milk is restricted. ; Use Mar-Parv for Chanuka din- ners and every day as a delightful table spread to give your family the double benefit of good eating and good health. Mott's Products Chanuka is almost here, and holiday time means that the kids will be home instead of in school, and even dad will be taking time off to be with the family during the holiday season. With the family home more than usual, mothers are going to have to do a little extra planning to get variety into all those meals they'll be serving. For ease of both preparation and planning, include the wonder ful .selection of Mott's products on your shopping list. At the head of the list put down Mott's Apple Sauce, long a favorite in homes from coast-to-coast, which is avail able in several convenient sizes. Then for variety, or for festive company dinners, try Mott's Ap- ple-Raspberry Sauce or Apple Cranberry Sauce. Make sure that your family starts off each morning of the hol- iday season with a delicious healthy glass of Mott's Apple Juice or Mott's A.M. which is five fruit juices blended into one breakfast drink that will have the kids clamoring for more. All of these Mott's products carry the Kosher "K." your guar- antee that only the finest ingredi- ents go in before the Mott's label goes on. Yuban Coffee Chanuka is a happy holiday and a good time to offer your family and guests an extra measure pleasure by ,. 01 Toffee II- 'ul,an i-oucc, iru. p.i;..iiaai i ,ff0i> t General Foods. '" Yuban costs r little more than regular coffee, b-u di-:fer ?" tatasta la tcsr, .;,., ,h * difference in cost. The taste telk you that h-c is a coffee ma2 from the pic; n' ',.. ,,-.,, ' aged oaie uV.y, ,<> .,,,. ,r| "J blended artfully to give you a n vor that cant be matched. Your company will ask for ,cc ond and third cups when vou serve Yuban coffee, so be sure |0 make enough for all 11;, ,.('t,,(. lovers in tha cro.vd. Yuban is available in regular and instant. Sossin Named 'Man of Year' By Fla. Seniors * Michal Sossin. chairman of the City of Miami Beach senior citi- zens advisory board, was hon- ored as Miami Beach "Man of the Year" on Wednesday night, 7:30 p.m.. at Miami Beach Federal Savings and Loan Association Auditorium. 755 Washing* in Ave. Sponsoring orgazination was the Florida Senior Citizens League ol Voters, affiliated with the Nation- al Council of Senior Citizens. An- nouncement of Sossin's selection for the annual award was made hy Henry I. Oilman, preside: of the organization. Sossin, a charter member of the Florida State Commission on Aging, is executive director of the Blackstone Retirement Res- idence and of the Shalom Con- valescent Home, under construc- tion adjacent to the Blackstone. New members of the Florida Senior Citizens League i I Voters also were feted at the recep-^- tion, which was open to the public.^! Oilman said. Irving Wodin and Milton Schwartz are vice pres- idents of the group. Sossin is past president of the South Florida Council of B'nal B'rith Lodges, Miami Bea ii B'nai B'rith Lodge. Men's Club if Tem- ple Emanu-El. and other philan- thropic and service organizations. ANSWERITE TELEPHONE ANSWERING SERVICE Serving JEFFERSON UNION HIGHIAND FRANKLIN MURRAY PLAZA NEWTON FR 3-5581 YOUR TELEPHONE PROPERLY ANSWERED IS YOUR GREATEST BUSINESS ASSET FORTE' TOWERS NORTH MODELS NOW OPEN AI ll'h IT. Will AVINUI. MIAMI UACM * Mai* OIN1M1NI RENTALS: Efficiencies, Deluxe Efficiencies, Bed- room Apartments, Deluxe Bedroom Apartments with I '/i bams, 2 Bed- room Apartments with 2 full bathrooms. Wr* or Co* rW Brochure > Central air conditioning > Elovaloc rvic Ssrvlc* area each floor Walk-In cloi.M l 3 Swimming pooll-Hoat** 1200-fool Boardwalk > Yacht basin Security 24 hour. MICHAEL FORTE' BuitJtr 0"#' MIAMI TITLE & ABSTRACT 104 Ni. 1st STREET PHONE 373-8432 ABSTRACTS ESCROWS TITLE INSURANCE A DIVISION OP Tnefciecvri TITLE lIUK COMPANY ATTENTION! Jewish Home for the Aged THRIFT SHOP NEEDS YOUR DONATION NOW! "FURNITURE"-"APPUANCES" "C10THING"-'JEWEIRY." etc. "All Items Tax Deductible" CALL 696-2101 1100 West Avnoe Miami Beach Phone $32-7815 ''*" ON BtAUTlFUL BISCAYNE BAY GENERAL WINDOW REPAIR SERVICE 3755 BIRD ROAD 1448-08901 GLASS SLIDING DOORS GLAZING SECURED AGAINST BURGLARY! CAULKING WE CARRY A COMPLETE SCRHNWC LINE OF REPLACEMENT PARTS_____ rnaar. u*r*mhw ri ion Friday, December 2, 1966 +J Page 7-C "< c NBC Admits Von Shirach Paid for Interview NEW YORK (JTA) A Na- Von Shirach. who was released | president, said that the network and to set It, it became clear, we former Nazi youth loader for a tonal Broadcasting Company of- recently from Spandau Prison, in i "probably" felt that "if we did- would have lo pay for It." Von I similar appearance, canceled the ical confirmed this week reports West Berlin, after serving a 20- n't buy it, somebody else Shirach reportedly was paid plan, explaining von Shirach that th. network paid Ba.dor von Si^fflSrSBS W,d- S4000 for h,S X,!(' wanted "too much money." The Shirach, former Hitler youth ;J "' Iluntley-Bunklej ^ ^^ lender, for an exclusive appear- news Program. "The feeling at NBC was (hat Hie British Broadcasting Com- 1)mt(,s|s againsl the projected ancc on one of its news programs. Don Meany, an NBC vice it' was a legitimate news story; pany, which had sehWnled the appearance. HAPPY HANUKA TREATS _ FOR YOUR FAMILY AND GUESTS >** M I MOTTS and SUNSWEET PURE FRUIT PRODUCTS HIGHEST QUALITY, FINEST FLAVOR, BEST VALUES! SUNSWEET APRICOT APPLE PRUNE . JUICE f ALL CERTIFIED KOSHER BY RABBI J. H. RALBAG OF NEW YORK - W 1 K W /MOTT'K 7 (J=rult ) Vfti- .. -St* K MOTT AM] dru/nJc / i i i Pcge 8-C +Je*lsti ncrk/ian Friday, December 2, 1966 LETTERS TO THE EDITOR They Value Your Assistance to Them EDITOR, The Jewish Florldian: On my recent trip to Israel, I St i) men. women, and children \ j. for the first time in their lives, were entering a country \ re they would be completely frte. I want to tell you what your UJA dollars and your support of Israel Bonds and Histadrut are do- ing to welcome these newcomers. On the same ship on which I ar- rived in Haifa Harbor came many newcomers from Asia. Africa, Europe and other lands. The only question that I heard on the ship v.i- "What will become of us?" Who will meet us?" "Will we fan e houses?" "What will become oi our children?" "Who will take ce-e of our fathers and mothers?" Yes, the buyers of Israel Ecnds, the givers to Combined Jtwish Appeal and Histadrut ihould have seen their faces when the UJA people met them with open arms as if they were their lost brothers and sisters. You could not have kept back your tears if you, too, saw moth- ers and fathers hugging their children and crying for joy be- et use they got such a reception trom people they had never seen er known. Automobiles were ready to take them, not to camps, but to their pt.manent homes. And these be nes. the ones that your gifts rrrde possible to build, are not ih;cks but new houses with new EDITOR, The Jewish Floridian: [ oncerning the scholarly article I cr Oct. 21 by Dr. Samuel Silver, "H pocritieal Use of Pharisees": Dr. Silver states, "Indeed most ! ' he utterances of gentleness in the New Testament stem from P arisaic originals. Even the com- i nt about turning the other k is Pharisaic." i would greatly appreciate it if I uood Doctor could give us the | . ce where such an extreme I ( istian adage as "turning the er cheek" is found in any! :isaic o:- Rabbinic literature. 1 have not seen anything sim- in our Torah, the Prophets. I serbs. the Midrashim, the Tal- im. the Mechilta. or the Eth- of the Fathers. Dr. Silver have in mind other source than these? DAVID F. MILLER Coral Gables furniture, everything that a family j needs. Come with me to the homes of. those who arrived in Israel two or j more years ago. There you will see! happy homes, children who speak the language of the country as though they had been born there, and parents who are working at trades that they are best suited for. i They build factories w here they ; can pursue their talents. The new j farms are blooming, made possible from your dollars and cents that you gave to get the land for them. You are carried away with such a feeling of blessings that help was made possible for these newcom- ers. You sec happiness and success in the work that they do. You see the glow of hope for a wonderful future in their eyes. You see the same man who just yesterday left the "luftmenchen" and today he is producing and getting out of Mother Earth the best that she can give. You see green fields of all kinds, vegetable fields, corn fields, barley and other crops. Orchards of all conceivable fruits that have never grown for the past 2.000 years are growing there now. Some people raise cattle, some of them have chicken farms, some of them are building houses and fac- tories. And they are making all kinds of material that you can imagine in the factories and in the shops. All of this produced by the people who have been helped through the Combined Jewish Ap- peal by purchasing Bonds, by giv- ing to the Jewish National Fund and giving to Histadruth. The happiest newcomers to Is- rael are the aged parents, who are living in a special old age community center made possible by the money of the United Jewish Appeal. With other men and women of their own age they live in this cooperative cen- ter as they would in any com- munity. The women cook and bake, the men plant gardens and crops. They work in orchards and fields or at their own trades in shops provided by UJA. This rejuvenates them and makes them feel like useful members of their community and of their new land in the State of Israel. By do- ing this they are making full use of their talents and energies in their later years. As you see, every dollar you give to UJA through the Combined \ Jew ish Appeal, to Histadrut, to Jewish National Fund, to Hebrew University of Jerusalem, and your I purchase of Israel safe bonds made ; this miracle a reality a reality I so wonderful that the world is ' amazed how we "luftmenchen" ac- i complished this building of the i State of Israel. MAYSHIE FRIEDBERG Miami Beach Wounded Vets See Film Here Some 300 wounded veterans were invited to view the premiere showing of "Gambit" at the Carih Theatre as guests of the Miami Beach Elks Lodge. The premiere showing Wa5 on Sunday night. Max Lenchnet i. chairman of the veterans commit- tee, and he arranged for busses to transport the vets to the theatre Proceeds will go toward th* Harry Anna Crippled Children's Hospital at Umatilla, Fla % (2 Kosher Home Names Directors Leonard Zilbert. chairman of the board of directors of the Jew- ish Convalescent Home of South Florida, has announced the ap pointment of five additional board members. The new appointees bring the community-supported convalescent home's executive*)" 4 group to a total of 27 workers, Newly-appointed members in- elude Morris Malmud, Joseph Co- hen, Michael Sudakow. Isidore Schwartz, and Mrs. Selma Oritt. Pietrack Heads Pythian Camp ircheslra leader Irving Pietrack been elected state chairman j '.. the Pythian Youth Camp, Inc.,; i organization sponsored by thl Chancellors Association. iet rack is a past chancellor in - Order of the Knights of Pyth ic- He is also affiliated with- Ma- - s, Elks. Footlighters, B'nai h rith, and the American Jewish '. :grcss. He is president of the: K n s Club of the Jewish Coir I ent Home and vice president '.. the local Zionist Organization \merica. Pythian Youth Camp is a non- arian, non-profit organization Oted to the betterment of ; ng people, which sends under- j. vileged youngsters to camp ( ing the summer. A dinner dance featuring stars of I ies, radio and television will b* held Mar. 26 at the Deauville Hrv'.el for the Pythian Youth Camp. Square Dance for Men's Club Men's Club of Beth Torah will .' d its annual square dance on S:.'urday evening in the social hall oi the temple. Marvin Hertz, caller, will lead the dance. mm mmsm\ FROM THE MAKERS OF CHASE & SANBORN-THE GUT YOMTOV COFFEE Light up your Chanukah entertaining with the heftier taste of Chase & Sanborn, the gut yomtov coffee. This heftier blend of the world's finest coffees puts extra aroma, extra flavor, extra festivity into every cup. So, at Chanukah time and all year round, enjoy Chase & Sanborn's gut yomtov coffee. It's heftier. CERTIFIED KOSHER BY RABBI DR. J. H. RALBAG *J f) Friday, December 2, 1966 fr *Jmisll fkridUan Page 9-C /?/# Police in Bigoted Acts Mrs. Frances Katzman (left), Woman of the Year of the Amer- ican Friends of the Hebrew University, looks on as Mrs. Wal- ter Kirschner. hostess at the Patrons of the Woman of the Year luncheon, discusses the unusual bust of Franklin Delano Roosevelt with Dr. Warren J. Winstead, president of Nova University of Ft. Lauderdale, special guest at the function where Mrs. Katzman's citation was publicly announced. Thant Urges Israel, Arabs to Talk Peace UNITED NATIONS (JTA) Secretary General U Thant ap- pealed here to the Arab states and I-rael to enter into direct peace talks. He made that appeal in a re- port to the representatives of the 21st annual General Assembly, which contained an evaluation of the world situation, including the Middle East where he said "dan- gerous tensions"' continued to exist. He asked all member nations to help achieve a settlement of inferrationnl conflicts but said that only the parties directly in- volved could change conflicts in- to peace. Beyond such issues as Yemen and Aden, he said there was "the long-standing conflict between Israel and the Arab states and the continuing need for passions to be restrained and the terms of the armistice agreements to be observed by all concerned." The 1949 armistice casts, signed between Israel and Egypt, Le- banon. Jordan and Syria, specified that the pacts were to be a first step toawrd peace treaties. He ferred to the idea of peace talks again In citing the United Natioi Emergency Force and the UN Truce Supervision Organiza- tion. He called the "crux" of the problem "the continuing absence of any resolve" of the "parties di- rectly involved" to seek "a reason- able way out of it." In fact, he as- serted, "the Middle East countries tend to take the attitude that the very United Nations presence frees them from any pressing obliga- tion to exert a really serious effort towards a settlement." But, he said, the only possible course was for the UN to maintain its peace- keeping forces in the area and to intensify peace-making efforts. Principal items on the 1966 Assembly agenda affecting Israel are scheduled reports on the Arab refugees situation and UNEF. Items of general concern to Jews are reports on various aspects of human rights, includ- ing further efforts to approve a UN convention banning all forms of religious intolerance. Abba Eban. Israel's Foreign Minister, arrived to head an Israeli delegation of 25 diplomats and principal aides. Mr. Eban was Israeli delegation chairman for the early period of the Assembly. Ambassador Michael S. Comay, Is- rael's permanent representative, is serving as chairman after Ebau's return to Israel. School children of the Solomon Schechter Day School of Temple Emanu-El, observed Veterans Day with a new flag presented to them by Mrs. Irving Cowan. Ceremonies were held on the patio of the school with Dr. Irving Lehrman, spir- itual leader of Temple Emanu-El, making the principal ad- dress. Rabbi Alexander S. Hollander, director of the school, and several children were on the program. Left to right are Mrs. Cowan, presenting the flag to her daughter, Cindy, while her sister. Debra, looks on. In the background are Rabbi Hollander and Dr. Lehrman. NEW YORK (JTA) The American Jewish Conference on Sovicty Jewry reported here re- cently it had learned that police in Riga, in Soviet Latvia, committed a number of anti-Semitic acts and arrested several Jews after a con- cert given last July in Riga by Geulah Gil, an Israeli folk singer. Miss Gil toured the Soviet Union last July under a cultural ex- change program with Israel According to the report, mem- bers of the audience at the con- cert, most of them Jews, crowded the stage entrance at the end of j Miss Gil's concert to get her auto- graph. Policemen and other se-! eurity officers moved in to prevent' the autograph seekers from reach- J ing Miss Gil. The report was ob tained from witnesses whose identities have been withheld for personal reasons, the Conference said. An incident then developed between Naomi Garber, a 15 year-old Jewish girl, and a police major named Bezkhlebnikov. The report said that the girl re- sponded in a restrained way to a remark by the police major she considered to be anti-Se- mitic The police major contend- ed Miss Garber had slapped his face. She was arrested. Police also reportedly arrested Maxim Kushlim. 23, a Jew charged with having assaulted a police lieutenant named Zayev and a plainclothes detective named Sprugis. Later that night, the wit nesses reported, police arrested Mrs. G. Roth, a 45-year-old Jewish woman. She was charged with hav- ing incited a riot against police and with having led a delegation tc the police station to seek Miss Garbcr's release. On July 14, according to 'he re- port, police arrested Mordechai Blum. 28, a Jewish engineer, who was charged with trying to free Miss Garber by force. Police said that Blum had hit a police officei on the head and knocked his cap to the ground. The report said that police had questioned witnesses at the the- ater to obtain evidence in support of their charges against the Jews they arrested. But, the report added, the police refused to accept testi- mony volunteered by Jewish wit- nesses. Witnesses against Mrs. Roth were policemen and a de- tective named Popov, who said Mrs. Roth called the police anti- Semitic and Gestapo members Miss Garber was released later because, as a minor, she v j, not considered responsible before the Jaw. Three other Jews in the case were said to have been tried Aug. 31, but the outcome of the trial was not known. Women's League Fetes Dr. Wolf son Miami Beach Chapter, Women's League for Israel, honored Dr. Abraham Wolfson on the occasion of his 85th birthday, with a lunch- eon at Washington Federal. 1234 Washington Ave. last week at noon. Proceeds are earmarked for blind and handicapped girls in Israel. Mr. and Mrs. Alex Dellerson offered a program of songs, and Mrs. Leah Udell read several of her original poems. Icftdoit I Rmk IHl SIO WltH IHI FLORIDA FLAI* sfut titl Florida sunshine this iin si u li lush with iiiuvi oranavs 10.19J5 full bushel, delivered G.5).>! v . Page 10-C ftjm#jft FhrMKOHn Friday, December 2, 196G Bonn Official Urges Leave for Self-Study BONN^(JTA) Dr. Friedrichwitness in a war crimes trial. Karl VialonTSeeretary of State in Later he was accused by East Ci. r- the West (ii'iman Ministry r"Ec-' mans-wf having heeh involved di- nomic Cooperation, suggested in ajrectly in the Nazi "final solution television interview here recently, i of the Jewish problem." Docu- that he be temporarily suspended.: ments from Latvian archives are pending the outcome of an Invest!-1 among the materials being studied ,'ation as to whether he was in- by the Bonn state prosecutor. The network program displayed documents bearing Dr. Vision's signature presumably proving that volved in the wartime German mass murders of Jews. Dr. Vialon offered the sugges- tion after the West German tele- j he had given orders that Jewish vision network broadcast a sharp i gravestones be sold for the beno Mayor Root* a, idling office, Mr, M*M *. "* 5&"JWTa& Z "^^ fii *&* ior the Morton Tower North Women's Club communications; Mrs. Louis Cane, treasurer. '* at its annual installation dinner at the Fon- Mrs. Sophie Sternfield, financial secretary; | ainebleau. Taking office at the banquet were and recording secretaries, Mrs. Edith Weiss- Mrs. Bennett Wexler, president; Mrs. Milton man and Mrs. Ceil Markowitz. Bert Sheldon Gross, editor of the club paper, the "Chatter- was master of ceremonies, with Lenny Daw- cox," Mrs. Augusta Goldstein, vice president; son providing the music._____________________ Christian-Jewish Ties Aired I KVEl.AND (JTA) An Christians and Jews during the The warning was contained in a tmerican Jewish leader expressed past year may be jeopardized if report by Philip E. Hoffman. fears here recently that the "dm- both groups do not accelerate ef-; chairman of board 0 governors maUc and significant" advances ill forts to learn more about each .of the America, I u i u ; 1 understanding among other. tee. to the annual meeting of the organization's national executive board. The report by Hoffman,, who has just returned from a siudy mission of intcrreligious de- velopments in Western Europe, i was keyed to the first anniversary of the passage by the Ecumenical Council in Rome of its historic declaration on Catholic relations with Jews. Hoffman cited numerous tech- niques used by national, region- al and local bodies of Catholics, Protestants, Eastern Orthodox and Jews in "enthusiastic efforts among school children, teen- agers, college and university students, seminarians, clergy- men and adults" all eager to "join in a movement" given "historic impetus" by the Ecu- menical Council. The network documentary as- serted it was hard to believe Dr. Vialon's court testimony that he had never known about the Nazi murder of Jews. The net- work also noted that the state prosecutor in Bonn has been investigating for two years the charges that Dr. Vialon commit- ted perjury in his defense. Dr. Vialon served as registrar of Jewish property In the German I administration in occupied Riga! 11 om 1942 lo 1944. He made his statement about never having heard of the mass murders as a lation Center for Nazi Crimes in Vienna, appeared on the program. He said that Franz Maurer. a de- fendant in a trial of Austrian Nazi war criminals, was in possession of considerable material against Dr. Vialon. The office of President Hein- rich Luebke described this week as "forgeries" signatures of Dr. Luebke on a Communist- sponsored display of documents allegedly demonstrating that he gave wartime orders for con- st ruction of concentration camps. The exhibit is being held in Munich. The president's office said that he had never participated in any such activity and thai the allega- tions were without foundation. The office added that, on Dec. 30. 1964. the United States Embassy in Bonn commented on similar JERUSALEM (JTA) Wide charges made then, saying that l>i spread reports that Israel has the Luebke's entire life was known to capability of producing an atomic the United States Government bomb In a few months are e\ag- that all details of his life had gerations, Dr. Glenn Seaborg, been checked, and that the United chairman of the United States States had the greatest respect for Atomic Energy Commission, as- him. sorted recently. He expressed ^^^^_^^^^^^^^^^^^^^^^ U.S. Expert Denies Israel's Atom Capability it-, dialogues at every level "from scholars to housewives," more chairs of Jewish learning, prepar- ation of new religious textbooks and other teaching materials elim- inating passages offensive to other groups, and expanded educational and interpretive publications. He held that, nevertheless, a deep mutual ignorance remains and "much of Christian thinking is completely inadequate about the living Jewish community, the syn- agogue, and Judaism as relevant expressions of an unbroken and Metro Commissioner Alex Gordon presents a certificate of vital way." appreciation to Mrs. Lynne Levin who has started the nations Kmmm g Rabb of ^ :jst university-level course in hotel and cruise social directing ct the University of Miami. Dade County commissioners hon- ored Mrs. Levin "for bringing the course to Dade County which has the world's greatest concentration of hotels." that view in reply to a question after a lecture at the Weizmann Institute. Dr. Seaborg left Israel after a three-day visit, during which he met Prime Minister Levi Eshkol. as well as Israeli atomic scientists. These include interrehgious vis- |R, aU, visi(ed an Isi..u,,i ,uu.u,a|. reactor and science laboratories. It was learned that the ques- tion of United States-Israeli co- operation on desalination was broached only in very general terms during Dr. Scaborg's meet- ing with Premier Eshkol. Dr. Seaborg explained a planned United States nuclear desalting plant to be established in Cali- fornia, and listened to a sum- mation of Israel's needs. The United States had agreed to help finance a S200.000.000 pioneer plant in Israel to test the feasibility of the use of nuclear chairman of the Committee's in- energy for desalination of sea-1 terreligious affairs committee, re- watel" Tho atomic expert said he j ported on an audience he had: believed Israel would be using | earlier this month with Pope Paul, atomic plants to produce much of' FOSTER ELECTRIC COMPANY, INC. Electrical Contractors HESIDENTHL COMMERCIAL INDUSTRIAL ALTERATIONS MAINTENANCE PAUL FOSTER, president AIR CONDITIONING and ADEQUATE WIRING 2264 W. FlAGltR ST. HI 8-2671 Nights. Sundays A Holidays Dial HI 3-OP',2 MAN THAT ZIP COPE REALLY SENDS ME.., VI. at which he discussed the or ganization's program in Jewish- j Christian relations. Rabbi Marc II. Tannenbaum. j the Committee's director of inter I religious' affairs, reported on the \ four-day International Colloquium ( on Judaism and Christianity, held last week in Cambridge. Mass., at the Harvard University Divinity i School, which was attended by 100 scholars from Western Europe, Is rael and Ihe United States. He call ed the event "an unprecedented and major breakthrough on the] highest levels of academic schol- arship." The French Jewish commun- ity, which had been tending to- ward assimilation, has become more aware of Judaism and Jew- ish tradition as a result of the Influx of widespread immigra- tion from North Africa, accord- ing to another report. French Jewry has grown from a post-World War II population of; 150,000 to more than 500.000 to its electricity needs in the 70's. Low Cost Insurance Serving Dade County Since 1954 KM IIAim It. ItlltMfrT STATE FARM INSURANCE MO 1-4213 7911 S.W. 58th AVE. South Miami GORDON ROOFING AND SHEET METAL WORKS, INC. 2148 NW. 10 AVE. FR 3-7180 Have your roof repaired now; you will save on a new roof later "Satisfactory Work by Experienced Men" MIAMI HEALTH INSTITUTE 7235 BISCAYNE BLVD., MIAMI Health thru Nutrition and Co-ordinates' Therapeutics General Diagnosis and X-R.iy General Physical Therapy including Correctional Colon Therapy Laboratory Analysi* Specific Nutrition j>!t. <;. i\ khki.ink. Director N:i till'''I in I hi*- I'hyMriiin For appointment phone 757-7896 THE McCUNE COMPANY CONSULTANTS APPRAISERS MIAMI Established 1914 FRanklin 3-7796 become the fourth largest Jewish community in the world. ___ rn r, December 2. 1966 * Jenisfi FkjrSdNnn Page 11-C 1 Women Suffer Bias in Jewish Law LM bnple Ner Tamid's Men's Club discusses plcns for the year lead. Standing (left to right) are Louis H. Kleinbera. member [the board of trustees; Joseph Silverman, Prst vice president; Id Charles Goldstein, financial secretary. Seated (left to ht) are Dr. Michael Horwitz, president of the Men'= Club; Id Rabbi Euaene Labovitz, spiritual leader of Ner Tamid. Ist-Thanksgiving Day dance was held Saturday. 9 p.m., [the Deauville Hotel. Also scheduled are a Blood Bank drive December, joint meetings with Ner Tamid Sisterhood in auary, a Las Vegas Nite and the annual Purim concert (rturing Cantor Edward Klein. GERMAN INDEMNIFICATION *ay to Victims NEW YORK (JTA) Grow | ing numbers of American Jewish j women are suffering hardships as j a result of disabilitcs of women in j Jewish religious law concerning re- marriage and divorce, according to Dr. William Salem Fisher of! New York, a rabbi who is an' authority on matrimony and di-; voice. He is a practicing attorney ' specializing in divorce law. Dr. Fisher reported this week to the board of directors of the National Council of Jewish Women 'hat since Jewish religious courts in the United States have no civil power, and therefore cannot com- pel a Jew to give a religious di- vorce (Get) American Jewish wom- en are subject to "extreme an- guish and frustration." The NCJW, whose board has been holding its five-day annual meeting here, has endorsed an International Council of Jewish Women's petilion urging rabbin- ical authorities to call an as- sembly to consider reinterpret- ing Jewish religious law to over- come some of the disabilities for Jewish women. Dr. Fisher noted that growing assimilation into American life had brought growing divorce rates among Jews. He also asserted that the problem was compounded by growing intermarriage among members of different movements of Judaism. He stated that the disabilities affect all Jewish wom- en, not just the Orthodox, since a Jewish woman desiring to re marry an Orthodox Jew must have a Gel from her previous marriage. The result may be "sorrow and a breakdown of Jewish life." he said. Citing eases where the Get v. as used as a weapon to obtain unfair alimony or custody provisions in Civil divorce agreements. Dr. Fisher explained there was no pos- sible relief from U.S. civil courts which insist that "separation of church and state" forbids action by them, among other reasons in such situations. Dr. Fisher commended the NCJW for calling on rabbinical authorities of the world to meet to consider reinterpretation of Jewish Religious Law on the status of women. The meeting also heard a pro- posal by Mrs. Joseph Willen. its national president, urging Jews to continue their financial support of the civil rghts movement. now we work v . wai be Delayed harder to make |OME (JTA) Informed! fees reported here this week compensation payments to |ims of the Nazi occupation of i. from a special $10,000,000 German fund given to Italy 1963, will not be completed Ire 19(58. An estimated inini- of 8.000 Jews appear to be le for payments. Be West German Government Hded the money for partial In- Unification of Italians deported he Nazis between 1943 and . An Italian law regulating ibution of the funds was pted in 1964. It excluded sen- j hen taken to Germany as pris- i is of war after the Italian ar- jice in 1943. Under that law. it estimated that applicants |Id total about 20.000, includ- "one-third who were Jews. Later it developed that the jse excluding prisoner of war deportees had been incor- rectly interpreted, and some 300,000 applications were filed. Current estimates of eligible claimants are between 30,000 and 40,000 persons, and the number of Jewish claimants may be higher than the initial esti- mate. The original deadline for submitting documentary proof of eligibility was Nov. 22, 1966. However, final examination of' the 300,000 applications by a spe- cial commission, eventual appeals against findings of the commis- sion and other procedures assured delay in payments until 1968. the sources said. It was estimated that the av- erage payment, when finally made, will be about S250 per person. Since payments will be based on duration of deportation of each victim, the actual payments will vary from that average. your day shorter WVCG-AM now on the air until midnight jeater Miami Hebrew Free Loan Association annual election Jeering installed (left to right) president, Isadore Schwartz; Ice president, Franklin D. Kreutzer; corresponding secretary, ax Price; financial secretary, Fred Ochs. Not shown are Mrs. ase Siegel, second vice president; Max Rappaport, treasurer; *d Mrs. Zelda Kunst, recording secretary. The association devoted to making interest-free loans to individuals indis- 5ss and needing financial assistance. At the meeting. Mrs. ena Weger announced Schwartz as the winner of an afgan Me by the late Mrs. Rebecca Gordon, founder of ' Bsociation Blood Bank. SOUTH FLORIDA'S GOOD MUSIC STATIONS AM 1080 KC. 10,000 Watts FM -105.1 MC. -160,000 Watts the *^-^.'--' * Page 12-C -JewistncrkHati Friday, December 2, 1966 : !f neji igious S< ervtces \JUi iJJeehend AGUDATH ACHIM. The Martinique Hotel. 6423 Collins Ave. Orthodox --- ---- AGuDATH ISRAEL. 7801 Cariyle Ave Orthodox.. Rabi Isaac E>er. , ---- ---- AMAVAT SHALOM CONOREOA- TION. 985 SW 67th Ave. Orthodox. Cantor Morris Barr. -------- ANSHE EMES. 2033 SW 19th Ave. Conservative. Emanuel Kushelwitz, president. Cantor Sol Pakowitz. ---- --- ETH DAVID. 2625 SW 3rd Ave. Con- servative. Rabbi Sol Landau. Cantor William W. L.osir Fiii.ii t.:m p.m. Family services. Ser- mon: "Mlckej 3d rcus Modern Maccabee." Saturdaj :> a.m. Sermon: n: "Torah Lesson." Bai Mlts- van Larry, sun ol Mr. and .Mrs. Ed- ward Kravil-. BETH EL. 500 SW 17th Ave. Ortho- dox. Rabbi Solomon Schti Friday 5:13 p.m. Saturday 6:30 a.m. bkrmon: "Spiritual Security." Mln- . p.m. BETH ISRAEL. 770 40th St. Ortho- dox. Rabbi Berel Wein. Friday 3:lo p.m. Saturuay :* a.m. Ser- mon: "Eternal Truths." BETH JACOB. 301 Washington Ave. Orthodox. Rabbi Shmaryahu T. Swirsky. Cantor Maurice Mamches. CANDLELIGHTING TIME 19 Kislev 5:09 pan. 1 * thodox. Rabbi Joseph E. Rackovsky lETM TORAH. 164th St. and NE Htli Ave. Conservative. Rjbbi Max Lip ich'tz. Cantor Jacob Renzer. Friday S:8 ami 1:13 I'm- Saturdaj ..;, .: m. Bar JUluvah: Leonaru, son ..: Mr. and Mi"s. living lio.duteln; ,r,.i. son of Mr. mi., Mrs, Irving sky. ----- e ----- 3'NAI RAPHAEL :401 NW 1S3rd St Conservative. Rabbi Haiuld Ki.niei Cantor Jack Lerner. Fi I mi S:l Liuesl speaker, Mrs Martin Amster, organisational vice president, ,'h .. nupter "i Hadassah. Bird Rd. .Modern traditional Max W. Temehin; president. Cantor Louis Friday 6:13 p.m. Saturdai' 9 "i- ^..IK nil J'.lo l'[j_ OHEV SHALOM. 911 Normandy Dr urtnouox. Haobi Phineas Weber- man. Saturday s::w a.m. Sermon: seen Tranquil ity." Mlncha ", p.m. CUBAN HEBREW CONGREGATION OF MIAMI. U42 Wash.ngton Ave. Orthouox. Rabbi Dov Rozencweig. SEPHARDIC JEW.SH CENTER. 646 Coiuns Ave. Rev. Cantor Saoi Nah i a s Frida) |i mi. Saturday 8:30 a.m. Ber- I inou: "Tne Discipline >: Sulferlnf. -------- : SKY LAKE SYNAGOGUE. 18151 NE 19th Ave. Orthodox. Rabbi Jonan E. Capi^n. Friday '> and 8:15 p.m. Sermon: baii- , re the L'N." Mr. ami Mis. Louis Abramaon anil Mis. Qussle Brown I wlii h-.st Hi, Ones Shabbat. Satur- ,,.,, ., a.in Sermon: "A House Dl- ., .i .Mm. ii., .. p.m. -------- TEMPLE ADATH YESHURUN. Con servative. 1025 NE 1P3rd St.. Miami Gardens Rd. Rabbi Milton Schlinsky. '.antor **aur r, M Friday 8:15 p.m. Sermon: "To Drink and Tii Remember." Mr. and airs. jack J.u-ks will present a K.lduun cup ami traj i' Hi'' temple. Satur- day 5:43 a.m. Mlncha 5:80 p.m. sonof Mr. and Mm. Bernard Roth- man. -------- TEMPLE ZAMORA. 44 Zamora Ave Conservative. Rabbi Maxwell Jer or. Cantor Ben Oickson. Friday 8:18 p.m. firmon: "I Am a lio.'d Juv itu*?* ." Saturday via a.m. Stimuli: 'I'm linn of ,i>- Week." riFERETH ISRAEL. SSOO l>. frUss* ... J1_^- Ave. Conservative. Rabrfl Htnr> YOUNTT'lSlf/rtL OF v Technicolor." Oiii-g Shabbat I. itd l,y Blsti rhoou. Saturday '. a.m. Sermon' == K Turiiun of the \V< i YOUNG ISRAEL OF GREATER M. AMI. 990 NE 171et St. O-.nodox Rabbi Shcrwm Stauber. Cantor Pincua A|ae*. Pri.la> S>*5 p.m. .-.-. r-laj Slim,. II 'lat's net .- llal'i-/ !,:.!,_' Ika! Mlnclia 3 p.m. Wernick. Friday s:lr, p.m. s>-rmon: "Dreams in . !i: :t-. i. .i 'uasasaatatasi fAMI BEACH 1542-44 Washington Ave. Rabbi Nat. tali Porush. BETH KODESH. 1101 SW 12th Ave. [ rT. LAUDERDALE EMANUEL. 1801 Modern Traditional. Rabbi Max Shapiro. Cantor E-.njamm Ben-Ari. Frida) 8:13 p.m. Sermon: "Moaln, Pearl Harbor and Viet Xam." Uueat speaker, L)r. Clark Myers, Dean, School of Business Administration at the University of Miami. Topic: "Eth- ics In Business." Saturday t:80 p.m. "Portion "f Law." 5 p.m. "To Dream is Essential." BETH MOSHE CONGREGATION 13630 W. Dixie Hwy. Conservative. Rabbi David Rosenteld. Cantor Sey- mour Hinkes. Friday 8:15 p.m. Sermon "Pre-Chan- uka Services RellBloUS Fr,-,.d,,m." Onee Bhabbat hosted bj Sisterhood. Saturday 8:43 a.m. Sermon: "Portion of the Week.'' -----e----- BETH SOLOMON. 50 NW 51st PI. Conservative. Rabbi Aharon M. Feier. Friday 5:15 and 8:15 p.m. Bern...... 'I'h, Wanderer or the Settled." Ones Shabbat hosts: Mrs. Hermin Rosen- berg. In honor of Rabbi Feier: Mr. ami Mrs. Philip Dresnick in honor of son- in-law Sam Kessler's birthday. Sat- urday 9 a.m. Sermon: "Portion of the Week." Min.-ha 3:13 p.m. BETH TFILAH 935 Euclid Ave. Or- i This page is prepared in CO- I operation with tne Greater Mi- I ami Rabbinical Association. Coordinator of features ap- pearing here is DR. MAX LIPSCHITZ - spiritual leader of Beth Torah Congregation of ?sJorth Miami Beach. S. Andiewk ve. Reform. Rabbi Richard .\i. Leviton. Cantor Jerome Kiement. FT. LAUOERDALE oEWISH CEN- TER. 547 E. Oakland Park Blvd. Rabbi Philip Chaiton. Cantor Theo- dore Mindich. -------e------- | HALLANDALE JEWISH CENTER. 126 E. Hallandale Beach Blvd. Rev. Paul Deutsch. Friday 8:15 p.m. Pulpit fajest, Jack Lefton of Temple Beth Bfiolem, Hol- lywood. Quest speaker, Max .1. Welts, teacher and Youth Oroup director of Adath Vi-shuiim. -------- HEBREW ACADEMY. 2400 Pinetree Dr Orthodox. Rabbi Alexander S. Gross. Friday 5:20 p.m. Saturday H a.111 Mlncha S 15 p.m. HOLLYWOOD TEMPLE SINAI. 1201 Johnson St. Conservative. Rabbi David Shapiro. Cantor Yehudah Heilbraon. -------e------- SRAELITE CENTER. 3175 SW 25th St. Conservative. Rabbi Avrom L. Drazin. Cantor William B. Nussen. sen. Friday 5:15 and s:]3 p.m. Sermon: "i'an There Be Jewish Ecumenism?" Saturday 8:45 a.m. Sermon: "Portion of the Wi ek." -----e----- JACOB C. COHEN COMMUNITY SYNAGOGUE. 1532 Washington Ave. Orthodox. Rabbi Tibor H. Stern -:| HEBREW iCNESETH ISRAEL. 1415 Euclid Ave. Orthodox. Rabbi David Lehrfield. Cantor Abraham Seif. -------- LUBAVITCHER MlNYAN. 800 Wash ington Ave. Orthodox. Rabbi Abra- ham Korf. Cantor Ernest Field. -------e------ MINYONAIRES SYNAGOGUE. 3737 LESSON f : : t t "1ST '"7i3 ,niLJ3Dn .*?i?nfcr nans a-xtpii ^9? nno^^^o-rnw ^Tft^ T9 .irnasn nnhDn 1^3 n"3ns;i T T - c: vpia "a^nn |invn niiD1? n^s^i n^-iai n'^ya T T : v : : 1 DSBran-'na 'ids nzto dj x-n rra-wn nai^n - : : r t t - naon T)3 ^aa iia'pn * t t : .o^a-wn o^na^oan tnbia rvnya nna wtrtia) T I .| ,' JlnniiT roann1? tins? npi The Arabs of Israel are Equal Citiiens About 88 percent of the Arabs in Israel voted in the elections for the Sixth Kenesset. The Arab members of the Ken- esset make their speeches in the Arab language, and a Hebrew translation is given immediately afterwards by the official trans- lator. All of the speeches made in the Kenesset in the Hebrew language are immediately translated into Arabic and transmitted to the t : * nDia*? "aiva nVrnaa 88x "3 waxn n^ii a^rnvn nwa n^n iransn na&3 an^aixi nx : T T T V t -hnx1? ny? yaB,3 nsv mnni .-acn lanna ,,T-,?y ]?a noa crvatfin o-a .xan "73 to a-anna nnan nat?a T t : : T T T - -pn "nan1? onajjw n,any,7 .nis3Tx n^saxs n^ai^n no : t t : v : I T nfrya1? x-n n^aian nafcn v -: : t TT-- Arab members of the Kenesset through earphones. The Arabic language is practic- ally a second official language in the State of Israel. Coins, stamps, and banknotes bear Arabic in- scriptions. The Official Gazette also appears in Arabic, and Arabs have the right to turn to Govern- ment Offices and to plead in the courts in the Arabic language. The Arabic language is also the language of instruction in all the Government Arab Schools. Published by the Brit Ivrit Olamit TEMPLE BETH AM. 5950 S. Kendall Jr., So. Miami, Reform. Rabin Herbert Baumg.ird. Cantor Michael Kyrr. TEMPLE BETH EL OF HOLLY- WOOD. 1351 S. 14th Ave. Reform Rabbi Samuel Jaffe. Friday B:1B p.m. Sermon: "Samuel AaTnon: Nobel Prise Winner." New- born daughter of Mr. and Mrs. ssteven E. Schuster will be named. TEMPLE BETH RAPHAEL. 1545 ^efterson Ave. Conservative. Cantor Saul H. Breed. -------e------- TEMPLE BETH SHOLEM of Holly wood. 1725 Monroe St. Conservative Rabbi Morton Malavsky. Cantor Er nest Sterner. TEMPLE BETH SHOLOM. 4144 Chase , Ave. Liberal. Rabbi Leon Kronisn I Cantor David Conviser. Friday 8:15 p.m. Sermon: "Sholem Aleichlm Lives." Beth bholom Youth (Jroup will participate In portion < service commemorating 5Uth armi- versary of death of Bhoiem Aleichlm. Saturday 10:45 a.m. Baa Mltsvah: Shelley, dau^ht,T *,f Mr. and Mrs. Koyal fihkk Jonas ----------m----------- TEMPLE BETH TOV. 6438 SW 8tn j St. Conservative. Rabbi Simon April. Friday n:I" p.m. Hadassah Sabbath. (lueHt speak, r, Mrs. <;.r.iM P. SoltS, past president <-i Miami Chapter of Hadassah, <>i the Florida Region, and a member "f the regional board, Sat- urday B a.m. Sermon: "Portion of tn< Wi k." -----a - TEMPLE B'NAI SHOLOM. 16800 NW 22nd Ave. Conservative. Cantor Abraham Reiseman. -------- TEMPLE EMANU-EL. 1701 Washing- ton Ave. Conservative. Rabbi Irving Lehrman. Cantor Zvi Adler. Fr.,Ia> ." and VI" p.m. i'haniika ser- mon: "An Anclenl Miracle, s Modern Message." Haturday 8 a.m. Sermon: "Weekly Portion ,'f thi Bible." Bar Mltsvah: Richard, son of Mr. and Mrs. Raymond Mufson, Junior congre- gation in the assemblj hall 18:80 a.m. -------e------- TEMPLE ISRAEL OF GREATER MI- AMI. 137 NE 19th St. Reform. Rabo Joseph R. Narot. Friday 8:15 p.m. Sermon: "Wh< .1,.'' -------e TEMPLE ISRAEL OF MIRAMAR 3500 SW 69th W.-iy. Conservative Rabbi Irwin Cutler. e TEMPLE JUDEA. 5500 Granada Blvd. Liberal-Reform. Rabbi Morris Kip- per. ---- ---- TEMPLE MENORAH. 620 7bth St Conservative. Rabbi Mayer Abram- owitz. Cantor Nico Feldman. Friday 8:15 p.m. Sermon: "To Dwell] in the House of the Lord." Satur- d i so a.m. Sermon: "I'ortlon of the Law." -------- TEMPLE NER TAMID. 80th St. and Tatum Waterway. Modern Tradi- tional. Rabbi Eugene Labovitz. Can- tor Edward Klein. Friday B:16 p.m. Sermon: "The Bonds that Built Bridges." TEMPLE OR OLOM. Conservative 8755 SW 16th St., Miami. Rabbi Ralph O I i x m a n Cantor Herman Marchbein.' Friday 7:15 p.m. Family service. Sat- urday t 15 a in. Bar MHsvah: Beth, Hun of Mr, and Mrs. Kly Kaufman. TEMPLE SHOLOM. 132 SW 11th Ave.. Pompano Beach. Conservative. Rab- bi Morris A. Skop. Cantor Leon Segal. Friday 8:1a p.m. Sermon: "The .Ma<-- cabean Struggle for Religious Free- dom." Saturday S::in a.m. Sermon: "Torah Talk." SYNOPSIS OF THE TORAH PORTION VAYESHEV The brothers strip Joseph and throw him into the p \ caravan of Ishmaelites is seen in the background. "And it came to pass, when Joseph was come unto his brethren, that they stripped Joseph of his coat" (Gen. 37. 23' VAYESHEV Jacob and his sons dwelt in the lani_ of Canaan as shepherds. Of all his sons, Jacob loved Joseph ist. His obvious favoritism, and Joseph's account of his grani -i I" dreams, produced hatred and jealousy among the brothers. i: Joseph's brothers sold the hated favorite to >ome Ishmaelite merchants, who took Joseph to Egypt with them. There Pol ip an officer of the Pharaoh and captain of his guard, bought Joseph as a slave. The Hebrew lad quickly rose to a position of reap biiity in his master's household. However, Joseph rejected the advances of Potiphar's wife: she slandered him. and he i imprisoned. But in prison, too, God was with Joseph, and he won the confidence of the jailers. He became known as an interpreter of dreams by correctly reading the significance 01 the dreams of the Pharaoh's butler and baker when they were his prison- mates. This recounting of the WeeKly Portion of the Law it e- tracted and based upon "The Graphic History of the Jewish Heritage" edited by P. Wollman-Tsamir, $15 Publisher is Shengold, and the volume i* available at 11 William St., New York 5, N.Y. President of the society distributing the volume Is Joseph Schlang. * BMBSmiU . tnwaa.ininuE: l\.aL>biiiicai evision Vr rc-it rams V Dec. 4 Ch. 10, 11 a.m., "The Jewish Worship Hour" Guest: Rabbi Mayer Abramowitz Dec. 4 Ch. 7. 10 a.m., "The Still Small Voice" Host: Rabbi Sol Landau Topic: Chanuka theme Dec. 5 through 11, Ch. 7, 6 a.m. and 1 a.m. Rabbi Harold Richter will conduct the Inspirational Message. Dec. 6 Ch. 2, 9:30 p.m.. "Man to Man" Participants: Dr. Max A. Lipschitz, Beth Tr rah Con- gregation; Fr. Donald Connolly; Dr. J. Calvin Rose Modera'or: Rev. Luther C. Pierce Topic: "Special Guest Night" THE RABBI SPEAKS FROM HIS PULPIT We Must Seek Our Brethren Today 6/ RABBI AVROM L. DRAZIN The Israelite Center TEMPLE SINAI OF NORTH DADE 18801 NE 22nd Ave. Reform. Rabbi Marios Ranson. Cantor Chet Gale. Friday 8:15 p.m. at Washington Fed- eral. 699 NB 167th St. Bar Mltsvah: Raymond A., nun of Mr. and Mrs. Raymond C. .Mi-inbrrg. -------- TEMPLE TIFERETH JACOB. 51 E 4th Ave., Hialeah. Conservative. Rabbi Maurice Klein. Friday 8:15 p.m. Sermon: 'The Strug- gle for Peace." One*- Shabbat hosted by Mr. and Mra. Marvin itelrhen- thaler in honor of their wedding an- niversary. Saturday 9 a.m. TEMPLE ZION. 8000 Miller Rd. Con- servative. Rabbi Alfred Waxman. Friday 7:30 p.m. Family nervlces. Sermon: "Coats of Many Colon*." Sat- urday 9:30 a.m. Bar Mltsvah: Richard, poses. There are many a.eas in which "denominational'' different The Torah portion assigned to ces W >* forgotten for the com- this Sabbath open* with the story [ mon gd of people, of Joseph's meeting with an Angel Various organizations \.e with while in search each other for the honor of gath- for his broth-, ering all faction- within Judaism eis. At the be-; urujei. their banner. Make no mis- tiest of Jacob, L .. _ who is concern-1 taH? ~ ,here can ** no success for ed for the wel-' these efforts unless the religious fare of his old- beliefs of all Jews are taken into er sons pastur- J consideration. ing their flocks, | There is absolutely no excuse Joseph arrives for jewish organizations and fed- at the appoint-. erations, which claim to include e d place an d j al| Jews and meet their needs, to finds that his j hold non-kosher dinners, especially in an area such as ours, where kosher catering is easily available. There is no reason to hold meet- Rabbi Drazin brothers have disappeared. Uncertain as to their where- abouts, Joseph, obviously bewil- dered, begins his search and meets with an individual who asks him, "What are you seeking?" Joseph s answer, "Ess Achai," means: "I seek to be with my brethren I wish to belong to my people, to succeed with my people, for my future is tied up with the future or my Drethren." This is the same cry which we utter today. Let us unite Jewry under one banner. Let us unite in the struggle for common pur- ff ings and activities which are a desecration of the Sabbath and prevent a portion of the member^ ship from participating. Joseph still seeks his brethren, and if the non-traditional Jew wishes to invite his traditional brethren to break bread with him in serving the common good, let it at least be a piece of bread he can eat not something which will stick in his throat. And let his activities be scheduled at a time acceptable to everyone. Who knows, maybe some day, Joseph will find his brethren. innnr iwnmhwin TOCIT Friday, December 2. 1966 'Jew 1stHcridiar Page 13-C Greater Miami BB Young Adults Plan Active Weekly Agenda With activities well under way for the vear 1966-67, the newly-in?tailed executive board cf 1he National Conference of Svnnoccue Youth of the Hebrew Academy of. Grecter Micmi meets to discuss plans for a loithcom- ing regional weekend concWe and concert. Standing, front row (left to right1, Ruth Woiss, treasurer; Jan Safra, recording secretarv; Scndra Ehrenreich, president and national eastern cocrdiator; Susan Roth, vice president, programming; Tova Cavell, secretary; Minda Phillips, publicity chairman. Back row (left to riaht) ore Joe Morgonthau. editor; Robert G'eenberg, financial secretary; Pinches Ra'- b-rrr. chaplain; Rabbi Zev Litenat=kv, rpoional odvisor end assistant principal of the Hebrew ccdrrv; Barry Benenfeld, vice oresident of eraanization; and Ephrain Gorlin. chapter historian. Seaboard Winter Service Features Family Travel S"?.board Railroad antic;patcs anotHw banner winter for its streamliners, Silver Meteor and Silver Star, between Florida and New York, according to \V. J, Ficht. general passenger agent, Miami. Bas.ng this view on advance res- ervations already made, Ficht statei "There i> more going on for rail travel than ever before, as people realize the comfort and fun te be found aboard thoroughly n trains. We're going to be i.i.:: ng a great many vacationers to ai from Florida this year. "This is especially so in the case of family travel," he said. "In the course of a round-trip Rockwell Barred From Shul Areas WASHINGTON U.S. District (o in oi Illinois, JUage josepn S:.n; Perry presiding, has granted a permanent injunction upon the tion of the Jewish War Vet- against George Rockwells American Nazi Party conducting :. march within a half mile of any Jewish house of worship on any of the Jewish faith. JWV National Commander Mal- colm A. Tailov hailed the decision "as an important step against ell's use of the civil rights e to foment hate and un- ii against Jews and other ethnic -1 OU' The injunction was initiated by the JWV Department of Illi- nois, headed by Department Com-nander Herman Moses, af- ter Rockwell threatened to or- ganise Nazi-led marchers through Jewish neighborhoods. Attorney Luis Kutner, of Chicago, repre- ttnttd the Jewish War Veterans. * i mander Taiiov indicated c fully intend to use the Courts to the limit of our resources 10 to it that bigotry spewed] by Ai erican Nazis does ndt spread | hatred or result in incitement to Hot ' on one of our silver streamlin- ers, there's a great deal for children to see and lea>-n while they enjoy c'ose-ups through our wide windows of scenes right out of their American his- tory boo'xs. Growr.-ups, too, con- sider our route one of the most fascinating to be found in the Ur.lred Sia^es. "Effective Dec. 1(1. Seaboard will offer twice daily streamliner service to the North fiom both coasts of Florida. This means that from Miami, Hollywood. Fort Lauderdale and West Palm Beach, and also from Tampa, Clearwater and St. Petersburg, our patrons may select the departure time that suits them and travel to Washington, Baltimore, Philadel- phia and New York without change of trains. "Again this winter Seaboard will feature the increasingly pop- ular New York City theatre tours, which include streamliner trans- portation to and from New York, tickets to the most wanted stage plays and musical hits, hotel ac- commodation^ and sightseeing. Group tours leave on specified dates, but theatre tours can be arranged individually at any time, These theatre tours are available through travel agents and local Seaboard offices. Seaboard streamliners are no- ted for their modem lightweight stainli ss ste i sleeping cars, re serve'1 ,c reel in coache s, spacious : nclud- ATTENTION! Jewish Home for the Aged THRIFT SHOP NEEPS YOUR DONATION. NOW! j .r;.^UNIJURE"^'ArPLIANCIS "ClOTHING'-'JEWELRY/' etc. CAt^69MT01 ing the uniquely decorated, glass- | topped Pullman Sun Lounge on j the Silver Meteor, and tavern ob- servation cars. "Seaboard dining cars, which retain the niceties of gleaming crystal and silverware, crisp white tablecloths and fresh-cut flowers, have a tradition of fine food and service, with menu prices geared to vacation budg- ets. Special menus for children arc available, too. Another exclusive Seaboard streamliner innovation is the reg- istered nurse, reassuring to par- ents traveling with small children. A passenger service agent, coach attendants and Pullman porters are also members of the train service staff." "Our group tries to give more to the community than just mere money," said Miss Phyllis Fiedler, president of the Greater Miami Chapter of B'nai B'rith Young Adults. MM Fiedler- said the newly- formed chapter is the "only one in existence in the Southern United States." More chapters should be formed to "promote a region," she added. Aims of the parent organiza- tion, B'nai B'rith Youth Organi- zation, are the following: Ju- daism, democracy, individual de- velopment, and service. "3BYA develops these aims through committees who support educa- tion, recreation, and service," stated George Termotto, first : vice president. Other local leaders are Gary Cohen, second vice president; .Miss Carol Traeger, corresponding sec- retary; Dave Termotto. recording secretary: and Miss Barbara Schoneberger. chaplain. Also, Miss Sheilah Bitterman. who serves as parliamentarian; and Miss Bonnie Bassman. treasur- er. Consultant is Mrs. Edith Bass- man. Committees are headed by the following, aged 13 to 26-yearold, Miss Mois Passoff and Miss Joan Houseman, education; Miss Linda Davidson, and Steve Field, recrea- tion; and Miss Linda Blumenthal and Miss Arlene Goldberg, service. Chartered in 196*, the group holds elections every fall. "Last May, our chapter began to hold a multitude of activities," said the president, "which included parties, bowling nights, sailings, picnics, religious services, and discussions." Miss Friedler said that the or- ganization's program was already well-mapped out for the balance of the year. Lakeside MEMORIAL PARK AND GARDEN MAUSOLEUM "THE SOUTHS /V.OST BEAUTIFUL JEWISH CEMETFRY" Guaranteed Perpetual Core fund N.W. 25th ST. at 103rd AVE. TU 5-1689 xpaess Sjppatluj and Cornet *ltW iOif Exotic Gnrhfits MIAMI MIAMI BEACH CORAL GABLES HOLLYWOOD FT. LAUDERDALE BOCA RATON REV. PINCUS ALOOF CCRTIflED MOHEl Associated with Young Israel of Greater Miami, 990 N.E. 171st St.. No. Miami Beach: Out of Town Cases Attended. 7761? N.f. 7th Ct. 947-2267 No. Micmi Beach, Horida GE1B * MONUMENTS INC. Open Ever, Day Closed Sabbath 140 SW 57h Ave. MO 1-8583 . Miami's Only Strictly Jewish Monument Dealer SOUND OF STEREO 01,000 STEREO HOIKS * PERSONALIZED MEMORIALS NATIONAL MONUMENT CO* |MC AUTHOR ^ffQjjW MONUMENTS MAUSOLEUMS GRANITE S BRONZE MARKERS MARBLE BENCHES VASES HI 6-6009 3250 5. W. 8 ST., MIAMI SPECIALLY PROGRAMMED SHOWS Every Sundav - # 4:05-5:00 P.M. MUSIC AROUND THE WORLD 5:05-7:00 P.M. CLASSICS IN STEREO 7:05-8:00 P.M. "BUT NOT FORGOTTEN" 8:05-9:00 P.M.-UPREM!ERE"- "BUS?0 ON ALL 94.9 131 DIALS DON'T MISS IT THIS SUNDAY i Page 14-C +Jewish narkttan r'nday. Uecemoer z,TS? Hal Glassman Joins PR Firm on Beach Helping to plan the Temple Beth Am Israel Chai" Dinner of State are members of the orps of patron hosts who were guests at a .eception tendered by Mr. and Mrs. Herman W. Feldman at their home. From left are Mrs. Feldman, Mrs. Herbert Sobel. Mrs. David Eddie Cantor Group of Hadassah installed its new president here recently at the Fontainebleau Hotel. Standing (left to right) are Mrs. Harry Glass, newly-installed president; Mrs. Nat Barth, immediate past president of Miami Beach Chapter of Hadassah, and installing officer; and Mrs. Saul Katz, national Hadassah organization chairman. Canadian Nazi Vows Public Appearance TORONTO (JTA) Canadian Nazi Party Leader, John Beattie; vowed this week to make an ap- pearance in Allan Gardens, a To- ronto public park, "by hook or by crook," after the Ontario Supreme \ Court rejected his application to speak at a rally there on Septem-j her 11. Beattie was involved in an incident last year in the same park that led to violence and the arrest of a number of persons at a rally- he had addressed. He appealed to the court when the Toronto city authorities denied him a speaking ; permit. Tn rejecting Beattie"s request for a court order to speak in the park. Justice Donahue said that the Nazi was certain to cause a commotion in which police would have to risk physical harm to protect him. He Mid the "courts have to protect people from harm and have the power to do so." M. E. Fram. counsel for the city, argued that granting Beattie'sI application would force the city to break a bylaw which deniesj park speaking privileges to any- one charged with stirring up rac-! ial or religious hatred. Mr. Fram said that Beattie 'can speak else- where than in a public park." Kornberg, Mrs. Louis Kirk, Mrs. Saul Genet and Mrs. Nathan Selditch. The dinner, at which David J. Light will receive the Herbert H. Lehman Award, is set for Sunday evening, Dec. 3, at the Dupont Plaza Hotel. Meridor Takes Over Helm Of Herut Party TEL AVIV fJTAI Ynkov Meridor was elected here to an- il her term as chairman of the ex- ecutive right-wing Herut Party after a riotous session of the badly- split party's central committee. Tension became apparent im- mediately when the session open- ed with the expressed intention to \ choose a new executive. Support-, ers of Shmuel Tamir, an attorney | who has challenged Herut's cur-1 rent leadership, proposed a non-1 confidence motion against Or Johanan Bader. Herut chairman. The proposal was beaten 56 to 36. A similar vote defeated a proposal by Mr. Tamir to postpone the meeting. Charges and counter-charges greeted Mr. Tamir's effort to explain his position about the party's longtime leadership, in- cluding his opposition to Mena- hem Beigin, who gave up the party leadership this summer. Suddenly supporters of the pres- ent leadership threw a handful of nipples of baby bottles at the opposition with shouts of "bab- ies." In the uproar that ensued, Mr. Tamir and his followers left while the remaining executive members continued the meeting. Mr. Meridor was instructed to propose a new executive to the central committee. Mr. Meridor said he would invite some members of the outgoing ex- ecutive to serve in the new one. He added, however, that a party tribunal would have to clear Mr. Tamir of charges of initiating and backing an allegedly slanderous letter against Mr. Beigin which was the basic cause of the tur- moil in the party. Hal Glassman. sports editor of the Miami Beach Daily Sun for nearly five years, has been named vice president of the Gerald Schwartz Public Relations Agency, One Lincoln Road Bldg. Glassman also will continue to serve as sports director of radio stations WMBM-AM and WGOS FM, both of Miami Beach. An- nouncement of his appointment was made by Gerald Schwartz, president of the Miami Beach- based firm which was established in 1949. The new vice president will continue to write a regular sports column for the Miami Beach Daily Sun. The Gerald Schwartz Agency is the only member in Florida of Public Relations Management Corp., a world-wide organization of leading public relations firms headquartered in New York City. Former public relations direc- tor of the iiieater Miami Jewish Federation and of the Combined Jewish Appeal. Glassman served for three years in public informa- tion and publicity offices of the United States Army. He held pub lie information positions in F.urope and in California. Glassman is president of the Florida Chapter of the U.S. Har- ness Writers Association, now serving his second term. He is a member of the Florida Thorough- bred Writers Association, Florida Sports Writers Association, Na- tional Baseball Writers Association and the National Sports Wiiters Association. He is an active member of the Miami Beach Chamber of Commerce, Miami Beach Jay- caes, a charter member of the Miami Beach Sports Promotion Committee, and the American Jewish Public Relations Society. Glassman has received awards for reporting from broadcasting and writing associations. A gradu- ate of Miami Beach High School he is a native of the Beach and attended the University of Miami Monterey College in California! and Tubingen University in Ger- many. He is married to the for- mer Linda Lessner, of Schenec- i tady, N.Y., and has one son. n,m. I ard Daniel, two years old Mr 'and Mrs. Glassman live at '.:>:(, ; Bay Dr., Miami Beach HAL GLASSMAN vl^ Guaranteed Rates: 377-0275 ARE YOU SURE OF YOUR YAHRZEIT DATE? This free calendar will give you all Hebrew dates, equivalent English dates and days oi the week (from 1943tol967;. r. stay at the ~ 1200 ROOM HOTEL Per person double occupancy till Dec. 15,1966 Si pngn Hi years! Important Jewish holiday: to 19?i! This Calendar absolutely free to our readers. Mention name of publication when writing. Send post-card or letter to: H. J. Heine Co., Dept. J2, Boa 57. Pittsburgh. Pa. 15230..,, NEW YORK CITY Your ideal headquarters close to attractions, shopping, sightseeing, fine dining and entertainment. TEAR 'ROUND SWIMMING POOL FREE TO GUESTS. -A^A^JL-A-X. Rates. Including TV and air-condltionini; from WJU single S11.B5 double Call: PLara MO00 or write the 8HELTON TOWERS HOTEL Lexington Ave. 48-49 St., NYC Send free literature and money- saving Courtesy Card to Name - Address _____________ City___________ State _ No. In Party __ Arriving- S*tmjlnoe$ PERMANENT COLOR it * Felt lip pen nith line point * Slim, handy styling * 8 brilliant waterprool colors * Markanysurface-tools.toys. sports equipment, children's rainwear, packages Jan., * BARNETTS OFFICE SUPPLIES & EQUIPMENT 228 N.E. 59th STREET-Miumi 1608 WASHINGTON AVE. MB. 134 N.E. 1st STREET-Mia mi 272 VALENCIA-Coral Gables Ph. PL 4-3457 Any way you figure It... | THE FINEST)^ j WELCOME^ I TO GREATER MIAMI IS WELCOME * WAGON A vtalt from our host** *"! "* ; you feel at home, with her basket of gift* and answeri to question! about the city, ita eervice* ao4 facilities. Just call . IWekoni^^jVagori 443-2526 3 Please have the Welcome # Hattjst call me. -l 1 weM like to subscribe to The Jewish Floridian. Ill eut coupon and mall to Circulation Dee*.. M.P.0. Box 2973, Miami, Flo. fE Friday, December 2, 1966 LEGAl NOTICE vj-pnlst Flnr/ldfon Page 15 NOTICE UNDER FICTITIOUS NAME LAW NOTICE IS HEREBY GIVEN thai . lei signed, rtesii In* to engage 111 Under till- fictitious linlllcs DREAMBOAT; SEVEN SEAS i iREAMBl 'AT, al Pli r 8. I'.a} lloMl Marina, Miami, Florida; int.mi register said names with ihe Clerk the Circuit Court <>f Bade County, : rida. DREAMBOAT LINKS INC. Bj: UENE s.Mirii, President Itest: FRANK .1. URBAN, Secretary \RONOVITZ, silver f, scilER " vttorneya for Dreambosl Lines Inc < te '"' \ iii.-i.-y Building Miami, Florida 33131 11/11-18-25 II I PICO, PI No \ THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CiRCUlT IN AND FOR DADE COUNTY, FLORIDA, IN CHANCERY NO. 66C11922 NOTICE BY PUBLICATION tElNALDo Pico, Plaintiff, V8, AEMK.s MARCELA PINO <1 i tefendant. I'U: CARMEN MARCELA da PICO Manuel Landa 31 Culm da Melena Havana, Cuba YOU ARE HEREBY notified dial , Complaint fur Divorce has been filed agalnsl you, and you are here- ...v required to serve a copy of your answer to the Complaint on the Plain- tiffs attorney, LESTER ROGERS, whoso address is wj N.W. nth Street, .Miami. Florida, and file the original of the Answer In the office .1 the Clerk of the Eleventh Judicial circuit In and for I hide County, Flor- ida, on or liefore the. l.'.th da} of I'. .ember, RIDS, in default of which ihe Complaint will he taken as con- : Ksed hy you. BATED this 4th day of November, E B. LEATHERMAN Cl. rk ..i the circuit Court lb ; c. P. COPBLAND 11/11-18-23 12 .' BY HENRY LEONARD "And when your Ma and I argue, Haskelenever interfere. It's the only pleasure we still have left!" u\. LEGAL NOTICE iN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT OF FLORIDA IN AND FOR DADE COUNTY, IN CHANCERY No. 66C12712 NOTICE OF SUIT III E WILLIAMSBL'RUH SAV1NOS BANK Plaintiff, vs. .!< iHN i LaFi tNTAINE, .-i I >< i. ndanls. i'| >: John .1. LaFontaine and Bonnie LaFontaine, his wife, HIT Jania Avenue Akron, iiiii.i You are hereby notified thai the shove captloned action lias been In- stituted against you in Ihe Clrcull Conn of the Eleventh Judicial c r- cull of Florida In and for Bade Coun- ty to foreclose a mortgage upon the following described real property: I...I IS Block 53 CORAL, PARK estates SECTION ".. according to the Plat thereof, rei urdeil In Plat Book 88 Page :.| ..i the 1.....- lie Records of Dude County, Flor- Ida Von an- required to file a respon- sive pleading to the plaintiff's com- plaint .v |th the Clerk of the aforesaid Court, ami serve a copy thereof upon plaintiff's attorney. MARTIN KINK, Had.- Federal Hull.Iin;. Miami, Flor- ida 33131, imc later than Beceinliei 80th, I960, or a Decree Pi.. Confesso will be entered against von. DATED November 28, 1968, B. B. LEATHERMAN Clerk of the Circuit Court By C. P. COPBLAND Deputy Clerk MARTIN FINE Dade Federal Ruilding Miami, Florida 38181 12/2-9-16-2S ATTENTION ATTORNEYS? solicits your legal notice*. We appreciate youi patronage and guarantee; accurate service at lego) rates . Dial Fit 3-46M tor messenger let tJQf LEGAL NOTICE LEGAL NOTICE IN THE COUNTY JUDGES COURT IN AND FOR DADE COUNTY, FLORIDA, IN PROBATE No. 72886- B In RE: Estate of EDITH Sr.vKLE TOKSTAD, .. k a EDITH S. TOKSTAD I deceased. NOTICE TO CREDITORS in All Creditors and All Persons I laving Claims or Demands Against - dd Betate: You are hereby u d to pi --.lit notified and any claims and i. nianaa which you may have agalnsl Uie -state of EDITH SEA RLE TOK- STAD, a/k/a EDITH S. TuKM'.lli l.ieaaed late of Hade County, Plor- Ida, to the Counts radges of Hade I'ounty, and file the same in dupli- te and as provided in Section 733.18, ! rlda Statutes, in their offices in Hie County Courthouse In Hade 'uuiltyj Florida, within six calendar ....."His fr..... ihe time of thi first inibilcoUon hereof, or the same barred. Dated at Miami, Florida, this lay of November, A.D. 1888. SAN FORD S. FAUNCB As Executor \CNCi:. FINK & PoRMAN \ttorneys for FSxecntor I.1U2 Congress Building, .Miami. Kla. 11/18-31 12/8-9 will 15th NOTICE OF WAREHOUSEMAN'S SALE NOTICE IS HEREBY U1VEN that hy virtu.- of Chapter 878, of Florida Statutes Annotated (HMD. Ware- housemen and Warehouse Receipts, wherein Ace-RB. VAN LINES, INC., a Florida corporation, by virtue of Its warehouse lien, has In its possession the following described property: Household Hood-, as the property of Alex Mackey, 1918 N.W. 5th Pli...... Miami. Florida, and that on the 18th day of December, 1986, during the legal hours of sale, mainly between 11 :tm lor.-noon and 2:00 in the after- noon, at 3138 N.W. 34th Avenue, Mi- ami, Florida, the undersigned shall offer for sale to the highest bidder for .-ash in hand the above described .....perty of Alex Mackey. 1912 N.W. Ill Place. Miami, I- oral.. Hated at Miami. Florida, tills 2Sth day of October, 1908. ACE-R.D. VA-N I.INKS, INC. n/2.1 u : NOTICE BY PUBLICATION IN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT IN AND FOR DADE COUNTY, FLORIDA, IN CHANCERY No. 66C12002 SUIT FOR DIVORCE i'MMPIA ROSA M. LoSADA Plaintiff vs. |SABINO LOSADA Defendant |TO: s'ARINo L08ADA 9i."iV4 W, Sunnyalde Avenue Chicago, Illinois YoU, 8ABINO LOSADA, are hereby "tilled that a Hill of Complaint for ivorca has lurn filed against >ou, nd you are required to serve a cop) ' your Answ.r or Pleading to the :l! ,.f Cmnuiaint on the Plaintiffs itornepj CUTLER EFRonsox, "-' Alnsley Bldg., Miami, Florida !'-. and file tin- original Answer or 'leading in the office of the Clerk I 'he Circuit Court on or before the Win day of December, 1966. If you il to do so. Judgment l.y default ml t.e taken against you for the lief demanded In the Bill of Com- atnt. This nothe shall bo published once Itch week for four consecutive weeks THE JEWISH FI-OKUH.YN. DONE AND ORDERED at Miami, I'.ri.la. this 7lh day of November. H. 1966. E. B. I.KATHKRMAX, Clerk. |< ireult Court, Dade County, Florida el) By: MARODKRITE KENT _ lleputv Clerk 11 TI.KR KFRONSON 12 Alnsley Bldg. Ilaml, Florida 83132 377-9685 ______________________U/H-18-2S 12/2 .THE CIRCUIT COURT ^FThI ELEVENTH JUDICIAL CIRCUIT .OF FLORipA IN AND FOR IDAOE COUNTY, IN CHANCERY No. 66C12138 NOTICE BY PUBLICATION (ART I AW SON, IPlalnUff, I'l.N C. LAWSON, npefendanL JOHN c. [jAWSON Residence Unknown poif ARK HEREBY NOTIFIED t a Complaint for Divorce, has filed against you and you are aulred to flic your answer thereto h the Clerk of this Court and fve a copy upon Plaintiffs Attor- , MAX P. ENGEL. 1700 N.W. 7th ''t. Miami. Florida on or before -'dth day of December, 1986, else lUecree Pro Confess., will be ell- " against you. ated this loth day of November, E. B. LEATHERMAN Clerk of the Circuit Court By K. M. t wi \n- ,.,,.. Deputy Cl.rk I'.1.1. AND lin I. ,i K 'in.vs for Plaintiff 1 N.W, 7'h .Street .ml, Florida | MAX P. BNGEIj "" 11/18-20 12/2-9 NOTICE UNDER FICTITIOUS NAME LAW Notch; is HEREBY OIVEN that the undersigned, desiring to engage in business under the fictions names or DE8TEX DRY-CLEANER, DES- TEX SHAMPOO, & DESTEX MOTH-KILLER A- DRY CUBANER, ut 7340 N.W. 22nd Ave., .Miami, Flor- ida, Intends to register said num. s with the Clerk of the Circuit Court of I'.ut IVmnty, Florida. ROBERT CASTORO U/2:i 12/2-9-11 NOTICE OF WAREHOUSEMAN'S SALE NOTICE IS HEREBY OIVEN that b) virtue of Chapter 678, of Fiorina statutes Annotated (1941), Ware- housemen and Warehouse Receipts, wherein Ace-RB. VAN DINES. INC., a Florida corimration. by virtue of its warehouse lien, has in its possession the following described property: Household Goods as the property of I. DEMTS, 2211 N.W. 71st Street, Miami, and Care of Joshua D.-nits, Til Pe.ichtiee Street, ltuffalo. N.Y., and that on the 16th day of December, 1988, during the legal hours of sale. mainly between 11:00 fore......n and 2:00 in the afternoon, at 2138 N.W. 21th Avenue, Miami, Florida, the un- dersigned shall offer for sale to the highest bidder for cash In hand the above described property of 1. DEMTS. 2211 N.W. 71st Street, Mi- ami, an Care of J.islria Dcints, ," Peachtree Street Buffalo, N.Y. Dated at Miami. Florida, this 2Mb day of October, 1966 ACE-R.B. VAN LINES, INC. 11 25 12/2 LEGAL NOTICE IN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT IN AND FOR DADE COUNTY, FLORIDA, IN CHANCERY No. 68C12235 NOTICE BY PUBLICATION MARIA ELENA ROS de GONZALEZ, Plaintiff, vs. ANDRES ALBERTO GONZALEZ, I'. fendant. TO; ANDRESADBERTOGONZALEZ Call.- G 31580 (altos) 1 litre 23 y L'". Vedndo, llah.ina CUBA SOU ARE HEREBY notified that a Complaint for Divorce has been filed against you, and you are her. by required to serve a copy of your answer to the Complaint on the Plain- tiff's attorney. LESTER ROGERS, whose address Is 899 N.W. 1 itli Street, .Miami, Florida, and file the original of the Answ.-i in the office of the Clerk of the Eleventh Judicial Cir- cuit in and for Dad.- County. Flor- ida, on or before the 23rd day of December, 1968, in default of which the Complaint u ill be taken as con- fessed by you. DATED this llth day of Nov.in- h.-d, 1968. K. B. LEATHERMAN Clerk of the Clrcull Court By K. M LYMAN Deputy Clerk 11/18-2.', 12/2-9 NOTICE OF SUIT OR ORDER OF PUBLICATION IN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT OF FLORIDA IN AND FOR DADE COUNTY. IN CHANCERY No. 66C12689 SUIT FOR DIVORCE illARI.OTTE WASSERMAN Plaintiff, vs. HARRY WASSERMAN. Defendant. TO: HARRY WASSERMAN 1488 Golden Gate Mavfleld Heights, Ohio YOU, HARRY WASSERMAN. arc hereby notified that a Bill of Com- plaint for Divorce has been filed agalnsl you. and yon ar.- required to serve a copy of your Answer or Plead- ing to the Bin of Complaint on Plain- tiffs attorneys, caidin. rotiien- liERG, I.KI.CIICK *;- SCSSMAN. 805 His. a\ in- Building. Miami, Florida, and file the original Answer or Plead- ing in the office of the cl.rk of the Circuit Court on or before the 80th day of December, 19(6. If yon fail to do so. Judgment by default will be tak.n against you for the relief di man.led in the Pill of Complaint. DONE and ORDERED at Miami. Florida, this 2Mb day of November, I9(iti. E B. LEATHERMAN Clerk. Circuit Court Iiside County. Florida (Seal) P.Y. K. M LYMAN Deputy Clerk ______ ____________ 12/2-0-16-23 I IN THE CIRCUIT COURT OF THS ELEVENTH JUDICIAL CIRCUIT OF FLORIDA IN AND FOR DADE COUNTY, IN CHANCERV No. 66C 12016 (Schulz) NOTICE OF INTENTION TO APPLY FOR CHANGE OF NAME IN RE: PETITION OF: RICHARD ALAN KWATCHER Notie. is herebj given that RICH- ARD AI.AN KWATCHER whose residence address is nin Nonnand) Drive, Miami Beach, Florida. Intends to a|.|.i\ to on.- of the Judges of II - Eleventh Judicial circuit, In And For Dade County, Florida, at Ills offlci in the Count] Courthouse., at 9:41 O'clock A M on Ihe 19th day of December 1966, or as soon thereafter as he may be heard, for an Order changing his nam. from RICHARD AI.AN KWATCHER to RICHARD AI.AN I'llRRIN DATED: At Miami. Dade County, Florida, this 9th day of November i * EDWARD WALTEKMAN Attorney for Petitioner 809 liis.ayne lliillcllng 19 \\". Fktgler Street Miami. Florida 33130 11 18-35 12 NOTICE UNDER FICTITIOUS NAME LAW NOTICE IS HEREBY GIVEN that tin undersigned, desiring to engage in business under the fictitious 11a..... of BITRGER CASTLE OF CORAL GABLES at 2350 Douglas Road, Coral Gables, Florida, intends to register said name with the Cl.rk of Ihi Cir- cuit Court of Dade County, Florida ERA N KS-i; EOR< i E. INC., a Florida corporation, By: KENNETH FRANKS As President ALLEN KORNBLI'M Attorney for Applicants 101 E. Flagler Street, .Miami, Fla. _________________11/2:. 12/2-9-16 IN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT IN AND FOR DADE COUNTY, FLORIDA, IN CHANCERY No. 66C12049 NOTICE OF SUIT THE W1E1.1AMSBURG11 SAVINGS BANK Plaintiff, vs. ROHERT DARRELL COFFMAN, et ux Defendants. TO: ROBERT DARRELL COFFMAN and PATRICIA ANN COFFMAN, his wife c/o Mrs. Delhert II. Coffman Slssonville Road Charleston, West Virginia You are hereby notified that the above captloned action has been In- stituted against you In the Circuit Court of the llth Judicial Circuit of Florida In and for Dade County to fore.-low a mortgage upon the fol- lowing described real property: lx>t 24 In Block 1 of HIGH house SUBDIVISION accord- ing to the Plat thereof, recorded In Plat Book 59 at F.ige 62 of the Public Records of Dade COURty. Florida. You are required to file a respon- sive pleading to plaintiffs complaint with the Clerk of the aforesaid Court, and serve a copy thereof upon plain- tiff s attorney, MARTIN FINE. Did. Federal Building, Miami. Florida 83181, not later than De.ember 16, 1986. or a Decree Pro Confesso will be entered against yon DATED: Nov. 8, 19ri6. E. I! LEATHERMAN Clerk of the Circuit Court By: C I. ALEXANDER Deputy Clerk M \RTIN FINE I 'ado Federal Building Miami, Florida 33131 11/11-18-20 12/2 NOTICE UNDER FICTITIOUS NAME LAW NOTICE IS HEREBY OIVEN that the undersigned, desiring to engage In business under the fictitious name of MR. "K" at 1633 Michigan Avenue. Miami Reach, Florida. Intends to reg- ister sa.i name with the Clerk of the Circuit Court of Dad.- County. Florida EVELINE KENNARD, Owner UOTTHARDT, CHRISTIE & HHBPARD Attorneys for Eveline Kennard, ' iwner __________ ______ 11/25 12/2-9-16 NOTICE UNDER FICTITIOUS NAME LAW NOTICE IS HEREBY GIVEN that the undersigned, desiring to engage in business under the fictitious name Of MBDICAL CASE HISTORY RE- READ al ::::.' W, 29th street. Hlaleah, Florida, intends to register said name with the Clerk of the Circuit Court of Dude Cl.....ty. Florida. MIRIAM ICKSBNRR MYERS. KAPLAN .v PORTER Attorneys for Miriam Wessner 11.'* B.W. 1st Street Miami. Florida 33130 ________________11 11-18-2.'. 12 '2 IN THE COUNTY JUDGE'S COURT IN AMD FOR DADE COUNTY, FLORIDA, IN PROBATE No. 72983C In RE: Estate of MINNIE FARKASII D......ased. NOTICE TO CREDITORS To All Creditors and All Persons Having Claims or Demands Against Said Estate: You are hereby notified and re- ipiired to present any claims and demands which you may have against the estate of MINNIE FARKASII ibs-.ased late of Dad- County, Flor- ida, to the County Judges of Dade County, and file the same in dupli- cate ami as provided In rlectlon 733.16. Florida Statutes. In th.ir offices In Ihe County Courthouse in Dade Coun- ty. Florida, within six calendar months from the time ..r the firs' publication hereof, or the same will be barred. Dated al Great Neck, N.Y.. this 2tith day of November, AD. 1966. MII.T. IN SHERR As Administrator hirst publication of tins notice on the 2nd day of December, 1966 SMITH .1- MANDLER Attorneys tor Administrator 407 Lincoln Road Miami Reach, Florida 12/2-9-19-28 NOTICE TO DEFEND or ORDER OF PUBLICATION IN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT OF FLORIDA, IN AND FOR DADE COUNTY. IN CHANCERY No. 66C12085 SUIT FOR DIVORCE PHYLLIS I. SCHWARTZ Plaintiff, vs. GILBERT C. SCHWARTZ Defendant. TO: GILBERT C. SCHWARTZ . 0 P, Schwarts 7521 North Sheridan Chicago, Illinois Y..11. GILBERT C. SCHWARTZ. tire hereby notified that a BUI of Complaint for Divorce has been I lied against you, and >011 are required (" serve a copy of your Answer 01 Pleading to ihe Bill of complaint on Ihe Plaintiffs Attorney, BOL ALEX- ANDER One Lincoln Road llulldlng. Miami Reach. Florida, and rile the original Answer ..1 Pleading In ihi office of the Clerk of the Circuit Com t on or before the 1 ltd day of December, 1966. If you fall to do s.., Judgment by default will be taken agalnsl you for Ihe relief demanded in the Rill of Complaint. This notice shall be published one. each week for four consecutive weeks in THE JEW ISII FLi IR1DIAN, DONE WD ORDERED at Miami, Florida, this 9th day of November, A.D. 1966. E. B. LEATHERMAN, 1 'lei k. i 'Ireult Court. Dad.* County, Florida, iSe.,1) By L. SNEEDEN Deputy Cl.rk. 11/11-18-21 12/2 NOTICE UNDER FICTITIOUS NAME LAW NOTICE IS HEREBY GIVEN ih.it the undersigned, desiring i" engaji in business under the fictitious nan of HARRY .1. DELL ASSOCIATES al ::>'. N.W. Tth Street, Miami, Flo Ida 3312a, intends in register nanie with the Clerk of the C Com 1 hi Dai.- County, Florida FOREIGN MARKET SERVICES INC By HARRY .1. DELL WILLIAM I GOLDWORN Atlorile) loi For. Ign Ms 11.. 1 Services, |nc ll/lh-2."i 12 IN THE COUNTY JUDGES COURr IN AND FOR DADE COUNTY FLORIDA. IN PROBATE No. 71751-C In RE: Estate of HARRY BELFORD Dei .ased. NOTICE TO CREDITORS To All Creditors and All Persons I temands Again -\ notified and re any claims an-* mayvhave again.--' Having Claims Said Estate: You ure hereby quirt demands which you the estate of HARRY HIM.Ford, de- ceit ..1 late of Dude County, Florida to the County Judges >i Dade Coun- ty, and tile tlie same In duplicate mil as provided in Section 738.16, Plot la Statutes, in their offices in the county Courthouse in Dade County, Florida, within six calendar months from the time of the first publication hereof, or the same will be barrel Dated at .Miami, Florida. Gils lln. day of November, A.D. 1966. CHARLOTTE FIRMAN As Executrix Fii.-i publloutl....... 'ids notice the Dth day of November, 1966. MARK! YA KERNICK Attorney for rJxecutrlx 120 Lincoln Road. Miami Beach II D- 25 12 2 NOTICE BY PUBLICATION IN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT IN AND FOR DADE COUNTY, FLORIDA. IN CHANCERY No. 66C12S08 SUIT FOR DIVORCE JOSE LOPEZ-TR1UO Plaintiff, vs. CARMEN LOPEZ-TRIOO Defendant. TO: CARMEN LOPEZ.TRIG'! 6128 97 Street Apt. 4F It.-go I"nrk, New York you are Hereby notified that a Rill of Complaint for Divorce has been filed agalnsl you and you are required t" file an Answer or PI.-ading with the clerk of this Court and to s.rve a copy on JACK I. KING, Attorney for Plaintiff, Suite 216, 11.10 8.W. 1 Si Mi.mi. Florida, on or before the 3mh ilav of Decem- ber, Haiti or a default shall be en- tered against you. this NOTICE shall I..- published once each week for fopr consecutive weeks iii The Jewish Dlnridinit, DONE and ORDERED at Miami. Dad. County, Florida, this l'1-l da) of November, 1966. E. B. LEATHERN \\ (!lerk of Ihe tin '" 1 I lade '..uiity. Florida By K. M I.Y.MAN I l.-piKV JACK I. KING 1130 S.W. 1 Si 1. el Miami. Florida 373-1507 I. rk 11,2". 12, !-:-1 li NOTICE BY PUBLICATION IN THE CIRCUIT COURT OF THE ELEVENTH JUDICIAL CIRCUIT IN AND FOR DADE COUNTY. FLORIDA. IN CHANCERY No. 66 C 5682 (Judge Cullen) SUIT FOR DIVORCE .11 IHNNIE L. JINKS, Plaintiff vs. ANNIE DELORJ38 JINKS, Defendant. TO: ANNIE DELORES JINKS, Defendant 1421 H.lmont Street, N.W. Apt. i Washington, D.C. 20009 You, ANNIE DEL'.RES JINKS, al hereby notified that a Rill of Com- plaint for Divorce has been (lied against you. and you are required I s.-rvn a copy of your Answer or Pleading to the Rill df Complaint on the Plaintiffs attorneys, LEVEY LRVEN.STEIN *. S1RKIN, ?'>! Alns- ley Riiiid.nu. Miami, Florida 88183 and file 'the original Answer or Pleading in the office of the Cleric of the Circuit Court on or before tlv 1 litri day of December. 1966. If you fail to do so. judgment by default will he taken against you for the re- lief dvmauded in the Hill of Com- plaint. This notice shall be published one each week for four consecutive weeks in THE JEWISH I'l.oRlDIAN. DONE AND ORI.ERl.iD at Mian, Florida, this 8th day of November A.D. 136ti. E. B. LEATHERMAN, cl.rk. circuit Court, Dade County, Florida (Seal) Bj C. P. COPBLAND I eputy 1 l.-rk LEVEY, LEVENSTi:iN,'fc SIRKIN '.''.' Alnsley Building Miami. FI01 Ida 23132 ______________ Ft 11-18-25 12 . NOTICE UNDER FICTITIOUS NAME LAW NOTICE IS HEREBY tMVEN that Ihe undersigned, d. It ln to en '" buslm 11 nd. r the fictitious nan. of MARIES GRAND WENI'E MAR KET at L'.il Grand Avel...... Co flabl) S, 11,ends I.. regl I. p -aid nan with the ci.ik of ihe Circuit Com ol Dad. CoilUty, Florida. MARIE liny GWOOK II, I1-1S-20 12, 1 Page l&C -Jmtsti nrrHian Friday. December 2. 1966 WISHING ALL OF OUR FRIENDS A... \ efj^iwStMk **-74 processed at: 4/3/2013 4:00:56 AM 4/3/2013 4:00:56 AM - 4/3/2013 4:00:56 AM Item title is required but not supplied! 4/3/2013 4:00:56 AM -
http://ufdc.ufl.edu/AA00010090/01974
CC-MAIN-2014-15
refinedweb
63,756
65.32
We're testing Atmos using the v1.3.2 Evaluation Edition (Atmos-in-a-box) available from this developer portal. We are particularly interested in coordination between the REST and CIFS interfaces. We'd like to ingest data through REST yet make it visible to clients through the CIFS namespace interface. We are able to write and read files directly through the CIFS interface without issue. However, when we use the Ashish's Atmos Browser to store an object vvia REST we can see the file through CIFS using Windows Explorer but we always get a permissions error when trying to open the file via CIFS. One interesting bit of information is that the files written using CIFS show object metadata uid/gid of 99/99 and the REST-written objects show uid/gid properties of <username>/apache. Thanks for any input. Solved! Go to Solution. Hi Mike, Sorry, I had the grant wrong. Change it to this: acl.addGrant(new Grant(Grantee.OTHER, Permission.FULL_CONTROL)); Hi, Atmos doesn't support this as user authentication for REST is different than that of CIFS. Is there a compelling use case for this functionality? Thanks, Vinay Hi Vinay - Thank you for responding. Just to clarify, you're stating that: - objects written using the REST API using the /rest/namespace endpoint cannot be accessed via the CIFS interface - in order for a file to be accessible from the CIFS interface, it must be written to the Atmos system via CIFS Regards, Mike Mike, When you create your object through the REST interface, you can set the x-emc-groupacl public=FULL_CONTROL. That should allow the file to be read through CIFS. Hi Jason -Thank you for the reponse. We've tested the following code (using the Java bindings):EsuApi cesu = new EsuRestApiApache("host", 80, "user", "sharedSecret");UploadHelper helper = new UploadHelper(cesu);Acl acl = new Acl();acl.addGrant(new Grant(new Grantee("public", Grantee.GRANT_TYPE.GROUP), Permission.FULL_CONTROL));ObjectId id = helper.createObjectOnPath(new ObjectPath("/test/file.txt"), new File("/root/file.txt"), acl, null);System.out.println(cesu.getAcl(id).toString());The output from this snippet is "[user=FULL_CONTROL, other=NONE]".Unfortunately, the file is still not readable via CIFS. Looking through the Java bindings source,it appears that the correct HTTP header is being sent to Atmos.Are we doing something wrong?Best Regards,Mike Message was edited by: mfh (for formatting) Hi Mike, Sorry, I had the grant wrong. Change it to this: acl.addGrant(new Grant(Grantee.OTHER, Permission.FULL_CONTROL)); Hi Jason - Thank you very much, that worked! We can now access the namespace-written content through CIFS. Best Regards, Mike
https://www.dell.com/community/Atmos/Atmos-EE-1-3-2-REST-CIFS-Interface/m-p/6756624/highlight/true
CC-MAIN-2019-39
refinedweb
440
50.84
I understand your point. But this is a warning window! And it needs to be shown on top of the Window that called it! So even if you have multiple monitors, it will only be displayed on the monitor... Type: Posts; User: marcelo.br I understand your point. But this is a warning window! And it needs to be shown on top of the Window that called it! So even if you have multiple monitors, it will only be displayed on the monitor... Thanks for trying to help, but this calculation you didn't know how to do! left and top could never be ZERO because the main window would never be in this position! I managed to solve the problem... Left and Top are already zero. I already do that to calculate the Desktop Center! I calculate based on the Desktop Screen Size, but the Desktop screen does not change its x,y position. I need to... I can calculate how to center a window on the desktop screen. But I'm not able to center a window inside another window! That's because the Window can be in any position on the Screen. Does... Thanks for responding! Thanks for Link, I'm sure it'll be useful, because I'll test it! It has old sources in Delphi and it would be nice to see them on Linux. But at the moment my focus is C and... Thanks for answering, but I have no questions to ask for wxWidgets, since what I informed about my discontent, there is no solution, nor did I report all the problems I encountered with this... I'll try to explain my problem, I hope you understand! I'm new to programming in C and C++. In the past I programmed in Delphi when I used windows! When I programmed in Delphi, the IDE provided... I know it's out of the focus of my question, but I'd like to understand from the example you gave above why you used bits/stdc++.h Notice that in my example I used #include <iostream> #include... Yes, I am trying to understand, and it seems that the answer is that it is not possible to use std::string, the way I would like. I just really want to be sure. What's your answer to that? Is it... I'm trying to understand your explanation So far I just understood that you inform me that I would be deleting the content that String received on strftime And that I wouldn't have space in the... That way I know how to do, what I wish is to know or to be able to convert the std::string into the strftime I didn't understand what you meant. If I put inside strftime a variable char, the strftime passes to my variable the date/time formatted. But I'm not getting this when I use std::string And... I'm trying to make strftime accept a std::string. I want to know if it's possible or not to do this conversion! OBS I want to alter only strftime In the example I did below, he... Thanks for the info, they are very useful! I'm sorry, that was a lack of attention! I know the difference between C and C ++ and I believed I was even posting to the wxWidgets forum itself. Thanks for correcting by moving the topic! Why put the word "Virtual" If it works without it? What does it mean "Virtual" ? #include <wx/app.h> #include <wx/frame.h> class FrmMain: public wxFrame { public: FrmMain():... I believe I could understand your example now. It helped a lot! size_t size = sizeof List / sizeof List[0]; printf("%d\n", size); Firstly thank you very much for your reply. I liked the idea you gave! It's just that I believed the NULL or \0 element already existed in Struct. I have tried many times unsuccessfully to locate... #include <stdio.h> struct DbNames { char Names[5]; }; int main() { struct DbNames List[] = { {"A"}, {"B"}, {"C"} }; } I just fixed the word Buffer. Here compiled in trouble. I use Linux, Slackware64-Current. Thanks for the code, information is never too much.:rolleyes: Beautiful Phrase!:) Congratulations for the initiative! Continue with the project because that way you help others who wish to learn more! I have tested here, compiled and created a text and it worked!:) I made the code below to join a printf string, because I will use this variable later! I would like to know if there is a better way to do what I did below! #include <stdio.h> #include...
https://cboard.cprogramming.com/search.php?s=f39d185a726e7856f46f4d352b66f14d&searchid=5966375
CC-MAIN-2020-40
refinedweb
775
76.72
Table Of Contents Keybinding¶ This module forces the mapping of some keys to functions: - F11: Rotate the Window through 0, 90, 180 and 270 degrees - Shift + F11: Switches between portrait and landscape on desktops - F12: Take a screenshot Note: this does’t work if the application requests the keyboard beforehand. Usage¶ For normal module usage, please see the modules documentation. The Keybinding module, however, can also be imported and used just like a normal python module. This has the added advantage of being able to activate and deactivate the module programmatically: from kivy.app import App from kivy.uix.button import Button from kivy.modules import keybinding from kivy.core.window import Window class Demo(App): def build(self): button = Button(text="Hello") keybinding.start(Window, button) return button Demo().run() To remove the Keybinding, you can do the following: Keybinding.stop(Window, button)
https://kivy.org/docs/api-kivy.modules.keybinding.html
CC-MAIN-2017-22
refinedweb
144
50.02
General FAQ We recommend reading the Introduction and first few tutorials before you read this, it will help with understanding some of the concepts. Why create a new programming language? We believe that a language doesn't exist that offers the best combination of safety, security, performance, and ease of use for decentralized applications. Why doesn't Cadence support floating point arithmetic? Floating point is inherently approximate, and floating point implementations are frequently non-deterministic in common edge cases. All Cadence operations must be fully deterministic in order to ensure correctness. In most smart contracts, fractional values are more naturally represented as fixed-point values; fixed-point is mandated for most financial use cases, has well-defined accuracy limits, and has trivially deterministic behaviour under all standard mathematical operations. Cadence has changed since the last time I worked with it? What happened? Cadence is a programming language that is still in development and therefore will be going through many syntax and behaviour changes in the coming months. Early adopters need to be aware that this means that breaking changes and new features will be introduced periodically that might make your development experience slightly more challenging. We apologize for any inconvenience this causes and making sure that the language can reach a more stable state as soon as possible. If you have any opinions about features or changes to the language, we are happy to take your feedback on our public discord channel or forum. How does the network verify that the execution was performed correctly? Flow utilizes a new blockchain architecture that allows for decentralized computation that is verified by other nodes in the network. Execution nodes run the transactions and update the state and verification nodes use complex cryptography to verify that these were performed correctly. See the Flow node types documentation for more details. Is there a native currency on Flow? Yes, there will be a native currency, but it will be different from other blockchains in that it will be implemented as a smart contract the same as any other token in the network. A smart contract can import the FlowToken definition to use in contract or transaction code. See the flow fungible token repo for examples of how this would work. How are accounts created in Flow? Account are created by generating private and public keys, then submitting a transaction that initializes the account storage and assigns the keys. The account that creates the new account must provide a payment which is called the storage deposit to create the new account. See the Flow-SDK documentation for more context on this process. Which wallets can I use with Flow? Keep your eyes on the JS-SDK, something is coming very soon :wink:. How do we prevent Re-entrancy? Currently, there is no explicit protection against re-entrancy, but we are finalizing a specification and implementation that restricts the use of references within transactions so that potential re-entrancy bugs cannot be exploited. These protections will be enabled very soon. As only the public endpoint is a reference to the contract storage, can anyone access/read the contract code and verify it once published ? When a contract is deployed, all of its public types, fields, and methods are available for anyone to call. Of course, if the methods are declared as part of a Resource type, then you must have an instance of that Resource type in order to call those methods. In Cadence, almost all access control is managed through Capability-Based Security. Instead of restricting access based on “who you are” (via access control lists, or msg.sender), Cadence typically restricts access based on “what you have” (via Resource types and capabilities). As an example, if an Ethereum ERC-20 fungible token allows minting, it probably has a “minter address”, and only allows the mint() method to be called if (msg.sender == minter_address). In Cadence, you’d create a Minter resource object with a mint() method on it. Only someone with access to the Minter object could call mint(), and no further access controls are necessary. You control (or transfer) ownership of the Minter object instead of recording an authorized address. There is no modifier functionality as the security features are mostly covered by ownership mechanisms over resources, but are you planning to integrate modifier functionalities? We haven’t seen a need for modifiers since they are mostly used either as make-shift preconditions or for managing access control. Using Capability-Based Security for access control works very well with Resource Types, and we’ve found that it largely removes the need for modifiers. There is no indication regarding a low level machine language, will we be able to access assembly like language from inside Cadence? We are currently assessing possible VM architectures for Cadence, including the MoveVM from Libra. For now, Cadence is interpreted, which might seem like a potential performance problem, but isn’t likely to be in practice. Execution throughput of smart contract platforms is dominated by updating state proofs. For example, the current EVM has been benchmarked at over 10ktps, but validating the chain, including updating the state proofs, caps out under 100tps! We’ll be much faster at state proofs (by maintaining the entire state tree in memory on server-scale hardware), but we still don’t expect the code execution speed to be a bottleneck any time soon. How are transaction and contracts processed, and at what cost ? Are they compiled to bytecode? Is there a publicly available API endpoint (gRPC, JSON-RPC..) we can send the transactions to? The specifics of how gas is metered are pending the choice of VM architecture, which will also dictate the internal representation of the contract code. The Emulator that you have exposes a gRPC API. Cadence currently is an interpreted language but may use a compiler in the future. It’s not enough for the special status of Resource objects to only be enforced by the compiler though. The rules must be enforced while the code is actually being executed on-chain; it would be too easy for an attacker to use a compromised copy of the compiler that bypasses the rules that keep resources secure. Network congestion: if multiple users must deploy the same (N)FT contract, how will Flow scale? Users don’t need to deploy a contract to use it if a version has already been deployed. The contract that defines the type of a Resource object contains the code that manages that object. So, for example, even though the data structure that represents your CryptoKitty will be stored in your account, the only way for you to interact with that data is by calling the methods defined in the original smart contract. The Resource object includes a pointer to the original contract that defines it (as part of its type information). Why is a transaction split up into prepare, execute, post? Transactions are divided into three phases, prepare, execute, and - The preparephase is for removing objects from storage and assigning them to transaction-scoped variables. This enables statically verifying which assets a transaction can modify. - The executephase does not have access to account storage and thus can only modify the objects that were removed in the preparephase and call function on external contracts and objects. - The postphase is where the function can perform any condition checks to ensure that the actions were all performed correctly and the desired outcome was achieved. Transactions are split up this way primarily because by not allowing the execute phase to access account storage, we can statically verify which assets and areas of the signers storage a given transaction can modify. This ability can be used by wallets or applications that are submitting transactions for users to be able to clearly show what a transaction could be potentially altering. When submitting application-generated transactions, users can have more confidence that they aren't getting fed a malicious or dangerous transaction. As an example: This transaction could statically know that nothing besides functions that are exposed with the Provider interface will be called: import FungibleToken from 0x01 transaction { let receiverRef: &{FungibleToken.Receiver} // can statically know that the &Provider is the only // thing that is being removed from storage, so it is // all that can be used in the transaction prepare(account: Address) { let providerRef = account.getCapability<&{Provider}>(from: /public/Provider) } execute { let otherAccount = getAccount(0x03) let subscriptionRef = otherAccount.getCapability<&{Subscription}>(from: /public/Subscription) subscriptionRef.takePayment(providerRef) } // can check that the balance has not been decreased by more // than what the user would expect post { receiverRef.balance >= before(receiverRef.balance) - 10 } } How can an application or developer create accounts and do other actions in Flow? See the documentation for the Flow Client Library and SDK for tools that expose an API for account creation, contract deployment, transaction submission, and so on. These can be called from a command line or from within an application. We will also be providing tooling for applications to handle much of this functionality on behalf of users. What is the difference between Void and nil ? Void: is a type used to indicate that a function returns nothing. It is optional to include in a function definition. nilis a value that indicates the absence of a value. It is used primarily in optionals, types that can either represent a real value, or nothing. nilis the nothing case. What is the point of allowing multiple accounts to sign transactions? The main purpose of allowing multiple signers of a transaction is to be able to access their private account storage. Each account has a private [account.storage]() object that is only accessible within the prepare block of a transaction that is signed by it. If multiple accounts sign a transaction, then the transaction is allowed to interact with both of their storage objects. There are many different things it can do with this, including transferring arbitrary resources, accessing both of their private capabilities, and implementing multi-sig wallets that are built into the protocol. How would I upgrade a contract? Currently, the upgrading process for smart contracts is relatively basic. You can upgrade the functions in a contract by using the unsafeNotInitializingSetCode. This changes the code of the contract without running the init() function again. This is unsafe because you cannot change any of the storage fields in the contract, so if you try to change any of those fields or add new fields, it will break your contract. transaction { prepare(acct: AuthAccount, admin: AuthAccount) { acct.unsafeNotInitializingSetCode("%s".decodeHex()) } } The general idea is that as long as you control the private keys to an account, you can upgrade the contract code by deploying new code. This will be possible at launch, but it is still a risky process because you need to make sure that the new code is still compatible with resources in user's accounts. When you decide that you are ready for the contract to be immutable, you can simply revoke the keys to your account and the contract becomes immutable. In the early versions of Flow, the strict decentralization rules will not all be implemented, so upgrading is something that can be handled manually by conferring with the node operators, but the network will transition to a completely decentralized model after a few months and a more formal way of upgrading will be designed by then. What happens if a user wants to deploy a contract with the same name and code as one they have already deployed? Currently, it would just overwrite the existing contract in the account, but in the future we will support multiple contracts per account and are still designing the rules about contracts with the same name and code. How do I access block information like timestamp and block number in Cadence? Get the current block: fun getCurrentBlock(): Block Get a block at a given height: fun getBlock(at height: UInt64): Block? The block info is: struct Block { let id: [UInt8; 32] let height: UInt64 let timestamp: UFix64 } Can I generate random numbers in Cadence? As you are probably aware, generating random numbers in a blockchain environment is difficult. The completely open nature of the blockchain and execution environment means that an algorithm for generating random numbers is viewable by anyone. There also isn't a good source of entropy that isn't able to be cheated in every situation. Cadence includes an unsafeRand function that generates a random number that is pseudo-random, but not safe to use in every situation. We are also working on designing safer schemes to use in smart contract. How will an Oracle work in Cadence? Oracles can work in Cadence just like they do in other blockchain environments. You can make a smart contract that registers events and give an authorization resource to an account that an oracle can send transactions to to log off-chain events. Resources FAQs What is a central ledger and why it is a problem? Most smart contract languages in use today represent ownership using a ledger, where a single smart contract keeps track of the balances of all the users. This is an issue because the users don't truly have ownership of their assets, they don't have as much flexibility to dictate how they are used, and a single ledger as a central point of failure could bring down the whole system. Every account stores their own assets In Cadence we use resources to represent real assets. Resources are stored in a users account storage within the storage structure, which is a key-value store that is keyed by type. So we store an NFT resource type in the NFT slot. import NFT, createNewNFT from 0x42 transaction { main(signerAccount: Address) { // mint a new NFT let newToken <- createNewNFT() // save it to storage signerAccount.save(<-newToken, to: /storage/Token) } } But what if I want to store multiple objects of the same type? In your storage, you can specify any name for a storage slot. So a resource of type Token could be in /storage/Token or /storage/Unicorn or any other choice for that matter, as long as it isn't overwriting any other object in storage. Benefits to ease of use for resources Users don't always have to play by all the rules exactly how they are defined in the central ledger smart contract. They can create custom logic for their tokens even if the token type was defined by someone else. They can also define custom access control if they want other accounts to have different levels of access to their tokens. Because the ownership isn't mediated by a central contract, users can also transact with each other peer-to-peer without having to touch the central contract. Benefits to security If there is a vulnerability in the smart contract code, it would need to be exploited in every user's account, which takes time, effort, and money. In ledger style, that vulnerability would only need to be exploited once. Resources also are protected by Cadence's strong static type system to ensure that resources can never be duplicated or lost by accident or by malice. What is stopping someone from just creating a bunch of Vault resources out of thin air and having infinite money? Resource creation is restricted to the context in which it was defined, meaning that only code defined within the same contract as the resource can create new resources. This ensures that users can know up front what code will be able to create new Vaults and the restrictions that are put on that code. This is why the fungible token contracts define a function for creating empty Vaults that users can call. Why do arrays and dictionaries behave differently when they have a resource stored in them? If you want to store a resource within an array or dictionary, then that array or dictionary needs to have to same protections built into it that resources have, because it contains one! The array becomes a resource type and all the rules that apply to resource now apply to the array. We wouldn't want to accidentally lose or destroy a resource just because we put it in an array! On Ethereum, if I want to know what tokens someone owns, I call ownerOf() on all the tokens, and see which ones return the person in question. Can I call ownerOf() on Flow? It might help to step out and look at why the Cadence programming model is different: We want to enable different use cases. Let me give an example from something that hopefully most people here are familiar with: CryptoKitties! When you breed your CryptoKitties, you pay a birthing fee. That birthing fee is held in escrow by the CK smart contract until the Kitty is ready to be born, and then it's paid to whatever "midwife" comes along and calls the giveBirth() method (usually us!). This is a very "decentralized" solution, because it works when Dapper Labs' midwife service works, but it also has an incentive for someone else to come along and "pick up the slack" if we aren't there. If you look at the CK smart contract in Etherscan, you can see how much total is being held in escrow in this way (about 8.5 ETH at the moment). Now, because of the Ethereum ledger model, all of the ETH is mingled together, even though every bit of that Ether is conceptually attached to one of the 1066 pending births. The Cadence Resource model would allow us to attach each birthing fee to the Kitty it belongs to. Which isn't something the Ethereum ledger model allows. But when you have this flexible ownership model, where Resources can own Resources (who can, in turn, own more Resources), what does it mean to say "Who owns this token?" In the Ethereum ledger model, we can clearly say that the CK smart contract owns that 8.5 ETH, and then we leave it up to the CK smart contract to correctly divvy up that ETH per Kitty. But (secret shame time!) it turns out that the way we manage that birthing fee has a small bug in it: If we change the birthing fee, the updated fee retroactively applies to previously initiated births. In practice, we've only had to change the birthing fee a few times (in response to the crazy gas prices we helped to create!), but that miscalculation error is there, and we have to be pretty careful not to change the fee too abruptly because of it. If we used the Cadence Resource model, and that birthing fee was attached to the pregnant cat it is associated with, that bug would be impossible. And it would be impossible because the CK smart contract wouldn't own that fee; the cat itself would own that fee. So when you ask the question "Who owns these coins?", and those coins are attached to Sally's CryptoKitty, what should the answer be? The Kitty? Well, that's not an account. Surely the answer to "Who owns this?" should be an account. Should it be Sally? Well, Sally owns the cat, and the cat owns the coins, so that kind of seems correct, but Sally doesn't have any control over how those coins are spent. She can't get them out of her cat! So saying she owns them isn't really correct either. So how should we think about this then? First, we assert that we don't actually need to have an answer to "Who owns this?" for every asset in the system. Second, we observe that the real world collectibles (and finance!) work just fine without being ask "Who owns this?" for every single asset. Who owns the dollar bill with the serial number CDB3203795? Cash works just fine without being able to answer that question! Finally, we note that the reason we have to ask "Who owns this NFT?" in Ethereum is due to the fact that Ethereum has such tight gas limits that we can't ask efficiently ask the more natural question: "What NFTs does this person own?" (The original draft of ERC-721 included a method called tokensOfOwnerByIndex(owner, index), but it was impossible to implement efficiently in Solidity, so it was scrapped in the final version.) In Cadence, you ask what I consider to be the more natural question: What tokens do you own? We ensure that asking that question is efficient and for the vast majority of use cases, this is the question we actually want to ask! I assume that OpenSea works just like CryptoKitties does: We ask the blockchain "Who owns this NFT?" a million times and cache (or filter) for individual owners, because there is no way to directly get a list of tokens by owner. So, we then might ask the question: Okay, I can get a list of all of my NFTs, or I can query a list of all of Sally's NFTs, but if I have an off chain cache of this ownership data for efficiency reasons, how do I know when that list has changed or not? The standard mechanism for holding your NFT collection is to have a Resource object which represents your collection, and it posts an event whenever an NFT is added or removed from that collection. So, if you run a website that Sally uses to look at her NFT collection, you just watch for events announcing NFTs moving in and out of her Collection, and you'll always be up-to-date. It's true that an NFT might leave her Collection and end up somewhere else (maybe not even in anyones Collection!), but that doesn't change the fact that you have an accurate and up-to-date reflection of Sally's Collection without having to re-query it each time. Capability Security FAQs Why does Cadence not check msg.sender for access control purposes? In Solidity a common form of access control is to have a allowlist of addresses stored in the contract that can access certain methods or fields. When these methods are called, the contract checks to see if the caller is in the allowlist of addresses that are allowed to access it before allowing the method to execute. // Solidity function transfer(kittyId: uint, newOwner: address) { // checks to make sure the caller is authorized // before transferring ownership if (msg.sender == kitties[kittyId].owner) { kitties[kittyId].owner = newOwner } } In Cadence, this is possible, but not necessary because Cadence uses Capability security, which is a form of access control that states that nobody is allowed to access an object unless it has a specific reference to that object. So instead of adding an address to a list of authorized addresses in the contract, a reference to the contract can be given to the authorized addresses. To those who don't own the reference, it is as if the object doesn't even exist. It is not even required to checking who the caller is because a unauthorized caller could not even have the ability to see, let alone call the function. How are references created and distributed? See the "Capability-based Access Control" section of the language spec or one of the tutorials for a run-through of how capabilities and references are created. Why capabilities cannot be forged: Capabilities to an object can only be created by the account that owns that object. This is because objects in account storage are only allowed to be accessed by the account who owns it. Therefore, it is impossible for an external account to access another account's object or to create a capability to it. From their perspective, it doesn't exist. How this differs from Ethereum: With these tools, we no longer have to use msg.sender and an allowlist to enforce access control on our objects and contracts. The language itself enforces the access control and users only have to give references to code that they trust. Why does private even exist if someone has to always create a reference to make something public? Private is still necessary because the contract creator might want to define fields that are completely private. Completely private fields cannot even be accessed through interfaces, only code within the same context as the private field can access it.
https://docs.onflow.org/intro/FAQ/
CC-MAIN-2020-45
refinedweb
4,073
60.85
Unity provides a cross platform game development environment for developers. Developers can use C# language and/or JavaScript syntax based UnityScript for programming the game. Target deployment platforms can be switched easily in the editor. All core game code stays same except some platform dependent features. A list of all the versions and corresponding downloads and release notes can be found here:. Unity basic editor will look like below. Basic functionalities of some default windows/tabs are described in the image. There is a little difference in menu layout of linux version, like the screenshot below, Create an empty GameObject by right clicking in the Hierarchy window and select Create Empty . Create a new script by right clicking in the Project window and select Create > C# Script . Rename it as needed. When the empty GameObject is selected in the Hierarchy window, drag and drop the newly created script in the Inspector window. Now the script is attached to the object in the Hierarchy window. Open the script with the default MonoDevelop IDE or your preference. Basic code will look like below except the line Debug.Log("hello world!!"); . using UnityEngine; using System.Collections; public class BasicCode : MonoBehaviour { // Use this for initialization void Start () { Debug.Log("hello world!!"); } // Update is called once per frame void Update () { } } Add the line Debug.Log("hello world!!"); in the void Start() method. Save the script and go back to editor. Run it by pressing Play at the top of the editor. Result should be like below in the Console window:. Tabs can also be detached from the Main Editor Window and arranged into their own floating Editor Windows. Floating Windows can contain arrangements of Views and Tabs just like the Main Editor Window. When you’ve created an editor layout, you can save the layout and restore it any time. Refer to this example for editor layouts. At any time, you can right-click the tab of any view to view additional options like Maximize or add a new tab to the same window. You can save the layout of your tabs and windows to standardize your work environment. The layouts menu can be found in the upper right corner of Unity Editor: Unity ships with 5 default layouts (2 by 3, 4 Split, Default, Tall, Wide) (marked with 1). In the picture above, aside from default layouts, there is also a custom layout at the top. You can add your own layouts by clicking "Save Layout..." button in the menu (marked with 2): You can also delete any layout by clicking "Delete Layout..." button in the menu (marked with 2): The "Revert Factory Settings..." button removes all custom layouts and restores default layouts (marked with 2). Unity.
https://riptutorial.com/unity3d
CC-MAIN-2019-04
refinedweb
453
66.33
02 April 2012 16:49 [Source: ICIS news] HOUSTON (ICIS)--Dow Chemical plans to close four plants in ?xml:namespace> Dow Chemical said the move is primarily a response to “continued weakness in the European economy”. The measure is expected to result in the elimination of about 900 jobs and will be implemented over two years.Dow will shut down plants that produce STYROFOAM insulation products in Dow will also close its toluene diisocyanate (TDI) plant in In addition to the plant closures, Dow will consolidate certain other assets in its polyurethanes (PU) and epoxy businesses over the next two years, it said. Dow also said it would cancel "a selection of capital projects". Company spokeswoman Rebecca Bentley told ICIS these cancellations would primarily affect western Europe, where Dow sees "ongoing volatility and headwinds". Bentley added that the cuts would not affect Dow's invesment plans on the US Gulf coast. "We are very committed to the growth programmes we announced, our investments on the US Gulf coast, and we are moving forward full steam ahead," she said. She added that Dow decided to permanently close the TDI plant in Brazil because that plant has a relatively high cost and low profitability. The closure of the STYROFOAM plant in Illinois is related to weakness in the US construction market, she said. Dow Chemical would ramp production at a sister plant in New Jersey to cover the markets supplied by the Illinois plant, she said. Dow will take charges of about $350m in the first quarter for asset impairments and write-offs, severance and other costs related to these measures.
http://www.icis.com/Articles/2012/04/02/9547022/dow-to-close-four-plants-cut-900-jobs-amid-weak-europe-economy.html
CC-MAIN-2014-52
refinedweb
269
57.71
Kubernetes Blue-Green Deployments Working Example Contents Introduction Prerequisites Creating a Kubernetes Cluster in IBM Bluemix Create Hello World Containers Creating UrbanCode Deploy Components Creating an UrbanCode Deploy Application Allowing UrbanCode Deploy to Access Bluemix Deploy Load Balancer and First Version of the Webpage Verify the Application is Running Importing Container Version Information Deploy the Second Version of the Webpage Update the Load Balancer Deploy the Third Version of the Webpage Update the Load Balancer Again Conclusion Introduction You may have heard how UrbanCode Deploy simplifies the management of Kubernetes blue-green deployments. If not, read this article and watch this video: This document will walk through setting up the working example of a Kubernetes blue-green deployment on IBM Bluemix seen in the video above. Prerequisites UrbanCode Deploy version 6.2.2 or later with the following plug-ins installed: - Kubernetes version 9 or later - Docker Registry (a source config plug-in) version 18 or later - Docker version 5 or later The following templates should be installed to UrbanCode Deploy. Templates may be found on GitHub in the UrbanCode Deploy templates repository. Other requirements: - An IBM Bluemix account (Note: you must be able to create a standard Kubernetes cluster. Trial accounts do not have the ability to create standard Kubernetes clusters). - The Bluemix CLI - The Kubernetes CLI - Docker with a Docker ID (must be able to access Docker Hub) - An UrbanCode Deploy agent should be installed on the machine where the Bluemix CLI and Kubernetes CLI have been installed. Creating a Kubernetes Cluster in IBM Bluemix Let’s start by creating a standard Kubernetes cluster in IBM Bluemix. Please note that trial accounts are not able to create standard clusters. - Login to the IBM Bluemix website and, from the menu on the left, click Apps, then Containers. - Click the Create Cluster button. - Under Cluster type, select Standard. - Enter a name for your cluster in the Cluster Name field and click the Create Cluster button. - Your cluster begins to deploy and the Gain access to your cluster page appears. Click Clusters to go back to the Clusters page. - Refresh the page until the State of your cluster shows as Ready (this may take a few minutes). Your Kubernetes cluster has been created and is ready for use. Create Hello World Containers For our working example, let’s create a few versions of a Hello World container we will deploy in a blue-green fashion. We will store our containers on Docker Hub. If you would like to skip this section, you may use the containers created by the author of this article, however there is no guarantee these containers will preserved or maintained. If the author’s containers exist, they may be found here. Example files we will use later in this walk-through use the author’s images by default. To create our Hello World container, let’s follow the example in the Docker documentation with some slight changes (we will leave out the Redis piece and make different versions of our containers). First, create a directory on the machine where Docker is installed. Create a file named Dockerfile in that directory. The contents should be: # Use an official Python runtime as a parent image FROM python:2"] Next, create a file named requirements.txt and place it in the directory. Its contents should simply be: Flask Finally, create a file named app.py in the directory. Set its contents to be: from flask import Flask import os import socket app = Flask(__name__) @app.route("/") def hello(): html = "<h3>Hello {name}!</h3>" \ "<b>Hostname:</b> {hostname}<br/>" \ "<b>Version:</b> v1" return html.format(name=os.getenv("NAME", "world"), hostname=socket.gethostname()) if __name__ == "__main__": app.run(host='0.0.0.0', port=80) Your directory should contain only these three files. Now, we will create the Docker image by running the build command. Let’s name our image bgdemo. Run the command below (note the period at the end). docker build -t bgdemo . Our container has been created. Let’s share it with the world via Docker Hub. First, log in to the Docker public registry by running this command and completing the prompts. docker login Next, tag the image with the following command, replacing username with your Docker ID. docker tag bgdemo username/ucdbgdemo:v1 Now it’s time to publish the image. Run the following command, replacing username with your Docker ID: docker push username/ucdbgdemo:v1 Congratulations, your container is being shared with the world. Let’s make a second version of our container. Edit the app.py file in our directory and change the line: "<b>Version:</b> v1" To: "<b>Version:</b> v2" Save your changes. Build this new version of the container with: docker build -t bgdemo . Tag the container with this command (replacing username with your Docker ID): docker tag bgdemo username/ucdbgdemo:v2 Publish the new version of the container with this command (replacing username with your Docker ID): docker push username/ucdbgdemo:v2 Let’s follow these steps yet again to create a third version of our container. Edit the app.py file in our directory and change the line: "<b>Version:</b> v2" To: "<b>Version:</b> v3" Save your changes. Build this new version of the container with: docker build -t bgdemo . Tag the container with this command (replacing username with your Docker ID): docker tag bgdemo username/ucdbgdemo:v3 Publish the new version of the container with this command (replacing username with your Docker ID): docker push username/ucdbgdemo:v3 You now have three versions of your container in Docker Hub. Creating UrbanCode Deploy Components We will now create two components inside UrbanCode Deploy. One will represent our load balancer, which will direct traffic to either our blue or green deployment of our webpage. The other component will represent our webpage. Note that we do not need to have separate components for the blue and green deployments; we can manage both with a single YAML file. Let’s start by creating a YAML file to represent our load balancer. On the machine where your UrbanCode Deploy agent resides, create a directory structure of /tmp/loadbalancer/blue. Create a file in the blue directory named loadbalancer.yaml with these contents: apiVersion: v1 kind: Service metadata: name: my-load-balancer spec: type: LoadBalancer ports: - port: 80 selector: color: blue Note the selector is set to the color blue. Next we will create the component in UrbanCode Deploy that will manage our load balancer YAML file. In UrbanCode Deploy, go to Components and click the Create Component button. In the dialog that opens, enter a name for your component (such as bgdemo Load Balancer). In the Component Template field select Kubernetes. In the Source Configuration Type field, select File System (Versioned). In the Base Path field, enter /tmp/loadbalancer. Verify the Copy to CodeStation checkbox is checked. Under Default Version Type, select Import new component versions using a single agent, then in the Agent for Version Imports field, select the agent on the machine where you created your YAML file. Your completed dialog should look something like this: Click the Save button to create your component. Next, we will add our loadbalancer.yaml file to our component as a component version artifact. Click the Versions tab for our component, then click the Import New Versions button. Refresh your page until a version named blue appears. Click on blue to examine the version. The loadbalancer.yaml file should appear as an artifact. We now have a version of our load balancer that may be deployed to direct traffic to our blue deployment. Next, let’s create a version that directs traffic to our green deployment. Rename the directory that contains our loadbalancer.yaml file from /tmp/loadbalancer/blue to /tmp/loadbalancer/green. Edit the loadbalancer.yaml file changing the text blue to green. Save your changes. Your loadbalancer.yaml file should now look like this: In UrbanCode Deploy, go to your component’s Versions tab again and click the Import New Versions button. Refresh until your green version appears. Click on the green version and verify it contains the loadbalancer.yaml file as an artifact. Finally, let’s add a tag to our component. Click on the Components tab and find the component we created. Place your cursor over the component and click the Add Tag icon that appears. Click the Create Tag link and name your new tag Load Balancer. Pick Tangerine Yellow as the color and click the Save button. You component should now show the Load Balancer tag. Our load balancer component is complete. We will now go through a similar process to create a component that will manage our deployed webpage. Again, let’s start by creating a YAML file to represent our deployed webpage. On the machine where your UrbanCode Deploy agent resides, create a directory structure of /tmp/webpage/1.0. Create a file in the 1.0 directory named webpage.yaml with these contents: If you created your own containers and placed them on Docker Hub, change amatthew99 to your Docker ID. Notice that the color label is set to @color@. This is a token that will be replaced with the value blue or the value green depending on which deployment we are executing. This allows us to share the same YAML file for both the blue and green deployments. Other values may be converted to tokens if those values change for each deployment. Notice the @color@ token also appears in our deployment name. Our deployments will have the names webpage-blue and webpage-green once running. You may be wondering why our container version is hardcoded as v1 in the YAML file and we are not replacing it with a token. That is because the Kubernetes UrbanCode Deploy plug-in may change that value at deploy time for you, allowing you to change container image versions without editing the YAML file. Similar to what we did for the load balancer, we will now create the component in UrbanCode Deploy that will manage our webpage YAML file. In UrbanCode Deploy, go to Components and click the Create Component button. In the dialog that opens, enter a name for your component (such as bgdemo Webpage). In the Component Template field select Kubernetes. In the Source Configuration Type field, select File System (Versioned). In the Base Path field, enter /tmp/webpage. Verify the Copy to CodeStation checkbox is checked. Under Default Version Type, select Import new component versions using a single agent, then in the Agent for Version Imports field, select the agent on the machine where you created your YAML file. Click the Save button to create your component. Next, we will add our webpage.yaml file to our component as a component version artifact. Click the Versions tab for our component, then click the Import New Versions button. Refresh your page until a version named 1.0 appears. Click on 1.0 to examine the version. The webpage.yaml file should appear as an artifact. Finally, let’s add a tag to our component. Click on the Components tab and find the component we created. Place your cursor over the component and click the Add Tag icon that appears. Click the Create Tag link and name your new tag Kubernetes. Pick Bondi Blue as the color and click the Save button. Your component should now show the Kubernetes tag. Creating an UrbanCode Deploy Application We will now create an UrbanCode Deploy application to manage our blue-green deployments. In UrbanCode Deploy, click the Applications tab, then click the Create Application button. Enter a name for your application such as Blue-Green Demo. In the Application Template field, select Kubernetes Blue-Green Deployment Application. Click the Next button. In the Kubernetes section, from the Add Component drop-down, select the component that represents our webpage. In the Load Balancer section, from the Add Component drop-down, select the component that represents our load balancer. Click the Next button. On this page in the wizard, we describe the environments to be created for our application. We will create three environments: one to represent our blue deployment, one to represent our green deployment, and one to represent our load balancer. Notice the Blue and Green environments have a required property named Color. The Blue environment is set to blue by default, and the Green is set to green by default. Remember the @color@ token in our webpage.yaml file? That token will be replaced by this property depending on which environment we are deploying from. Also notice our environments are named Blue 1, Green 1, and Load Balancer 1. For the demo, we will only use three environments. Because of that, I like to remove the trailing 1, but that’s a personal preference. Click the Next button. On this page in the wizard, we select which UrbanCode Deploy agent to use in each environment. Click and drag the agent that is on our Kubernetes CLI machine to each environment’s Agent Prototype. Click the Create button to finish creating the application. Allowing UrbanCode Deploy to Access Bluemix Before we may begin deploying, there are a few more steps we have to follow to allow UrbanCode Deploy to access our Bluemix Kubernetes cluster. First, we need to download the Kubernetes configuration files for our cluster. See this page for more information. On the machine with the Bluemix CLI installed, run a command to login. For example: bx login -u myUserId -p myPassword -a Next, initialize the Bluemix Container Service plug-in with this command: bx cs init Finally, get the Kubernetes configuration file for your cluster by running this command, replacing clusterName with the name of your Bluemix Kubernetes cluster: bx cs cluster-config clusterName --admin As the command completes, it will display the name and location of the Kubernetes config file. In this example, my config file is /root/.bluemix/plugins/container-service/clusters/myStandardCluster-admin/kube-config-ams03-myStandardCluster.yml. Since all of the environments (Blue, Green, Load Balancer) in my UrbanCode Deploy application will use this Kubernetes configuration file, let’s set this value as an application property. In UrbanCode Deploy, click on Applications, then click on the application we created. Click the Configuration tab, then click Application Properties. Click the Add Property button. Name our property KubeConfigFile and set the value to be the location of the Kubernetes configuration file for your cluster. For example: Click the Save button. The property has been created. We now need to tell the deploy process to use this configuration file while executing commands. In UrbanCode Deploy, click on the Components tab at the top of the page, then click the Templates tab. Click on the Kubernetes template, then click on the Processes tab. Click on the Process and Apply YAML File process to edit the process. The final step in our process is named Apply Resources. This step runs a kubectl apply command. We need to tell this step to use our Kubernetes cluster configuration file when doing so. Click the pencil icon on the step to edit its properties. Check the Show Hidden Properties checkbox. In the Global Flags field, enter this value: --kubeconfig=${p:application/KubeConfigFile} This will add the –kubeconfig option to our kubectl command while specifying our KubeConfigFile application property. Click the OK button to close this dialog with our changes. Before we save our process, we have one more thing to do. We want to ensure we are logged in to Bluemix and that our Bluemix container service plug-in is initialized before we attempt to apply our YAML files. Let’s add a step to our process to do so. Find the Shell step on the left and drag it to our process. Let’s place it right after the Clean working directory step. Click the pencil icon on the step to edit its properties. In the Name field, enter Login to Bluemix and Initialize Plug-in. In the Shell Script field, enter two lines. The first line should be the command you use to login to Bluemix. This line will be unique to your Bluemix credentials. The second line is the command to initialize the container service plug-in. For example: bx login -u myUserId -p myPassword -a bx cs init Click the OK button to close this dialog, then click the Save button to save your changes. Deploy Load Balancer and First Version of the Webpage We are ready to begin deploying! Click the Applications tab, then the name of our application. You should see your three environments displayed (Load Balancer, Blue, Green). Click the Request Process button next to our Load Balancer environment. In the Run Process on Load Balancer dialog, uncheck the Only Changed Versions checkbox. In the Process field, select Deploy Load Balancer from YAML. Click the Choose Versions link. Click the Add… button, then check blue. Click the OK button to close the Component Versions dialog. Click the Submit button to begin the deployment of our Load Balancer. Wait for the process to complete. If we go back to our application in UrbanCode Deploy and click the twisty next to our Load Balancer environment, we see that version blue has been deployed. All traffic is now being sent to our blue deployment. We better deploy our blue deployment now. Click the Request Process button for our Blue environment. Uncheck the Only Changed Versions checkbox. In the Process field, select Deploy Application from YAML. Click the Choose Versions link. Select version 1.0 of our webpage component. Click the OK button. Click the Submit button to begin the deployment. Notice we didn’t select a version of our container to deploy. Since this is the very first time we are deploying from this YAML file, it will deploy the version specified in the YAML file. The process completes. Our webpage should be live. Let’s verify it is in the next section. Verify the Application is Running On the machine where the Kubernetes CLI is installed, run the command: kubectl get services That will return something like this: Note the ports for the my-load-balancer service. In this example, the value is 80:30453/TCP. We now need to get the IP address of one of our Bluemix Kubernetes cluster worker nodes. On the Bluemix webpage, click on your cluster’s name. From the menu on the left, click Worker Nodes. Note the Public IP of one of your worker nodes. In the example above, the IP address is 185.10.231.44. In a web browser, enter the IP address, followed by a colon, followed by the port number that was returned earlier (leaving out the 80: and /TCP). In the example above, the address would be: 185.10.231.44:30453 Press enter to navigate to the site. We should see that version v1 of our webpage is running. Importing Container Version Information When we ran our blue deployment, UrbanCode Deploy automatically created a new component for us that will manage the container image used in our application. We need to make sure the component is aware of image versions that are available in the image registry. The good news is, depending on your UrbanCode Deploy server and how long it took you to verify that our deployment worked, the component may have already pulled in this information for us. Back in UrbanCode Deploy, click the Components tab. You should see a new component created with a name in the format ApplicationName-ImageName. It should also have the tag kubernetes.image. Click this new component’s name, then click the Configuration tab. Let’s look at the Version Source Configuration section. Notice the Source Configuration Type has been set to Docker. The Image Name field has also been set. The Registry field is blank, but if you hover your cursor over the help for this field, notice that a blank field defaults to Docker Hub. Scroll down more and look for the Import Versions Automatically checkbox. If this is checked, UrbanCode Deploy will periodically check your container registry for new versions. Let’s see if it has done so for us already. Click the Versions tab. If UrbanCode Deploy has already checked the container registry for container versions, you should see the three versions of our image displayed here. If you only see one version, click the Import New Versions button and refresh the page until the versions appear. Note that the images themselves are not being downloaded to UrbanCode Deploy. Instead, UrbanCode Deploy is simply building a reference of available image versions that exist in the specified image registry. Deploy the Second Version of the Webpage Version v2 of our container image is ready. Let’s deploy it as part of our green deployment. Click on the Applications tab, then your application name. Click the Request Process button for the Green environment. Uncheck the Only Changed Versions checkbox. In the Process field, select Deploy Application from YAML. Click the Choose Versions link. You should now see a component that represents your webpage application, and a component that represents your container version. Select version 1.0 for the webpage component, and version v2 for your ucdbgdemo container version. Click the OK button, then the Submit button to begin the deployment. The process completes, and your green deployment is live. Go back to our running webpage in your browser and refresh the page. Notice the version still says version v1. That’s because we haven’t instructed the load balancer to direct traffic to the green deployment. Let’s do that next. Update the Load Balancer Let’s look at our application inside UrbanCode Deploy. Click the Expand All link. In this one view, we can see that our load balancer is pointing to our blue deployment (since the current version is blue), our blue deployment is running version v1 of our ucdbgdemo container, and our green deployment is running version v2. Our staging and verification of our green deployment is complete, and we now want to switch our traffic in that direction with no downtime. Click the Request Process button for the Load Balancer environment. Uncheck the Only Changed Versions checkbox. In the Process field, choose Deploy Load Balancer from YAML. Click the Choose Versions link. Choose green as the version to deploy. Click the OK button, then click the Submit button to begin the update of our load balancer. Wait for the process to complete. Our application shows that load balancer is now directing traffic to our green deployment. To verify this is correct, go back to the running webpage in your browser and click the refresh button. The version should now display v2. Deploy the Third Version of the Webpage Our developers have been hard at work, and now version v3 of our container is ready. Let’s deploy it to the blue deployment. In UrbanCode Deploy, on our application screen, click the Request Process button for the Blue environment. Uncheck the Only Changed Versions checkbox. In the Process field, select Deploy Application from YAML. Click the Choose Versions link. Select version 1.0 of our webpage component, and version v3 of our ucdbgdemo container image. Click the OK button, then the Submit button to begin the deployment. When the process completes, version v3 of our container will be running in our blue deployment, however the load balancer is still pointing to our green deployment. Update the Load Balancer Again Change the load balancer to point to the blue deployment by again following the steps in the Update the Load Balancer section, selecting to deploy the blue version this time. When the process completes, refresh the webpage and verify version v3 is now running. Conclusion Congratulations, you now have a working example of a Kubernetes blue-green deployment. Using UrbanCode Deploy, you may easily execute zero downtime blue-green deployments. You can manage which container versions are deployed without editing files or using the command line. Audit tracking shows what was deployed when and where. Continue to explore UrbanCode Deploy and see all that is has to offer!
https://developer.ibm.com/urbancode/docs/kubernetes-blue-green-deployments-working-example/
CC-MAIN-2019-22
refinedweb
4,029
66.54
OCSP_request_add1_nonce.3ssl man page OCSP_request_add1_nonce, OCSP_basic_add1_nonce, OCSP_check_nonce, OCSP_copy_nonce — OCSP nonce functions Synopsis #include <openssl/ocsp.h> int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len); int OCSP_basic_add1_nonce(OCSP_BASICRESP *resp, unsigned char *val, int len); int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req); int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *resp); Description OCSP_request_add1_nonce() adds a nonce of value val and length len to OCSP request req. If val is NULL a random nonce is used. If len is zero or negative a default length will be used (currently 16 bytes). OCSP_basic_add1_nonce() is identical to OCSP_request_add1_nonce() except it adds a nonce to OCSP basic response resp. OCSP_check_nonce() compares the nonce value in req and resp. OCSP_copy_nonce() copys any nonce value present in req to resp. Return Values OCSP_request_add1_nonce() and OCSP_basic_add1_nonce() return 1 for success and 0 for failure. OCSP_copy_nonce() returns 1 if a nonce was successfully copied, 2 if no nonce was present in req and 0 if an error occurred. OCSP_check_nonce() returns the result of the nonce comparison between req and resp. The return value indicates the result of the comparison. If nonces are present and equal 1 is returned. If the nonces are absent 2 is returned. If a nonce is present in the response only 3 is returned. If nonces are present and unequal 0 is returned. If the nonce is present in the request only then -1 is returned. Notes For most purposes the nonce value in a request is set to a random value so the val parameter in OCSP_request_add1_nonce() is usually NULL. An OCSP nonce is typically added to an OCSP request to thwart replay attacks by checking the same nonce value appears in the response. Some responders may include a nonce in all responses even if one is not supplied. Some responders cache OCSP responses and do not sign each response for performance reasons. As a result they do not support nonces. The return values of OCSP_check_nonce() can be checked to cover each case. A positive return value effectively indicates success: nonces are both present and match, both absent or present in the response only. A non-zero return additionally covers the case where the nonce is present in the request only: this will happen if the responder doesn't support nonces. A zero return value indicates present and mismatched nonces: this should be treated as an error condition. See Also crypto(3), OCSP_cert_to_id(3), OCSP_REQUEST_new(3), OCSP_response_find_status(3), OCSP_response_status(3), OCSP_sendreq_new(3) Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <>.
https://www.mankier.com/3/OCSP_request_add1_nonce.3ssl
CC-MAIN-2017-26
refinedweb
438
56.15
Hi I’m looking for a more detailed description of the semantics of__syncthreads(); . Does anyone have a good source for information about that. I think the information in the “programming guide” is a little short. thank you and have a nice day Hi I’m looking for a more detailed description of the semantics of__syncthreads(); . Does anyone have a good source for information about that. I think the information in the “programming guide” is a little short. thank you and have a nice day What more do you want? __syncthreads() is you garden variety thread barrier. Any thread reaching the barrier waits until all of the other threads in that block also reach it. It is designed for avoiding race conditions when loading shared memory, and the compiler will not move memory reads/writes around a __syncthreads(). It is nothing more and nothing less. Unless you are writing to a shared memory location in thread i then reading that same location in thread j, you don’t need __syncthreads(). For example the manual states that __syncthreads is allowed in conditional code but only if the conditional evaluates identically across the entire thread block. this would mean that its not allowed to divide the threads of a block into two groups: if (tid < n/2) { … __synchtreads(); … } else { … __synchthreads(); … } No, you can not do that. Synchthreads() waits for all of the threads in a block. Right, the programming guide states that pretty clearly. It follow clearly from the fact that __synchtreads() is a barrier that waits for all other threads in the block, as I said before. Thank you. The “syncthreads”, as I understand translates to the “bar” PTX instruction. THe PTX manual says that the instruction marks the arrival of a thread at the barrier and waits for all other threads to arrive. This does NOT prevent you from dividing the block into 2 groups. For example: The C code below works " if (threadIdx.x < 100) { … … … } __syncthreads(); " I have divided my block to two and still keep working. If the code above is buggy , can some1 clarify? If you ever want to do DIVIDE block into 2 groups and SYNCHRONIZE within themselves then you can still do it (virtually) by DIVIDING the IF-ELSE construct into multiple IF-ELSE construct (all dividing the blocks in the same fashion) with __syncthreads() in between each of them. Cumbersome. Right. But it works!!! And, depending on what you r trying to do, such things can even kill performance. Your code is valid, you can see examples in the reduction & scan projects from the SDK, where the amount of active threads is halved each time. you can sure divide the block into more groups, but IF there is a __syncthreads(), all threads must meet it. If not, you get lockups. (interestingly, the microcode instruction for bar has a bit field that could be there to describe which threads to wait for) If you need any help with trial and error, let me know :) In total there appear to be 12 bits for this purpose; normally, as generated by ptxas they are all set. To be exact, these are bit mask 0x001ffe00 of the first instruction word. I call them “BF_SYNC_ARG” in my assembler. I have no idea what they’re exactly for, but as this is a barrier, it probably has something to do with which warps to synchronize. You’re welcome to try some trial and error of course, it’d be very interesting. I have not yet thought up a good test case for it. I am going to have to give your (dis)assembler a try then :) making a simple program running disassembler changing little things running assembler should do the trick right? I would think a small program like this: __global__ void testkernel(int *g_data) { __shared__ unsigned int dummytest[NUM_THREADS]; unsigned int tid = threadIdx.x; dummytest[tid] = 0; __syncthreads(); for (int k = 0; k < 100; k++) dummytest[tid] += tid; __synchtreads(); //we change this synchtreads bitmask afterwards. if (tid==0) for (int l = 0; l < NUMTHREADS; l++) g_data[l] = dummytest[l]; } Should show differences in g_data when the bitmask has effect right? That looks good. Disassemble the resulting cubin file (with -o, so it can be re-assembled) and then use raw syntax for the modified bar.sync instruction. The bar.sync 0 instruction is 0000b8: 861ffe03 00000000 bar.sync.u32 0x00000000 Inserting this instruction using the raw syntax in my assembler would be done like this: d.u32 0x861ffe03, 0x00000000 With the bitfield set to all zeroes, this would be: d.u32 0x86000003, 0x00000000 … and so on I’m not sure if your test case is entirely reliable, maybe you should include some conditionals on the thread id, but it’s a start :) Good luck! Thanks for your efforts guys. Wumpus, You say that therez this 12-bit field (1FFE) that could actually encode the WARPS that need syncrhonization. But there could be a total of 16 warps per block, right? 16*32 = 512. We can discount the WARP that is executing the SYNCTHREADS. So, that leaves us with 15 warps. But still that does NOT explain the “12”. Can you share your thoughts here? Thank you My guess is as bad as yours, just experiment if you want to know :) Or maybe an engineer of NVidia could comment but I wouldn’t hold my breath on that. It’s very possible that the feature isn’t exposed because it is limited in some way to the first certain number of warps… I tried. But the kernel fails if I change the BITs. It looked like no threads wait when I replace 1FFE with 0000. But that was not consistent. Sometimes it hangs and fails. I tried partially setting few (one) bits to zero in 1FFE. But all such experiments resulted in kernel-hang. I did NOT use “decuda” for this. I just changed the CUBIN file and re-ran the STEPs in compilation (“fatbin” and CL invocations). I am NOT sure if my changes are affecting some check-sum stored somewhere. I dont know. btw, Denis’ program does NOT expose the race condition in my hardware. I had to add a global memory fetch in the iteration to expose the race. I use 8800 GTX hardware. Here is my code: #include <stdio.h> #define NUM_THREADS 512 __global__ void testkernel(int *g_data) { __shared__ unsigned int dummytest[NUM_THREADS]; unsigned int tid = threadIdx.x; dummytest[tid] = 0; __syncthreads(); if (threadIdx.x >= 32) { for (int k = 0; k < 100; k++) { dummytest[tid] += (tid + g_data[tid]); } } __syncthreads(); //we change this synchtreads bitmask afterwards. if (tid==0) for (int l = 0; l < NUM_THREADS; l++) g_data[l] = dummytest[l]; } int gData[NUM_THREADS]; void verify_gdata(void); void display_gdata(void); int main() { dim3 grid, block; void *devptr; cudaMalloc(&devptr, sizeof(gData)); cudaMemset(devptr, 0, sizeof(gData)); block.x = NUM_THREADS; testkernel <<< grid, block >>> ((int *)devptr); cudaThreadSynchronize(); cudaMemcpy(gData, devptr, sizeof(gData), cudaMemcpyDeviceToHost); display_gdata(); printf("\nVerification Start\n"); verify_gdata(); printf("\nVerification done\n"); return 0; } void verify_gdata(void) { int i; for(i=32; i<NUM_THREADS; i++) { if (gData[i] != (i*100)) { printf("gData failure at %d\n", i); } } return; } void display_gdata(void) { int i; for(i=0; i<NUM_THREADS; i++) { printf("%d ", gData[i]); } } Wumpus, I am wondering if my “cubin” file change is breaking some “checksum” expectation somewhere in the CUDA driver. Anyway, if thats the case I would expect the failure to be immediate. In my case, the kernel hangs… So, I would imagine that there is no checksum related thing. But can you just confirm? Thanks Sarnath No, there is no checksum, if your kernel hangs it’s because the change in synchronisation had some unexpected result. Are there any Xid errors in you dmesg log? If so, you are creating invalid instructions, if not, there might be some other problem. For example, calling this ‘partial’ syncthreads in a thread that is not being waited for might result in deadlocks. I am using Windows XP. Where do I check for this? I may re-run this test sometime this week. I can check it out if you know where I can see these errors. Thanks.
https://forums.developer.nvidia.com/t/semantics-of-syncthreads/1702/18
CC-MAIN-2020-34
refinedweb
1,357
73.17
Updated based on user experience. Recently a user mentioned having trouble freezing an Amara app. This question comes up every six months or so, it seems, so I decided to make sure I have a recipe for easy reference. I also wanted to make sure that successful freezing would not require any changes in 4Suite before the next release. I started with the most recent success report I could find, by Roman Yakovenko. Actually, his recipe ran perfectly well as is. All I'm doing here is expanding on it. Recipe: freezing 4Suite or Amara apps Grab cxFreeze. I used the 3.0.1 release, which I built from source on Fedora Core 4 Linux and Python 2.4.1). Updated: I've updated freezehack.py to work with cxFreeze 3.0.2, thanks to Luis Miguel Morillas. Grab freezehack.py, which was originally put together by Roman. Add it to your PYTHONPATH. Add import freezehack to your main Python module for the executable to be created. update actually, based on Mike Powers' experience you might have to add this import to every module that imports amara or Ft. Freeze your program as usual. Run FreezePython.exe (or FreezePython on UNIX). See the following sample session: $ cat main.py import freezehack import amara diggfeed = amara.parse("") print diggfeed.rss.channel.item.title $ FreezePython --install-dir dist --target-name testexe main.py [SNIP] Frozen binary dist/testexe created. $ ./dist/testexe Guess-the-Google - Simple but addictive game In order to share the executable you have to copy the whole dist directory to the target machine, but that's all you should need to do. Python, 4Suite, Amara and any other such dependencies are bundled automatically. Now back to the release.
http://copia.posthaven.com/recipe-for-freezing-4suite-or-amara-apps-cros
CC-MAIN-2017-30
refinedweb
289
69.99
Icons are an important user interface element in any desktop environment. Because of different user preferences and video hardware, one icon may come in different sizes and display depths. In order to make this manageable, a standard way of storing and accessing icons has been developed. Icons are loaded using the class KIconLoader. Every KDE appliation has a global iconloader object. You can access this object with: #include <kglobal.h> #include <kiconloader.h> KIconLoader *loader = KGlobal::iconLoader(); The iconloader loads icons, transparently caches them and applies effects. To load an icon, use the method loadIcon(), which is defined like this: QPixmap loadIcon( QString name, int group, int size=0, int state=KIcon::DefaultState, QString *path_store=0L, bool canReturnNull=false); As you see, there are a lot of parameters. The first two are most important: The idea of an icon group is an important concept in the KDE icon scheme. The icon group denotes where on the screen the icon is going to be used. This is relevant because the KDE user can bind icon sizes and visual effects to each group. When passing the icon group to the icon loader, you are in fact telling it which incarnation of the icon to load. And by requiring the group argument, the iconloader provides the means to have a consistent and configurable icon look over the whole KDE desktop. For example: The user can configure that he wants 32 pixel icons with 0.2 desaturation for the main toolbars. The available icon groups are given below. All are defined in the KIcon class, so prefix them with KIcon::. So, to load the icon "kfind" for use in the Desktop group, you'd use: QPixmap icon; icon = loader->loadIcon("kfind", KIcon::Desktop); Now lets discuss the other parameters of loadIcon. Icons may come in different sizes and display depths. I shall refer to these icons as themed icons. Icons that come in just one form are referred to as unthemed icons. Themed icons come in different sizes and display depths. The standard sizes are: Please refer to the KDE icon factory for information on which icon sizes are mandatory and more. Remember that each of these sizes can be bound to an icon group. Themed icons are stored in a directory hierarchy according to their 1. depth, 2. size and 3. context. The term context is new concept introduced by the KDE icon scheme. The context of an icon is what the icon means. The standard contexts are given below: Contexts are important in one case: selecting an icon. When an application wants the user to select an icon for, say, a toolbar, it would be very user unfriendly to show every single icon installed in KDE. Instead, it is much better to let the user select an icon from the "action" icons only. These all represent some action and therefore are suitable for in toolbars. The directory hierarchy in which themed icons are stored follows. The directory names are self explanatory. hicolor/ 22x22/ actions/ apps/ devices/ filesystems/ mimetypes/ 32x32/ ... 48x48/ ... locolor/ 16x16/ ... 22x22/ ... 32x32/ ... Themed icons can be installed either globally with respect to KDE, or in application specific place. In the global case, the icon theme hierarchy resides under $KDEDIR/share/icons while in the application specific case, it is under $KDEDIR/share/apps/$APPNAME/icons. The KDE source configuration system (specifically, am_edit) has support for installing themed icons. First, you have to name your icons in a way that it is clear where it must be installed. The naming convention is explained in the table below: Examples: lo22-action-open.png hi48-app-kfind.png To install these icons globally, add this line to your Makefile.am. KDE_ICON = open kfind and to install them in an application specific directory, use this: icondir = $(kde_datadir)/myapp/icons icon_ICON = open kfind Themed icons are loaded with the iconloader, using the standard icon groups. For example: QPixmap pm; pm = loader->loadIcon("kfind", KIcon::Desktop); This will load the "kfind" icon, of depth and size specified for the Desktop group. Unthemed icons are installed in $KDEDIR/share/apps/$APPNAME/pics. To install them, use this in you Makefile.am. icondir = $(kde_datadir)/myapp/pics icon_DATA = open kfind You must not give the icons special names. Also, no further processing is done on them: no effects and size,depth selection is done. Unthemed icons can be loaded with the iconloader using the User group. This will load a user icon: QPixmap pm; pm = loader->loadIcon("myicon", KIcon::User); There are 3 ways to install icons: global themed, application specific themed and unthemed. All types of icons can be loaded with the iconloader. You should choose a specific installation depending on your needs. Initial Author: Geert Jansen <jansen@kde.org>
https://techbase.kde.org/Development/Architecture/KDE3/Icon_Loader/en
CC-MAIN-2018-39
refinedweb
792
65.62
[ ] Daniel Dekany commented on FREEMARKER-61: ----------------------------------------- Just to be sure that we are on the same page, I will tell that you could just put a Java method like {{List sort(List, Comparator)}} into the data-model or into {{configuration.sharedVariables}}, and you are done. As with {{?sort_using}} you still need to add the {{Comparator}}-s, {{?sort_using}} is not a too big help. Though then there are the guys who can't add Java classes, and for them using {{?sort_using}} with {{#function}} can be very handy... except that such cases are quite serious misuses of poor FreeMarker (it never meant to be a programming language, and indeed it's very, very poor as that), and by supporting such things, we might encourage people to do these things even more. Only to run into performance issues later... Anyway, if we want this, then I think {{?sort_using}} should accept a parameter that is either a {{Comparator}} (and then we have to unwrap the model to see), or an FTL method/function (which behaves like `Comparator.compare`). So someone could even create a `#function` for sorting, at least if performance doesn't mater. When you use it, it would be like {{myData.persons?sort_using(sortByName)}}, where {{sortByName}} is just plain old variable reference, but you could use any other expression there of course (like {{myImport.myComparator}]). There are no quotation marks, as it's not a string. There are some performance issues though, even if you are using Java {{Comparator}}-s. FTL deals with wrapped objects ({{TemplateModel}}-s). If you invoke the wrapped {{Comparator.compare}} method, or any wrapped Java method (as opposed to something defined with {{#function}}), then behind the scenes it will unwrap the argument models to "native" Java objects, pass those the native Java method, then wrap the return value back to FTL {{TemplateNumberModel}}-s. Worse, the typical {{List}} wrapper will wrap the item on the spot when you get them, so it only wraps them so that it can be unwrapped moments later... It still works, but because you will invoke the comparator for several times, often with the same arguments, the overhead of all that unwrapping/wrapping might be significant. If instead, we unwrap the {{List<Person>}} itself and then sort it, you only unwrap the {{List}}, not each items in it, which is much better. I wonder though if we deviate from FTL semantic that way in some extreme cases... not sure yet. > ?sort_using with a Comparator parameter > --------------------------------------- > > Key: FREEMARKER-61 > URL: > Project: Apache Freemarker > Issue Type: New Feature > Components: engine > Affects Versions: 2.3.26-incubating > Reporter: Ondra Žižka > > Hi Daniel :) > I know that lists should be sorted before passing them to the template in general. > In our case, the template is backed by a generic API for graph database which gives an {{Iterable}} for any 1:N relation. So sorting needs to happen in the template. > Now I'd like to sort that, for which the {{?sort_by(["...", "..."])}} is good enough, except when it gets a bit more complicated - e.g. sometimes the values are missing in which case it should sort by something else... > Doing that in a template is not a good idea, so I suggest this, elegant in my opinion, solution: > First you'd have a Comparator in Java, and perhaps register it like you do with {{FreemarkerMethod}}. > Then you could pass this as a parameter to {{?sort_using.}} > {code} > public class SortByName implements Comparator { ... } > myData.persons?sort_using("SortByName") > {code} > This would be even better if it could pass parameters to the constructor: > {code} > public class SortByName implements Comparator { > public SortByName(boolean ladiesFirst) { ... } > } > myData.persons?sort_using("SortByName", [true]) > {code} > This would greatly leverage sorting in templates while not complicating the template syntax or cluttering {{?sort_by}}. > Thanks for considering. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
http://mail-archives.apache.org/mod_mbox/freemarker-notifications/201707.mbox/%3CJIRA.13086263.1499781252000.220202.1499797740301@Atlassian.JIRA%3E
CC-MAIN-2020-10
refinedweb
635
63.59
I have created the new React application by just using create-react-app and I amtrying to write a unit test to the component named "MessageBox" that I have created in the application. I have also added the file under my 'src' folder named 'setupTests.js' with the below content: import * as msenzyme from 'enzyme'; import * as Adapter from 'enzyme-adapter-react-16'; msenzyme.configure({ adapter: new Adapter() }); I ran it by below command : npm test But I got the below error: Enzyme Internal Error: Enzyme expects an adapter to be configured, but found none. To configure an adapter, you should call msenzyme.configure({ > adapter: new Adapter() }) Does someone know how can I solve this problem? Many of people will tell you to import setupTests.js into your test file. Or to configure enzyme adapter in each of the test file. This will solve your immediate problem only. But for the long term, if you add the jest.config.js file to your project root. Then you can configure it to run the setup file on launch as shown below: module.exports = { setupTestFrameworkScriptFile: "<rootDir>/src/setupTests.ts" } This will tell the Jest to run setupTest.ts every time it is launched. This way if you need to add the polyfills and add global mock like the localstorage then you can add them to your setupTests file and it will be configured everywhere.
https://kodlogs.com/34575/enzyme-internal-error-enzyme-expects-an-adapter-to-be-configured-but-found-none
CC-MAIN-2021-10
refinedweb
232
67.04
Tensor Core Programming Using CUDA Fortran The CUDA Fortran compiler from PGI now supports programming Tensor Cores with NVIDIA’s Volta V100 and Turing GPUs. This enables scientific programmers using Fortran to take advantage of FP16 matrix operations accelerated by Tensor Cores. Let’s take a look at how Fortran supports Tensor Cores. Tensor Cores Tensor Cores offer substantial performance gains over typical CUDA GPU core programming on Tesla V100 GPUs for certain classes of matrix operations running at FP16 (half-precision), as figure 1 shows. Those operations include matrix multiply of two forms. The first, simpler form: Fortran: C = Matmul(A, B), where: - A is a 2 dimensional array dimensioned A(m,k) - B is a 2 dimensional array dimensioned B(k,n) - C is a 2 dimensional array dimensioned C(m,n) C(i,j) = sum(a(i,:) * b(:,j)), for i=1,m, j=1,n A more general form which Tensor Cores support in hardware, is: Fortran: D = C + Matmul(A, B), where: - A, B, C are defined as above. - D is a 2 dimensional array dimensioned D(m,n), similar to C. The V100 hardware supports A and B as 16-bit floating point (real*2) data. C and D may be either 16-bit or 32-bit (real*4) data. Using 32-bit accumulation is usually advantageous since the only performance penalty comes from doubling the transfer and storage size. However, some 16-bit accumulation is found in practice. All combinations of 16 and 32-bit data types on C and D are supported by the hardware. The Tensor Core unit itself supports 3 combinations of sizes for m, n, and k. The CUDA naming practice is to run the sizes together, so we will refer to them here as m16n16k16, m8n32k16, and m32n8k16. Note that k, the inner dot-product dimension, is always 16. For GPU memory arrays of different dimensions than these, it is the programmer’s responsibility to add padding and blocking. C and D, of dimension m x n, always contain 256 elements. A and B may contain 128, 256, or 512 elements. These elements are divided among the threads in a warp. A key concept in programming Tensor Cores is that the storage and work carried out by each CUDA thread remains opaque. The threads in a warp cooperate to carry out the matrix multiplication. You should view the operation as a black box in which the answer shows up some small number of cycles after initiation. Every thread in the warp must take part in the operation for the results to be correct. Tensor Core programming is a change to the traditional CUDA programming model, extending some of the ideas from cooperative groups and intra-warp shuffle operations. Data and operations on that data is considered “warp-level”, and not “CUDA thread-level”. PGI makes that distinction clear when choosing names of derived types and functions. In CUDA C/C++, you can access and update the elements of the warp-level data structures with each thread. However, this is only possible for elemental operations such as scaling, offsetting, or setting/clearing the individual values. The mapping from a thread’s data to its position in the subMatrix is not visible or under programmer control. CUDA C/C++ declares a struct type __half, which contains an unsigned short, and a struct __half2, which contains two unsigned shorts, along with a large set of operations allowed on those types. PGI Fortran Implementation PGI 2019 implements a CUDA Fortran device module named WMMA (Warp-Matrix-Multiply-Add). You add the line use wmma in the declaration section of your device subroutines and functions to enable Tensor Core functionality. This corresponds to the name of the CUDA C/C++ namespace, which looks like this in CUDA C++: wmma::fragment<wmma::accumulator, WMMA_M, WMMA_N, WMMA_K, float> c_frag; Data Declaration The Fortran declaration most synonymous with the C++ declaration shown above consists of parameterized derived types. In other words, the c_frag above might be declared this way: type(fragment(wmmatype=acc, m=WMMA_M, n=WMMA_N, k=WMMA_K, kind=4)) :: c_frag However, we’ve chosen to avoid that route. The PGI Fortran implementation stores the derived type parameters within the derived type, since derived type parameter enquiry must be supported by the language implementation. For example, print *,c_frag%m must work. Storing all of these parameters takes considerable register space which can adversely affect performance. Instead, the WMMA module defines derived types which look like this: type(subMatrixC_m16n16k16_Real4) :: c_frag PGI recommends developers use the macros provided in the included example programs. Using macro pre-processing gives flexibility to use either parameterized derived type declarations or specific types in the future without affecting user code. Here is the declaration we currently use before macro pre-processing: WMMASubMatrix(WMMAMatrixC, 16, 16, 16, Real, WMMAKind4) :: c_frag Performance reasons dictate the underlying operations be called quickly without any runtime parameter inquiry overhead in both CUDA C++ and CUDA Fortran. Using C++ templates and these specific Fortran types allows for that. The A and B subMatrix types must be distinct. Also, they must be defined as part of their declaration to be stored internally as either column major or row major. Our implementation today only supports real(2) data. WMMAColMajor and WMMARowMajor are defined in the WMMA module, yielding macro declarations which look like this: WMMASubMatrix(WMMAMatrixA, 16, 16, 16, Real, WMMAColMajor) :: sa WMMASubMatrix(WMMAMatrixB, 16, 16, 16, Real, WMMARowMajor) :: sb Declaring B to be row major and using it in a Matmul operation is equivalent to this Fortran statement: C = Matmul(A, Transpose(B)) Similarly, declaring A to be row major is equivalent to this: C = Matmul(Transpose(A), B) The C subMatrix is not declared with storage order but can be loaded and stored to memory in either order. For instance, storing the C result, computed in column major order, but stored in row major order, is equivalent to this: C = Transpose(Matmul(A,B)) Users of the BLAS dgemm and other *gemm routines will recognize these transpose capabilities. We use a 16-bit data type for both the larger matrices stored in CUDA global memory and for operating on the individual elements of the subMatrices. These will be real(2) in a future PGI release. Until then, we have created type macros which developers can use to get started with Tensor Cores. This is a straightforward translation; the simplest use case for the entire declaration section looks like this: use wmma CUFReal2, device :: a(m,k) CUFReal2, device :: b(k,n) real(4), device :: c(m,n) WMMASubMatrix(WMMAMatrixA, 16, 16, 16, Real, WMMAColMajor) :: sa WMMASubMatrix(WMMAMatrixB, 16, 16, 16, Real, WMMAColMajor) :: sb WMMASubMatrix(WMMAMatrixC, 16, 16, 16, Real, WMMAKind4) :: sc Basic WMMA Operations Using the Tensor Cores at the most basic level means loading the input subMatrices from global memory, computing C = Matmul(A,B), and storing the result back to memory. The simplest use of the declarations above looks like this in Fortran: call wmmaLoadMatrix(sa, a(1,1), m) call wmmaLoadMatrix(sb, b(1,1), k) call wmmaMatmul(sc, sa, sb) call wmmaStoreMatrix(c(1,1), sc, m) Each of these subroutines begin with a “wmma” prefix since they require every thread of the warp to make the call. The threads in each warp will cooperate to do the work. The wmmaLoadMatrix subroutine takes as arguments the derived type to fill, the address of the global or shared memory upper left corner, and the stride between columns. The stride is required and corresponds to the lda, ldb, and ldc arguments in *gemm BLAS calls. The wmmaMatmul subroutine can take 3 or 4 arguments. These uses are the most typical: call wmmaMatmul(sc, sa, sb) call wmmaMatmul(sc, sa, sb, sc) call wmmaMatmul(sd, sa, sb, sc) As mentioned above, A and B are always real(2), but can be any combination of column major or row major ordered. C and D can be any combination of real(2) and real(4). For stores, wmmaStoreMatrix corresponds to wmmaLoadMatrix. The upper left corner in global or shared memory is the first argument. Then the type, then the stride. The A and B subMatrix types cannot be stored, only C. A fourth optional argument specifies the layout when the store occurs, either column major or row major. Column major is the default if neither is specified. Advanced WMMA Operations We’ve added some additional warp-level functionality and expect to work with our early adopters to fill in the gaps. The problems we expect developers to encounter include how to detect numeric issues and how to potentially fix them up within device kernels. Treating the derived type subMatrices as just 2D numeric arrays through overloaded functions can solve some of these problems. Here are some things we’ve added. Logical operations: You can declare, or even generate without declaring, logical, kind=1, WMMA subMatrixC types. This allows logical operations between two WMMAMatrixC types, or between one C type and a scalar. These logical results can then be passed, in turn, to Fortran intrinsic functions like Merge(), and reductions like Any(), All(), and Count(). An example use might look like this: WMMASubMatrix(WMMAMatrixC, 16, 16, 16, Real, WMMAKind4) :: sd ... call wmmaMatmul(sd, sa, sb, sc) if (wmmaAll(sd .lt. 64.0)) then . . . npos = wmmaCount(sd .ge. 0.0) . . . call wmmaMerge(sc, -99.0, sd, mask=sd.eq.sc) If you prefer to use the standard Fortran intrinsic names, you can overload them on the use statement like this: use wmma, any => wmmaAny, all => wmmaAll It’s important to remember that in our naming convention, functions and subroutines that start with “wmma” imply the work is shared amongst the threads in a warp. Merge() is a subroutine, while count(), any(), and all() are functions. In general, subprograms which natively return less than a 64-bit scalar work fine as device functions. It’s preferable to make array-valued subprograms and others returning large derived types subroutines for performance reasons. The returned value, or intent(out) array, or object is typically the first argument to such a routine. Assignment Initializing a subMatrix to zero is a basic operation: sc = 0.0 You can also assign one subMatrixC type to another: sc = sd Operations on the Underlying WMMA Data The WMMA module uses a naming convention in which the data held within the derived types is called x. The size of that data and how it maps to the original matrix locations may be subject to change. Operations on that data should be elemental and applied uniformly by all threads in the warp. Usage like that shown in the following code snippet should always be safe: WMMASubMatrix(WMMAMatrixC, 16, 16, 16, Real, WMMAKind4) :: sd real(4), device :: xoff, xtol ... do klp = 1, maxtimes if (wmmaAny(sd .gt. xtol)) then do i = 1, size(sd%x) sd%x(i) = sd%x(i) - xoff end do end if end do For the equivalent functionality using the current implementation when kind=2, declare the local scalars using the macro: WMMASubMatrix(WMMAMatrixC, 16, 16, 16, Real, WMMAKind2) :: sd CUFReal2 :: xoff, xtol, xtmp ... xoff = CUFreal(10, kind=2) ... do klp = 1, maxtimes if (wmmaAny(sd .gt. xtol)) then do i = 1, size(sd%x) xtmp = sd%x(i) sd%x(i) = xtmp - xoff end do end if end do Note that the compiler defines a function named CUFreal() to perform type conversions. Three specific cases are currently implemented: real2 = CUFReal(int4, kind=2) real2 = CUFReal(real4, kind=2) real4 = CUFReal(real2, kind=4) We expect this function to change to the Fortran intrinsic real() when we add real(2) support to CUDA Fortran in an upcoming release. The macro will then be redefined to maintain backward compatibility. Equivalent in line operations on real(2) data will then be supported as well. The most advanced users will see best performance when operating on the 16-bit data two at a time. We have an experimental module, named vector_types, which we provide as an example for interested users. Using a vector of real(2) of length 2, in combination with cray pointers, results in very efficient updates of the subMatrix data: use vector_types WMMASubMatrix(WMMAMatrixC, 16, 16, 16, Real, WMMAKind2) :: sd CUFVector(N2, Real, 2), device :: cv, dc(*) pointer(dp, dc) CUFReal2 :: xoff dp = loc(sd%x(1)) xoff = CUFreal(10, kind=2) cv = makeCUFVector(xoff,xoff) do klp = 1, maxtimes if (wmmaAny(sd .gt. xtol)) then do i = 1, size(sd%x)/2 dc(i) = dc(i) - cv end do end if end do We also support using the hardware FMA operations for both the CUFReal2 type and the vector of two real(2) types for efficiency. For example: d = __fma_rn(a, b, c), which is d = a*b+c. Host-side features for Tensor Core Programming Host-side real(2) support is limited. Modern X86 processors support real(4) <-> real(2) type conversion using SSE instructions. Our test code takes advantage of that when possible. The cpuid feature to key on is f16c; we have a function in our runtime to test for that. We’ve also written a scalar version of half2float() and float2half(), the latter taking the current CPU rounding mode into account. We include versions of these two conversion functions which take 1D and 2D arrays for testing purposes. These should no longer be needed once real(2) support is in the compiler, but the code can be used as a guide. Testing We divide tests included with PGI 2019 CUDA Fortran package into three directories to correspond to the three matrix sizes currently supported. m16n16k16: wmma1.CUF: Simplest example, multiply two 16×16 real(2)arrays, real(4)result. wmma2.CUF: A Submatrix is row major, real(2)result wmma3.CUF: A, B Submatrix is row major, real(2, any, v2real2 m32n8k16: wmma1.CUF: Simplest example, 32×16 X 16×8 real(2)arrays, real(4)result. wmma2.CUF: B Submatrix is row major, real(2)result wmma3.CUF: A,, count, v2real2 m8n32k16: wmma1.CUF: Simplest example, 8×16 X 16×32 real(2)arrays, real(4)result. wmma2.CUF: A Submatrix is row major, real(2)result wmma3.CUF:, count wmma8.CUF: Use Submatrix comparison, any, v2real2 Summary PGI will continue to enhance and add features over the course of the year. We welcome your comments and input. Let us know if there are things you would like to see added or changed. Find more information on PGI Fortran on the product page.
https://developer.nvidia.com/blog/tensor-core-programming-using-cuda-fortran/
CC-MAIN-2021-10
refinedweb
2,422
52.49
The editing history of a Wikipedia member. The author's talk page. The author's user name. A piece of Wikipedia text that has been edited or newly created. The categories for this post. The nature of the change made to the Wikipedia entry. Comment that describes an edit. A list of paragraphs being added. A list of paragraphs being removed. Wikipedia internal reference to the previous revision. Wikipedia internal reference to the current revision. The external links from a Wikipedia page. The filenames of images on a Wikipedia page. Wikipedia's namespace for this page. The length of the main body of text after the edit. Wikipedia's namespace code for this page. The length of the main body of text before the edit. The pageid from Wikipedia. The parentid from Wikipedia. The title associated with the content.
http://dev.datasift.com/docs/sources/public-sources/wikipedia
CC-MAIN-2015-48
refinedweb
139
81.49
Linux kernel we're talking about, though, so 2009 is ancient history. The videobuf interface has since been superseded by videobuf2, which, while clearly inspired by the original, has a different way of doing things. So this article will be an attempt to get caught up with the current state of the art - an effort which will certainly inspire the creation of videobuf3 in the near future. Why videobuf2? The original videobuf worked well, but it turned out to be inflexible in a number of ways. The API varied considerably depending on which type of buffer was in use, and there was no real way for drivers to add their own specific memory management needs. Videobuf2 has created a more consistent API which allows for more customization in the drivers themselves. Like the original videobuf, videobuf2 implements three basic types of buffers. Vmalloc buffers are allocated with vmalloc(), and are thus virtually contiguous in kernel space; drivers working with these buffers almost invariably end up copying the data once as it passes through the system. Contiguous DMA buffers are physically contiguous in memory, usually because the hardware cannot perform DMA to any other type of buffer. S/G DMA buffers are scattered through memory; they are the way to go if the hardware can do scatter/gather DMA. Depending on the type of buffer being used, the driver will need to include one of the following header files: #include <media/videobuf2-vmalloc.h> #include <media/videobuf2-dma-contig.h> #include <media/videobuf2-dma-sg.h> One nice difference with videobuf2 is that a driver can be written to support more than one mode if need be. The above include files do not conflict with each other, and the videobuf2 interface is nearly the same for all three modes. A buffer for a video frame is represented by struct vb2_buffer, defined in <media/videobuf2-core.h>. Usually drivers will want to track per-buffer information of their own, so, in the usual style, the driver will define its own buffer type that includes a vb2_buffer instance. However, the videobuf2 authors didn't read Neil Brown's Object-oriented design patterns in the kernel, so they don't have the driver allocate the resulting structures (in all fairness, said developers may offer lame excuses to the effect that said article had not been written at the time). That means that (1) the driver has to tell videobuf2 what the real size of the structure is, and (2) the vb2_buffer instance must be the first field in the driver's structure. Your editor may just post a patch to fix that in the near future. A videobuf2 driver must create a set of callbacks to give to the videobuf2 subsystem, five of which are specific to the management of buffers; they function in a similar (but not identical) manner to the videobuf versions. These callbacks are: int (*buf_init)(struct vb2_buffer *vb); int (*buf_prepare)(struct vb2_buffer *vb); void (*buf_queue)(struct vb2_buffer *vb); int (*buf_finish)(struct vb2_buffer *vb); void (*buf_cleanup)(struct vb2_buffer *vb); Videobuf2 will call buf_init() for each new buffer after it has been allocated; the driver can then perform any additional initialization that needs to be done. Returning a failure code will abort the setup of the buffer queue. The buf_prepare() callback is invoked when user space queues the buffer (i.e. in response to a VIDIOC_QBUF operation); it should do any preparation which might be required before the buffer is used for I/O. buf_queue(), instead, is called to pass actual ownership of the buffer to the driver, indicating that it's time to actually start I/O on it. buf_finish() will be called just before the buffer is passed back to user space. One might question the need for this callback; the driver already knows when a buffer has a new frame for user space and, indeed, must tell videobuf2 about it. One possible answer is that the completion of I/O to the buffer is often handled in interrupt context, while buf_finish() will be called in process context. Finally, buf_cleanup() is called just before a buffer is freed so that the driver can do any additional cleanup work required. In the original videobuf, the only callbacks provided by the driver had to do with buffer management. With videobuf2, there are a few others, starting with: int (*queue_setup)(struct vb2_queue *q, unsigned int *num_buffers, unsigned int *num_planes, unsigned long sizes[], void *alloc_ctxs[]); This function, called in response to a VIDIOC_REQBUFS ioctl() operation, allows the driver to influence how the buffer queue is set up. The vb2_queue structure describes the queue as a whole; we'll see more about it shortly. The num_buffers argument is the number of buffers requested by the application; the driver can modify it if needed. num_planes contains the number of distinct video planes needed to hold a frame; for packed formats, it will be one, but it will be larger if planar formats are in use (see this article for more information on formats). The sizes array should contain the size (in bytes) of each plane. The alloc_ctxs field contains the "allocation context" for each plane; it is currently only used by the contiguous DMA mode. Drivers which use contiguous DMA should call: void *vb2_dma_contig_init_ctx(struct device *dev) to get that context; it needs to be remembered and passed to vb2_dma_contig_cleanup_ctx() when the driver shuts down. There are two callbacks which tell the driver when to start and stop acquiring video data: int (*start_streaming)(struct vb2_queue *q); int (*stop_streaming)(struct vb2_queue *q); Videobuf2 will call start_streaming() whenever user space wants to start grabbing data. That may happen in response to a VIDIOC_STREAMON ioctl(), but the videobuf2 implementation of the read() system call can also use it. A call to stop_streaming() will be made when user space no longer wants data; this callback should not return until DMA has been stopped. It's worth noting that, after the stop_streaming() call, videobuf2 will grab back all buffers passed to the driver; the driver should forget any references it may have to those buffers. The final two callbacks deserve a section of their own. The locking model used for videobuf2 is not documented all that well; from what your editor has been able to gather, the rules are mostly like the following. The driver needs a lock (probably a mutex) which governs access to the device as a whole. Then: With that context, one needs to consider one little problem: a user-space invocation of VIDIOC_DQBUF, meant to get a buffer full of data from the kernel, may block waiting for a buffer to become available. That, in turn, may not happen until user space (perhaps in a different thread) hands a buffer back to the kernel with VIDIOC_QBUF. If the first call blocks with the lock held, the application will end up waiting for a very long time. For this situation, videobuf2 provides two more callbacks: void (*wait_prepare)(struct vb2_queue *q); void (*wait_finish)(struct vb2_queue *q); Before a VIDIOC_DQBUF operation blocks to wait for a buffer, it will call wait_prepare() to release the device lock; once it stops waiting, a call to wait_finish() will reacquire the lock. It might have been better to call them release_lock() and reacquire_lock(), but so it goes. With all of the above in place, the driver can introduce itself to videobuf2. The first step is to fill in a vb2_ops structure with all of the callbacks described above: static const struct vb2_ops my_special_callbacks = { .queue_setup = my_special_queue_setup, /* ... */ }; Then, to set up a videobuf2 queue (normally done either at device registration or device open time), the driver should allocate a vb2_queue structure: struct vb2_queue { enum v4l2_buf_type type; unsigned int io_modes; unsigned int io_flags; const struct vb2_ops *ops; const struct vb2_mem_ops *mem_ops; void *drv_priv; unsigned int buf_struct_size; /* Lots of private stuff omitted */ }; The structure should be zeroed, and the above fields filled in. type is the buffer type, usually V4L2_BUF_TYPE_VIDEO_CAPTURE. io_modes is a bitmask describing what types of buffers can be handled: The mem_ops field is where the driver tells videobuf2 what kind of buffers it is actually using; it should be set to one of vb2_vmalloc_memops, vb2_dma_contig_memops, or vb2_dma_sg_memops. If a situation arises where none of the existing modes works for a specific device, the driver author can create a custom set of vb2_mem_ops to meet that need; as of this writing, there are no drivers in the mainline kernel that have supplied their own memory operations. Finally, drv_priv is a place where the driver can stash a pointer of its own (usually to its device structure), and buf_struct_size is where the driver tells videobuf2 how big its buffer structure is. Once the structure has been filled in, it can be passed to: int vb2_queue_init(struct vb2_queue *q); A call to vb2_queue_release() should be made when the device is shut down. Now most of the infrastructure for videobuf2 is in place; what's left is (1) making the connection between user space operations and their implementation in videobuf2, and (2) actually performing I/O. For the first step, the driver needs to create V4L2 callbacks for the various I/O-oriented ioctl() calls in the usual way. Most of these callbacks, though, can simply acquire the device lock and call directly into videobuf2. There is a whole set of functions to be used in this role: int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b); int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req); int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b);); A similar thing needs to be done with a number of entries in the driver's file_operations structure. To that end, videobuf2 provides: int vb2_mmap(struct vb2_queue *q, struct vm_area_struct *vma);, char __user *data, size_t count, loff_t *ppos, int nonblock); This, of course, is where the payoff happens: all the grungy details of buffer management, implementing mmap(), and more are handled in videobuf2 with no further mess. So the driver code is significantly shorter, the core code is known to be well debugged, and devices behave more consistently toward user space. There's only one little bit of work left to do: actually getting the data into the buffers. For vmalloc buffers, that task is usually accomplished with something like memcpy(); one useful helper function in this case is: void *vb2_plane_vaddr(struct vb2_buffer *vb, unsigned int plane_no); which returns the kernel-space virtual address for the given plane in the buffer. Contiguous DMA drivers will need to get the bus address to hand to the device for I/O; that address can be had with: dma_addr_t vb2_dma_contig_plane_paddr(struct vb2_buffer *vb, unsigned int plane_no); For scatter/gather drivers, the interface is just a bit more complex: struct vb2_dma_sg_desc { unsigned long size; unsigned int num_pages; struct scatterlist *sglist; }; struct vb2_dma_sg_desc *vb2_dma_sg_plane_desc(struct vb2_buffer *vb, unsigned int plane_no); In this case, the driver can obtain the scatterlist from videobuf2 which can then be used to program the device for I/O. For all three cases, the buffer will eventually be filled with frame data which needs to be passed back to user space. The vb2_buffer structure contains v4l2_buffer structure (called v4l2_buf) which should be filled in with the usual information: image size, sequence number, time stamp, etc. Then the buffer should be passed to: void vb2_buffer_done(struct vb2_buffer *vb, enum vb2_buffer_state state); The state parameter should be passed as VB2_BUF_STATE_DONE for a normal completion, or VB2_BUF_STATE_ERROR if something went wrong. Happily videobuf2, unlike its predecessor, does not get upset if buffers are completed in an arbitrary order. And that is a fairly complete summary of the state of the art with regard to the videobuf2 API. Those wanting to see the complete interface can find it in the include files mentioned above. As always, the "virtual video" driver (in drivers/media/video/vivi.c) serves as a sort of showcase for almost everything Video4Linux2 can do; it uses videobuf with vmalloc-style buffers. As of this writing, there is no videobuf3 in sight, so hopefully the information found here will remain useful for a while. Locking & the videobuf2 API Posted Jun 16, 2011 6:52 UTC (Thu) by hverkuil (subscriber, #41056) [Link] But in a nutshell: you either set the 'lock' field in struct video_device to a mutex and then the framework will take care of serialization of file operations (mostly ioctls) for you, or you leave it at NULL and you have to do your own locking. I tend to advocate using the framework serialization rather than doing it yourself since the chances of actually getting the locking right in a complex driver if you do it yourself are pretty close to zero, especially after the driver has undergone a few years of maintenance. Posted Jun 16, 2011 16:03 UTC (Thu) by corbet (editor, #1) [Link] Posted Jun 16, 2011 16:28 UTC (Thu) by hverkuil (subscriber, #41056) [Link] Another reason for doing this was the BKL removal were we needed something reasonably simple to convert old (usually unmaintained) drivers without having to do extensive code reviews. Posted Jun 16, 2011 16:34 UTC (Thu) by corbet (editor, #1) [Link] The videobuf2 API Posted Jun 16, 2011 23:27 UTC (Thu) by jonabbey (subscriber, #2736) [Link] Posted Jun 24, 2011 6:12 UTC (Fri) by m.szyprowski (guest, #62269) [Link] Posted Jun 24, 2011 13:18 UTC (Fri) by corbet (editor, #1) [Link] Posted Jun 28, 2011 1:45 UTC (Tue) by neilbrown (subscriber, #359) [Link] I think the code we are talking about is in drivers/media/video/videobuf2-core.c, starting at vb2_reqbufs(). The low level driver is expected to call this function to "Initiate Streaming". This function calls back into the driver via 'queue_setup' to negotiate the number of buffers (and related details) - possibly twice if the original request could not be met. It also calls back into the driver using the buf_init callback (this is inside sub-function __vb2_queue_alloc) for device-specific initialisation of each allocated buffer. The driver gets to control the size allocate for the 'vb2_buffer' by setting a 'buf_struct_size' field in the vb2_queue. You could almost look at this like a constant callback. The library code does ask the driver to do something for it, but as that something is just "give me a number" not "perform an operation", it is a number rather than a function. The underlying pattern here is that of a complex library function that uses call-backs to handle some caller-specific details. This is a pattern that I find should be used with caution. In simple cases it is a perfectly good pattern. A simple example is qsort which needs a callback to compare (and maybe another to swap) two entries in the array being sorted. The 'page cache' library in Linux follows this pattern too with all the callbacks into the filesystem being collected in 'address_space_operation', and I think that is mostly OK, though bits of it seem a little complex ... I should probably give it more thought. While I haven't done a proper study of this pattern, my feeling is that a sign of problems is when the library needs to call back to ask questions, rather than just to perform actions. This is a problem because it is hard to know if you have really asked all the questions that could be asked. i.e. Maybe the driver writer wants to do something a little bit beyond what the library writer foresaw. If you find that the library is in control rather than the driver being in control, then it is possible that the design is suffering from what I have called "The midlayer mistake", or something very like it. So thae aspect of this interface that concerns me is really queue_setup rather than the buffer allocation details. The alternative is to provide a collection of fine-grained functionality in the library that the driver can use to create the desired result, and leave the driver to handle the control logic (though with suitable documentation and templates to help avoid common mistakes). Were this approach applied to vb2_reqbufs (and I'm not saying that it should be, just exploring possibilities), then the driver would code the main loop that allocates N buffers for whatever N it finds to be appropriate, and would handle errors directly, thus making queue_setup redundant. The driver would initialise the buffers that it allocated (so buf_struct_size and buf_init would not be needed), but it would call in to the library to initialise the part of the structures that the library owns, and possibly to do some other common validity checking. The important distinction between this approach and the currently implemented approach is about where control is - in the library or in the driver. The cost of putting control in the driver is that it is duplicated and more error prone. The cost of putting control in the library is that if a driver writer finds that they need something a little bit different it can be very hard to implement that cleanly. Which one is most appropriate for videobuf2 I cannot say. One would need to implement both in at least a few drivers and compare the complexity to be sure. And even if you did find that one seemed a little bit cleaner than the other, you would need strong motivation to change working code! Linux is a registered trademark of Linus Torvalds
http://lwn.net/Articles/447435/
CC-MAIN-2013-20
refinedweb
2,897
53.75
Bloom is a graph exploration tool which displays data in graph format. It’s a Javascript application (React.js based) and uses the Neo4j Javascript driver in order to interact with a Neo4j database. The users are able to search for graph patterns using a generated vocabulary by the components of their databases (labels, relationships, properties or values) or create their own custom queries. They, also, have access to a very large amount of graph patterns which can lead to a huge amount of results. The complexity of the queries and the size of the available data in combination with the limitation of the client resources requires restrictions on the size of the response and the number of the displayed nodes. So fetching results has always been a challenge for Bloom. For that reason, Bloom can display a range between 100 to 10,000 unique nodes and their relationships. The size of a Cypher query response is limited to 10,000 records (rows), as well. The question is how large the response should be in order to get the maximum available number of unique nodes in a very large space of results. For example, the user searches for Person — Movie which can be translated in Cypher to MATCH (n:Person)-[r]-(m:Movie) RETURN n, r, m. The selected maximum number of unique nodes, from the Bloom settings, is 10000. In the below image you can see a visual representation of the response. Each column represents a record. Each unique node has a unique color. The multiple relationship types between a Person and the Movie (for example, a Person can be an ACTOR in a Movie and the same Person can be the PRODUCER of the same Movie) can create many duplicates for the nodes. The number of the records to be parsed, in order to get the specified number of unique nodes is not a priori known by the response (if you don’t collect DISTINCT lists), as many records can include duplicates of the same nodes. After filtering all the records, at the example query, there is a need to fetch 26000 records in order to get the ideal number of 10000 unique nodes. The problem comes up when the size of the records is too large to be filtered at once by the client (for example 100K rows), or even when the server has to parse a huge amount of records which may not be needed. At the same time Bloom needs a common way to fetch results for the pattern search and the custom Cypher queries created by the users. As mentioned above, you are not able to know a priori which is the ‘right’ limit in order to get exactly 10000 unique nodes (26K rows in this example) and set it as LIMIT in your query. Even if you knew that, a large LIMIT could still cause performance issues at the client. The question is how can you set the number of the records in your query in order to get a size of response which can be handled by the client and at the same time calculate efficiently the maximum number of unique nodes. Solution 1: Chunk Approach At Bloom versions earlier than 1.6.0 we developed a pagination method using SKIP/LIMIT combination. The same method is used in the Bloom version 1.6.0 and later, as well, but only for the older 3.5.x Neo4j databases. Bloom divided the response in chunks using multiple queries until the desired number of unique nodes was reached or when all the records were consumed. So, despite fetching all the rows that match the pattern of the Cypher query calling a simple transaction, using the chunk approach we divide the response size calling different transactions with a specified SKIP and LIMIT. The Chunk Approach enables the client to manage the size of the response and calculate the maximum number of unique nodes efficiently, but the generation of multiple queries and the use of SKIP adds more complexity to the code and raises the execution time. And the server still needs to process the data to be skipped time and again. Solution 2: Reactive Drivers In version 4.0 Neo4j database’s reactive drivers were introduced. You can imagine them as a gate between the client and the server in which you control the flow of data and adjust it accordingly. The results return to the client as quickly as they are generated by the server. Reactive drivers are used in Bloom since the 1.6.0 version. Bloom uses the Reactive API of the Neo4j Javascript driver (check out the Neo4j Javascript driver manual) which is an extension of ReactiveX, so it would be good to get familiarised with reactive programming and streams of data. A reactive session should be established, using rxSession(), in order to use reactive programming API provided by the neo4j driver. The basic components of a reactive session are the Publisher, which emits data (records()), the Subscriber, which watches the flow of the data and the Processor which is between publisher and the subscriber and represents the state of values processing. The basic operators we use are bufferCount(<buffer_size>) and takeUntil(<notifier>) by ReactiveX — RxJS (reactive extensions library for javascript). Using bufferCount(<buffer_size>) you can define the size of results you can accept each time. Technically, the values of the stream of data are packed in arrays with a specified size at bufferCount(<buffer_size>). This procedure continues until the notifier defined at takeUntil(<notifier>) emits a value or when all the possible results are consumed by the server. At the Subscriber level, when the desired number of unique nodes is reached, Bloom forces the notifier in order to emit a value and the transaction is completed declaratively. In case there are not more results the transaction is completed automatically. This technique can be used for any data processing you need in the client side using data size limitations. In the example code below you can find a simple way for calculating unique nodes using reactive drivers (in combination with bufferSize() and takeUntil() operators), in the client side. import neo4j from 'neo4j-driver' import { Subject } from 'rxjs' import { bufferCount, takeUntil } from 'rxjs/operators' import { concat, flatten, uniqBy, slice } from 'lodash' const MAXIMUM_UNIQUE_NODES = 10000 const BUFFER_SIZE = 10000 let uniqueNodes = [] const driver = neo4j.driver( 'neo4j://localhost', neo4j.auth.basic('neo4j', 'password') ) const query = `MATCH (n:Person)-->(p:Movie) RETURN id(n) as idn, id(p) as idp` const rxSession = driver.rxSession({ database: 'myDatabase' }) const notifier = new Subject() const emitNotifier = () => { notifier.next() notifier.complete() } const filterUniqueNodes = records => { const newNodes = records.map(d => [d.toObject()['idn'].toInt(), d.toObject()['idp'].toInt()]) // filter out the new unique nodes const newUniqueNodes = uniqBy(flatten(newNodes)) // compare with the existing unique nodes and update the uniqueNodes uniqueNodes = uniqBy(concat(newUniqueNodes, uniqueNodes)) if (uniqueNodes.length === MAXIMUM_UNIQUE_NODES){ emitNotifier() } if (uniqueNodes.length > MAXIMUM_UNIQUE_NODES) { uniqueNodes = slice(uniqueNodes, 0, MAXIMUM_UNIQUE_NODES) emitNotifier() } } export const fetchResultsUsingReactiveDrivers = () => rxSession.readTransaction(tx => tx .run(query, {}) .records() .pipe( bufferCount(BUFFER_SIZE), takeUntil(notifier) )) .subscribe({ next: records => { // here you can add your own function for manipulating the incoming data filterUniqueNodes(records) }, complete: () => { console.log('completed', uniqueNodes) }, error: error => { console.error(error) } }) Another advantage of the use of the reactive drivers is that gives the flexibility to the client to request data with specified size until they are totally consumed or terminate the transaction when needed. There are, also, a plethora of operators provided by RxJS that you can use and customise your Neo4j transactions to the needs of your application. For a more in-depth explanation of the reactive driver model provided by Neo4j 4.x drivers, Greg Woods presents the details in this session: So we were really happy and impressed how well we could change our data-fetching code to be more efficient and making use of the reactive dataflow to only fetch as much as we needed without overloading client or server. You can see the results of this work in our latest Neo4j Bloom release 1.7.0 which also brings a lot of other great features. Fetching Large Amount of Data Using the Neo4j Reactive Driver: The Bloom Case was originally published in Neo4j Developer Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.
https://neo4j.com/developer-blog/fetching-large-amount-data-neo4j-reactive-driver-the-bloom-case/
CC-MAIN-2021-43
refinedweb
1,385
51.28
Author: Jack Minardi I gave a talk at SciPy 2013 titled open('dev/real_world') Raspberry Pi Sensor and Actuator Control. You can find the video on youtube, the slides on google drive and I will summarize the content here. Typically as a programmer you will work with data on disk, and if you are lucky you will draw pictures on the screen. This is in contrast to physical computing which allows you as a programmer to work with data sensed from the real world and with data sent to control devices that move in the real world. physical computing at work. (source) (potentiometer). -), build this circuit on a breadboard: thats not so bad, is it?. I’ve turned the Pi into ephemeral yellow labels to simplify the diagram To talk to the chip we will need a python package called spidev. For more information about the package and how it works with the MCP3008 check out this great blog post With spidev installed and the circuit built, run the following program to read live sensor values and print them to stdout. import spidev import time spi = spidev.SpiDev() spi.open(0,0) def readadc(adcnum): if not 0 <= adcnum <= 7: return -1 r = spi.xfer2([1, (8+adcnum)<<4, 0]) adcout = ((r[1] & 3) << 8) + r[2] return adcout while True: val = readadc(0) print val time.sleep(0.5) The most important parts are these two lines: r = spi.xfer2([1, (8+adcnum)<<4, 0]) adcout = ((r[1] & 3) << 8) + r[2] They send the read command and extract the relevant returned bits. See the blog post I linked above for more information on what is going on here. Stream data. To stream data over the wire we will be using the ØMQ networking library and implementing the REQUEST/REPLY pattern. ØMQ makes it super simple to set up a client and server in Python. The following is a complete working example. Server import zmq context = zmq.Context() socket = context.socket( zmq.REP) socket.bind('tcp://*:1980') while True: message = socket.recv() print message socket.send("I'm here") Client import zmq context = zmq.Context() socket = context.socket( zmq.REQ) a = 'tcp://192.168.1.6:1980' socket.connect(a) for request in range(10): socket.send('You home?') message = socket.recv() print message Now we can use traits and enaml to make a pretty UI on the client side. Check out the acc_plot demo in the github repo to see an example of the Pi streaming data over the wire to be plotted by a client. Control a servo Servos are (often small) motors which you can drive to certain positions. For example, for a given servo you may be able to set the drive shaft from 0 to 18o degrees, or anywhere in between. As you can imagine, this could be useful for a lot of tasks, not least of which is robotics. Shaft rotation is controlled by Pulse Width Modulation (PWM) in which you encode information in the duration of a high voltage pulse on the GPIO pins. Most hobby servos follow a standard pulse width meaning. A 0.5 ms pulse means go to your min position and a 2.5 ms pulse means go to your max position. Now repeat this pulse every 20 ms and you’re controlling a servo. The pulse width is much more critical than the frequency These kind of timings are not possible with Python. In fact, they aren’t really possible with a modern operating system. An interrupt could come in at any time in your control code, causing a longer than desired pulse and a jitter in your servo. To meet the timing requirements we have to enter the fun world of kernel modules. ServoBlaster is a kernel module that makes use of the DMA control blocks to bypass the CPU entirely. When loaded, the kernel module opens a device file at /dev/servoblaster that you can write position commands to. I’ve written a small object oriented layer around this that makes servo control simpler. You can find my library here: Simple connect the servo to 5v and ground on your Pi and then connect the control wire to pin 4. The python code is quite simple: import time import numpy as np from robot_brain.servo import Servo servo = Servo(0, min=60, max=200) for val in np.arange(0, 1, 0.05): servo.set(val) time.sleep(0.1) All you have to do is instantiate a servo and call its set() method with a floating point value between 0 and 1. Check out the servo_slider demo on github to see servo control implemented over the network.
http://blog.enthought.com/category/enthought-tool-suite/enaml/
CC-MAIN-2019-04
refinedweb
783
73.27
11 July 2012 23:08 [Source: ICIS news] HOUSTON (ICIS)--?xml:namespace> Exports decreased to 9,588 tonnes from 15,484 tonnes in May 2011. The decrease stemmed from 67% less product being shipped to Month on month, exports were flat, but imports dropped by 18%. May imports were down by 22% versus the same month of 2011. May 2012 imports totalled 5,591 tonnes, arriving primarily from US prices for IPA were 80-82 cents/lb ($1,764-1,808/tonne, €1,446-1,483/tonne), as assessed by ICIS. US IPA producers include Shell Chemicals, Dow Chemical, LyondellBasell and ExxonMobil. (
http://www.icis.com/Articles/2012/07/11/9577594/us-may-ipa-exports-fall-38-year-on-year.html
CC-MAIN-2014-15
refinedweb
102
73.88
did some more research and hacking over the weekend and I think I have some more insight into the real issue. It does not appear to have anything to do with typemaps as I had thought. I created a small test class of my own in one of my own other wrapped modules that used an argument that was of a c++ type defined in my other module. The exact same thing happened. Other people with similar problems seem to think this has to do with the fact that one module cannot generally use the type information from another due to the fact that they are dynamically linked and loaded at runtime. Does anyone know how to fix this? I think I could do it by building a custom Python interpreter with all necessary modules statically linked in. I would prefer not to do this. - Greg --- On Sun, 7/6/08, Gregory Propf <gregorypropf@...> wrote: From: Gregory Propf <gregorypropf@...> Subject: [Swig-user] TypeError using vtkRenderer object in Python To: swig-user@... Date: Sunday, July 6, 2008, 12:29 PM I have a library that I wrote and am now wrapping. In one spot it uses the vtk visualization package to display some output. I have the following function and related Python code. The only problematical part is the *ren1 arg. Everything else, my library and vtk itself works fine in Python as long as you don't try to wrap one of *my* functions that uses a Python vtkRenderer object (which is itself a wrapped version of the vtk C++ object). Adding to the confusion here is that the function that's being wrapped is in C while the library that contains the GfUniverse class is in C++. I'm wondering if this is the whole problem in fact. Is SWIG getting confused by my mixed language use? I had meant to convert the C parts to C++ anyway but was sort of hoping to see results a bit sooner. Anyone ever see this kind of problem? The vtk wrappings appear to be hand coded or something, they're not SWIG anyway. - Greg c library: vtkvis_univ *new_vtkvis_univ(GfUniverse *univ, vtkRenderer *ren1, vtkvis_scaling_factors sf); Python: ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) u=GfUniverse() sf=new_vtkvis_scaling_factors() vis=new_vtkvis_univ(u, ren, sf) This results in the following error: exceptions.TypeError Traceback (most recent call /home/greg/WD/gforce-cmake/install/lib/testwrapper.py 12 u=GfUniverse() 13 sf=new_vtkvis_scaling_factors() ---> 14 vis=new_vtkvis_univ(u, ren, sf) 15 16 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at Swig-user mailing list Swig-user@... Hello William, Thanks for the advice I remove the std imports. But still get a similar error: Running : C:\swigwin-1.3.36\swig -Wall -c++ -java -package com.emc.cst.cstBridge -module cstBridge -IX:\include -IX:\common -IX:\C_library\include -IX:\data -IX:\services -IX:\managers -IX:\ -IC:\swigwin-1.3.36\Lib\java -IC:\swigwin-1.3.36\Lib -outdir J:\cst\cstBridge -o c:\cst-Dev\dev\src\com\emc\csp\common\swigInterfaces\cst_wrap.cpp -oh c:\cst-Dev\dev\src\com\emc\csp\common\swigInterfaces\cst.h "c:\cst-Dev\dev\src\com\emc\csp\common\swigInterfaces\cst.i" X:\common\swigInterfaces\base.i(19): Error: Syntax error in input(1). SwigGen Complete! Here are the relevant line of base.i 1: // Swig Inerface file for building bridging code between C++ and Java 2: 3: %insert("runtime") %{ 4: #define AttachCurrentThread AttachCurrentThreadAsDaemon 5: %} 6: // define the module name 7: %module(directors="1") cspBridge 8: 9: // Boilerplate code to load the CSP.dll 10: 11: 12: %define SWIG_EXPORT_ITERATOR_METHODS 13: %enddef 14: 15: %import "cpointer.i" 16: 17: %import "java/typemaps.i" 18: %import "java/various.i" 19: %import "java/stl.i" 20: %import "java/arrays_java.i" 21: 22: %ignore CSP::EXCEPTIONS::IExceptionData Any suggestions would greatly appriacted. Thanks John > -----Original Message----- > From: William Fulton [mailto:william@...] On Behalf Of > William S Fulton > Sent: Thursday, July 03, 2008 5:34 PM > To: Cooper, JohnD > Cc: swig-user@... > Subject: Re: [Swig-user] Strange issue with 1.3.36 > > Cooper_JohnD@... wrote: > > Hello All, > > > > Just download 1.3.36 for some of the Java fixes, but when I try to use > > it against our current rule set, mind you none of our rules have changed > > between 1.3.31 which works and 1.3.36 which does not, I get the > > following error: > > Running : M:\src\make\..\..\src\thirdparty\swigwin-1.3.36\swig > > -Fmicrosoft -Wall -c++ -java -package com.emc.cst.cstBridge -module > > cstBridge -IX:\include -IX:\common -IX:\C_library\include -IX:\data > > -IX:\services -IX:\managers -IX:\ > > -IM:\src\make\..\..\src\thirdparty\swigwin-1.3.36\Lib\java > > -IM:\src\make\..\..\src\thirdparty\swigwin-1.3.36\Lib -outdir > > J:\cst\cstBridge -o > > m:\src\com\emc\csp\common\swigInterfaces\cst_wrap.cpp -oh > > m:\src\com\emc\csp\common\swigInterfaces\cst.h > > "m:\src\com\emc\csp\common\swigInterfaces\cst.i" > > M:\src\make\..\..\src\thirdparty\swigwin-1.3.36\Lib\std\std_list.i(78): > > Error: Syntax error in input(3). > > > > SwigGen Complete! > > > > Can anyone shed any light on what might be causing this? > > > > Java doesn't use Lib/std/std_list.i. Are you explicitly including it? > Running swig with the -v option should print out the search paths it is > considering and that should not include Lib/std. The files in std are > not designed for use with java, so if you are explicitly including > std/std_list.i, you are going to have to think of something else, like > use an older version perhaps? > > William Hi, I'm trying to generate some code which has both template types and typedefs and it seems to be confusing swig, me and/or both! I'm targetting c# at the mo. I'm running swig using this command: "c:\program files\swig\swigwin-1.3.36\swig" -csharp -namespace Test -o SWIG_wrap.cxx -outdir .\output -c++ -module TestDll test.i test.i consists of: %{ #include <map> #include <vector> %} %include stl.i %include "std_map.i" %include "std_vector.i" %template(DoubleVector) std::vector<double>; typedef std::map< int, std::vector<double> > CdoIntegGrid_t; typedef std::vector< CdoIntegGrid_t > CdoIntegGridVect_t; %template(DateDoubleVectorMap) std::map< int, std::vector<double> >; %template(CdoIntegGridVector) std::vector< CdoIntegGrid_t >; class kbCLossBaskets { public: static std::vector<double> SimpleMethod(const std::vector<double>& coupons, CdoIntegGridVect_t * aFixedGrid=NULL); }; The problem is that the generated files include a class called CdoIntegGridVector, which you woudl hope is a vector of DateDoubleVectorMap, but in fact it puts out code like this: public std::map< int,std::vector< double > > this[int index] { get { return getitem(index); } set { setitem(index, value); } } I have a feeling it may be related to this, but wasn't wholly sure.... Would greatly appreciate some help for this... Thanks, Phil -- View this message in context: Sent from the swig-user mailing list archive at Nabble.com. Hi! I have been using swig to generate Java wrappers for some years. Now I am using swig to integrate native code with c#. The first issue I ran into is passing strings. I have an API that expects UTF-8 encoded strings and unfortunately this does not seem to be supported out-of-the-box by .NET P/Invoke. The approach I took is to pass in the string as UTF-16 to the native side and do the conversion to UTF-8 on the c side by defining appropriate typemaps (I have the necessary c functions to convert from utf-16 to utf-8). Defining the appropriate typemaps is easy enough, but as the CharSet field of DllImport attribute seems to default to CharSet.Ansi, I'd need to be able to make swig set that field to CharSet.Unicode. I looked at the c# swig documenation (), but could find nothing about how to affect the CharSet field of DllImport. Is it supported? Setting attributes for individual parameters seems to be supported in the imtype typemap, so I guess this should do the trick: %typemap(imtype, inattributes="[MarshalAs(UnmanagedType.LPWStr)]") Am I on the right track? Or is there a better way to swig wrap UTF-8 string parameters? ::Antti::
https://sourceforge.net/p/swig/mailman/swig-user/?viewmonth=200807&viewday=7
CC-MAIN-2017-43
refinedweb
1,387
50.12
Using Office UI Fabric Core and Fabric React in SharePoint Framework The Office UI Fabric is the official front-end framework for building experiences in Office 365 and SharePoint. SharePoint provides seamless integration with Fabric that enables Microsoft to deliver a robust and consistent design language across various SharePoint experiences such as modern team sites, modern pages, and modern lists. Additionally, the Office UI Fabric is available for developers in the SharePoint Framework when building custom SharePoint solutions. Microsoft uses Fabric Core and Fabric React in SharePoint. Microsoft regularly pushes updates to SharePoint Online that could also update the Fabric Core and Fabric React versions as well. These updates could potentially conflict with third-party customer solutions built with previous versions of Fabric Core and Fabric React, which could cause exceptions in those customizations. The primary reason for these types of breaks is the use of Global CSS styles in both Fabric libraries. Such conflicts need to be avoided at all costs. The challenge with Global CSS styles is explained in the following presentation within the context of React and JavaScript: React CSS in JS. To achieve reliability, one of the main problems we need to solve is that of Global CSS styles. This accounts to not using global class names in the HTML markup and instead using Fabric Core mixins and variables in the Sass declaration file. This involves importing the Fabric Core's Sass declarations in your Sass file and then consuming the variables and mixins appropriately. Goals The goal of the SharePoint Framework is to allow both Microsoft and customers to build rich, beautiful, and consistent user experiences on top of SharePoint. In accordance with these goals, following are the key design principles: - Customers should be able to smoothly and reliably consume Fabric Core and Fabric React in their solutions. - Microsoft will roll out updated experiences that consume updated versions of Fabric Core and Fabric React in SharePoint without conflicting with customer's solutions. - Customers can customize and override the default styles, designs, and components to tailor the solution's needs. There are two parts of the Office UI Fabric that are available for use by developers: Office UI Fabric Core. A set of core styles, typography, a responsive grid, animations, icons, and other fundamental building blocks of the overall design language. Office UI Fabric React. A set of React components built on top of the Fabric design language for use in React-based projects. Office UI Fabric Core package The SharePoint Framework Fabric Core npm package (@microsoft/sp-office-ui-fabric-core) contains a subset of supported Fabric Core styles that can be safely consumed within a SharePoint Framework component. The following core styles are supported in the package: - Typography - Layouts - Colors - Themes - Localization The following are not yet supported in the package: - Animations - Icons Starting with the SharePoint Framework Yeoman generator version 1.3.4, the default project (web parts and extensions) templates come setup with the new @microsoft/sp-office-ui-fabric-core package and consume core styles from the package instead of using global CSS styles. Update existing projects To use the Fabric Core package in your existing project, install the package as a dependency: npm install @microsoft/sp-office-ui-fabric-core --save After it's installed, you can then import the Fabric Core Sass declarations in your Sass definition file and use the mixins and variables as described in the following section. Use Fabric Core styles To use the Fabric Core styles, you need to import the SPFabricCore declarations into your Sass file. Note Make sure you have the @microsoft/sp-office-ui-fabric-core npm package installed. @import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss'; Now you can use the core styles as mixins and variables. .row { @include ms-Grid-row; @include ms-fontColor-white; background-color: $ms-color-themeDark; padding: 20px; } Office UI Fabric React We recommend that you use the versions of the Office UI Fabric React package included in the project in the SharePoint Framework's Yeoman generator. For instance, the SharePoint Framework v1.7.0 release uses Fabric React v5.131.0 Note Fabric React versions 2.x or older are not supported in SharePoint Framework. After the Fabric React package is installed, you can import the required components from the Fabric React bundle. //import Button component from Fabric React Button bundle import { Button } from 'office-ui-fabric-react/lib/Button'; //use it in your component render() { ... <div> <Button>click me</Button> </div> ... } The Fabric React package includes the supported Fabric Core styles used in the Fabric React components. We recommend that you import the Fabric Core styles from the Fabric React package instead of from the @microsoft/sp-office-ui-fabric-core package to ensure that the right styles are used in your component. Because the @microsoft/sp-office-ui-fabric-core package is already installed in your solution by the Yeoman generator, we recommend that you uninstall that package if you decide to use Fabric components and reduce your component bundle size. npm uninstall @microsoft/sp-office-ui-fabric-core --save You can then import the core styles from the Sass declarations available in the Fabric React package. @import '~office-ui-fabric-react/dist/sass/_References.scss'; Understanding this approach and its shortcomings Fabric components in your solution are locked to the specific version of Fabric React that you installed. You need to update the Fabric React package to get any new components if they are available in a newer package version. Because the Fabric components are included in the component bundle, it may increase the size of your component bundle. However, this approach is the only approach that is officially supported when Office UI Fabric React is being used in SharePoint Framework solutions. The CSS challenge with Office UI Fabric The following concepts and references provide insights on the challenge with using Office UI Fabric in the context of client-side web parts. Global CSS styles How to avoid Global CSS styles at all costs is a big problem. Today, both Fabric Core and Fabric React have global styles. A lack of any native solutions from the browser to manage the style scoping makes this a very difficult problem. - Scope CSS is in early stages of discussion. - iframes are not a good option to isolate styles. - Web Components is another standard that talks about scoped styles but is still in the discussion stage. - The React: CSS in JS discussion explains the problem well. There is plenty of other documentation on the web about the solutions to the global namespace menace. CSS specificity How CSS specificity applies to web UI. Higher specificity styles override lower specificity styles, but the key thing to understand is how the specificity rules apply. In general, the precedence order from highest to lowest is as follows: - The style attribute (for example, style="background:red;") - ID selectors ( #myDiv { }) - Class selectors ( .myCssClass{}), attribute selectors ( [type="radio"]), and pseudo-classes ( :hover) - Type selectors ( h1) Loading order. If two classes are applied on an element and have the same specificity, the class that is loaded later takes precedence. As shown in the following code, the button appears red. If the order of the style tags is changed, the button appears green. This is an important concept, and if not used correctly, the user experience can become load order-dependent (that is, inconsistent). <style> .greenButton { color: green; } </style> <style> .redButton { color: red; } </style> <body> <button class="greenButton redButton"></button> </body> Other approaches considered and discarded Following are some additional insights on the other approaches that were considered but discarded because they did not achieve the key objectives to enable third-party developers to safely use the Office UI Fabric styles. Office UI Fabric Core The web part developer would not be required to do anything explicitly to get the scoping to work. We planned to solve this problem through CSS specificity and descendant selectors. The Fabric Core team would ship multiple copies of Fabric Core css (for example, fabric-6.css, fabric-6-scoped.css, fabric-6.0.0.css, fabric-6.0.0-scoped.css). All the styles in the scoped CSS files would be inside a descendant selector, for example .ms-Fabric--v6-0-0 .ms-Icon--List. At compile time, the tooling would collect the version of the Office UI Fabric Core that the web part was built with. This version could be the one that comes with SharePoint Framework. Alternatively, web part developers could specify an explicit dependency on a specific version of Office UI Fabric Core in their package.json file. The web part div would be assigned this scope, that is <div data-sp-webpart. The Framework would load the specific major version of the Fabric Core-scoped CSS file. If the web part was built with version 6.0.0 of the Fabric Core CSS, the Framework would download fabric-6-scoped.css when the web part was loaded. The rest of the page would contain unscoped Office UI Fabric Core styles. This way, as per CSS specificity rules, the scoped CSS would take precedence within the web part div. The web part and its contents would align to the specific version of the Office UI Fabric Core that the developer had chosen. Overriding Fabric Core styles would not be supported. // Sample of how the scoping would work. import { SPComponentLoader } from '@microsoft/sp-loader'; export default class MyWebPart { constructor() { super(); SPComponentLoader.loadCss(''); } } protected render(): void { <div className="ms-Fabric--v6-0-0"> { // Rest of the web part UI } </div> } Shortcomings of this strategy After analyzing this strategy for a while, it was decided that the descendant selector approach has two serious shortcomings that would make it impossible to build a web part that would never break. Lack of reliable nesting support This approach only works if the Microsoft user experience (that is, page and first-party web parts) use an unscoped version of the Office UI Fabric Core such as ms-Icon--List, while the third-party web parts only use scoped Office UI Fabric Core CSS as explained earlier. The reason being that the specificity of the scoped CSS applied on the web part overrides the unscoped CSS on the page. Keep in mind, as explained earlier, that if CSS specificity of the two classes is the same, their loading order plays a role in how the CSS classes are applied. The class that loads later takes precedence. Hence, the higher specificity of the scoped CSS is important in getting a consistent experience. Furthermore, multiple extensions, one contained in the other, cannot use different Fabric Core versions. In the following example, only ms-Fabric--v6-0-0 would get applied: <div className="ms-Fabric--v6-0-0"> { // Rest of the web part UI } { // inside of this SPExtension trying to use different Fabric core version does not work } <div className="ms-Fabric--v8-0-0"> </div> </div> Here's a more simplistic sample demonstrating the challenge: <html> <head> <title>CSS specifity test</title> <style> .myButton { background-color: brown; color: brown; height: 20px; width: 40px; } </style> <style> .scope2 .myButton { background-color: green; color: green; } </style> <style> .scope3 .myButton { background-color: yellow; color: yellow; } </style> <style> .scope1 .myButton { background-color: red; color: red; } </style> </head> <body> <div> <span>These tests demonstrate descendant selectors, nesting and load order problems.</span> <div> <br/> <span>This test depicts that a descendant selector with the same specificity does not allow nesting. All buttons below do not take the innermost scope (i.e. they should be different colors), but they are all red. Further, if you change the ordering of the style tags, the colors will change. (i.e. the UI is load order dependant.)</span> <div class='scope1'> <button class='myButton'</button> <div class='scope2'> <button class='myButton'></button> <div class='scope3'> <button class='myButton'></button> </div> </div> </div> </div> </div> </body> </html> Leakage from unscoped classes There is another problem with descendant selectors. Note in the previous example that the height and the width styles from the unscoped myButton class are applied to all the buttons. This implies that a change in that style could inadvertently break HTML by using scoped markup. Say for example, for some reason at the app level we decide to make height 0 px on the myButton class. That results in all third-party web parts that use the myButton class to have a height of 0 px (that is, a serious regression in the user experience). Usage of the Office UI Fabric icons in SPFx components There are changes on how to use Office UI Fabric icons in the rendering of the SharePoint Framework solutions starting from the SharePoint Framework version 1.8.2. Legacy way of using icons (before SPFx 1.8.2) <i className={css('ms-Icon', 'ms-Icon--RecurringEvent')}></i> Updated way to use icons (after SPFx 1.8.2) Solutions build with no JavaScript framework option. - Add @uifabric/stylingpackage to your package.json - Make code changes similar to below code, to get the required icon into your code: import { getIconClassName } from '@uifabric/styling'; return `<i class="${getIconClassName('Mail')}" />`; Solutions build with React option or by using React in general. - Add office-ui-fabric-reactpackage to your package.json, if not already added. - Make code changes similar to below code, to get the required icon into your code: import { Icon } from 'office-ui-fabric-react/lib/Icon'; <Icon iconName='Mail' /> See also Feedback
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/office-ui-fabric-integration
CC-MAIN-2019-47
refinedweb
2,243
52.7
Opened 5 years ago Closed 5 years ago #18018 closed Bug (invalid) MessageFailure in Django 1.4 admin Description When not having the Django messages framework installed, Django 1.4 throws as exception on saving objects via the admin interface: MessageFailure at /admin/forum/post/5/ You cannot add messages without installing django.contrib.messages.middleware.MessageMiddleware When I disable loc 696 in contrib/admin/options.py, everything works fine: def message_user(self, request, message): """ Send a message to the user. The default implementation posts a message using the django.contrib.messages backend. """ # messages.info(request, message) pass messages.info can only be used when the optional messages framework is installed ...? Another minor thing: Even with the new cookie based session backend, Django still creates a database session table. Intentionally? Great work and thanks a lot for Django 1.4!! Change History (14) comment:1 Changed 5 years ago by comment:2 follow-up: 4 Changed 5 years ago by Should these dependencies be validated? Maybe part of improve error messages project? comment:3 Changed 5 years ago by Another minor thing: Even with the new cookie based session backend, Django still creates a database session table. Intentionally? This is a known trade-off, I don't believe there are any performance drawbacks to creating a single, unused table. comment:4 Changed 5 years ago by Should these dependencies be validated? Maybe part of improve error messages project? No, at some point we can't prevent people who don't read the first line of the docs from shooting themselves into the foot. comment:5 Changed 5 years ago by Thanks for the hint. Obviously this changed over the last Django version, since up to now, we neither had the required message context processor, nor middleware or app installed. For only *one* occurrence of the messages framework inside the admin code this is actually quite some overhead. IMHO, it would make sense to make this optional and simply check availability of the framework here: contrib/admin/options.py messages.info(request, message) Best, Simon comment:6 Changed 5 years ago by I think this is a backwards incompatible change, in 1.3 you did not need the messages framework, in 1.4 you do, and this is not mentioned in release notes. I am reopening this, please re-close if I am missing something obvious. comment:7 Changed 5 years ago by Indeed - it wasn't obvious in the original report that it's a regression. It could still end up as wontfix, but with more arguments :) comment:8 Changed 5 years ago by It's a planned regression -- the old messages support was deprecated and finally removed in 1.4. Thus the new way is required by admin in 1.4. I've seen other tickets go by where someone complained that final removal of something on the deprecation path wasn't noted in the release notes. This is the same issue. Answer in the past has been we don't note those in the release notes...given how many times things like this are being raised I think it might be better if we DID actually note those things that are now really gone due to finishing their deprecation cycle. People don't seem to be paying attention to the plans from previous release notes or seeing/acting on the deprecation warnings. comment:9 Changed 5 years ago by I still think there is problem. If you installed admin by the docs of 1.3: Add 'django.contrib.admin' to your INSTALLED_APPS setting. The admin has four dependencies - django.contrib.auth, django.contrib.contenttypes, django.contrib.messages and django.contrib.sessions.. I think you will get a non-functioning site in 1.4. 1.4 docs has this addition, and it is not mentioned in release notes. Add django.contrib.messages.context_processors.messages to TEMPLATE_CONTEXT_PROCESSORS and MessageMiddleware to MIDDLEWARE_CLASSES. (These are both active by default, so you only need to do this if you’ve manually tweaked the settings.) Of course, the proper test is to install Django + admin using 1.3 docs, upgrade to 1.4 using release notes and see if the admin still works. I haven't done that, but the above suggests there could be a problem. Note that I am not saying that the dependency should be removed, just that the release notes should mention this. comment:10 Changed 5 years ago by OK, I tested upgrading from 1.3 to 1.4. In fact, things do work with the 1.3 default settings and admin installation according to docs. The problem is if you have for some reason removed the MessageMiddleware from the default settings (or, maybe you are upgrading from 1.x -> 1.3 -> 1.4). In that case you will not get any warnings in 1.3, and in 1.4 things will not work. So, the problem is that in 1.3 MessageMiddleware was not required, in 1.4 it is and the release notes (or 1.3 warnings) do not mention this. 1.3 docs do not mention that MessageMiddleware is required. A note "make sure MessageMiddleware is in the MIDDLEWARE_CLASSES" should be in release notes. As this is a rare situation, and the error message is clear enough when you hit it, I don't think anything more needs to be done. comment:11 Changed 5 years ago by The deprecation timeline document says, under the 1.4 section: [...] The Message model (in django.contrib.auth) [...] will be removed. The messages framework should be used instead. [...] Note that this means that the admin application will depend on the messages context processor. So what we are missign is a way to effectively help users to find that document that somebody has taken to write a while back as a part of theur upgrade process. IMHO adding notes with these kind of caveats to the release notes will render that document in a heavy piece and could introduce the risk of having manually maintained, duplicate information in two pieces of documentation. Two different proposals: - Maybe we can add prominent links pointing to the: - Deprecation timeline and - Latest release notes (in that order) for users that are upgrading from previous versions to the Installation document ()? - Currently, the main document index has this text in a link: "Release notes and upgrading instructions" but the target () of such link is little more than a perfunctor¡y list of release notes documents, there are not actual upgrading intructions. Maybe we can add a prominent seealso or warning ReST admonition at the top of such document warning/pointing users upgrading from older version that they should read the deprecation timeline document. Option 1 could be too heavy for a introductory installation document that is mostly read by new users. I'd prefer option 2. comment:12 Changed 5 years ago by I did not see that this was mentioned in the deprecation timeline. I just searched for "message" in the 1.4 release notes. I would hope there would be a single document you need to follow to update. I am not sure, but it seems you need to read through both the deprecation time line and the release notes to upgrade, the first contains deprecations, the second backwards incompatible changes. At least adding the seealso/warning sounds like a good idea. At this point I am not too attached to the "must add release note" idea. It is mentioned in the deprecation timeline. Install 1.3 + admin -> 1.4 works, and even if you hit the error you get a clear indication what went wrong. I am still leaving this open, but re-closing this doesn't sound like a bad idea to me. comment:13 Changed 5 years ago by The original error message was enough for us to see what the problem was - pretty clear. Just keep the system the way it is. I think everything works really great. I just thought it might be a bug ... comment:14 Changed 5 years ago by reclosing as invalid. Sorry for the noise. django.contrib.adminis documented as depending on django.contrib.messages, and django.contrib.messages.middleware.MessageMiddleware. So unfortunately those things are not optional if you want to use the admin site. See
https://code.djangoproject.com/ticket/18018
CC-MAIN-2017-39
refinedweb
1,382
66.33
I decided to compile a small list of Visual Studio features that I use a lot. Code Editor Navigation Refactoring Code generation Debugging Solution Explorer Macros and automation: P.S. Sara Ford has much much more in her famous Did you know series. Finally: There is a nice game called Enlight from FeejoSoft. I have it on my PocketPC phone and for the life of me I just couldn't get past level 33. So yesterday I finally sat down and implemented an algorithm to solve this game automatically. Of course, I used C# and Visual Studio (as a tester, I used our latest internal build of Visual Studio 2010, although it will run just as fine on 2008 as well). The game The rules are really simple. There is a boolean matrix 10x10, and you can invert cells. When you invert a cell, all its neighbors (usually four) are inverted with it. Given this operation, you are required to nullify the matrix (turn off all the lights): The game is freeware and you can use your favorite search engine to find and download it (e.g. from freewareppc.com, no responsibility for links). If you'd like to run it in an emulator, here are the steps: The algorithm The idea I used is commonly used for such problems (e.g. eight queens puzzle () is usually solved using depth-first search with backtracking). I encourage you to visit this wikipedia article, it is very interesting read. We'll visit every cell column by column. Every cell will have it's next cell which is down in the next row, or the first cell of the next column to the right. For brute force, you would recurse to visit the next cell, then come back, toggle the cell and recurse again. This way every cell will be tried in both combinations. However this will yield 2^100 iterations. We can considerably trim down the search if we don't recurse for knowingly invalid boards. This way we prune the "phase space" of the problem significantly. Here's the complete code for the solver: namespace MatrixGame { public class Solver { private Field sourceField; private Field solution = new Field(); private Field currentSolution = new Field(); private Solver(Field field) { this.sourceField = new Field(field); } public static Field FindSolution(Field field) { Solver solver = new Solver(field); solver.Search(FieldCoordinates.StartingPoint); return solver.solution; } private int steps = 0; /// <summary> /// Main algorithm /// </summary> void Search(FieldCoordinates current) { steps++; // we traverse the cells column by column, // left to right, top to bottom var next = current.GetNextCell(sourceField); // we've reached the end of the field if (next.Column == sourceField.Width) { if (LeftCellIsEmpty(current)) { CheckSolutionCandidate(); } return; } // pruning - only continue searching if this is a plausible board so far if (current.Column == 0 || LeftCellIsEmpty(current)) { Search(next); } // let's invert the current cell and search again currentSolution.InvertCell(current); sourceField.Invert5Cross(current); if (current.Column == 0 || LeftCellIsEmpty(current)) { Search(next); } } /// <summary> /// If the cell to the left from current is not empty, /// the current board cannot be a solution - /// no point to continue down this branch. /// Prune this and backtrack to another branch. /// </summary> bool LeftCellIsEmpty(FieldCoordinates current) { return !sourceField[current.Row, current.Column - 1]; } /// <summary> /// We've traversed all elements - /// let's check if what we've come up with is actually a solution /// we checked almost all cells in LeftCellIsEmpty /// let's just check the last (rightmost) column /// </summary> void CheckSolutionCandidate() { if (sourceField.GetColumn(sourceField.Width - 1).IsNull()) { SolutionFound(); } } /// <summary> /// We got it! Do something with the solution! /// </summary> void SolutionFound() { solution = new Field(currentSolution); } } } The solution program Here's what I came up with. On the left board, you set up the level like you see in the game (the picture shows The Notorious Level 33!). Left-click to toggle a cell, drag the mouse to "draw" adjacent cells. On the right, you have a chance to play this level, however, the orange dots show which cells you need to click to turn off the lights. If you feel honest, you can turn off the orange dots using the checkbox. You can download the full source code here: The research First of all, I was amazed how efficient the pruning is. The fact that we don't check for knowingly invalid boards brings us down from 2^100 to just 93183 times the Search method is executed. On my machine this is so fast, that I manage to recalculate the hint solution in real time, as the user clicks in the left board. Also, building this project raised more questions than it answered. I'm sure there is a whole science behind this seemingly simple domain - Conway's Game of Life is just around the corner, not to mention MineSweeper, cellular automata, even-odd-logic, 0,1-matrices, constraint programming, etc. etc. It is fascinating how complex solutions exist to invert a single pixel on the board: What is the pattern here? Is the solution always unique? Why is there no solution for some configurations? What if you apply the solution to the solution? What about unlimited two-dimensional plane? Which single-cell source board have a solution? Which don't? What is special about a board consisting of such cells? What is the ratio of yellow cells for such boards? All these are interesting questions I'd love to think about, if only someone would do my main job for me :) The challenge As usual, better/faster/shorter solutions are welcome. I'd be especially curious to see a solution in F# or Prolog. Feel free to reuse my UI code.
http://blogs.msdn.com/b/kirillosenkov/archive/2008/10.aspx?PostSortBy=MostComments&PageIndex=1
CC-MAIN-2015-14
refinedweb
935
64.51
Created on 2012-08-29 04:26 by rhettinger, last changed 2013-10-12 16:48 by georg.brandl. This issue is now closed. The technique of temporarily redirecting stdout could be encapsulated in a context manager. print('This goes to stdout') with RedirectStdout(sys.stderr): print('This goes to stderr') print('So does this') print('This goes to stdout') The print function already supports redirection but it much be done for every single call to print(). The context manager let's the redirection apply to a batch of statements. The context manager is also useful with existing tools that don't currently provide output redirection hooks: from collections import namedtuple with open('model.py', 'w') as module: with RedirectStdout(module): namedtuple('Person', ['name', 'age', 'email'], verbose=True) import dis with open('disassembly.txt', 'w') as f: with RedirectStdout(f): dis.dis(myfunc) A possible implementation is: class RedirectStdout: ''' Create a context manager for redirecting sys.stdout to another file. ''' def __init__(self, new_target): self.new_target = new_target def __enter__(self): self.old_target = sys.stdout sys.stdout = self.new_target return self def __exit__(self, exctype, excinst, exctb): sys.stdout = self.old_target We actually use a variant of this idea in the test suite () It would be pretty easy to combine the two concepts by defaulting the redirection to a new StringIO instance if no other destination is given: print('This goes to stdout') with redirect_stdout(sys.stderr): print('This goes to stderr') print('So does this') print('This goes to stdout') with redirect_stdout() as s: print('This goes to the io.StringIO instance "s"') print('So does this') print('This goes to stdout') Sounds like a special case of a small part of mock. Not sure that this observation is significant though. Sure, but by targeting a specific use case you can make it really trivial to use. So Alex's point is valid: the examples in the unittest.mock.patch docs shows how to do this (). So this could be simplified to: def redirect_stdout(replacement=None): return unittest.mock.patch('sys.stdout', replacement if replacement is not None else io.StringIO()) Now that being said, this is extremely common, so Nick's point of just going ahead and providing the helper makes sense. But I wouldn't put it in contextlib but instead in unittest.mock since it is mocking out sys.stdout. I like Nick's proposed variant and think it should go in contextlib, not the mocking library. Redirection has a lot of use cases that has nothing to do with mocking-up test suites. Contextlib is about general purpose context-managers that apply in many situations (the closing() context manager is a good example). I'd actually be inclined to make it the full trio: redirect_stdin, redirect_stdout, redirect_stderr. Mostly because I don't see an especially compelling reason to privilege redirecting stdout over the other two standard streams, and the "pass in the stream name" approach is just ugly (e.g. we don't have "sys.stdstream['stdin']", we have sys.stdin). There are plenty of command line apps that have both -i and -o options (to select input and output files), and "2>1" is a pretty common shell redirection. Agreed that the general purpose nature of standard stream redirection makes it a good fit for contextlib, though. If such context manager is added, it should be documented that it does not work with subprocess or C functions writing directly into the file descriptor 1. For such issues, I'm using dup2(). Example from my pysandbox project: @contextlib.contextmanager def capture_stdout(): import sys import tempfile stdout_fd = sys.stdout.fileno() with tempfile.TemporaryFile(mode='w+b') as tmp: stdout_copy = os.dup(stdout_fd) try: sys.stdout.flush() os.dup2(tmp.fileno(), stdout_fd) yield tmp finally: sys.stdout.flush() os.dup2(stdout_copy, stdout_fd) os.close(stdout_copy) I don't think this has anything to do in contextlib (which isn't a library of context managers, but a library of tools to work with context managers), it probably belongs in the io module instead. As it happens, I wrote a similar context manager to Victor's recently for a setup.py because I wanted to suppress compiler errors that are output to the console by distutils.ccompiler.CCompiler.has_function. As Victor mentioned, for this to work with subprocesses, you need to go a little more low-level and mess around with file descriptors. Here's my function: (Maybe distutils.ccompiler.CCompiler.has_function should redirect its own output automatically, but that's another issue) But then I got to thinking that it could be made a bit more powerful and the syntax could be a little nicer. So I have this code that I'm experimenting with: But critiquing my own function, I wonder if it's trying to do too much in one function and it's using keyword arguments where it could be using the with statement better. So I might like Nick's API better. +1 for io as an intuitive home for a basic version that redirects the current process output only (and is documented as doing so). While I like the idea of offering a more sophisticated version that affects subprocesses as well, I think that would be a very surprising thing to do by default and should be a separate issue (perhaps proposing such an addition to the subprocess module). I agree also that io is a good place for the basic version that doesn't do file descriptor stuff and maybe the fancy file descriptor stuff should be a separate issue and should go in subprocess. To move this along and generate more discussion, I took code from Nick earlier in the thread and made a little patch and a test program and put it in a gist: If folks like that, I can convert the test program into an automated test. What do you guys think? Oops, Nick => Brett. A good start, but: 1. io is too low level to depend on unittest (or even contextlib), as anything it imports will be imported automatically at interpreter startup. The context manager will need to be written out directly as a class with the appropriate methods. 2. The name based API should accept the unqualified name and throw a value error if an unexpected name is passed in. 3. The stdin replacement should have a separate optional keyword-only "data" argument to request wrapping with StringIO, rather than duck typing the replacement value. Thanks Nick! I'll work on applying your suggestions a little later. And I'll add a note about it not working with subprocesses because I realized that I forgot to do that. Regarding redirect_stdfile, which is presumably what you meant by "name-based API", I started out with unqualified names like 'stdout', etc. I went with the qualified name as an attempt at making it more general (i.e.: if folks perhaps wanted to use this for something other than sys files) - I don't know whether or not this is useful - I don't have a use case in mind (anyone else got one?) - so I don't know if qualified names brings anything useful or not but that was the thinking. Thoughts on this are welcome. I'm thinking that PrintRedirect is a better name because it coincides with the intent of the primary use case. The more computer-sciency you make the name, the more it becomes opaque to everyday users. As Raymond noted, we should resist the temptation to generalise this too much - generalisation almost always comes at the cost of making any *specific* case harder (consider the difference between the complexity of the "support any URL scheme" model in urllib and urllib2 and the relatively API simplicity of the higher level HTTP/HTTPS focused requests module). I'm wary of calling it "PrintRedirect" though, as I believe that's actively misleading: swapping sys.stdout for something else affects more than just the print builtin, and if a particular print call uses the "file" parameter, then the redirection of sys.stdout will have no effect. "Redirection" in general is a bit of a misnomer for what the context manager is doing. So, here's a concrete API suggestion and implementation: def replace_stdin(stream=None, *, data=None): if data is not None: if stream is not None: raise ValueError("Cannot specify both stream & data") stream = StringIO(data) return ReplaceStandardStream('stdin', stream) def replace_stdout(stream=None): return ReplaceStandardStream('stdout', stream) def replace_stderr(stream=None): return ReplaceStandardStream('stderr', stream) class ReplaceStandardStream: """Context manager to temporarily replace a standard stream On entry, replaces the specified sys module stream attribute ('stdin', 'stdout' or 'stderr') with the supplied IO stream object. On exit, restores the previous value of the sys module attribute. Note: as this context manager modifies sys module attributes directly, it is NOT thread-safe. """ def __init__(self, attr, stream): if attr not in ('stdin', 'stdout', 'stderr'): raise ValueError("{.200!r} is not a standard stream name (expected one of: 'stdin', 'stdout', or 'stderr'".format(attr)) self._attr_to_replace = attr self._old_stream = None if stream is None: self._replacement_stream = StringIO() else: self._replacement_stream = stream def __enter__(self): if self._old_stream is not None: raise RuntimeError("Cannot reenter {!r}".format(self)) self._old_stream = getattr(sys, self._attr_to_replace) stream = self._replacement_stream setattr(sys, self._attr_to_replace, stream) return stream def __exit__(self): stream = self._old_stream if stream is None: raise RuntimeError("Never entered {!r}".format(self)) self._old_stream = None setattr(sys, self._attr_to_replace, stream) Cross linking from the print documentation to io.replace_stdout and from the input documentation to io.replace_stdin may also be a good idea. And reviewing my own draft - the convenience functions would need docstrings too, and the docstrings should mention that a new StringIO instance is created by default and that "as name" can be used to get access to that object. Nick, it seems to me that you're going way over-board with an otherwise simple idea. I'm aiming for something that looks much like my original posting. That has been tried out on my students with great success. I like Nick's version. I don't know if __exit__ really needs error checking, but I like the API. For me, it strikes a good balance between being intuitive and being general enough to do all the stuff I'd like to do. Should the docstrings mention that it only works within the process and doesn't affect subprocesses? I also am having second thoughts about putting it in the io module. Now I'm thinking that sys makes more sense because that's where stdin, stdout, and stderr live. OK, Raymond and I had a chat on IRC about this, and I've come back around to the idea that the simple "contextlib.redirect_stdout" model as Raymond originally proposed is the way to go. There are a few pieces to that rationale: 1. Why in contextlib? The io module isn't something people normally need to think about - we mostly hide it from them since they can just call the open builtin. Similarly, most new users don't need to touch the sys module - it's all hidden behind higher level abstractions (like input, print and argparse). However, contextlib is something everyone will be exposed to, both to turn generators into context managers, but also for the utility context managers closing() and ignored(). It also comes down to trusting Raymond's opinion as an experienced Python teacher that contextlib is a more discoverable location than io for this particular piece of functionality. 2. Why only stdout? Why not stdin and stderr? Raymond pointed out that the case for this kind of redirection helper is much weaker for stdin and stderr. Wanting to control where "print" and similar operations write to is quite common, but writing to stderr is often specifically about bypassing typical redirections and faking input through stdin is typically only done for testing purposes. Adding stdlib APIs without compelling use cases isn't a good idea, even when they seem like an "obvious" generalisation. In this case, outside the CPython test suite, I couldn't think of any situation where the limited versions of these helpers would have actually been useful to me, and in the test suite case, the typical answer would be "use a mock" (that just wasn't an option for CPython until recently when unittest.mock was added to the standard library). Instead, I now think both of those cases would be better handled by the more sophisticated API discussed above that would deal with these things at the file descriptor level. So I suggest we split that API out as a new issue targetting the subprocess API. 3. Why not include automatic creation of StringIO objects? Including such a default actually makes the API harder to document and explain. Composing a "you must supply a stream object" API with io.StringIO is easy to get local redirection is easy. If we support implicit creation, then we need to explain that it happens, and that the "as" clause can be used to retrieve the implicitly created object. Raymond plans to work on a patch for this simple version of the API. I think stdout redirection is very useful, and I'm actually have a very similar context manager in my own code. However, I'd like to raise the question if using a context manager for this purpose should really be "officially blessed" in this way. To me, the with statement signals that effects are constrained to the managed block. But redirecting sys.stdout is a change with global scope - the redirection is not restricted to execution of the with block, it affects every other thread that's running at the same time. This effect is obvious if you wrote the redirection context manager yourself, but if you're using code from the standard library, this may be surprising. I don't have a better proposal, but I just wanted to mention this... Yeah, the docs will need to note that it isn't thread safe. However, non thread-safe constructs are often still incredibly useful for scripting use cases. Can someone propose a patch instead of inline code? In general, I like where this is going. I agree that a stdout redirector is probably the most common case, and for that, it almost always (for me) redirects to an open file. The use case for stderr redirection is usually, but not always, to redirect stderr to stdout, but I agree that that is much more limited. stdin redirection is much more rare, mostly a testing device, and better done with mocking. A suggestion about the name. Thinking about how it will read in a with-statement: with stdout_to(some_file): print('hello') Since this is all about convenience, I'd mildly suggest an API similar to built-in open(). I'd rather write this: with stdout_to('/tmp/debug.log', 'w', encoding='utf-8'): print('hello') than this: with open('/tmp/debug.log', 'w', encoding='utf-8') as tmp_stdout: with stdout_to(tmp_stdout): print('hello') stdout_to() could optionally take a single which would be an already open file object. Anyway, no doubt you'll paint this bikeshed your own particular color. Mine only cost $0.02. I'd prefer to keep the separate stream argument rather than duplicating the signature of open. Separation of concerns and all that :) It would be nice if this context manager had an option to redirect the file descriptor 0 rather than just sys.stdout. (For those familiar with py.test, I am asking for an equivalent of --capture=fd functionality.) Unlike patching sys.stdout, which is within reach to most python users, redirecting fd 0 (and restoring it) is not a trivial task. In my post "fd 0" should have been "fd 1", of course. (Proving that it is not trivial to get it right:-) Alexander, please read the earlier comments on the issue: we're deliberately *not* doing that. Such functionality is more advanced, and more appropriate for an API in the subprocess module. Anyone interested in exploring that option further should create a separate issue. This API is about making a *particular* common use case genuinely trivial. Generalising it *isn't* desirable, as any such generalisations will be sufficiently complex that people are better off just rolling their own solution from first principles. Yes, I did miss Victor's dup2() comment. (It looks like I did not subscribe to this issue from the start and missed early discussion - sorry.) The simple feature is not very useful for me. I have to deal with too many cases of misguided code like this: def write_xyz(output=sys.stdout): ... for which with RedirectStdout(...): write_xyz() will not work. I will create a separate issue once I have a concrete proposal, but with respect to this specific issue, I think it is better to provide a recipe in contextlib documentation for something like this: @contextlib.contextmanager def redirect_stdout(stream): old_stdout = sys.stdout sys.stdout = stream yield sys.stdout = old_stdout With the proposed RedirectStdout, I think many users will want some tweaks and will copy the "from scratch" implementation instead of discovering contextmanager. Can we go paint bikesheds somewhere else now, please? Raymond has persuaded me as contextlib maintainer that this small addition is worth making as a way of factoring out repeated calls to print with a file redirection in simple user scripts where thread safety isn't a concern. I think more sophisticated tools are also potentially worthwhile, but *not here*. On Jul 23, 2013, at 04:24 AM, Alexander Belopolsky wrote: >@contextlib.contextmanager >def redirect_stdout(stream): > old_stdout = sys.stdout > sys.stdout = stream > yield > sys.stdout = old_stdout Make that: @contextlib.contextmanager def redirect_stdout(stream): old_stdout = sys.stdout sys.stdout = stream try: yield finally: sys.stdout = old_stdout and I'll be able to remove those 8 lines of code from all my other code bases :) New changeset 63a1ee94b3ed by Raymond Hettinger in branch 'default': Issue #15805: Add contextlib.redirect_stdout() Nice. My only complain is the dis.dis example. We don't have to use redirect_stdout context manager. + # How to capture disassembly to a string + + import dis + import io + + f = io.StringIO() + with redirect_stdout(f): + dis.dis('x**2 - y**2') + s = f.getvalue() dis.dis supports file object natively. We can do this instead: dis.dis('x**2 - y**2', file=f) I think this should also be added to the whatsnew. Regarding the examples, isn't it easier to say that: with redirect_stdout(sys.stderr): print('error') is equivalent to print('error', file=sys.stderr) ? I think that in most of the cases users are redirecting something that is being print()ed, and this example gets the point across (even if the "file" arg can be used for this specific case, it is not always the case if print() is called by a function). Capturing help() and especially did.dis() output don't seem to me realistic/intuitive use cases for redirect_stdout(). Whatsnew: yes please. As for your second point, I assume Raymond wanted to exemplify usage with an "unfortunate" API that prints to stderr with no option to change it. It just turned out that dis() is not one of those APIs. For purposes of print(), you're almost always better off using file=x on each print you do.
https://bugs.python.org/issue15805
CC-MAIN-2020-40
refinedweb
3,222
56.45
Release History - PDF for offline use - Let us know how you feel about this Translation Quality 0/250 last updated: 2017-10 3.4 (October 11, 2017) - Support for Xcode 9: iOS 11, macOS 10.13, tvOS 11, and watchOS 4 - Issues with SIMD and tgmath should now be fixed - Telemetry has been removed completely 3.3 (August 3, 2016) - Support for Xcode 8 Beta 4, iOS 10, macOS 10.12, tvOS 10 and watchOS 3. - Updated to latest Clang master build (2016-08-02) - Persist telemetry submission options from sharpie pod bindto sharpie bind. 3.2 (June 14, 2016) - Support for Xcode 8 Beta 1, iOS 10, macOS 10.12, tvOS 10 and watchOS 3. 3.1 (May 31, 2016) - Support for CocoaPods 1.0 - Improved CocoaPods binding reliability by first building a native .frameworkand then binding that - Copy CocoaPods .frameworkand binding definition into a Bindingdirectory to make integration with Xamarin.iOS and Xamarin.Mac binding projects easier 3.0 (October 5, 2015) - Support for new Objective-C language features including lightweight generics and nullability, as introduced in Xcode 7 - Support for the latest iOS and Mac SDKs. - Xcode project building and parsing support! You can now pass a full Xcode project to Objective Sharpie and it will do its best to figure out the right thing to do (e.g. sharpie bind Project.xcodeproj -sdk ios). - CocoaPods support! You can now configure, build, and bind CocoaPods directly from Objective Sharpie (e.g. sharpie pod init ios AFNetworking && sharpie pod bind). - When binding frameworks, Clang modules will be enabled if the framework supports them, resulting in the most correct parsing of a framework, since the structure of the framework is defined by its module.modulemap. - For Xcode projects that build a framework product, parse that product instead of intermediate product targets as non-framework targets in an Xcode project may still have ambiguities which cannot be automatically resolved. 2.1.6 (March 17, 2015) - Fixed binary operator expression binding: the left-hand side of the expression was incorrectly swapped with the right-hand (e.g. 1 << 0was incorrectly bound as 0 << 1). Thanks to Adam Kemp for noticing this! - Fixed an issue with NSIntegerand NSUIntegerbeing bound as intand uintinstead of nintand nuinton i386; -DNS_BUILD_32_LIKE_64is now passed to Clang to make parsing objc/NSObjCRuntime.hwork as expected on i386. - The default architecture for Mac OS X SDKs (e.g. -sdk macosx10.10) is now x86_64 instead of i386, so -archcan be omitted unless overriding the default is desired. 2.1.0 (March 15, 2015) - bxc#27849: Ensure using ObjCRuntime;is produced when ArgumentSemanticis used. - bxc#27850: Ensure using System.Runtime.InteropServices;is produced when DllImportis used. - bxc#27852: Default DllImportto loading symbols from __Internal. - bxc#27848: Skip forward-declared Objective-C container declarations. - bxc#27846: Bind protocol types with a single qualification as concrete interfaces ( id<Foo>as Fooinstead of Foundation.NSObject<Foo>). - bxc#28037: Bind UInt32, UInt64, and Int64literals as Int32to drop the uand/or uLsuffixes when the values can safely fit into Int32. - bxc#28038: Fix enum name mapping when original native name starts with a kprefix. sizeofC expressions whose argument type does not map to a C# primitive type will be evaluated in Clang and bound as an integer literal to avoid generating invalid C#. - Fix Objective-C syntax for properties whose type is a block (Objective-C code appears in comments above bound declarations). - Bind decayed types as their original type ( int[]decays to int*during semantic analysis in Clang, but bind it as the original as-written int[]instead). Thanks very much to Dave Dunkin for reporting many of the bugs fixed in this point release! 2.0.0: March 9, 2015 Objective Sharpie 2.0 is a major release that features an improved Clang-based driver and parser and a new NRefactory-based binding engine. These improved components provide for much better bindings, particularly around type binding. Many other improvements have been made that are internal to Objective Sharpie which will yield many user-visible features in future releases. Objective Sharpie 2.0 is based on Clang 3.6.1. Type binding improvements Objective-C blocks are now supported. This includes anonymous/inline blocks and blocks named via typedef. Anonymous blocks will be bound as System.Actionor System.Funcdelegates, while named blocks will be bound as strongly named delegatetypes. There is an improved naming heuristic for anonymous enums that are immediately preceded by a typedefresolving to a builtin integral type such as longor int. C pointers are now bound as C# unsafepointers instead of System.IntPtr. This results in more clarity in the binding for when you may wish to turn pointer parameters into outor refparameters. It is not possible to always infer whether a parameter should be outor ref, so the pointer is retained in the binding to allow for easier auditing. An exception to the above pointer binding is when a 2-rank pointer to an Objective-C object is encountered as a parameter. In these cases, convention is predominant and the parameter will be bound as out(e.g. NSError **error→ out NSError error). Verify attribute You will often find that bindings produced by Objective Sharpie will now. See the Verify Attributes documentation for more details. Other notable improvements usingstatements are now generated based on types bound. For instance, if an NSURLwas bound, a using Foundation;statement will be generated as well. structand uniondeclarations will now be bound, using the [FieldOffset]trick for unions. Enum values with constant expression initializers will now be properly bound; the full expression is translated to C#. Variadic methods and blocks are now bound. Frameworks are now supported via the -frameworkoption. See the documentation on Binding Native Frameworks for more details. Objective-C source code will be auto-detected now, which should eliminate the need to pass -ObjCor -xobjective-cto Clang manually. Clang module usage ( @import) is now auto-detected, which should eliminate the need to pass -fmodulesto Clang manually for libraries which use the new module support in Clang. The Xamarin Unified API is now the default binding target; use the -classicoption to target the 32-bit only Classic API. Notable bug fixes - Fix instancetypebinding when used in an Objective-C category - Fully name Objective-C categories - Prefix Objective-C protocols with I(e.g. INSCopyinginstead of NSCopying) 1.1.35: December 21, 2014 Minor bug fixes. 1.1.1: December 15, 2014 1.1.1 was the first major release after 1.5 years of internal use and development at Xamarin following the initial preview of Objective Sharpie in April 2013. This release is the first to be generally considered stable and usable for a wide variety of native libraries, featuring a new Clang backend..
https://docs.mono-android.net/guides/cross-platform/macios/binding/objective-sharpie/releases/
CC-MAIN-2017-43
refinedweb
1,121
58.08
Back in the first post of this LINQ to DataSet series, I spent some time talking about what LINQ to DataSet is, and how it can be used to supplement the existing query capabilities in terms of what kind of queries you can write. Today, I will talk about how LINQ provides more than just increased capabilities; it also helps you to write more robust code! Let’s take one of the examples from the previous post. var query = from dataRow in customerDataTable.AsEnumerable() where r.Field<string>("LastName") == "Smith" select r.Field<string>(“FirstName”); What is that Field method in the expression shown above; and what is it doing? One of the key features of LINQ is that it is type safe, so it becomes much easier to write queries that are type checked at compile time. It is much nicer to get an error when compiling than from a runtime exception at a client site! Field<T> method However, the DataSet is not typed by default. When you retrieve a value from a DataTable, the value is returned as an object. The Field<T> method returns the value of the column, returning it as the generic type parameter, thus enabling type checking. That is not all the Field<T> method does! When the DataSet was first created, there was no concept of nullable value types in the CLR, so a new value type was defined: DBNull. This was used to represent null values for DataColumns that contain a value type, because you could not have have a null value type. The world has moved on, and we now have nullable types, and so it is now much more natural to write a query using null, as opposed to having to check for DBNull everywhere. The other feature offered by the Field<T> method is that it will convert a value type that has a value of DBNull.Value to a nullable type with a value of null. var query = orderDataTable.AsEnumerable() .Where(dr => dr.Field<datetime>("OrderDate") == null) .Select(dr => dr.Field<int>("OrderID")); As a nice bonus, you can use the Field<T> method in your non-LINQ code as well. If you do not have the option to use a typed DataSet, this a great way to reduce your typing, both in terms of errors and on the keyboard! Typed DataSet The Typed DataSet is another story. With this little gem, you already have fully typed access to your data, so you do not need to jump through hoops in order to use it in a LINQ to DataSet query. EmployeesTable employees = new EmployeesTable(); var query = employees .Select(emp => new { EmployeeID = emp.ID, EmployeeName = emp.Name, Employee = emp} ) .OrderBy(e => e.EmployeeName); As you can see, the lack of all the generic method calls certainly makes for more readable code! However, one thing to keep in mind is that the typed DataSet does not have the same logic for handling nulls as the Field<T> method. If you attempt to access a field that has a value of DBNull, you will get an exception from the property getter, which does not work very well with LINQ. There are ways to work around this problem, which I will explore later. In future LINQ to DataSet posts, I will talk more about how to handle nulls, and talk about some cool features of VB.NET that make the whole process easier. Erick Thompson Program Manager, ADO.NET LINQ to DataSet Part 1 LINQ to DataSet Part 3 If you would like to receive an email when updates are made to this post, please register here RSS Why even bother with datasets? I was hoping that MS was going to wise up and mark this functionality as Deprecated or Obsolete in the next version of ADO.NET. (Isn't the Entity Framework supposed to replace DataSets?) Every scenario I have examined that uses datasets has had major issues and generally horrid software design. They are the most embarassing and backwards part of .NET. I'm really looking forward to your VB.NET sample. Hi Eisenberg, Thank you for taking the time to read our blog. The DataSet is actually a widely used component, and is quite good at what it was designed to do. While there may be some horrid software designs out there that use it, I think that could be said for a lot of other technologies as well. For an in-memory relational data cache, the DataSet is highly effective, and thus it makes perfect sense to enhance it with LINQ. Here are a few good links to Orcas material (some old and some new). There is a lot of good and bad material Winter has finally set in with single digit temps and minus degrees wind chills but still no snow. WPF/Avalon Greetings fellow data junkies! My name is Erick Thompson, a PM at Microsoft who is working on driving what is the vb.net equvelent for that code ? Will i be able to work with LINQ in my visual c# express edition 2005 version? When i tried to include using System.Linq name space and tried to run the application it showed an error Error 1 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) Can you please help me out?? I'm getting the same error: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) and cant figure out what reference I need to make. When I go to the website property pages / references and click "Add" I do not see a System.Linq to add as a reference. Anyone have any ideas...? I figured it out... A reference to System.Core is needed in the progect... Thanks Nick. I got to solve the problem through your post. Compare two large data tables A and B using linq and get the records which exist in dataTable A but does not exist in B I am new to the whole LINQ thing but I can see already that it is great technology. However, it is a shame that such great technology is handicapped by the fact it cannot create DataViews that are not limited by certain LINQ operators such as GROUP BY. It has been a long time since it was introduced, by any chance has MS been able to make the LinqDataView free of its limitations? I certainly wish to use LINQ but its DataView limitations are putting me off.
http://blogs.msdn.com/adonet/archive/2007/02/05/type-safety-linq-to-datasets-part-2.aspx
crawl-002
refinedweb
1,098
72.16
I've been thinking about languages a lot lately. Which is kind of a joke, given the title of my blog, but I actually mean "I've been thinking about them more than usual". This thought has been specifically dominated by thoughts of the Blub hierarchy as proposed by Paul Graham. I'm not sure what's on top. PG claims "Lisp", I've seen many that shout "Ruby", I've met many that claim "Haskell". In fact, if you participate in programming discussion for any length of time, there's a pretty good chance that you'll meet someone for every language (other than C) claiming it's Omega. It's ridiculous, of course. All most of them are really claiming is "This is the most powerful language I know how to work with", which is not the same thing as "the most powerful language". It's easy to see that trying to compare in any supposedly objective sense would cause giant hatestorms and various infighting. So people are perhaps justified in making statements like"You don't compare a hammer with a screwdriver, but you use the one that fits your task & way of thinking/education/needed level of abstraction the most. Also, since the one doing the comparison is biased by the fact that he knows at least one of the two, or at least prefers one of the two, it is hard to find a truly objective criteria for comparing them (exceptions exist)." -Rook, pogrammers.SE when discussing language comparison. That was an answer from a question about whether language comparison was useful. As of this writing, it has been closed and re-opened twice, and the original asker has accepted (then unaccepted, then accepted again) a joke answer. This is perhaps more telling of the culture of programmers.SE than of the question, but it doesn't seem like an uncommon response. People duck comparisons precisely because languages are half tools and half religions, and no one wants a crusade declared. But, well, you need to compare."A language is a tool. That said, I've seen really, really crappy tools before. No one wants to work with a hammer whose head is liable to fly off and hit another carpenter in the stomach. Likewise, if you noticed your fellow worker's hammer was in that shape, you'd probably steer clear of them when they were using it. It's also important to really understand which tool it is. You can't use a screwdriver and hammer interchangeably (though some try desperately). Hell you can't even use all hammers interchangeably; you need a sledge for some things, a mallet for others and a tack for yet others. If you use the inappropriate tool, then at best, you'll do a poorer job, at worst you'll injure yourself or a co-worker." -me, programmers.SE Graham goes further, stating that not only can you compare languages in terms of power, but goes on to point out the obvious corollary that there is therefore such a thing as an empirically best language. As a note, I agree with him, but "which religion is best?" is a question you just don't discuss in polite society, so I haven't pushed the idea on any forum I frequent. It makes sense though. No one would disagree that Assembly < Cobol < Python on the power scale (I'm defining "power" as a non-specific mix of expressiveness, terseness, maintainability, readability and flexibility). And even admitting that simple truth exposes you to the idea that there's a ladder, or tree, or at least concentric circles of languages with one (or a relatively small group) taking the prime position. Omega. Graham puts Lisp there, but he's making the same claim that any Ruby ardent or avid Haskeller are expressing; "Of all the languages I know, this one is the most powerful". The thing is, I haven't heard many convincing arguments to the contrary. The best argument aimed at Lisp these days is that it's slow, and even then, slow in what sense? It can certainly do the job of server software, or even local desktop/console software on today's powerful systems. Remember, Lisp was called slow back when 1Gz was the sort of processing power you paid many thousands of dollars for. I have more than that right now in my $300 dollar netbook. We're fast approaching an age where a phone you get for free with a subscription is more powerful. "Slow" just isn't a good enough strike against a language to discount it anymore. Other than that, people complain about the parentheses, which is an empty complaint at best, and typically a trolling attempt. The only good argument against Lisp as Omega comes from an unlikely source."I don't think it's necessarily Omega. The Haskellers and MLers say 'Well, from where we sit, Common Lisp looks like Blub. You just don't understand the brilliance of strong inferred typing'. And they may be right. Of course, Common Lispers look at Haskell and say 'Well, Haskell's really Blub, because you guys don't have macros'. It may be the case that there is no Omega, or that Common Lisp and Haskell are on different branches of the lattice, and someone's gonna find a way to unify them and a few other good ideas and make Omega." -Peter Seibel, Practical Common Lisp Talk at Google It's an interesting fact that practitioners of either language can point to lack of features in the other. That has some pretty obvious corollaries as well. - There may be such a thing as the most powerful language right now, but it may involve trade-offs (I don't know what it is, but one exists. I'll call it "Alpha" so as not to offend anyone). -'m not sure what Alpha is. I'm not sure anyone knows, because as I've said, people tend to bind that variable to whichever is the most powerful language they currently know. 0 is far away, and I won't even try talking about it today, because I don't have anywhere near enough information to make a decent guess at what it'll look like. So what does Omega look like? Well, Graham effectively says it's Arc (or what Arc will evolve into). Others variously substitute their own languages. There's a sizable community which thinks it's Haskell. Some ardents think it's Lisp. A few would like you to believe it's Java, despite the recent turbulence between Oracle and Google. And there are a couple of personalities in the industry who are vigorously pushing either Ruby or C#. Yegge echoes Seibel pretty closely"[T]he Wizard will typically write in one of the super-succinct, "folding languages" they've developed on campus, usually a Lisp or Haskell derivative." -Steve Yegge, Wizard School It's a line from one of his humorous, fictional pieces wherein he describes a Hogwart's-like school that churns out wonder-kid programmers, but it still seems like a vote for the Haskell/Common Lisp unification theory. It might happen. If it does, it'll be a race between the Haskellers and Lispers to out-evolve one another. In order to converge, Haskell needs to strap on prefix notation and macros, make IO easy (rather than possible), and blur the line between run-time, read-time and compile-time. Lisp needs declarative matching definitions, lazyness, currying (possibly eliminating the separate function namespace), strong types and a few small syntactic constructs (function composition and list destructuring leap to mind first). Lisp has a longer list to run through, but keep in mind that because it has macros, almost all of them can theoretically be added by you as you need them, rather than by CL compiler writers as they decide it's worth it. It's also worth noting that the last point in Haskell's list is a pretty tricky proposition. How do you blur read/compile/run time when one of your goals is to have a complete type system? Well. REPLs for Haskell exist, so I assume it's possible, but making it part of the language core doesn't seem to be a priority at the moment (and probably won't be for a while due to the performance hits it imposes, and the perception performance hits still have in the general public of programmers). That's not the only hard bit either language would have though. How do you implement full currying and optional/default/keyword/rest arguments? Haskell purports to solve the problem by defaulting to currying, and giving you the option of passing a hash-table (basically) as an argument to implement flexibility. LISP gives you &rest, &body &key and very simple default argument declaration, but "solves" the currying issue by making currying explicit. Neither language's solution satisfies, because), and sometimes you want implicit currying (this is perhaps most obvious when writing in Haskell's point-free style, and if you've never done so, I doubt I could convince you). As a common lisper, there are a bunch of things I'd like to steal from Haskell, if I could. The pattern-matching definitions are certainly useful in some places, list destructuring would help, and function composition seems useful (though this is, like defmacro, the sort of construct you have to understand first, in order to find places that it would greatly simplify). I'll check later, but I have a sneaking suspicion that someone has already lifted all of the above into a library somewhere on github or savannah. Even if not, list destructuring and function composition seem like they'd be easy enough to implement. The latter as a call to destructuring-bind, the former as a simple fold macro. From the other side, there's already two projects underway; Liskell is a competing compiler to GHC that has a prefix notation and outputs the same machine code, and Lisk is a pre-processor for GHC that takes specific prefix notation forms and converts them programatically back to the Haskell source code before invoking the compiler. Lisk's creator talked briefly about macros, but the project is early enough along that nothing much more specific is out there right now (I'm watching his github repo with interest though). I haven't a clue how to place my own bet. I tried starting this paragraph both with "My bet's on Lisp..." and "My bet's on Haskell...", but each beginning got to a logical dead end within two sentences. It doesn't seem like one can completely absorb the other. But, if Haskell + Lisp makes Omega, we'll see what it looks like shortly (by which I mean ~10 years) because cross-pollination is already happening, and it's not a far jump from there to full-on unification. Or maybe things get bloodier as the preview to Barski's Land of Lisp implies, who knows. Either way, we'll see soon enough. EDIT: rocketnia posted a particularly thoughtful response to the above post at the Arc Forum. He points out that there may not be an Alpha, Omega and 0, but rather "[L]ocal optima that can't be unified into Omega". I could have sworn I addressed this point (and acknowledged it, but stated that I was more interested the unification idea today), but my only mention of it is "...with one (or a relatively small group) taking the prime position." Apologies. He also explains a lot about how macros might coexist with a strong type system. Does Haskell actually need Macros though? I'm not sure. To be fair here, accurately answering your question would involve considering every possible programming situation, then figuring out whether (and if so, by what amount) it could be simplified with a macro, THEN figuring out whether the percentage and magnitude of "yes"es justifies breaking the type system. I doubt anyone (including those who would like to gloss over the lack of macros with "well, we don't REALLY need them") has that much time on their hands. A priori, it seems you get many of the advantages of defmacro by being fully functional, fully lazy and compiled, but I'm not sure you get all of them, and I don't think you can replicate reader macros the same way. Just a plug: I've been working on an arc-like interpreter () that provides pervasive destructuring and keyword args for any function argument. (Arc provides pervasive destructuring.) A couple of random insights from this process: a) When rest args are present, they take priority over optional args. Requiring keywords for optional args seems like a good idea when there's a macro body, for example. b) Generic functions dispatch on the type of the *last* arg. That seems like the best fit for lisp's existing functions. I think the problem is that the main contenders for Alpha and Omega have different mixes of expressiveness, terseness, maintainability, readability, flexibility, etc. So one language might be better in a situation where readability is more important, but another language might be better when you need maintainability more. I think the main problem with Lisp is actually the macros. Everyone has a different set of macros, making their Lisp code different than everyone else's. So it takes longer to get up to speed on the "variant" of Lips+macros being used. To my mind, the macros also typically make the code too terse, with a lot of "concept" within a few lines. On the other hand, I see a progression of main-line languages (Java, Perl, Python, Ruby, Scala) towards Lisp, or at least functional programming constructs. I think this is good. But the reason folks don't go all the way to Lisp is that languages like Ruby are more readable and more approachable. Or more precisely, the ability to think and code in procedural and object-oriented constructs is often useful. I think the future of languages lies more on the Haskell side than Lisp, due to the type inference and more advanced concepts. But I also think that it's even harder to learn than Lisp. So I think that some combination of Lisp and Haskell, along with a more readable syntax and other paradigms, will likely end up as Omega. I'm also keeping my eye on Reia and Factor. @Kartik - Sounds interesting. @Craig - Pardon the delay; your comment was flagged as spam for some reason. The macros issue is dealt with throughout Lisp literature. Typically, the answer to your comment is that a macro is complex, but macroless code that achieves the same thing would probably be more complex. It's accepted that the trade-off is less readability for more maintainability and terseness (incidentally, this is why I refused to put specific weights on the criteria of "power"; as a Lisp user, I probably value readability lower than I should, and maintainability/flexibility higher than is good for me). I'm not sure what else to say other than that I think it's a worthy trade. I'm having trouble parsing your third paragraph; both procedural and object-oriented programming is possible in Lisp. I'm using "readability" to mean more-or-less "How likely is an expert [language] programmer to understand a typical [language] codebase at first reading?", so that bit makes sense, but can you please clarify what you mean by "approachable"? I ask because it sounds suspiciously like "how close is it to C syntax?", which is a fine criteria for a popular language, but I was discussing power. The future is pretty hazy; I don't know that it'll fall onto the side of Haskell, and even if it does, it likely won't be because of the type inference. I haven't seen evidence that a mandatory strong type system (inferred or explicit) is axiomatically a good thing. There are plenty of assertions to this effect, but I've yet to read a follow-up defending those assertions, or even a breakdown of the trade-offs that doesn't devolve into religious warfare. Clojure is a nice example of a Lisp dialect that has clearly been influenced by Haskell. Its lazy sequences are especially noteworthy in this respect. It also eliminates the separate namespace for functions, makes function composition a little easier than in CL and pervasive destructuring and pattern matching. It's worth taking a look at as an example of what such a combination could look like even if you don't end up using it. I want to be clear that I'm not claiming that Clojure is Omega, or even Alpha. I really wish it had CL's method combination (it does have multimethods) and a way to locally or globally cause a function that was not originally generic to be treated that way. @Zak - True. The thought had crossed my mind (based on the things some of my associates have to say about it) that Clojure would make a decent example of Lisp being influenced by other languages (though from what I've heard, it seems to be closer to a Scheme than a CL), but I don't have enough experience to discuss it semi-meaningfully. It's on my to-do list along with another three languages I've been meaning to jump into. The world runs on C/C++. The OS you are using right now, the control software for your car and the compilers/interpreters that make it possible for you to use less practical languages are all programmed in C/C++. Not LISP. Not Haskell. I always find it amusing when people argue that it is impossible to write good software in C/C++ when in fact the world runs on software written in those exact languages. And I also find it ironic that, despite the often repeated claims that (1) LISP/Haskell/functional programmers are somehow cleverer than the rest and (2) the languages are much more productive, I look around and LISP/Haskell has had virtually zero impact on the world outside of the language geek community. Another way to put it is that there is absolute, unquestionable empirical proof that C/C++ has what it takes to run the software the world relies on. Because it does. There is no such empirical proof of LISP or Haskell. So everything claimed about LISP or Haskell or any other language is just that: a claim or wishful thinking not backed up by empirical evidence. Show me a real practical OS or JVM written in LISP or Haskell and you will get my attention. Look...I love programming languages and have programmed in many functional languages including LISP, Haskell and Clojure. And by the way I write functional language compilers for a living. But I still prefer C/C++. Why? Because it is the foundation of everything else. The solid rock holding up the ivory towers of language purists. @mb - I'm sorry, I must have missed the part of my article where I claim that it's impossible to write good software in C/C++, and the one that claims that C/C++ are marginal languages, and the one that claims Lisp/Haskell hackers are smarter than C/C++ hackers. Can you please point them out to me?
http://langnostic.blogspot.com/2010/12/omega.html
CC-MAIN-2015-48
refinedweb
3,255
68.81
Are you sure? This action might not be possible to undo. Are you sure you want to continue? Cite as 92 Fed.Cl. 213 (2010) 213 agreed-on equivalent part performance from the other side. See Restatement § 240. The rule thus does not apply when the contract is in fact divisible. In that event, partial restitution can be awarded. See First Nationwide Bank v. United States, 51 Fed.Cl. 762, 769 (2002), aff’d 431 F.3d 1342 (Fed.Cir.2005) (holding that partial restitution was available despite continuing performance on a different, severable portion of the contract). [8] Nor do we believe that these considerations should attach here. Despite the fact that the contract is indivisible, and despite the prior election of the restitution remedy by co-lessees, restitution of the deposits of the 95.75 percent holders was, by definition, not comprehensive of all rights in the contract. Each owner held a fractional interest in an undivided whole. The fractional shares were both completely fungible yet inherently limited. The Amber plaintiffs received nothing that was in any sense representative of Nycal’s interest. They gave up their fractional shares as a precondition to restitution, but Nycal’s interest did not thereby go out of existence. There is therefore no inherent inconsistency in allowing Nycal’s lost profits claim to go forward. It is not picking and choosing which parts of the contract it wishes to enforce. There is no windfall to Nycal. The rights of the other parties have not been compromised and would not be even if they had not yet been adjudicated. Nor, for that matter, was the government able to point to any prejudice to itself. In short, there is no prohibition on Nycal’s claim for lost profits.3 Plaintiff can continue to assert its rights to damages for breach with respect to its fractional interests in the leases. CONCLUSION Defendant’s motion is therefore denied. Trial will commence on plaintiff’s claim in 3. Defendant also argues that plaintiff is prohibited from seeking damages by the doctrines of law of the case, judicial estoppel, collateral estoppel, and res judicata. Its argument is apparently that, because we have previously allowed restitution for these two leases with respect to the other leaseholders, these principles dictate the same October 2010. A scheduling order will be issued contemporaneously herewith, setting forth dates for pre-trial activities. , Pam SCHULTZ, Plaintiff, v. The UNITED STATES, Defendant. Kelli Silver, as Personal Representative of the Estate of Bill W. Parsons, Plaintiff, v. The United States, Defendant. Nos. 08–889T, 09–55T. United States Court of Federal Claims. April 16, 2010. Background: In consolidated action, taxpayers sought refunds of income taxes paid for year they won lottery, on basis of net operating loss carrybacks from losses allegedly incurred three years later from scams into which they invested portion of their lottery winnings that had been accepted through partnership they created. Defendant moved to dismiss for lack of subject matter jurisdiction. Holding: The Court of Federal Claims, Williams, J., held that refund claims based on net operating loss carrybacks were time barred. Motion granted; dismissed. result here. We do not see the connection. These arguments are premised on our agreement with defendant’s main assertion that the prior award of restitution to the other plaintiffs bars Nycal from seeking damages now. We disagree as to the main point and therefore disagree as to law of the case, estoppel, and res judicata as well. under Internal Revenue Code’s threeyear special limitations period governing such claims. the Court denied without prejudice Defendant’s motion to dismiss because there was an unresolved question of fact as to when Plaintiffs filed their Forms 1040X for tax year 1999. As such.S. Elsass was the sole witness at the evidentiary hearing held on January 27. or protocol to infer that tax forms were duly filed. on the basis of net operating loss carrybacks from losses Plaintiffs allegedly incurred in 2002. for Plaintiffs. U. 2010. 1101 A taxpayer must comply with the refund procedures and limitations set forth in the Internal Revenue Code in order for jurisdiction of the Court of Federal Claims to vest. §§ 6072(a). ¶ 65.C. DX 4. Plaintiff Schultz seeks a refund of $484. Plaintiffs accepted the lottery winnings through a partnership they created known as Amarillo Financial Freedom (‘‘Amarillo’’).C. 7422. 12.485. 28 U. Plaintiffs claimed these losses on their 2002 income tax returns.S. when the movant challenges the truth of jurisdictional facts alleged in the complaint. Plaintiffs Pam Schultz and Bill Parsons won the Texas lottery. RCFC. Federal Courts O1113 On motion to dismiss for lack of subject matter jurisdiction.C. Rule 12(b)(1). to that end. and.A. Tr.S. Frederick C. Tr. Marsalese. and Plaintiff Kelli Silver. Federal Courts O1083.A.A. In this consolidated action. 2009. Defendant moved to dismiss the action under Rule 12(b)(1) of the Rules of the United States Court of Federal Claims (‘‘RCFC’’) on the ground that Plaintiffs did not timely file their claims for refunds with the Internal Revenue Service (‘‘IRS’’). plaintiff must present competent proof and demonstrate affirmatively that the court has jurisdiction. Plaintiffs’ complaints are DISMISSED. 4. RCFC. 12–13. Parsons Compl. 28 U. Southfield. Judge.A. business practice. 2. Plaintiffs invested a portion of the winnings into two alleged investment scams. ¶ 65. Plaintiffs had submitted the declaration of their tax preparer. 6511(d)(2)(A). Mr.C. asserting that their Forms 1040X were timely filed on April 14. In opposing this motion. plaintiff bears the burden of establishing jurisdiction by a preponderance of the evidence. Plaintiffs did not meet their burden to demonstrate that they timely filed their refund claims. Defendant argued that Plaintiffs’ Forms 1040X were . Shultz Compl. MI. Internal Revenue O5004. PLLC. The Marsalese Law Group. 2.214 92 FEDERAL CLAIMS REPORTER MEMORANDUM OPINION AND ORDER OF DISMISSAL WILLIAMS. 26 U. through which Plaintiffs claimed to have incurred significant losses. § 1346(a). and tax preparer’s testimony did not establish methodology. 2010. 1. Rule 12(b)(1). Id. Federal Courts O1113 On motion to dismiss for lack of subject matter jurisdiction of the Court of Federal Claims. Department of Justice. Court of Federal Claims may consider relevant evidence to resolve the factual dispute. if the court finds that it does not have jurisdiction. DX 6. 2006.S. 1.C. Crombie. Michael P. Plaintiffs attempted to carry back the losses as a deduction against income they realized in 1999—the year in which they won the lottery.S. Findings of Fact Relating to Jurisdiction 2 In 1999. since IRS’s official transcript did not show receipt of refund claims. & Parsons Compl. 26 U. See generally Schultz Compl. the Court held an evidentiary hearing on the issue of whether Plaintiffs’ claims for refund were timely filed. the case must be dismissed. § 7422(a). Plaintiffs were not married to each other. These findings are derived from the complaints and the record developed during the January 27. On January 27. Washington. for Defendant. on behalf not filed until October 2006.A.1 Based upon the record established at the evidentiary hearing.C. On October 21. Plaintiffs seek a refund of income taxes they paid in 1999. 28 U. 3.S.. pursuant to Internal Revenue Code section 165(a). 5085 Taxpayers’ claims for refunds attributable to net operating loss carrybacks were not duly filed with Internal Revenue Service (IRS). Tobias Elsass. 2010 evidentiary hearing. D. photoed [sic] it. After Mr. Tr. Elsass noticed two problems—1) that Mr. Bill Parsons. 134. 134. Tr. Mr. Mr. with the understanding that the statute of limitations would expire on Plaintiffs’ refund claims on April 15th of that year. Tr. Elsass felt were necessary for Plaintiffs’ refund claim. Kessler’s signature. Tr. to Dismiss Ex.6 At this point. but 1040. Elsass and Mr. From the outset. Def.’s Reply to Mot. at that period of time I was doing income tax preparation. In 1995. in Columbus. Elsass is president and CEO of Fraud Recovery Group. As a result. 6.SCHULTZ v. I don’t do any of that any more. the Supreme Court of Ohio suspended Mr. Schultz’s return on April 10. Mr. 2006. 16. Elsass then described what he characterized as the ‘‘scramble’’ that occurred after he received the signed copies back from Texas: A: I get it back on the 14th. 5. 137. and I walked it to the post office. In 1999. But what happened is so I had it back. 13. Elsass from the practice of law for. Tr. Ohio. 135.S. Because Mr. which Mr. 129–31. Mr. IRS Form 1040X is an Amended U. Mr. Kessler were faced with deciphering a ‘‘maze’’ of partnerships and other entities created by Plaintiffs after they won the lottery. Fraud Recovery Group ‘‘assist[s] victims of investment fraud in filing for income tax refunds from particular investments that qualify under’’ section 165(c)(2). a tax attorney and acquaintance of Mr. he shipped the forms—both the 2002 returns and the 1999 Forms 1040X—via overnight mail to Texas for Plaintiffs’ signatures. 2006. So you did make a copy of it? Q: has chosen not to seek reinstatement. Based on his prior experiences preparing refund claims. Tr. Elsass ‘‘lost an extra few days’’ waiting for Mr. Elsass ‘‘was getting panicky because [he] knew [he] had to have this in’’ by April 15. during which time Mr. Mr. Kessler had only signed one of the two 2002 Forms 3.3 seeks a refund of $345. 13. Mr. 131–32. Individual Income Tax Return. Tr. the Supreme Court of Ohio indefinitely suspended Mr. Elsass retrieved the 2002 returns from Mr. Mr. Tr. the day it was due. § 301. 213 (2010) 215 of the estate of her father. Tobias H. Mr.’’ Treas. 114–15. Tr.4 Tr. Kessler signed Mr. PX 5. and 2) Mr. Kessler had not prepared Forms 1040X 5 for tax year 1999. 123– 24. Reg. 29. Def. 9. Elsass testified that he is eligible for reinstatement to the Ohio bar. Elsass from the practice of law for six months for accepting employment when his exercise of professional judgment may have been affected by personal or financial interests. Mr. C. Elsass. and Ms. filing a lawsuit for defamation against an individual who had filed a grievance against Mr. U.6402–3(a)(5). 4. Elsass assisted in the preparation of Plaintiffs’ relevant tax documents. Parsons’ return on April 7. Elsass had Plaintiffs’ case ‘‘for two months’’ prior to April 2006. Tr. Ohio to prepare the Forms 1040X quickly. Once they were able to assess Plaintiffs’ situation. . PX 6. Elsass testified that after Liberty prepared the 1999 Forms 1040X. he and Russell Kessler. inter alia. 15–16. 2006. and was responsible for mailing the documents to the IRS in Austin. but he ‘‘didn’t do the case’’ during those months because Plaintiffs ‘‘were [under] contract with [Mr. Texas. 131. 113–14. Mr. 12. Mr. Elsass did not have the necessary software to complete Plaintiffs’ 1999 Forms 1040X. Kessler for his signature. Tr. Cite as 92 Fed. to Dismiss Ex. Inc. You know. 81. 2006. on or about April 10. A. I’m panicking because I also have got other stuff going on.’’ Tr.Cl. 16. 135–36. Mr. 130. Kessler.’s Reply to Mot. [My assistant Shelly] and I are panicking getting it out. Elsass. a Form 1040X ‘‘shall constitute a claim for refund. Elsass knew the IRS would not process Plaintiffs’ refund claim without the 1999 Form 1040X. Bill Parsons died in 2002. Tr. Elsass went to Liberty Tax Service (‘‘Liberty’’) in Columbus. In April 2006. Elsass’ former employer]. Tr. Tr.309.S. prepared Plaintiffs’ 2002 Forms 1040. I immediately grabbed it. Kessler prepared Plaintiffs’ returns. For purposes of satisfying the limitations period to carry back a loss in § 6511. Elsass undertook to prepare and file Plaintiffs’ refund claims in early April 2006. Elsass had to return the unsigned 2002 Form 1040 to Mr. Elsass took Plaintiffs’ case. When Mr. The copies of Plaintiffs’ 2002 Forms 1040 admitted during the hearing show that Mr. Mr. I took it to the post office. We’ll probably do two or three hundred different filings between now that they’re going to lose their rights in 806. Elsass. each of which confirmed that the sender mailed parcels from the post office in Worthington. As originally pled. I’m not sure I copied them all. Tr. particularly signed signatures. we got it packaged. 138–39. Parsons Compl. on the day he mailed the packages—the day before April 15. when we start getting— we’ve got I think 40. Typically we will photo everything. Elsass’ business was only a few months old at this point. A: Not of the 899. And so who knows how many certified mail we did that day.216 92 FEDERAL CLAIMS REPORTER Austin. filed Mr. Schultz Compl. ¶ 65. Schultz filed her 1999 amended return on March 21. Elsass testified that he could match each receipt to each Plaintiff’s tax parcel. ma‘am. TTTT My father was a strict German. on behalf on her father’s estate. At this point in time. and that Ms. After he ‘‘packaged’’ the documents. and I’m in the middle doing tax returns and all this stuff. Based on the receipts’ tracking numbers. I don’t know that. 26–27. and the receipt with the tracking number ending in 4026 was attached to the parcel containing Plaintiff Schultz’s tax documents. I don’t know what was copied and what wasn’t. Mr. Tr. Mr. to the IRS in 7. According to Mr. Parsons’ 1999 amended return on April 7. the receipt with the tracking number ending in 4019 was attached to the parcel containing Plaintiff Parsons’ tax documents. I could have had a box full to the point that when we go to the IRS like now in the next two months. Tr. Elsass further explained that. Elsass testified that the two parcels he sent on behalf of Plaintiffs in their individual capacities included their 1999 Forms 1040X. ¶ 65. PX 1. I’m very methodical in the way I do things. 2006. Q: Why not? A: I can’t tell you that. PX 2. Q: What does that have to do with all this? A: I’m a little old fashioned. So I do probably the male before the female. So she was really rusty. 2006. 138. I knew I did Amarillo first and Bill second and Pam third. 148–49. Mr. Texas on April 14. I didn’t know we didn’t. Elsass described how he was able to remember which receipt corresponded to which of the three parcels: Q: What I want to understand TTT is how is it as you sit here today that you can tell us so clearly which items TTT went in which package[?] TTT A: TTTT I just know [what] I did. That’s kind of my nature. Mr. 34–35. Tr. but she’d been off work for ten years raising her children. Tr. but that’s just my nature. Silver. Plaintiffs . 8. Mr. Tr. Q: And why is it that you know that? A: That’s how I do things. the receipt with the tracking number ending in 4002 was attached to the parcel containing the Amarillo partnership’s 2002 tax documents. 85. At the hearing. We have to make an appointment at the post office now because we’ve gotten so large. She started March 6th of 2006. That just seems to be the order. 2006. Ohio.8 Plaintiffs entered into evidence three certified mail receipts. Elsass personally walked them to the post office and mailed Plaintiffs’ documents in three envelopes on April 14. okay. 2006. She’s got an MBA. PX 3. it came in.7 Tr. Elsass testified that he retrieved these certified mail receipts from files he maintained for both Plaintiffs. I don’t know. maintained that both returns were mailed on April 14.000 806 people in scams. I don’t mean [to be] disrespectful. 2006. Plaintiffs alleged that Ms. Q: So you did copy some of the package? A: We copied the 2002. 145–46. Shelly had worked for me at that time [for just over a month]. Mr. 2006—he was very busy with other clients’ filings: I may have had others with me that day. ’’ Tr. 57. In short. PX 10. PX 7–8. DX 19. The next letters were not sent until October 2006. In the first letter. PX 11. The letters suggested that Mr. 139. Mr. Tr. such as an invoice from Liberty. notified Plaintiffs that the IRS had referred their refund claims to the ‘‘statute of limitations section for review TTT due to closeness to filing date deadline. and October 26. Elsass noted that the ‘‘agent wants me to fax him original 1999 1040X for quick processing. Elsass sent such status report letters to Plaintiffs between July 28. after Mr. dated November 28. As Mr. DX 19. and also notified Plaintiffs that the IRS ‘‘suggested’’ that Plaintiffs ‘‘resubmit’’ for ‘‘1999 tax year.’’ Tr. 2006. there was nothing to indicate when these forms were drafted or signed. that allegedly accompanied Plaintiffs’ resubmitted refund claims. The cover letter noted that ‘‘enclosed herein [is] a 1040X for tax year 1999. counsel for Defendant submitted a declaration in which he affirmed that he had temporary custody of ‘‘cer- 10. PX 11 at 2–3. PX 5–6. PX 10. U. Elsass notified Plaintiffs of this by status letters dated October 3. The record also contains copies of a cover letter and a facsimile cover sheet. he did not ‘‘know what was copied and what wasn’t.Cl. Tr. as well as basis documents. or a bill from Mr.11 According to IRS records.10 and assigned them for review by the same unit that reviewed Plaintiffs’ 2002 returns. Plaintiffs’ 1999 Forms 1040X had ‘‘not shown 9.’’ Neither cover sheet made reference to a previously submitted 1040X. Elsass testified that Liberty prepared Plaintiffs’ 1999 1040X Forms on short notice in April 2006. Cite as 92 Fed. the Court inferred from the totality of Mr. including the cost of services rendered by Liberty in April 2006. both dated October 27. Mr. In the status report letter dated October 26. Plaintiffs did not offer any evidence to demonstrate that Liberty actually prepared the forms in April 2006. 83. Fraud Recovery Group sent status report letters to its customers as a means of updating their customers on the status of their refund claims. dated July 28. 54. Elsass. 11. Ms. Elsass did not testify expressly as to what he included in Plaintiff Parsons’ parcel. Mr. i. 91–92. which informed him that. while the IRS had processed Plaintiffs’ 2002 returns. a 1999 Form 1040X.SCHULTZ v. No documentary evidence submitted by Plaintiffs establishes what the packages Mr. the record does not contain any copy of either Plaintiff’s 1999 Form 1040X—in final form or otherwise—that was signed or dated in April 2006. Mr. Tr. 2006. Elsass produced from his files unsigned and undated copies of 1999 Forms 1040X. Elsass called the IRS hotline.’’ The facsimile cover sheet noted that the facsimile included ‘‘a signed copy of the 1040X for 1999 as we discussed this week. 2006.12 the IRS received Plaintiffs’ 2002 Forms 1040 on April tax forms were being ‘‘resubmitted. Elssas’ recollection was that both Plaintiffs’ parcels included the aforementioned IRS forms. Tr. While Mr. In its motion to dismiss. 2006. In response to Defendant’s subpoena for copies of Plaintiffs’ 1999 Forms 1040X. While the forms’ fields were populated with Plaintiffs’ tax information. Elsass to Plaintiffs—both dated November 9. 2006. and Ms. Elsass’ recollection. 2006. whether they contained Plaintiffs’ 1999 Forms 1040X or not. Mr. Mr. 2006. Elsass was in contact with the IRS regarding Plaintiffs’ 2002 tax return intermittently between July and November 2006. 213 (2010) 217 However.9 Two more letters from Mr. [up in] the IRS records. Schultz. there is no evidence that a 1999 Form 1040X had been drafted in April 2006. Silver retained no copies of the parcels as mailed on April 14. Elsass noted that the IRS had received Plaintiffs’ ‘‘returns’’ and assigned them to an ‘‘individual’’ for review. and November 28. Mr.’’ PX 11 at 3–4. Elsass further testified that Plaintiff Schultz’s parcel contained a 2002 IRS Form 1040. to the IRS. Other than Mr. 2006.S. 99.’’ PX 11 at 4. PX 11 at 1. Elsass candidly testified. 2006.’’ PX 10–11. 12. The final letter. and documents establishing her basis for the claimed losses. Elsass’ testimony that Mr. 2006—stated that the IRS received the recently submitted 1999 Forms 1040X. Elsass sent to the IRS in April 2006 actually contained. In addition. testimony from a Liberty employee. Elsass to Plaintiffs. 11.e.’’ PX 11 at 3–4. 61–62. a Form 1045 (a request for a tentative refund that was attached to the 2002 Form 1040). Nor did the cover sheets indicate that the enclosed . Mr. 11. on April 14. v. The only 1999 Forms 1040X included among the IRS’s records were signed by Ms. To that end. 190 F. interest.’s Mot.’’ DX 1. Decl. Cardenas & Sons Farming. DX 11. Serv. 2000. 1514. the court may consider relevant evidence to resolve the factual dispute. For example. and Other Specified Matters. Motors Acceptance Corp. however. 846 F.’ ’’) (quoting Ex parte McCardle. 94. United States v. DX 10. 748 (Fed. 118 S..S. DX 10. Section 7422 of the Code.C. § 1346(a). 83. Field Director of Submission Processing in Austin. inter alia. Schultz and Ms. the IRS did not receive Plaintiffs’ 1999 Forms 1040X until Plaintiffs submitted them in late October 2006. 2000. Schultz’s Form 4340 for tax year 1999 includes. were retrieved from the official files of the IRS. 153. Gen.’’). 264 (1868)). DX 11 (emphasis added). 780. 846 F. 514. 298 U. 2009). 1318 (Fed. Silver on October 22. Ms. of all assessments. (7 Wall. and August 17.C. Army and Air Force Exch. and . an entry indicating that she filed her 1999 return on September 25. 2000. 140 L. 178. The transcripts chronicle the date.S. 2006. penalties.218 92 FEDERAL CLAIMS REPORTER horn Min. McNutt v. Each of the four Forms 4340 was accompanied by a ‘‘Certificate of Official Record’’ upon which Kathleen Bushnell. and another entry indicating she filed the instant lawsuit on December 30. Discussion [1] A taxpayer who seeks a refund of erroneously collected taxes may bring an action against the government in the United States Court of Federal Claims.S. after receiving extensions on April 15. of Frederick C. 1003. v. DX 5. PX 6. Inc. DX 2. 2006. to Dismiss at 2 (Jun. it must dismiss the case.2d at 747. 523 U. DX 11. Forms 4340. Reynolds. See also J. his estate’s application requesting a tentative refund. 20. Crombie. 553 U. Section 6511 of the Code establishes the time limits within which a taxpayer must file a claim for refund with the IRS. However. Payments. TX.Ed. The IRS also acknowledged receiving Plaintiff Parsons’ 1999 Form 1045. 1. Co. Clintwood Elktain’’ IRS files for this case. 88 Fed. 28 U. 128 S.’’). and that the tax documents he submitted in this case were true and accurate copies of Plaintiffs’ IRS filings. 189. ‘‘Certificates of Assessments. If the Court finds that it does not have jurisdiction. United States. this transcript does not indicate that the IRS received her Form 1040X in April 2006. 1135 (1936) (‘‘If [the plaintiff’s] allegations of jurisdictional facts are challenged by his adversary in any appropriate manner. DX 2 (copies of Plaintiffs’ 2002 IRS Forms 4340 indicating that Plaintiffs’ 2002 Forms 1040 were received on April 20.Cl. United States. 157–58 (2009). See DX 1. See Steel Co. abatements. 19 L.C.’’ 26 U. 74 U. DX 2.’’ for both Plaintiffs for tax years 2002 and 1999 are in the record. type of transaction.2d 746.Ed. provides that ‘‘[n]o suit or proceeding shall be maintained in any court for the recovery of any internal revenue tax alleged to have been erroneously TTT collected TTT until a claim for refund or credit has been duly filed with the Secretary. credits. 56 S. 11..S. PX 7. Citizens for a Better Env’t. he must support them by competent proof. 8.Ct.’’ Reynolds v.. 2008.1999) (‘‘Factfinding is proper when considering a motion to dismiss where the jurisdictional facts in the complaint TTT are challenged. refunds TTT as disclosed by the records of this office. When the movant challenges the truth of jurisdictional facts alleged in the complaint.S. In other words. 2006.Ct. the plaintiff must present ‘‘competent proof’’ and demonstrate affirmatively that the Court has jurisdiction. 80 L.) 506.Cir. According to its records.Cir. 1511. 2006).3d 1314. of Ind.2d 210 (1998) (‘‘ ‘Without jurisdiction the court cannot proceed at all in any cause. and whether the IRS rendered any assessments or credits affecting a specified taxpayer for a specified tax year. the plaintiff ‘‘bears the burden of establishing subject matter jurisdiction by a preponderance of the evidence. see also DX 1. [2.S.2d 392 (2008). § 7422(a).S. see also Moyer v. See DX 10. to Dismiss. certified that each Form 4340 was a ‘‘true and complete transcript for the period stated. 3] When the motion is made under RCFC 12(b)(1). DX 10.1988). 170 L. PX 5. the taxpayer must comply with the refund procedures and limitations set forth in the Code in order for the Court’s jurisdiction to vest.Ct. 26 U.Ed.Ed. Def. See Mot. but his testimony suggests there were likely many: [W]e could have had a box full to the point that when we go to the IRS like now [January 2010] in the next two months. U. Mr. ‘‘really rusty. on April 14.’’ Tr. as Mr. the record as a whole does not establish that Plaintiffs’ 1999 Forms 1040X were.’’ He himself was ‘‘in the middle of doing tax returns and all this stuff. Thus. 2006. Thus. that any 1999 Forms 1040X were drafted in April 2006. combine to persuade the Court that Plaintiffs have not established that they mailed the 1999 refund claims on . Elsass’ assistant had been with him for just over a month after a tenyear break from the work world. Tr. Reg. The Code affixes a ‘‘special’’ limitations period to refund claims based on net operating loss carrybacks.SCHULTZ v. Moreover. 2006.S. § 6511(d)(2)(A).S. by his own admission.C.Cl. 26 U. 148–49. Plaintiffs failed to meet their burden. he ‘‘didn’t know what was copied and what wasn’t. Mr. Mr. Plaintiffs must demonstrate. Although Mr. The IRS’s official transcript indicates that Plaintiffs’ 2002 Forms 1040 were received in April 2006.’’). Cite as 92 Fed. to file a claim for a refund attributable to a net operating loss carryback. stating: If the claim for credit or refund relates to an overpayment attributable to a net operating loss carryback or a capital loss carryback TTT the period shall be that period which ends 3 years after the time prescribed by law for filing the return (including extensions thereof) for the taxable year of the net operating loss or net capital loss which results in such carryback.6402–3(a)(5). Based on the evidentiary record. see also DX 1. when we start getting—we’ve got I think 40. a taxpayer who did not receive an extension would have had until April 15. The Code prescribes that tax returns based on a calendar year must be filed by April 15 of the following year.C. but the transcript does not show receipt of Plaintiffs’ 1999 Forms 1040X at that time. Tr. In short. business practice. Mr. Elsass could not estimate the number of other clients’ tax forms filed that day. Elsass had just recently formed a new company and was. Treas.’’ Tr. An amended return is ‘‘properly executed’’ if it ‘‘contains a statement setting forth the amount determined as an overpayment and advising whether such amount shall be refunded to the taxpayer. § 6072(a). by a preponderance of the evidence. 2006. along with the absence of any documentary evidence that the Parsons and Schultz parcels actually contained the 1999 Forms 1040X. or that the Forms 1040X were received in April 2006 by the IRS. § 6511(d)(2)(A). in fact. Reg. This backdrop of confusion. for a loss that occurred in 2002. 2006. 138–39.’’ including going to the post office. mailed on that date. § 301. he was ‘‘panicking because [he] also [had] other stuff going on. in his words. Treas. [4] In this case. 26 U. these transcripts included ‘‘all TTT refunds’’ submitted for the 1999 tax period. 26 U. 213 (2010) 219 § 6511. According to the IRS’ Field Director of Submis- sion Processing.6511(d)– 2. Further. Elsass testified that he remembered mailing Plaintiffs’ 1999 Forms 1040X with Plaintiffs’ 2002 forms on April 14. A claim for refund is ‘‘duly filed’’ under section 7422 if a ‘‘properly executed TTT income tax return or an amended return (on 1040X TTT)’’ is filed with the IRS prior to the expiration of limitations period under section 6511(d)(2). § 301. Elsass’ own testimony—almost four years after the event—on the circumstances of his preparing and mailing these packages did not establish a methodology. DX 2 (Forms 4340 for tax year 2002). and she was. 139. overburdened on that day. or protocol from which the Court might have inferred that it was likely that the 1999 Forms 1040X were mailed on April 14.C. Elsass admitted.S. any refund claims received by the IRS in April 2006 would have been listed in these transcripts.000 806 people in schemes TTT and so who knows how many certified mail[ings] we did that day. DX 10.S. Elsass mailed two properly executed 1999 Forms 1040X to the IRS on or before April 15. 85 (‘‘You don’t realize the scramble this was.’’ Id. Tr. that Mr. DX 11. 2006. 138. unless the taxpayer obtains an extension. As a result. 780. . (5) jurisdiction was lacking to order return of property seized in IRS raids. 1.C. McNutt. 28 U. Federal Courts O1083 Taxpayer’s many constitutional claims.e. 28 U. Federal Courts O1072 For jurisdiction under the Tucker Act. United States Court of Federal Claims. were not money-mandating. and injunctive relief. 2006.C. Plaintiff. Plaintiffs have not established that their refund claims (i. Government moved to dismiss for lack of subject matter jurisdiction.S. 1113 Court of Federal Claims holds a pro se plaintiff’s pleadings to a less stringent standard than the court would hold a party represented by an attorney.C.C.A.S. 6. 2010.A. Senior Judge. § 1491. Holdings: The Court of Federal Claims. Plaintiffs’ complaints are (7) jurisdiction was lacking for Freedom of Information Act (FOIA) claim. 28 U. 56 S. 28 U. April 16. LEITNER. Thus. maritime. (3) jurisdiction was lacking under tax refund jurisdictional statute. Federal Courts O1136 Statute conferring jurisdiction on federal district courts for admiralty. § 1333. 2006. Mark D. No.S. 2. v. flowing from acts of Internal Revenue Service (IRS) agents and rulings of federal district courts. plaintiff must have paid the assessed taxes in full and met other jurisdictional prerequisites. declaratory judgment. alleging several torts flowing from acts of Internal Revenue Service (IRS) agents and rulings of federal district courts. Forms 1040X) were duly filed with the IRS on or before April 15. held that: (1) jurisdiction was lacking under admiralty jurisdictional statute. Smith. Federal Courts O1083 Before bringing a tax refund claim.C.Ct. Federal Courts O1111. 4. § 1346(a)(1). and seeking money damages. and prize cases does not confer jurisdiction on Court of Federal Claims. The UNITED STATES. at 189. 298 U. 5. the claim must be founded on a moneymandating constitutional or statutory provision. Because filing a timely claim for refund is a mandatory prerequisite for maintaining a tax refund suit. 09–471C. 28 U.A. . IRC §§ 6511(d)(2)(A).A.550 in alleged damages due to raids were not within tax refund jurisdictional statute. (2) jurisdiction was lacking under Tucker Act. the Court lacks jurisdiction over these actions. Background: Taxpayer appearing pro se sued United States. (6) jurisdiction was lacking for tort claims. 7422(a). § 1346(a)(1).S. Defendant. and (8) jurisdiction was lacking for injunctive relief claim. § 1491.S.220 92 FEDERAL CLAIMS REPORTER April 14. 3. (4) jurisdiction was lacking under Declaratory Judgment Act. thus precluding Tucker Act jurisdiction. Federal Courts O1083 Taxpayer’s claims for injunctive relief requiring Internal Revenue Service (IRS) agents to return property seized in raids and for $176. Conclusion Accordingly.A. Motion granted. nevertheless.S. which is not a federal district court. since taxpayer had not alleged that he paid assessed taxes in full and met other jurisdictional requirements. DISMISSED. the pro se plaintiff bears the burden of establishing the court’s jurisdiction by a preponderance of the evidence.
https://www.scribd.com/document/162737302/Estate-of-Bill-W-Parsons-Done
CC-MAIN-2017-39
refinedweb
5,543
68.47
DALI Expressions and Arithmetic Operators¶ This example shows you how to use binary arithmetic operators in the DALI Pipeline that allow for element-wise operations on tensors in a pipeline. We will provide information about the available operators and examples of using constant and scalar inputs. Supported Operators¶ DALI currently supports the following operators: - Unary arithmetic operators: +, -; - Binary arithmetic operators: +, -, *, /, and //; - Comparison operators: ==, !=, <, <=, >, >=; - Bitwise binary operators: &, |, ^. Binary operators can be used as an operation between two tensors, between a tensor and a scalar or a tensor and a constant. By tensor, we consider the output of DALI operators (regular or other arithmetic operators). Unary operators work only with tensor inputs. In this section we focus on binary arithmetic operators, Tensor, Constant and Scalar operands. The detailed type promotion rules for comparison and bitwise operators are covered in the Supported operations section and other examples. Prepare the Test Pipeline¶ Prepare the helper code, so we can easily manipulate the types and values that will appear as tensors in the DALI pipeline. We will be using numpy as source for the custom provided data, so we need to import several things from DALI needed to create the Pipeline and use the ExternalSource operator. [1]: import numpy as np from nvidia.dali.pipeline import Pipeline import nvidia.dali.fn as fn import nvidia.dali.types as types from nvidia.dali.types import Constant Defining the Data¶ To define the data, because there are binary operators, two inputs are required. We will create a simple helper function that returns two batches of hardcoded data, that are stored as np.int32. In an actual scenario the data that is processed by the DALI arithmetic operators would be tensors produced by another operator that contains some images, video sequences or other data. You can experiment by changing those values or adjusting the get_data() function to use different input data. Note: The shapes of both inputs need to match since operations are performed element-wise. [2]: left_magic_values = [ [[42, 7, 0], [0, 0, 0]], [[5, 10, 15], [10, 100, 1000]] ] right_magic_values = [ [[3, 3, 3], [1, 3, 5]], [[1, 5, 5], [1, 1, 1]] ] batch_size = len(left_magic_values) def convert_batch(batch): return [np.int32(tensor) for tensor in batch] def get_data(): return (convert_batch(left_magic_values), convert_batch(right_magic_values)) Operating on Tensors¶ Defining the Pipeline¶ To define the pipeline, the data will be obtained from the get_datafunction and made available to the pipeline through ExternalSource. Note: You do not need to instantiate any additional operators, we can use regular Python arithmetic expressions on the results of other operators. You can manipulate the source data by adding, multiplying and dividing it. [3]: pipe = Pipeline(batch_size=batch_size, num_threads=4, device_id=0) with pipe: l, r = fn.external_source(source=get_data, num_outputs=2) sum_result = l + r mul_result = l * r div_result = l // r pipe.set_outputs(l, r, sum_result, mul_result, div_result) Running the Pipeline¶ Build and run our pipeline [4]: pipe.build() out = pipe.run() Display the results: [5]: def examine_output(pipe_out): l = pipe_out[0].as_array() r = pipe_out[1].as_array() sum_out = pipe_out[2].as_array() mul_out = pipe_out[3].as_array() div_out = pipe_out[4].as_array() print("{}\n+\n{}\n=\n{}\n\n".format(l, r, sum_out)) print("{}\n*\n{}\n=\n{}\n\n".format(l, r, mul_out)) print("{}\n//\n{}\n=\n{}\n\n".format(l, r, div_out)) examine_output(out) [[[ 42 7 0] [ 0 0 0]] [[ 5 10 15] [ 10 100 1000]]] + [[[3 3 3] [1 3 5]] [[1 5 5] [1 1 1]]] = [[[ 45 10 3] [ 1 3 5]] [[ 6 15 20] [ 11 101 1001]]] [[[ 42 7 0] [ 0 0 0]] [[ 5 10 15] [ 10 100 1000]]] * [[[3 3 3] [1 3 5]] [[1 5 5] [1 1 1]]] = [[[ 126 21 0] [ 0 0 0]] [[ 5 50 75] [ 10 100 1000]]] [[[ 42 7 0] [ 0 0 0]] [[ 5 10 15] [ 10 100 1000]]] // [[[3 3 3] [1 3 5]] [[1 5 5] [1 1 1]]] = [[[ 14 2 0] [ 0 0 0]] [[ 5 2 3] [ 10 100 1000]]] The resulting tensors are obtained by applying the arithmetic operation between corresponding elements of its inputs. With an exception for scalar tensor inputs that we will describe in the next section, the shapes of the arguments should match the arithmetic operators, otherwise you will get an error. Constant and Scalar Operands¶ Until now we considered only tensor inputs of matching shapes for inputs of arithmetic operators. DALI allows one of the operands to be a constant or a batch of scalars, and such operands can appear on both sides of binary expressions. Constants¶ The constant operand for arithmetic operator can be one of the following options: Values of Python’s intand floattypes that are used directly. Values that are wrapped in nvidia.dali.types.Constant. The operation between the tensor and the constant results in the constant that is broadcast to all tensor elements. Note: Currently, the values of the integral constants are passed internally to DALI as int32 and the values of floating point constants are passed to DALI as float32. With regard to type promotion, the Python int values will be treated as int32 and the float as float32. The DALI Constant can be used to indicate other types. It accepts DALIDataType enum values as second argument and has convenience member functions such as .uint8() or .float32() that can be used for conversions. Using the Constants¶ Adjust the Pipeline to utilize constants. [6]: pipe = Pipeline(batch_size=batch_size, num_threads=4, device_id=0) with pipe: l, r = fn.external_source(source=get_data, num_outputs=2) add_200 = l + 200 mul_075 = l * 0.75 sub_15 = Constant(15).float32() - r pipe.set_outputs(l, r, add_200, mul_075, sub_15) [7]: pipe.build() out = pipe.run() Display the results: [8]: def examine_output(pipe_out): l = pipe_out[0].as_array() r = pipe_out[1].as_array() add_200 = pipe_out[2].as_array() mul_075 = pipe_out[3].as_array() sub_15 = pipe_out[4].as_array() print("{}\n+ 200 =\n{}\n\n".format(l, add_200)) print("{}\n* 0.75 =\n{}\n\n".format(l, mul_075)) print("15 -\n{}\n=\n{}\n\n".format(r, sub_15)) examine_output(out) [[[ 42 7 0] [ 0 0 0]] [[ 5 10 15] [ 10 100 1000]]] + 200 = [[[ 242 207 200] [ 200 200 200]] [[ 205 210 215] [ 210 300 1200]]] [[[ 42 7 0] [ 0 0 0]] [[ 5 10 15] [ 10 100 1000]]] * 0.75 = [[[ 31.5 5.25 0. ] [ 0. 0. 0. ]] [[ 3.75 7.5 11.25] [ 7.5 75. 750. ]]] 15 - [[[3 3 3] [1 3 5]] [[1 5 5] [1 1 1]]] = [[[12. 12. 12.] [14. 12. 10.]] [[14. 10. 10.] [14. 14. 14.]]] The constant value is used with all elements of all tensors in the batch. Dynamic Scalars¶ It is sometimes useful to evaluate an expression with one argument being a tensor, and the other argument being scalar. If the scalar value is constant during the execution of the pipeline, types.Constant can be used. When dynamic scalar values are needed, they can be constructed as 0D tensors with empty shape. If DALI encounters this tensor type, DALI will broadcast it to match the shape of the other tensor argument. Note: DALI operates on batches. The scalars are also supplied as batches, with each scalar operand being used with other operands at the same index in the batch. Using Scalar Tensors¶ Use an ExternalSourceto generate a sequence of numbers which will be added to the tensor operands. [9]: pipe = Pipeline(batch_size=batch_size, num_threads=4, device_id=0) with pipe: tensors = fn.external_source(lambda: get_data()[0]) scalars = fn.external_source(lambda: np.arange(1, batch_size + 1)) pipe.set_outputs(tensors, scalars, tensors + scalars) Build and run the Pipeline. This process allows you to scale your input by some random numbers that were generated by the Uniform Operator. [10]: pipe.build() out = pipe.run() [11]: def examine_output(pipe_out): t = pipe_out[0].as_array() uni = pipe_out[1].as_array() scaled = pipe_out[2].as_array() print("{}\n+\n{}\n=\n{}".format(t, uni, scaled)) examine_output(out) [[[ 42 7 0] [ 0 0 0]] [[ 5 10 15] [ 10 100 1000]]] + [1 2] = [[[ 43 8 1] [ 1 1 1]] [[ 7 12 17] [ 12 102 1002]]] The first scalar in the batch (1) is added to all elements in the first tensor, and the second scalar (2) is added to the second tensor.
https://docs.nvidia.com/deeplearning/dali/master-user-guide/docs/examples/general/expressions/expr_examples.html
CC-MAIN-2021-04
refinedweb
1,351
56.76
Hi all, I am interested in using the tool BICseq for a CNV detection analysis. Unfortunately, I am writing you because I cannot solve a problem related to BICseq R package. The R package is correctly installed and I am testing it on chr22 extracted from a in home BAM file. Running the function getBICseg with default parameters and a correctly generated bicseq object using the BICseq function, the following error is reported: "Error in .C("sort_rms_binning", as.integer(sample), length(sample), as.integer(reference), : "sort_rms_binning" not resolved from current namespace (BICseq)" Please, could you help me fixing the problem? I am using the R version 3.0.1. I found other posts related to this problem here but no answers. Many thanks in advance! Nicola There's been an update to the way C libraries are handled with R 3.0.x. You'll need to untar the R package and edit the NAMESPACE file to include the following line: Save the file and run R CMD check BICseq then R CMD INSTALL BICseq (note the use of the unpacked directory name instead of the tar.gz file). Hope this helps! Please add this as a solution rather than a comment. We've been looking for an answer to this issue for literally months, but have instead been hanging on to a 2.15.x copy of R. We've stopped using it completely because of this issue.
https://www.biostars.org/p/106558/
CC-MAIN-2017-26
refinedweb
239
65.83
. > If you're performing the `approved method of upgrading your > system', you're still running old kernel, which should return > amd64. i pulled in Simon's latest checkin, before starting the build. # uname -a DragonFly amd64x2.datasynergy.org 2.5.1-DEVELOPMENT DragonFly v2.5.1.187.gc1543-DEVELOPMENT #0: Fri Nov 6 23:57:32 IST 2009 root@amd64x2.datasynergy.org:/usr/obj/usr/src/sys/SYNERGYOS x86_64 # So currently, my AMD64X2 box is v2.5.1.187.gc1543-DEVELOPMENT Does this look ok to you ? > So corecode added a hack in Makefile.inc1 to replace these > variables, but it's only used when sub-make processes are run > as ${MAKE} because of the this line in the top-level Makefile: > > MAKE= PATH=${PATH} make -m ${.CURDIR}/share/mk -f > Makefile.inc1 > Yes, you are right. i did study the Makefile.inc1 and found. eg. . if ${MACHINE_ARCH} == "amd64" MACHINE_ARCH= x86_64 . makeenv MACHINE_ARCH . endif > so this applies to buildworld or installworld, but doesn't > apply to `make upgrade' target, as it's written as: > > upgrade: upgrade_etc upgrade_etc: @cd ${.CURDIR}/etc; make -m > ${.CURDIR}/share/mk upgrade_etc > > But the generic answer is of course, wait for the committer's > comment :) > Sure, look forward to reading Simon's reply and observations. Thank you for your time and consideration. thanks Saifi.
http://leaf.dragonflybsd.org/mailarchive/users/2009-11/msg00097.html
CC-MAIN-2014-42
refinedweb
218
61.73
Leap Leap is an experimental package written to enable the utilization of C-like goto statements in Python functions. It currently supports only Python 3.6 and 3.7. Examples Labels are added using a label keyword, and gotos are added using a goto keyword. Here is a simple function that prints the contents of a list, using the goto keyword. from leap.goto import goto @goto def print_list(lst): i = 0 label .start item = lst[i] print(item) if i == len(lst) - 1: goto .end else: i += 1 goto .start label .end # test print_list(range(5)) # this outputs 0 1 2 3 4 We can also utilize the goto decorator, if we need to pass arguments, to perform checks. Below is a simple function that builds a list given a start value an end value, and an optional step value. Here, formal arguments max_gotos and max_labels are sentries that ensures the maximum number of goto and label statements in build_list() does not exceed the actual parameter values. If it does, an exception is raised accordingly. debug ( False by default, only explicitly declared for example sake) is also set to False to disable internal-processing outputs. from leap.goto import goto @goto(debug=False, max_gotos=3, max_labels=3) def build_list(begin_val, end_val, step=1): lst = [] val = begin_val label .begin if val >= end_val: goto .end lst.append(val) val += step goto .begin label .end return lst print(build_list(1, 10)) # [1, 2, 3, 4, 5, 6, 7, 8, 9] Below is a simple function err() that will fail at decoration time. from leap.goto import goto @goto(max_labels=2) def err(): label .start1 label .start2 label .start3 # Traceback (most recent call last): # ... # LabelLimitError: Too many labels in function. Max allowed: 2 The exception was triggered because max_labels was exceeded. The same applies to goto statements (in this case we have a GotoLimitError). Duplicate labels are also not allowed (this can lead to some form of ambiguity). from leap.goto import goto @goto(max_labels=3) def err2(): label .start label .start # Traceback (most recent call last): # ... # DuplicateLabelError: Duplicate labels found: `start` Labels that are not declared in a function cannot be referenced in a goto statement. Below is a simple example that will fail. from leap.goto import goto @goto(max_labels=2) def err3(): x = 0 goto .end label .start # Traceback (most recent call last): # ... # LabelNotFoundError: Label `end` was not found. Functions err(), err2(), and err3() will fail even before any of them are called. Why? Why not? I mean, it's a perfect excuse to test bytecode editing/rewriting possibilities in Python. Tests See the tests folder for tests and other examples. To run the tests, simply cd to the Leap directory, and do: python -m tests.test -v Limitations Only functions/methods are supported (may be easily inferable from the decorator syntax). Nested functions/methods are not supported, that is, labels cannot be declared in external or enclosing functions and referenced in another function be it inner or enclosing. Installation Clone this repo, and do: cd leap python setup.py install Bugs/Features Please file an issue.
https://pythonawesome.com/leap-an-experimental-package-written-to-enable-the-utilization-of-c-like-goto-statements-in-python-functions/
CC-MAIN-2022-21
refinedweb
517
58.69
Service virtualization, Fakes, Stubs, Mocks, dummies etc are all different categories of Test Doubles which on broader level return a response for a given request in a controlled manner. A request can be a method call, Object creation , database interaction or an webAPI interaction. In below article we will be talking about API mocking and try to discuss some of what, why, how, when of API Mocks and also some challenges with them. If you are more concerned about the difference amongst all different types of Test Doubles then please head over here and here. Enough said lets get started What is Mocking Mocks is nothing but an imitation(of what?). It simulates behaviour of real API but in a more a controlled manner. A simple mock server consist of a server, which on matching certain request returns pre-defined response and other parameters associated such as response code, headers etc. Why API Mocking Getting quick and consistent feedback for a test are some of the key principles of continuous integration and API Mocks really help in facilitating this. Quick feedback is very obvious, but lets understand. Quicker the feedback of testing(either manual /automation) earlier bugs are caught and fixed. Have you been in a situation where a single test scenario take 15 min to complete with flaky payment service (roughly around 12 API calls), If yes embrace API Mocks. What do we mean by “consistent/deterministic results”?. Consider an airline booking application where we have to check whether user is able to - Select Seats for the passenger - Add trip extras like “in-flight wifi” etc - Complete Purchase Over here search results, availability of seats and Trip Extras will vary depending on the current state of the flight, hence non deterministic tests. But if we have mocked API responses for seat availability, then seat 25A will always be available. Other benefits of API mocks are - If we are doing visual comparison of screen, then data painted on each screen also needs to be consistent in order for visuals comparison to work. - Validating manually scenarios when test environment is not available by pointing to Mocks. - Validating issues(prod/new issue) with different version of apps by pointing to same mock environment. - If backend and UI development are happening in parallel then UI needs a contract/dummy response to work with. What to Mock? As this article is pretty much about mocking backend, so yes backend should be mocked, but what if your team is owning some bit of backend(1 or 2 service) and UI. Question to ask is Should we mock backend APIs that we own or all the backend APIs to UI should be mocked. If you are looking for a straight answers then “We should mock all the backend APIs of components which are owned by Team”. agree? Let say team somehow agreed to approach where everything backend to UI will be mocked. Refer below One fine day if SHIM layer owned by team is changed without making changes to UI then your UI test case will NOT raise any flags as they are always working with the mocked response and test will be returning false positives. False positive is the last thing which you want in environment where confidence in automation test case is really crucial. Food for thought : Is this problem with every API mocking(Let me know your thoughts in comments section, if yes how we can keep a check?) How to API mock First thing First : For mocking API, we need configuration in our app which can selectively point to mocks environment or live services based on the switch. It can be a javascript function which can change host & port or setting page in test builds for mobile app where one can select environment. For writing mocks there are many open source tools available, personally I never felt the need to go for the paid solution for mocks or service virtualization. Some of the popular open source solutions are wiremock, MounteBank. There is good documentation and “Getting Started” help available on respective tools website, but just to give glimpse how easy is to write mock for GET request, here is a snippet. A simple mock GET request for “greet” in wiremock looks as follows public class Test { public static void main(String[] args){ stubFor(get(urlEqualTo("/greet")) .willReturn(aResponse().withBody("Hello World"))); } } If responses are big then storing them in file and returning file content is something to consider. Also mocked response can be templatized to include date sensitive responses like greet users with “todays date”. public static void main(String[] args){ stubFor(get(urlEqualTo("/greet")) .willReturn(aResponse().withBody("Hello World, today is:"+ DateTime.now()))); } When to API mocks It again depends upon the project, if we have agreed on why part of it, based on the automation need, it should be early in the project also if any of the backend service is flaky or slow then those should be mocked. Challenges As we have seen above API mocks really comes handy for UI automation and other manual scenarios but there are some challenges associated with it. States in Mocks Mocking gets more complex if we have states in our app for example : /greeting api will return “Hello World” and then on subsequent /greeting we need to return “Hello Universe”. Great powers comes with great responsibilities Also, this prevents parallelization of test cases as one fine day states will interfere and test will fail and debugging will take ages. Stale mocks As we discussed in what to mocks section, there are chances mocks will become stale and there is no clear way to know when they have become stale(unless clubbed with Contract tests) . Templates Templatization issues for Date time needs to be sorted very carefully, if UI tests and mocks are running in different timezones. Broken Request Consider a request with all mandatory objects { "action": "greet", "name": "kapil", "date": "2018-02-01" } In order to make mocks simple, quite many times mocks mapping for the above request would be something like stubFor(post(urlEqualTo("/greet")) .withRequestBody(containing("greet")) .withRequestBody(containing("kapil")) .willReturn(aResponse().withBody("Hello Kapil!"))); Now consider a scenario where there is a bug and mandatory “date” object is not coming in request, our UI automation test case will always pass again giving false positives. Effort for mock updates Last but not the least, effort required to update mocks(or automated way to do that) when backend changes is something to consider upfront and this is coming from an experience of working in project that has ~3000 mock responses. And thats pretty much it, I hope this article has given insights in API mocking. Will be discussing about some challenges in follow up post. Do let me know your feedback in comment section, and if you like the article do share. Discussion
https://dev.to/kapil_aggarwal1/api-mocks-and-why-should-we-care-38po
CC-MAIN-2020-45
refinedweb
1,142
56.59
Hi all, I have a series of custom xml-like structures that are often placeholders for native elements. I'm trying to modify the language file to allow for a custom namespace and still import the syntax highlighting that would be included with a default element. A good example is "script". For instance, I may have an element like <aui:script>alert('test');</aui:script> but I want everything between those tags to be highlighted as JS. Is there a way to modify this? I have it working in my Textmate html bundles, but for some reason, bringing those into Sublime don't quite work, so I wonder if there's an easy way to handle this. Thanks in advance!
http://www.sublimetext.com/forum/viewtopic.php?f=2&t=3791&start=0
CC-MAIN-2014-15
refinedweb
120
63.8
The RN1723 WiFly module has two modes of operation: - Data mode - Command mode Data Mode (Default) In data mode, the module can accept incoming TCP/UDP connections or initiate outgoing TCP/UDP connections: - The WiFly module acts as a UART-to-Wi-Fi™ data pipe - TCP/UDP headers are stripped or added by the module (transparently) to UART application data - Application data written to UART is sent out over Wi-Fi - Application data received over Wi-Fi is read from UART Command Mode To configure parameters and/or view the current configuration, you must put the module into Command mode (also called Configuration mode). Entering Command Mode By default, the module is in data mode after power up. Sending the escape sequence "$" causes the module to enter command mode. You must send "$" together quickly with no additional characters before or after. You must not send a carriage return (<CR>) or line feed after the "$" to enter command mode. The module replies with "CMD" to indicate it is in command mode. Once in command mode, you can configure the WiFly device using simple ASCII commands; each command ends with a carriage return <CR>. Most valid commands return "AOK"; invalid ones return an "ERR" description. To exit command mode, send "exit<CR>". The module responds with "EXIT", indicating that it has exited command mode and re-entered data mode. RN1723 contains an additional operating feature whereby you can toggle an I/O pin to alter between data and command modes. This feature saves time, reducing power consumption for battery applications. See the WiFly Command Reference Manual for details about this feature. Command Syntax & Structure This page covers basic command mode syntax and structure.
http://microchipdeveloper.com/wf:rn1723-arch-operating-modes
CC-MAIN-2017-17
refinedweb
281
51.99
The text package This package contains various helper classes to work with text and JSON. Escape sequences The module text/EscapeSequence contains a class EscapeSequence which defines some methods to work with backslash escape sequences. In the real world, you probably just need the two following methods: escape takes a string and converts all special characters to escape sequences. In this context, special characters are: - non-printable characters - single and double quotes - backslashes Use it like this: escaped := EscapeSequence escape("This is\na 'String'") // now, `escaped` looks like this: escaped == "This is \\n a \\'String\\'" But that is only one half of the truth: You can additionally pass a string of all characters that should not be escaped as the second argument: escaped := EscapeSequence escape("This is\na 'String'", "'\n") // The method did not escape anything now. escaped == "This is\na 'String'" unescape is useful if you have a string containing escape sequences and you need a string with these sequences converted to their real character counterparts. This method supports one-character escape sequences like “\n”, “\r” or “\t”, but also hexadecimal sequences like “\x34”. Usage is easy: "\\x27\\163up\\t\\x62ro\\n\\x3f" println() which will print 'sup bro ? StringTokenizer Sometimes, one needs to split a string at a special character and turn it into an array. In ooc, the text/StringTokenizer module adds every desirable variation of the good old split method to Buffer and String, each returning an ArrayList: import text/StringTokenizer import structs/ArrayList // split at a specific character "A|simple and stupid|example" split('|') // This creates an ArrayList: // ["A", "simple and stupid", "example"] // split until a specific number of tokens is reached. // This will produce an ArrayList like // ["A", "simple and stupid|example"] "A|simple and stupid|example" split('|', 2) // There is also a function to split at delimiters longer // than one char: ":-)A case :-)of intimidating:-)smiley abuse :-)" split(":-") // ... produces // ["", "A case ", "of intimidating", "smiley abuse ", ""] StringTemplate The io/StringTemplate module adds a lightweight formatTemplate string interpolation function to strings, which can be used in cases where format is not enough. This function uses a hashmap to access items by value: import text/StringTemplate import structs/HashMap values := HashMap<String, String> new() values put("day", "Saturday") \ .put("weather", "cloudy") "Hi! Today's {{day}}, and it is a pretty {{ weather }} {{ day }}!" formatTemplate(values) println() This will print: Hi! Today's Saturday, and it is a pretty cloudy Saturday! As you can see, you can access the values by their keys, order isn’t important and you can interpolate one value multiple times. However, this is still pretty basic, since it does not support filters or control structures, but this is often enough. In case a key is referenced that does not exist in the hashmap, it will be replaced by an empty string. Shell-like Lexer The text/Shlex module implements a basic lexer for strings containing quoted strings and backslash escape sequences. Basically, it splits an input string into an Array, using whitespace characters as delimiters. Single and double quotes can be used to include whitespace in the string items. The public API can be accessed like this: import text/Shlex import structs/ArrayList Shlex split("'This is a \\'quoted\\' string' and I \"like \\x69\\x74.\"") // This produces the following ArrayList: // ["This is a 'quoted' string", "and", "I", "like it."] This can be useful to parse command-line arguments. However, be careful, since this module was not designed with security in mind. Regular Expressions The SDK provides a simple cover for the Perl Compatible Regular Expressions library. Its use is pretty straightforward. First, you need to compile a regular expression pattern, passing some options as a bitmask if you want to: import text/Regexp pattern := Regexp compile("on (?P<year>[0-9]{4})-?P<month>[0-9]{1,2})-(?P<day>[0-9]{1,2})", RegexpOption CASELESS) pattern matches("foo") // this will return null, since the pattern could not be matched someDate := pattern matches("On 2013-08-07") // `someDate` is now a `Match` object. You can access groups by index or by name: someDate group(1) someDate group("year") // ... both return "2013". // Group zero is the whole matched string: someDate group(0) // is "On 2013-08-07" // You can also iterate over the matches. This will include // group 0 (the whole string), though. for(group in someDate) { // `group` is now a String. } For more information about the Perl regular expression syntax, take a look at the Perl documentation. JSON Basic reading and writing The text/json/ package contains a JSON parser and generator, written in ooc without external dependencies, which is able to deal with basic JSON. However, if you care about speed or compliance (especially when dealing with numbers), you should check out ooc-yaml. The JSON classes operate on nested HashBags and Bags, so if you parse JSON, you get some (Hash)Bags, and if you want to generate JSON, you need to pass the data as (Hash)Bags. To parse or generate JSON, you can just use the convenience text/json module. Every function exists in two flavours: Normally, you need to pass the class of your expected base value. So, for example, if you want to parse JSON like that: ["Hi", "World"] You need to pass Bag as the base value class. However, since most of the time you will parse JSON objects that will represented by a HashBag, HashBag is used by default if you do not pass a class explicitly. Here are some examples: import text/json import structs/HashBag // if you have a `Reader` (to read directly from a file, for example): import io/FileReader myObject := JSON parse(FileReader new("package.json")) // ... and if your base value is not a JSON object: import structs/Bag myArray := JSON parse(FileReader new("myarray.json"), Bag) // reading directly from strings is also supported: JSON parse("{\"hello\": \"world\"}") JSON parse("\"just a string\"", String) // and to generate JSON, there is: myBag := HashBag new() myBag put("integer", 1234) \ .put("string", "Yes") import io/FileWriter JSON generate(FileWriter new("output.json"), myBag) myJSONString := JSON generateString(myBag) When dealing with the HashBag class, you should take a look at its getPath function, which will save you a lot of typing. A JSON generation DSL If you find yourself generating a lot of JSON, you might find the HashBag/ Bag objects create a lot of syntactic noise. For this reason, the SDK contains another convenience module implementing a small DSL for JSON generation. // Let's import the module into a namespace, since `make` // is a bit ambiguous. import text/json/DSL into JSON data := JSON make(|j| j object( "some-key", "some-value", "here comes a list", j array( 1, 2, "three", 4 ), "and a nested object", j object( "true", true ) ) ) data println() make creates a helper object with object and array functions and passes it to the function you provide; using a closure is the most convenient way here. You can use object to create JSON objects, passing as many key-value pairs as you want, and array for JSON arrays. When it’s done, it returns the JSON data as a string.
https://ooc-lang.org/docs/sdk/text/
CC-MAIN-2018-51
refinedweb
1,189
59.43
" H. On the conviction of Hans Reiser Posted Apr 30, 2008 14:33 UTC (Wed) by zooko (subscriber, #2589) [Link] Thank you for this article, Jon. Again you've done a fine job of addressing important issues plainly. One small comment that you made that I question, though, is this: "There are limits to how long reiser4 development can be carried forward as a labor of love." Aren't most successful open source projects labors of love? At least in part? Or at least in their inception? There's a good thesis to be made that an unfunded open source project has a *better*, rather than worse, chance than a funded one, because labors of love are sometimes done more, well, lovingly than paid work. Obviously that is not always true, but neither is the converse. To address the issue of reiser4 specifically, it seems like it might be nearing inclusion in mainline at this time. Edward Shishkin is still working on it, and I believe Andrew Morton mentioned it as a possibility for inclusion in his 2.6.26. name space ideas Posted Apr 30, 2008 16:41 UTC (Wed) by ccyoung (subscriber, #16340) [Link] were imho very indeed kool, and I was always surprised by the community's apparent apathy toward them. it's hard to read his paper (as poorly formatted as it is) and not come away enthusiastic about the ideas and envisioning new tools and paradigms. even trivial things like enumerated types as filesystem objects - free maintenance (no interface needed), free debugging interface, language independence - sort of like SQL for gamers as vs databasers - all directly plugged into the filesystem. Posted May 3, 2008 21:03 UTC (Sat) by jd (guest, #26381) [Link] I personally think the idea of programmatic, polymorphic namespaces to be interesting. How you would actually make use of such a design is another matter. What, really, does a polymorphic namespace mean at the conceptual level? If there is no concept behind the technology, then all you have is a bunch of instructions. (Yes, I dislike modern art, too.) You also have to consider the overheads. Modern hardware is serial and procedural. There's a huge overhead in translating between modern programming methods and what a computer actually does as it is. Adding yet more concepts alien to the underlying architecture is just going to slow things down. It has to, because this type of abstraction is just a fancy way of emulating in software those things the hardware cannot do, and software emulation is always going to be slow. (Regular abstraction hides the specific details of how things are done, but doesn't change the fundamental ideas.) Now, for some things, the speed of the software isn't the most critical factor. Aerospace and medical software, for example, have to have a very high degree of reliability. Speed is a secondary consideration in such cases, and so you actually want any kind of abstraction that reduces the chance of failure, even if it sacrifices performance to do so. You don't use filesystems a whole lot in such mission-critical systems, and it's certainly not clear that Reiser4 is going in a direction that would even be helpful in achieving extreme reliability even if they did, but one could imagine that intelligent filesystems could be valuable in that sector. Someday. Posted Apr 30, 2008 15:12 UTC (Wed) by louie (subscriber, #3285) [Link] It was a radical idea, and, perhaps, impractical. But our future comes from ideas like that. I wish more people grokked that. Then again, I wish more of the people who grok that weren't jerks... Posted Apr 30, 2008 21:11 UTC (Wed) by walters (subscriber, #7396) [Link] Radical, yes. Useful, largely not. Basically I see little reason for non-POSIX storage systems to live in the kernel. If you want something better and non-POSIX, put your data in SQLite. Posted Apr 30, 2008 21:28 UTC (Wed) 3:15 UTC (Thu) by superstoned 3:48 UTC (Thu) by MathFox (subscriber, 7 14:07 UTC (Thu) by MenTaLguY (subscriber, . Posted Apr 30, 2008 19:00 UTC (Wed) by jsevy (subscriber, #37869) [Link] Out of curiosity, what's the policy of the California State Penal System regarding his ability to get information on open-source development, communicate with the development community, and contribute to development efforts? Are computers permitted in penitentiaries? Other inmates have been published authors, journalists and artists - is it possible for Hans to continue to contribute to open-source development from "within the walls"? Posted Apr 30, 2008 19:56 UTC (Wed) by quozl (subscriber, #18798) [Link] Interesting question ... Signed-off-by: the prison. compile by mail Posted May 1, 2008 3:58 UTC (Thu) by man_ls (subscriber, #15091) [Link] Posted Apr 30, 2008 20:04 UTC (Wed) by graydon (subscriber, #5009) [Link] That said, his loss is unfortunate. ... The biggest loss, though, is elsewhere. I'm sorry to be blunt, but the salient loss has nothing to do with a filesystem or a developer community. It is that someone recently alive and well, with a long life ahead of her, is very likely now dead. (Not trying to imply a legal perspective either, nor provoke debate on said perspectives. None of us are murder lawyers, and even if we were this is not the place. But it is rude to ignore someone's passing and focus on peripheral trivialities.) Losses Posted Apr 30, 2008 20:37 UTC (Wed) by ncm (subscriber, #165) [Link] Yes, Jon, please change it to read "a greater loss". By my lights, though, the effect on the perception of Linux among the public completely overwhelms any effect on development of individual file systems or on the architecture of the virtual file system layer. We'll never know if she's dead, or, if she is, whether he killed her, but that's more nuance than the public can absorb; about all they can manage is "Linux :: murder!". The lesson to the rest of us is, "if you're known for contributing to Free Software, don't get yourself accused of, or framed for, murder." (That's good advice for everybody else, too.) I might add, "study how not to be universally reviled; it will improve your life elsewhere than in front of juries." Posted May 1, 2008 1:25 UTC (Thu) by csawtell (subscriber, #986) [Link] In the past I have learnt that if you find yourself in a room with an argumentative person, particularly somebody who has the potential to do you harm, do not engage in the argument. Just leave the room. Nina would probably still be with us if she had done that. If you find yourself in a situation where you could be accused of a crime and arrested:- Note: I Am Not A Lawyer, but this is, in essence, what I have been told by a friend who is one, and what I have learnt from the Reiser tragedy. Finally take note of the fact that Gerry and Kate McCann are sleeping at home in their own bed, whereas Hans Reiser is not. Posted May 1, 2008 7:24 UTC (Thu) by bpearlmutter (subscriber, #14693) [Link] Posted May 1, 2008 0:54 UTC (Thu) by evgeny (subscriber, #774) [Link] In the first paragraph one reads: "There has been a lot of speculation [...] on what the loss of Mr. Reiser will mean for the Linux community." So we're talking about "Linux community", not humanity or anything like that. And in this context the fate of Nina, taken separately, is largely irrelevant. Posted May 1, 2008 6:31 UTC (Thu) by corbet (editor, #1) [Link] Posted May 1, 2008 14:47 UTC (Thu) by KaiRo (subscriber, #1987) [Link] Jon, I think you didn't miss anything here. It's not the point of LWN.net to dig into private matters of people. The courts are hopefully doing a good job, and it's their job to make a murderer pay for his crime, even if that clearly can't restore that life that supposedly was lost. LWN readers know about the tragedy and can deal in their way with what that means for humanity - as a piece of special-interst media, I think it's important for LWN.net to keep focus on that interest, and you did a good job on shedding the light on those things, IMHO. General media probably fulfills the job to look at the general impact of this. And unfortunately, nothing tells us that high-profile open source developers cannot commit such bad crimes in their personal lives. Even if it' sometimes hard to believe, we're still humans, and as with all of humanity, there are some of us who might lose control and show the worst of all sides humans can show. Let's hope those cases will stay very few over the years. Posted May 1, 2008 21:46 UTC (Thu) by sbergman27 (subscriber, #10767) [Link] Not to seem insensitive... but there are 6.5 billion people on this planet and atrocities worse than this incident going on every minute of every day. It's unfortunate. And it's ugly. But I've always felt that singling one out and getting all reverent and respectful about it is a bit on the hypocritical side. And if we gave each one of them that attention (if it were even possible) we'd all be quite insane in short order. Best to have a healthy and constructive "life goes on" attitude, IMO, and to be honest about that. Posted May 2, 2008 0:21 UTC (Fri) by ekj (subscriber, #1524) [Link] I don't think you did. There's no point to repeatedly restate the blindlingly obvious: murdering people is bad. It is a loss when someone dies. If I write a text on the impact of nuclear powerstations on electricity-prices in Europe, do I *have* to include a paragraph or two on Hiroshima ? I don't think so. Posted May 1, 2008 6:03 UTC (Thu) by knobunc (subscriber, #4678) [Link] Any chance that this article can be made available to all sooner? I've sent the free link to a few people already to address some FUD, but I'd rather it be easily accessible so it can get google juice and try to stop some of the media stories... -ben Posted May 2, 2008 11:09 UTC (Fri) by drdabbles (subscriber, #48755) [Link] I've never been sure why people assumed that if Hans was found guilty, the development of reiser/reiser4 would cease. It's all GPL, which means anyone can pick it up and carry the torch. One of my distant hopes is that someone else grabs up reiser4 and works WITH the community to develop something really powerful. Then again, with all the new focus of the latest shiny filesystem, zfs, it's just as likely that reiser4 lays a smaller roll. Only time will tell, I suppose. Posted May 5, 2008 7:11 UTC (Mon) by Nelson (subscriber, #21712) [Link] A more interesting question is since the filesystem experts do have the source code, why aren't they diving in the ReiserFS4, why are they continuing to work on their own creations, Ext4, BTRFS, NILFS, etc? It doesn't look to me like there is this long line of people prepared to take it over, part of this is no doubt due to the relationship Hans created with the rest of Linux. Posted May 6, 2008 17:58 UTC (Tue) by drdabbles (subscriber, #48755) [Link] My comment was meant to say there is no reason development HAS to stop. People's will to continue development is a different matter entirely. Reiser4 attempts to solve different problems than other filesystems being actively developed. There is no doubt that Hans' relationship with the kernel development community caused a serious disconnect, but at the same time, most filesystem development is aimed at solving very real problems we experience today. Snapshots, better performance, higher capacities, etc. what other filesystem? Posted May 3, 2008 21:29 UTC (Sat) by astrophoenix (subscriber, #13528) [Link] I've been using reiser3 for years now on all my systems. I know it's still maintained, but seeing "Reiserfs is nearing the end of its run" being written makes me think I should switch to something else. but what? when I switched from ext3 to reseirfs I saw a decent performance increase on the types of files I deal with (lots of small files), so I don't really want to go back to that. any suggestions? Posted May 5, 2008 13:11 UTC (Mon) by cventers (subscriber, #31465) [Link] I was using reiserfs for the same reason until some little bit of corruption ballooned into kernel panics and random reboots. I switched back to ext3 and I've been happy since. ext3 hasn't stood still Posted May 6, 2008 10:49 UTC (Tue) by james (subscriber, #1325) [Link] So your earlier experience may no longer be accurate. James. Posted May 8, 2008 13:30 UTC (Thu) by zooko (subscriber, #2589) [Link] For some of my current use cases, the fact that reiserfs hasn't been improved in years is a good thing -- that means that relatively few bugs have been added to it in recent years. ;-) Regards, Zooko Posted May 8, 2008 13:31 UTC (Thu) by zooko (subscriber, #2589) [Link] Oh, following up to my own post because I thought I should link to the allmydata.org Tahoe Least-Authority Filesystem Bibliography page: where I just added links to four papers analyzing safety of several filesystems including reiserfs. Posted May 13, 2008 5:15 UTC (Tue) by zmi (subscriber, #4829) [Link] That was my first thought also. Being from Austria/Europe, I just hear now that Reiser murdered, and I do not have any more information about that and also don't really care too much. Seems like they believe she's dead but nobody found her. But that's another story. "Reiserfs is nearing the end of its run" is what strikes me. I've been using it for years, and had some very bad and nasty hardware issues that destroyed hard disk contents, but could get back most of the data on it. The biggest issue was once a broken RAID controller decided to rebuild a RAID with the wrong disk. He thought the new empty disk was good and one existing disk was the spare disk, and rebuilt RAID-5 checksums. Which, obviously, simply destroyed whatever useful was there. That way, the first ~20-30GB of the 500GB RAID contents were completely destroyed, including partition tables etc. With "reiserfck --rebuild-tree" I got most information back and that's why I stick to this filesystem. I know now how to get it back in case of problems, no matter how speedy other filesystems could be, that is the most interesting point for me. Speed doesn't matter anymore once your data is gone. Posted May 7, 2008 23:57 UTC (Wed) by citibob (guest, #34285) [Link] Very interesting article! I noticed a lot of parallels between Hans Reiser with Reiser4, and Bill Gates with WinFS. Windows Vista was supposed to ship with WinFS. And WinFS was supposed to be an all-encompassing namespace, the brainchild of the brilliant Bill Gates, and one of the cornerstones of Vista. But it slipped and slipped, and was eventually scrapped, at least for the time being, so Vista could ship. In the end, Vista shipped with the old NTFS --- like ext3, reliable but dull. Maybe the moral of the story is that no one has yet figured out how to build super-filesystems in a workable manner. Linux is a registered trademark of Linus Torvalds
http://lwn.net/Articles/280228/
crawl-002
refinedweb
2,637
69.01
Visual Studio 2010 randomly crashing - Monday, April 26, 2010 1:56 AM Hi, I'm using Visual Studio 2010 Ultimate RTM and I'm experiencing frequent and random crashes (on an avarage of once in 5-15 minutes) of the IDE after which it restarts and any unsaved progress is lost. This is really starting to be irritating. The event log has these entries: 1. Event 1023, .NET Runtime Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP 59ECF146 (59D50000) with exit code 80131506.------------------------------------------------------------------------------------------- 2. Event 1000, Application Error Faulting application name: devenv.exe, version: 10.0.30319.1, time stamp: 0x4ba1fab3Faulting module name: clr.dll, version: 4.0.30319.1, time stamp: 0x4ba1d9efException code: 0xc0000005Fault offset: 0x0017f146Faulting process id: 0x11f4Faulting application start time: 0x01cae4e1a4469abcFaulting application path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exeFaulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dllReport Id: ab11a505-50d5-11df-a1ae-001fd05d001c --------------------------------------------------------------------------------------------- 3. Event 1001, Windows Error ReportingFault bucket 1776371620, type 1Event Name: APPCRASHResponse: Not availableCab Id: 0 Problem signature:P1: devenv.exeP2: 10.0.30319.1P3: 4ba1fab3P4: clr.dllP5: 4.0.30319.1P6: 4ba1d9efP7: c0000005P8: 0017f146P9:P10: Attached files:C:\Users\********\AppData\Local\Temp\WER88E0.tmp.WERInternalMetadata.xml These files may be available here:C:\Users\*********\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_devenv.exe_7849e02bf799ffbbed9bb139a473cdbb26e1e480_2401cc07 Analysis symbol:Rechecking for solution: 0Report Id: ab11a505-50d5-11df-a1ae-001fd05d001cReport Status: 0-----------------------------------------------------------------------------------------------------4. Event 1023 .NET Runtime .NET Runtime version 2.0.50727.4927 - Fatal Execution Engine Error (79B21CF2) (0)----------------------------------------------------------------------------------------------------- I'm using Windows 7 64-bit, .NET Frameworks: 2.0, 3.0, 3.5sp1, 4.0 (all rtm).There is no error message, no more info in the event log about it. Attaching a debugger to it only informs about the Fatal Execution Engine Error. Could anybody from the Visual Studio Team take a look at this? - Moved by Brittany Behrens [MSFT] Tuesday, April 27, 2010 5:45 PM Crash scenarios are in the WPF & Silverlight designers (From:Visual Studio Editor) - All Replies - Tuesday, April 27, 2010 6:50 AM Hi Karim, I'm sorry to hear that VS2010 is crashing so often for you. The best course of action is to collect a crash dump and then file a Connect bug for each issue separately, which will route the problems you're seeing to the right team for investigation and fixing. Each bug you file will be read and responded to individually by a member of the Visual Studio team. Crashes can be caused by any number of features, areas, or teams within Visual Studio, and it's much easier to investigate, diagnose, and fix crashes when they're tracked by official bugs. Thanks for using Visual Studio and sending your feedback, Brittany Behrens | Program Manager | Visual Studio Platform - Editor | The Visual Studio Blog | @VSEditor on Twitter - Tuesday, April 27, 2010 9:51 AM I am facing same problem with VS2010 Release version (even same with RC version also). I did following. Open VS2010, create new project, Run it------------> Crash (but still in memory when u see at task manager) Reopen Add button to form Run--------> crash. Reopen VS Run ---------> Runs ok Add text box Run--------> Crash Reopen VS Run----------> Runs ok OS: Windows Server 2008 ( I shifted from Windows XP professional SP3 due to same crashing) language : VB.NET .NET : 4.0.30319 RTMRel Visual studio version :10.0.30319.1 RTMRel Actually we are developing application on WCF+silverlight. Here we are frustrated by crashing Visual Studio 2010 frequently.(Every editing task. more thatn 40 times a day) We are proposing to buy VS 2010 very soon but I am in fear about this crashes. This is really starting to be irritating. - Wednesday, April 28, 2010 1:31 AM @UserVS I am very sorry to hear that you are hitting crashing behavior working in Visual Studio 2010. You mention that you are working in Silverlight - is this Silverlight 4? If so, are you using the RC2 release of the Silverlight 4 Tools for Visual Studio 2010 RTM (see for info)? Please can I ask you capture a crash dump for the crashes you are seeing (there is a handy tool here to help you capture them: ) - this will help us immensely in isolating the root cause. Once you have a dump, please file a Connect bug - this will help us track the bug as Brittany indicated up-thread. You can send me mail at mwthomas at microsoft dot com with its ID; I will assist you in uploading the dump (the files can be quite large and cannot usually be attached to Connect bugs). It would also be helpful to understand: 1. Are you seeing this on several machines, or just one particular machine? 2. Are you seeing this for all projects or just a particular project (if a particular project, are you able to share it with us for repro purposes)? 3. Has this machine ever had pre-release versions of Visual Studio 2010 or the Silverlight 4 Tools for Visual Studio 2010 (other than RC2) installed? Thanks again, and once again my apologies for the difficulties you are encountering. Regards Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Thursday, April 29, 2010 1:08 AM Hi, I've submitted a bug report with an attached dump file (I've just started the upload, so it may take some time to upload 250 MB .rar file) here: - Thursday, April 29, 2010 9:28 PM Thanks a lot for supplying the crash dump and raising the bug. We will now work with you via the Bug for tracking purposes. Once again, sorry for the difficulties these crashes have caused you. Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Wednesday, May 05, 2010 8:02 PM I'm seeing crashes by just opening a new VS 2010 session and pressing the New Project toolbar button. The whole VS process goes down with a check for solution online/close/debug dialog box. If I open a new VS 2010 and open an existing solution, close it and then try New Project I get a "Exception of type 'System.OutOfMemoryException' was thrown" even though I have 2.9 GB of free memory. The only thing I've done recently is install the April Refresh of the Windows Phone 7 Dev Tools. The crash I see with New Project causes an AV at address 0x030b4b00. Here's the call stack: > 030b4b00() msenv.dll!CVsInternalTemplateTreeNode::GetTemplates() + 0x30 bytes 16de2270() Microsoft.VisualStudio.Dialogs.ni.dll!16ec7402() [Frames below may be incorrect and/or missing, no symbols loaded for Microsoft.VisualStudio.Dialogs.ni.dll] Microsoft.VisualStudio.Dialogs.ni.dll!16ec7022() Microsoft.VisualStudio.Dialogs.ni.dll!16ec59bc() Microsoft.VisualStudio.Dialogs.ni.dll!16ec4fc7() Microsoft.VisualStudio.Dialogs.ni.dll!16ec442a() Microsoft.VisualStudio.Dialogs.ni.dll!16f19b9a() clr.dll!_COMToCLRDispatchHelper@28() + 0x28 bytes clr.dll!BaseWrapper<Stub *,FunctionBase<Stub *,&DoNothing<Stub *>,&StubRelease<Stub>,2>,0,&CompareDefault<Stub *>,2>::~BaseWrapper<Stub *,FunctionBase<Stub *,&DoNothing<Stub *>,&StubRelease<Stub>,2>,0,&CompareDefault<Stub *>,2>() + 0x175b8b bytes clr.dll!COMToCLRWorkerBody() + 0x80 bytes clr.dll!COMToCLRWorkerDebuggerWrapper() + 0x34 bytes clr.dll!_COMToCLRWorker@8() + 0x12b bytes 0022a1e2() msenv.dll!InvokeNewProjectDlg() + 0x1ea bytes msenv.dll!HandleNewProjectCommand() + 0x131e bytes msenv.dll!HrShellExec() - 0x181fc4 bytes msenv.dll!CVSCommandTarget::ExecCmd() - 0x530 bytes msenv.dll!`anonymous namespace'::ExecForController() + 0x61 bytes msenv.dll!CSurfaceCommandingSupport::ExecuteForController() + 0x40 bytes msenv.dll!CExecuteVisitor::VisitButtonController() + 0x1b9 bytes msenv.dll!CControllerVisitorBase::DispatchVisit() + 0x3bf bytes msenv.dll!CControllerVisitorBase::VisitController() + 0x22 bytes msenv.dll!CSurfaceCommandingSupport::Execute() + 0x3c bytes msenv.dll!CommandUI::Models::Impl::CExecutableCommandElementDataSource::Execute() + 0x62 bytes msenv.dll!GenericRedispatch<CommandUI::Models::Impl::IExecuteVerbDispatch>() + 0x66 bytes msenv.dll!CommandUI::Models::Impl::CExecutableCommandElementDataSource::ExecuteVerbHandler() + 0x13 bytes msenv.dll!Gel::CDataSource::Invoke() + 0x31 bytes Microsoft.VisualStudio.Shell.10.0.ni.dll!60ea32f7() Microsoft.VisualStudio.Shell.10.0.ni.dll!60ea32f7() Microsoft.VisualStudio.Shell.10.0.ni.dll!60e8a179() Microsoft.VisualStudio.Shell.10.0.ni.dll!60e8a179() Microsoft.VisualStudio.Shell.UI.Internal.ni.dll!5fab119d() PresentationFramework.ni.dll!570ec08f() PresentationFramework.ni.dll!572a9050() PresentationFramework.ni.dll!57217b31() Microsoft.VisualStudio.Shell.UI.Internal.ni.dll!5fab0943() PresentationFramework.ni.dll!572a8ce9() PresentationCore.ni.dll!559e6731() PresentationCore.ni.dll!55ac43c1() PresentationCore.ni.dll!555e7e46() PresentationCore.ni.dll!555e7dc0() PresentationCore.ni.dll!555e7ade() PresentationCore.ni.dll!559e2b88() PresentationCore.ni.dll!559e44f7() PresentationCore.ni.dll!55ac43c1() PresentationCore.ni.dll!555e7e46() PresentationCore.ni.dll!555e7dc0() PresentationCore.ni.dll!555e7ade() PresentationCore.ni.dll!555d8b1d() PresentationCore.ni.dll!555d6855() PresentationCore.ni.dll!555d6802() PresentationCore.ni.dll!555f2f9b() PresentationCore.ni.dll!555f2c85() PresentationCore.ni.dll!555f2be6() PresentationCore.ni.dll!556400fb() PresentationCore.ni.dll!55640094() Microsoft.VisualStudio.Platform.WindowManagement.ni.dll!6e43be37() msenv.dll!SCM_MsoCompMgr::FPushMessageLoop() + 0x2a bytes msenv.dll!CMsoComponent::PushMsgLoop() + 0x28 bytes msenv.dll!VStudioMainLogged() + 0x22a bytes msenv.dll!_VStudioMain() + 0x78 bytes devenv.exe!util_CallVsMain() + 0xdb bytes devenv.exe!CDevEnvAppId::Run() + 0x693 bytes devenv.exe!_WinMain@16() + 0x88 bytes devenv.exe!operator new[]() + 0xa59d bytes kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes ntdll.dll!___RtlUserThreadStart@8() + 0x27 bytes ntdll.dll!__RtlUserThreadStart@8() + 0x1b bytes Unhandled exception at 0x030b4b00 in devenv.exe: 0xC0000005: Access violation. - Wednesday, May 05, 2010 9:51 PMI uninstalled the Expression Blend 4 SDK RC for Silverlight and now I don't see this crash anymore. - Wednesday, May 05, 2010 10:17 PM Thanks for the information Keith, glad to hear you are now working again. We'll take a look into this issue and see if we can reproduce locally. In the meantime if you hit further issues, please do not hesitate to get in touch. Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Thursday, May 06, 2010 4:30 PM Keith: when you were encountering the crashes, before you removed the Blend 4 SDK RC for SL, did you get the "Watson" dialog (this program had stopped working, would you like to send data to Microsoft)? If so, it is likely that a crash dump was sent to Microsoft and we'd like to find that dump and examine it. We can find the dump based on what is called a Bucket ID, which will be found in the event log around the time the crash occurred. Please could you take a look and let me know? It would be very helpful to have this information in our investigations. Thanks again, Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Thursday, May 06, 2010 5:40 PM I never got the dialog that asks to send an error report. I only got the task dialog with the three options: check for solution online and restart, close and debug. I checked my event log and here is what got logged for one of the crashses: Faulting application name: devenv.exe, version: 10.0.30319.1, time stamp: 0x4ba1fab3 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x68c7f400 Faulting process id: 0x1218 Faulting application start time: 0x01caec946ed034ce Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe Faulting module path: unknown Report Id: b2bc55a8-5887-11df-9a27-001e0badc1be - Thursday, May 06, 2010 6:40 PM Thanks for getting back to us Keith. According to my colleagues, there should be another entry next to the one you read, that should have the bucket id in it. If you could have a poke around the adjacent entries and see if any of them mention a bucket ID, that would be very helpful. Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Thursday, May 06, 2010 8:08 PM Here ya go: Fault bucket 1081661473, type 5 Event Name: BEX Response: Not available Cab Id: 0 Problem signature: P1: devenv.exe P2: 10.0.30319.1 P3: 4ba1fab3 P4: unknown P5: 0.0.0.0 P6: 00000000 P7: 68c7f400 P8: c0000005 P9: 00000008 P10: Attached files: C:\Users\hillr\AppData\Local\Microsoft\VSCommon\10.0\SQM\sqmdata.cvr C:\Users\hillr\AppData\Local\Temp\WER32B3.tmp.WERInternalMetadata.xml These files may be available here: C:\Users\hillr\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_devenv.exe_908d362e3bc6e52d44a6ef61c8debd59d90d4da_16603de9 Analysis symbol: Rechecking for solution: 0 Report Id: 92cfce63-5887-11df-9a27-001e0badc1be Report Status: 0 FYI, one other item is that I did uninstall Enterprise Library 5.0 RTM first but that didn't seem to fix the crash issue. The next thing I did was uninstall the Blend 4 SDK RC for Silverlight as I mentioned before and after that, VS 2010 no longer crashes when select New Project. - Thursday, May 13, 2010 5:10 PMUninstall Expression Blend 4 if you have it installed. I just uninstalled Expression Blend 4 and VS 2010 stopped crashing on startup. - Thursday, May 13, 2010 5:50 PMI think it is sufficient to just uninstall the one component of Blend 4 i.e. the Blend 4 SDK RC for Silverlight. - Monday, July 19, 2010 8:02 PM I am also having this problem. VS2010 crashes, usually when I'm not even using VS. Sometimes, even when I'm away from my PC. This is all I get in the even log: Faulting application devenv.exe, version 10.0.30319.1, faulting module msenv.dll, version 10.0.30319.1, fault address 0x000fa276. - Friday, July 23, 2010 4:44 PMAlso crashing repeatedly when opening a .Net website solution. Loads the first aspx, ...hangs, then crashes. Dr. Watson comes up. Faulting application devenv.exe, version 10.0.30319.1, stamp 4ba1fab3, faulting module fpeditax.dll, version 10.0.30319.1, stamp 4ba20479, debug? 0, fault address 0x00039870. Bucket 1810396678, bucket table 1, faulting application devenv.exe, version 10.0.30319.1, stamp 4ba1fab3, faulting module fpeditax.dll, version 10.0.30319.1, stamp 4ba20479, debug? 0, fault address 0x00039870. and here is the one just previous to that crash. Bucket 1055605948, bucket table 5,. I am running 2010 Ultimate RTM I do not have Expression Blend isntalled of any kind. I do see Silverlight, Silverlight 2 SDK, and Silverlight 3 SDK installed. I dont program for Silverlight currently. Will removing those fix this from what you know so far? - Friday, July 23, 2010 6:39 PM @russweb Sorry to hear about the difficulties you're encountering. Since you are having this problem with a simple .NET Website solution with no Silverlight or WPF involved, this is almost certainly not the same problem. I recommend that you raise the issue on one of the ASP.NET specific forums over at, or better still (since you have specific details) that you raise a bug on Connect, with the details you have supplied above. This will get the issue attention from the correct people (this forum is specific to issues on the WPF & Silverlight designer), and will let you track the issue to resolution. Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Monday, July 26, 2010 1:31 PM @Mark Wilson-Thomas: I have been having lots of crashing issues with VS.NET 2010 on my Windows 7 development machine. It seems to always occur when using Blend 4 with VS.NET. The latest instance of VS.NET (say I have 3 open instances) is always the culprit of crashing. I followed a bunch of your links and downloaded the 'Performance Diagnostic' tool to create a dump. I followed the directions and as expected the .dmp file is huge (>800mb). I checked the 'Connect' site link offered earlier in this thread, but it was resolved because the person had a 3rd party plugin causing the issue, so I opened a new issue on the connect site here: Please contact me if you want the .dmp file or have any questions, thanks! - Monday, July 26, 2010 4:05 PM @atconway Thanks for taking the time to capture a dump and raise a Connect bug. We will make sure the bug is routed to the appropriate team for action. Since dump files are generally too large to attach to Connect bugs, please make sure you highlight that you have one available in the Connect bug, and the support staff will help by making a private drop location for you so you can upload the dump. Thanks Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Wednesday, July 28, 2010 7:32 PMYes I was able to upload it to Microsoft directly, and created a couple of more in case they have any issues with the one I provided. Thanks for following up on this. - Tuesday, August 03, 2010 11:50 PM I'm also getting a crash, but it seems to only happen when the pc comes out of showing a screensaver, e.g. when the display is being redrawn Oddly enough, 3 times this has happened Java had crashed whilst the screensaver was being shown, which caused the display to be redrawn, which crashed VS2010. EventType: clr20r3, P1 devenv.exe, P2 10.0.30319.1, P3 4baifab3, P4 NIL, P5 NIL, P6 NIL, P7 NIL, P8 NIL, P9 NIL, P10 NIL Note, i'll add a bucket id when it next happens - Friday, August 06, 2010 2:18 PM I work in a dev team with 8 members and we are all experiencing the same issue. VS2010 Professional crashes when we close it - EVERY TIME without fail. We have no crashes when using it which is nice - but the crash on close does have us worried. We are Win XP sp3 - Team System 2010 - Expression Suite not installed. SQL 2008 (not R2). At home I have two machines - one Win 7 Home Premium and one Win 7 Ultimate. Both have VS2010 Ultimate - SQL 2008 R2 64-bit Developer edition - Espression Suite 4. No source contriol (I know). NO CRAHSES. At my previous job we were XP sp3 - VS2008 - Oracle 10g and SQL 2005 - VSS and we crashed a lot on closiing but not every time like now. I wonder if source control products could be part of the problem ?? - Friday, August 06, 2010 4:35 PM To all who are seeing crashes when using the WPF & Silverlight Designer: I am very sorry about the difficulties you are seeing. The best way to pursue and get resolution on crashing issues is to capture a crash dump and submit a Connect bug with the dump - this will then be investigated and a root cause should be able to be firmly established. Adding details of what you were doing when the crash happened, any bucket IDs from the event log and error messages preceding the issue, and a repro project if the issue doesn't repro on simple projects, will all help, but a crash dump alone is often sufficient. Instructions on how to do this can be found here: (see item 2, which contains a link to a crash dump capture tool). Once again, my apologies for the issues being seen, Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' - Friday, October 22, 2010 6:02 PMI get constant crashes as well, it really pisses me off, frankly. - Monday, October 25, 2010 8:22 PM Was this resolved? I tried to uninstall the Expression Blend 4 sdk.. still the same? Any information of how to avoid the crash soon after the XAML designer is opened? Thanks - Tuesday, November 16, 2010 7:50 PM I've got this and I'm as ticked off as everybody else on this thread! What a pain! How do I uninstall the Expression Blend 4 SDK? I tried Add/Remove programs but I don't find it there. Thanks, Charles - Monday, November 22, 2010 4:31 PM @Keith Hill: > I uninstalled the Expression Blend 4 SDK RC for Silverlight How did you do that? Charles - Monday, November 22, 2010 4:36 - Wednesday, November 24, 2010 4:56 I entirely agree with you. I stumbled upon this problem a few months ago when I tried VS.NET2010 RC, and as I wasn't even able to go in my main project's settings, I decided to wait a few months before to update to VS2010. Now I want to use some features from VS2010 for that project, and I simply can't, because VS2010 crash EVERY single time I try to open my project settings... And I have to go in the settings to be able to run the project at all... Anyway, I find it pretty saddening that we still don't have any fix or answer from MS staff about this issue except: "We need dump files, yay!", even months after so many people started complaining, as this issue is FAR from being a rare one, nor is it hard to reproduce... François Boivin - Wednesday, November 24, 2010 6:35 PM I have submitted Dump files (.dmp) 2x for crashes of VS2010 via Microsoft Connect and had 1 issue resolved as an issue with a DevX extension, and the other one was a true issue that they said was going to be fixed in the next release. So they do respond, but you have to use the proper channels. Have all of you complaining of issues filled out formal Microsoft Connect () bugs? If yes, post the link of the bug so it can be upvoted if needed to get more visibility. - Friday, November 26, 2010 5:14 PM Okay. Done: Hard to believe that one more dump is going to make a difference. About one time in ten (say, twice a day) I click the Submit Feedback to MSFT button on the crash pop-up. What becomes of those? Can the inability to fix a problem that happens hundreds of times to dozens of people really be that I have not submitted one more dump? I am a pro-MSFT guy. I am the guy who defends MSFT a a party when someone starts bashing MSFT. But I am starting to get REALLY cranky about this issue ... Charles - Monday, November 29, 2010 11:28 PM Connect sent me instructions. Took 10 minutes to hit a crash, something about a buffer overrun. I'm uploading the dump right now. Charles - Thursday, December 02, 2010 9:59 AM Hi all. Any news on this? As additional information I can say that I had worked fine with VS2010 till I installed SQL Serve 2008 SP2 (KB2447568) one week ago. After that, VS2010 has started crashing randomly. Now I'm unistalling that guy and see what happen... Cheers Antonio - Thursday, December 02, 2010 3:18 PM Last news I know of is I submitted a mini-dump of "the" problem to Connect on Monday. I am not optimistic because talking about "the" problem is like talking about "the" star in the sky. VS 2010 for me crashes so often and so many different ways (according to the Windows event log). I just don't understand why MSFT is treating this like one or two individual problems when clearly dozens or hundreds or perhaps more people have lots of problems. I don't think this calls for the analysis of a mini-dump; this calls for a major upgrade to the product. Whatever happens to all of those "would you like to report this problem to Microsoft?" transmissions? If they are useful for solving a problem why haven't they solved it? If they are not useful why is the dialog there? Just to make us feel like something is being done? Some of my "crashes" are actually this vanishing act in which VS 2010 is running fine one moment and then just silently disappears -- no "we're sorry" pop-up; it's just gone. I wonder how they intend to get a mini-dump for that one? Ah well. I am trying to be optimistic. I am waiting for Connect to get back to me and I will take it from there. If it still crashes I will report that crash. What a stupendously annoying waste of productivity! Charles - Thursday, December 02, 2010 5:49 PM @Charles: I don't work on the WPF Designer and don't know the status of the individual issues on this thread, but I can comment on what happens when you send a report to Microsoft. Each time you click that button, VS sends logs and crash data to the VS team (with personally identifiable information removed, of course). This data goes through an automated system that tries to aggregate your report with other reports of the same crash, which helps us know how many times a given problem in happening (which helps address your concern about MSFT treating this like a few individual problems instead of approaching instability more systematically). In all cases a bug is filed directly in our bug database and usually assigned to a developer for investigation. We look at every crash that comes in, and we try to work on fixing crashes with the highest number of hits first. Although you can't check on the status of your issue, as you can for Connect bugs, these reports are by far the most effective way to get your crash on our radar, investigated, and often fixed. It sounds like nearly everyone on this thread is doing the best things you can do when VS crashes: opt to send the automated report to Microsoft and, if you can reproduce the crash, file a Connect bug with a crash dump. The difficulty with forum threads like this is what Charles alluded to - 'random crashes' for N different people are very, very unlikely to all have the same root cause, and they're nearly impossible for us to investigate without repro steps or a crash dump/call stack. We really do appreciate the time and effort you all spend reporting issues to Microsoft, and we really do look at these issues and take them seriously. Hopefully any future service packs for VS 2010, which are likely to include fixes for a large number of crashes, will help improve reliability and reduce the crashiness you're seeing. Brittany Behrens | Program Manager | Visual Studio Platform - Editor | The Visual Studio Blog | @VSEditor on Twitter - Thursday, December 02, 2010 6:12 PM Brittany, thank you, I appreciate your efforts and I'm trying not to be negative but this thread goes back to APRIL!!! When would it be reasonable to expect some general relief such as a service pack? What would you be thinking if some tool you used for a critical part of your job crashed again and again and again, sometimes ten or twenty times in a day? I am getting angrier and more frustrated with each passing day. Charles - Proposed As Answer by Todd Lucas Thursday, December 02, 2010 8:34 PM - - Thursday, December 02, 2010 8:51 PM When this happened to me recently, I ran under the debugger (VS2010) and found the exception at address 0x68c7f400. Googling yielded this link: I'll include the post from Eddie Frederick: 1.) Launch devenv.exe /Log C:\output.txt from a command prompt running as Administrator. This allows VS2010 to launch in Log mode and will log Information, Warning and Error entries to this text file. 2.) I noticed in the Log file there were several entries with "Duplicate Project Template Found". 3.) Renamed the "ProjectTemplateCache" folder under C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common 7\IDE to something else and created a new empty "ProjectTemplateCache" directory. (* I probably could have just deleted the contents of ProjectTemplateCache and been fine). 4.) Ran devenv.exe /installvstemplates This fixed the problem. This as all after install the April CTP Phone Tools. I had a different set of problems installing the beta tools that required (at least I couldn't find a different workaround) a complete uninstall of all Silverlight related runtimes/tools and Visual Studio 2010. Reinstalled VS2010, then all of the silverlight tools/runtimes and then the Beta tools and everything worked as expected. I followed these steps (from an elevated command prompt) and it seems to have fixed the problem. I had the Windows Phone 7 beta, then uninstalled and put the RTW bits on. The problem occurred at some point after that. I have Expression 3 installed but the Expression 4 WP7 only build is still installed. Microsoft Expression Blend 4, 4.0.20901.0 Microsoft Expression Blend SDK for Windows Phone 7, 2.0.20901.0 Windows Phone 7 Add-in for Visual Studio 2010 - ENU, 10.0.30319 I hope this helps some others. Thanks Eddie! - Proposed As Answer by buttroast98 Tuesday, November 29, 2011 6:24 PM - - Thursday, December 02, 2010 9:21 PMI have no add-ons whatsoever. I don't think Windows Phone 7 is any part of my problem (because I don't have it). In any event not sure why you proposed my rant as the answer ... Charles - Friday, December 03, 2010 1:56 PM I can confirm that so far (1 and 1/2 day intensive coding), after Sql Server 2008 sp2 uninstallation, the problem has gone. Antonio - Sunday, December 05, 2010 1:28 AMI don't have any SQL Server 2008 but there was some SQLEXPRESS in the service list. I had no idea what could be using it so I stopped it and changed it to manual start to see if anything complained. So far nothing has. VS was perfect all afternoon Friday, and then it crashed twice in a little over an hour today. I am an experienced debugger and there is just no pattern whatsoever that I can pick up, other than that "lots" of open documents seems to make the problem more frequent. Charles - Thursday, December 16, 2010 10:05 PMI opened a Connect problem as described above. I uploaded a dump almost a month ago. So far I have heard NOTHING back. I am frankly disgusted. Charles - Monday, January 17, 2011 3:55 PM I opened a Connect problem as described above. I uploaded a dump almost a month ago. So far I have heard NOTHING back. I am frankly disgusted. Charles Same... I commented in this thread 2 months ago, sent a dump too. And now today, I was developing using Visual Studio 2010, and for around the 100th time this month, VS2010 crashed with this same error code, sending me in a huge curse words maelstrom as I hadn't saved for a few minutes. Starting over what I just did. AGAIN. This ritual being repeated a LOT too often for my tastes... I can't count how many hours this random crash made me waste over the last year. At least 2hours only last week wouldn't even be exaggerated... So I think I'd prefer not to know how many hours over the last year. So, I'd love to know : When will I be able to use my main working tool normally, WITHOUT the fear of losing everything I've done, over and over? I couldn't put it in a better way than tsrCharles did. I am frankly disgusted. François Boivin - Monday, January 17, 2011 9:39 PM It is kind of pathetic. It is shareware level support (post your issue on a forum and hope for the best) for a product that is definitely not priced like shareware. I *just* (after a month !!!) heard back from the connect folks. "Did we Say a mini-dump? We meant a full dump." FOR WHICH OF ABOUT 100 DIFFERENT CRASH SCENARIOS??? I have just gotten into this "type a little -- hit save" habit. That, plus keeping a minimum number of documents open at once seems to help. Also, if you have not already done so, set your auto-save interval down to one minute so VS remembers to save even if you forget. I think I saw something somewhere that said there was a beta (?) of an SP1 for VS2010 available. (Never heard of a beta for an SP but maybe I'm not very up-to-date on these things.) I think I will give it a try. How much worse could it be? Also a new machine is on my agenda; maybe I'll have better luck with VS under 7 than under XP. Charles - Tuesday, January 18, 2011 2:17 PM Also a new machine is on my agenda; maybe I'll have better luck with VS under 7 than under XP. Charles I wish you good luck. What I can tell you, is that the issue isn't better on a Vista machine. For now, yesterday I personally transitionned back to VS2008, picked an old version of my project, transfered every new function I had coded while using VS2010, and now it's working like a charm. I'm sure not everyone can go back to a previous version of VS like that, but I feel lucky that I could. For now I'll keep using VS2008, AND SUGGEST EVERYONE I KNOW NOT TO BUY VS2010 UNTIL THIS IS FIXED. And now also, I feel dumb asking my boss that we get VS2010 to improve our productivity and our development, when it did the exact opposite, until I roll back to VS2008... François Boivin - Saturday, January 22, 2011 12:17 AM <sarcasm> Obviously my problem is all solved because Connect has closed my problem: The following feedback item you submitted at Microsoft Connect has been updated: Product/Technology - Visual Studio and .NET Framework Feedback ID – 624958 Feedback Title – Crashes, crashes, and more crashes. The following fields or values changed: Field "Status" changed from "Active" to "Resolved". Field "Resolution" changed from "Not Set" to "Not Reproducible". </sarcasm> Charles - Saturday, January 22, 2011 12:24 AM Here is the link for the SP1 Beta: Sounds like what MSFT is doing is adding features, not fixing the crashes: "Service Pack 1 (SP1) continues that momentum of focusing on improving the developer experience by addressing some of the most requested features like better help support, IntelliTrace support for 64bit and SharePoint, and including Silverlight 4 Tools in the box." Charles - Wednesday, January 26, 2011 9:55 PM Again I would like to apologize for the problems everyone has been having, in addition to the lack of responses on this thread. I would like to dive into the root of these problems and get VS back up and running without crashing for each of you. As Brittany mentioned earlier, it is very unlikely that all random crashes N people are having are due to the same root cause. To start diagnosing this problem, it would be very helpful to first categorize it. For anyone that is having crashes when using the WPF & Silverlight designer, please log a connect bug with a callstack and crash dump. Once logged, please feel free to post the ID on this thread. If you already have logged a bug and it has not been responded to, I apologize. We do very much appreciate connect bugs and we look into every connect bug that gets logged. Please post the connect IDs and I will look into them. You can email me at: Jeffrey.Ferman <at> microsoft <dot> com. Also please try the Sp1 Beta and give us some feedback. @tsrCharles: We on the WPF & Silverlight Designer team did fix crashing issues in the SP. While features were included in the release, it was not only focused on features - many fixes for performance and reliability were included. Jeff Ferman | Program Manager | WPF & Silverlight Designer | Jeffrey.Ferman <at> microsoft <dot> com - Wednesday, January 26, 2011 11:42 PM Jeffrey, thanks for your interest. As I said, I was really beginning to doubt that anyone at MSFT cared. I am pretty disappointed with the Connect process. I submitted a Connect and gave them what they asked for. Two months(!) later they came back and asked for a full dump rather than a mini-dump, and then closed the problem as "not reproducible." I agree, I am having more than one kind of crash. To begin with, I have THREE major types of symptoms: - VS generates a "sorry" box and goes away - VS generates a "sorry" box but continues running as though nothing had happened. - VS does this mysterious vanishing act. It just goes poof! and it's not there anymore. I listed a whole bunch of radically different crash sumptoms in my Saturday, November 06, 2010 11:58 PM post on In addition, I have at least two OTHER unresolved VS problems: and one I have just noticed where one document is open and has the apparent "focus" but keystrokes go into a different tab. Very annoying because you start typing and you end up messing up some file you did not intend to alter. It's also pretty slow. As I wrote in the last thread above, I have simply come to the conclusion that VS 2010 is not ready for prime time and perhaps never will be. It may just be one of those "best skipped" MSFT products like Windows 3.0. Yes, I will give SP1 a chance when it goes non-beta. If it is not a significant improvement then I will write VS 2010 off as a bad learning experience and painfully port everything back to VS 2008. Charles - Thursday, January 27, 2011 8:43 PM Charles, I apologize on how that particular Connect issue was handled. I cannot speak for every team across Visual Studio, however if you have a full dump, I am more than happy to re-open the issue and direct it back to the correct team. I have taken a look at your other post as well to look at the types of crashes you are seeing. To solve any of these problems, we really need to grab a bucket ID, call stack, and/or crash dump. If you can grab any of these by using a tool such as this handy one:, it would greatly help. I know you have heard this often. Please send me mail once you get these dumps and then we can start diagnose these issues. Please log other issues as well. Do you have a set of repro steps for the focus issue? If you do, I would be happy to pass it on to the correct team to look into (if you have a connect ID - I will pass that along as well). Please feel free to email me in regard to this as well. I am also pretty interested in your comment on VS 2010 being pretty slow. Are there specific actions that are slow? As a member of the WPF & Silverlight Designer team I would like to work directly with you to diagnose any crashing issues, performance issues, or feature bugs that you are finding while working with XAML based projects. For all other issues, I would like to understand the issues and pass you on to the proper team who should be able to help diagnose and fix these problems. Jeff Ferman | Program Manager | WPF & Silverlight Designer | Jeffrey.Ferman <at> microsoft <dot> com - Wednesday, February 16, 2011 1:34 PMHi, Even I am getting frustrated with this issue and no response by Microsoft. I had never imagined such an unstable version by Microsoft and that too 'Professional'...... My post could be viewed @ - Monday, March 07, 2011 2:41 PM I know this is late, but I had the same problem and it took some time to find a solution. Hopefully this will help someone else. This worked for me: Delete/Rename the SUO file. - Monday, April 04, 2011 10:46 PMI am getting this same crash problem when I try to add a dataset from an Access database. I was able to catch VS 2010 before it crashed and had it try a debug. It found an issue with Wldap32.dll!75961777(). Does this mean anything to you Microsoft techs? - Friday, April 08, 2011 4:40 PM greeting. I don't know if this can help but to these guys who get err code "clr20r3", I can say, your problem can be solved right here, right now. the full info you get from this crush should be like this: event name: CLR20r3 sign 01: devenv.exe sign 02: 10.0.30319.1 sign 03: 4ba1fab3 sign 04: Microsoft.VisualStudio.Text.Data sign 05: 10.0.0.0 sign 06: 4ba1d707 sign 07: 1f6 sign 08: e sign 09: System.ArgumentOutOfRange OS ver: 6.1.7600.2.0.0.256.1 section ID: 2052 other info: LCID: 1033 and I try these steps to solve this nightmare: run devenv.exe /safemode run devenv.exe /resetuserdata disable service: Windows Font Cache (run services.msc) delete font: Deja Vu Sans Mono (in controlpanel\font) run: cmd sfc /scannow run: office diagnose reinstall: .NET framework uninstall: Silver Light reinstall: VS2010 but all these issue can't not help even a little. and just a minute before I want to give up and then go back to VS2008, I find this: 1.48GB service pack for our VS2010. althought I still wonder why Microsoft still keep the older VS2010 download link there with no indicator tell us there is a sp1 exist, but after I patch it up, it works! ------------------ frtheva - Tuesday, November 29, 2011 6:24 PM Thank you - running in log mode made it very clear that my recent client access for windows IBM upgrade actually broke my machine.config by adding an entry with no closing tag: Log file: <entry> <record>102</record> <time>2011/11/29 18:10:14.123</time> <type>Error</type> <source>Extension Manager</source> <description>Error loading extension: The extension manifest is invalid. There is an error in XML document (0, 0). The type initializer for 'System.Xml.Serialization.XmlSerializationReader' threw an exception. Configuration system failed to initialize The 'DbProviderFactories' start tag on line 154 position 4 does not match the end tag of 'system.data'. Line 156, position 4. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config line 156) The 'DbProviderFactories' start tag on line 154 position 4 does not match the end tag of 'system.data'. Line 156, position 4. </description> <path>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\Architecture Tools\Components\extension.vsixmanifest</path> </entry> Actual bad lines of machine.config (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config): <system.data> <DbProviderFactories> <add name="IBM DB2 for i .NET Provider" invariant="IBM.Data.DB2.iSeries" description=".NET Framework Data Provider for IBM i" type="IBM.Data.DB2.iSeries.iDB2Factory, IBM.Data.DB2.iSeries, Version=12.0.0.0, Culture=neutral, PublicKeyToken=9cdb2ebfb1f93a26" /> </system.data> I am on Windows 7 64-bit and have MS Visual Studio 2010 Ultimate, and was installing the IBM i Access for Windows Version 7 Release 1 upgrade ,and the patch SI44594_64a.exe. Not sure which one actually wrote to the machine.config. Hope this helps someone. Jeremy - Saturday, May 05, 2012 5:44. - Wednesday, June 27, 2012 6:29 PMIf it makes you happy to mark this as answer then be my guest, but it in no way solves the problem. Charles - Wednesday, August 15, 2012 2:43. 我也是.net狂热一族 - Wednesday, October 03, 2012 6:28 AMI experienced a situation where VS crashed more and more often, totally randomly. Finally it crashed all the times when I opened the project. I found out that I opened more and more files. The solution was to delete the .sou file for the solution. - Wednesday, October 24, 2012 6:17 AM I am experiencing a lot of crashes when developing MVC and WPF, should have something to do with mscorlib and the rendering. I am trying this to resolve, not sure if this works. it tells us to ngen /delete frameworkpackage don't know while we even have to go through this kind of trouble. - Tuesday, October 30, 2012 5:44 PM I'm so frustrated by the number of random appcrashes I'm receiving. The only thing I can add to the conversation is they seem to be created more frequently when the focus is changed from the debug session to some other window. I had a cluster of failures this morning that seemed to have been triggered by Alt-Tab actions, or me clicking a window in my 2nd monitor. I do seem to have more issues when I'm actively using my 2nd screen. Where's the hotfix for this issue ?
http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/2cfaf28f-80af-49ee-8408-07b4a8e0e964
CC-MAIN-2013-20
refinedweb
7,452
64.71
#include <MeteorMgr.hpp> Inherits StelModule. Initialize the MeteorMgr object. Implements StelModule. Draw meteors. Reimplemented from StelModule. Update time-dependent parts of the module. This function adds new meteors to the list of currently visiable ones based on the current rate, and removes those which have run their course. Implements StelModule. Defines the order in which the various modules are drawn. Reimplemented from StelModule. Get the current zenith hourly rate. Set the zenith hourly rate. Set flag used to turn on and off meteor rendering. Get value of flag used to turn on and off meteor rendering. Set the maximum velocity in km/s.
http://www.stellarium.org/doc/0.10.4/classMeteorMgr.html
CC-MAIN-2016-36
refinedweb
103
63.05
Learning random numbers. I recommend it, although I need to set it aside and spend some time learning Python for work. I did code in college some, but I couldn’t really tell you much of what I built. I remember some sorting algorithms, SQL queries, and being incensed at trying to draw a calculator in Java. I don’t think I ever saved anything I made, nor making anything worth saving. My real introduction to coding was when I moved from desktop support to be a Windows Server admin. Powershell was an easy language to learn and has been my go-to language for the last five years. The last two have been focused on PowerCLI. Which is just VMware's extensive module for automation using Powershell. A friend and I have done some intro courses for people at work, and I always say that the benefit to Powershell is that if you’re ever stuck you can Google your way out of it. If you wanted to do it, so has someone else. I have made some pretty complex stuff, and I’ve made some pretty stupid mistakes. One in particular when trying to do some clever RegEx that failed spectacularly. I’m no expert, but I feel that I am at least a competent coder. I owe most of that to Powershell, and some patient colleagues and bosses. I'm no expert, but I at least feel confident that I can make almost anything in Powershell if you asked me. Microsoft has done quite a bit of work to make the language available on many different platforms. However, the embrace of Open Source tools at work has meant that newer automation tools require Python. VMware has support for automation in Python, so I can start using it do the same kinds of tasks I am already building in PowerCLI. I'll likely return to Swift at some point when I'm comfortably working in Python every day at work. I have been playing around with different ways to learn Python. I used Code Academy, just to get a grasp on the syntax. But I started trying to use the language as soon as I could. The first thing I build was a script to import a list of IPs, and then ping them and check if they have DNS entries. It was a bit of a slog. In Powershell, this is a five or ten line script, but in Python, this was around thirty lines. Still easily manageable, mind you, but a bit of a culture shock. I haven’t really done much in the intervening months as I got busy building out patching automation in Power-CLI. But here is that first Python script: import csv import socket import os import sys def returnListOfDNSNames( ): ipArray = [] dnsCheck = [] pingCheck = [] finalArray = ['IP Address', 'DNS Address','Ping Result'] ipFile = 'filepath/IPList.csv' checkedFile = 'filepath/CheckedIPs.csv' reader = csv.reader(open(ipFile, 'rU'), dialect='excel') for row in reader: ipArray.append(row[0]) for ipAddy in ipArray: try: dnsCheck.append(socket.gethostbyaddr(str(ipAddy))) except: dnsCheck.append("Not Found") for ipAddy in ipArray: response = os.system("ping -c 1 -i 0.5 "+ipAddy) if response == 0: pingCheck.append("Up") else: pingCheck.append("Down") i = 0 for ipAddy in ipArray: thisentry = ([ipArray[i], dnsCheck[i], pingCheck[i]]) finalArray.append(thisentry) i+=1 with open(checkedFile, 'w') as fout: writer = csv.writer(fout) writer.writerows(finalArray) returnListOfDNSNames() I picked it back up in earnest a few weeks ago. Doing a quick refresher on syntax, I decided I would just build a little tip calculator in Pythonista on the iPad. It isn’t even close to fancy, but it does work. It even checks to make sure the input is a number. totalAmount = raw_input('What is the check Total?') try: checkAmount = float(totalAmount) except: print("As a number, please.") raise fifteenPercent = str(checkAmount * .15) eighteenPercent = str(checkAmount * .18) twentyPercent = str(checkAmount * .20) outputString = "Total check amount: " + totalAmount + "\nSuggested tips: \n15%: " + fifteenPercent + "\n18%: " + eighteenPercent + "\n20%: " + twentyPercent + "\nTip your server, you goddamned savage!" print(outputString) That’s the code above. There’s still something I want to play around with and improve. The code takes in a string input and converts it to float. It will stop the script and throw an error if it doesn’t get a number. Then that number is multiplied by the percentages and the tips are compiled together in an output string that is formatted via new lines. I need to figure out how to force it to output to two decimals and add the dollar signs to the string outputs. But I was satisfied that it works, and I built it in about a half hour. My wife suggested I should make one that helps you figure out what to tip to make it a round number. So I removed two of the percentage options and opted for a more detailed breakdown of tipping twenty percent. The script still takes in your check total. I copy and pasted this portion right from the first script. That input is then multiplied for the twenty percent. To get the rounded amount I convert the tip and total added together. I convert that to an integer and add one. I then subtract the tip and check amount added together from that rounded total and add that to the tip to give the amount you need to write in the tip area. Again, everything is combined together in a string, with a friendlier message per her other suggestion. totalAmount = raw_input('What is the check Total?') try: checkAmount = float(totalAmount) except: print("As a number, please.") raise tipAmount = round((checkAmount * .2),2) checkTotal = round((tipAmount + checkAmount),2) roundedTotal = int(checkTotal) + 1 tipTotal = round(((roundedTotal-checkTotal)+tipAmount),2) outputString = "Tip Cheat Sheet: \nYour bill is: " + str(totalAmount) + "\nYour tip should be at least: " + str(tipAmount) + "\nTo get your check to the nearest dollar, your tip should be: " + str(tipTotal) + "\nMaking your total check: " + str(roundedTotal) print(outputString) Again, the script could still use some polishing. This also needs the dollar signs and the enforced two decimal points. I did learn the round feature that holds the floats to two places. However, it still doesn’t show them with two if the number has less than two decimal places. I will probably come back and redo these as I get a little more experience. I’ll sprinkle these entries in as I make more things in Python as I go. Like the book entries, these are mostly a way for me to cement what I learn. Writing about things and explaining my understanding helps make connections to better retain information. Not to mention that I will have an archive of my progress. So that’s it, and I really recommend Pythonista for a place to code in iOS. It was easy to use, and I was able to write the scripts laying on the couch. I have been mostly relying on my iPad as my at home computer these days, though no one needs to do any more writing about that. Ever. Rants and Reviews. Mostly just BS and Affiliate Links.
http://www.chompingbits.net/learning-diary-python
CC-MAIN-2018-34
refinedweb
1,195
74.79
!ENTITY version "1.0"> <!ENTITY XFormsNS ""> <!ENTITY prev-dd "10"> <!ENTITY prev-mm "03"> <!ENTITY prev-year "2006"> <!ENTITY dd "01"> <!ENTITY MM "October"> <!ENTITY mm "10"> <!ENTITY year "2006"> <!ENTITY iso.doc.date "&year;&MMDD;"> <!ENTITY MMDD "&mm;ⅆ"> <!ENTITY ne "≠"> <!ENTITY ouml "ö"> <!ENTITY times "×"> <!ENTITY order "£"> <!ENTITY le "≤"> <!ENTITY cellback "#d0d9fa"> <!ENTITY eacute "é"> <!ENTITY copy "©"> <!ENTITY sect "§"> <!ENTITY mdash "—"> ]> This is an internal draft produced by the Semantic Web Deployment Working Group This document is for internal review only and is subject to change without notice. This document has no formal standing within the W3C. Since Working Draft #3 of this document: rdf:type, as this was found to be too confusing. We now use the new This is an internal draft produced by the Semantic Web Deployment Working Group This document is for internal review only and is subject to change without notice. This document has no formal standing within the W3C. Since Working Draft #3 of this document: extra XHTML attributes. Where the data is already present on the page, e.g. a photo caption, the author need not repeat it. A web publisher can easily reuse concepts, e.g. an event's date, defined by other publishers, or create new ones altogether. RDFa gets its expressive power from RDF, though the reader need not understand RDF before reading this document. RDFa uses Compact URIs, which express a URI using a prefix, e.g. dc:title where dc: stands for. In this document, for simplicity's sake, the following prefixes are assumed to be already declared: We use standard XHTML notation for elements and attributes: both are denoted using fixed-width lowercase font, e.g. Jo keeps a private blog for her friends and family. Jo is organizing one last summer Barbecue, which she hopes all of her friends and family will attend. She blogs an announcement of this get-together at her private blog,. Her blog also includes her contact information: I'm holding one last summer Barbecue, on September 16th at 4pm.... Jo Smith. Web hacker at Example.org . You can contact me via email .... ]]> a small handful of extra attributes. Since this is a calendar event, Jo will specifically use the iCal vocabulary The first step is to reference the iCal vocabulary within the XHTML page, so that Jo's friends' web browsers can look up the calendar concepts and make use of them: then, Jo declares a new event: ...]]> Note how cal:summary. The existing content, "one last summer Barbecue", is the value of this field. Sometimes, this isn't the desired effect. Specifically, the start time of the event should be displayed pleasantly — "September 16th" —, but should likely be represented in a machine-parsable way, the standard iCal format: 20070916T1600-0500 (which is clearly not pleasant for human display). In this case, the markup needs only a slight modification: The actual content of the I'm holding one last summer Barbecue, on September 16th at 4pm.... ]]> Note that Jo could have used any other XHTML element, not just (For the RDF-inclined reader, the RDF triples that correspond to the above markup are available in Section Now that Jo has published her event in a human-and-machine-readable way, she realizes there is much data on her blog that she can mark up in the same way. Her contact information, in particular, is an easy target: Jo Smith. Web hacker at Example.org . You can contact me via email ....]]> Jo discovers the vCard RDF vocabulary contact to designate this vocabulary. Note that adding the vCard vocabulary is just as easy and does not interfere with the already added iCal vocabulary: Jo then sets up her vCard using RDFa, by deciding that the ...]]>...]]> "Simple enough!" Jo realizes, noting that RDFa does not interfere with her existing markup, in particular the Jo Smith. Web hacker at Example.org . You can contact me via email ....]]> Notice how Jo was able to use contact:org indicates a relationship of type "vCard organization", while contact:email indicates a relationship of type "vCard email". For simplicity's sake, we have slightly abused the vCard vocabulary above: vCard technically requires that the Jo's complete XHTML with RDFa is thus: I'm holding one last summer Barbecue, on September 16th at 4pm.... Jo Smith. Web hacker at Example.org . You can contact me via email .... ]]> If Jo changes her email address link, her organization, or the description of her event, RDFa-enabled browsers will automatically pick up these changes in the marked up, structured data. The only places where this doesn't happen is when (Once again, the RDF-inclined reader will want to consult the resulting RDF triples What if Jo does not have complete control over the XHTML of her blog? For example, she may be using a content management system which makes it particularly difficult to add the vocabularies in the Fortunately, RDFa uses compact URIs, where prefixes can be declared using standard XML namespace conventions. Thus, vocabularies can be imported "locally" to an XHTML element. Jo's blog page could express the exact same structured data with the following markup: I'm holding one last summer Barbecue, on September 16th at 4pm.... Jo Smith . Web hacker at Example.org . You can contact me via email .... ]]> In this case, each RDFa can do much more than the simple examples described above. This next section explores some of its advanced capabilities: All field names and data types in RDFa are URIs, e.g. This helps keep the markup short and clean:, so that browsers may be able to extract information automatically. Some declare relationships (including full equivalence) between concepts that develop organically in the community. Shutr may choose to present many photos in a given XHTML page. In particular, at the URI, all of the album's photos will appear inline. Structured data about each photo can be included simply by specifying This same approach applies when the field value is a URI. For example, each photo in the album has a creator and may have its own. For this purpose, RDFa provides ways to mark up document fragments using natural XHTML constructs. Consider the page, which, as its URI implies, lists Mark Birbeck's cameras. Its XHTML contains: and the photo page will then include information about which camera was used to take each photo: The RDFa syntax for formally specifying the relationship is exactly the same as before, as expected: Then, the XHTML snippet at is: Notice, again, how text can serve both for the human and machine readable versions: there is no need to keep a separate file up-to-date. The RDF interpretation of the above markup can be found in RDFa uses XML schema data types The RDF interpretation of the above markup can be found in: The simplest way to mark this up without attempting to resolve unique identities for photo subjects is to define subresources, effectively new resources that are not given a name. (In RDF, we call these blank nodes.) The following markup will do just that: The above markup uses the FOAF (Friend-Of-A-Friend) vocabulary which includes the field foaf:depicts that relates a photograph with a person depicted in the photograph. The use Shutr authors may notice that, in a number of cases, the URI of the photos it displays inline using the Consider Mark's profile page on Shutr, which lists all of his albums and cameras. This page will likely include a picture of Mark himself: Shutr may want to indicate that this is Mark's photo, using the FOAF field foaf:img defined specifically for this purpose. This can be accomplished as follows: Shutr then notes that the profile photo isn't only Mark's profile photo, it also happens to depict Mark, since Mark obviously appears in his own profile photo (hopefully). This requires expressing an For this purpose, RDFa provides In other words, Mark has, as his main image, /user/markb/profile_photo.jpg, which of course happens to depict Mark. The RDF interpretation of the above markup can be found in When the displayed content is not quite the correct machine-readable data, we used The XHTML written above can then be transformed to: Here, the loaded image will use the thumbnail, but an RDFa-aware browser will know that the machine-readable data only cares about the full-sized version specified in URN:ISBN:0-395-36341-1. The RDF interpretation of this markup can be found in RDF Briefly, RDF is an abstract generic data model. An RDF statement is a triple, composed of a subject, a predicate, and an object. For example, the following triple has A triple effectively relates its subject and object by its predicate: the document All subjects and predicates are nodes, while objects can be nodes or literals. Nodes can be URIs, or they can be blank, in which case they are not addressable by other documents. Blank nodes, denoted _:bnodename, are particularly useful when expressing layered data without having to assign URIs to intermediate nodes. In Section In Section The XHTML+RDFa in the The more complete example, including licensing information, yields the following triples: The example that links a photo to the camera it was taken with in corresponds to the following triple: while the complete camera descriptions yields: Finally, The subresources example in Note specifically how the bnode, in this example, is both the object of a first triple, and the subject of a number of follow-up triples. This is specifically the point of the layered markup approach: to create an unnamed subresource. The use of Where /user/markb/profile_photo_thumbnail.jpg, the corresponding triple is:.
http://www.w3.org/2006/07/SWD/RDFa/primer/20070918/
CC-MAIN-2015-40
refinedweb
1,621
62.07
I’m fairly new to ‘processing’ so please forgive me if I’m missing something obvious. I’m needing to add some user interaction to my processing application. At the very minimum I’m looking to be able to pose various questions to the user and use the responses to configure creation of some graphics. And although a simple console-level I/O approach would suffice (which BTW I don’t yet see how one can do), I’d really prefer to employ a more GUI-level approach with dialogue boxes, menus, etc. Can someone point me in the right direction for either of these approaches to a UI. Thank you… Hi! What about using one of the available GUI libraries? but starting from the basics: if you want the processing program ask the user a question try: import javax.swing.JOptionPane; String answer, title = " title: input string ",question="question: tell me something"; //_________________________________________________________________ SETUP void setup() { size(562, 340); answer = JOptionPane.showInputDialog(null,question,title, JOptionPane.QUESTION_MESSAGE); println(answer); } //_________________________________________________________________ DRAW void draw() { } but that is about STRING… if you want later use that to get (number) Set Point input from user must do functions like ask_int ask_float from it, add you can build a button menu what ask that questions “on click” that would be a great way to learn, without starting with a GUI library //________________ but that is actually lots of code / work i found that there is a very basic input way, like a slider / you just not see it / if you need to have 20 variables ( position, size, color ) be adjustable by user try the mouseWheel in combination with a keypress. examples: both can get from here
https://discourse.processing.org/t/best-way-of-mixing-in-ui-elements/5979
CC-MAIN-2022-33
refinedweb
283
55.58
Revision history for Perl extension POE::Framework::MIDI. 0.1 - Original release to CPAN - pretty crufty. 0.2 Sun May 25 2003 - Cleaned up POD. - Restructured distribution files. - Fixed rule code and eliminated assorted impediments. - Built testing code. - Moved Gene's Rule::Contour module into another distribution to contain rules - it'll be called POE::Framework::MIDI::Rules (using the P:F:M:Rule namespace). This is a damn cool rule, but I decided it would keep things simpler if only a few simple example rules were included. Same deal will go with transformations when they exist. 0.3 02 July 2004 - oops - forgot to make dist. This should work better 0.4 12 July 2004 - typo correction 0.5 26 July - added 'data' to Musician - internal musician data 'cookie' 0.6 27 July - fixed stupid makefile error re Class::MethodMaker 0.7 05 Feb 2005 - added pod test 0.8 05 Feb 2005 - a few bugs went up on 0.7 - oopsie. 0.9 19 March 2005 - removed calls to deprecated 'POE::Session->new' and replaced them with POE::Session->spawn
https://metacpan.org/changes/distribution/POE-Framework-MIDI
CC-MAIN-2016-30
refinedweb
182
62.14
I'm about to write down a few posts during my reading, hoping that that could be useful for someone else too. At least as an hint on wich book to buy to knowing more on Qt. The first chapter of the book is all about writing an hello Qt program, so close to the one I wrote in the previous post on Qt that someone could even think it is just the same. Luckly it is shown also another variant, in which the label is set with a HTML formatted text. Quite cool, isn't it? #include <QtGui/QApplication> #include <QtGui/QLabel> int main(int argc, char** argv) { QApplication app(argc, argv); QLabel* label = new QLabel(("<h2><i>Hello</i><font color=red>Qt!</font></h2>")); label->show(); return app.exec(); } Actually, there is another difference in this hello Qt program, compared to the one in the previous post. Here we have a memory leak, since we put the label on the heap, and not on the stack, without deleting it when done with it. Is that a major problem? Well, no, it isn't, since we are just about to leave the main.
http://thisthread.blogspot.com/2010/06/hello-qt-with-color-touch.html
CC-MAIN-2018-26
refinedweb
195
72.05
On Sun, 2013-12-22 at 11:28 -0800, Christoph Hellwig wrote: > > > > - if (!strncmp(name, XATTR_MAC_OSX_PREFIX, XATTR_MAC_OSX_PREFIX_LEN)) { > > > - /* > > > - * This makes sure that we aren't trying to set an > > > - * attribute in a different namespace by prefixing it > > > - * with "osx." > > > - */ > > > - if (is_known_namespace(name + XATTR_MAC_OSX_PREFIX_LEN)) > > > - return -EOPNOTSUPP; > > > > I think that this check is important. It forbids such combinations as "osx.system.*" or > > "osx.trusted.*", for example. Because "osx.*" is virtual namespace for xattrs that > > it can be under Mac OS X. If you want to set xattr from "system.*" namespace, for example, > > then you need to use another handler. And such namespace should be without > > addition of "osx." prefix. > > Right, and we keep exactly the check, just in a different place. > Maybe I missed something, but I can see that this check is removed only. Could you point out the code in your patch that it checks and forbids such combination as "osx.security.*", "osx.trusted.*" and so on? I can see that is_known_namespace() is called for hfsplus_xattr_osx_handler only. But this method doesn't contain above-mentioned check. Moreover, hfsplus_xattr_user_handler, hfsplus_xattr_trusted_handler, hfsplus_xattr_security_handler will be without is_know_namespace() check. What about it? > > The __hfsplus_setxattr() is common method for all handlers. So, removing > > this call means that we don't check validity of namespace. I don't think > > that such modification is a right way. > > The generic code already checks for the validity of the namespace for > you. xattr_resolve_name in fs/xattr.c makes sure only attributes for a > namespace that the filesystem registered can be set or modified. > But generic code doesn't check such names combination that it is treated as wrong for concrete file systems. For example, "osx.security.*" is wrong for the case of HFS+. Because it will works hfsplus_xattr_osx_handler instead of hfsplus_xattr_security_handler. > > > @@ -841,10 +761,6 @@ int hfsplus_removexattr(struct dentry *dentry, const char *name) > > > if (!HFSPLUS_SB(inode->i_sb)->attr_tree) > > > return -EOPNOTSUPP; > > > > > > - err = can_set_xattr(inode, name, NULL, 0); > > > > Ditto. Moreover, it is used namely hfsplus_removexattr() and not > > __hfsplus_setxattr() for removing xattrs in hfsplus driver. So, removing > > this check is not good way. > > Oh, I just noticed that hfsplus does not use the xattr handlers for > removing, while it does for getting and setting xattrs. That's a really > bad a confusing design, and we'll indeed need to fix that as well. > Why bad design? Do you mean that using .removexattr callback is bad idea? So, if it needs to use xattr handler only for removing then it needs to make some refactoring of using __hfsplus_setxattr() and hfsplus_removexattr() or merging these two functions into one. And I think that merging is better idea. Thanks, Vyacheslav Dubeyko.
https://www.redhat.com/archives/cluster-devel/2013-December/msg00177.html
CC-MAIN-2014-15
refinedweb
434
60.61
* MIDI data can be sent with two different methods as well, controlled by USE_SPI_MIDI * (0) Through a (software) serial connection on pin 3, at 31250 baud * (1) Through SPI, at an arbitrary data rate. For SPI, each byte of MIDI data needs to be prefixed by a 0 byte * (The V1053b data sheet erroneously states that the padding should be a 0xFF byte). trying to play middle C from the IDE serial window I send noteOn(0,60,127) are you converting them into a single byte. One problem/confusion. The datasheet and your guides say that GPIO0 =0 and GPIO1=1, lead to midi mode in vs1053b. If that is true I should not pull up the GPIO1 pin, rather should pull it down. This is the CS pin for the SD card.I also found today that when the SD card is plugged it, I can't play the Hello MP3 file from the SDI interface. On further inspection I found that the SD card tried to pull high it's CS pin, ie GPIO1 and hence, maybe the VS1053b is going into midi mode? The GPIO capabilities of VS1053 have been extended compared to VS1003 and VS1033. The state of most of the digital pins on VS1053 can now be read through the IDATA registers, and the state of the SO pin can be controlled somewhat by the software.VS1053 GPIO registers are defined as follows:IDATA[7:0] bits are connected to the inputs of GPIO[7:0] pins.IDATA[8] is connected to the input of pin SCLK.IDATA[9] is connected to the input of pin XCS.IDATA[10] is connected to the input of pin SI.IDATA[11] is connected to the input of pin XDCS.ODATA[7:0] bits are connected to the output register of GPIO[7:0] pins.DDR[7:0] bits are connected to the output enable controls of GPIO[7:0] pins.ODATA[8] controls the output state of the SO pin when DDR[8] is set high. There is still a fixed 3-state buffer on the SO pin, which puts the SO pin in high impedance whenever XCS is high. This fixed 3-state buffer cannot be controlled by software.Note: If you set DDR[8] high, the hardware SCI port controller cannot control the SO pin, so any SCI reads will fail. /*--- xCS pin ---*/#define CS_GPIO LPC_GPIO0 //xCS PORT#define CS_BIT 23 //xCS PIN#define CS_SET_OUTPUT() CS_GPIO->FIODIR |= (1<<CS_BIT); //xCS dir = output#define CS_LOW() CS_GPIO->FIOPIN &= ~(1<<CS_BIT) //Set xCS low - enable command interface#define CS_HIGH() CS_GPIO->FIOPIN |= (1<<CS_BIT) //Set xCS high - disable command interface/*--- xDSC pin ---*/#define DSC_GPIO LPC_GPIO0 //xDSC PORT#define DSC_BIT 25 //xDSC PIN#define DSC_SET_OUTPUT() DSC_GPIO->FIODIR |= (1<<DSC_BIT) //xDSC dir = output#define DSC_LOW() DSC_GPIO->FIOPIN &= ~(1<<DSC_BIT) //Set xDSC low - enable data interface#define DSC_HIGH() DSC_GPIO->FIOPIN |= (1<<DSC_BIT) //Set xDSC high - disable data interface/*--- DREQ pin ---*/#define DREQ_GPIO LPC_GPIO0 //DREQ PORT#define DREQ_BIT 24 //DREQ PIN#define DREQ_SET_INPUT() DREQ_GPIO->FIODIR &= ~(1<<DREQ_BIT) //DREQ dir = input #include <SD.h>#include <SPI.h>#include <Arduino.h>#include <MusicPlayer.h>void setup(void){ Serial.begin(9600); player.beginInMidiFmt();}void loop(void){ player.midiDemoPlayer();}delay(500);} #include <SD.h>#include <SPI.h>#include <Arduino.h>#include <MusicPlayer.h>void setup(void){ Serial.begin(31250 ); player.beginInMidiFmt();}void loop(void){ player.midiDemoPlayer();}delay(500);}
https://forum.arduino.cc/index.php?topic=265430.msg1873963
CC-MAIN-2019-43
refinedweb
562
54.02
I can prove that Joe Biden stole the election. What I tell you three times is true! (<!MG007>MG007) Let’s check the rumors. The following program counts assertions in order to check whether they are true. As everybody knows, assertions become facts if they have been told three times. The input to the function “atLeastThrice” is the list “assertions”. The output of the function is a list of those statements which are found at least thrice. (The program is written in Haskell. Therefore it must be true.) #! /usr/bin/haskell import Data.List someAssertions :: [String] someAssertions = ["Biden stole the election!" ,"Truth isn’t truth." ,"Truth isn’t truth." ,"<!>1+1=2." ,"Truth isn’t truth." ,"Biden stole the election!" ,"Biden stole the election!" ,"<!>1+1=2." ] atLeastThrice :: [String] -> [String] atLeastThrice assertions = [head grp | grp <- group $ sort assertions, length grp >= 3] Output (if loaded and executed in GHCi): *Main> atLeastThrice someAssertions ["Biden stole the election!","Truth isn’t truth."] You see, “1+1=2.” is not sufficiently true because it appears less than three times in the list or assertions. The other two assertions are true, because they have been stated thrice. Two times is not enough. Everybody knows that. For increased assertiveness, you might need to apply the Bellman’s rule even more often. If Haskell is too much, try Scratch: 2018-08-24, update: 2022-06-10 (<!MG007>MG007)
https://snrk.de/truth-isnt-truth/
CC-MAIN-2022-27
refinedweb
231
79.87
apprenda/kuberang[web search] README.md Kuberang kuberang is a command-line utility for smoke testing a Kubernetes install. It scales out a pair of services, checks their connectivity, and then scales back in again. Sort of like a boomerang, you know? Latest Build for Linux x86 Latest Build for Darwin x86 It will tell you if the machine and account from which you run it: - Has kubectl installed correctly with access controls - Has active kubernetes namespace (if specified) - Has available workers - Has working pod & service networks - Has working pod <-> pod DNS - Has working master(s) - Has the ability to access pods and services from the node you run it on. It's suggested that you run kuberang from a node OTHER than a worker. kuberang will exit with a code of 0 even if some of the above are not possible. It's up to the user to parse the output. Adding -o json will return a parsable json blob instead of a pretty string report. Pre-requisites - A working kubectl (or all you'll get is a message complaining about kubectl) - Access to a Docker registry with busybox and nginx images Usage $ kuberang --help kuberang tests your kubernetes cluster using kubectl Usage: kuberang [flags] kuberang [command] Available Commands: version display the Kismatic CLI version Flags: -n, --namespace string Kubernetes namespace in which kuberang will operate. Defaults to 'default' if not specified. --registry-url string Override the default Docker Hub URL to use a local offline registry for required Docker images. --skip-cleanup Don't clean up. Leave all deployed artifacts running on the cluster. Use "kuberang [command] --help" for more information about a command. Developer notes Pre-requisites - Go 1.7 installed Build using make We use make to clean, build, and produce our distribution package. Take a look at the Makefile for more details. In order to build the Go binaries (e.g. Kismatic CLI): make build In order to clean: make clean In order to produce the distribution package: make dist This will produce an ./out directory, which contains the bits, and a tarball. You may pass build options as necessary: GOOS=linux make build
https://jaytaylor.com/notes/node/1526408906000.html
CC-MAIN-2020-05
refinedweb
359
64.1
Python APIs for creating CMS contents. This is done in cms.api and not on the models and managers, because the direct API via models and managers is slightly counterintuitive for developers. Also the functions defined in this module do sanity checks on arguments. Warning None of the functions in this module does any security or permission checks. They verify their input values to be sane wherever possible, however permission checks should be implemented manually before calling any of these functions. Used for the limit_menu_visibility keyword argument to create_page(). Does not limit menu visibility. Used for the limit_menu_visibility keyword argument to create_page(). Limits menu visibility to authenticated users. Used for the limit_menu_visibility keyword argument to create_page(). Limits menu visibility to staff users. Creates a cms.models.pagemodel.Page instance and returns it. Also creates a cms.models.titlemodel.Title instance for the specified language. Creates a cms.models.titlemodel.Title instance and returns it. Adds a plugin to a placeholder and returns it. Creates a page user for the user provided and returns that page user. Assigns a user to a page and gives them some permissions. Returns the cms.models.permissionmodels.PagePermission object that gets created. Publishes a page and optionally approves that publication. Approves a page. Create a page called 'My Page using the template 'my_template.html' and add a text plugin with the content 'hello world'. This is done in English: from cms.api import create_page, add_plugin page = create_page('My Page', 'my_template.html', 'en') placeholder = page.placeholders.get(slot='body') add_plugin(placeholder, 'TextPlugin', 'en', body='hello world') The token used to identify when a user selects “inherit” as template for a page. Inherits django.contrib.admin.options.ModelAdmin. Defaults to False, if True there will be a preview in the admin. Custom template to use to render the form to edit this plugin. Custom form class to be used to edit this plugin. Is the CMSPlugin model we created earlier. If you don’t need model because you just want to display some template logic, use CMSPlugin from cms.models as the model instead. Will group the plugin in the plugin editor. If module is None, plugin is grouped “Generic” group. Will be displayed in the plugin editor. If set to False, this plugin will not be rendered at all. Will be rendered with the context returned by the render function. Whether this plugin can be used in text plugins or not. Returns the alt text for the icon used in text plugins, see icon_src(). Returns the url to the icon to be used for the given instance when that instance is used inside a text plugin. This method returns the context to be used to render the template specified in render_template.
http://docs.django-cms.org/en/latest/extending_cms/api_references.html
CC-MAIN-2013-48
refinedweb
455
53.58
setegid() Set the effective group ID for a process Synopsis: #include <unistd.h> int setegid( gid_t gid ); Since: BlackBerry 10.0.0 Arguments: - gid - The effective group ID that you want to use for the process. Library: libc Use the -l c option to qcc to link against this library. This library is usually included automatically. Description: The setegid() function lets the calling process set the effective group ID based on the following: - If the process. Errors: - EINVAL - The value of gid is out of range. - EPERM - The process doesn't have the PROCMGR_AID_SETGID ability enabled, and gid doesn't match the real group ID or the saved set-group ID. Examples: /* * This process sets its effective group ID to 2 */ #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <unistd.h> int main( void ) { gid_t oegid; oegid = getegid(); if( setegid( 2 ) == -1 ) { perror( "setegid" ); return EXIT_FAILURE; } printf( "Was effective group %d, is 2\n", oegid ); return EXIT_SUCCESS; } Classification: Last modified: 2014-06-24 Got questions about leaving a comment? Get answers from our Disqus FAQ.comments powered by Disqus
http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/s/setegid.html
CC-MAIN-2016-36
refinedweb
182
68.67
how can i extract fraction e.g. 12/4 which is stored in a char array?i mean i want to put 12 in int numerator and 4 in int denominator. how can i extract fraction e.g. 12/4 which is stored in a char array?i mean i want to put 12 in int numerator and 4 in int denominator. once a kohatian,always a kohatian! probably best to use a struct/class to hold the two separate attributes in a single entity and then store a collection of objects of the user defined struct/class in whatever container you elect to use. I suppose you could consider putting the numerator in even numbered elements and the associated denominator in odd numbered elements, but I have never heard of doing it that way. Might be kinda fun to work it out though. Hmmm........ One way is to use function sscanf(). I think you can use <cstdio> in place of <stdio.h>I think you can use <cstdio> in place of <stdio.h>Code:#include <stdio.h> #include <iostream> using namespace std; int main(void) { char *str = "12/4"; int n, d; sscanf(str,"%d/%d",&n,&d); cout << str << endl; cout << "n:" << n << endl; cout << "d:" << d << endl; return 0; } you veterans are making it hard for the rookies. Heres a simple program. Here: #include <iostream.h> #include <conio.h> #include <conio.c> // I'm using Bloodshed, need this for getch(); int main() { int numerator=4; int denominator=12; cout << numerator << "/ " << denominator << endl; getch(); return 0; } Sure, but he asked how to extract it from a char array. ok, cool
https://cboard.cprogramming.com/cplusplus-programming/14089-char-extraction.html
CC-MAIN-2017-09
refinedweb
272
66.94
Type: Posts; User: cocacola; Keyword(s): i'm looking at the issue from both sides: ethical hacking and unethical hacking. thanks for the links checking them out now. those with faster connections may have a slight advantage, it seems to me. very small advantage, but that could translate into thousands of dollars in difference. once a week one person in our class has to give a presentation on a subject chosen by the teacher (e.g. utilitarianism, technophobia, etc.) my topic is hacking :D it's a computer ethics... THANKS SMIRC!!! that's perfect! exactly what i was looking for. btw, if anyone wants to use smirc's code, you might have to add: #include <math.h> for the power function. (i had to... my name's david, and i'm a computer science student. i was looking at the files on a password shadowed server. once files are shadowed, doesn't that mean they are impossible to get (without root access)? i need to write a function that will display all possible strings of lowercase letters, for instance.. a b c d ... x y z
http://www.antionline.com/search.php?s=434e1e4d66d73a63656f47d00f61cf52&searchid=3951003
CC-MAIN-2016-07
refinedweb
186
77.84
Teleconference.2007.11.14/Minutes - Present - Carsten Lutz, Uli Sattler, Conrad Bock, Alan Ruttenberg, Sandro Hawke, Bijan Parsia, Michael Smith, Peter Patel-Schneider, Doug Lenat, Evan Wallace, Martin Dzbor, Jeremy Carroll, Ratnesh Sahay - Regrets - James Hendler, Ian Horrocks - Chair - Alan Ruttenberg - Scribe - Conrad Bock, Alan Ruttenberg, Sandro Hawke (Scribe changed to Conrad Bock) Action 9: Sandro will check with Josh about UFDTF zakim setup for tomorrow Alan added items to the previoous minutes. Discussion of how action items from previous action items didn't make it into previous minutes. Action 10: Boris to send an email about Issue 11 fixed and how to fix Issue 28 Action 11: Boris to send an email on Issue 3 Action 12: peter to send an email about your proposal collocated with OWLED Action 13: ian to send out email soliciting other proposals for the 2nd f2f Discussion of minutes editing, remove "chit chat", general readability, 20-30 minutes in cleanup. PROPOSED: accept previous minutes, as is Vote on whether to accept uncleaned up minutes from previously. Action 14: Alan to clean up minutes Vote and discussion result: not accept uncleaned up minutes. ACTION Sandro: to explain how to fix red names on wiki pages. Action 15: Alan to upload the rest of the inline images in the Syntax document April FTF ACTION peter: post survey on April FTF dates. Action 16: peter to make wiki page to get feedback on dates for F2F2, and send e-mail about it. Alan surveys on accepting five issues in agenda RESOLVED: Close Issue 6, Issue 7. Issue 27. Issue 33. Issue 37 based on Peter's changes. Datatype issues not in n-ary discussion Action 27: jeremy to show why rdfs:datatype and owl:DataRange are different Bijan Parsia: Using XML Schema's namespace requires doing in a way they can accept. In particular, need approval for using their namespace. Bijan Parsia: A URI is different from a qualified name. Only true in RDF land. Bijan Parsia: Can't use existing element as attribute or vice-versa. Bijan; You can derive a URI from a qname, but the XML WG might not approve of the URI. Action 17: Smith to take the issue of URI/qname approival from XML WG Action 28: Jeremy to edit Issue 29 to deal with RDFS data type Issue 31 Alan Ruttenberg: We can define datatypes in XML, and if we lefft everything alone, could import documents with XML datatypes. Would be annoying because of one file per datatype. Jeremy Carroll: Can put multiple datatypes on same file with different ID's. Bijan Parsia: Need both inlining and referencing datatypes. Bijan Parsia: WOuld rather have one way of referencing datatypes. Jeremy Carroll: Final document does have one way (picks a winner). Alan Ruttenberg: Would be good to settle ourrequirements on this. Alan Ruttenberg: Heard four opinions on requirements so far. Peter Patel-Schneider: No mechanism for datatype import in the member submission. Alan; Any objection to discussion on email on requirements? Bijan Parsia: No bias in sub mission against importing. Evan Wallace: MIght as well use best practices, otherwise fall bak to inline. Alan Ruttenberg: Agreement to discuss on mailing list? Action 29: Mike to lead discussion on datatype import. Clarification of Mike's last action: to convene half-hour telecon on data types issue Alan scribing (Scribe changed to Alan Ruttenberg) Ontology elements (Scribe changed to Sandro Hawke) Bijan Parsia: Tools should not use the Ontology Name to check for inclusion cycles. Alan Ruttenberg: but protege-4 does that. Bijan Parsia: I think that's a bug Alan Ruttenberg: Matthew believes it's right, I think.... Alan Ruttenberg: And it's not that he's confused. He's sure his approach is right. Alan Ruttenberg: If this issue can proceed independently, something something something. Bijan Parsia: Definition of ontology closure can be separated from ontology naming. Bijan Parsia: We could just use XML Include, and things would come out pretty much the same. Bijan Parsia: If nothing else is different other than the ontology name.... I don't know what one would make of that. Bijan Parsia: Import closure reaches a fixpoint when doing more imports doesn't add anything. Alan Ruttenberg: Your defining an import-processing-model, calling in 'include', in which the ontology name doesn't matter. Peter Patel-Schneider: in 1.0 import is defined completely independently of ontology names. Peter Patel-Schneider: in 1.1, it's completely different. [ some O....O' definition ] Alan Ruttenberg: If one wants to sign the ontology, .... Peter Patel-Schneider: I'm not saying what it should be, I'm saying what 1.1 says. Let's deprecate owl:imports!!!!!!!!!! Alan Ruttenberg: there is a requirement from users that people be able to sign their ontologies, include metadata, include versioning, .... Bijan Parsia: The 1.1 defn is a bug because it's less-liberal than 1.0, so it's not backward compatible. MikeSmith, when you use "/me" like that, it's left out of the IRC log. Bijan Parsia: I think we should align the current specs with OWL 1.1 Bijan Parsia: ... and then think about a deeper redesign, eg using XML Include. Alan Ruttenberg: I don't know anyone who like owl:import as is. Action 18: Alan to brain dump on owl imports issue to mailing list Peter Patel-Schneider: should rich annotations be on the agenda at F2F1? Action 19: Alan to include imports, possibility of annotations as subject for f2f ADJOURN
http://www.w3.org/2007/OWL/wiki/index.php?title=Teleconference.2007.11.14/Minutes&oldid=1510
CC-MAIN-2015-40
refinedweb
916
65.32
The itertools python module implements some basic building blocks for iterators. As they say, "they form an iterator algebra". I was expecting, but I could not find a succinctly way of doing the following iteration using the module. Given a list of ordered real numbers, for example a = [1.0,1.5,2.0,2.5,3.0] n 2 b = [(1.0,1.5),(1.5,2.0),(2.0,2.5),(2.5,3.0)] even, odds = a[::2], a[1::2] b = [(even, odd) for even, odd in zip(evens, odds)] b = sorted(b + [(odd, even) for even, odd in zip(evens[1:], odds)]) For 2, you can just do b = zip(a, a[1:]) # or list(zip(...)) on Python 3 if you really want a list For fixed n, the technique is similar: # n = 4 b = zip(a, a[1:], a[2:], a[3:]) For variable n, you could zip a variable number of slices, or (especially if the window size is close to the size of a) you could use slicing to take windows directly: b = zip(*[a[i:] for i in xrange(n)]) # or b = [tuple(a[i:i+n]) for i in xrange(len(a)-n)] If a is not a list, you could generalize the pairwise recipe from the itertools docs: import copy import itertools def nwise(iterable, n): # Make n tees at successive positions along the iterable. tees = list(itertools.tee(iterable, 1)) for _ in xrange(n-1): tees.append(copy.copy(tees[-1])) next(tees[-1]) return zip(*tees)
https://codedump.io/share/gONgIa0WCDtS/1/iterate-over-n-successive-elements-of-list-with-overlapping
CC-MAIN-2017-09
refinedweb
260
66.07
django-metasettings 0.1.3 A reusable Django application to control the currency rate and favorite language code, inspired by etsy A reusable Django application to control the currency rate and favorite language code, inspired by etsy First you need to request an app id at open exchange rates to import currency rates. Installation To install it, simply pip install django-metasettings Add ‘metasettings’ to your INSTALLED_APPS INSTALLED_APPS = ( 'metasettings', ) If you want to install the dashboard to allow your users to select a language and a currency you will have to install urls from metasettings like so # urls.py from django.conf.urls import patterns, include urlpatterns = patterns( '', (r'^', include('metasettings.urls')) ) You can add your proper stylesheet to this dashboard view and have this kind of result: Usage To import current currency rates, run python manage.py sync_rates --app_id=openexchangesratesappid To import currency rates in a date range, run python manage.py sync_rates --app_id=openexchangesratesappid --date_start=2011-10-01 --date_end=2013-10-01 It will import for each months between the two dates the currency rates. If you can to convert an amount from on currency to another from metasettings.models import convert_amount convert_amount('EUR', 'USD', 15) # ~20 euros By default it will return a full decimal, if you want a converted integer from metasettings.models import convert_amount convert_amount('EUR', 'USD', 15, ceil=True) # ~20 euros To retrieve the currency with a client IP Address: from metasettings.models import get_currency_from_ip_address get_currency_from_ip_address('78.192.244.8') # EUR We are using GeoIP which gives you the ability to retrieve the country and then we are linking the country to an existing currency. So don’t forget to import a fresh GeoIP database and be sure to have GEOIP_PATH in your settings. We recommend to use django-geoip-utils which provides some helpers to manipulate GeoIP API. - Author: Florent Messa - Categories - Package Index Owner: thoas - DOAP record: django-metasettings-0.1.3.xml
https://pypi.python.org/pypi/django-metasettings/0.1.3
CC-MAIN-2016-36
refinedweb
321
52.29
One of the great promises of Deep Learning is its applicability in a wide variety of complex tasks. Recent years have seen an explosion in the number of fields Deep Learning has seen successful application in. There have been enormous breakthroughs in the fields of Biology, Chemistry, Healthcare, and Physics in particular. At Paperspace, part of our mission is to empower anyone interested in ML research, whether they are a seasoned practitioner or a relative newcomer, with tools that greatly improve and expedite their productivity. Both Andrew Ng and Jeremy Howard have commented on how Deep Learning will really empower domain experts to get incredible breakthroughs in their respective fields, and organizations like DeepMind have achieved incredible things by applying Deep Learning to very specific domains like Protein Folding. In this post, we’re going to be demonstrating how to to build a state of the art Bacterial Classification model on Gradient using the Fast.ai machine learning library. We'll start by understanding the task and examining our dataset. After this, we'll make some decisions about our architecture and training process, and evaluate our results compared to the current state of the art! Bring this project to life Understanding Bacterial Classification While it may seem obscure, the task of classifying bacterial species is actually very useful because of their prevalence in our environment and information about them is significant in many fields, including agriculture and medicine. Building a system that can automatically recognize and classify these microorganisms would be incredibly useful in these fields, and is an open research question today. It is a surprisingly complex task. The shape of individual bacterial cells can vary tremendously, but so does their frequency in a scene. When examining colonies of bacteria, factors like Colony size, texture, and composition come into play. The data we'll be using today comes from the Digital Image of Bacterial Species dataset(DIBaS), compiled as part of the study in Deep learning approach to bacterial colony classification (Zieliński et al., 2017). It contains 660 images with 33 different genera and species of bacteria. We'll be examining their results more carefully and comparing our own later on in the post! Preprocessing our Data The work here was achieved using Paperspace's Gradient notebook feature with the Fast.ai template. All the packages used are already installed and accessible in this container, which makes for a quick start. DIBaS is actually a little hard to access automatically, as it is siloed into separate links on its website. So, to automate and save ourselves some time, we'll make use of a scraping library to collect and parse our data! Let's import some useful packages. import requests import urllib.request import time from bs4 import BeautifulSoup import os The package to keep an eye on is BeautifulSoup, which allows us to parse an HTML page after we grab it to search for a useful URL (like one that holds our download link). Let's grab the web page from the DIBaS site and parse it! url = ' response = requests.get(url) soup = BeautifulSoup(response.text, "html.parser") os.mkdir('./bacteria-dataset/full_images_alt') Now that we have our parsed URLs for each subfolder in the bacterial species dataset, we can use the urllib library to download the zipfiles and unpack them! for i in range(19,52): #'a' tags are for links one_a_tag = soup.findAll('a')[i] link = one_a_tag['href'] urllib.request.urlretrieve(link,'./bacteria dataset/zip_files/'+link[49:len(link)]) time.sleep(1) import zipfilefor i in range(20,52): one_a_tag = soup.findAll('a')[i] link = one_a_tag['href'] zip_ref = zipfile.ZipFile('./bacteria-dataset/zip_files/'+link[49:len(link)], 'r') zip_ref.extractall('./bacteria-dataset/full_images_alt/') zip_ref.close() Training Our Model Now that our data is ready, we can move onto training our model. We're going to make use of the Fast.ai library for its ease of use, high level abstractions, and powerful API. If you've taken the first lesson from the Practical Deep Learning for Coders course form Fast.ai (also known as Fast.ai Part 1), you're ready to understand everything we're doing here! First, let's import the right modules from the library. from fastai.vision import * from fastai.metrics import error_rate We can set some configurations and grab our files using the get_image_files utility from Fast.ai. bs = 64 fnames = get_image_files('bacteria-dataset/full_images_alt') fnames[:5] # Outputs are filepaths! # [PosixPath('bacteria-dataset/full_images_alt/Actinomyces.israeli_0001.tif'), # PosixPath('bacteria-dataset/full_images_alt/Actinomyces.israeli_0002.tif'), # PosixPath('bacteria-dataset/full_images_alt/Actinomyces.israeli_0003.tif'), # PosixPath('bacteria-dataset/full_images_alt/Actinomyces.israeli_0004.tif'), # PosixPath('bacteria-dataset/full_images_alt/Actinomyces.israeli_0005.tif')] Now, we'll make use of the ImageDataBunch class from Fast.ai, which basically creates a data structure that holds your dataset and labels automatically based on how the dataset folders have been organized. In this case, we setup our dataset to facilitate the use of this class, and it works out of the box! np.random.seed(42) pat = r'/([^/]+)_\d+.tif$' data = ImageDataBunch.from_name_re('bacteria-dataset/full_images_alt', fnames, pat, ds_tfms=get_transforms(), size=224, bs=bs).normalize(imagenet_stats) Now, we can create a CNN architecture to learn from our dataset. CNNs prove to be really useful here because we are trying to learn visual features and structure independent of locality. We'll use ResNet34, which may work very well. ResNets haven't been used in this task, and are a good area to explore. You can find a useful overview of ResNets here, and I've also included the original paper in the references section of this post! learn = create_cnn(data, models.resnet34, metrics=error_rate) Now, to train our model, we'll make use of the fit_one_cycle method. This method makes use of the strategy in Leslie Smith's exciting paper. It uses different hyperparam configurations and certain discovered rules to significantly reduce training time and improve performance. We can see the outputs from the training process below. learn.fit_one_cycle(4) # Outputs: # epoch train_loss valid_loss error_rate # 1 3.817713 2.944878 0.759124 # 2 2.632171 1.093049 0.248175 # 3 1.929509 0.544141 0.167883 # 4 1.509456 0.457186 0.145985 Wow! Our model actually does kind of well, getting to an error rate of ~14.5%! The real question is how does this compare to the state of the art? Well, the seminal work in the area is the paper that included the DIBaS dataset in the first place. They tested several different methods ranging from CNNs to more traditional methods like SVMs with various and Random Forests. Their best results were around 97% accuracy, so a good deal better than ours. So, how can we improve our approach? Well, Resnets are pretty powerful, so we may want to use a heavier architecture like ResNet50. We can use the lr_find() method to find the optimal learning rate and use that to try and improve our model. learn = create_cnn(data, models.resnet50, metrics=error_rate) learn.lr_find() learn.recorder.plot() This graph inform us as to where the learning rate is best impacting the los – pretty cool! For reference sake, let's train without using our knowledge of this span of learning rate values. We can use the same training method for 8 cycles. learn.fit_one_cycle(8) # epoch train_loss valid_loss error_rate # 1 2.853813 1.561166 0.306569 # 2 1.639013 0.248170 0.058394 # 3 1.101536 0.230741 0.080292 # 4 0.781610 0.159655 0.043796 # 5 0.587977 0.132877 0.036496 # 6 0.455316 0.115520 0.036496 # 7 0.356362 0.108675 0.029197 # 8 0.293171 0.109001 0.029197 Interesting! We can see that this model is a lot better than our previous one, and is basically the same as the performance outlined in the paper! 97.1% accuracy is nothing to laugh at! But what if we use the knowledge of the learning rates we picked up earlier? Let's confine our one cycle training process to work in the range where the learning rate impacted the loss the most. learn.save('stage-1-50') learn.unfreeze() learn.fit_one_cycle(3, max_lr=slice(1e-6,1e-4)) # Outputs # epoch train_loss valid_loss error_rate # 1 0.178638 0.100145 0.021898 # 2 0.176825 0.093956 0.014599 # 3 0.159130 0.092905 0.014599 Wow! Our new model achieves an accuracy of 98.5%, which definitely beats the original paper. Of course, the original paper is from 2017, and it makes sense that applying a very powerful model like ResNet would yield great results. Conclusion We've managed to get some pretty amazing results on a task from a domain many people may not be familiar with, and we've done it pretty quickly thanks to Gradient and Fast.ai. Of course, its useful there hasn't been much progress in this domain since 2017, so there may be better, more nuanced approaches than throwing ResNets at the problem. Going forward, we may try different approaches to this bacterial classification task or maybe even try and tackle some other new datasets! What other deep learning architectures do you think may be useful? If you have an ML related project or idea that you've been wanting to try, consider using Paperspace's Gradient platform! It's a fantastic tool that allows you to many useful things, including explore and visualize with notebooks, run serious training cycles and ML pipelines, and also deploy your trained models as endpoints! Learn more about our Free GPU enabled Jupyter Notebooks here! Add speed and simplicity to your Machine Learning workflow today References He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 770-778). Smith, L. N. (2018). A disciplined approach to neural network hyper-parameters: Part 1--learning rate, batch size, momentum, and weight decay. arXiv preprint arXiv:1803.09820. Zieliński, B., Plichta, A., Misztal, K., Spurek, P., Brzychczy-Włoch, M., & Ochońska, D. (2017). Deep learning approach to bacterial colony classification. PloS one, 12(9), e0184554. Add speed and simplicity to your Machine Learning workflow today
https://blog.paperspace.com/building-a-state-of-the-art-bacterial-classifier-with-paperspace-gradient-and-fast-ai/
CC-MAIN-2022-21
refinedweb
1,696
57.77
Hibernate delete HQL - Hibernate Hibernate delete HQL Hi I am trying hibernate tutorial. But delete HQL tutorial not working properly. It gives null pointer exception. Query class has method executeUpate() & not executeUpdate delete Hibernate Delete Query  ... database using the hibernate. Lets first write a java class to delete a row from... (DeleteHQLExample.java), which we will delete a row from the insurance table using the query using HQL a look at the following link: Hibernate Delete Query...Delete Query using HQL Can we write 'AND' with 'WHERE' clause in delete query using HQL? For example: delete from table name where field1 - Hibernate Hibernate; import org.hibernate.Session; import org.hibernate.*; import...(); //Create Select Clause HQL String SQL_QUERY ="Select Branches.branch_id from Branches branches"; Query query delete row from a table using hibernate delete row from a table using hibernate //code in java file String hql="delete from CONTACT c where ID=6"; Query query=session.createQuery... [delete from CONTACT] int i=query.executeUpdate : Hibernate Query - Hibernate Hibernate Query Hibernate Query hibernate criteria delete hibernate criteria In this Tutorial, We will discuss about hibernate... the createQuery method for creating query String. In This example we delete the record from... table is as follows: The resultant query generated by hibernate Examples of Hibernate Criteria Query Example code and running projects of Hibernate Criteria Query Here are examples of Criteria Query in Hibernate and all the examples comes with the running... queries. The Hibernate query Language can be used easily to perform Add, Update Queries (Native Query). Hibernate provides primary and secondary level caching...why hibernate? why hibernate? Hibernate: -Hibernate... library. It solves object-relational impedance mismatch problems. Hibern hibernate Is there any other way to call procedure in hibernate other than named query????? if we are using session object to get the connection then why hibernate we can directly call by using a simple java class??????? please on hibernate query language - Hibernate on hibernate query language Display the contents of 2 fields in a table in a single column using SQL statement.Thanks! Hi friend,read for more information, hibernate query hibernate query hibernate apache par kam karta hai kya Hi Friend, Yes. Thanks prog using hibernate query Hibernate update query This will show you how to update records in hibernate! regards Meeya Hibernate Criteria Examples of using Hibernate Criteria query. With the help of criteria query you can... in hibernate to use criteria query. Hibernate Criteria Query Example Hibernate Criteria restrictions Query Example. Hibernate Criteria Ordering Query Example hi - Hibernate hi hi all, I am new to hibernate. could anyone pls let me know... to delete a particular record using DAO. Here I provide MyEclipse automatiically...() and delete() * operations can directly support Spring container I am sending links to you where u can find the solution regarding your query: Hibernate SessionFactory Can anyone please give me an example of Hibernate SessionFactory? Hi friend,package roseindia;import... = sessionFactory.openSession(); String SQL_QUERY ="from Procedure proced" Complete Hibernate 4.0 Tutorial Hibernate Update Query Hibernate Delete Query Hibernate insert Query Hibernate polymorphic Queries... Hibernate Query Language (HQL) Introduction To Hibernate Query Update Query | Hibernate Delete Query | Introduction to Hibernate Query... Clause | HQL Select Clause | Hibernate Count Query | Hibernate Avg... Group By Clause | HQL Order By | Hibernate Criteria Query | Narrowing Hibernate Architecture , insert, update and delete the records in the table. Hibernate automatically creates the query to perform these operations. Hibernate architecture has three main... of the variables of that object and executes the necessary query. delete delete how delete only one row in the database using jsp.database...); String query = "select * from employee"; st = con.createStatement(); ResultSet rs = st.executeQuery(query); %> <% while(rs.next()){ %> <tr>< hibernate - Hibernate Hibernate; import org.hibernate.Session; import org.hibernate.*; import..._QUERY ="Select Branches.branch_id from Branches branches"; Query query = session.createQuery(SQL_QUERY); for(Iterator it=query.iterate();it.hasNext query language - Understand the Hibernate native query language Hibernate native query - What is native query in Hibernate... in Hibernate with examples. Hibernate Native query with many examples What is the exact difference between HQL query and Criteria and the differences between the two Hibernate Query Checker Hibernate Query Checker How in Hibernate. We can control that programmer should not make query which hang the system. Like table having more the 20 million of data. Query must have where clause Delete a column Delete a column In this section, you will learn how to delete a column from database table...") @NamedQueries({ @NamedQuery(name="readAllRecords",query="SELECT st FROM Student what is hibernate flow hibernate hibernate what is hibernate listeners Update Query Hibernate Update Query  ... a row of the insurance table. Here is the code of delete query... by retrieving data from the underlying database using the hibernate. Lets first Hibernate 4.2 Tutorial . Hibernate Session.delete() Example - Learn how to delete the entity using Hibernate. Hibernate Criteria Query: Tutorial and many examples of Hibernate Criteria Query - The Hibernate Criteria Query allows select query using hibernate select query using hibernate Hi, can any one tell me to select records from table using hibernate. Thanks Please visit the following link: Hibernate Tutorials The above link will provide you different Hibernate Query Language Hibernate Query Language Explain Hibernate Query Language(HQL) of Hibernate? Hi Samar, Hibernate Query Language is a library for mapping relational database to java classes. It is similar in visual aspect to SQL display sql query in hibernate display sql query in hibernate If you want to see the Hibernate generated SQL statements on console, what should we do - Framework Hibernate hi..... how i insert,update,delete data to Insurence table using nativesql query.i m not getting the code. thnx I want to learn how to use hibernate framework in web application . for storing database in our application Delete All Records (); Query query=em.createQuery("DELETE FROM Student st"); int...:WARN Please initialize the log4j system properly. Hibernate: delete from... Delete All Records   Hibernate beginner tutorial handling functions. Hibernate initial function is to provide the data query... to delete the entity using Hibernate. Above tutorials will help you... use its data query maximum way and thus by using the Hibernate in the ongoing Hibernate Native SQL Example create, update, delete and select. Hibernate Native Query also supports stored procedures. Hibernate allows you to run Native SQL Query for all the database...; invested amount: /*Hibernate Native Query Average Examle*/ String sql =" What is Hibernate Query Language (HQL)? What is Hibernate Query Language (HQL)? Hi, What is Hibernate Query Language (HQL)? Query In this lesson we will show how to delete... object/relational persistence and query service for Java. Hibernate lets you.... The Hibernate Query Language, designed as a "minimal" object-oriented code - Hibernate Hibernate code how to write hql query for retriveing data from multiple tables how to debug parameters in the hibernate query how to debug parameters in the hibernate query how to debug parameters in the hibernate query Advertisements If you enjoyed this post then why not add us on Google+? Add us to your Circles
http://roseindia.net/tutorialhelp/comment/97131
CC-MAIN-2015-32
refinedweb
1,168
50.33
STINNER Victor <victor.stinner at haypocalc.com> added the comment: have_mbcs.patch: use HAVE_MBCS define instead of different tests to check if the MBCS codec can be used or not. HAVE_MBCS is defined in unicodeobject.h by: #if defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T) # define HAVE_MBCS #endif > > We should just check that we are compiling under Windows: > -1, see above. In the long run, it would be really good if Python > supported a four-byte Py_UNICODE on Windows - people keep asking > for it. MBCS functions of the Python API are always available on Windows without my patch. I don't know if it's correct or not. Using my patch, they are not available if HAVE_USABLE_WCHAR_T is not defined. Support 32 bits Py_UNICODE on Windows requires a lot of work because in *many* places (everywhere?) Py_UNICODE* is used as wchar_t*. But it is not the topic of this issue :-) ---------- Added file: _______________________________________ Python tracker <report at bugs.python.org> <> _______________________________________
https://mail.python.org/pipermail/python-bugs-list/2011-June/141562.html
CC-MAIN-2017-04
refinedweb
158
76.93
#include <deal.II/grid/manifold_lib.h> A mapping class that extends curved boundary descriptions into the interior of the computational domain. The outer curved boundary description is assumed to be given by another manifold (e.g. a polar manifold on a circle). The mechanism to extend the boundary information is a so-called transfinite interpolation. The use of this class is discussed extensively in step-65. The formula for extending such a description in 2D is, for example, described on Wikipedia. Given a point \((u,v)\) on bounding vertices bounding the image space and \(\bf c_0, \bf c_1, \bf c_2, \bf c_3\) are the four curves describing the lines of the cell. If a curved manifold is attached to any of these lines, the evaluation is done according to Manifold::get_new_point() with the two end points of the line and appropriate weight. In 3D, the generalization of this formula is implemented, creating a weighted sum of the vertices (positive contribution), the lines (negative), and the faces (positive contribution). This manifold is usually attached to a coarse mesh and then places new points as a combination of the descriptions on the boundaries, weighted appropriately according to the position of the point in the original chart coordinates \((u,v)\). This manifold should be preferred over setting only a curved manifold on the boundary of a mesh in most situations as it yields more uniform mesh distributions as the mesh is refined because it switches from a curved description to a straight description over all children of the initial coarse cell this manifold was attached to. This way, the curved nature of the manifold that is originally contained in one coarse mesh layer will be applied to more than one fine mesh layer once the mesh gets refined. Note that the mechanisms of TransfiniteInterpolationManifold are also built into the MappingQGeneric class when only a surface of a cell is subject to a curved description, ensuring that even the default case without this manifold gets optimal convergence rates when applying curved boundary descriptions. If no curved boundaries surround a coarse cell, this class reduces to a flat manifold description. To give an example of using this class, the following code attaches a transfinite manifold to a circle: In this code, we first set all manifold ids to the id of the transfinite interpolation, and then re-set the manifold ids on the boundary to identify the curved boundary described by the polar manifold. With this code, one gets a really nice mesh: which is obviously much nicer than the polar manifold applied to just the boundary: This manifold is used in a few GridGenerator functions, including GridGenerator::channel_with_cylinder. In the implementation of this class, the manifolds surrounding a coarse cell are queried repeatedly to compute points on their interior. For optimal mesh quality, those manifolds should be compatible with a chart notion. For example, computing a point that is 0.25 along the line between two vertices using the weights 0.25 and 0.75 for the two vertices should give the same result as first computing the mid point at 0.5 and then again compute the midpoint between the first vertex and coarse mid point. This is the case for most of the manifold classes provided by deal.II, such as SphericalManifold or PolarManifold, but it might be violated by naive implementations. In case the quality of the manifold is not good enough, upon mesh refinement it may happen that the transformation to a chart inside the get_new_point() or get_new_points() methods produces points that are outside the unit cell. Then this class throws an exception of type Mapping::ExcTransformationFailed. In that case, the mesh should be refined before attaching this class, as done in the following example: Definition at line 959 of file manifold_lib.h. Constructor. Definition at line 1583 of file manifold_lib.cc. Destructor. Definition at line 1594 of file manifold_lib.cc. Make a clone of this Manifold object. Implements Manifold< dim, spacedim >. Definition at line 1604 of file manifold_lib.cc. Initializes the manifold with a coarse mesh. The prerequisite for using this class is that the input triangulation is uniformly refined and the manifold is later attached to the same triangulation. Whenever the assignment of manifold ids changes on the level of the triangulation which this class was initialized with, initialize() must be called again to update the manifold ids connected to the coarse cells. Definition at line 1616 of file manifold_lib.cc. Return the point which shall become the new vertex surrounded by the given points surrounding_points. weights contains appropriate weights for the surrounding points according to which the manifold determines the new point's point is then computed according to the weights. Finally, it is pushed forward to the real space according to the transfinite interpolation. Reimplemented from Manifold< dim, spacedim >. Definition at line 2515 of file manifold_lib.cc. Compute a new set of points that interpolate between the given points surrounding_points. weights is a table with as many columns as surrounding_points.size(). The number of columns in weights must match the length of new points are then computed according to the weights. Finally, the is pushed forward to the real space according to the transfinite interpolation. The implementation does not allow for surrounding_points and new_points to point to the same vector, so make sure to pass different objects into the function. Reimplemented from Manifold< dim, spacedim >. Definition at line 2535 of file manifold_lib.cc. Internal function to identify the most suitable cells (=charts) where the given surrounding points are located. We use a cheap algorithm to identify the cells and rank the cells by probability before we actually do the search inside the relevant cells. The cells are sorted by the distance of a Q1 approximation of the inverse mapping to the unit cell of the surrounding points. We expect at most 20 cells (it should be up to 8 candidates on a 3D structured mesh and a bit more on unstructured ones, typically we only get two or three), so get an array with 20 entries of a the indices cell->index(). Definition at line 2166 of file manifold_lib.cc. Finalizes the identification of the correct chart and populates chart_points with the pullbacks of the surrounding points. This method internally calls get_possible_cells_around_points(). Return an iterator to the cell on which the chart is defined. Definition at line 2253 of file manifold_lib.cc. Pull back operation into the unit coordinates on the given coarse cell. This method is currently based on a Newton-like iteration to find the point in the origin. One may speed up the iteration by providing a good initial guess as the third argument. If no better point is known, use cell->real_to_unit_cell_affine_approximation(p) Definition at line 2015 of file manifold_lib.cc. Push forward operation. Definition at line 1965 of file manifold_lib.cc. Gradient of the push_forward method. Definition at line 1986 of file manifold_lib.cc. The underlying triangulation. Definition at line 1120 of file manifold_lib.h. The level of the mesh cells where the transfinite approximation is applied, usually level 0. Definition at line 1126 of file manifold_lib.h. In case there all surrounding manifolds are the transfinite manifold or have default (invalid) manifold id, the manifold degenerates to a flat manifold and we can choose cheaper algorithms for the push_forward method. Definition at line 1133 of file manifold_lib.h. A flat manifold used to compute new points in the chart space where we use a FlatManifold description. Definition at line 1139 of file manifold_lib.h. The connection to Triangulation::signals::clear that must be reset once this class goes out of scope. Definition at line 1145 of file manifold_lib.h.
https://dealii.org/developer/doxygen/deal.II/classTransfiniteInterpolationManifold.html
CC-MAIN-2020-10
refinedweb
1,279
54.93
Created on 2010-07-23 10:46 by bethard, last changed 2018-12-04 00:12 by kernc. [From the old argparse tracker:] You can't follow a nargs='+' optional argument with a positional argument: >>> import argparse >>> parser = argparse.ArgumentParser(prog='PROG') >>> parser.add_argument('--badger', nargs='+') >>> parser.add_argument('spam') >>> parser.parse_args('--badger A B C D'.split()) usage: PROG [-h] [--badger BADGER [BADGER ...]] spam PROG: error: too few arguments Ideally, this should produce: >>> parser.parse_args('--badger A B C D'.split()) Namespace(badger=['A', 'B', 'C'], spam='D') The problem is that the nargs='+' causes the optional to consume all the arguments following it, even though we should know that we need to save one for the final positional argument. A workaround is to specify '--', e.g.: >>> parser.parse_args('--badger A B C -- D'.split()) Namespace(badger=['A', 'B', 'C'], spam='D') The problem arises from the fact that argparse uses regular-expression style matching for positional arguments, but it does that separately from what it does for optional arguments. One solution might be to build a regular expression of the possible things a parser could match. So given a parser like:: parser = argparse.ArgumentParser() parser.add_argument('-w') parser.add_argument('-x', nargs='+') parser.add_argument('y') parser.add_argument('z', nargs='*') the regular expression might look something like (where positionals have been replaced by the character A):: (-w A)? (-x A+)? A (-w A)? (-x A+)? A* (-w A)? (-x A+)? Note that the optionals can appear between any positionals, so I have to repeat their regular expressions multiple times. Because of this, I worry about how big the regular expression might grow to be for large parsers. But maybe this is the right way to solve the problem. This is definitely a different bug from the one you just marked it as a duplicate of. I read too fast, I’m sorry for that. Here's a unit test for the simplest cases. Looks good to me. Do you want to propose a code patch too, and/or more tests for non-simple cases? My attached patch adds the "--" between the optionals and the arguments, if there are optionals which have variable length and at least some positional argument can be provided. Patch is for python 3.2 svn revision 86553. Patch looks good, thanks! Does it integrate Catherine’s tests? is there a chance to fix this issue? There is. Someone wanting to help could reply to the question I asked :) So Kotan's patch doesn't actually solve the original problem. Instead, it inserts the workaround into the help message of the parser. I think this is probably not the right fix. We should probably do two things: (1) Right now: create a documentation patch which at least explains the current limitations of argparse parsing, and describes the '--' workaround. Probably this patch should add a separate section about '--', give an example like the one in this issue, and then cross-reference this section from nargs='?', nargs='*', nargs='+' and the "Arguments containing -" section. (2) Longer term: create a code patch that implements the changes to the regular expression-based parsing like I've suggested. And I guess Issue 9182 is the right place for (1). I've played a bit the idea that barthard sketched. I don't have all the details worked out, but I believe this is what will happen: With parser = argparse.ArgumentParser() parser.add_argument('-w') parser.add_argument('-x', nargs='+') parser.add_argument('y') parser.add_argument('z', nargs='*') some possible parses are '-w 1 -x 2 3 4 5', # w:1, x:[2,3,4], y:5, z:[] - # fail + '-w 1 2 -x 3 4 5', # w:1, y:2, x:[3 4 5], z:[] + '-w 1 -x 2 3', # w:1, x:[2], y:3, z:[] - # fail + '-x 1 2 -w 3 4 5 6', # w:3, x:[1,2], y:4, z:[5,6] + # w:3, x:[1], y:2, z:[4,5,6] - '-x 1 2 3 4 -w 5 6 7', # w:5, x:[1,2,3,4], y:5, z:[7] + # w:5, x:[1,2,3], y:4, z:[6,7] - '1 2 3 -x 4 5 -w 6', # w:6, x:[4,5], y:1, z:[2,3] + '+' lines are those currently produced '-' lines are ones that would be produced by these ideas '-w 1 -x 2 3 4 5' is the protypical problem case. The current parser allocates all [2,3,4,5] to -x, leaving none for y, thus failing. So desired solution is to give 5 to y, leaving -x with the rest. '-x 1 2 -w 3 4 5 6' is a potentially ambiguous case. The current parser lets -x grab [1,2]; y then gets 4, and z the remainder. But the alternative is to give 2 to y, leaving -x with just [1]. In this case arg_strings_pattern = 'OAAOAAAA' replacing the Os with the option flags: '-xAA-wAAAA' I match this with a refined version of bethard's regex: pat1='((?:-wA)|(?:-xA+)|(?:-wA-xA+)|(?:-xA+-wA))' pat = _re.compile('%s?(?P<y>A)%s?(?P<z>A*)%s?'%(pat1,pat1,pat1)) groups (without the Nones) and groupdict are ['-xA', 'A', '-wA', 'AAA'] {'z': 'AAA', 'y': 'A'} So this does effectively give y the 2nd argument, leaving -x with just the 1st. The current parser effectively groups the arguments as ['-xAA, '-wA', 'A', 'AA'] In the real world, generating and apply a global pattern like this could get complicated. For example there are long option names ('--water'), and combined argument strings ('-x1', '-x=1'). I need to make one correction to my last post: '-x 1 2 -w 3 4 5 6', # w:3, x:[1,2], y:4, z:[5,6] + # w:3, x:[1], y:2, z:[4,5,6] - The second solution is only possible if 'z' is not consumed when 'y' is being processed. In current version, if consume_positionals() is called with a 'AOAAAA' pattern, 'y' will match the first 'A', and 'z' will match ''. That means '4 5 6' will be left over. It's only when I use the patch in (argparse doesn't allow optionals within positionals) that the processing 'z' is delayed, so it can get [4,5,6]. So at least with the 4 arguments in this example, bethard's idea only seems to make a difference in the case of '-w 1 -x 2 3 4 5', where 'y' lays claim to the last string, and '-x' gets the rest. This patch implements, I think, the ideas bethard proposed. It is test patch, not intended for production. Most of work is in ArgumentParser._get_alt_length() which - generates a pattern along the lines bethard proposed - generates a string like arg_strings_pattern, but with optionals strings ('-x') instead of 'O'. - runs a match - from groups like '-xAAA', creates dict entries like: alt_opt_length['x'] = 3 Later, in consume_optionals(), this alternative count replaces arg_count if it is lower. The next consume_positionals() then takes care of consuming the unconsumed arguments. If _get_alt_length() has any problems, it logs an error, and returns an otherwise empty dict. So it 'fails' quietly without affecting regular parsing. Reasons for failing include (for now) the use of subparsers, optionals with explicit args, and special prefix_chars. With exclusions like this, test_argparse.py runs without errors or failures. Since this is still a testing vehicle, it writes an issue9338.log file with debugging entries. This version works, but is both not sufficiently general and too general. As bethard notes, the testing pattern could get very large if there are many optionals. Ideally the pattern will allow the optionals in any order and combination between positionals. The ambiguities that I discussed in the previous 2 posts disappear if the patching pattern is sufficiently general. But I also suspect it is too general. It does not need to match every case, just those where an optional is consuming arguments that should go to a positional. But if we come up with something more specific, this could still be a useful testing tool. This is a test file for the patch I just submitted. It is not a formal unitttest, but uses print output as much as assert. Cases include the example bethard used, as well as ones from test_argparse.py that initially caused problems. Here's another approach to the problem, using an iterative localized search. For simple cases it produces the same thing, but in complex cases it is more robust. It is based on two ideas: - if the action in consume_optional() is being 'greedy', use slots = self._match_arguments_partial([action]+positionals, selected_patterns) to determine if this action can share arguments with any of the remaining positionals. This is similar to how consume_positionals() allocates arguments to the set of positionals. - try this 'sharing' with the last optional. If that is not enough, try the penultimate optional as well, and continue working toward the start as needed. Since the normal parsing is from left to right, figuring out when to start 'sharing' requires some sort of search strategy. I have moved the start_index loop into a consume_loop() function, and added a switch so it can parse the arguments without invoking take_action() (so arguments are not evaluated, and namespace is not changed). If there is a suspected 'greed' problem, consume_loop() is called (in test mode) one or more times to determine the right-most optionals to use, and once more (with take_action) to parse and evaluate the arguments. As in the previous patch this writes a log file for debugging purposes. test_argparse.py now has a number of tests for this issue. It is more robust than the previous patch, and does not need special handling for things like subparsers and explicit arguments. Oops, I attached the wrong file. Here's the correct one. I ran into this bug the first time I needed nargs + in a tool. I found of course that if the option with the nargs is followed by another option before the positional arguments it will work as expected. But then the help would have to point this out, and it still could be used incorrectly (so then I get a mail about a bug in my tool.) ;-)> My workaround was to use action=append instead of nargs, then user would just have to give the option for each nargs desired. Since my use would be short this was OK. But the usage message does not reflect the multiple use nature of this option But what I expected to find in the doc was a way to specify the use of a separator char between the nargs option arguments. For example specify that ',' is the separator arg (currently a space is the separator.) So if option is -foo the cli could be: myprog.py -foo bar1,bar2,bar3 pos1 pos2 (Of course I could just have the tool take a comma delimited single argument and parse it in the tool's logic, but again then a custom usage message would be needed.) Has this solution been considered? parse". breaks one test that I added to issue +class TestPositionalsAfterOptionalsPlus(ParserTestCase): + """Tests specifying a positional that follows an arg with nargs=+ + + prototypical problem""" + + argument_signatures = [ + Sig('-w'), + Sig('-x', nargs='+'), + Sig('y', type=int), + Sig('z', nargs='*', type=int)] + failures = ['1 -x 2 3 -w 4 5 6' # error: unrecognized arguments: 5 6 + # z consumed in 1st argument group '1' + ] This no longer fails. Due to 15112, z=[5,6]. That is, it is no longer consumed by the 1st argument group. Recent StackOverFlow question related to this issue - where the following positional is a subparsers. Is there any chance this will ever get fixed? Patches have been available for 5 years with no progress.
https://bugs.python.org/issue9338
CC-MAIN-2019-30
refinedweb
1,951
64
Following: root@w:~/tmp# host -t a 9.252.76.144.zen.spamhaus.org 9.252.76.144.zen.spamhaus.org has address 127.0.0.4 IP 144.76.252.9 IS listed at zen.spamhaus.org. We can now query the TXT record to find out any accompanying data that zen.spamhaus.org provides: root@w:~/tmp# host -t txt 9.252.76.144.zen.spamhaus.org 9.252.76.144.zen.spamhaus.org descriptive text "" Moving on.. we can now implement these tests programatically within Python. Here’s a commented example: import dns.resolver bl = "zen.spamhaus.org" myIP = "144.76.252.9" try: my_resolver = dns.resolver.Resolver() #create a new resolver query = '.'.join(reversed(str(myIP).split("."))) + "." + bl #convert 144.76.252.9 to 9.252.76.144.zen.spamhaus.org answers = my_resolver.query(query, "A") #perform a record lookup. A failure will trigger the NXDOMAIN exception answer_txt = my_resolver.query(query, "TXT") #No exception was triggered, IP is listed in bl. Now get TXT record print 'IP: %s IS listed in %s (%s: %s)' %(myIP, bl, answers[0], answer_txt[0]) except dns.resolver.NXDOMAIN: print 'IP: %s is NOT listed in %s' %(myIP, bl) This code produces output: IP: 144.76.252.9 IS listed in zen.spamhaus.org(127.0.0.4: "") Finally, we can implement multiple blocklists and have the script accept command line input: import dns.resolver import sys bls = ["zen.spamhaus.org", "spam.abuse.ch", "cbl.abuseat.org", "virbl.dnsbl.bit.nl", "dnsbl.inps.de", "ix.dnsbl.manitu.net", "dnsbl.sorbs.net", "bl.spamcannibal.org", "bl.spamcop.net", "xbl.spamhaus.org", "pbl.spamhaus.org", "dnsbl-1.uceprotect.net", "dnsbl-2.uceprotect.net", "dnsbl-3.uceprotect.net", "db.wpbl.info"] if len(sys.argv) != 2: print 'Usage: %s <ip>' %(sys.argv[0]) quit() myIP = sys.argv[1] for bl in bls: try: my_resolver = dns.resolver.Resolver() query = '.'.join(reversed(str(myIP).split("."))) + "." + bl answers = my_resolver.query(query, "A") answer_txt = my_resolver.query(query, "TXT") print 'IP: %s IS listed in %s (%s: %s)' %(myIP, bl, answers[0], answer_txt[0]) except dns.resolver.NXDOMAIN: print 'IP: %s is NOT listed in %s' %(myIP, bl) This produces the following output: root@w:~/tmp# ./bl.py 144.76.252.9 IP: 144.76.252.9 IS listed in zen.spamhaus.org (127.0.0.4: "") IP: 144.76.252.9 is NOT listed in spam.abuse.ch IP: 144.76.252.9 IS listed in cbl.abuseat.org (127.0.0.2: "Blocked - see") IP: 144.76.252.9 is NOT listed in virbl.dnsbl.bit.nl IP: 144.76.252.9 is NOT listed in dnsbl.inps.de IP: 144.76.252.9 IS listed in ix.dnsbl.manitu.net (127.0.0.2: "Your e-mail service was detected by mx.selfip.biz (NiX Spam) as spamming at Sat, 22 Nov 2014 11:17:11 +0100. Your admin should visit") IP: 144.76.252.9 IS listed in dnsbl.sorbs.net (127.0.0.6: "Currently Sending Spam See:") IP: 144.76.252.9 is NOT listed in bl.spamcannibal.org IP: 144.76.252.9 IS listed in bl.spamcop.net (127.0.0.2: "Blocked - see") IP: 144.76.252.9 IS listed in xbl.spamhaus.org (127.0.0.4: "") IP: 144.76.252.9 is NOT listed in pbl.spamhaus.org IP: 144.76.252.9 IS listed in dnsbl-1.uceprotect.net (127.0.0.2: "IP 144.76.252.9 is UCEPROTECT-Level 1 listed. See") IP: 144.76.252.9 is NOT listed in dnsbl-2.uceprotect.net IP: 144.76.252.9 is NOT listed in dnsbl-3.uceprotect.net IP: 144.76.252.9 IS listed in db.wpbl.info (127.0.0.2: "Spam source -") I wrote a small script for DNSBL checking that also uses dnspython: Looking at your example I have 2 comments: 1) You can miss some listing in cases where the A query succeeds but the TXT one fails with NXDOMAIN. RFC 5782 states that a list should have TXT – but there is no guarantee – and a MTA/psam-check-app likely just cares about the A one. 2) dnspython also provides a method for reversing the address -example: str(dns.reversename.from_address(‘127.0.0.1’).split(3)[0]) Advantage: also works for IPv6 addresses. Thank you for sharing Georg!
https://www.adampalmer.me/iodigitalsec/2014/11/22/dns-black-list-rbl-checking-in-python/
CC-MAIN-2019-18
refinedweb
730
64.88
In a series of recent columns, Stanley B. Lippman has been working through the design of a software simulation of a mouse (EEK!) and its environment using the resources of the Microsoft .NET Framework and C++/CLI, the revised C++ language binding to .NET that was introduced in Visual Studio 2005. In the October installment of Netting C++, Stan looked at how EEK! can be initialized using an XML world description file and the facilities of the System::XML and System::Data namespaces. In this issue, Stan shows you the beginnings of the actual Mouse class design. If you want to keep following Stan's progress through this project, check out the archive of Netting C++ columns and subscribe to the Netting C++ RSS feed.
http://blogs.msdn.com/b/msdnmagazine/archive/2007/12/04/6657336.aspx
CC-MAIN-2014-23
refinedweb
125
66.33
jdbc - JDBC jdbc import java.sql.*; public class MysqlConnect{ public static void main(String[] args) { System.out.println("MySQL Connect Example."); Connection conn = null; String url = "jdbc:mysql://localhost:3306 jdbc - JDBC [] args) { System.out.println("MySQL Connect Example."); Connection conn = null; String url = "jdbc:mysql://localhost:3306/"; String dbName...jdbc How to do connectivity with java? Hi friend JDBC - JDBC MysqlConnect{ public static void main(String[] args) { System.out.println("MySQL Connect Example."); Connection conn = null; String url = "jdbc:mysql... ILLUSTRATIONS to understand the way to do work in JDBC with syntaxes Hi....... i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design... enter in my frame should reach mysql and should get saved in a database which we've Mysql & java - JDBC Mysql & java Hi guys, please help! I'm new to mysql, I want...) { System.out.println("MySQL Connect Example."); Connection conn = null; String url = "jdbc:mysql://localhost:3306/"; String dbName My sql - JDBC My sql hi, I have a table in MySql, having fields, emp_id,emp_name... out. i need insert and update queries. Hi friend, For J = null; String url = "jdbc:mysql://localhost:3306/"; String db... information on JDBC-Mysql visit to :... through the application. my doubts are, 1)how to create table with n number can't connect to MySQL Server(10060) - JDBC can't connect to MySQL Server(10060) Hii Sir, I am working with a jsp project with MySQL as server. Now i want to host my application. I am... and the DB username and Password. Actually i am tried for that but i got an error above JDBC - JDBC implementing class. Hi friend, Example of JDBC Connection with Statement... void main(String[] args) { System.out.println("Inserting values in Mysql database table!"); Connection con = null; String url = "jdbc:mysql tables in a database Hi friend, To count the number of table in a database System.out.println("MySQL Connect Example."); Connection conn = null; String url = "jdbc:mysql://localhost:3306/"; String dbName... thank y sir Hi friend, Please implement following code. import jdbc - JDBC Example!"); Connection con = null; String url = "jdbc:mysql://localhost...; String url = "jdbc:mysql://192.168.10.211:3306/amar"; String driver...){ e.printStackTrace(); } } } Hi, package javacode; import java.sql. = DriverManager.getConnection("jdbc:mysql://localhost:3306/register","root";, "root"); Statement st...").newInstance(); Connection connection = DriverManager.getConnection("jdbc:mysql...hi i want to develop a online bit by bit examination process java - JDBC for database connectivity: hello! friends.I am doing my final year project, for which i have to use JDBC and oracle. plz send the details for connecting "java exception at runtime - JDBC []) { System.out.println("MySQL Connect Example."); Connection con = null; String url = "jdbc:mysql://localhost:3306/"; String dbName = "bank"; String... thanks in advance Hi Friend, Use mysql-connector-java-5.0.5.jar file java runtime exception - JDBC java.sql.*; public class MysqlConnect { public static void main(String args[]) { System.out.println("MySQL Connect Example."); Connection con = null; String url = "jdbc:mysql://localhost:3306 install mysql - JDBC install mysql i want to connect with mysql database.can i install mysql on local system please send me link how download mysql Hi friend, MySQL is open source database and you can download and install it on your error - JDBC (); } } } i wrote any jdbc program .it won't work in my system. but it is complied i...; Hi friend, Please add mysql connector jar file. Read for more...,i got a errors d:temp> java DBConnect db Connect Example connectivity - JDBC connectivity I hav MySQL 5.0, JDK 1.5, Tomcat 5.0 in my system when I tried to connect to database and insert data it is showing exeception........ thanks in advace to those who gonna help me........ Hi friend JDBC ("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql...); } } In the above code, the values of i and j are function arguments. import MySql ClassNotFoundException - JDBC ; Hi Friend, Add mysql-connector-java-5.0.5.jar file. Thanks...MySql ClassNotFoundException Dear sir, i am working in Linux platform with MySQL database , actually i finished all installation in MySQL & java - JDBC "; public static final String DB_URL="jdbc:mysql://localhost:3306/link_db... above class object Hi friend, The Singleton design pattern ensures...java Hi ,do anybody know how to implement database connection using database connectivity - JDBC database connectivity example java code for connecting Mysql database using java Hi friend, Code for connecting Mysql database using... main(String[] args) { System.out.println("MySQL Connect Example java.Sql - JDBC .... Tell me some method to avoid this problem with an example (Use my code...:// Thanks Hi friend, Read for more...java.Sql Hai Friend, In my program i have sql statement like Connectivity with sql in detail - JDBC . Thankyou. Hi Friend, Put mysql-connector...) { System.out.println("MySQL Connect Example."); Connection conn = null; String url = "jdbc:mysql://localhost:3306/"; String dbName jdbc - JDBC ...? if u replyed its very useful for me... Hi, Please read JDBC tutorial at Thanks Hi, You..."); Read at Thanks Jdbc RowSet (RowSetTest.java:16) plz find above problem............ hi, friend I think you... number in my example row number 4. So provide the valid row number. import...Jdbc RowSet import java.sql.*; import javax.sql.*; import JDBC - JDBC me please.... Hi friend, For mysql you embed the jar "mysql...:// Thanks...JDBC JDBC driver class not found:com.mysql.jdbc.Driver..... Am jdbc - Java Beginners jdbc how to run my first jdbc program? Hi anu, For running jdbc on Mysql, first u have to create a table in SQL. You can refer the following example. hope java - JDBC ; String url = "jdbc:mysql://192.168.10.211:3306/"; String db = "amar... numbrer in msaccess and make a text boxes in awt takes the above mentioned two...;Hi friend, import java.sql.*; import java.math.*; import javax.swing. java error - JDBC ? import java.sql.*; public class MysqlConnect{ public static void main(String[] args) { System.out.println("MySQL Connect Example."); Connection conn = null; String url = "jdbc:mysql://localhost:3306/"; String dbName Jdbc Question Jdbc Question Hi. In Jdbc, if i am pointing to the database of some other machine, i mean instead of local-host i give the ip of that machine and that machine is shut down, Will my connection still work hi - JDBC jdbc connectivity steps java Need steps for JDBC Connectivity. Thanks hi - JDBC JDBC connection pool What is connection pooling in JDBC hi hi I have connected mysql with jsp in linux and i have used JDBC connectivity but when i run the program, its not working the program is displaying jdbc question - JDBC (),"jdbc:mysql://localhost/commons",pros); KeyedObjectPoolFactory kopf =new... = java.sql.DriverManager.getConnection("jdbc:apache:commons:dbcp:example"); System.err.println...jdbc question Up to now i am using just connection object for jdbc regarding jdbc - JDBC regarding jdbc how to connect mysql with java example you have... = DriverManager.getConnection("jdbc:mysql://localhost:3306/yourdatabase", "your username", "your... provide me detail explanation Hi friend, Please give the full source JDBC - JDBC "); con = DriverManager.getConnection("jdbc:mysql://192.168.10.211... or columns)? Hi friend, import java.io.*; import java.sql.*; public...:// CLOB example - JDBC ; Hi Friend, In MySql database,TINYTEXT, TEXT, MEDIUMTEXT and LONGTEXT...("com.mysql.jdbc.Driver"); Connection con =DriverManager.getConnection ("jdbc:mysql...CLOB example Hi everybody can u tell me the method to use CL java runtime error: JDBC code - Java Beginners java runtime error: JDBC code Hi i want to insert data into mysql database in my local system. I installed mysql5.0 and using mm.mysql-2.0.4-bin.jar...: Driver:org.gjt.mm.mysql.Driver url: jdbc:mysql://localhostsp fie execution in tomcat and using mysql - JDBC AND SEND REPLY TO MY e-mail AS EARLY AS POSSIBLE Hi Friend... that we used in the JDBC Connection are the MySql username and password.The... and password to enter into the Mysql database account.the other named jdbc - JDBC ("jdbc:mysql://localhost:3306/ram","root","root"); System.out.println("Connect..."); System.out.println(table); con.close(); Hi friend... information. hi! hi! public NewJFrame() { initComponents(); try { Class.forName("java.sql.Driver"); con=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","admin"); } catch(Exception e Training, Learn JDBC yourself an example from JDBC Next. JDBC Mysql Connection Url The Tutorial... with MySQL JDBC MySQL Tutorial JDBC Tutorials with MySQL Database.... Servlet Example To Display Mysql Clob Data Visual web JSF - JDBC jsf managed bean code i tried but the data is inserting in mysql that is null...; } RequestBean1.java String username; String url="jdbc:mysql://localhost... url="jdbc:mysql://localhost:3306/online research framework and library"; Plz Update - JDBC :// Thanks  ...Update Hi all, I'm having problems updating a column in a table...("jdbc:odbc:Biu"); stat = con.prepareStatement("Update Biu SET itemcode JDBC-SERVLET that datasource name in url like jdbc:odbc:msdsn i tried the program...JDBC-SERVLET *while doing connectivity of jdbc with servlet I m.... ***********My code is******** <html> <body> <form action="servlet... static void main(String[] args) { System.out.println("MySQL Connect Example."); Connection con = null; String url = "jdbc:mysql://192.168.10.211< jdbc - Java Beginners is: Expert:Jagadeesh To connect java with mysql database i used the proper class... error". Is there any steps to connect mysql with java before running. ---Answers Hello friend inside your project set the class path where your mysql connector JDBC Tutorial - Writing first JDBC example and running in Eclipse in the video above. Step 2: Download the JDBC driver for MySQL. You can...How to create your first JDBC Example? Beginners in JDBC will first learn how... operation. In this example on roseindia.net website we are using the MySQL java - JDBC = DriverManager.getConnection("jdbc:mysql://localhost:3306/test", "root", "root"); Statement st...java how to write the records into simple text file from MySql database table (i learnt from an example in this website how to read the records java - JDBC (jdbc)).... please......It's very important and urgent.... Hi...java hello! freinds. In my project i have to send the result... to that field has to updated to the same page at the client-side. for example: in filling java - JDBC = "jdbc:mysql://localhost:3306/"; String dbName = "register"...Connection Database extends HTTP Servlets In my code.. an error occurs while creating Connection Database extends HTTP Servlets hi jdbc code - JDBC jdbc code are jdbc code for diferent programs are same or different?please provide me simple jdbc code with example? Hi Friend, Please visit the following link: Here you Swings and JDBC ("com.mysql.jdbc.Driver"); con = DriverManager.getConnection("jdbc:mysql://localhost/vinay...("jdbc:mysql://localhost/vinay", "root", "admin"); if(con!=null...Swings and JDBC Hi.. I am vinay.. I am developing a small java - JDBC java java code for retrive images from mysql database through jFrame Hi Friend, Try the following code: import java.sql.*; import...("com.mysql.jdbc.Driver").newInstance(); Connection con = DriverManager.getConnection("jdbSP - JDBC JSP Store Results in Integer Format JSP Example Code that stores the result in integer format in JSP Hi! Just run the given JSP Example...;/b></td><% Connection con = null; String url = "jdbc:mysql insertuploadimahe - JDBC data to databse. I'm using netbeans ide to create this example and enterprisedb to as my database and glassfish v2 as my application server. Sample table script below.(this script may vary if you use other data base such as oracle ,mysql   java How to disable the "back" button in the web page? It's very important to my project. Hi friend, Technically cannot disable...'); //***Get what is above onto one line*** self.close() } Click servlets and jsp - JDBC servlets and jsp I want to display textboxes dynamically in my page... text boxes for getting input for +2, UG marks and UG marks For all the above the Name, Address, tel no fields are common. For example, If I compilation error - JDBC jdbc compilation error java.lang.Exception: Problem in call_select when i am executing the program i am getting the above error. how can i resolve it? Hi friend, plz specify in detail and send me code hey sir i just wanna have some ppt on jdbc coz have my exams next week and i have not attended any classes coz of job... I m studyng frm ni Advertisements If you enjoyed this post then why not add us on Google+? Add us to your Circles
http://www.roseindia.net/tutorialhelp/comment/11101
CC-MAIN-2015-27
refinedweb
2,081
52.46
I heard you like Promises! You should like them; they are awesome. I assume you are here because you have heard of something even more awesome and want to know more. In this small two-part post series, we’ll explore RxJS Observable with hints from your existing knowledge of JavaScript Promise. We’ll see how Observable can be used in places where you might be (incorrectly) using Promise now; we’ll understand what an Observable is, how similar/different from Promise it is; and we’ll see how Promise and Observable are actually best friends in disguise. For our journey we’ll build a small app we will call “Code like Chuck Norris app.” It’s a ludicrously small/simple app, which will just show quotes about Chuck Norris and programming. Our real objective is to get inspired from Chuck Norris and eventually become a better coder. For that we need to get the Chuck Norris inspirational quotes. We’ll do so by requesting quotes from the holy ICNDB. We’ll use superagent for making requests. It’s a really simple library that allows making Ajax requests from both Node.js and the browser. For starters, let’s turn that console in your browser to an inspirational one. Here’s our first test run: import superagent from 'superagent'; let apiUrl; apiUrl = `[nerdy,explicit]`; superagent .get(apiUrl) .end((err, res) => { let data, inspiration; data = JSON.parse(res.text); inspiration = data.value.joke; console.log(inspiration); }); Note that we are using ES6. You can check out the live examples on jsbin:. Fear not if you see a blank page opening that link. Just click on the Edit in JsBin button on the top right, and then turn on ES6/Babel and Console tabs in jsbin. Click on the run button to see the code running. Also make sure you have* and not https. You won’t be able to make a request to ICNDB over https. The code is fairly straight-forward. We ask superagent to make a GET request to our apiUrl, and when the request finishes, superagent invokes our callback. We don’t handle the error, parse the response JSON and console.log the inspiration. Now that we know how to get inspired in the console, let’s turn this callback inspiration to promise based inspiration. In this post, we’ll keep building our inspirational app in 2 codebases. Every part that we build, we’ll build it using both Promises and Observables. This will give you a good perspective of how things are done with both approaches. Plus, we are going to create both Promise and Observable from scratch, so to get an idea of how things work under the hood, and to see the similarities and differences between the two. Promise Promises are awesome. I liked them when I first heard of them. I mean, the ability to pass around the asynchronous computations like they are variables, what more can you ask from life?Here’s what our promise-based inspiration looks like ; return resolve(inspiration); }); }); promiscuousInspiration .then((inspiration) => { console.log('Inspiration: ', inspiration); }, (err) => { console.error('Error while getting inspired: ', err); }); For all the power they bring, Promises are simple business. Here we’re using the ES6 native Promise. For creating a new promise we pass the Promise constructor a function that receives two functions: resolve and reject. Inside this function we do our asynchronous work. We execute reject when an error happens, else we execute resolve when the asynchronous job gets its result. And then we can carry this Promise around like a variable, and work with it elsewhere in the program. To use a promise, we use its then method, which takes two callbacks for success and error. Promises can do plenty more than this, but you already know that, right? It’s about time to address the elephant in the room. Let’s create an Observable for the same task and see how it looks. Observable Observables are similar to Promises in that they both represent asynchronous jobs as first class things in Javascript. The similarity doesn’t end here. You can in fact think of an Observable as a Promise that can resolve more than once. Or more aptly, we have the plural of Promise. We’ll come to that later, for now, let’s port our inspirational console to use Observable. JsBin:; observer.onNext(inspiration); observer.onCompleted(); }); return () => { console.log('Release the kraken!'); }; }); reactiveInspiration.subscribe( (inspiration) => { console.log('Inspiration: ', inspiration); }, (error) => { console.error('Error while getting inspired', error); }, () => { console.log('Done getting inspired!'); } ); Observable.create is a helper for creating Observable for a specified subscribe method implementation (we’ll see what that means in a minute). It looks very similar to creating a Promise but there are some differences. Let’s walk over them from bottom up. - reactiveInspiration.subscribe To use the value of a Promise, we use its ‘then‘ method. For using an Observable, the equivalent is its subscribe method. First question that pops to mind is why the weird name? I mean aPromise.then makes perfect sense “when this promise resolves, then do this”. As I hinted above, an Observable is not just a single value. It represents a series of values. You can think of it as a data stream to which we subscribe. - Three callbacks to subscribe The second thing to note is three callbacks being passed to subscribe instead of just two. Again, two callbacks for success and error makes perfect sense, but what is that third one for? Well, Observable is not a single computation that’ll succeed or fail, it is a series. Arrays have an implicit null value that marks the termination of Array, a value that tells the loop (or whatever uses the array) that, “We are done.” Observables are the same as arrays in that they’re a collection, or an asynchronous collection of asynchronous values, but still a collection (actually calling it an Iterable would make more sense but they’re similar enough to be assumed same for this case). A collection needs to tell its consumer when it finishes. That is what third callback does. It’s called onCompleted callback, and it gets invoked when the Observable is completed and will not receive any more values. In our simple example it gets completed right after receiving one value. The other two callbacks are called onNext and onError in that order. Together this trio makes a subscriber of the Observable. We can actually pass an object to the subscribe method with these three methods as keys (JsBin:): reactiveInspiration.subscribe({ onNext: (inspiration) => { console.log('Inspiration: ', inspiration); }, onError: (error) => { console.error('Error while getting inspired', error); }, onCompleted: () => { console.log('Done getting inspired!'); }, }); Implicitly, RxJs will create a Subscriber with the methods we provide and use default for those we don’t provide, but let’s not get technical about it. Now that you know what a subscriber is for an Observable, let’s move up the code and see how to create an Observable from scratch with Observable.create. Observable.create, which creates an Observable from specified subscriber implementation. It’s actually very simple in practice. Observable.create’s callback is given an object as argument, which provides our three favorite methods: onNext, onError, and onCompleted. Just like we do with Promise, we do our asynchronous work in the callback we pass to Observable.create. We call the appropriate callback when the asynchronous job get its value or some error happens, or in the case of Observable, when we are done sending values from the Observable (i.e when the asynchronous job is finished). In our app, the first thing we do is check if the request as resulted in an error. If it does, we call the onError method of the observer we receive in the callback. When we get the value, we call observer.onNext. In our case we are only interested in one value, so we mark our Observable finished right after that by calling onCompleted of the observer. - Release the Kraken? This all was quite similar to the Promise, but what is that function we are returning at the end? It’s a function, which releases all the Krakens you use in your asynchronous operation. All of the resources that you need to get rid of when your Observable need to quit. In our case we don’t have anything we want to get rid of, but there are times when we do. For example, if you haven’t already guessed, we can represent almost any asynchronous operation in JavaScript as an Observable. That includes operations like events (yes including DOM events). The dark art of DOM-events can end up being pretty expensive if we forget to remove the event-listeners. So that’s what we can release in this function. Just imagine how powerful this can end up being. We defined what resources to release right when we started using them! If you can’t yet see the power it delivers, then just trust me on this one (as well). Being able to get rid of potentially expensive resources declaratively with a standard interface is very powerful. We’ll taste a sip of this power in next part of this post. This function can be called the dispose function of the Observable. And the Observable can be said to be implementing the Disposable interface if you’re into those things. The finishing part of the asynchronous operation is the default in case of a Promise. When a promise gets a value or when it meets an error, it is finished. An Observable differs from a Promise only in case of getting a value. The Observable doesn’t finish when we invoke onNext. But for the other part (facing an error), they are the same as Promise. An Observable stops in two situations: - when it receives onCompleted - when it faces an error If any error occurs in the Observable, it stops right there and will not emit any more values unless explicitly asked to do so. It also calls its dispose function when an Observable finishes. So it’s guaranteed that an Observable’s resources will get freed whenever it finishes, naturally or by error. That’s all there is you need to know to get started with Observables. A Promise represents a single asynchronous value, like a regular variable. Observables on the other hand represents a series of asynchronous values, like an array. Laziness The second noticeable difference you might need to know before we move to next part of this tutorial is that Observables are lazy while promises are not. In our example, let’s write a comment in both cases whenever a value is arrived from the API.; console.log('Inspiration has arrived!'); return resolve(inspiration); }); }); // promiscuousInspiration // .then((inspiration) => { // console.log('Inspiration: ', inspiration); // }, (err) => { // console.error('Error while getting inspired: ', err); // }); And let’s do equivalent for Observable part (JsBin:): //in observable.js; console.log('Inspiration has arrived!'); observer.onNext(inspiration); observer.onCompleted(); }); return () => { console.log('Release the Kraken!'); }; }); // reactiveInspiration.subscribe({ // onNext: (inspiration) => { // console.log('Inspiration: ', inspiration); // }, // onError: (error) => { // console.error('Error while getting inspired', error); // }, // onCompleted: () => { // console.log('Done getting inspired!'); // }, // }); Notice that we have commented out the part of the code that actually uses our Promise/Observable. Now if you run the app for both files, you’ll notice that the promise code makes the request and invokes the code (you’ll see a log in console) even though we don’t really use the Promise. The Observable, however, acts as if it doesn’t even exist. This is because Observables are lazy. An Observable won’t execute code until it has at least one subscriber. We can deduce here that a let p = new Promise(…) actually carries the “value” of the promise which was obtained ages ago when the promise was created. On the other hand, an Observable carries the complete computation with it, which is executed on-demand. This laziness (like most other features of Observable) makes them very powerful. This also means that we can reproduce (re-execute) an Observable from itself (for example when you wanna retry on error), while to do the same for a Promise we need to have access to the code that generates the promise. Now that we understand what Observables are, we shall practice their real powers in next part of this tutorial. About the author Charanjit Singh is a freelance developer based out of Punjab, India. He can be found on GitHub @channikhabra.
https://hub.packtpub.com/rxjs-observable-promise-users-part-1/
CC-MAIN-2018-47
refinedweb
2,090
66.74
@documentCSS at-rule restricts the style rules contained within it based on the URL of the document. It is designed primarily for user style sheets. A @documentrule can specify one or more matching functions. If any of the functions apply to a URL, the rule will take effect on that URL. @importCSS at-rule is used to import style rules from other style sheets. These rules must precede all other types of rules, except @charsetrules; as it is not a nested statement, @importcannot be used inside conditional group at-rules. @mediaCSS at-rule associates a set of nested statements, in a CSS block that is delimited by curly braces, with a condition defined by a media query. The @mediaat-rule may be used not only at the top level of a CSS, but also inside any CSS conditional-group at-rule. @font-faceCSS at-rule allows authors to specify online fonts to display text on their web pages. By allowing authors to provide their own fonts, @font-faceeliminates the need to depend on the limited number of fonts users have installed on their computers. The @font-faceat-rule may be used not only at the top level of a CSS, but also inside any CSS conditional-group at-rule. @font-feature-valuesCSS at-rule allows authors to use a common name in font-variant-alternatesfor feature activated differently in OpenType. It allows to simplify the CSS when using several fonts. @charsetCSS at-rule specifies the character encoding used in the style sheet. It must be the first element in the style sheet and not be preceded by any character; as it is not a nested statement, it cannot be used inside conditional group at-rules. If several @charsetat-rules are defined, only the first one is used, and it cannot be used inside a styleattribute on an HTML element or inside the <style>element where the character set of the HTML page is relevant. @counter-styleCSS at-rule lets authors define specific counter styles that are not part of the predefined set of styles. A @counter-stylerule defines how to convert a counter value into a string representation. @keyframesC. @namespaceis an at-rule that defines XML namespaces to be used in a CSS style sheet. The defined namespaces can be used to restrict the universal, type, and attribute selectors to only select elements within that namespace. The @namespacerule is generally only useful when dealing with documents containing multiple namespaces—such as HTML5 with inline SVG or MathML, or XML that mixes multiple vocabularies. @pageCSS. @viewportCSS at-rule contains a set of nested descriptors in a CSS block that is delimited by curly braces. These descriptors control viewport settings, primarily on mobile devices. @supportsC.
https://reference.codeproject.com/Search?q=%2Btags:(%22At-rule%22)
CC-MAIN-2022-21
refinedweb
453
52.8
Tourguide.js Simple, lightweight library for creating guided tours for your web, apps and more. A tour guide is a person who provides assistance, information on cultural, historical and contemporary heritage to people on organized tours and individual clients at educational establishments, religious and historical sites, museums, and at venues of other significant interest, attractions sites. [] Want to see how it works right away? Try on JSFiddle npm i tourguidejs Every time you build you next awesome web app, you sit back and stare lovingly at your handy-work :) But then inevitably someone comes along asking one and the same inconvenient question: "So, how do I. Because, let's face it - picture is worth a 1000 words: There are a few ways you can use Tourguide.js Want to see how it works right away? Try on JSFiddle Download tourguide.min.js, add it to your project libraries, and then include it on page: <script src="tourguide.min.js"></script> If you use ES modules in your project (Webpack, Rollup) import Tourguide.js like so: import Tourguide from "tourguidejs"; preloadimages: if you want to preload images, you may set this attribute to true; default is false Once instantiated you can use tourguide instance a several different ways: Simplest approach is to read the descriptions right off the elements on page. This works best if you are using an MVC approach in your application. Simply add tour descriptions to the HTML elements in your page template: <button aria- Collaborate </button> step<number>: tour step sequence number title<string>: tour step title marked<boolean>: if content is markdown, you may set this attr to true; default false. content<string>: tour step description image?<url>: tour step illustration ?* indicates the property is optional* In this mode you can simply use Tourguide.js as-is: var tourguide = new Tourguide(); tourguide.start(); You may also write your own steps definition using JSON notation: `[` ` {` ` "selector": null,` ` "step": 1,` ` "title": "Lets take a moment and look around Docsie library",` ` "content": "Click a button to advance to the next step of this tour.<br/> To stop this tour at any time click a button in the top-right corner.",` ` "image": ""` ` },` ` {` ` "selector": "[data-component=library]:first-of-type",` ` "step": 2,` ` "title": "Shelf",` ` "content": "Just like a real library <mark>Docsie</mark> starts with <dfn>shelves</dfn>. Each <dfn>shelf</dfn> represnts a separate collection of ideas. You may think of them as individual websites, or website sections."` ` }` `]` selector?<string>: CSS selector used to find the target element (optional) step<number>: tour step sequence number title<string>: tour step title content<string>: tour step description image?<url>: tour step illustration (optional) ?* indicates the property is optional* Once you have the complete JSON description for each of your tour steps you will have to initialize Tourguide.js passing your JSON as steps: property: var steps = [...]; var tourguide = new Tourguide({steps: steps}); tourguide.start(); You may also want to load the steps remotely. To do so simply provide the target src as one of the Tourguide.js init params: var tourguide = new Tourguide({src: ""}); tourguide.start(); Once your tour has started you have several ways to manually control the tour flow: Start the tour at any time by calling start(). You may optionally provide the step number to start the tour at a specific step (by default a tour always starts at step 1): tourguide.start(2) Stop the tour at any moment by calling stop() Causes tour to go to the next step in the sequence Causes tour to go to the previous step in the sequence Causes tour to go to the step specified tourguide.go(2) tourguide.currentstep: returns the current step object tourguide.length: return the number of steps on the tour tourguide.steps: returns the tour steps as JSON notation tourguide.hasnext: return true if there are steps remaining in the tour, otherwise returns false tourguide.options: returns Tourguide.js options object Tourguide.js supports several helpful callbacks to help you better control the tour. You may optionally pass the callback functions into the tour instance at initialization time: var tourguide = new Tourguide({ `onStart:function(options){...},` `onStop:function(options){...},` `onComplete:function(){...},` `onStep:function(currentstep, type){...},` `onAction:function(currentstep, e){...}` }); Fires when the guided tour is started. The callback function will receive a single param: options: tour options object Fires when the guided tour stops. The callback function will receive a single param: options: tour options object Fires when the guided tour is complete. The callback function will receives no params. NOTE: onStop is always fired first, before onComplete is fired Fires when tour step is activated. The callback function receives two params: currentstep: tour step object type: string representing the current direction of the tor; can be one of: "previous" | "next" Fires when user has clicked on the step target. The callback function receives two params: currentstep: tour step object event: MouseEvent onclick Each step of the tour is wrapped into a Step class. This allows you to have a direct access to the individual step properties and actions: target: returns the target element step is attached to el: returns the step view element show(): show step element hide(): hide step element You can obtain the current step object an any time during the tour execution by calling tourguide.currentstep property: var currentstep = tourguide.currentstep; var stepTarget = currentstep.target; var stepView = currentstep.el; Tourguide.js is licensed under BSD 3-Clause "New" or "Revised" License A permissive license similar to the BSD 2-Clause License, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent. Author: LikaloLLC Source Code:.
https://morioh.com/p/aec5ad96e65b
CC-MAIN-2021-10
refinedweb
947
54.73
By Alvin Alexander. Last updated: January 15 2017: import scalaj.http.{Http, HttpResponse} import scala.xml.XML object GetXml extends App { // get the xml content using scalaj-http val response: HttpResponse[String] = Http("") .timeout(connTimeoutMs = 2000, readTimeoutMs = 5000) .asString val xmlString = response.body // convert the `String` to a `scala.xml.Elem` val xml = XML.loadString(xmlString) // handle the xml as desired ... val titleNodes = (xml \\ "item" \ "title") val headlines = for { t <- titleNodes } yield t.text headlines.foreach(println) } A few notes about this application: - I like using ScalaJ-HTTP to download the content as an HTTP GET request, in part because I like to be able to easily set timeout values on the GET request. - Once I get the XML from the URL, it’s easy to convert that to a Scala XML object using XML.loadString. - Once I have the XML like that, I can then process it however I want to. The build.sbt file If you want to test this on your own computer, the only other thing you need (besides having Scala and SBT installed) is a build.sbt file to go along with it. Here’s mine: name := "ScalajHttpXml" version := "1.0" scalaVersion := "2.11.7" resolvers += "Typesafe Repository" at "" libraryDependencies ++= Seq( "org.scalaj" %% "scalaj-http" % "2.3.0", "org.scala-lang.modules" %% "scala-xml" % "1.0.3" ) scalacOptions += "-deprecation" Once you have that Scala source code and build.sbt file, you can test this Scala/HTTP/XML solution on your system. (Note that the Scala XML project is now separate from the base Scala libraries.)
https://alvinalexander.com/index.php/source-code/scala-how-to-http-download-xml-rss-feed-timeout
CC-MAIN-2019-39
refinedweb
260
70.09
Welcome to the third and final installment of this series on building a statistical anomaly detector in Elasticsearch. As a quick recap, let’s look at what we’ve built so far: - In Part 1, we constructed a pipeline aggregation that crunched millions of data points to generate the top 90th percentile of "surprise" values. It did this by constructing a time-series per (metric, query)tuple, calculating the surprise of that tuple, then finding the top 90th percentile of surprise for each metric. - In Part 2, we used Timelion to graph the 90th percentile surprise over time. We then used Timelion’s flexible syntax to construct a dynamic threshold three standard deviations above the moving average of the surprise. When the surprise passed this threshold, we showed it on the chart with a bar Today, we’ll take what we built in Part 1 and 2 and automate it completely using Watcher, Elastic’s real-time alerting and notification plugin for Elasticsearch. With Watcher’s ability to use mustache templating and groovy scripting, it is a remarkably powerful alerting engine. We can encode the entire Atlas system in just two watches. The first watch will generate all of the surprise data (just like Part 1) while the second watch will create the threshold and check for anomalies (like Timelion in Part 2). Let’s get started! Data Collection Watch The first watch’s job is to collect the top 90th surprise values for each metric on an hourly basis, emulating the data collection process we built in Part 1. This means we can leverage most of the hard work from that section (e.g. the pipeline aggregation). First, here is the entire watch (then we’ll break it down piece-by-piece): PUT _watcher/watch/atlas { "trigger":{ "schedule":{ "hourly" : { "minute" : 0 } } }, "input":{ "search":{ "request":{ "indices":"data", "types": "data", "body":{ "query":{ "filtered":{ "filter":{ "range":{ "hour":{ "gte":"now-24h" } } } } }, "size":0, "aggs":{ "metrics":{ "terms":{ "field":"metric" }, "aggs":{ "queries":{ "terms":{ "field":"query" }, ] } } } } } } }, "extract":[ "aggregations.metrics.buckets.ninetieth_surprise", "aggregations.metrics.buckets.key" ] } }, "actions":{ "index_payload":{ "transform":{ "script": { "file": "hourly" } }, "index" : { "index" : "atlas", "doc_type" : "data" } } } } It’s long, but don’t panic! A lot of it is repeated code from Part 1. Let’s start looking at the individual components: PUT _watcher/watch/atlas { "trigger":{ "schedule":{ "hourly" : { "minute" : 0 } } }, The first thing in our request is the HTTP command. Watches are stored inside your cluster, so we execute a PUT command to the _watcher endpoint and add a new watch called “atlas”. Next, we schedule the watch to run with a “trigger”. Triggers allow watches to run on schedules, much like a cronjob. We are going to use an hourly trigger, which fires every hour on the hour. After our trigger, we define the "input" to the watch: "input":{ "search":{ "request":{ "indices":"data", "types": "data", "body":{...}, "extract":[ "aggregations.metrics.buckets.ninetieth_surprise", "aggregations.metrics.buckets.key" ] } }, Inputs provide the data that a watch uses to make decisions. There are a variety of inputs available, but we’ll use a search input. This input executes an arbitrary Elasticsearch query and allows a watch to use the response for later processing. The “request” parameter defines the details about the request: the indices/types to query and the request body (which is the pipeline aggregation we built in Part 1). Combined with the trigger, our watch will execute the large pipeline agg against the raw data every hour. The “extract” parameter lets us extract details that we are interested in, to simplify further processing in the watch. It is conceptually very similar to filter_path, merely a filtering mechanism to reduce response verbosity. Here we are using it to extract the five top-90th percentile surprises and their keys. Finally we define an "action": "actions":{ "index_payload":{ "transform":{ "script": { "file": "hourly" } }, "index" : { "index" : "atlas", "doc_type" : "data" } } } } The action is executed after the query has run, and defines the "output" of a watch. Actions can send emails, send messages to Slack, post to custom webhooks, etc. For our purposes, we actually want to put data back inside Elasticsearch. We need to index the results of the pipeline aggregation so we can alert on it. To do that, we setup an index_payload action which will index documents back into Elasticsearch for us. But before we can index anything, we need to convert the JSON aggregation response into a set of indexable documents. That is done via the transform script hourly.groovy which resides on our node (in the config/scripts/ directory). It looks like this: def docs = []; for(item in ctx.payload.aggregations.metrics.buckets) { def doc = [ metric : item.key, value : item.ninetieth_surprise.values["90.0"], execution_time: ctx.execution_time ]; docs << doc; } return [ _doc : docs ]; Its function is very simple: iterate over the 90th percentile buckets and create an array holding the key, the value and the execution time. Then append that to a bulk array and return it when done iterating over the buckets. The returned array is in the Bulk API syntax, which Watcher will insert into the “atlas” index under the “data” type. Once this watch is added to the cluster, Elasticsearch will begin collecting hourly surprise metrics just like we did in the simulator. Perfect! Let’s write the watch that finds anomalies now. Anomaly Detection Watch The goal of this watch is to replicate what we did in Part 2 with Timelion. Namely, it needs to construct a threshold that is three standard deviations above the moving average of the 90th surprise...per metric. Then it needs to raise some kind of alert if that threshold is broken. This watch follows a similar layout as the last one, but has a bit more custom logic. The whole watch looks like this: PUT _watcher/watch/atlas_analytics { "trigger": { "schedule": { "hourly" : { "minute" :" ] } }, "condition": { "script": { "file": "analytics_condition" } }, "transform": { "script": { "file": "analytics_transform" } }, "actions": { "index_payload": { "logging": { "text": "{{ctx.alerts}}" } }, "email_alert" : { "email": { "to": "'John Doe <john.doe@example.com>'", "subject": "Atlas Alerts Triggered!", "body": "Metrics that appear anomalous: {{ctx.alerts}}" } } } } We'll walk through it step-by-step again. Similar to the first watch, we PUT the watch into the cluster with a specific name (“atlas_analytics”) and setup an hourly schedule for it to run. However, the schedule is offset by five minutes this time to allow the first watch time to complete. We also use a search input" ] } }, This search is a little different. First, it is querying /atlas/data instead of /data/data; this watch is aggregating the results of the previous watch instead of the raw data. The query is also filtering to just the last six hours which allows us to scope the time frame to a specific window. An aggregation is used to build a date_histogram per metric (e.g. a time-series per metric). Inside each series we calculate the average and standard deviation (making sure to ask the stats agg for three standard deviations via the sigma parameter). Finally, we extract out just the buckets because we don’t care about the rest of the response. You’ll notice that in Part 2 we used a moving average and standard deviation to calculate this data, while here it is a plain average / stddev. Why is that? Because this watch executes every hour, the window of time will naturally slide across the data. Unlike the Timelion implementation -- which had to display all points of time in one graph -- we are only concerned with generating the data points for this hour, so a simple avg works fine. So at this point, our watch has all the required information to flag an anomaly...but we need to run some custom logic to tie it together. That’s what happens next, in the condition clause: "condition": { "script": { "file": "analytics_condition" } }, A condition is a gatekeeper to the action: if the condition evaluates true, the action is run. Our condition uses another groovy script, analytics_condition.groovy: def docs = []; def status = false; for(item in ctx.payload.aggregations.metrics.buckets) { def std_upper = Double.valueOf(item.series_stats.std_deviation_bounds.upper); def avg = Double.valueOf(item.series.buckets.last().avg.value); if (std_upper == Double.NaN || avg == Double.NaN) { continue; } if (avg > std_upper) { status = true; break; } } return status; The script is really very simple: extract the standard deviation upper bound (which is provided by the aggregation natively) and the average, then see if the average is greater than the upper bound. If the average is indeed greater, set a flag and return true At this point, if the condition returned false is returned empty, the watch ends: nothing is anomalous. But if it returns true, we continue onwards to the transform clause: "transform": { "script": { "file": "analytics_transform" } }, Transformations can be used to modify, enrich and manipulate data. We’ll use the transformation to tidy up the data so that a list of alerts can be embedded in an email easily. Again, we use a groovy script to do the transformation, this one called analytics_transform.groovy: def alerts = []; for(item in ctx.payload.aggregations.metrics.buckets) { def std_upper = Double.valueOf(item.series_stats.std_deviation_bounds.upper); def avg = Double.valueOf(item.series.buckets.last().avg.value); if (Double.isNaN(std_upper) || Double.isNaN(avg)) { continue; } if (avg > std_upper) { alerts << item.id; } } return [alerts: alerts]; Look familiar? This is basically the same as the analytics_condition.groovy script used in the condition clause. The only difference is that any anomalous metrics are appended to an array, instead of changing a flag. The array is then returned, which we can use in our final email action: "actions": { "index_payload": { "logging": { "text": "{{ctx.alerts}}" } }, "email_alert" : { "email": { "to": "'John Doe <john.doe@example.com>'", "subject": "Atlas Alerts Triggered!", "body": "Metrics that appear anomalous: {{ctx.alerts}}" } } } } In the last part of the watch, we perform two actions. First, we log the anomalies (for debugging purposes). We also define an email_alert, which will fire off an email. The body of the email can use mustache for templating, which is how we can embed the list of alerts (via {{ctx.alerts}}, the array we built in the transformation step) Conclusion And that’s it! The watches are long, but relatively straightforward when you work through them step-by-step. All the difficult work was done in Part 1 and 2...moving the logic into Watcher is mostly trivial. Once these watches are enabled, the cluster will automatically start monitoring and alerting on an hourly basis. It is very tunable because watches can be modified at any time via API calls. You could make the interval shorter or longer, extend the amount of data in each aggregation pass, modify any of the aggregation settings, change the types of moving averages in the pipeline agg, introduce entirely new metrics, etc. It is a very easy system to tweak even once it is live and in production. I hope you’ve enjoyed this three-part series. It was a very fun project to work on, and really helped me understand the power that pipeline aggregations, Timelion and Watcher bring to the table (especially when combined). Until next time!
https://www.elastic.co/fr/blog/implementing-a-statistical-anomaly-detector-part-3
CC-MAIN-2017-26
refinedweb
1,831
55.95
Ok, so my program complies (not that that means much, haha), but at least I can now SEE that something in my loops isn't right. I need to take my 2-dim array file input of 4 students with 3 quizzes, which looks like this: (the asterisks are whitespace) 10**10**10 *2***0***1 *8***6***9 *8***4**10 And I need my output to look like this: (asterisks are still whitespace) Student***Average***Quizzes ***1*********10.0***10**10**10 ***2**********1.0****2***0***1 ***3**********7.7****8***6***9 ***4**********7.3****8***4**10 Quiz Average = *****7.0*5.0*7.5 So...what I have so far prints my original matrix and it does some bizarre average and it doesn't print in any semblance of that. I followed the examples I could find, but maybe someone could give me a better example, or at least maybe tell me where my loop is screwed up??? I know it is... THANK YOU ALL, AS ALWAYS!!! /* Program: Grade Matrix * Description: To manipulate one and two dimensional arrays and pass arrays as * arguments to functions in order to calcualte student averages and quiz * averages. */ # include <fstream> # include <iostream> using namespace std; const int NUM_STU = 4; const int NUM_QUIZ = 3; // function prototypes void getMatrix (ifstream&, int matrix [] [NUM_QUIZ]); //reads matrix from file void compStuAvg (ofstream& outfile, const int matrix [] [NUM_QUIZ], float []); //calcs avgs to a one-dimensional array void compQuizAvg (ofstream& outfile, const int matrix [] [NUM_QUIZ], float []); //calcs quiz avgs void displayData (ofstream& outfile, const int matrix [] [NUM_QUIZ], const float [], const float []); //displays data int main () { ifstream data; ofstream out; int matrix [NUM_STU][NUM_QUIZ]; float student_avg [4]; // row index of 4 students float quiz_avg [3]; // column index of 3 quizzes data.open ("grade_matrix.txt"); //file for input if (!data) { cout << "Error!!! Failure to open grade_matrix.txt" << endl; system ("pause"); return 1; } out.open ("out.txt"); //file for output if (!out) { cout << "Error!!! Failure to open out.txt" << endl; system ("pause"); return 1; } out << "STUDENT " << "AVERAGE " << "QUIZZES" << endl; getMatrix (data, matrix); compStuAvg (out, matrix, student_avg); compQuizAvg (out, matrix, quiz_avg); displayData (out, matrix, student_avg, quiz_avg); system ("pause"); return 0; } //end of main void getMatrix (ifstream& data, int matrix [] [NUM_QUIZ]) { for (int i = 0; i < NUM_STU; i++) { for (int j = 0; j < NUM_QUIZ; j++) { data >> matrix [i][j]; }//inner loop }//outer loop }//getMatrix void compStuAvg (ofstream& out, const int matrix [] [NUM_QUIZ], float student_avg []) { float sum; for (int i = 0; i < NUM_STU; i++) { sum = 0; for (int j = 0; j < NUM_QUIZ; j++) sum = sum + matrix [i][j]; student_avg [i] = sum / NUM_STU; out << student_avg [i] << " " ; } out << endl << endl; } //compStuAvg void compQuizAvg (ofstream& out, const int matrix [] [NUM_QUIZ], float quiz_avg []) { float sum; for (int j = 0; j < NUM_QUIZ; j++) { sum = 0; for (int i = 0; i < NUM_STU; i++) sum = sum + matrix [i][j]; quiz_avg [j] = sum / NUM_QUIZ; out << quiz_avg [j] << " " ; } out << endl << endl; } //compQuizAvg void displayData (ofstream& out, const int matrix[] [NUM_QUIZ], const float student_avg[], const float quiz_avg[]) { for(int i = 0; i < NUM_STU; i++) { for(int j = 0; j < NUM_QUIZ; j++) out << matrix[i][j] << " "; out << endl; } out << endl << endl; // }
https://www.daniweb.com/programming/software-development/threads/358393/getting-array-averages
CC-MAIN-2017-51
refinedweb
520
60.58
So I went to the dataiku academy and built my custom trigger with the template provided in order to run my scenario on week-days at business hours. Which resulted eventually in this code : from dataiku.scenario import Trigger from datetime import date from datetime import datetime t = Trigger() aujourdhui = date.today() heure = datetime.today() heure_actuelle = heure.hour if aujourdhui.weekday() >= 0 and aujourdhui.weekday() < 5: if heure_actuelle > 8 and heure_actuelle < 21: t.fire() Problem is, this code won't trigger the scenario. According to the template I built this code on, there are no reasons why this trigger won't launch the scenario. For info, the scenario is within the project I 'use'/write the custom trigger. I left the 3600 seconds (run every seconds parameter) to default. I tried to use a time based trigger which effectively launched at a certain time of the hour, but I thought it would work the same way according to the conditions in the code above. Please, can you provide an explanation why this code won't launch my scenario every hour and see if the conditions are met ? PS : Obvsiouly I tried it within the time span the conditions are based on. Hello, Did you ticked the little checkbox "Auto-triggers"? To debug your custom trigger, you can reduce the "Run Every", put some print and check in the log if you see your message. Hello, Did you ticked the little checkbox "Auto-triggers"? To debug your custom trigger, you can reduce the "Run Every", put some print and check in the log if you see your message. Hello, thank you for the fast reply. The problem was due to my understanfing of the run every (3600 s) function, which I thought would work like that (immediatly run while active on is ticked and run every default seconds after). Instead, I understand now that the function is coded to have a starttime run with the latency of variable equals to parameter variable from actual time. I will mark the issue as resolved thank you (:
https://community.dataiku.com/t5/Using-Dataiku/Custom-python-trigger-time-conditioned-won-t-launch-Scenario/m-p/14586
CC-MAIN-2021-49
refinedweb
343
73.88
span8 span4 span8 span4 Thank you so much for this! In this partiucular case I have no control of what attributes will be in the incoming csv file, attributes are generally generated dynamically in the workspace, this transformer (after excluding several prefixes as you have mentioned) did what I needed. The article you have linked is known to me, however there are listed only methods where you statically insert which attributes you want to expose / write. However it seems there are several attributes missing, I must be doing something wrong in the writer part. The problem might be this: The Writer will only check for the list on the first feature of each Feature Type Seeing that the list on the first feature is created but is not filled, because the first feature did not have all of the attributes present. Each feature in this case can have different attributes. Maybe that is causing problems? Yes, not having all the attributes present on the first feature will be a bit more challenging. Here's a small hack to make the feature with the most attributes arrive at the writer first: Before the writer, add a PythonCaller with the following code import fme import fmeobjects def FeatureProcessor(feature): count = len(feature.getAllAttributeNames()) feature.setAttribute('_number_of_attributes', count) In the PythonCaller, expose the attribute name _number_of_attributes Then add a Sorter and sort descending (numeric) on _number_of_attributes. The feature that has the maximum number of attributes should then be the one that defines the output schema. Note: there are some situations where the above might not suffice, notably where no single feature contains all possible attributes (those cases might need more advanced scripting), so be sure to test before deploying. David Yeah, with almost complete certainity I can already say that none of the features are going to contain all of the attributes. I'll remember this workaround. :) I have found a way to make the Schemasetter work. I have output the features based on their respective object types, where I can presume that each object in specific object group is going to have the same set of attributes (e.g. roads, buildings,...). When I do this, I can make the dynamic writer take schema from first feature. All your answers had been very helpful, thank you very much. :) Answers Answers and Comments 4 People are following this question.
https://knowledge.safe.com/questions/20345/dynamic-attribute-creation-and-expose.html?smartspace=attribute-handling_2
CC-MAIN-2019-47
refinedweb
395
59.23
Updated 8/15/2016 Today we’re going to be making a collapsible navigation menu solution using nothing but React.js as an exercise in using event handlers, component state, and various React lifecycle methods. There is a much simpler and more elegant solution to achieve this exact same thing – my thanks go out to Mike for sharing his example in the comments below. But for the sake of practice and education, let’s go ahead and dig in. We’ll be sticking mostly to the React portion here, but there was some SCSS work that I did to make the navigation pretty to look at, but I’ll leave you to do most of that. Getting Set Up Really the only true dependency that we need here is React itself, but I am going to recommend (and use) react-icons material design icon font to give us access to navigation icon, as well as react-router to get your router connected. So install those dependencies: $ npm install react-router Next let’s get these imported into a new file that we’ve named navigation.js inside the components directory of our app. import React, { Component } from 'react'; import { Link } from 'react-router' Get your navigation component created, then we’re ready to get to the fun parts. Everything we’ll be making below will go inside this component and above the render()function. export default class NavContainer extends Component { //our other functions, and state will go here soon render() { <div className="nav_container"> <div className="site_title"><Link to="/">WEBSITE TITLE</Link></div> //navigation will go here </div> } } Set our initial state and get window width Let’s look ahead a bit and see what we’re going to need for this to work; We’re going to need an if-then statement to see if it’s time to render the mobile navigation menu or the desktop one. We’ll need a way to tell if the mobile navigation is open or not. So let’s get our component’s state declared with these: constructor(props) { super(props); this.state = { windowWidth: window.innerWidth, mobileNavVisible: false }; } After we’ve set the initial window width and told the component that the mobile navigation isn’t visible right now, let’s allow our state to update itself if the user changes the screen size. handleResize() { this.setState({windowWidth: window.innerWidth}); } componentDidMount() { window.addEventListener('resize', this.handleResize.bind(this)); } componentWillUnmount() { window.removeEventListener('resize', this.handleResize.bind(this)); } These three functions will set up an event listener once the component has mounted, and then it handles it to update our state with the new window width if it changes. This is going to allow us to test if it’s time to draw the mobile navigation or the full one. Full navigation menu Next let’s create a function that will return only the navigation menu. Creating a single function that handles the links to our menu will make changing them a breeze, and keeps us from repeating ourselves, since both the full and mobile menus will feature the same links. navigationLinks() { return [ <ul> <li key={1}><Link to="about">ABOUT</Link></li> <li key={2}><Link to="blog">BLOG</Link></li> <li key={3}><Link to="portfolio">PORTFOLIO</Link></li> </ul> ]; } Mobile navigation menu Make another function that asks if the mobile menu is visible or not, and display these links based on the answer, then create a click handler for when the mobile menu button is clicked (or touched): renderMobileNav() { if(this.state.mobileNavVisible) { return this.navigationLinks(); } } handleNavClick() { if(!this.state.mobileNavVisible) { this.setState({mobileNavVisible: true}); } else { this.setState({mobileNavVisible: false}); } } Tying the collapsible menu together Lastly, we’re going to put it all together with this function that will render either the mobile navigation or the full one: renderNavigation() { if(this.state.windowWidth <= 1080) { return [ <div className="mobile_nav"> <p onClick={this.handleNavClick.bind(this)}><i class="material-icons">view_headline</i></p> {this.renderMobileNav()} </div> ]; } else { return [ <div key={7} {this.navigationLinks()} </div> ]; } } We’re simply running an if then statement that checks if it exceeds the width that we’ve defined, and returning either a div containing the mobile navigation with the material icon that will pass click events to our handler, or the full navigation. Notice that each of these menus are nested inside a div with a name. Thanks to SCSS we can style the same ul of items with two completely different looks to fit the needs of our mobile and desktop navigation. You’ll now only to need to call this function inside the render() function of our component and you’re done! render() { return( <div className="nav_container"> <div className="site_title"><Link to="/">WEBSITE TITLE</Link></div> {this.renderNavigation()} </div> ) } Hopefully this exercise has helped you to learn some things about event listeners and React lifecycle methods. Like I said above, this is not the most efficient way to accomplish a collapsible navigation menu, but could be useful in some cases as a point of reference. Since completing this tutorial back in May I’ve seen lots of awesome solutions that you should check out. One of the commenters below left a great one that I thoroughly enjoy and I recommend checking it out if you’re looking for a production ready solution to your applications navigation needs. Thanks for reading, and sharing, and please leave any questions or comments you may have below. Until next time, happy coding! You can take a look at the complete source code for this project here.
https://www.davidmeents.com/blog/creating-a-collapsible-navigation-menu-in-react-js/
CC-MAIN-2017-26
refinedweb
925
51.38
typecheck-decorator 0.2a flexible explicit type checking of function arguments (Python3-only) A decorator for functions, @typecheck, to be used together with Python3 annotations on function parameters and function results. The decorator will perform dynamic argument type checking for every call to the function. @typecheck def foo1(a:int, b=None, c:str="mydefault") -> bool : print(a, b, c) return b is not None and a != b The parts :int, :str, and -> bool are annotations. This is a syntactic feature introduced in Python 3 where : (for parameters) and -> (for results) are delimiters and the rest can be an arbitrary expression. It is important to understand that, as such, annotations do not have any semantics whatsoever. There must be explicit Python code somewhere that looks at them and does something in order to give them a meaning. The @typecheck decorator gives the above annotations the following meaning: foo1’s argument a must have type int, b has no annotation and can have any type whatsoever, it will not be checked, c must have type string, and the function’s result must be either True (not 17 or "yes" or [3,7,44] or some such) or False (not 0 or None or [] or some such). If any argument has the wrong type, a TypeCheckError exception will be raised. Class types, collection types, fixed-length collections and type predicates can be annotated as well. Here is a more complex example: from typecheck import typecheck import typecheck as tc @typecheck def foo2(record:(int,int,bool), rgb:tc.matches("^[rgb]$") -> tc.either_type(int,float) : a = record[0]; b = record[1] return a/b if (a/b == float(a)/b) else float(a)/b foo2((4,10,True), "r") # OK foo2([4,10,True], "g") # OK: list is acceptable in place of tuple foo2((4,10,1), "rg") # Wrong: 1 is not a bool, string is too long foo2(None, "R") # Wrong: None is no tuple, string has illegal character These annotations mean that record is a 3-tuple of two ints and an actual bool and rgb is a one-character string that is either “r” or “g” or “b” by virtue of a regular expression test. The result will be a number that can be either int or float. Other kinds of annotations: - tc.optional(int) will allow int and None, - tc.either_value(1, 2.0, "three") allows to define arbitrary enumeration types, - tc.dict_of(str, tc.list_of(Person)) describes dictionaries where all keys are strings and all values are homogeneous lists of Persons, - and so on. Find the documentation at - Author: Dmitry Dvoinikov, Lutz Prechelt - Keywords: type-checking - License: BSD - Categories - Package Index Owner: prechelt - DOAP record: typecheck-decorator-0.2a.xml
https://pypi.python.org/pypi/typecheck-decorator/0.2a
CC-MAIN-2016-44
refinedweb
452
57.71
am a real JAVA beginner, please take a look at this code. Sunny Stone Greenhorn Joined: Feb 24, 2004 Posts: 5 posted Feb 24, 2004 14:46:00 0 Q: Why can't i assign a value to array a and b? Thanks. public class BoolArray{ boolean [] b = new boolean[3]; int[] a = new int[3]; a[0] = 1; b[1] = true; public static void main( String [] args) { BoolArray ba = new BoolArray(); .... } fred rosenberger lowercase baba Bartender Joined: Oct 02, 2003 Posts: 11734 18 I like... posted Feb 24, 2004 14:57:00 0 You don't have a constructor for your BoolArray class. so, when you call new BoolArray(), you get the default constructor, which does nothing. There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors sever oon Ranch Hand Joined: Feb 08, 2004 Posts: 268 posted Feb 24, 2004 15:04:00 0 The only code you're allowed to have outside of methods are declarations and initializations. Check out this code example... public class Test { int a; // this line compiles int b = 5; // compiles a = 3; // does NOT compile public Test() { // this constructor will run whenever a new Test() object is created a = 3; // compiles } } You're trying to initialize your arrays outside of methods, but not on the line in which they were declared. Incidentally, a syntax note about setting the value of arrays. All of the following code snippets do exactly the same thing: int[] x; x = new int[3]; x[0] = 6; x[1] = 7; x[2] = 8; int[] x = new int[3]; x[0] = 6; x[1] = 7; x[2] = 8; int[] x = { 6, 7, 8 }; int[] x = new int[] { 6, 7, 8 }; int[] x; x = new int[] { 6, 7, 8 }; Also, you might see someone declare an array as "int x[]" but this is highly frowned upon. An array is a type of data, it's not part of the name of the reference, so you should group it with the type part of the declaration and not the variable name part. Also, Java2 added the ability to create so-called "anonymous arrays", as in the last two examples. It used to be, before Java2, you either initialized an array with the curly brace notation in the third example above, or you set each element one-by-one as in the first two examples. After Java2, you can set every element of an array using the notation present in the latter two examples. Because this syntax is highly useful and consistent coding practice is highly useful, I suggest you always employ it when you set the entire content of an array at once, even during initialization. It adds very little noise to the code and can be easily cut'n'pasted if you choose to move the initialization elsewhere later. (This means you should always prefer example 4 above to example 3 when directly initializing arrays.) sev Sunny Stone Greenhorn Joined: Feb 24, 2004 Posts: 5 posted Feb 24, 2004 15:07:00 0 Thanks for your reply. But I the error is nor from constructor. When I compile this program, it gives BoolArray.java:4: ']' expected a[0] = 1; ^ BoolArray.java:4: <identifier> expected a[0] = 1; ^ BoolArray.java:5: ']' expected b[1] = true; ^ BoolArray.java:5: <identifier> expected b[1] = true; ^ Mark Vedder Ranch Hand Joined: Dec 17, 2003 Posts: 624 I like... posted Feb 24, 2004 16:35:00 0 Hello Sunny, Welcome to the ranch. I think you are misunderstanding what the previous responses are saying. The reason you are getting the compile errors is because you have assignment statements (namely the a[0]=1 and b[1]=true) placed outside of a method, constructor, or initialization block. You cannot place this code in the place that you have. So there were suggestions of either moving this into a constructor, or making the assignments when instantiating your arrays. Let�s go through these options... If you used a constructor , as Fred suggested, you would change your code to: public class BoolArray { boolean[] b = new boolean[3]; int[] a = new int[3]; public BoolArray() { a[0] = 1; b[1] = true; } public static void main(String[] args) { } } You could also set the values in another method besides the constructor. Since the arrays are not static, you cannot so this in the main method. (If you are not sure what I mean about static versus non-static, then it may be a case that you have not yet covered that in your studies; if you want to read up on it, by far the best treatise on the subject of static vs. non-static variables and classes that I have ever read is in the book Head First Java .) Here�s an example of how assign values in another method: public class BoolArray { boolean[] b = new boolean[3]; int[] a = new int[3]; public static void main(String[] args) { BoolArray boolArray = new BoolArray(); //this calls the default no argument //constructor that is implicit in //all java classes. You can also implement your own //no argument constructor like we did above boolArray.go(); } private void go() { a[0] = 1; b[1] = true; //more code or method calls } } If you used a combined instantiation and assignment statement, like Sever suggested, you would have the following: public class BoolArray { boolean[] b = {true, true, true}; int[] a = {1, 0, 0}; public static void main(String[] args) { } } Note, however, that in this case you are initializing all values of your arrays, not just index 0 of array a and index 1 of array b. There is no way to create a three-element array and only set a particular index of the array. You either set none, or all. Lastly, you could use an initialization block; an initialization block is a block of code, meaning it is contained between braces, that is executed before an object of the class is created. However , it should be pointed out that initialization blocks are not routinely used and are generally applicable to very specific design decisions and implementations. I would strongly recommend that as a beginner you not use them and therefore I have not included an example. Which method you use (constructor, method, or assignment at creation) depends on some design decisions. I would say for a beginner that is writing a class to just try some things, the best way is to assign the values in a method (the second code block above.) I hope that helps clarify things better. It is sorta covered in the JavaRanch Style Guide . subject: I am a real JAVA beginner, please take a look at this code. Similar Threads Short Circuit operators and Bitwise operators Operator precedence and associativity confusion........ plz Explain me line by line this code Non static variable is incrementing for method call Question from K&B Book All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter JForum | Paul Wheaton
http://www.coderanch.com/t/395672/java/java/real-JAVA-beginner-code
CC-MAIN-2015-22
refinedweb
1,166
66.17
Available with Standard or Advanced license. If you want to let other database users view or modify the contents of any data in a database, you must grant them the privileges to do so. You can use the Privileges dialog box or the Change Privileges geoprocessing tool in ArcGIS for Desktop or the ChangePrivileges_management function in a Python script to specify what privileges a user or group has on a specific dataset. You can grant just select privileges, meaning the user can read and select from but not modify the contents of a dataset. You can also grant update, insert, and delete privileges, which allows the user to modify the contents of a dataset. The following rules apply to granting and revoking privileges on data in a database or geodatabase: - Only the table owner can alter privileges on it. - Only the table owner can drop it or alter its definition; therefore, even if another user has been granted insert, update, and delete privileges on a dataset, that user cannot alter the schema. - If you are going to grant the insert, update, or delete privilege to a user, you must also grant the select privilege; the user must be able to read the dataset before the user can edit it. - The dbo and db_owner roles will not appear in the User/Role list for SQL Server databases. These users automatically have full privileges on all data, and you cannot revoke those privileges. - PostgreSQL login roles or groups that have been granted superuser privileges in the database will not appear in the User/Role list. These users automatically have full privileges on all data, and you cannot revoke; therefore, if another user is connected to the dataset, you won't be able to revoke privileges from users on the dataset. These rules apply to granting and revoking privileges on datasets in a geodatabase only: - All feature classes in a feature dataset must have the same user privileges. - When privileges are granted to a feature class or table that participates in a relationship class, privileges must be granted to both the origin and destination class. If the origin and destination feature classes are within versioned, you can grant and revoke the update, insert, and delete privileges individually using the Privileges dialog box. For example, you can grant a user select and update privileges, which allows see what privileges a user or group already tool. - Python script—Python scripts can be run from Linux machines where ArcGIS for Server is installed. Privileges can be altered on multiple datasets. Use the Privileges dialog box You open the Privileges dialog box from the context menu of a database connection in the Catalog tree. This dialog box allows you to choose from a list of users and groups to grant privileges to. It also allows you to grant INSERT, UPDATE, and DELETE privileges on a dataset individually, provided the dataset is not registered as versioned. - Start ArcMap or ArcCatalog and double-click the Database Connections folder in the Catalog tree. - Connect to the database or geodatabase that contains the data you own and for which you want to grant or revoke privileges. - Right-click the dataset, point to Manage, and click Privileges. The Privileges dialog box opens. - If the user or role whose privileges you want to change is already in the list, check or uncheck the boxes for the privileges you want to grant or revoke, and then click OK to apply your changes. - If the user or role is not already in the list, do the following: - Click Add to open the User/Role dialog box. - If you have privileges in the database to view the system table that lists. To type multiple users or groups, type the names separated by commas (no spaces). - Click OK to close the User/Role dialog box. - Check the boxes of the privileges you want each new user or role to have and click OK. Use the Change Privileges tool You can use the Change Privileges tool in ArcMap or ArcCatalog to grant or revoke privileges on datasets you own. The tool can be found in the Geodatabase Administration toolset of the Data Management toolbox. You can change a user's or group's privileges on multiple datasets at once using this tool. Be aware that the Change Privileges tool does not show what privileges the user already has on the datasets. Also, INSERT, UPDATE, and DELETE privileges must be granted as a set, not individually. - In ArcGIS for Desktop, connect to the geodatabase or database as the owner of the datasets on which you want to grant or revoke privileges. - Open the Change Privileges tool. This tool can be found in the Geodatabase Administration toolset of the Data Management toolbox. - Browse to your database connection and choose the datasets for which you want to change privileges. - Type the name of the user or group whose privileges you want to change. - Use the View and Edit drop-down lists to choose the privileges you want to grant to the specified user or group: You must grant view privileges if you want to grant edit privileges. - Click OK to run the tool. Use a Python script If you want to use a Python script to grant or revoke privileges on a dataset you own, you can use the ChangePrivileges_management function. - First, create a database connection using the CreateDatabaseConnection_management function. You must connect as the owner of the datasets and save the user name with the file. In this example, the connection file gdb.sde is created in the /usr/connections directory. The connection is made to the reef/orcl instance as user eng1. import arcpy arcpy.CreateDatabaseConnection_management (r'/usr/connections', "gdb.sde", "ORACLE", "reef/ORCL", "DATABASE_AUTH", "eng1", "T!i569", "SAVE_USERNAME") - Run the ChangePrivileges_management function. In this example, view privileges are granted on three datasets to the group readers. arcpy.ChangePrivileges_management ("/usr/connections/gdb.sde/eng1.properties,eng1.routes,eng1.demo", "readers", "GRANT", "AS_IS")
https://desktop.arcgis.com/en/arcmap/10.4/manage-data/gdbs-in-oracle/grant-dataset-privileges.htm
CC-MAIN-2022-33
refinedweb
993
62.17
Summary: in this tutorial, you’ll learn about Google Colab and how it fits into the whole data science toolset. What is Google Colab Colab is a free Jupyter Notebook environment that runs entirely in the cloud and is a part of Google effort to better embedded in the data science community. Colab doesn’t require any configuration or installation, which makes it the perfect choice for beginners. A Google account is all you need to start. Besides being free, the main advantages of Colab over the ordinary Jupyter Notebook document is that the notebooks you create can be edited simultaneously by other users – just like how you would edit documents in Google Docs. What you can do in Google Colab - Write and execute Python code snippets. - Write and render mathematical equations. - Create / Upload / Share notebooks. - Import / Save notebooks from / to Google Drive. - Import / Publish notebooks from GitHub. - Import external datasets without storing them locally, for example, from Kaggle. - PyTorch, TensorFlow, Keras, OpenCV support out of the box. - Free cloud virtual machine with GPU-accelerated capabilities (which speeds up machine learning tasks). Create new Notebook with Google Colab Note. Since Colab implicitly uses Google Drive to store your notebooks, make sure you are signed in to your Google Drive account before proceeding. Step 1. Open the following URL in your browser –. Your browser will display the following screen (assuming that you are logged in to your Google Drive) Step 2-Click on New Notebook link at the bottom of the pop-up message. The new Notebook will be opened as shown on the screen below. As you may have noticed, the Colab notebook looks pretty similar to that of Jupyter. Step 3– Configuring the notebook Now you need to give your Notebook a name. By default, the notebook uses the UntitledXX.ipynb naming convention. To rename notebook, click on that name and enter your desired name, as shown here. Step 4 – Run the first cell Now that the notebook is properly set up, you can try running a simple Python code cell to see how things work in Colab. The code snippet below prints out the current system time. import time print(time.ctime()) You can either run the code by clicking the “arrow” button on the left side of the cell, or press Ctrl + Enter while you’re in the cell. As soon as you run the cell, the Connect button in the upper right corner will turn into Allocating, indicating that Colab is now creating a new virtual machine and allocating resources to it to run your code. After a few seconds, your code will be ran and results would show up right below the code cell. If you hover the cursor in RAM/Disk button, you would see how many RAM and space are allocated to your virtual machine. Google is quite generous as it gives free users about 12GB of RAM and 70 GBs of disk space, as show in the screenshot. More details about Google Colab features will be covered in our future guides. Online resources - Colab Homepage - Colaboratory FAQ – Google - Colab Pro (paid subscription, for users who need more resources) - Colab section at Summary - Colab is a free Jupyter Notebook running entirely online, no installation required. - Colab is a Google product. - In order to use Colab, you need a Google account - Colab resources are allocated after your first code run.
https://monkeybeanonline.com/google-colab-introduction/
CC-MAIN-2022-27
refinedweb
566
63.8
This chapter contains these topics: What Is XML SQL Utility (XSU)? XSU Dependencies and Installation SQL-to-XML and XML-to-SQL Mapping Primer How XML SQL Utility Works Using the XSU Command-Line Front End OracleXML Generating XML with XSU's OracleXMLQuery Paginating Results: skipRows and maxRows Generating XML from ResultSet Objects Storing XML Back in the Database Using XSU OracleXMLSave Insert Processing Using XSU (Java API) Update Processing Using XSU (Java API) Delete Processing Using XSU (Java API) Advanced XSU Usage Techniques XML has become the format for data interchange, but at the same time, a substantial amount of data resides in object-relational databases. It is therefore necessary to have the ability to transform this object-relational data to XML. XML SQL Utility (XSU) enables you to do these transformations: XSU can transform data retrieved from object-relational database tables or views into XML. XSU can extract data from an XML document, and using a given mapping, insert the data into appropriate columns or attributes of a table or a view. XSU can extract data from an XML document and apply this data to updating or deleting values of the appropriate columns or attributes. When given a SELECT query, XSU queries the database and returns the results as an XML document. Given an XML document, XSU can extract the data from the document and insert it into a table in the database. XML SQL Utility functionality can be accessed in the following ways: Through a Java API Through a PL/SQL API Through a Java command-line front end Dynamically generates DTDs. During generation, performs simple transformations, such as modifying default tag names for the ROW element. You can also register an XSL transformation that is then applied to the generated XML documents as needed. Generates XML documents in their string or DOM representations. Inserts XML into database tables or views. XSU can also update or delete records from a database object, given an XML document. Generates complex nested XML documents. XSU can also store them in relational tables by creating object views over the flat tables and querying over these views. Object views can create structured data from existing relational data using object-relational infrastructure. Generates an XML Schema given a SQL query. Generates XML as a stream of SAX2 callbacks. Supports XML attributes during generation. This provides an easy way to specify that a particular column or group of columns must be mapped to an XML attribute instead of an XML element. Allows SQL identifier to XML identifier escaping. Sometimes column names are not valid XML tag names. To avoid this you can either alias all the column names or turn on tag escaping. Supports XMLType columns in objects or tables. Important information about XSU: XML SQL Utility (XSU) depends on the following components: Database connectivity - JDBC drivers. XSU can work with any JDBC driver but it is optimized for Oracle JDBC drivers. Oracle does not make any guarantee or provide support for the XSU running against non-Oracle databases. Oracle XML Parser, Version2 - xmlparserv2.jar. This file is included in the Oracle installations. xmlparserv2.jar is also part of the XDK Java components archive downloadable from Oracle Technology Network (OTN) Web site. XSU also depends on the classes included in xdb.jar and servlet.jar. These are present in Oracle installations. These are also included in the XDK Java components archive downloadable from OTN. XSU is on the Oracle software CD, and it is also part of the XDK Java components package available on OTN. The XSU comes in the form of two files: $ORACLE_HOME/lib/xsu12.jar -- Contains all the Java classes that make up XSU. xsu12.jar requires a minimum of JDK1.2 and JDBC2 $ORACLE_HOME/rdbms/admin/dbmsxsu.sql -- This is the SQL script that builds the XSU PL/SQL API. Load xsu12.jar into the database before dbmsxsu.sql is executed. By default, the Oracle installer installs the XSU on the hard drive in the locations specified in the previous bulleted paragraphs. It also loads the XSU into the database. If XSU is not installed during the initial Oracle installation, it can be installed later. You can either use Oracle Installer to install the XSU and its dependent components, or you can download the latest XDK Java components from OTN. To load the XSU into the database you need to take one of the following steps, depending on how you installed XSU: Oracle Installer installation: Change directory to your ORACLE_HOME directory, then to rdbms/admin. Run initxml.sql. OTN download installation: Change directory into the bin directory of the downloaded and expanded XDK tree. Then run script xdk load. Windows users run xdkload.bat. XSU is written in Java, and can live in any tier that supports Java. XSU can be installed on a client system. The Java classes that make up XSU can be loaded into a Java-enabled Oracle database. XSU contains a PL/SQL wrapper that publishes the XSU Java API to PL/SQL, creating a PL/SQL API. This way you can: Write new Java applications that run inside the database and that can directly access the XSU Java API Write PL/SQL applications that access XSU through its PL/SQL API Access XSU functionality directly through SQL Figure 7-1 shows the typical architecture for such a system. XML generated from XSU running in the database, can be placed in advanced queues in the database to be queued to other systems or clients. The XML can be used from within stored procedures in the database or shipped outside through web servers or application servers. In Figure 7-1, all lines are bi-directional. Since XSU can generate as well as save data, data can come from various sources to XSU running inside the database, and can be put back in the appropriate database tables. Figure 7-1 Running XML SQL Utility in the Database Your application architecture may need to use an application server in the middle tier, separate from the database. The application tier can be an Oracle database, Oracle Application Server, or a third party application server that supports Java programs. You can generate XML in the middle tier, from SQL queries or ResultSets, for various reasons. For example, to integrate different JDBC data sources in the middle tier. In this case you can install the XSU in your middle tier and your Java programs can make use of XSU through its Java API. Figure 7-2, shows how a typical architecture for running XSU in a middle tier. In the middle tier, data from JDBC sources is converted by XSU into XML and then sent to Web servers or other systems. Again, the whole process is bi-directional and the data can be put back into the JDBC sources (database tables or views) using XSU. If an Oracle database itself is used as the application server, then you can also use the PL/SQL front-end instead of Java. Figure 7-2 Running XML SQL Utility in the MIddle Tier Figure 7-3 XSU can live in the Web server, as long as the Web server supports Java servlets. This way you can write Java servlets that use XSU to accomplish their task. XSQL Servlet does just this. XSQL Servlet is a standard servlet provided by Oracle. It is built on top of XSU and provides a template-like interface to XSU functionality. If XML processing in the Web server is your goal, you can probably use the XSQL Servlet, as it will spare you from the intricate servlet programming. Figure 7-3 Running XML SQL Utility in a Web Server This section describes the mapping or transformation used to go from SQL to XML or vice versa. Consider table emp1: CREATE TABLE emp1 ( empno NUMBER, ename VARCHAR2(20), job VARCHAR2(20), mgr NUMBER, hiredate DATE, sal NUMBER, deptno NUMBER ); XSU can generate an XML document by specifying the query: select * from emp1: <?xml version='1.0'?> <ROWSET> <ROW num="1"> <EMPNO>7369</EMPNO> <ENAME>sMITH</ENAME> <JOB>clerk</JOB> <mgr>7902</mgr> <HIREDATE>12/17/1980 0:0:0</HIREDATE> <SAL>800</SAL> <DEPTNO>20</DEPTNO> </ROW> <!-- additional rows ... --> </ROWSET> In the generated XML, the rows returned by the SQL query are enclosed in a ROWSET tag to constitute the <ROWSET> element. This element is also the root element of the generated XML document. The <ROWSET> element contains one or more <ROW> elements. Each of the <ROW> elements contain the data from one of the returned database table rows. Specifically, each <ROW> element contains one or more elements whose names and content are those of the database columns specified in the SELECT list of the SQL query. These elements, corresponding to database columns, contain the data from the columns. Here is a mapping against an object-relational schema: Consider the object type, AddressType. It is an object type whose attributes are all scalar types and is created as follows: CREATE TYPE AddressType AS OBJECT ( street VARCHAR2(40), city VARCHAR2(20), state CHAR(2), zip VARCHAR2(10) ); The following type, EmployeeType, is also an object type but it has an empaddr attribute that is of an object type itself, specifically, AddressType. Employee Type is created as follows: CREATE TYPE EmployeeType AS OBJECT ( empno NUMBER, ename VARCHAR2(20), salary NUMBER, empaddr AddressType ); The following type, EmployeeListType, is a collection type whose elements are of the object type, EmployeeType. EmployeeListType is created as follows: CREATE TYPE EmployeeListType AS TABLE OF EmployeeType; Finally, dept1 is a table with an object type column and a collection type column: AddressType and EmployeeListType respectively. CREATE TABLE dept1 ( deptno NUMBER, deptname VARCHAR2(20), deptaddr AddressType, emplist EmployeeListType ) NESTED TABLE emplist STORE AS emplist_table; Assume that valid values are stored in table, dept1. For the query select * from dept1, XSU generates the following XML document: <?xml version='1.0'?> <ROWSET> <ROW num="1"> <DEPTNO>100</DEPTNO> <DEPTNAME>Sports</DEPTNAME> <DEPTADDR> <STREET>100 Redwood Shores Pkwy</STREET> <CITY>Redwood Shores</CITY> <STATE>CA</STATE> <ZIP>94065</ZIP> </DEPTADDR> <EMPLIST> <EMPLIST_ITEM num="1"> <EMPNO>7369</EMPNO> <ENAME>John</ENAME> <SALARY>10000</SALARY> <EMPADDR> <STREET>300 Embarcadero</STREET> <CITY>Palo Alto</CITY> <STATE>CA</STATE> <ZIP>94056</ZIP> </EMPADDR> </EMPLIST_ITEM> <!-- additional employee types within the employee list --> </EMPLIST> </ROW> <!-- additional rows ... --> </ROWSET> As in the last example, the mapping is canonical, that is, <ROWSET> contains <ROW> elements that contain elements corresponding to the columns. As before, the elements corresponding to scalar type columns simply contain the data from the column. Things get more complex with elements corresponding to a complex type column. For example, <DEPTADDR> corresponds to the DEPTADDR column which is of object type ADDRESS. Consequently, <DEPTADDR> contains sub-elements corresponding to the attributes specified in the type ADDRESS. These sub-elements can contain data or sub-elements of their own, again depending if the attribute they correspond to is of a simple or complex type. When dealing with elements corresponding to database collections, things are also different. Specifically, the <EMPLIST> element corresponds to the EMPLIST column which is of a EmployeeListType collection type. Consequently, the <EMPLIST> element contains a list of <EMPLIST_ITEM> elements, each corresponding to one of the elements of the collection. Other observations to make about the preceding mapping are: The <ROW> elements contain a cardinality attribute num. If a particular column or attribute value is NULL, then for that row, the corresponding XML element is left out altogether. If a top level scalar column name starts with the at sign (@) character, then the particular column is mapped to an XML attribute instead of an XML element. Often, you need to generate XML with a specific structure. Since the desired structure may differ from the default structure of the generated XML document, you want to have some flexibility in this process. You can customize the structure of a generated XML document using one of the following methods: "Post-Generation Customizations" Source customizations are done by altering the query or database schema. The simplest and most powerful source customizations include the following: In the database schema, create an object-relational view that maps to the desired XML document structure. In your query: Use cursor subqueries, or cast-multiset constructs to get nesting in the XML document that comes from a flat schema. Alias column and attribute names to get the desired XML element names. Alias top level scalar type columns with identifiers that begin with the at sign (@) to have them map to an XML attribute instead of an XML element. For example, select empno as "@empno",... from emp, results in an XML document where the <ROW> element has an attribute EMPNO. XML SQL Utility enables you to modify the mapping it uses to transform SQL data into XML. You can make any of the following SQL to XML mapping changes: Change or omit the <ROWSET> tag. Change or omit the <ROW> tag. Change or omit the attribute num. This is the cardinality attribute of the <ROW> element. Specify the case for the generated XML element names. Specify that XML elements corresponding to elements of a collection must have a cardinality attribute. Specify the format for dates in the XML document. Specify that null values in the XML document have to be indicated using a nullness attribute, rather then by omission of the element. XML to SQL mapping is just the reverse of the SQL to XML mapping. Consider the following differences when mapping from XML to SQL, compared to mapping from SQL to XML: When going from XML to SQL, the XML attributes are ignored. Thus, there is really no mapping of XML attributes to SQL. When going from SQL to XML, mapping is performed from the ResultSet created by the SQL query to XML. This way the query can span multiple database tables or views. What is formed is a single ResultSet that is then converted into XML. This is not the case when going from XML to SQL, where: To insert one XML document into multiple tables or views, you must create an object-relational view over the target schema. If the view is not updatable, one solution is to use INSTEAD-OF-INSERT triggers. If the XML document does not perfectly map into the target database schema, there are three things you can do: Modify the Target. Create an object-relational view over the target schema, and make the view the new target. Modify the XML Document. Use XSLT to transform the XML document. The XSLT can be registered with XSU so that the incoming XML is automatically transformed, before any mapping attempts are made. Modify XSU's XML-to-SQL Mapping. You can instruct XSU to perform case insensitive matching of the XML elements to database columns or attributes. You can tell XSU to use the name of the element corresponding to a database row instead of ROW. You can specify in XSU the date format to use when parsing dates in the XML document. This section describes how XSU works when performing the following tasks: Queries That XSU Cannot Handle XSU generation is simple. SQL queries are executed and the ResultSet is retrieved from the database. Metadata about the ResultSet is acquired and analyzed. Using the mapping described in "Default SQL-to-XML Mapping" , the SQL result set is processed and converted into an XML document. There are certain types of queries that XSU cannot handle, especially those that mix columns of type LONG or LONG RAW with CURSOR() expressions in the Select clause. Please note that LONG and LONG RAW are two examples of datatypes that JDBC accesses as streams and whose use is deprecated. If you migrate these columns to CLOBs, then the queries will succeed. To insert the contents of an XML document into a particular table or view, XSU first retrieves the metadata about the target table or view. Based on the metadata, XSU generates a SQL INSERT statement. XSU extracts the data out of the XML document and binds it to the appropriate columns or attributes. Finally the statement is executed. For example, assume that the target table is dept1 and the XML document is the one generated from dept1. XSU generates the following INSERT statement. INSERT INTO dept1 (deptno, deptname, deptaddr, emplist) VALUES (?,?,?,?) Next, the XSU parses the XML document, and for each record, it binds the appropriate values to the appropriate columns or attributes: deptno <- 100 deptname <- SPORTS deptaddr <- AddressType('100 Redwood Shores Pkwy','Redwood Shores', 'CA','94065') emplist <- EmployeeListType(EmployeeType(7369,'John',100000, AddressType('300 Embarcadero','Palo Alto','CA','94056'),...) The statement is then executed. Insert processing can be optimized to insert in batches, and commit in batches. Updates and deletes differ from inserts in that they can affect more than one row in the database table. For inserts, each ROW element of the XML document can affect at most one row in the table, if there are no triggers or constraints on the table. However, with both updates and deletes, the XML element can match more than one row if the matching columns are not key columns in the table. For updates, you must provide a list of key columns that XSU needs to identify the row to update. For example, to update the DEPTNAME to SportsDept instead of Sports, you can have an XML document such as: <ROWSET> <ROW num="1"> <DEPTNO>100</DEPTNO> <DEPTNAME>SportsDept</DEPTNAME> </ROW> </ROWSET> and supply the DEPTNO as the key column. This results in the following UPDATE statement: UPDATE dept1 SET deptname = ? WHERE deptno = ? and bind the values this way: deptno <- 100 deptname <- SportsDept For updates, you can also choose to update only a set of columns and not all the elements present in the XML document. For deletes, you can choose to give a set of key columns for the delete to identify the rows. If the set of key columns are not given, then the DELETE statement tries to match all the columns given in the document. For an XML document: <ROWSET> <ROW num="1"> <DEPTNO>100</DEPTNO> <DEPTNAME>Sports</DEPTNAME> <DEPTADDR> <STREET>100 Redwood Shores Pkwy</STREET> <CITY>Redwood Shores</CITY> <STATE>CA</STATE> <ZIP>94065</ZIP> </DEPTADDR> </ROW> <!-- additional rows ... --> </ROWSET> To delete, XSU builds a DELETE statement (one for each ROW element): DELETE FROM dept1 WHERE deptno = ? AND deptname = ? AND deptaddr = ? The binding is: deptno <- 100 deptname <- sports deptaddr <- addresstype('100 redwood shores pkwy','redwood city','ca', '94065') XSU comes with a simple command line front end that gives you quick access to XML generation and insertion. The XSU command-line options are provided through the Java class, OracleXML. Invoke it by calling: java OracleXML This prints the front end usage information. To run the XSU command-line front end, first specify where the executable is located. Add the following to your CLASSPATH: XSU Java library ( xsu12.jar or xsu111.jar) Also, since XSU depends on Oracle XML Parser and JDBC drivers, make the location of these components known. To do this, the CLASSPATH must include the locations of: Oracle XML Parser Java library ( xmlparserv2.jar) JDBC library ( classes12.jar if using xsu12.jar or classes111.jar if using xsu111.jar) A JAR file for XMLType. For XSU generation capabilities, use the XSU getXML parameter. For example, to generate an XML document by querying the employees table in the hr schema, use: java OracleXML getXML -user "hr/hr" "select * from employees" This performs the following tasks: Connects to the current default database Executes the query select * from employees Converts the result to XML Displays the result The getXML parameter supports a wide range of options. They are explained in the following section. Table 7-1 lists the OracleXML getXML options: To insert an XML document into the employees table in the hr schema, use the following syntax: java OracleXML putXML -user "hr/hr" -fileName "/tmp/temp.xml" "employees" This performs the following tasks: Connects to the current database Reads the XML document from the given file Parses it, matches the tags with column names Inserts the values appropriately into the employees table The following two classes make up the XML SQL Utility Java API: XSU API for XML generation: oracle.xml.sql.query.OracleXMLQuery XSU API for XML save, insert, update, and delete: oracle.xml.sql.dml.OracleXMLSave The OracleXMLQuery class makes up the XML generation part of the XSU Java API. Figure 7-4 illustrates the basic steps you need to take when using OracleXMLQuery to generate XML: Create a connection. Create an OracleXMLQuery instance by supplying an SQL string or a ResultSet object. Obtain the result as a DOM tree or XML string. Figure 7-4 Generating XML With XML SQL Utility for Java: Basic Steps The following examples illustrate how XSU can generate an XML document in its DOM or string representation given a SQL query. See Figure 7-5. Figure 7-5 Generating XML With XML SQL Utility 1. Create a connection Before generating the XML you must create a connection to the database. The connection can be obtained by supplying the JDBC connect string. First register the Oracle JDBC class and then create the connection, as follows // import the Oracle driver.. import oracle.jdbc.*; // Load the Oracle JDBC driver DriverManager.registerDriver(new oracle.jdbc.OracleDriver()); // Create the connection. Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@","hr","hr"); Here, we use the default connection for the JDBC OCI driver. You can connect to the scott schema supplying the password tiger. You can also use the JDBC thin driver to connect to the database. The thin driver is written in pure Java and can be called from within applets or any other Java program. Here is an example of connecting using the JDBC thin driver: // Create the connection. Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@dlsun489:1521:ORCL", "hr","hr"); The thin driver requires you to specify the host name ( dlsun489), port number (1521), and the Oracle SID ( ORCL), which identifies a specific Oracle instance on the machine. No connection is needed when run in the server. When writing server side Java code, that is, when writing code that will run in the server, you need not establish a connection using a username and password, since the server-side internal driver runs within a default session. You are already connected. In this case call the defaultConnection() on the oracle.jdbc.driver.OracleDriver() class to get the current connection, as follows: import oracle.jdbc.*; // Load the Oracle JDBC driver DriverManager.registerDriver(new oracle.jdbc.OracleDriver()); Connection conn = new oracle.jdbc.OracleDriver().defaultConnection (); The remaining discussion either assumes you are using an OCI connection from the client or that you already have a connection object created. Use the appropriate connection creation based on your needs. 2. Creating an OracleXMLQuery Class instance: Once you have registered your connection, create an OracleXMLQuery class instance by supplying a SQL query to execute as follows: // import the query class in to your class import oracle.xml.sql.query.OracleXMLQuery; OracleXMLQuery qry = new OracleXMLQuery (conn, "select * from employees"); You are now ready to use the query class. 3. Obtain the result as a DOM tree or XML string: DOM object output. If, instead of a string, you wanted a DOM object, you can simply request a DOM output as follows: org.w3c.DOM.Document domDoc = qry.getXMLDOM(); and use the DOM traversals. XML string output. You can get an XML string for the result by: String xmlString = qry.getXMLString(); Here is a complete listing of the program to extract (generate) the XML string. This program gets the string and prints it out to standard output: import oracle.jdbc.*; import oracle.xml.sql.query.OracleXMLQuery; import java.lang.*; import java.sql.*; // class to test the String generation! class testXMLSQL { public static void main(String[] argv) { try{ // create the connection Connection conn = getConnection("hr","hr"); // Create the query class. OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from employees"); //.OracleDriver()); // Create the connection using the OCI driver Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@",username,password); return conn; } } To run this program: Store the code in a file called testXMLSQL.java Compile it using javac, the Java compiler Execute it by specifying: java testXMLSQL You must have the CLASSPATH pointing to this directory for the Java executable to find the class. Alternatively use various visual Java tools including Oracle JDeveloper to compile and run this program. When run, this program prints out the XML file to the screen. DOM represents an XML document in a parsed tree-like form. Each XML entity becomes a DOM node. Thus XML elements and attributes become DOM nodes while their children become child nodes. To generate a DOM tree from the XML generated by XSU, you can directly request a DOM document from XSU, as it saves the overhead of having to create a string representation of the XML document and then parse it to generate the DOM tree. XSU calls the parser to directly construct the DOM tree from the data values. The following example illustrates how to generate a DOM tree. The example steps through the DOM tree and prints all the nodes one by one. import org.w3c.dom.*; import oracle.xml.parser.v2.*; import java.sql.*; import oracle.xml.sql.query.OracleXMLQuery; import java.io.*; class domTest{ public static void main(String[] argv) { try{ // create the connection Connection conn = getConnection("hr","hr"); // Create the query class. OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from employees"); // Get the XML DOM object. The actual type is the Oracle Parser's DOM // representation. (XMLDocument) XMLDocument domDoc = (XMLDocument)qry.getXMLDOM(); // Print the XML output directly from the DOM domDoc.print(System.out); // If you instead want to print it to a string buffer you can do this. StringWriter s = new StringWriter(10000); domDoc.print(new PrintWriter(s)); System.out.println(" The string version ---> "+s.toString()); qry.close(); // Allways close the query!! }catch(Exception e){ System.out.println(e.toString()); } } // the examples shown so far, XML SQL Utility (XSU) takes the ResultSet or the query, and generates the whole document from all the rows of the query. To obtain 100 rows at a time, you then have to fire off different queries to get the first 100 rows, the next 100, and so on. Also it is not possible to skip the first five rows of the query and then generate the result. To obtain those results, use the XSU skipRows and maxRows parameter settings: skipRows parameter, when set, forces the generation to skip the desired number of rows before starting to generate the result. maxRows limits the number of rows converted to XML. For example, if you set skipRows to a value of 5 and maxRows to a value of 10, then XSU skips the first 5 rows, then generates XML for the next 10 rows. In Web scenarios, you may want to keep the query object open for the duration of the user's session. For example, consider the case of a Web search engine that gives the results of a user's search in a paginated fashion. The first page lists 10 results, the next page lists 10 more results, and so on. To achieve this, request XSU to convert 10 rows at a time and keep the ResultSet state active, so that the next time you ask XSU for more results, it starts generating from the place the last generation finished. There is also the case when the number of rows, or number of columns in a row are very large. In this case, you can generate multiple documents each of a smaller size. These cases can be handled by using the maxRows parameter and the keepObjectOpen function. Typically, as soon as all results are generated, OracleXMLQuery internally closes the ResultSet, if it created one using the SQL query string given, since it assumes you no longer want any more results. However, in the case described earlier, to maintain that state, you need to call the keepObjectOpen function to keep the cursor active. See the following example. This example shows how you can use the XSU for Java API to generate an XML page: import oracle.sql.*; import oracle.jdbc.*; import oracle.xml.sql.*; import oracle.xml.sql.query.*; import oracle.xml.sql.dataset.*; import oracle.xml.sql.docgen.*; import java.sql.*; import java.io.*; public class b { public static void main(String[] args) throws Exception { DriverManager.registerDriver(new oracle.jdbc.OracleDriver()); Connection conn = DriverManager.getConnection"jdbc:oracle:oci:@", "hr", "hr"(); Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); String sCmd = "SELECT FIRST_NAME, LAST_NAME FROM HR.EMPLOYEES"; ResultSet rs = stmt.executeQuery(sCmd); OracleXMLQuery xmlQry = new OracleXMLQuery(conn, rs); xmlQry.keepObjectOpen(true); //xmlQry.setRowIdAttrName(""); xmlQry.setRowsetTag("ROWSET"); xmlQry.setRowTag("ROW"); xmlQry.setMaxRows(20); //rs.beforeFirst(); String sXML = xmlQry.getXMLString(); System.out.println(sXML); } } You saw how you can supply a SQL query and get the results as XML. In the last example, you retrieved paginated results. However in Web cases, you may want to retrieve the previous page and not just the next page of results. To provide this scrollable functionality, you can use the Scrollable ResultSet. Use the ResultSet object to move back and forth within the result set and use XSU to generate the XML each time. The following example illustrates how to do this. This example shows you how to use the JDBC ResultSet to generate XML. Note that using the ResultSet might be necessary in cases that are not handled directly by XSU, for example, when setting the batch size, binding values, and so on. This example extends the previously defined pageTest class to handle any page. public class pageTest { Connection conn; OracleXMLQuery qry; Statement stmt; ResultSet rset; int lastRow = 0; public pageTest(String sqlQuery) { try{ conn = getConnection("hr","hr"); stmt = conn.createStatement();// create a scrollable Rset ResultSet rset = stmt.executeQuery(sqlQuery); // get the result set. qry = new OracleXMLQuery(conn,rset); // create an OracleXMLQuery // instance qry.keepCursorState(true); // Don't lose state after the first fetch qry.setRaiseNoRowsException(true); qry.setRaiseException(true); } catch (Exception e ) { e.printStackTrace(System.out); } } //; } // Returns the next XML page..! public String getResult(int startRow, int endRow) { qry.setMaxRows(endRow-startRow); // set the max # of rows to retrieve..! return qry.getXMLString(); } // Function to still perform the next page. public String nextPage() { String result = getResult(lastRow,lastRow+10); lastRow+= 10; return result; } public void close() throws SQLException { stmt.close(); // close the statement.. conn.close(); // close the connection qry.close(); // close the query.. } public static void main(String[] argv) { String str; try{ pageTest test = new pageTest("select * from employees"); int i = 0; // Get the data one page at a time..!!!!! while ((str = test.getResult(i,i+10))!= null) { System.out.println(str); i+= 10; } test.close(); } catch (Exception e ) { e.printStackTrace(System.out); } } } The OracleXMLQuery class provides XML conversion only for query strings or ResultSets. But in your application if you have PL/SQL procedures that return REF cursors, how do you do the conversion? In this case, you can use the earlier-mentioned ResultSet conversion mechanism to perform the task. REF cursors are references to cursor objects in PL/SQL. These cursor objects are valid SQL statements that can be iterated upon to get a set of values. These REF cursors are converted into OracleResultSet objects in the Java world. You can execute these procedures, get the OracleResultSet object, and then send that to the OracleXMLQuery object to get the desired XML. Consider the following PL/SQL function that defines a REF cursor and returns it: CREATE OR REPLACE PACKAGE BODY testRef IS function testRefCur RETURN empREF is a empREF; begin OPEN a FOR select * from hr.employees; return a; end; end; / Every time this function is called, it opens a cursor object for the query, select * from employees and returns that cursor instance. To convert this to XML, you do the following: import org.w3c.dom.*; import oracle.xml.parser.v2.*; import java.sql.*; import oracle.jdbc.*; import oracle.xml.sql.query.OracleXMLQuery; import java.io.*; public class REFCURtest { public static void main(String[] argv) throws SQLException { String str; Connection conn = getConnection("hr","hr"); // create connection // Create a ResultSet object by calling the PL/SQL function CallableStatement stmt = conn.prepareCall("begin ? := testRef.testRefCur(); end;"); stmt.registerOutParameter(1,OracleTypes.CURSOR); // set the define type stmt.execute(); // Execute the statement. ResultSet rset = (ResultSet)stmt.getObject(1); // Get the ResultSet OracleXMLQuery qry = new OracleXMLQuery(conn,rset); // prepare Query class qry.setRaiseNoRowsException(true); qry.setRaiseException(true); qry.keepCursorState(true); // set options (keep the cursor active. while ((str = qry.getXMLString())!= null) System.out.println(str); qry.close(); // close the query..! // Note since we supplied the statement and resultset, closing the // OracleXMLquery instance will not close these. We need to // explicitly close this ourselves..! stmt.close(); conn; } } To apply the stylesheet, on the other hand, use the applyStylesheet() command. This forces the stylesheet to be applied before generating the output. When there are no rows to process, XSU simply returns a null string. However, it might be desirable to get an exception every time there are no more rows present, so that the application can process this through exception handlers. When the setRaiseNoRowsException() is set, then whenever there are no rows to generate for the output XSU raises an oracle.xml.sql.OracleXMLSQLNoRowsException. This is a runtime exception and need not be caught unless needed. The following code extends the previous examples to use the exception instead of checking for null strings: public class pageTest { .... // rest of the class definitions.... public static void main(String[] argv) { pageTest test = new pageTest("select * from employees"); test.qry.setRaiseNoRowsException(true); // ask it to generate exceptions try { while(true) System.out.println(test.nextPage()); } catch(oracle.xml.sql.OracleXMLSQLNoRowsException e) { System.out.println(" END OF OUTPUT "); try{ test.close(); } catch ( Exception ae ) { ae.printStackTrace(System.out); } } } } Now that you have seen how queries can be converted to XML, here is how you can put the XML back into the tables or views using XSU. The class oracle.xml.sql.dml.OracleXMLSave provides this functionality. It has methods to insert XML into tables, update existing tables with the XML document, and delete rows from the table based on XML element values. In all these cases the given XML document is parsed, and the elements are examined to match tag names to column names in the target table or view. The elements are converted to the SQL types and then bound to the appropriate statement. The process for storing XML using XSU is shown in Figure 7-6. Figure 7-6 Storing XML in the Database Using XSU Consider an XML document that contains a list of ROW elements, each of which constitutes a separate DML operation, namely, INSERT, UPDATE, or DELETE on the table or view. To insert a document into a table or view, simply supply the table or the view name and then the document. XSU parses the document (if a string is given) and then creates an INSERT statement into which it binds all the values. By default, XSU inserts values into all the columns of the table or view and an absent element is treated as a NULL value. The following example shows you how the XML document generated from the employees table, can be stored in the table with relative ease. This example inserts XML values into all columns: // This program takes as an argument the file name, or a url to // a properly formated XML document and inserts it into the HR.EMPLOYEES table. import java.sql.*; import oracle.xml.sql.dml.OracleXMLSave; public class testInsert { public static void main(String argv[]) throws SQLException { DriverManager.registerDriver(new oracle.jdbc.OracleDriver()); Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@","hr","hr"); OracleXMLSave sav = new OracleXMLSave(conn, "employees"); sav.insertXML(sav.getURL(argv[0])); sav.close(); } } An INSERT statement of the form: INSERT INTO hr.employees (employee_id, last_name, job_id, manager_id, hire_date, salary, department_id) VALUES(?,?,?,?,?,?,?); is generated, and the element tags in the input XML document matching the column names are matched and their values bound. If you store> to a file and specify the file to the program described earlier, you get a new row in the employees table containing the values 7369, Smith, CLERK, 7902, 12/17/1980,800,20 for the values named. Any element absent inside the row element is taken as a NULL value. In certain cases, you may not want to insert values into all columns. This may be true when the group of values that you are getting is not the complete set and you need triggers or default values to be used for the rest of the columns. The code following shows how this can be done. Assume that you are getting the values only for the employee number, name, and job and that the salary, manager, department number, and hire date fields are filled in automatically. First create a list of column names that you want the INSERT statement to work on and then pass it to the OracleXMLSave instance. import java.sql.*; import oracle.xml.sql.dml.OracleXMLSave; public class testInsert { public static void main(String argv[]) throws SQLException { Connection conn = getConnection("hr","hr"); OracleXMLSave sav = new OracleXMLSave(conn, "hr.employees"); String [] colNames = new String[3]; colNames[0] = "EMPLOYEE_ID"; colNames[1] = "LAST_NAME"; colNames[2] = "JOB_ID"; sav.setUpdateColumnList(colNames); // set the columns to update..! // Assume that the user passes in this document as the first argument! sav.insert; } } An INSERT statement is generated INSERT INTO hr.employees (employee_id, last_name, job_id) VALUES (?, ?, ?); In the preceding example, if the inserted document contains values for the other columns ( HIRE_DATE, and so on), those are ignored. Also an insert operation is performed for each ROW element that is present in the input. These inserts are batched by default. Now that you know how to insert values into the table from XML documents, see how you can update only certain values. In an XML document, to update the salary of an employee and the department that they work in: <ROWSET> <ROW num="1"> <EMPLOYEE_ID>7369</EMPLOYEE_ID> <SALARY>1800</SALARY> <DEPARTMENT_ID>30</DEPARTMENT_ID> </ROW> <ROW> <EMPLOYEE_ID>2290</EMPLOYEE_ID> <SALARY>2000</SALARY> <HIRE_DATE>12/31/1992</HIRE_DATE> <!-- additional rows ... --> </ROWSET> You can use the XSU to update the values. For updates, you must supply XSU with the list of key column names. These form part of the WHERE clause in the UPDATE statement. In the employees table shown earlier, employee number ( employee_id) column forms the key. Use this for updates. This example updates table, emp, using keyColumns: this example, two UPDATE statements are generated. For the first ROW element, you generate an UPDATE statement to update the SALARY and HIRE_DATE fields as follows: UPDATE hr.employees SET salary = 2000 AND hire_date = 12/31/1992 WHERE employee_id = 2290; For the second ROW element: UPDATE hr.employees SET salary = 2000 AND hire_date = 12/31/1992 WHERE employee_id = 2290; You may want to specify a list of columns to update. This speeds the processing since the same UPDATE statement can be used for all the ROW elements. Also you can ignore other tags in the XML document. If you know that all the elements to be updated are the same for all the ROW elements in the XML document, you can use the setUpdateColumnNames() function to set the list of columns to update.); // you create the list of columns to update..! // Note that if you do not supply this, then for each ROW element in the // XML document, you would generate a new update statement to update all // the tag values (other than the key columns)present in that element. String[] updateColNames = new String[2]; updateColNames[0] = "SALARY"; updateColNames[1] = "JOB_ID"; sav.setUpdateColumnList(updateColNames); // set the columns to update..! //; } } When deleting from XML documents, statement will match those in the ROW element. Consider this delete example:; } } Using the same XML document shown previously for the update example, you get statement to only use the key values as predicates, you can use the setKeyColumn function to set this.; } } Here is the single generated DELETE statement: DELETE FROM hr.employees WHERE employee_id=? Here is more information about XSU. Exceptions are discussed. XSU catches all exceptions that occur during processing and throws an oracle.xml.sql.OracleXMLSQLException which is a runtime exception. The calling program thus does not have to catch this exception all the time, if the program can still catch this exception and do the appropriate action. The exception class provides functions to get the error message and also get the parent exception, if any. For example, the program shown later, catches the run time exception and then gets the parent exception. This exception is generated when the setRaiseNoRowsException is set in the OracleXMLQuery class during generation. This is a subclass of the OracleXMLSQLException class and can be used as an indicator of the end of row processing during generation. import java.sql.*; import oracle.xml.sql.query.OracleXMLQuery; public class testException { public static void main(String argv[]) throws SQLException { Connection conn = getConnection("hr","hr"); // wrong query this will generate an exception OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from employees where sd = 322323"); qry.setRaiseException(true); // ask it to raise exceptions..! try{ String str = qry.getXMLString(); }catch(oracle.xml.sql.OracleXMLSQLException e) { // Get the original exception Exception parent = e.getParentException(); if (parent instanceof java.sql.SQLException) { // perform some other stuff. Here you simply print it out.. System.out.println(" Caught SQL Exception:"+parent.getMessage()); } else System.out.println(" Exception caught..!"+e.getMessage()); } } //; } } This section lists XSU hints. If you have the following XML in can you use to store this XML with XSU? Since your example is more than one level deep (that is, it has a nested structure), you can use an object-relational schema. The XML preceding will canonically map to such a schema. An appropriate database schema is: case you wanted to load customer.xml by means of XSU into a relational schema, you can still do it by creating objects in views on top of your relational schema. For example, you can have a relational table that contains all the following information: CREATE TABLE cust_tab ( customerid NUMBER(10), firstname VARCHAR2(20), lastname VARCHAR2(20), street VARCHAR2(40), city VARCHAR2(20), state VARCHAR2(20), zip VARCHAR2(20) ); Then, you create a customer view that contains a customer object on top of it, as in the following example: CREATE VIEW customer_view AS SELECT customer_type(customerid, firstname, lastname, address_type(street,city,state,zip)) customer FROM cust_tab; Finally, you can flatten your XML using XSLT and then insert it directly into your relational schema. However, this is the least recommended option. Currently the XML SQL Utility (XSU) can only store data in a single table. It maps a canonical representation of an XML document into any table or view. But there is a way to store XML with XSU across tables. You can do this using XSLT to transform any document into multiple documents and insert them separately. Another way is to define views over multiple tables (using object views if needed) and then do the insertions into the view. If the view is inherently non-updatable (because of complex joins), then you can use INSTEAD OF triggers over the views to do the inserts. You have to use XSLT to transform your XML document; that is, you must change the attributes into elements. XSU does assume canonical mapping from XML to a database schema. This takes away a bit from the flexibility, forcing you to sometimes resort to XSLT, but at the same time, in the common case, it does not burden you with having to specify a mapping. By default, XSU is case sensitive. You have two options: use the correct case or use the ignoreCase feature. Due to a number of shortcomings of the DTD, this functionality is not available. The W3C XML Schema recommendation is finalized, but this functionality is not available yet in XSU. An example of an JDBC thin driver connect string is: jdbc:oracle:thin:user/password@hostname:portnumber:DBSID; Furthermore, the database must have an active TCP/IP listener. A valid OCI connect string is: jdbc:oracle:oci:user/password@hostname Does XML SQL Utility commit after it is done inserting, deleting, or updating? What happens if an error occurs? By default the XSU executes a number of INSERT, DELETE, or UPDATE statements at a time. The number of statements batch together and executed at the same time can be overridden using the setBatchSize feature. Also, by default XSU does no explicit commits. If AUTOCOMMIT is on (default for the JDBC connection), then after each batch of statement executions a commit occurs. You can override this by turning AUTOCOMMIT off and then specifying after how many statement executions a commit occurs, which can be done using the setCommitBatch feature. If an error occurs, XSU rolls back to either the state the target table was in before the particular call to XSU, or the state right after the last commit made during the current call to XSU. From XSU release 2.1.0 you can map a particular column or a group of columns to an XML attribute instead of an XML element. To achieve this, you have to create an alias for the column name, and prepend the at sign (@) before the name of this alias. For example: * Create a file called select.sql with the following content : SELECT empno "@EMPNO", ename, job, hiredate FROM emp ORDER BY empno * Call the XML SQL Utility : java OracleXML getXML -user "scott/tiger" \ -conn "jdbc:oracle:thin:@myhost:1521:ORCL" \ -fileName "select.sql" * As a result, the XML document will look like : <?xml version = '1.0'?> <ROWSET> <ROW num="1" EMPNO="7369"> <ENAME>SMITH</ENAME> <JOB>CLERK</JOB> <HIREDATE>12/17/1980 0:0:0</HIREDATE> </ROW> <ROW num="2" EMPNO="7499"> <ENAME>ALLEN</ENAME> <JOB>SALESMAN</JOB> <HIREDATE>2/20/1981 0:0:0</HIREDATE> </ROW> </ROWSET> Since the XML document is created in a streamed manner, the following query: SELECT ename, empno "@EMPNO", ... does not generate the expected result. It is currently not possible to load XML data stored in attributes. You will still need to use an XSLT transformation to change the attributes into elements. XSU assumes canonical mapping from XML to a database schema.
http://web.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10794/adx08xsu.htm
CC-MAIN-2014-41
refinedweb
7,706
55.74
Class Text implements a powerful multiline text editor, able to display images and embedded widgets as well as text in one or more fonts and colors. An instance t of Text supports many ways to refer to specific points in t's contents. t supplies methods and configuration options allowing is an index on any Text instance t, indicating the end of t's text. '1.0' is also an index, indicating the start of t's text (first line, first column). For more about indices, see Section 16.6.5 later in this chapter. An instance t of class Text supplies many methods. Methods dealing with marks and tags are covered in later sections. Many methods accept one or two indices into t's contents. The most frequently used methods are the following. t.delete(i) removes t's character at index i. t.delete(i,j) removes all characters from index i to index j, included. t.get(i) returns t's character at index i. t.get(i,j) returns a string made up of all characters from index i to index j, included. Inserts an embedded image in t's contents at index i. Call image_create with option image=e, where e is a Tkinter image object, as covered in Section 16.2.4 earlier in this chapter. Inserts string s in t's contents at index i. tags, if supplied, is a sequence of strings to attach as tags to the new text, as covered in Section 16.6.4 later in this chapter. Finds the first occurrence of string pattern in t's contents not earlier than index i and returns a string that is the index of the occurrence, or an empty string '' if not found. Option nocase=True makes the search case-insensitive; by default, or with an explicit option nocase=False, the search is case-sensitive. Option stop=j makes the search stop at index j; by default, the search wraps around to the start of t's contents. When you need to avoid wrapping, you can use stop=END. Scrolls t, if needed, to make sure the contents at index i are visible. If the contents at index i are already visible, see does nothing. Inserts an embedded widget in t's contents at index i. t must be the parent of the widget w that you are inserting. Call window_create either with option window=w to insert an already existing widget w, or with option create=callable. If you use option create, Tkinter calls callable without arguments the first time the embedded widget needs to be displayed, and callable must create a widget w (with t as w's parent) and return w as callable's result. Option create lets you arrange creation of embedded widgets just in time and only if needed, and is useful as an optimization when you have many embedded widgets in a very long text. xview and yview handle scrolling in horizontal and vertical directions respectively, and accept several different patterns of arguments. t.xview( ), without arguments, returns a tuple of two floats between 0.0 and 1.0 indicating the fraction of t's contents corresponding to the first (leftmost) and last (rightmost) currently visible columns. t.xview(MOVETO,frac) scrolls t left or right so that the first (leftmost) visible column becomes the one corresponding to fraction frac of t's contents, between 0.0 and 1.0. yview supports the same patterns of arguments, but uses lines rather than columns, and scrolls up and down rather than left and right. yview supports one more pattern of arguments: t.yview(i), for any index i, scrolls t up or down so that the first (topmost) visible line becomes the one of index i. You'll often want to couple a Scrollbar instance to a Text instance in order to let the user scroll through the text. The following example shows how to use a Scrollbar s to control vertical scrolling of a Text instance T: import Tkinter root = Tkinter.Tk( ) s = Tkinter.Scrollbar(root) T = Tkinter.Text(root) T.focus_set( ) s.pack(side=Tkinter.RIGHT, fill=Tkinter.Y) T.pack(side=Tkinter.LEFT, fill=Tkinter.Y) s.config(command=T.yview) T.config(yscrollcommand=s.set) for i in range(40): T.insert(Tkinter.END, "This is line %d\n" % i) Tkinter.mainloop( ) A mark on a Text instance t is a symbolic name indicating a point within the contents of t. INSERT and CURRENT are predefined marks on any Text instance t, with special predefined meanings. INSERT names the point where the insertion cursor (also known as the text caret) is located in t. By default, when the user enters text at the keyboard with the focus on t, t inserts the text at index INSERT. CURRENT names the point in t that was closest to the mouse cursor when the user last moved the mouse within t. By default, when the user clicks the mouse on t, t gets focus and sets INSERT to CURRENT. To create other marks on t, call method t.mark_set. Each mark is an arbitrary string containing no whitespace. To avoid any confusion with other forms of index, use no punctuation in a mark. A mark is an index, as covered in Section 16.6.5 later in this chapter; you can pass a string that is a mark on t wherever a method of t accepts an index argument. When you insert or delete text before a mark m, m moves accordingly. Deleting a portion of text that surrounds m does not remove m. To remove a mark on t, call method t.mark_unset. What happens when you insert text at a mark m depends on m's gravity setting, which can be RIGHT (the default) or LEFT. When m has gravity RIGHT, m moves to remain at the end (i.e., to the right) of text inserted at m. When m has gravity LEFT, m does not move when you insert text at m: text inserted at m goes after m, and m itself remains at the start (i.e., to the left) of such inserted text. A Text instance t supplies the following methods related to marks on t. mark is a mark on t. t.mark_gravity(mark) returns mark's gravity setting, RIGHT or LEFT. t.mark_gravity(mark,gravity) sets mark's gravity to gravity, which must be RIGHT or LEFT. If mark was not yet a mark on t, mark_set creates mark at index i. If mark was already a mark on t, mark_set moves mark to index i. mark is a user-defined mark on t (not one of the predefined marks INSERT or CURRENT). mark_unset removes mark from among the marks on t. A tag on a Text instance t is a symbolic name indicating zero or more regions (ranges) in the contents of a Text instance t. SEL is a predefined tag on any Text instance t, and names a single range of t that is selected, normally by the user dragging over it with the mouse. Tkinter typically displays the SEL range with distinctive background and foreground colors. To create other tags on t, call the t.tag_add or t.tag_config method, or use optional parameter tags of method t.insert. Ranges of various tags on t may overlap. t renders text having several tags by using options from the uppermost tag, according to calls to methods t.tag_raise or t.tag_lower. By default, a tag created more recently is above one created earlier. Each tag is an arbitrary string containing no whitespace. Each tag has two indices, first (start of the tag's first range) and last (end of the tag's last range). You can pass a tag's index wherever a method of t accepts an index argument. SEL_FIRST and SEL_LAST indicate the first and last indices of predefined tag SEL. A Text instance t supplies the following methods related to tags on t. t.tag_add(tag,i) adds tag tag to the single character at index i in t. t.tag_add(tag,i,j) adds tag tag to characters from index i to index j. t.tag_bind(tag,event_name,callable) sets callable as the callback object for event_name on tag's ranges. t.tag_bind(tag,event_name,callable,'+') adds callable to the previous bindings. Events, callbacks, and bindings are covered in Section 16.9 later in this chapter. Returns the value currently associated with option tag_option for tag tag. For example, t.tag_cget(SEL,'background') returns the color that t is using as the background of t's selected range. Sets or changes tag options associated with tag tag, determining the way t renders text in tag's region. The most frequently used tag options are: Background and foreground colors Background and foreground stipples, typically 'gray12', 'gray25', 'gray50', or 'gray75'; by default, solid colors (no stippling) Width in pixels of the text border; default is 0 (no border) Font used for text in the tag's ranges (see Section 16.6.6 later in this chapter) Text justification, LEFT (default), CENTER, or RIGHT Left margin (first line, other lines) and right margin (all lines), in pixels; default is 0 (no margin) Offset from baseline in pixels (greater than 0 for superscript, less than 0 for subscript); default is 0 (no offset, i.e., text aligned with the baseline) If true, draw a line right over the text Text relief: FLAT (default), SUNKEN, RAISED, GROOVE, or RIDGE Extra spacing in pixels (before first line, between lines, after last line); default is 0 (no extra spacing) If true, draw a line under the text Wrapping mode: WORD (default), CHAR, or NONE For example: t.tag_config(SEL,background='black',foreground='yellow') tells t to display t's selected range with yellow text on a black background. Forgets all information associated with tag tag on t. Gives tag's options minimum priority for ranges overlapping with other tags. Returns a sequence of strings whose items are all the tags that include index i. Called without arguments, returns a sequence of strings whose items are all the tags that currently exist on t. Gives tag's options maximum priority for ranges overlapping with other tags. Returns a sequence with an even number of strings (zero if tag is not a tag on t or has no ranges), alternating start and stop indices of tag's ranges. t.tag_remove(tag,i) removes tag tag from the single character at index i in t. t.tag_remove(tag,i,j) removes tag tag from characters from index i to index j. Removing a tag from characters that do not have that tag is not an error; it's an innocuous no-operation. t.tag_unbind(tag,event) removes any binding for event on tag's ranges. Events and bindings are covered in Section 16.9 later in this chapter. All ways to indicate a spot in the contents of a Text instance t are known as indices on t. The basic form of an index is a string of the form '%d.%d'%(L,C), indicating the spot in the text that is at line L (the first line is 1), column C (the first column is 0). For example, '1.0' is a basic-form index indicating the start of text for any t. t.index(i) returns the basic-form equivalent to an index i of any form. END is an index indicating the end of text for any t. '%d.end'%L, for any line number L, is an index indicating the end (the '\n' end-of-line marker) of line L. For example, '1.end' indicates the end of the first line. To get the number of characters in line number L of a Text instance t, you can use: def line_length(t, L): return int(t.index('%d.end'%L).split('.')[-1]) '@%d,%d'%(x,y) is also an index on t, where x and y are coordinates in pixels within t's window. Any tag on t is associated with two indices, strings '%s.first'%tag (the start of tag's first range) and '%s.last'%tag (the end of tag's last range). For example, right after t.tag_add('mytag',i,j), 'mytag.first' indicates the same spot in t as index i, and 'mytag.last' indicates the same spot in t as index j. Trying to use an index such as 'x.first' or 'x.last' when no characters in t are tagged with 'x' raises an exception. SEL_FIRST and SEL_LAST are indices (the start and end of the selection, the SEL tag). Trying to use SEL_FIRST or SEL_LAST when there is no selected range on t, however, raises an exception. Marks (covered earlier), including predefined marks INSERT and CURRENT, are also indices. Moreover, any image or widget embedded in t is also an index on t (methods image_create and window_create are also covered earlier in this chapter). Another form of index, index expressions, are obtained by concatenating to the string form of any index one or more of the following modifier string literals: n characters toward the end or start of the text (including newlines) n lines toward the end or start of the text Column 0 in the index's line or the '\n' in the index's line Start or end of the word that comprises the index (in this context, a word is a sequence of letters, digits, and underscores) You can optionally omit spaces and abbreviate keywords (even down to one character). For example, '%s-4c'%END means "four characters before the end of t's text contents," and '%s+1line linestart'%SEL_LAST means "the start of the line immediately after the line where t's selection ends." A Text instance t supplies two methods related to indices on t. Returns True or False reflecting the comparison of indices i and j, where a lower number means earlier, and op is one of '<', '>', '<=', '>=', '= =', or '!='. For example, t.compare('1.0+90c','<',END) returns True if t contains more than 90 characters, counting each line end as a character. Returns the basic form 'L.C' of index i where L and C are decimal string forms of the line and column of i (lines start from 1, columns start from 0). You can change fonts on any Tkinter widget with option font=font. In most cases it makes no sense to change widgets' fonts. However, in Text instances, and for specific tags on them, changing fonts can be quite useful. Module tkFont supplies class Font, attributes BOLD, ITALIC, and NORMAL to define font characteristics, and functions families (returns a sequence of strings naming all families of available fonts) and names (returns a sequence of strings naming all user-defined fonts). Frequently used font options are: Font family (e.g. 'courier' or 'helvetica') Font size (in points if positive, in pixels if negative) NORMAL (default) or ITALIC NORMAL (default) or BOLD An instance F of Font supplies the following frequently used methods. F.actual( ), without arguments, returns a dictionary with all options actually used in F (best available approximations to those requested). F.actual(font_option) returns the value actually used in F for the option font_option. Returns the value configured (i.e., requested) in F for font_option. F.config( ), without arguments, returns a dictionary with all options configured (i.e., requested) in F. Called with one or more named arguments, config sets font options in F's configuration. Returns a font G that is a copy of F. You can then modify either or both of F and G separately, and any modifications on one do not affect the other. To exemplify some of the many features of class Text, the following example shows one way to highlight all occurrences of a string in the text: from Tkinter import * root = Tk( ) # at top of root, left to right, put a Label, an Entry, and a Button fram = Frame(root) Label(fram,text='Text to find:').pack(side=LEFT) edit = Entry(fram) edit.pack(side=LEFT, fill=BOTH, expand=1) edit.focus_set( ) butt = Button(fram, text='Find') butt.pack(side=RIGHT) fram.pack(side=TOP) # fill rest of root with a Text and put some text there text = Text(root) text.insert('1.0', '''Nel mezzo del cammin di nostra vita mi ritrovai per una selva oscura che la diritta via era smarrita ''') text.pack(side=BOTTOM) # action-function for the Button: highlight all occurrences of string def find( ): # remove previous uses of tag `found', if any text.tag_remove('found', '1.0', END) # get string to look for (if empty, no searching) s = edit.get( ) if s: # start from the beginning (and when we come to the end, stop) idx = '1.0' while 1: # find next occurrence, exit loop if no more idx = text.search(s, idx, nocase=1, stopindex=END) if not idx: break # index right after the end of the occurrence lastidx = '%s+%dc' % (idx, len(s)) # tag the whole occurrence (start included, stop excluded) text.tag_add('found', idx, lastidx) # prepare to search for next occurrence idx = lastidx # use a red foreground for all the tagged occurrences text.tag_config('found', foreground='red') # give focus back to the Entry field edit.focus_set( ) # install action-function to execute when user clicks Button butt.config(command=find) # start the whole show (go event-driven) root.mainloop( ) This example also shows how to use a Frame to perform a simple widget layout task (put three widgets side by side, with the Text below them all). Figure 16-1 shows this example in action.
http://etutorials.org/Programming/Python+tutorial/Part+III+Python+Library+and+Extension+Modules/Chapter+16.+Tkinter+GUIs/16.6+The+Text+Widget/
CC-MAIN-2017-22
refinedweb
2,949
64.81
Asked by: w3wp.exe make CPU 100% on Windows Server 2008, missing library v4.0_policy.4.0.mscorlib.resources_de-DE_b77a5c561934e089 Question Hi guys, We have a Website (it is running on .NET Framework 4.0 with Integrated Mode) sitting on Windows Server 2008 that just recently switch over to implement RP WIF codes. Before switch over, the CPU usage hardly hit 100% during morning peak hours. After switch over, the CPU usage hits 100% constantly during morning peak hours, resulting the website very slow in serving request to clients. We ran a few performance and monitoring tools to try to find the cause of it. We noticed that there's this Current Connection and Current Anonymous Users values in 1 of the monitoring module. We managed to use Google Analytic to find out the total current user visiting the website (home page) at 1 particular time in the morning. Only about 35 users connected, and the Current Anonymous Users is about 70+ whereas the Current Connection exceeded 2000!! I referred to the Current Connection and Current Anonymous Users from this link below. We noticed that the Current Connection goes down very very slowly over the past few hours despite having a steady of 70+ Current Anonymous Users. Then, we checked on another monitoring module on the w3wp.exe, and found that we keep on hitting this message saying about some missing library v4.0_policy.4.0.mscorlib.resources_de-DE_b77a5c561934e089 We had tried recycle the Application Pool on IIS manager for this website but it didn't help. Any one has any idea what is this missing library? Could it be the cause? Appreciate the effort in advance. Thanks. All replies That is a publisher policy for german resource library of mscorlib.dll. Did you try repairing or reistalling .NET framework? May be this missing library is causing the issue, but not sure. Please mark this post as answer if it solved your problem. Happy Programming! Hi Adavesh, thanks for the prompt reply. Good observation, I did thought of something related to German (de-DE). What would be a good approach to solve this issue? Should I re-install the .NET Framework 4.0 on the server? Another question, in what cases that a publisher policy is being used by a web site / web application from the w3wp.exe IIS worker process? I don't know what we do that uses such publisher policy. Thanks - Edited by FbLover2011 Monday, April 30, 2012 8:51 AM added addtional question That publisher policy just redirects the request to resource dll of version 4.0 to something defined in the policy. For example, if the request comes for 4.0 resource, the request is redirected to 4.5 version (if this what is defined in the policy). May be that policy was installed while installing framework and that might be missing now. So, try repairing the framework. Please mark this post as answer if it solved your problem. Happy Programming! Apparently, upon inspecting on the web.config, apparently, there's this uiCulture="de-DE" as below <globalization fileEncoding="ISO-8859-1" requestEncoding="ISO-8859-1" responseEncoding="ISO-8859-1" culture="en-US" uiCulture="de-DE" /> Somehow the WIF refers to this configuration and attempt to search for this resource publisher policy of German. Changed it to uiCulture="en" should be able to help on the missing library issue. EDIT: to correct my post here, after changing to uiCulture="en", it didn't help. Instead, it throws back the missing library, but now mentioning the en instead of de-DE. But, if remove the culture and uiCulture element from the globalization tag, we didn't get the missing library error. However, my main concern is this: Does WIF (in general) needs to use globalization tag or using.System.Globalization namespace? I'm gone through the codes for my RP, but didn't find anything on using.System.Globalization, and also checked on the global.asax code behind, there is no code that uses the globalization or any culture stuff. Any idea what could be referring to the missing library? - Edited by FbLover2011 Wednesday, May 2, 2012 3:39 AM to add on additional discoveries Hi FbLover2011, check this, it might provide you some pointer: Regards,
https://social.msdn.microsoft.com/Forums/en-US/fee31eec-f9ca-414d-9663-bea8dd0cb19e/w3wpexe-make-cpu-100-on-windows-server-2008-missing-library?forum=clr
CC-MAIN-2020-45
refinedweb
710
67.15
Difference between C language and Embedded C.First of all, the brief introduction and history of language C and Embedded C. We always use c language on processor which has operating system install on it. Its mean c language is designed to run systems which has high memory. But embedded is particularly designed to run on microcontroller based application. So we can get an idea that c language execute on system which have high resources unlike embedded c which runs on microcontrollers which has limited resources like RAM, ROM and program memory. When we compile c program it is operating system dependent file which compiler generate but embedded c code execute on microcontrollers only. PIC16F877A is major microcontroller of microchip. C Language introduction and history C is basically a general purpose, vital important high level programming language that is best for firmware developing and the application used for portable purposes. It supports to improve the quality of computer programming and for solving the problems in a small amount of time. It is procedural language and was designed for complied using very useful compiler to feed a very low level memory. Using complier c language is converted into machine level language. It is useful for many applications, such as application in which is code writing is so much difficult by using c that code can be easily develop. The C language used the following keywords like, for, if/else, while, switch and do/while and large number of arithmetic and logic operators such +, +=, and ++. It was developed by Dennis Ritchie in between 1969 and 1973 at bell labs for operating system Unix. Embedded C introduction and history Embedded c is actually the extension of c language. It consists of c language sets that can be used for different purposes. It was extending by the standard committee c in 2008 for solving the issues provide by c language. It mostly used the syntax and standard c semantics. This language has so many features as compared to c language such as it used the fixed point arithmetic, spaces between maned address and hardware input, output addressing. As we look around ourselves, we have so many embedded systems such as washing machine, digital camera and mobile phones all these the examples of embedded system, in all these things embedded c language is used. So many extra characteristics have added in embedded c such as operation or mapping register, number of memory area and representation of fixed point. Major Difference Between C language and Embedded C C language features - C is a very high level language. - It has free program coding format. - For functioning operating system is necessary. - It is used for desktop computer applications. - It does not care about resources of memory because the whole memory is available in CPU. - The C language program runs in console but output of this program can be see through desktop LCD etc. - During running application it also supports the various types of other programming languages by indirectly or directly. - when the program is running the input can be given to the program. - Software system programs and logical programs are some examples of c language. Advantages of c - The C language is actually a building block on many different type of current languages and it have a powerful operator and verity of data type. - It has a portable program mean if program is written is in any computer this program can be easily to another compute without any change. - This language has variety of functions that can be used for development of programs. - It has flexibility mean its programs can be easily extending. - In this language programs making, debugging and testing is so much easy. Disadvantages of C - The C language does not have object oriented programming(OOP) therefore C++ have developed. - We can’t check the run time in c language. - It does not have strict type checking for example we can easily pass the integer value. - In c language there is no any namespace concept. - It does not have any constructor of destructor concept. Features of Embedded C - It is only the extension of C language and mothing more. - It has source code format that depends upon the kind of microcontroller or microprocessor that have been being used. - Through embedded c high level optimization can done. - It is used in microprocessor or microcontroller applications. - It has limited resources for used, mean the embedded system have only memory location. - In embedded c constraints runs on real time and output is not available at operating system. - It only supports the adequate processor or controller. - In embedded c only pre-define program can run. - It requires a compiler of embedded c, which have the compatibility with all the embedded system resources. - Some of the examples of embedded system c application are digital camera, DVD and digital TV etc. - The major advantage of embedded c is its coding speed and size is very simple and easy to understand. Advantages of embedded c - it is easier to understand. - It performs the same task all the time so there is no need of any hardware changing such as extra memory or space for storage. - It preforms only one task at one time mean it purposed the dedicated task - Hardware cost of embedded c systems are usually so much low. - Embedded applications are very suitable for industrial purposes. Disadvantages of embedded c - It performs only one task at same time so many can’t perform the multi task at same time. - If we change the program then must be need to change the hardware. - It only supports the hardware system. - It also have issue of scalability mean it can’t easily have scaled up as scope change or demand. - It have a limitation such as limited memory or computer compatibility. So if we only talk about programming then the programming of language c and embedded c is almost same only lies the difference between these two is the resources how we use it and some kind of code effectively.
https://microcontrollerslab.com/difference-c-language-embedded-c/
CC-MAIN-2021-39
refinedweb
1,006
55.13
From: Jonathan Wakely (cow_at_[hidden]) Date: 2005-02-11 04:24:52 On Fri, Feb 11, 2005 at 02:23:42AM +0000, Tony Han Bao wrote: > Hi John, > > From the standard: > > 9.4.2 Static data members > > 4 If a static data member is of const integral or const enumeration > type, its declaration in the class definition can specify a > constant-initializer which shall be an integral constant expression > (5.19). In that case, the member can appear in integral constant > expressions within its scope. The member shall still be defined in a > namespace scope if it is used in the program and the namespace scope > definition shall not contain an initializer. > > so adding the line > > const short S::l1; > > solves the problem. Note this is documented here: > But I still don't understand neither why passing by value doesn't cause > the error. Because when passing by value S::l1 is only used as an integral constant expression, to initialise a variable. Passing by reference is similar to taking its address, which requires it to *have* and address, which requires if to have storage, so it must have been defined somewhere. jon > On 11 Feb 2005, at 01:03, John Eddy wrote: > > >The following bit of code gives me an undefined symbol (l1) when using > >gcc 3.2.2-5.8. Is there something wrong with the code or is there a > >bug in the compiler or a setting I don't know about, etc? > > > > > >struct S { static const short l1 = 10; }; > > > >void go(const short& l) {}; // causes undefined symbol l1 > > > >int main(int argc, char* argv[]) { go(S::l1); return 0; } > > > > > >If I do normal, non-in-class-initialization, the problem doesn't > >appear nor does it appear if I accept the short by value in go. -- "We're doomed!" - C3PO Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk
https://lists.boost.org/Archives/boost/2005/02/80179.php
CC-MAIN-2021-04
refinedweb
325
60.35
Diffie Hellman Key Exchange How do two people who’ve never met exchange a shared key? How do we agree on a shared key without Eve finding out what the key is? The Diffie-Hellman Key Exchange. Alice and Bob agree upon the below prime modulus and a generator (modulus: 17, generator: 3). // Agreed upon function: function e(randomNum){ return (3**randomNum)%17; } Eve can see this function too. But here’s where it gets interesting: Alice and Bob both choose private numbers. Alice's private number: 15 Bob's private number: 13 Then Alice and Bob run their private numbers through the function, and exchange the results. Alice: e(Alice's Private Number) = e(15) = 6 Bob: e(Bob's Private Number) = e(13) = 12 They exchange these numbers: Alice — 6 —> <— 12 — Bob Alice now knows: - The agreed upon function e() - Her private number (15) - Her processed number (6) - Bob’s processed number (12) Alice now runs her private number and Bob's processed number through the function. She raises Bob's processed number by her private number. Alice's private v (12**15)%17 = 10 ^ Bob's processed number Bob now knows: - The agreed upon function e() - His private number (13) - His processed number (12) - Alice’s processed number (6) Bob now runs his private number and Alice's processed number through the function. He raises Alice's processed number by his private number. Bob's private v (6**13)%17 = 10 ^ Alice's processed number Now they have securely exchanged a shared key!
https://medium.com/@FranklynZhu/diffie-hellman-key-exchange-956b8ab23341
CC-MAIN-2017-51
refinedweb
256
60.65
ReactJS | Importing and Exporting We have learned so far that React Apps are basically a collection of interactive Components, and from the article, on ReactJS Components we have known how to create components but even with that knowledge, it will not be sufficient to create a full-fledged React App as in order to create a collection of Components we first need to know the way to use and re-use components that may have been defined elsewhere. To do so we need to know two operations broadly known as Importing and Exporting. We may not have told earlier, but we have been using the import operation in every one of our previous articles when we were importing react and react-dom itself. Similarly, we can also import user-defined classes, components, or even a part of the same. Let us shift our discussion over Importing. Importing The world of Javascript is always moving and one of the latest ES2015 now provides a more advanced module importing/exporting pattern. In previous engines, the developer had to use the module.exports = { // Define your exports here. }, but now with ES2015 every module can have a default export or may export several named parameters, and if it is possible to export it will surely be possible to import the same. Thus, with ES2015 every module may import the default export or several named parameters or even a valid combination. React uses the same features as mentioned above, and you may treat each React Component as a module itself. Thus, it is possible to import/export React Components and is one of the basic operations to be performed. In React we use the keyword import and from to import a particular module or a named parameter. Let us now see the different ways we can use the import operation in React. - Importing default export: Every module is said to have at most one default export. In order to import the default export from a file, we can use only the address and use the keyword import before it, or we can give a name to the import making the syntax as the following. import GIVEN_NAME from ADDRESS - Importing named values: Every module can have several named parameters and in order to import one we should use the syntax as follows. import { PARA_NAME } from ADDRESS - And similarly, for multiple such imports, we can use a comma to separate two-parameter names within the curly braces. - Importing a combination of Default Exports and Named Values: The title makes it clear what we need to see is that the syntax of the same. In order to import a combination, we should use the following syntax. import GIVEN_NAME, { PARA_NAME, ... } from ADDRESS Exporting Now, importing is an operation that requires the permission of the module. Importing is possible only if the module or named property to be imported has been exported in its declaration. In React we use the keyword export to export a particular module or a named parameter or a combination. Let us now see the different ways we can use the import operation in React. - Exporting default export: We have already learned that every module is said to have at most one default export. In order to export the default export from a file, we need to follow the syntax described below. export default GIVEN_NAME - Exporting named values: Every module can have several named parameters and in order to export one we should use the syntax as follows. export { PARA_NAME } - And similarly, for multiple such exports, we can use a comma to separate two-parameter names within the curly braces. Let us see it in the example below where we would use the import and export operations in several ways. Let there are two files, one index.js, and the other change-color.js. Let us see how to implement the import and export operations. This is the index.js file: javascript This is the change-color.js file: javascript Output: The codes above generate the following App which on clicking the “GeeksforGeeks” changes the text color of it. It is illustrated in the figure below. Now apparently we have completed all the basic requirements to create a basic yet presentable app of our own. Stay tuned to create one for yourself.
https://www.geeksforgeeks.org/reactjs-importing-exporting/?ref=lbp
CC-MAIN-2022-21
refinedweb
716
53.21
… Autodesk AutoCAD 2020 23.1 Civil 3D Full Version Full Version Free A report from the Government Accountability Office indicates that the CAD industry is facing a shortfall of 4,000 designers, and that the national average wage for a licensed AutoCAD Download With Full Crack designer is $63,000. In the aerospace and defense industry, a recent study revealed that over $1 billion in available design work has been lost due to lack of designers. For manufacturers with high level of profits, AutoCAD Crack is arguably one of the most critical technologies in the production process. On the software side, a variety of architectural and interior design software can be used in conjunction with AutoCAD Activation Code. AutoCAD For Windows 10 Crack and similar programs are crucial to the success of companies across a wide range of industries including mechanical design, architecture, construction, interior design, manufacturing, transportation, surveying, and more. For this reason, AutoCAD has consistently been listed as a top desktop app by Computerworld for over 20 years. AutoCAD currently runs on Windows, Mac OS X, and Linux operating systems. While AutoCAD is a desktop app, it also has mobile and web app capabilities. AutoCAD Mobile allows AutoCAD users to access and make changes to files from mobile devices such as smartphones, tablets, and laptops. AutoCAD Web Access provides a more automated means of performing common editing tasks on web browsers, such as adding objects and layers to files that can be shared, and printing out files. AutoCAD Mobile and AutoCAD Web Access can be used to view and edit AutoCAD files on mobile devices and desktop computers. In addition to being the top desktop app by Computerworld, AutoCAD is also the most widely used CAD software in the world. Currently, AutoCAD is used to create CAD models for more than 3,500 companies in more than 100 countries. In 2005, Autodesk estimated that there were over 2 million CAD users.[Visit the AutoCAD Online Training Forum] Table of Contents AutoCAD: An Introduction How do you use AutoCAD? How do you start a new AutoCAD project? File Structures Modeling Drawing Text Tools Structure Materials Shapes Layers Working with Layers Lines, Splines, and Beziers Curves Points, Polylines, and Polylines Polygons, Multi-Ed AutoCAD 2020 23.1 Free (Final 2022) Drawings can be exported in a number of file formats including CAD DWG (AutoCAD For Windows 10 Crack 3813325f96 AutoCAD 2020 23.1 Crack + Full Product Key [Mac/Win] Click on My Account in the menu bar of Autocad. You will be presented with the login page. Type Autocad and Password in the login box. Click on the Login button. You will be presented with the page containing the list of installed applications. Click on the Autodesk Autocad and click on Activate button. Click on OK button to get to the Activation page. Fill the Required Information. Click on Next button. Click on I agree button. Click on Finish button. You will be presented with the Licenses page. Click on the Accept button. You will be presented with the Licenses page. Click on the License Path in the Licenses box. Click on the Edit button. Type ‘HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\Installed Applications’ in the text box. Type autocad.dll in the value. Type 1.1.0.0 in the Value Type. Type 3101 in the Value data. Click on OK. You will be presented with the Licenses page. Click on the Update button. Click on OK button to activate the Autocad. References Category:AutodeskIn a blog post today, YouTube says the new functionality is rolling out “gradually” as an “upcoming feature” on Android, and soon on iOS. It’s also coming to mobile web in coming weeks. The update will allow creators to share links to their videos, without adding a play button to each video. So in a sense, you’ll be able to preview an entire playlist without having to play each of them. The company says it plans to use the new feature to showcase videos on YouTube channels as a place to discover new creators. And it’s free to use. So hopefully this will make it a lot easier to discover new creators on the platform.Q: AngularJS – Performance and performance optimizations I’m new to Angular and I’m interested in performance optimizations. I have a list of names and I’m trying to implement search function that would return results based on the name. I used to query database for every record, but found out that it is expensive. So I decided to use JSON file. Here is how it works: Start with records array of length n (I plan×8.5_12-16_0.pdf What’s New in the AutoCAD? Markup Import Similar to importing into PowerPoint, now you can import into AutoCAD directly from Paper by sending feedback to the drawing. You can import a single sheet or multiple pages, mark up drawings, and then save them in a variety of formats. (video: 1:17 min.) If you have comments about the new features in AutoCAD 2023, please share your ideas in the comments section below.Chondrosarcoma of the larynx. Primary chondrosarcoma of the larynx is a rare tumor that is commonly misdiagnosed as a cartilaginous tumor or an epidermoid cyst, and it must be distinguished from metastatic deposits. Based on a review of the literature and a recent experience with this type of tumor in the head and neck region, a clinical approach to its diagnosis is provided. Histopathologic and immunohistochemical features are illustrated. Treatment of this neoplasm is complete surgical excision, and the prognosis for patients with chondrosarcoma of the larynx is excellent. else return i; } if (n > 0) *m++ = n; return m; } /** * mnt_add_unique_name – add a unique mount point name * @name: the mount point name (to be unique) * * Adds a unique, unguessable mount point name to the sysfs mount point. * * Returns zero on success or a negative error code on failure. */ int mnt_add_unique_name(char *name) { struct mnt_namespace *ns; struct mount *m; /* This should never be called with a NULL name, but just in case */ BUG_ON(!name); if (sysfs_unique_name) return -EEXIST; /* * Add a unique name to the system mount point only. Add the * actual mount point only if a group is specified. */ ns = mnt_ns_create(name, &mnt_info); if (IS_ERR(ns)) return PTR_ERR(ns); /* setup the mount point */ System Requirements: Minimum: OS: Windows 7 64-bit (Windows 8.x 32-bit is not supported) Processor: Dual core 2GHz or faster (single core 1.6GHz or faster is not supported) Memory: 4 GB RAM (8 GB RAM is recommended) Graphics: NVIDIA GeForce 7800 GT / ATI Radeon HD 2600 (or higher) with 256MB of VRAM (512MB of VRAM is recommended) DirectX: Version 9.0 Network: Broadband Internet connection Recommended:
https://madisontaxservices.com/autodesk-autocad-2020-23-1-civil-3d-full-version-full-version-free
CC-MAIN-2022-40
refinedweb
1,124
56.66
CSS namespacing, somebody tell me what I'm doing wrong. Can't paste here, this link instead... Other related posts: Xero vs. Quickbooks, from a Quickbooks User Vodafone Website Failure Fails Concurrent PHP Sessions - Cunning Trickery Comment by chiefie, on 9-Nov-2009 20:50 Interestingly, when reading up about CSS3 namespace () it seems correct, however I've tried in Safari 4 on Windows and Firefox 3.5.4 (both do support draft CSS3 to some level). It is either the browsers are yet fully implement this, or they use vendor-specific method for CSS3 implementation? What browser you tested on? Is there anymore write regarding if this draft selector actually been implemented or just a suggestion to CSS3 namespace? Comment by chiefie, on 9-Nov-2009 20:54 Found something interesting. This is working/viewable in Firefox 3.5.4 - Comment by chiefie, on 9-Nov-2009 21:50 Nah, CSS3 is currently in candidate draft, which mean it is no where near finalised (draft is the closest any of the CSS3 be made to in the near future.) CSS2.1 was in draft for a long time. Not all CSS3 that been suggested may make it through to final, which mean when it is at that stage, the browser vendors will implement them into next browser, and we count on Microsoft to adopt CSS3 in partial or in most basic form when it is finalised... (and probably when it is IE9 or 9-Nov-2009 20:04 I think this would be more appropriate on a forum post?
http://www.geekzone.co.nz/sleemanj/6924
CC-MAIN-2017-09
refinedweb
260
71.14