Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marcelr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
marcelr
1y ago
how do you update the package?
32.
▲
by
marcelr
1y ago
who’s the target audience for this? just curious rails & django people?
33.
▲
by
marcelr
1y ago
this is a really bad and out of touch take
34.
▲
by
marcelr
1y ago
i had this idea for vendor based “package manager” what if packages were meant to be read, and config was set inside the file directly what if we transitioned to think of packages as templates, rather than generic black boxes i think it wou
35.
▲
by
marcelr
1y ago
feeling is something developed by evolution, not by accident my best guess is that it is far easier to deeply feel complex concepts rather than to arrive to similar conclusions purely based on reason/logic
36.
▲
by
marcelr
1y ago
while i think this is generally good advice, i also think reality isn't easy to define i like what others would call complexity, i always have, and have from very very early on been mindful of that, i think to a fault since i no longer
37.
▲
by
marcelr
1y ago
i think css is one of the most brilliant languages but you have to separate the specific properties (float) and the semantics of the language the selector system is incredible, in a way i can’t quite describe why but it feels similar to pro
38.
▲
by
marcelr
1y ago
this is a bad take sometimes you want to think inside out its the difference between imperative thinking and declarative both are good, use each when applicable
39.
▲
by
marcelr
2y ago
This is an overreaction I had my own anti react moment a few years back - started react in 2017 After spending a substantial amount of time playing the field i’ve come to realize every library, language, framework sucks and has massive quir
40.
▲
Minesweeper Pro
(mine-sweeper-pro.netlify.app)
5 points
by
marcelr
2y ago
|
2 comments
41.
▲
by
marcelr
2y ago
handle the errors, ideally manually
42.
▲
by
marcelr
2y ago
so, uh, how does this work? liveview kinda deal? python to js compiler? something else? it drives me nuts when this isn’t in the readme, or from what i can find the docs this is a major implementation detail that will determine the usecases
43.
▲
by
marcelr
2y ago
can i suggest saying “iterator api” instead of array-like?
44.
▲
by
marcelr
2y ago
I have another take on visual programming We need programming environments that can understand both textual & visual code. We need a new primitive which I call the visual-ast encode the AST in html via data attributes, and have a system
45.
▲
$mol – fastest reactive micro-modular compact flexible lazy UI web framework
(github.com)
9 points
by
marcelr
3y ago
|
0 comments
46.
▲
by
marcelr
3y ago
Generators are so cool I wrote my own ui/effects barebones runtime on it a few years back https://github.com/marcellerusu/capable-js It’s especially cool when you have components that have distinct states they cou
47.
▲
Things I did this year
(marcellerusu.com)
2 points
by
marcelr
3y ago
|
0 comments
48.
▲
by
marcelr
3y ago
Weird, I have had the opposite experience that most shit slips through the cracks of automated testing & manual testing by an experienced QA is 10x more effective.
49.
▲
by
marcelr
3y ago
If you mean effects as data, I can't think of anything off top other than elm which is a language + framework. I've made my own though: https://github.com/marcellerusu/capable-js . Its not for use but it was a
50.
▲
by
marcelr
3y ago
I'm doing this with css to do syntax highlighting & formatting for [my editor]( https://coil-editor.netlify.app/ ). I also wrote some linters like using undefined variable names in like 5 lines of code using query se
51.
▲
by
marcelr
3y ago
Not all FP programmers hate them, I use them in a pinch. It's about what conveys the intent most clearly. What do you prefer? ``` let sum = 0; for (let elem of array) { sum += elem.value } return sum ``` Or ``` Math.sum(...array.map(
52.
▲
by
marcelr
3y ago
You must see that this is _a ton_ more work, that could easily conflict with other team interests. Let alone the more typical experience of getting a scolding for not sticking to the agenda (which I've experienced many times). All this
53.
▲
by
marcelr
3y ago
Please no, typescript is already complex as all hell.
54.
▲
by
marcelr
3y ago
Give it another 10 years, it'll swing back. Dynamic languages increase productivity, static languages learn from dynamic languages & find ways to statically verify the previously thought dynamic patterns.
55.
▲
by
marcelr
3y ago
In university I had a mind bending experience writing snake in purely functional javascript, I was so proud of it and showed my friends and the reaction was “oh god” I can’t say they were wrong
56.
▲
by
marcelr
3y ago
So.. there's a lot to unpack here. There's a few ways to interpret the "hype-train" of mainstream development 1 - it's gonna solve all my problems 2 - everyone else is talking about it so I should learn it 3 - incre
57.
▲
by
marcelr
3y ago
We did a pretty big one, integrated with a python/gtk app [yikes]. Anyways, svelte is a joy to work with, also on the note of libraries, svelte's community is smaller but I found by far my favourite component system I've ever
58.
▲
by
marcelr
3y ago
I’ve seen this at 2 companies so far and tend to agree. At this point if your design system requires more than css its probably too complicated. Maybe design systems work when you are the size of google, etc, but otherwise they are way more
59.
▲
by
marcelr
4y ago
I wouldnt say this is a problem unique to svelte Ive designed svg based editor systems in svelte & the crucial piece was xstate. I had editors with 7+ states, that is copy line, edit point of line, split line, draw line, etc.. and with
60.
▲
by
marcelr
4y ago
Yes, and this is not tied to statically typed languages. If anything this is simpler to do in dynamic languages, but the culture isn’t there in my experience.
More ›