teknologi-umum / akademi Goto Github PK
View Code? Open in Web Editor NEWKumpulan ide untuk berbagai macam proyek
License: MIT License
Kumpulan ide untuk berbagai macam proyek
License: MIT License
Basically set of web components tags which allows us to code an app using only HTML tags:
Tags (draft)
<if cond=""></if>
<else></else>
<elseif cond=""></elseif>
<switch value=""></switch>
<case value=""></case>
<for var="" in=""></for>
<while cond=""></while>
<data var="" src="" />
Example:
<body>
<data var="cities" src="/cities.json" />
<select>
<for var="city" in="cities">
<bind prop="value" value="city">
<option><text value="city" /></option>
</bind>
</for>
</select>
</body>
JASON (or anything, you name it). Basically JSON but cleaner. The specification might be:
# This is a comment
Products [ # Comments are also supported here
{
Product: "iPhone 12"
Price: 14_000_000 # Supports underscore-delimited value for numbers
IsDiscount: true # Might support TRUE, True and true for boolean
Store {
Address: "iBox Grand Indonesia"
Phone: "021-511-3192"
}
}
]
When converted to JSON:
{
"products": [
{
"Product": "iPhone 12",
"Price": 14000000,
"IsDiscount": true,
"Store": {
"Address": "iBox Grand Indonesia",
"Phone": "021-511-3192"
}
}
]
}
Yeah, then what?
Create a parser for it! It can be anything, for Javascript, Golang, Java, C#, whatever fits you. The implementation should be fairly simple:
// Javascript
import JASON from 'jason'; // I don't know if this package exists or not
const data = {
user: {
name: 'Ronny',
age: 30,
occupation: 'Software Engineer',
},
email: '[email protected]',
}
const converted = JASON.stringify(data);
const parsed = JASON.parse(converted);
// Go
package main
import "github.com/yourusername/jason"
type Data struct {
user User `jason:"user"`
email string `jason:"string"`
}
type User struct {
name string `jason:"name"`
age int `jason:"age"`
occupation string `jason:"occupation"`
}
func main() {
data := Data{
user: User{
name: "Ronny",
age: 30,
occupation: "Software Engineer",
},
email: "[email protected]",
}
converted, err := jason.Marshall(data)
if err != nil {
panic(err)
}
var parsed Data
err = jason.Unmarshall(converted, &parsed)
if err != nil {
panic(err)
}
}
Todo: tambah asal usul munculnya ide, dan penjelasan sistem, implementasi beneran sampai deploy di field
GENERAL IOT
ANTENNA/CELLULAR
SDR
IOT Communications
CALL SYSTEMS
EXTREME IDEAS
SIGNALS
Halo!
jadi ini seharusnya simple. karena digrup telegram teknum sering sekali ada bahasan-bahasa yang berbobot. jadi kepikiran buat bot yang bisa nyimpen pesannya. misal seperti ini
lalu saya menandai pesan tersebut dengan command /saved
seperti ini
maka dia akan ke simpan. kesimpannya kemana? berharapnya ke up / highlight di web seperti blog teknum. lalu semua percakapan akan ke ditampilin sampai ada perintah command /endsave
.
Cukup sekian dan terima kasih,
salam bapack-bapack.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.