Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amk_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
amk_
9y ago
> setState doesn't actually care whether you've mutated your data or updated it immutably. Not necessarily - if something downstream is looking at the values (such as a shouldComponentUpdate check), the first mutation may cause
32.
▲
by
amk_
9y ago
Does anyone use Clojurescript as a webapp backend instead of Clojure?
33.
▲
Why is VueJS being adopted so slowly?
(quora.com)
2 points
by
amk_
9y ago
|
0 comments
34.
▲
by
amk_
9y ago
Wow, cool, you could totally make a Myst-like adventure with this. One nitpick - on a touchscreen drag actions move the screen the exact opposite way that I'd expect (like "natural scroll" on a touchpad). The rotation detecti
35.
▲
by
amk_
9y ago
"Search everything" is a big value prop for Evernote. You can't search E2E encrypted database records without transporting them to the client and decrypting them there.
36.
▲
by
amk_
9y ago
Bootstrap 3 and Foundation 5 are both really nice, mature frameworks. Bootstrap 4 and Foundation 6 on the other hand seem to be having problems. I think part of it is that developer interest stalled with the explosion of framework-specific
37.
▲
Ask HN: Will you be switching back to NPM from Yarn with NPM5?
7 points
by
amk_
9y ago
|
4 comments
38.
▲
by
amk_
9y ago
- https://cto-security-checklist.sqreen.io/ - https://github.com/FallibleInc/security-guide-for-developers... And there are more that have been posted here: https://hn.algolia.com/?quer
39.
▲
by
amk_
9y ago
React supports these SVG attributes: https://facebook.github.io/react/docs/dom-elements.html#all-... accentHeight accumulate additive alignmentBaseline allowReorder alphabetic amplitude arabicForm ascen
40.
▲
by
amk_
10y ago
If we switch to it as a hard dependency, library consumers on React <16 will have an extra package in the bundle. If we make it an optional peer dependency, package.json becomes less reliable because we would need to check where createC
41.
▲
by
amk_
10y ago
The breakup of the React package into a bunch of smaller modules really puts packages that treat React as a peer dependency in a pickle. I have a component module using createClass that works fine and exports a transpiled bundle in package.
42.
▲
by
amk_
10y ago
I use and recommend this syntax, but you do have to have babel-preset-stage-2 to enable the class properties transform. https://babeljs.io/docs/plugins/transform-class-properties/
43.
▲
by
amk_
10y ago
Cool service. Couple questions: - Can I save things offline? - Where did you license all those hand-drawn survival diagrams?
44.
▲
by
amk_
10y ago
This would be a great party game. Generate a name, then have a pitch contest.
45.
▲
Ruthless Prioritization
(medium.com)
3 points
by
amk_
10y ago
|
0 comments
46.
▲
by
amk_
10y ago
The tags you are describing are useful for planning but they become noise for developers in their day-to-day interactions with the board. Maybe you could use a custom field on your cards or a bracket [3] notation for effort? You could repla
47.
▲
by
amk_
10y ago
These are the concepts I associate with Kanban: - Sprints/Cycles : A period of time, usually 2 weeks, where the scope of work is fixed. - In Progress List A column of things actively being worked on. - Backlog w/Work-in-Progre
48.
▲
by
amk_
10y ago
There are a couple of good books on the Hun-Roman relationship if you want to learn more about that era: The End of Empire is a more casual read: https://www.amazon.com/End-Empire-Attila-Fall-Rome/dp/039333... Th
49.
▲
by
amk_
10y ago
The split one is the Ergonomic model, that's probably what they're talking about. I just switched to the same one from a fairly nice mechanical keyboard and it feels a lot better.
50.
▲
by
amk_
10y ago
This seems more like a stackoverflow type question, but... Set the "main" option in the library's package.json to a bundle or index file that exports the public interfaces to your library. Don't expose every source file.
51.
▲
How to prioritize your work: work on tasks that will eliminate risk first
(ussherpress.com)
1 points
by
amk_
10y ago
|
0 comments
52.
▲
by
amk_
10y ago
Have you looked at the Quill delta format? https://quilljs.com/guides/designing-the-delta-format/
53.
▲
by
amk_
10y ago
The techniques in the conclusions and appendix starting about page 200 are useful in any language
54.
▲
by
amk_
10y ago
Quite relevant given the meta-topic - "The Structure of Scientific Revolutions" by Thomas Kuhn. It's where the term "paradigm shift" comes from.
55.
▲
by
amk_
10y ago
https://code.visualstudio.com/blogs/2017/02/08/syntax-highli...
56.
▲
by
amk_
10y ago
Yep, the tricky part is just rewriting your HTML so that it includes the right file. However, it looks look my comment was incorrect and most frameworks have considered that issue. Neutrino and create-react-app use html-webpack-plugin.
57.
▲
by
amk_
10y ago
Maybe I'm not explaining myself clearly. You can use an environment variable to point to a CDN host and use it as a prefix in your code. But you also need to make sure the CDN assets get expired. One approach is to use the stats plugin
58.
▲
by
amk_
10y ago
Yes, you can put the CDN host in an env var, but the link rewriting and asset digesting still needs to be done by the bundler.
59.
▲
by
amk_
10y ago
One thing that seems to be missing from these SPA app utilities is an automatic way of pointing your root HTML file at an expirable root JS file. In development it's ok to point at `application.js` but in production NGINX/S3/
60.
▲
by
amk_
10y ago
Seriously, that plus a hard OFF switch on the front.
More ›