• Title/Summary/Keyword: C language

Search Result 1,646, Processing Time 0.035 seconds

Analysis of Web Browser Security Configuration Options

  • Jillepalli, Ananth A.;de Leon, Daniel Conte;Steiner, Stuart;Alves-Foss, Jim
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • v.12 no.12
    • /
    • pp.6139-6160
    • /
    • 2018
  • For ease of use and access, web browsers are now being used to access and modify sensitive data and systems including critical control systems. Due to their computational capabilities and network connectivity, browsers are vulnerable to several types of attacks, even when fully updated. Browsers are also the main target of phishing attacks. Many browser attacks, including phishing, could be prevented or mitigated by using site-, user-, and device-specific security configurations. However, we discovered that all major browsers expose disparate security configuration procedures, option names, values, and semantics. This results in an extremely hard to secure web browsing ecosystem. We analyzed more than a 1000 browser security configuration options in three major browsers and found that only 13 configuration options had syntactic and semantic similarity, while 4 configuration options had semantic similarity, but not syntactic similarity. We: a) describe the results of our in-depth analysis of browser security configuration options; b) demonstrate the complexity of policy-based configuration of web browsers; c) describe a knowledge-based solution that would enable organizations to implement highly-granular and policy-level secure configurations for their information and operational technology browsing infrastructures at the enterprise scale; and d) argue for necessity of developing a common language and semantics for web browser configurations.

Investigation of single bubble behavior under rolling motions using multiphase MPS method on GPU

  • Basit, Muhammad Abdul;Tian, Wenxi;Chen, Ronghua;Basit, Romana;Qiu, Suizheng;Su, Guanghui
    • Nuclear Engineering and Technology
    • /
    • v.53 no.6
    • /
    • pp.1810-1820
    • /
    • 2021
  • Study of single bubble behavior under rolling motions can prove useful for fundamental understanding of flow field inside the modern small modular nuclear reactors. The objective of the present study is to simulate the influence of rolling conditions on single rising bubble in a liquid using multiphase Moving Particle Semi-implicit (MPS) method. Rolling force term was added to 2D Navier-Stokes equations and a computer program was written using C language employing OpenACC to port the code to GPU. Computational results obtained were found to be in good agreement with the results available in literature. The impact of rolling parameters on trajectory and velocity of the rising bubble has been studied. It has been found that bubble rise velocity increases with rolling amplitude due to modification of flow field around the bubble. It has also been concluded that the oscillations of free surface, caused by rolling, influence the bubble trajectory. Furthermore, it has been discovered that smaller vessel width reduces the impact of rolling motions on the rising bubble. The effect of liquid viscosity on bubble rising under rolling was also investigated and it was found that effects of rolling became more pronounced with the increase of liquid viscosity.

Sim-Hadoop : Leveraging Hadoop Distributed File System and Parallel I/O for Reliable and Efficient N-body Simulations (Sim-Hadoop : 신뢰성 있고 효율적인 N-body 시뮬레이션을 위한 Hadoop 분산 파일 시스템과 병렬 I / O)

  • Awan, Ammar Ahmad;Lee, Sungyoung;Chung, Tae Choong
    • Annual Conference of KIPS
    • /
    • 2013.05a
    • /
    • pp.476-477
    • /
    • 2013
  • Gadget-2 is a scientific simulation code has been used for many different types of simulations like, Colliding Galaxies, Cluster Formation and the popular Millennium Simulation. The code is parallelized with Message Passing Interface (MPI) and is written in C language. There is also a Java adaptation of the original code written using MPJ Express called Java Gadget. Java Gadget writes a lot of checkpoint data which may or may not use the HDF-5 file format. Since, HDF-5 is MPI-IO compliant, we can use our MPJ-IO library to perform parallel reading and writing of the checkpoint files and improve I/O performance. Additionally, to add reliability to the code execution, we propose the usage of Hadoop Distributed File System (HDFS) for writing the intermediate (checkpoint files) and final data (output files). The current code writes and reads the input, output and checkpoint files sequentially which can easily become bottleneck for large scale simulations. In this paper, we propose Sim-Hadoop, a framework to leverage HDFS and MPJ-IO for improving the I/O performance of Java Gadget code.

