95 karma · joined Jan 2, 2017 (9y ago) · 26 submissions
https://github.com/eejdoowad
comment 5d ago · link · parent
Development on SakaQL has finally progressed to the point that I'm ready to share it with the world. Cool features include native incremental view maintenance based on DBSP, set-based types inspired by TypeScript and EdgeQL, native parsing and regular language matching inspired by Janet and Raku, and unbounded integers with interval subtypes. I've also yak-shaved the syntax to be me concise and readable, though that's a matter of taste.
SakaQL isn't ready for general use today; I haven't released a compiler you can download, but you can get an early sneak peek by trying the alpha-stage web app at app.saka.io. Be warned: it needs a lot of polish.
SQL is the elephant in the room when it comes to relational programming languages. It's my inspiration for how not to design a language. I acknowledge SakaQL won't displace SQL any time soon in the realm of OLTP/OLAP databases, which is why I'm targeting new use cases.
The first use case is saka.io a developer tool for managing the data used to build software. Think of it as a database designed to be checked into your git repo and accompanying tools for AI and spreadsheet editing. I'm currently working on an RPG with lots of data in both scale and complexity, and saka.io is the tool I'm using to manage its data. Disclaimer: this is all in development and not ready for general use.
My goal with this post is to share what I've built and see who's interested. I'll be sticking around to answer any questions.
2.
SakaQL: A new general-purpose relational programming language(saka.io ↗)
4 points · by eejdoowad · 5d ago · 2 comments
comment 4mo ago · link · parent
Since you offered... I'm curious about the rendering technology behind it. I'm working on a web app with a spreadsheet interface, and I'm using a standard canvas-rendered grid.
You obviously have different design constraints, so it would be interesting to see how they shaped your solution.
comment 1y ago · link · parent
I created a rule to remove thumbnails and shorts from YouTube, and after a few failed attempts, it succeeded! But there were massive tracts of empty space where the images were before. With polish and an accessible way to find and apply vetted addons so that you don't have to (fail at) making your own, I would consider using it.
My daily driver is Firefox, where I've set up custom uBlock Origin cosmetic rules to personalize YouTube by removing thumbnails, short, comments, images, grayscaling everything except the video, etc. My setup works great for me, but I can't easily share it with other people who would find it useful.
comment 8y ago · link · parent
Sqorn doesn't use tagged template literals to be cool. It uses them to make writing SQL flexible, secure and intuitive.
You can write:
const boy = sq.from`person`.where`age < ${7} and gender = ${'male}`
to produce the query:
{ text: 'select * from person where age < $1 and gender = $2', args: [7, 'male'] }.
All methods have both template and non-template string forms you can choose between. For example, the query above could also be written as:
sq.from('person').where({ maxAge: sq.l`age < ${7}`, gender: 'male' })
or even as:
sq`person``age < ${7} and gender = ${'male}`
or for those who like plain old SQL:
sq.l`select * from person where age < ${7} and gender = ${'male'}`
Read the tutorial at https://sqorn.org/docs/tutorial.html to learn about the possibilities.
comment 8y ago · link · parent
The default keyboard shortcuts are a little awkward; using tab or the up/down arrows to navigate the list would be more intuitive. Also, it would be easier to distinguish tabs if the title were displayed before the hostname.
comment 8y ago · link · parent
The most fleshed out service of this type that I've found is narro.co, which offers web/pdf/epub/video/rss/email/text to audio conversions.
comment 8y ago · link · parent
It has to work this way or browsers wouldn’t be truly extensible. Be mindful of which extensions you install.
comment 8y ago · link · parent
1. Have you heard of Narro (narro.co)? It does the same thing, but it’s been around longer and has many integrations.
2. Can you share the tech stack currently powering your voice synthesis? Since it’s called PollyPodcast, are you currently using AWS Polly for TTS?
3. Is this something you intend to monetize?
4. It seems like you offer unlimited readings for free. Do you have an abuse prevention strategy? This could become a hole in your wallet if you’re paying for a charged-per-character TTS service.
5. Creating custom voices is a great differentiator. What are some problems you have to solve to create them and how is this effort progressing? Do you have quality and performance goals?
comment 9y ago · link · parent
I wonder if it will be possible to load scripts into the reader view document. Currently, it isn’t, so keybinding extensions, which rely on inserting Keyboard event listeners, don’t work in reader view. I had been prototyping a custom reader view in Saka Key using Mozilla’s Readability library to work around this issue.
The Content Security Policy fix is a lifesaver. Saka Key attaches hint elements to the DOM and attaches a script tag to load common styles/fonts. Sites with the policy style-src: self (like crates.io) block script tags, which breaks hint styling and positioning.
comment 9y ago · link · parent
The solution is for developers to spend a day learning about accessibility. A good starting point is https://webaim.org/intro/.
comment 9y ago · link · parent
comment 9y ago · link · parent
1. Inject UI directly into the document
2. Inject an iframe containing the UI into the document
Both rely on manipulating the document, which can be used to fingerprint users. Most developers opt for 1 because it requires no setup and lets the content script synchronously access the UI. 2 is needed when the injected UI containing sensitive information.
I'd like an extension overlay API that lets you inject: 1. UI local to the tab 2. UI that persists across all tabs
In a brief #webextensions IRC discussion, I was told an overlay API isn't viable for a number of reasons, one of which is multiple extensions may conflict.
comment 9y ago · link · parent
The address bar autofocusing is annoying. Best advice I have is to replace your new tab page with a URL or a custom new tab extension.
Also, I devised the default keybindings with three goals in mind.
1. Common keys should be easy to reach.
2. Users unintentionally trigger dangerous commands (like close the current tab). To prevent this, I bind dangerous commands to 2 key sequences.
3. Users not being able to remember keybindings. To help users remember, I try to associate commands with an intuitive key, e.g. Zooming is mapped to z.
Saka key author
comment 9y ago · link · parent
comment 9y ago · link · parent
My goal is to make a complete Omnibar/tabs replacement so I can browse in full-screen mode by default.
This extension complements my other keybinding extension (https://github.com/lusakasa/saka-key).
21.
Show HN: Saka – A tab search Chrome extension inspired by Spotlight(saka.io ↗)
2 points · by eejdoowad · 9y ago · 2 comments
comment 9y ago · link · parent
From my biased perspective, my extension is better. User uptake has been negligible, but I think the lessons I've learned have made it worth the time invested.
comment 9y ago · link · parent
https://github.com/mozilla/webextension-polyfill
The biggest challenge for me was addressing browser incompatibilities and Firefox bugs. This is a big one:
https://bugzilla.mozilla.org/show_bug.cgi?id=1193394
Another is that Firefox doesn't fire blur events when DOM elements are removed or hidden.
The Firefox approval process is slow. Mine took 3 months the first time, < 10 days the second time, and this third time it's taking over a month.
Chrome's reviewal process is really nice. It usually takes <30 minutes.
comment 9y ago · link · parent
Judging from my five minute test drive, you could probably increase adoption if you made it 'discoverable'. It's hard to determine what to do once it's installed. Turns out, you have to click the browser action to start listening for user input. After that, you have to refer to the website to find out what commands are available. It would be great if there were on-screen suggestions of commands to voice. Using it was really frustrating and unreliable until I read the instructions on the web store page to disable 'ambient noise reduction' on macs. Showing an 'instructions' page on installation would help a lot. An instructional video would be great too.
Other nitpicks: * I couldn't get dictation to work. * More tab manipulation commands would be nice * I'm not a huge fan of the link hints placement and styling
I'm actually developing my own keybinding extension like Vimium/cVim/VimFx/Surfing Keys
https://github.com/lusakasa/saka-key
with the intent to use the codebase to later create a voice commands extension like yours.
After all the work I've put into my extension, I can see why only $10 in donations for your efforts is disheartening. Good luck!
comment 9y ago · link · parent
Why isn't there a Scratch for adults? A serious tool targeted to artists and professionals that makes it easy to publish interactive stories and presentations using standard web tech.
26.
Show HN: Saka Key – a configurable, extensible, keybinding chrome extension(github.com ↗)
1 points · by eejdoowad · 9y ago · discuss