profile
viewpoint
Alex Kizer kizerkizer Seattle, WA kizer.online Software Engineer. Azure, Azure Stack, Hybrid Cloud, C#, TypeScript, JS, C, Front-end, Back-end, DevOps, ...

kizerkizer/node-wasm-example 17

A basic example of running WebAssembly in node.

kizerkizer/metaproperties 13

Associate data with any object without modifying it in any way. Implemented using WeakMaps. Works in browser and node.js.

kizerkizer/anglebrackets 1

Light-weight HTML generation from simple JS objects

kizerkizer/apk-units 0

Functions which concatenate the css unit for which they are named.

kizerkizer/ass-js 0

Assembler.js — X86_64 and Ethereum

kizerkizer/common-symbols 0

Common symbols that can be added on objects as an "interface" that is compatible with aware libraries.

startedreplit/upm

started time in 3 days

startedBoltsFramework/Bolts-ObjC

started time in 6 days

startedtimescale/timescaledb

started time in 8 days

startedfreebsd/freebsd

started time in 9 days

startedvmg/sundown

started time in 12 days

startedstreamich/bamboo

started time in 12 days

PR opened streamich/ass-js

Fix typo
+1 -1

0 comment

1 changed file

pr created time in 12 days

push eventkizerkizer/ass-js

Alex Kizer

commit sha d93fe5bae092c351eafa5884fa99083556eb907f

Fix typo

view details

push time in 12 days

fork kizerkizer/ass-js

Assembler.js — X86_64 and Ethereum

https://www.npmjs.com/package/ass-js

fork in 12 days

startedstreamich/ass-js

started time in 12 days

issue openeddenoland/deno

Speeding up tsc

In the 1.0 release blog post, it was mentioned that typescript compilation is a bottleneck. Aside from porting to Rust, has NectarJS https://www.npmjs.com/package/nectarjs been considered? From what I’ve read, it can compile JS to native binaries.

created time in 13 days

starteddbohdan/compilers-targeting-c

started time in 13 days

startedFlipboard/react-canvas

started time in 13 days

startedtauri-apps/tauri

started time in 16 days

startedslebok/zoo

started time in 17 days

startedantlr/grammars-v4

started time in 18 days

startedobservablehq/runtime

started time in 20 days

startedsimdjson/simdjson

started time in 21 days

startedmicrosoft/vcpkg

started time in 21 days

startedbluescan/proggyfonts

started time in 21 days

startedrxi/lite

started time in 21 days

startedbaethon/kex

started time in 21 days

startedNorthwoodsSoftware/GoJS

started time in 21 days

startedFormidableLabs/radium

started time in 22 days

startedfredrikwidlund/libreactor

started time in 24 days

startedwasm3/wasm3

started time in 25 days

startedwasm3/wasm3

started time in 25 days

startedcurl/curl

started time in 25 days

startedswc-project/swc

started time in a month

startedTessil/robin-map

started time in a month

startedreactiverse/es4x

started time in a month

startedNetflix/chaosmonkey

started time in a month

startedrobmikh/minesweeper-rs

started time in a month

startedkoka-lang/koka

started time in a month

startedRamseyK/httpserver

started time in a month

startedvert-x3/vertx-examples

started time in a month

startedocornut/imgui

started time in a month

startedocornut/imgui

started time in a month

startedmlemerre/l-lang

started time in a month

startedAutomattic/wpcom.js

started time in a month

startedhammerjs/hammer.js

started time in a month

startedmojolicious/mojo

started time in a month

startedthepracticaldev/dev.to

started time in a month

startedisaacs/minimatch

started time in a month

startedcrypto-utils/keygrip

started time in a month

startedsindresorhus/awesome-nodejs

started time in a month

startedTryGhost/Ghost

started time in a month

startedadonisjs/core

started time in a month

pull request commentgoogle/skia

Fix typo

@googlebot I signed it!

kizerkizer

comment created time in a month

startedwjakob/nanogui

started time in a month

startedsdmg15/Best-websites-a-programmer-should-visit

started time in a month

startedevanw/esbuild

started time in a month

startedadelsz/pgtyped

started time in a month

