NSWindowStyles
datascript
NSWindowStyles | datascript | |
---|---|---|
2 | 25 | |
1,076 | 5,359 | |
- | - | |
1.8 | 7.7 | |
almost 3 years ago | 5 days ago | |
Swift | Clojure | |
Apache License 2.0 | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NSWindowStyles
-
How do I make a blurred transparent window using SwiftUI for macOS 12?
You’ll need an NSWindow (I.e., use an app delegate instead of the “SwiftUI life cycle”) and then you can customize it however you like: https://github.com/lukakerr/NSWindowStyles
-
Thoughts on Clojure UI framework
> how does the wrapper handle different UI/UX guidelines?
Most of it is automatically handled by the native interface of the OS when it renders the UI, some rare cases have to be dealt by the wrapper library developer, and some of it has to be done by the developer creating the app using the wrapper library.
For example, a Window usually has the default UI elements of a Title Bar, the title text, Max-minimize buttons, window resize handlers etc. In Windows, this is rendered with the Max-minimise buttons on the top-right corner, and the title left aligned in the title bar (if I remember right). On macOS, the same Window will be rendered with the max-minimise button on the top-left corner and the title centered in the title bar.
When you create a window on MS Windows OS using the Win32 API for it - http://www.winprog.org/tutorial/simple_window.html - the rendered window will be, by default, according to Microsoft UI / UX guidelines. Similarly, when you create a window using the cocoa faramework on macOS, the window will be rendered by default according to the UI / UX guidelines of Apple - https://github.com/lukakerr/NSWindowStyles .
This highlights how some UI / UX guidelines are baked into the native frameworks.
But if the wrapper library developer wants to create a custom UI component, they will have to ensure that the component is compliant with UI / UX guidelines of the OS they are rendered in.
datascript
- Datascript: Immutable database and Datalog query engine
-
Datalog in 100 lines of JavaScript (2022)
Hi pests, I don't think the criticism in the comments gives a full picture.
I wrote about a particular flavor of datalog, in common use today. [1] [2]. The earliest representation I know, which matches the syntax of my essay, was in SICP [3]
There's another, more academic form of datalog, which looks a lot more like prolog. Both have lots of similarities: both systems have a set of facts and rules. Both systems have can take a partially filled fact or rule, and find all matching facts. The more academic flavors of Datalog are useful for general logic, and particularly powerful for recursive questions. The variant I showed is more tailed for database queries.
[1] https://github.com/tonsky/datascript
-
XTDB on Mobile Possible?
There is also datascript as a similar option.
- FoundationDB: A Distributed Key-Value Store
-
wotbrew/relic: FRP for Clojure(Script)
What's the use case for relic? Sounds similar to https://github.com/tonsky/datascript ?
- Introduction to Datalog
- Clojure Turns 15 panel discussion video
-
Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite, written in Rust
This look nice !
Datascript seems to be another Datalog engine (in memory only)
https://github.com/tonsky/datascript
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
-
Working with large maps
An in-memory database like Datascript may be worth looking into. Otherwise you could take an indexing approach: put all the data into one big map indexed by some unique key, and have a bunch of supplementary indexes that are updated on insertion.
What are some alternatives?
SignalR-Client-Swift - Swift SignalR Client for Asp.Net Core SignalR server
asami - A graph store for Clojure and ClojureScript
vimr - VimR — Neovim GUI for macOS in Swift
datahike - A durable Datalog implementation adaptable for distribution.
JWM - Cross-platform window management and OS integration library for Java
datalevin - A simple, fast and versatile Datalog database
AfloatX - An alternative to Afloat that lives in the dock icon menu
10000-markdown-files - 10,000 markdown files. Useful for stress testing note-taking tools.
BetterSegmentedControl - An easy to use, customizable replacement for UISegmentedControl & UISwitch.
xtdb - An immutable database for application development and time-travel data compliance, with SQL and XTQL. Developed by @juxt
Latest - A small utility app for macOS that makes sure you know about all the latest updates to the apps you use.
Apache AGE - Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL. [Moved to: https://github.com/apache/age]