A Design and Analysis of PKCS #11 supporting the KCDSA mechanism (KCDSA 메커니즘을 제공하는 PKCS #11 설계 및 분석)

  • 김명희;김은환;전문석
    • Journal of the Korea Institute of Information Security & Cryptology
    • /
    • v.14 no.5
    • /
    • pp.141-151
    • /
    • 2004
  • According to the improvemnent of electronic commerce, the requirements of security devices are becoming increasingly pervasive. The security API must design easily and securely to support a compatibility feature between security devices. It is chosen the PKCS #11 interface by RSA Labs that shows the compatibility and extensibility standards of many application product and implementation, and supported KCDSA mechanism which is a korean digital signature standard. And the PKCS #11 security API defines new key management function which provides more secure key management ability. We suggest the object attributes and templates of KCDSA private and public key object, generate and verify digital signature using KCDSA mechanism. The PKCS #11 supporting KCDSA mechanism is designed, implemented using C-Language, tested a performance, and analyzed the security and compatibiltiy feature.

Traffic Signal Detection and Recognition Using a Color Segmentation in a HSI Color Model (HSI 색상 모델에서 색상 분할을 이용한 교통 신호등 검출과 인식)

  • Jung, Min Chul
    • Journal of the Semiconductor & Display Technology
    • /
    • v.21 no.4
    • /
    • pp.92-98
    • /
    • 2022
  • This paper proposes a new method of the traffic signal detection and the recognition in an HSI color model. The proposed method firstly converts a ROI image in the RGB model to in the HSI model to segment the color of a traffic signal. Secondly, the segmented colors are dilated by the morphological processing to connect the traffic signal light and the signal light case and finally, it extracts the traffic signal light and the case by the aspect ratio using the connected component analysis. The extracted components show the detection and the recognition of the traffic signal lights. The proposed method is implemented using C language in Raspberry Pi 4 system with a camera module for a real-time image processing. The system was fixedly installed in a moving vehicle, and it recorded a video like a vehicle black box. Each frame of the recorded video was extracted, and then the proposed method was tested. The results show that the proposed method is successful for the detection and the recognition of traffic signals.

Effects of Adolescents' Perception of the Need for Safety Education on Fire Safety Awareness: The Control Effect of Personality Factors (청소년의 안전교육 필요성에 대한 인식이 소방안전의식에 미치는 영향: 성격요인의 조절효과)

  • JinKyoung, Lee;Jai Young, Lee;Sook-hee, Im
    • Journal of the Korea Safety Management & Science
    • /
    • v.24 no.4
    • /
    • pp.109-116
    • /
    • 2022
  • This study attempted to explore how the perception of the necessity of safety education for adolescents affects fire safety consciousness and whether personality factors control the relationship. To this end, a survey was conducted at a high school in region C, and data of 1,049 people who agreed to the survey and responded faithfully were used for analysis. Hayes' macro was used to analyze the moderating effect, and as a result of the analysis, adolescents' awareness of the need for safety education increased, and their relationship was significantly regulated by extroversion, openness, and conscientiousness among the five personality factors. A simple regression line analysis was conducted to find out the specific direction, and it was found that the higher the need for safety education in both the group with high extroversion, openness, and conscientiousness, the higher the awareness of safety education. These results suggest that changes in educational methods and contents are needed to raise awareness of the necessity of education in fire safety education and to improve educational motivation, and that it may be helpful to actively utilize students' personality strengths in education.

Development of AR Content for Algorithm Learning

  • Kim, So-Young;Kim, Heesun
    • International Journal of Internet, Broadcasting and Communication
    • /
    • v.14 no.3
    • /
    • pp.292-298
    • /
    • 2022
  • Coding education and algorithm education are essential in the era of the fourth industrial revolution. Text-oriented algorithm textbooks are perceived as difficult by students who are new to coding and algorithms. There is a need to develop educational content so that students can easily understand the principles of complex algorithms. This paper has implemented basic sorting algorithms as augmented reality contents for students who are new to algorithm education. To make it easier to understand the concept and principles of sorting algorithms, sorting data was expressed as a 3D box and the comparison of values according to the algorithms and the movement of values were produced as augmented reality contents in the form of 3D animations. In order to help with the understanding of sorting algorithms in C language, the change of variable values and the exchange of data were shown as animations according to the execution order of the code and the flow of the loop. Students can conveniently use contents through a smart phone without special equipment by being produced in a marker-based manner. Interest and immersion, as well as understanding of classes of sorting algorithms can be increased through educational augmented reality-based educational contents.

