Better HN
topnewbestaskshowjobs
Log inSign up

Existenceblinks

1,102 karma · joined Jun 12, 2015 (11y ago) · 1,205 submissions

Submissions

comment 4y ago · link · parent

Well, 8 hours later, I just see my typo. s/can/can't/

comment 4y ago · link · parent

I can open the `https` link above on firefox. Have to open:

http://ducklang.org/designing-a-programming-language-i

comment 4y ago · link · parent

3.yes it's nice little touch here and there contribute a huge defense while not having type inference. Pattern matching and guard, just two things make my program akin to .. hmm "correct"? I mean, I barely debug because there's often no bug. If something is missing, it immediately blows up at pattern match. Plus, destructuring assign is dang convenience, sort of in-place matching is clean (akin to type variable signature in some functional lang)

Ah.. hard to elaborate but is indeed pragmatic.

comment 4y ago · link · parent

Good to see it's still kicking, longevity is hard in cli space for non OS built-in ones.

Works great in itself, however, PostgreSQL version upgrade is quite hustle. It's plug-in area, though could have some protocol with the core to make it seamless. I didn't upgrade my postgres for a while (on 12.4 right now).

Not sure if it still requires you to do:

`POSTGRES_EXTRA_CONFIGURE_OPTIONS=--with-openssl LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS="-I/usr/local/opt/openssl/include" asdf install postgres x.x`

And run `pg_upgrade` yourself moving data from previous version to the new one's directory.

comment 4y ago · link · parent

UX is the hardest thing. Drag and drop sucks IMO. Nothing that non-technical folks actually love, mostly be forced to use what orgs bought. for data entry, nothing beats spreadsheet .. I'm crying.

comment 4y ago · link · parent

This is what I do. Make the core pattern solid (barely touch this), and extended functionalities in vanilla way; i.e. just write another function receive context and return expected things. You can use solid/uhtml/preact/lit "the view part" they all have it separated from component model. It's 6-8kB (.min). Everything else is just application logic. react-dom is 130kB now and even slower than the rest.

comment 4y ago · link · parent

Red flags words in web tech/tools to me:

- modern

- revolutionary

- love ("really really like" is ok)

- can't go back to / can't live without

- is the future

- just (describe which is not)

comment 4y ago · link · parent

There was/is also a level of resisting against evidence too though. Like "I don't care performance I will use what I like". And find reasons to back subjective metrics claims, like hiring pool (catch-22 problem of demand & supply of type of workforce).

comment 4y ago · link · parent

There are a couple of full-blown text editors written in vanilla js so it's very capable of doing highly interactive.

comment 4y ago · link · parent

From engineering perspective react-dom is being 130kB (.min) while the other is 6-8kB AND faster in benchmark, yet the industry decided this is acceptable, I know that our engineering principle is rotten.

comment 4y ago · link · parent

Your app is appealing since I use Signal to send my files .. the hustle is having to download from Signal desktop. And for image files I have to change ext to .zip in order to prevent compression.

comment 4y ago · link · parent

IT decision making has been unwise or corrupt since Oracle / SAP thingy (or way before). 1) pseudo social proof (hype) 2) corrupt deal in big corps.

comment 4y ago · link · parent

Hey, yes! Nice, I'm thinking more serious and ambitious. You could go mass by adding "module" and ways to compose. The keyboard navigation is ok-ish (honest opinion) because this is the hardest ones which is design for every day task in long run, at minimum should be as fast as text based programming. At least 3-4 devs are comfortable to work on this codebase (non-realtime, just normal version branching flow)

I really really want this decades old idea to take off. We should have grammar files in .. json is fine (have to start somewhere), and have spec for editor implementor to spread it across platforms. Ideally languages creators only have to customize "view" to decide how their lang would look like. Probably configure keymaps if they think their lang can be developed fast with certain keystroke (akin to emacs but more friendly because medium is not text anymore)

comment 4y ago · link · parent

Is it https://www.youtube.com/watch?v=CCx6Nj_Hr1g ? I've seen quite many live programming languages. Though not a single one seems to want to go mass. Like able to have at least a 3-4 devs team work on it.

comment 4y ago · link · parent

I found https://guide.elm-lang.org/appendix/types_as_sets.html is friendly describing the what and why.

comment 4y ago · link · parent

Fun read. I would love to read what if it's not text based, is it going to be different? Visual programming seems to suffer from composability and it's also bounded to be using human language as well, box with border is hard to comprehend, can get messy easily.

I mean, visual but text-like theme. It seems to be in sweat spot. Only fix some downside/limit of text.

comment 4y ago · link · parent

Yeah even if I'm a big fan of ML family lang, complexity to solve memory safety is too much to the point Zig is more appealing in way that helps you do it yourself more easily.

comment 4y ago · link · parent

Basically ML family languages have them. When you read Rust is ML style, almost 100% sure it's going to have Algebraic Data Types.

comment 4y ago · link · parent

Could you give some detail? Is it true for functional language that has mutable data structure and reference as well? How does it clean up, are you talking about "closure conversion"?

comment 4y ago · link · parent

You are. But benefit depends how your language is utilizing it. Do your function type check your struct input at compile time? Do your condition statement compiled error when you miss addressing a complete set of enum?

comment 4y ago · link · parent

What's worrying me is wasm binary size from Rust. People talk about writing web apps in other languages, which is what I wish for, but elephant in the room has few to non existence of discussion.

comment 4y ago · link · parent

Here my thought: I would love a language that is simple as Lisp, compose via pipe all the way down, have elegant type like StandardML, that run on powerful concurrency engine like Erlang/OTP.

comment 4y ago · link · parent

This is only my assumption but your profile is quite suspicious. Quite a new account. Asked for financial report (looks fine to me) but combined with this and a couple reddit posts. Hm..

comment 4y ago · link · parent

Alternative .. way of doing `$(selector).on` which was already modular per <head> or dynamic-import in today, to achieve on-demand js.

They say the selling point is actually React style programming which is a regression IMO since it's throwing out wide range of tools available in many programming languages. Only to be able to write one language, and the language is also not great.

comment 4y ago · link · parent

JSX is fair, though ugly. Every programming language has function and they can compose even better in nicer way. Also other ways of doing state rather Hook hack which is yet another external-tool coupling dependencies.

comment 4y ago · link · parent

React (react-dom) is also bloat, though. The only selling point of React is being popular which brings some benefit. I'd say we are "stuck" like having to use a legacy machine just because parts for maintenance is widely available.

comment 4y ago · link · parent

Trying to understand what's different between this and approach non-js backend langs have been doing for 10 years. Server side rendering and resume by rendering different <head> on demands of different resource (url).

comment 4y ago · link · parent

WCAG is kinda subpar. Last time I reached out definition of "owned" element and found there are open issues still discussing about it. In application context, I wonder if desktop apps are really accessible and no one complains about, or just the web got really bad rep partly because they are more accessible..bad examples.

comment 4y ago · link · parent

It's as funny as CTOs I know are just below average developers. Senior for me is scoped by company, since it will only cover range of knowledge the business requires. Some seniors are just the ones who stay long enough in a company. I only respect developers from what they created or does. Cool title is often false alarm.

comment 4y ago · link · parent

There is the .wit in "component model" proposal that is actively developing. Could you explain how it's going to make different between your work here without the .wit and with the .wit files?
1
161718
41