Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
k_bx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
481.
▲
by
k_bx
9y ago
No need to pass -nw :) I usually install it in docker containers on servers. It's quite small (well, I think it's around 28M to install usually), since it's just an emacs built without gui support.
482.
▲
by
k_bx
9y ago
emacs-nox (apt install emacs24-nox usually) is also surprisingly feature-full and comfort to work with for emacsers
483.
▲
by
k_bx
9y ago
> Or, since we all have widescreen monitors (and often multiple monitors) you could just have your messengers in a window next to the browser instead of a sidebar within the browser. And have all links from external app open in a window
484.
▲
by
k_bx
9y ago
There's MessagePack for substential improvement of parsing speed and size of JSON while still being straight-forward to parse and debug. These guys (Capt'n'Proto) are for cases when that's not enough either. As I underst
485.
▲
by
k_bx
10y ago
Slightly offtopic, but for everyone interested please also check out Typora https://www.typora.io/ . Such a great Markdown editor with support of TeX inline blocks.
486.
▲
by
k_bx
10y ago
> Riak is not a good model since its more a blob store and we wanted to simply range scan through messages rather than sharding blobs (Cassandra is REALLY good at this). Can you tell a little bit more please? Range scan is done by using
487.
▲
by
k_bx
10y ago
Voice is pretty good target for being separated from everything else. My "ok google" recognizes my voice pretty good even if loud music is playing, for example.
488.
▲
by
k_bx
10y ago
Well, sure, running code in interpreter does less optimizations than doing full compilation. I can write an interpreter for your C code which runs out of memory if you want :) So your "you can tell" depends on particular compiler
489.
▲
by
k_bx
10y ago
I just tried this program "sum (replicate n 0)" and it didn't leak at all on n=10000000000 Full source: https://gist.github.com/k-bx/4a7729bcf2386583583b95bed7d4f26... Also, Haskell has a nice LANGUAGE S
490.
▲
by
k_bx
10y ago
> When the display goes to sleep, it disconnects all the devices on the hub I also have an audio interface connected to my sound monitors, and it is also quite bad for it to lose its power, producing a loud blasting sound. If monitor bec
491.
▲
by
k_bx
10y ago
> Python 3 Is Not Turing Complete This is very funny.
492.
▲
by
k_bx
10y ago
> Existing Riak installations will be moved to Cassandra. What's the reason behind this?
493.
▲
by
k_bx
10y ago
Why do you need redundant power supplies while you have a battery already?
494.
▲
by
k_bx
10y ago
Why doesn't anyone mention that Apple still sells the 13" version without that touchbar?
495.
▲
by
k_bx
10y ago
PureScript. The Swift of today. Yesterday, today and tomorrow!
496.
▲
by
k_bx
10y ago
Not saying it's "as good as others", pictograms still look very askew, but it's just much better than it was.
497.
▲
by
k_bx
10y ago
New release has "view -> toolbars -> single mode" (you need to untoggle the other two), so that you get 1 toolbar instead of two now. It looks pretty ok now. Silver background surprises me a bit (could do more macOS-style),
498.
▲
by
k_bx
10y ago
I don't have telepathic abilities to guess what exactly author meant. My goal was to let them know that type systems are much more developed than what TypeScript provides, and to encourage them to go out and learn them, read many great
499.
▲
by
k_bx
10y ago
I'm not a native English speaker and didn't try to be rude, I'm sorry if you felt like that. I don't encourage you to post comments here more often though, posting more often doesn't necessary means it's good f
500.
▲
by
k_bx
10y ago
> TypeScript 2.0 goes beyond that and begins to push the envelope on what type systems can do Type systems could do stuff like that many, many years ago. I'm glad that you like these ideas, but let me assure you that TypeScript is f
501.
▲
by
k_bx
10y ago
My feeling comes from "40% complete" on a milestone, where did you look at? https://i.imgur.com/DQoyGeW.png
502.
▲
by
k_bx
10y ago
Github says "40% complete" in a milestone, that's where I got the impression from https://i.imgur.com/DQoyGeW.png .
503.
▲
by
k_bx
10y ago
Not sure about TS, but a good type system would not mean you know the structure of dynamic JSON. It would just guarantee that before accessing some field, you would define in some way your code path what to do in case there is that field an
504.
▲
by
k_bx
10y ago
TypeScript 2 milestone on github shows it's pretty far from a release (imho). I liked Facebook's Flow language more, but it seems to be less popular.
505.
▲
by
k_bx
10y ago
If you install Servo as of now and try to launch it you'll get a pop-up saying it's not signed (and it won't launch). So, to launch, you need to go to Applications, right-click on servo and choose "launch". Then it&
506.
▲
by
k_bx
10y ago
In my taste, it's also more correct to write "for" in a code which is more like statements (not expressions), and only use map/fold for stuff which is pure.
507.
▲
by
k_bx
10y ago
Yeah, but paying money to new stuff which don't yet produce profit would make profits less, wouldn't it?
508.
▲
by
k_bx
11y ago
For someone who never had e-reader: how good are they to read PDFs with code? Most of my "books" are just PDFs and I've read e-readers were bad for them some time ago. Is it better now?
509.
▲
by
k_bx
11y ago
Python has an alternative: to use a technique called "patching". Basically, in Python, every module is just an object you can access, so in your unit-test, you can easily go into that module, replace a symbol inside a module (or a
510.
▲
by
k_bx
11y ago
Currently you can see everywhere ATMs are asking you to visually check that keypad and card-input looks exactly like on picture. With this technology, you don't need to make a fake keypad to "hear" PIN sequence, you could jus
More ›