Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smizell
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
Terminal-based business card created from data on your site using npx
(github.com)
1 points
by
smizell
8y ago
|
0 comments
2.
▲
by
smizell
8y ago
I've had successes and failures working four years remotely, so that's my disclaimer. But the key for me has been to have a dedicated space with a dedicated computer for work. If it's easy to work on the couch you'll do
3.
▲
by
smizell
8y ago
Author here, great link—thanks! Do you know of any coverage tools that implement this?
4.
▲
Test Coverage is a Lie
(smizell.me)
4 points
by
smizell
8y ago
|
3 comments
5.
▲
Moveable JSON
(github.com)
1 points
by
smizell
8y ago
|
0 comments
6.
▲
by
smizell
8y ago
The difference is that I am not proposing a Turing complete config language, but rather proposing to build configurations with plain old JavaScript (or whatever language you want). I think a good read about this thinking is by Martin Fowler
7.
▲
by
smizell
8y ago
I wrote a little library for building DSLs in JavaScript [0] because of this very issue—JSON is not good for this kind of stuff. I want to be able to create small DSLs to solve problems rather than squeezing the language into a JSON format.
8.
▲
Tree Branch – Create DSLs in JavaScript. Evaluate as Code. Serialize to JSON
(github.com)
2 points
by
smizell
8y ago
|
0 comments
9.
▲
by
smizell
9y ago
I made my own little language called Geneva [0] for similar ideas but it acts as code and can be parsed as JSON. I also came up with a spec for doing this for HTML [1] (but no code to do this yet). [0] https://github.com/smi
10.
▲
Geneva: Lisp as JSON with Lodash as Standard Library
(github.com)
3 points
by
smizell
9y ago
|
0 comments
11.
▲
by
smizell
9y ago
One of the most transformative things I've come across for how to structure and test code has been Gary Bernhardt's talk on Boundaries [0]. I've watched it at least ten times. He also has an entire series on testing where he
12.
▲
Introducing RESTful JSON
(medium.com)
5 points
by
smizell
9y ago
|
1 comments
13.
▲
by
smizell
9y ago
You might find it useful to spend some time looking into the hypermedia constraint of REST itself (i.e. hypermedia as the engine of application state). The point of REST is to represent state machines by including hypermedia links in the re
14.
▲
by
smizell
9y ago
True. I would consider a continuous stream like that to not be helpful change management. But if you have to have continuous breaking changes like that, you would want clean cuts. My point is, find ways to evolve your API without breaking t
15.
▲
by
smizell
9y ago
Name it whatever you want. Point is, you don't have to plan for such a drastic change when a separate domain/subdomain will solve it for you.
16.
▲
by
smizell
9y ago
I think you are right here. It takes two to tango, and if the clients are tightly coupled to the API, the best intentions for evolving slowly will fail. :)
17.
▲
by
smizell
9y ago
That's true. However, I think this falls under YAGNI [0]. If you happen to get to a point where you have to change your an entire API rather than evolve what you have, you should consider it a new, separate API rather than instruct all
18.
▲
by
smizell
9y ago
I personally like to think about managing change well rather than versioning an entire API. In this, API designers provide instructions on how APIs will evolve over time, how features will be deprecated, and how this process will be communi
19.
▲
by
smizell
9y ago
For those who do daily standups via a Slack channel, I made a little tool to help me. https://www.npmjs.com/package/onit
20.
▲
by
smizell
9y ago
lol, the doctor mentioned this! That's hilarious. The timing was definitely a coincidence for me though.
21.
▲
by
smizell
9y ago
Just to note, I'm seven days post-op on this procedure :) And while I did not take any meds, I was happy to be sitting in bed with an ice pack watching March Madness. So there was definitely discomfort.
22.
▲
by
smizell
9y ago
Just to add, I don't want my comments to scare any males considering the option. If you are at the time in life to stop having children, and you have no condition preventing the procedure, it's really the best option and will more
23.
▲
by
smizell
9y ago
Just to note, vasectomies are no walk in the park, and should be treated as final rather than a simple contraception option (though they can be reversed, just not easily). While you can go back to day-to-date activities after a few days, th
24.
▲
by
smizell
10y ago
Total guess, but they may mean request bodies instead of response since GET and DELETE normally don't have request bodies. However, I'm not sure there is a definitive answer on if that's true from an HTTP perspective. I also
25.
▲
Thinking Through Hypermedia API Design
(smizell.com)
2 points
by
smizell
10y ago
|
0 comments
26.
▲
by
smizell
10y ago
I think one the biggest draws of something like Hugo would be that it's amazingly fast. You can check out the video [0] here that shows a benchmark. It generates 5,000 pages in around 6-7. Another is that it's a single file to dea
27.
▲
by
smizell
10y ago
Coupling your code to the JSON you receive over the web can lead to some interesting problems. If the system on the other end decides to make some change you are not expecting, it can lead to errors. In JavaScript, a simple thing that helps
28.
▲
by
smizell
10y ago
Very cool. I experimented with something similar in JavaScript. https://github.com/smizell/snug For me, it is useful for runtime checking data that may come across the web.
29.
▲
by
smizell
11y ago
I had a situation with our local ISP where they injected some banner on each page to let users know they were close to going over their bandwidth usage when they got to like 90%. I reached out to them and said this was essentially a man in
30.
▲
by
smizell
11y ago
It is interesting that you request the /get_account link with a POST method.
More ›