「我是一個前端工程師,每次要進行頁面套版時,都要等後端工程師寫好 API 才能測試,我覺得很痛苦,但公司的後端我又叫不動,有沒有甚麼方法可以簡單的設計出 RESTful API,讓我可以立即套版使用?我不想每次都苦苦哀求後端工程師快點生出 API 給我!」這是之前某位學生告訴我的一段話,也想必是許多前端工程師的痛,現在,你可以不一樣!
我將在這場分享中講解如何利用 JSON Server 快速建立 RESTful API 服務,讓前端工程師可以在完全沒有後端開發能力的情況下,自行設計出任意格式的 API 讓自己使用。本次直播完全免費,當天還會簡單示範如何在 Angular 使用 Http 服務元件呼叫自製的 API!
I talked about Vue.js at @agenciasomadev. In this talk I showed the basics about the Vue.js JavaScript Framework and it's simplicity. I hope you enjoy :)
「我是一個前端工程師,每次要進行頁面套版時,都要等後端工程師寫好 API 才能測試,我覺得很痛苦,但公司的後端我又叫不動,有沒有甚麼方法可以簡單的設計出 RESTful API,讓我可以立即套版使用?我不想每次都苦苦哀求後端工程師快點生出 API 給我!」這是之前某位學生告訴我的一段話,也想必是許多前端工程師的痛,現在,你可以不一樣!
我將在這場分享中講解如何利用 JSON Server 快速建立 RESTful API 服務,讓前端工程師可以在完全沒有後端開發能力的情況下,自行設計出任意格式的 API 讓自己使用。本次直播完全免費,當天還會簡單示範如何在 Angular 使用 Http 服務元件呼叫自製的 API!
I talked about Vue.js at @agenciasomadev. In this talk I showed the basics about the Vue.js JavaScript Framework and it's simplicity. I hope you enjoy :)
The document provides an introduction to Vue.js through examples and cases for building applications. It begins with quick start examples demonstrating basic Vue.js functionality like data binding, looping through arrays, and methods. It then covers two cases for building full applications with Vue.js, including fetching and manipulating data, and integrating with external APIs. References for further learning about Vue.js are also provided.
Vue components are reorganized into a single index component file structure. Key components include App, GithubInput, GithubOutput, and GithubUserData. Data is passed between components via a central event bus. The GithubInput emits username to the bus. GithubOutput listens for the username, makes an API call to fetch user data, and passes it to the GithubUserData component for display.
Vue.js is a progressive JavaScript framework for building user interfaces. It focuses only on the view layer and makes no assumptions about the rest of your code. Vue.js allows you to progressively adopt it into existing projects and features simple and flexible APIs. Performance benchmarks show Vue.js to be one of the fastest frameworks available.
The presentation slide for Vue.js meetup
http://abeja-innovation-meetup.connpass.com/event/38214/
That contains mainly about SSR (Server side rendering) + SPA with isomorphic fetch and client hydration
This document provides an overview of Vue.js including:
- Key features like MVVM pattern, data binding, directives, lifecycle hooks
- How to set up a basic project using vue-cli
- Components, props, events, slots
- Conditional rendering, lists, transitions
- Tools and resources for learning more about Vue.js
Vue comes with a simple and minimalistic core that is perfect for simple, single page applications that don't require heavy overheads. Vue works primarily on the ViewModel with two-way data bindings and is designed to be simple and flexible, allowing developers to mold the layer as they see fit.
VueJS is a progressive framework for building user interfaces. It introduces key concepts like the MVVM pattern, reactivity system, lifecycle hooks and components. The document discusses various aspects of VueJS including using .vue files with different languages for templates, styles and scripts. It also covers Vuex for state management, Vue Router for routing, VueStrap for Bootstrap components, and integrating JWT authentication with Auth0.
O documento apresenta o framework Vue.js, descrevendo-o como um framework progressivo que oferece renderização declarativa e reativa, sistema de componentes aninhados e comunicação entre eles, além de suporte a client-side routing e gerenciamento de estado centralizado. O documento também destaca a experiência de desenvolvimento facilitada por Vue, como single file components e build system.
A deep dive into energy efficient multi core processorZongYing Lyu
This document discusses techniques for improving energy efficiency in multi-core processors. It describes how the operating system can schedule cores to enter idle states like C1, C2, or C3 to reduce power when not in use. These idle states turn off different components gradually to balance power savings and transition speed. The document also explains how Intel Core 2 Duo processors manage power at the core and shared resource levels, and how cache sizes can be dynamically adjusted based on core activity to optimize performance and power usage.
Libckpt transparent checkpointing under unixZongYing Lyu
James S. Plank, Micah Beck, Gerry Kingsley, Kai Li, “Libckpt: Transparent Checkpointing under UNIX“, Conference Proceedings, Usenix Winter 1995 Technical Conference, New Orleans, LA, January, 1995, pp. 213--223
The document discusses parallel program design and parallel programming techniques. It introduces parallel algorithm design based on four steps: partitioning, communication, agglomeration, and mapping. It also covers parallel programming tools including pthreads, OpenMP, and MPI. Common parallel constructs like private, shared, barrier, and reduction are explained. Examples of parallel programs using pthreads and OpenMP are provided.
從 Web Site 到 Web Application,從 Web Services 到 Mobile ServicesKuo-Chun Su
從 Web Site 到 Web Application,從 Web Services 到 Mobile Services - 談談使用與管理上的一些有趣小問題,包括前端如何使用 JavaScript 呼叫 Web Services,JSON 格式的小秘密,以及整合 OpenID/OAuth 等內容。
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing江華 奚
說明從ASP.NET MVC 5遷移至ASP.NET Core 2.x會遭遇哪技術上的變更,要如何將既有專案項目移轉到新的ASP.NET Core環境,並做出哪些調整。同時運用ASP.NET Core內建的Dependency Injection相依性注入來註冊你的服務,以達成IoC控制反轉的目的。最後用ASP.NET Core內建的單元測試,包括MStest, NUnit, xUnit來測試專案Function,達到提升品質的目的。在測試的同時,一併介紹如何使用Test Explorer, Live Testing, Code Coverage工具來輔助測試。
碼魔法網站:https://www.codemagic.com.tw/
碼魔法FB : https://www.facebook.com/CodeMagicTw/
ASP.NET Core MVC 2.2 - Development & Unit Testing. How to Choose between NET Core and .NET Framework. Choose between ASP.NET Core 2.1 and ASP.NET Core 2.2.
Architecture of the oasis mobile shared virtual memory systemZongYing Lyu
William H. Schroeder, Brett D. Fleisch “ Architecture of the Oasis Mobile Shared Virtual Memory System“, The Department of Computer Science and Engineering at the University of California, Riverside (UCR)
Ballette, M. Liotta, A. Ramzy, S.M. ” Execution time prediction in DSM-based mobile grids” : on IEEE International Symposium Cluster Computing and the Grid, 2005. CCGrid 2005.
This document discusses various consistency protocols for replicated data in distributed systems. It covers primary-based protocols where each data item has a primary replica, and replication-based protocols where writes can be done at multiple replicas. For primary-based protocols, it distinguishes between remote-write protocols where operations are done remotely at the primary and local-write protocols where the primary may be copied locally. It also discusses quorum-based replication protocols that use voting to achieve consistency across replicas.
The document discusses various compiler optimizations including:
1. Procedure integration replaces procedure calls with the procedure body to eliminate function call overhead.
2. Common subexpression elimination replaces repeated computations of the same expression with a single variable to store the result.
3. Constant propagation replaces variables assigned a constant value with the constant throughout the code.
4. The document provides examples of these and other optimizations like copy propagation, code motion, induction variable elimination, and loop unrolling which aims to improve performance by reducing instructions and improving pipeline utilization.
MPI is a language-independent communications protocol used to program parallel computers. It allows processes to communicate and synchronize through point-to-point and collective communication primitives. The document discusses how to install MPI on Linux clusters, describes common MPI functions for communication (e.g. MPI_Send, MPI_Recv) and collective operations (e.g. MPI_Bcast, MPI_Reduce). It also provides an example MPI program to demonstrate basic point-to-point communication between two processes.
This document discusses OpenMP, a specification for parallel programming on shared memory architectures. It provides an outline of OpenMP features, basic syntax using #pragma directives, and support requirements. Examples are given of using OpenMP constructs like parallel for, sections, and directives like num_threads to parallelize loops and divide work across threads. Guidelines are also presented around avoiding data races, deadlocks, and other issues in OpenMP programming.