startedakiraux/Akira

started time in a month

startedapmasell/vapis

started time in a month

startedalbfan/vapis

started time in a month

startedsalesforce-ux/design-system

started time in a month

starteddonnemartin/system-design-primer

started time in a month

startedStackExchange/Stacks

started time in a month

startedcurveball/core

started time in a month

startedMailCore/mailcore2

started time in 2 months

starteddeepkit/deepkit

started time in 2 months

startedjakubroztocil/httpie

started time in 2 months

startedhexojs/hexo

started time in 2 months

startedgraalvm/graalvm-ce-builds

started time in 2 months

issue commentw3c/csswg-drafts

[css-env-1] - Pushing data from CSS?

If there were a way to push data into JavaScript land, perhaps in the form of an event or signal of some sort, then a script could handle the setting of a custom rule on a set of elements without having to watch the DOM and stylesheets for a custom property that is intended to be "JS enhanced".

Yes, this is planned for a future Houdini spec: letting JS process a custom property to produce a "computed value" or "used value", and/or letting JS register "property listeners" on elements that get called when a property's value changes.

Another use-case could be pushing data when media queries are activated; then JS could perhaps make further responsive enhancements (as responsive design is currently the prime motivator for using media queries).

This can already be done! You can evaluate MQs directly in JS, and register a listener for when they change: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener

