HNHacker News
TopNewBestAskShowJobs

danpeddle

138 karma · joined May 8, 2012

submissionscomments
danpeddle··on Ditching TypeScript for JavaScript
I do wish we were in the timeline where we got a super powered jsdoc, instead of TS.

Something like that would be my guess for what’s next, once this current trend has run its course.

danpeddle··on JetBrains Ring UI
But then, how do you test components on mobile? Or are we not supposed to ask that?
danpeddle··on Google will make free ‘legacy’ G Suite accounts pay for its office apps
Simply turning it off is going to leave a lot of non-technical people who had this setup for them very frustrated.
danpeddle··on Introducing the layer based SVG engine
Upgrading existing customers was probably part of their reason for doing the work.
danpeddle··on Natto.dev – A Canvas for JavaScript
Very neat, and seconding impression of reminding of observable, but much more freeform. Here's a dumb little demo of appending some divs to a dom element, with random heights.

https://natto.dev/@dazld/7168773775bd401481366b7d62d14e8c

It's quite fun to think about the restrictions of this - getting an animation loop going, for example.

danpeddle··on Ubuntu successfully virtualized on M1
Manjaro ARM is great. I use it daily with sway.

I haven’t tried docker, but given the widevine hack used it, presume all is ok on that front.

danpeddle··on What if I mixed all JavaScript proposals in one file
As a glimpse of the future, it’s not particularly encouraging.

For me, JS needs only a handful of things doubling down on its existing nature. Literals for symbols, sets and maps would be a great start.

If we’re getting fancy, persistent / immutable data structures would be fantastic, especially given how modern js is written.

A better standard library would be the cherry on top.

danpeddle··on Is there still somebody in the Cairo community who is able to make a release?
If there’s nothing else clickable around the graphical element then making a larger but invisible touch target around it would be an approach to consider. No visual changes, easy to do with css etc.
danpeddle··on Nearly 12M Square Feet of Vacant Office Space in S.F
Is this a worldwide trend? Wonder what it means for city tax incomes.
danpeddle··on Pitch: Collaborative presentation software for teams
Must be amongst the largest public facing products that's all clojure/script..?
danpeddle··on Rdrview – Firefox Reader View as a Linux command line tool
I took a very quick look at the source code, and seems you’re using the curl default options for things like the user agent. Please correct me if wrong!

Did you try pretending to be a search engine crawler, for an idea..?

danpeddle··on Kafka in Pieces
If there is something out there which is this introduction, would love to read it!
danpeddle··on An Update on MDN Web Docs
https://donate.mozilla.org/en-US/ ..? I put a note that I’m donating because of X when I do.
danpeddle··on An ARM-based MacBook SE could destroy Chromebooks and mid-priced Windows laptops
From recent experience using the Pinebook Pro and manjaro, the answer is a resounding yes.

From the start, it was clear that a decent arm chip in a laptop is very usable. Paired with an SSD, and more ram, it would be killer.

MacOS would need some care to make it less heavy in terms of background consumption, but I don’t see that as being beyond Apple’s reach. Windows is a different matter, not sure what MS can bring to the table there.. The work being done right now in porting iOS applications to work on macOS clearly points to a strategy being developed.

Think it’s going to be an interesting couple of years.

danpeddle··on How to manage HTML DOM with vanilla JavaScript only?
In 2010, browsers supporting rounded corners were considered exotic. It’s totally, totally different now.
danpeddle··on Positional Drum Notation [pdf]
That must be quite something in person.
danpeddle··on CSS Utility Classes and “Separation of Concerns” (2017)
Placeholders maybe? https://sass-lang.com/documentation/style-rules/placeholder-...

I use these a bit when I’m being more thoughtful, it’s a nice way to think about creating chunks of style that don’t get included in the output, bit surprised they weren’t mentioned yet.

danpeddle··on Audio Processing for Dummies
Multi band compressors also help in this domain, choosing which frequency band to attenuate or boost. For multi channel audio, phase becomes important too. Not for nothing is a typical trick in mastering to restrict low frequencies to mono..
danpeddle··on Faster Layouts with CSS Grid and Subgrid
Was thinking in context of gated voices, background noise etc. Think it’s actually push to talk, so I’m not right on reflection.
danpeddle··on Faster Layouts with CSS Grid and Subgrid
Push to chat, no?
danpeddle··on Show HN: ClojureScript pixel game engine with Blender live-reloading
Site seems to be struggling, think this is the repo: https://github.com/infinitelives/px3d
danpeddle··on Clojure and Deps.edn: A basic guide
deps support in cursive is excellent, just as an aside. Feels very slick to get a project going.

https://cursive-ide.com/userguide/deps.html

danpeddle··on What's next for SemVer
Feature queries help a lot, but seem to slip under the radar for a lot of developers.

https://developer.mozilla.org/en-US/docs/Web/CSS/@supports

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hove...

danpeddle··on Portugal’s Economic Revival
Portugal still has the crazy tax system where deductions are applied over the whole salary, not the bands? That was one thing that never made any sense to me - effectively removing motivations for salary increases, as you could end up with less even with a raise.
danpeddle··on Ask HN: Is there a better way to document complex software architectures?
Graphviz is surprisingly good for documenting architecture - bonus of bring easily versionable too!
danpeddle··on How to Delete Facebook and Instagram from Your Life Forever
you mention that your iPhone has a poor adblock story - Mozilla's focus seems to do a great job for me (when enabled as a content filter for safari), and was one of the primary reasons I personally moved to using iOS.. did you give that a go?
danpeddle··on Show HN: Thi.ng/hdom – S-expression based, pure ES6 UI/VDOM components
just wanted to point out that the joy of these approaches is that you can render on the server with the same components. the method for feeding it data obviously differs, but that's (when done right) pretty minimal.

my favourite way of demonstrating this was actually to turn js off and still see everything working. the progressive enhancement flag is still flying, and tools like this make it easier by far.

in this case, the server could be (soon!) java/clojure, which is insanely hard to do in an idiomatic, pleasant way with react components. really looking forward to getting this all wired up, and if anyone is interested we're discussing how to get hdom talking to CLJS here: https://github.com/thi-ng/umbrella/issues/36

danpeddle··on Vim Clutch – A hardware pedal for improved text editing (2012)
how about a myoelectric muscle sensor instead? something like https://www.sparkfun.com/products/13723
danpeddle··on Datomic Cloud
For sure! looking forward to becoming a customer. I guess the journey I went through was missing some intermediate step between playing at the repl with an in memory db (which I believe you’ve mentioned before as being a good way to get hands dirty from zero), to having something in dev which was backed by storage, to a toy service, to production.

Jumping into AWS, at least in my work environment, is a big jump requiring lots of supporting infrastructure etc. We’ll get there if it works out, but the dockerized setup is really helping in learning and evaluation.

Officially supported ways of doing this is something i’m sure you’ve considered before, it would be nice if cognitect could reconsider this.

danpeddle··on Datomic Cloud
There's a few people asking about how to get something up quickly to play with - this was a problem for me, and it isn't really well explained, but for those interested, Alexander Kiel's datomic free docker image has worked well for me - https://hub.docker.com/r/akiel/datomic-free/ - and an example of it being used with docker compose is here: https://github.com/dazld/urlomic/blob/cc3d1218218b5f08751dfa... (on a wip branch for some playground thing). I'm far from a pro, but hope this helps someone interested in this tech.
Page 1 of 2Next →