Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
munro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
munro
9y ago
I've recently started using Makefiles for this reason, it cut my cache hit on checking if my docker image needs a rebuild based on dependencies from 1.8s to 0.03s. My workflow had me hitting this check probably 20 times/day, so i
152.
▲
by
munro
9y ago
I wonder if it would be readable to overlay the distance map with the street map, and connect the two with a line.
153.
▲
by
munro
9y ago
> https://brandur.org/assets/postgres-atomicity/heap-tuple-vis... These diagrams are really beautiful, I love the subtle separation in the lines showing that they're made of hypens. Is there some software
154.
▲
by
munro
9y ago
What you're describing is an eDSL (embedded DSL). The syntax of SQL is embedded in the host language, which allows you to use the host language's constructs to compose bits of SQL. It's not 'non-OO ORM' code the d
155.
▲
by
munro
10y ago
> Your arguments contradict themselves - if the infrastructure is changing then there's little point spending the time automating your response to its failure. OP said automating runbooks, and any fixes to production--so the code be
156.
▲
by
munro
10y ago
Hm, this is interesting--in over a decade the only time I can think I've ever needed to compare floats are 1) deduping duplicate data, naive comparison is what I want 2) disambiguating messy user data, which I would take floats over st
157.
▲
by
munro
10y ago
A more minimal data api. :) requests.get('https://raw.githubusercontent.com/janaipakos/ghibliapi/master/data.json').json() Now it can be loaded into Pandas for analysis. Even if I was buildi
158.
▲
by
munro
10y ago
Diffing is an implementation detail. Imperatively updating might still be needed to hit that 60 FPS ;D Personally, I lean toward server side web apps ATM--users are familiar with page reloads, and developers are familiar with building them
159.
▲
by
munro
10y ago
Tracking changes to application state & translating to DOM changes is nothing new, [1] it's what Angular, Angular2, Riot, Knockout all do, and doomed to efficiently translating any complex state changes. [2] Not only that, feeding
160.
▲
by
munro
10y ago
Try making a web app rerenders the DOM on any state change, it will be extremely slow--the browser doesn't diff. :) That's why vDOM & diffing is necessary. Also so UI inputs don't lose focus / selection state 
161.
▲
by
munro
10y ago
Data binding exactly, like binding a declarative formula in Excel. Not like Backbone, which did event binding, invoking the programmer's code to imperatively update the DOM. Knockout, and Angular, both do data binding, but their imple
162.
▲
by
munro
10y ago
How does this architecture constrast with Rust? Has anyone built anything like this in Rust? It makes me think of an article where the author tries to abstract the implementation of IO from the the domain logic. [1] [1] https://
163.
▲
by
munro
10y ago
> Them being circular has nothing to do with what are they representing. Please read my comment, that's what it says right after the first comma. > They are showing off the idea of hiding implementation through abstracting it. Th
164.
▲
by
munro
10y ago
The graphics are both indeed circular which makes them look alike, but the meaning is completely different. In the OO graphic, it's representing a single cell organism, hence the circle. This is not the complete application. It'
165.
▲
by
munro
10y ago
Agreed, it serves no purpose. For testing, dynamic languages have the ability to ... dynamically replace dependencies. :) For building a library, a function that takes in dependencies and returns the component works extremely well & i
166.
▲
by
munro
10y ago
No need to assume when there's evidence to the contrary. Do as they say, not as they do. :)
167.
▲
by
munro
10y ago
From the perspective of scraping their website, it was React & GraphQL that I was interfacing with. So what does Instagram use Django for? Perhaps that's why their contributions to the project are low.
168.
▲
by
munro
10y ago
I've been using neocities.org for the same purpose, compile a web app, signup for an account, and drop the assets. https://3d3d3d.neocities.org/
169.
▲
by
munro
10y ago
At first I wasn't impressed, because Arduinos are all bloat, an AVR can run directly off a battery. Then I realized they've found a clever way to use reuse a battery holder as an enclosure!
170.
▲
by
munro
11y ago
I agree, after watching Rick Hickey's talk on CSP [1] I've been very interested in applying it. I got excited when I thought that's what Github had done, to get an idea of what it's like in practice at on a large projec
171.
▲
by
munro
11y ago
Thanks, that's another way of looking at it. Not sure if you agree or disagree, the metaphor helps explain the point. By having a larger std lib, or less dependencies, it only treats the symptom of the disease, which is dependencies d
172.
▲
by
munro
11y ago
1a. What problem is that trying to solve? The left pad issue was caused by unpublishing an open source package, it won't fix that. Writing quality libraries is a lot of work, especially for a single maintainer. From experience, main
173.
▲
by
munro
11y ago
See my second to last paragraph for my response.
174.
▲
by
munro
11y ago
The problem is A, but everyone is attacking B. The issue: developer pulled their package off NPM, which many packages depended on. The solution: keep all packages in NPM. If the software is open sourced, we can legally continue to redistri
175.
▲
by
munro
11y ago
NPM restricts the developer from being able to push to the same version of a package twice.
176.
▲
by
munro
11y ago
What users wanted was a way to gauge what features are more important, so maintainers could prioritize the important issues to the community. All asked for was to be able to up vote _issues_, and be able to sort. [1] Instead we got reacti
177.
▲
by
munro
11y ago
Definitely, eDSL would be better than having to write a parser. It would make interoperating with JS, programmatically building easier, and did I mention you don't have to write a parser!?
178.
▲
by
munro
11y ago
If you disagree with something I said, please disagree with it directly with reasoning, without name calling, ad hominem, or strawmans, at the exact thread. If I use terms incorrectly, correct me, and better yet, give an ironman of what I
179.
▲
by
munro
11y ago
> Call it what you like. The point is that clear separation between logic and markup can be done and is valuable. You concede the original point. To your new point, saying something is valuable doesn't make it valuable. Why? It d
180.
▲
by
munro
11y ago
(defui my-component [x] <h2 class=(when (selected? x) ["selected"])>Hello</h2>) It's possible to macro the above to the code below, without any language extensions. IntelliJ has powerful nest
More ›