Some other ideas: calc could be supplemented with other functions whose implementation is in JS - however, this would be hidden to the user of the function, preserving the declarative, decorative semantics of CSS. Any function could be defined; e.g., string manipulation functions, numeric-valued functions, such as, say, grabbing the width of another element for use in a value (e.g. height: calc(width(#myDiv) + 2em)).

This is another planned Houdini spec: Houdini Custom Functions. ^_^

Thank you for the informative reply! Had no idea about media query listeners.

kizerkizer

comment created time in 2 months

pull request commentdenoland/deno

Add radix to parseInt

FYI: Content-Length must be a decimal number. We shouldn't expect its value to be other formats.

https://tools.ietf.org/html/rfc2616#section-14.13

Is there a parser in between? The Tokyo layer? Then it’d be fine.

kizerkizer

comment created time in 2 months

issue openedvlang/v

Naming variable "char" causes c compiler error

V version: V 0.1.24 0d93eeb OS: macOS

What did you do? char := ...

What did you expect to see? Normal program functionality

What did you see instead? V error: C error. This should never happen. Please create a GitHub issue: https://github.com/vlang/v/issues/new/choose Alexs-iMac:vhll-v $ v -g main.v C compiler=cc /Users/Desktop/projects/vhll-v/main.v:10:2: warning: expression result unused [-Wunused-value] v_exit ; ^~~~~~ /Users/Desktop/projects/vhll-v/main.v:12:7: error: cannot combine with previous 'type-name' declaration specifier byte char = tmp2.str[tmp3]; ^ /Users/Desktop/projects/vhll-v/main.v:12:12: error: expected identifier or '(' byte char = tmp2.str[tmp3]; ^ /Users/Desktop/projects/vhll-v/main.v:14:26: error: use of undeclared identifier 'v_char' /*opt*/printf ("%d\n", v_char ) ; ^ 1 warning and 3 errors generated. V error: C error. This should never happen.

created time in 2 months

startedolado/doT

started time in 2 months

startedprincejwesley/Mancy

started time in 2 months

startedElectronNET/Electron.NET

started time in 2 months

startedNodeRT/NodeRT

started time in 2 months

startedkgabis/ape

started time in 2 months

issue openedw3c/csswg-drafts

[css-env-1] - Pushing data from CSS?

https://drafts.csswg.org/css-env-1/

Currently var allows "reading" custom properties previously set by CSS or indirectly by JavaScript. Thus this provides a one-way communication bridge between JS and CSS; JS can in effect "transfer" data to stylesheet variables, which can then be utilized as values in rules (via var). In this manner features can be "injected" into CSS, such as one common example where a script updates --mouse-x, --mouse-y custom properties while listening to the mousemove event. Any element can then be positioned relative to the current coordinates of the mouse - a handy feature.

However, to my knowledge, there doesn't seem to be an similar way to "transfer" information from CSS to JavaScript. At first, this may seem without merit or nonsensical, given that CSS simply decorates selectable entities (my own terminology). However, after consideration, I started imagining useful and practical scenarios.

For instance, there aren't currently "custom rules", where authors would not only associate a custom property name with a single value, but specify somehow the semantics of applying a custom property against a corresponding custom value syntax. At present, this can be effected to a degree by setting a custom property on a DOM node, or more usefully a DOM subtree's root, and having the descendant elements' rules read from that property in such a way as to act out a rudimentary implementation. This goes hand in hand with the custom elements specification. However, more dynamic custom rules could be implemented with the aid of JS. If there were a way to push data into JavaScript land, perhaps in the form of an event or signal of some sort, then a script could handle the setting of a custom rule on a set of elements without having to watch the DOM and stylesheets for a custom property that is intended to be "JS enhanced".

Another use-case could be pushing data when media queries are activated; then JS could perhaps make further responsive enhancements (as responsive design is currently the prime motivator for using media queries).

Some other ideas: calc could be supplemented with other functions whose implementation is in JS - however, this would be hidden to the user of the function, preserving the declarative, decorative semantics of CSS. Any function could be defined; e.g., string manipulation functions, numeric-valued functions, such as, say, grabbing the width of another element for use in a value (e.g. height: calc(width(#myDiv) + 2em)).

I've been general about how CSS would communicate with JS, but such "custom functions" with JS implementations seem like one natural option, as pairing them with custom properties would allow expressive "custom rules".

Regardless, if there were simply a way to push information to JavaScript, perhaps by just adding one CSS function or property, or something else, then, with the existing custom properties feature-set, an ergonomic collaboration between the two fundamental web techs could be established and developers could make use of more elegant constructions, aside from watching for elements with a certain class or custom property in their computed styles, and then enhancing them from there.

Just a thought - please let me know if I've overlooked an existing proposal, API, feature, etc. Also, I'd appreciate criticism and feedback in general of the idea. Please also ask for clarification as I wrote this in one go.

created time in 2 months

startedelectron-userland/electron-builder

started time in 2 months

pull request commentdenoland/deno

Add radix to parseInt

Looks like the basic case is failing? I’ll have to look into this more. It’s failing on “1776”.

kizerkizer

comment created time in 2 months

startedMauriceConrad/Photon

started time in 2 months

startedsindresorhus/awesome-electron

started time in 2 months

startedkapetan/win-mouse

started time in 2 months

startedChartIQ/finsemble-seed

started time in 2 months

startedChartIQ/finsemble-seed

started time in 2 months

startedsentialx/multrin

started time in 2 months

startedFreak613/domc

started time in 2 months

startedkentcdodds/babel-plugin-preval

started time in 2 months

startedpatrick-steele-idem/morphdom

started time in 2 months

startedFreak613/stage0

started time in 2 months

startedjsdom/jsdom

started time in 2 months

startedredom/redom

started time in 2 months

startedTimPietrusky/background-clip-text-polyfill

started time in 2 months

startedgraalvm/graaljs

started time in 2 months

startedkkos/oniguruma

started time in 2 months

startedtj/n

started time in 2 months

startedyewstack/yew

started time in 2 months

startedharfbuzz/harfbuzz

started time in 2 months

startedfrancesco-strazzullo/js-proxies-ui-framework

started time in 2 months

startedchoojs/choo

started time in 2 months

startedapple/swift-nio

started time in 2 months

issue closeddenoland/deno

Proposal: Subcommand to "cat" a remote file

Often I want to see the source of a URL import - unless I'm mistaken, there's no easy way aside from "curl"ing the URL to see the source? If so, I think a deno cat <URL> or something similar would be very handy. Maybe a way to navigate the cached dependency tree?

closed time in 2 months

kizerkizer

issue commentdenoland/deno

Proposal: Subcommand to "cat" a remote file

Why would something like this not be sufficient:

curl https://deno.land/x/foo/bar.ts

I guess why do you need Deno in the way?

For some reason I thought I'd need some flags. Yeah, you're right.

kizerkizer

comment created time in 2 months

more