Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rbalicki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
121.
▲
by
rbalicki
10y ago
The "threat" of having to add unit tests should force developers to write their classes and components in a way that is easy to reason about. In particular: * put as much functionality into pure functions * depend less on statical
122.
▲
25% of MongoDB accessible to internet hit by ransomware attack (speculative)
(bleepingcomputer.com)
4 points
by
rbalicki
10y ago
|
0 comments
123.
▲
by
rbalicki
10y ago
No, some libraries (like React-bootstrap) export a bunch of components that don't really need a facade. But be careful. Later, when you need to modify functionality (and it can't be done via modifying the bootstrap variables via L
124.
▲
Guardian: We're living through the world's first cyber war
(theguardian.com)
1 points
by
rbalicki
10y ago
|
0 comments
125.
▲
by
rbalicki
10y ago
Absolutely love this tool (and Seil, and BetterTouchTool). I shift-reversed the number keys (i.e. shift-6 prints a 6, the 6 by itself prints ^), made my left and right shift's open and close parentheses (I tried to make alt+left-shift
126.
▲
Debugging Angular in production using the injector
(robertbalicki.com)
1 points
by
rbalicki
10y ago
|
0 comments
127.
▲
by
rbalicki
11y ago
Thanks! Didn't know about this library, but it's good to see that others are thinking about this too
128.
▲
by
rbalicki
11y ago
I think that's a good pattern, which is to say I think you're enforcing it correctly. I think that as a follow up, you might consider whether stores should respond to multiple ACTION's. You may find that all of the actions ar
129.
▲
by
rbalicki
11y ago
As a follow-up, one alternative method I have been exploring for solving the author's problems (an alternative to wait-service) is as follows: * if the action creator is passed a UUID, it includes that UUID in all of the start|succeed|
130.
▲
by
rbalicki
11y ago
What stuck out to me is "In an asynchronous world, you have 3 actions indicating asynchronous work: start, done, and error. In our system, they all are of the same type (like ADD_BREAKPOINT) but the status field indicates the event typ
131.
▲
by
rbalicki
11y ago
https://users.rust-lang.org/t/rust-to-js-with-emscripten/587 There's been interest in compiling to JS for a while. I don't follow Rust closely, so I'm not sure how much progress there has been.
132.
▲
by
rbalicki
11y ago
Those who are interested in anonymous, secure voting should check out the Dissent project (write up here: http://motherboard.vice.com/read/dissent-a-new-type-of-secur... )
133.
▲
by
rbalicki
11y ago
For ease of access, the links to the conference and tech mentioned in the article are http://www.techfugees.com/ and http://www.geecycle.org/
134.
▲
by
rbalicki
11y ago
Off the top of my head, I can recommend: * ng-newsletter * bennadal.com (fairly advanced, and sometimes unorthodox) * I found the egghead.io videos very helpful when I was starting * John Papa's angular style guide If I recall correctl
135.
▲
by
rbalicki
11y ago
Perhaps the scaling problems are also because JS only became a "real" language in the past few years. Beforehand, there wasn't much need for coherent app structure because large apps were impractical.
136.
▲
by
rbalicki
11y ago
Valid criticisms of Angular include that it gives you enough rope to hang yourself, that the documentation/tutorials teach you to code Angular in a bad way (abuse the $scope object, etc.) in the interest of making it "easy" a
137.
▲
by
rbalicki
11y ago
If we use the approach of converting var's to named parameters, we also have to give up on passing variable numbers of arguments to functions. That is, unless we do something silly like: function silly(x, y, z, args) { args
138.
▲
by
rbalicki
11y ago
Thank you! This is the best explanation I've been able to find for how to use From, instead of Into. One thing that's useful about From is that you can implement From<SomePublicStruct> for YourPrivateStruct, but the compiler
139.
▲
by
rbalicki
13y ago
A service that takes care of parking tickets, speeding tickets, etc. for me. I miss way too many deadlines. And if you're dreaming big, please take care of my car registration, smog check, registering me to vote when I move, etc. Oh, sorry,
140.
▲
by
rbalicki
13y ago
I found that it's much easier to consume less caffeine if you start the workweek off with the proper amount of sleep. I noticed that after even one night of low sleep, I'd have to drink lots of caffeine to get through the day, and that as a