Building a Dynamic Analyzer for CUDA based System.

  • SALAH T. ALSHAMMARI
    • International Journal of Computer Science & Network Security
    • /
    • v.23 no.8
    • /
    • pp.77-84
    • /
    • 2023
  • The utilization of GPUs on general-purpose computers is currently on the rise due to the increase in its programmability and performance requirements. The utility of tools like NVIDIA's CUDA have been designed to allow programmers to code algorithms by using C-like language for the execution process on the graphics processing units GPU. Unfortunately, many of the performance and correctness bugs will happen on parallel programs. The CUDA tool support for the parallel programs has not yet been actualized. The use of a dynamic analyzer to find performance and correctness bugs in CUDA programs facilitates the execution of sophisticated processes, especially in modern computing requirements. Any race conditions bug it will impact of program correctness and the share memory bank conflicts to improve the overall performance. The technique instruments the programs in a way that promotes accessibility of the memory locations accessed by different threads well as to check for any bugs in the code of a program. The instrumented source code will be used initiated directly in the device emulation code of CUDA to send report for the user about all errors. The current degree of automation helps programmers solve subtle bugs in highly complex programs or programs that cannot be analyzed manually.

The Effect of Psychological Characteristics of Adolescents on Life Safety Awareness (청소년의 심리적 특성이 생활안전의식에 미치는 영향)

  • Sook-hee Im;JinKyoung Lee;Jai Young Lee
    • Journal of the Korea Safety Management & Science
    • /
    • v.25 no.2
    • /
    • pp.49-57
    • /
    • 2023
  • The purpose of this study is to explore how adolescents' psychological characteristics affect their sense of life safety according to gender. To this end, a survey was conducted on male and female high school students in six schools in the C area, and a total of 1,048 data were used for analysis. Differences in major variables according to gender were verified, and the effect of psychological characteristics on living safety awareness was analyzed through hierarchical multiple regression analysis. As a result of the analysis, depression, anxiety, type A characteristics, and the presence or absence of experience in accidents did not significantly affect life safety awareness in the male student group. On the other hand, in the female student group, anxiety and type A characteristics had a significant effect on life safety awareness. Anxiety negatively affects living safety awareness, and type A characteristics have been shown to have a positive effect on living safety awareness. The presence or absence of depression and accident experience did not significantly affect life safety awareness. The results of these studies suggest that gender differences should be considered in education to prevent life safety awareness and that education that reflects the psychological characteristics of adolescents is necessary.

Classification and prediction of the effects of nutritional intake on diabetes mellitus using artificial neural network sensitivity analysis: 7th Korea National Health and Nutrition Examination Survey

  • Kyungjin Chang;Songmin Yoo;Simyeol Lee
    • Nutrition Research and Practice
    • /
    • v.17 no.6
    • /
    • pp.1255-1266
    • /
    • 2023
  • BACKGROUND/OBJECTIVES: This study aimed to predict the association between nutritional intake and diabetes mellitus (DM) by developing an artificial neural network (ANN) model for older adults. SUBJECTS/METHODS: Participants aged over 65 years from the 7th (2016-2018) Korea National Health and Nutrition Examination Survey were included. The diagnostic criteria of DM were set as output variables, while various nutritional intakes were set as input variables. An ANN model comprising one input layer with 16 nodes, one hidden layer with 12 nodes, and one output layer with one node was implemented in the MATLAB® programming language. A sensitivity analysis was conducted to determine the relative importance of the input variables in predicting the output. RESULTS: Our DM-predicting neural network model exhibited relatively high accuracy (81.3%) with 11 nutrient inputs, namely, thiamin, carbohydrates, potassium, energy, cholesterol, sugar, vitamin A, riboflavin, protein, vitamin C, and fat. CONCLUSIONS: In this study, the neural network sensitivity analysis method based on nutrient intake demonstrated a relatively accurate classification and prediction of DM in the older population.