HackerTrans
TopNewTrendsCommentsPastAskShowJobs

anschwa

no profile record

Submissions

MIT Aluminum Bicycle Project 1974 (2016)

sheldonbrown.com
195 points·by anschwa·قبل سنتين·149 comments

The Dvorak Zine (2005)

dvzine.org
3 points·by anschwa·قبل سنتين·0 comments

A Tinkertoy computer that plays tic-tac-toe (1989)

web.archive.org
45 points·by anschwa·قبل سنتين·13 comments

The MP3mobile (1998)

utter.chaos.org.uk
73 points·by anschwa·قبل 3 سنوات·50 comments

The MP3mobile (1998)

utter.chaos.org.uk
4 points·by anschwa·قبل 3 سنوات·0 comments

Mojo.js 1.0 – From Perl to Node.js

mojojs.org
2 points·by anschwa·قبل 3 سنوات·0 comments

comments

anschwa
·قبل 5 أشهر·discuss
On macOS, you can enable window dragging by holding down the Control+Command keys with this command:

    defaults write -g NSWindowShouldDragOnGesture -bool true
I use this with "three finger drag", and resizing at the window border hasn't been much of an issue for me.
anschwa
·قبل 3 سنوات·discuss
Great question! In my experience with ruby on rails, the application runtime is so dynamic, that even unit tests may not be reliable if run outside the production image.

I think normally this isn't much of an issue because other automated/manual integration testing in the staging environments will catch any major problems, to your point.

Another example would be for browser testing via chromedriver. I've usually seen this implemented along side unit tests (i.e., prior to the build phase) but since it generally serves as an integration level test for many applications, this has lead to issues due to the testing and production environments being out of sync.

I think multi-layer Docker images are a compelling solution to this, but it's not usually how I've seen it implemented.

Instead, I've typically seen that test and prod environments are manually maintained. Sometimes these are two separate Dockerfiles or some shared CI environment managed by different teams.
anschwa
·قبل 3 سنوات·discuss
I think it's common (and important!) to build your "production" image once and deploy it into a dev/staging environment first. This means there are no re-builds between deploys to each environment.

However, I think it's less common to run automated testing within the same Docker image you build and deploy to these environments.

This is challenging because you probably don't want to include any build/test related packages in your production image (or layer) but you still want some level of confidence that your CI and Prod environments are the same.

I have often see builds pass automated testing but fail after deployment because our production Dockerfile/layer was missing packages or shared libraries that were present in the CI environment.
anschwa
·قبل 3 سنوات·discuss
One of my professors would often refer to this struggle as taking place between the Nihilists and Unitarians.
anschwa
·قبل 3 سنوات·discuss
Personally, I would like to see a markdown spec that eliminates parsing ambiguity by restricting the "edge-case" features that HTML is really much better at describing in a standard and structured way.

I think we could pick one way to handle emphasis, lists, and code blocks that covers a specific and predictable 80%.

Anything that becomes hard to describe without including additional notation to the grammar is probably best suited to be left as HTML, as was the intention behind markdown to begin with.
anschwa
·قبل 3 سنوات·discuss
Yes! Using org-publish with htmlize is wonderful.
anschwa
·قبل 3 سنوات·discuss
Wow! Occur is the gift that keeps on giving. That's great!
anschwa
·قبل 3 سنوات·discuss
Yes! wdired and wgrep are really fun.

It's amazing how Emacs utilizes buffers to offer a very powerful and consistent user interface.

I think some other compelling examples are compilation-mode and magit.
anschwa
·قبل 4 سنوات·discuss
You can't bring up Feyerabend without mentioning Imre Lakatos. The "methodology of scientific research programmes" is another fun read that takes the matter of demarcation a bit more seriously than AM.

For example, Lakatos isn't satisfied with "anything goes" because it fails to consider the political and social consequences of being unable to recognize science from pseudoscience. For Lakatos, demarcation is necessary to maintain a "standard of objective honesty", and avoid falling into an "intellectual decay".

Overall, Lakatos is much less provocative than Feyerabend, but is equally invested in picking apart the historical nuances of scientific progress brought into question by Popper and Kuhn.
anschwa
·قبل 4 سنوات·discuss
Rails is still relevant and has only gotten better.
anschwa
·قبل 5 سنوات·discuss
I recently picked up the Fellow Ode for myself. I'm very happy with it so far and it's working exactly as advertised. Quiet, consistent, and very fast.
anschwa
·قبل 5 سنوات·discuss
Blink[1] is a really cool open source app that will give you a shell on iOS and allow you to SSH into another machine. You can install it yourself, or purchase from the App Store.

If you want to use another computer you own, rather than a server in the cloud, Tailscale[2] will let you easily connect when away from home.

- [1] https://blink.sh/

- [2] https://tailscale.com/