Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cytzol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
181.
▲
by
cytzol
10y ago
> things like small one-liner functions for conditionals and basic arithmetic that are designed with mock- and test-ability in mind I've done this before. It's very easy to want to make all your function/method calls work
182.
▲
by
cytzol
10y ago
If you’re logged in, it says that for the last public repo that you saw. You must have last seen Homebrew.
183.
▲
by
cytzol
10y ago
This is a perfect example of why comments that explain why something is going on, rather than just what is going on, are so useful!
184.
▲
Is your startup idea taken?
(startupitalia.eu)
2 points
by
cytzol
10y ago
|
0 comments
185.
▲
by
cytzol
10y ago
The point he's stuck on is that the versions of 'read', 'eval', and 'print' in Python aren't the same as the ones in Lisp. In Python, you read a string, eval that string into a value, then print that
186.
▲
by
cytzol
10y ago
I’ve done it. It’s painful enough that it teaches you “don’t do this!”. For example, you need to escape `{{ item }}` as `{{ "{{" }} item {{ "}}" }}`!
187.
▲
by
cytzol
10y ago
Same here -- reverting the font rendering was the first thing I did. Odd decision on the dev's part to make it the default. Really happy about all the other features, though!
188.
▲
by
cytzol
10y ago
Here’s my real-world example for why type-level null checking is a good idea. Let’s say your application tracks users, and each user needs to have at least one address. On top of that, they must flag one address as their default address,
189.
▲
Perl 5.24 changelog
(search.cpan.org)
2 points
by
cytzol
10y ago
|
0 comments
190.
▲
by
cytzol
10y ago
And sometimes you want a different type of map...
191.
▲
by
cytzol
10y ago
You're right, actually -- it's not more readable. Java developers already understand nulls, comparisons, and if statements. However, the second version is a lot more brittle than the first. It's relatively easy to change th
192.
▲
by
cytzol
10y ago
> the outermost pointer can still be null, so you are still vulnerable to a NullPointerException This is true, but there is a distinction: if your Optional value is null, for any reason, then it's a programming error and should be
193.
▲
by
cytzol
11y ago
So you can access your list of open tabs from anywhere on the screen? Sounds good. > Multiple browser windows seems redundant with multiple tabs or the Group Tabs mentioned above. Surely it's the complete opposite: if you have multi
194.
▲
by
cytzol
11y ago
Could I make a suggestion, from a "keep all the tabs open forever" person? Try to come up with a personal standard of which tab is where -- or at least where you put certain types of tab -- so you aren't just searching throug
195.
▲
by
cytzol
11y ago
I find it strange that you find it strange, because I agree: leave the window-managing to the window managers, and the text-editing to the text editors! I posted a very similar reply to a comment about the Min browser; too many applications
196.
▲
by
cytzol
11y ago
Like a lot of things in technology, everything forms an island where you start to really appreciate the things you have and ignore the things you don't. If you use any other editor, I'm sure you'd miss being able to zip aroun
197.
▲
by
cytzol
11y ago
Yeah, I do still use vim on remote sessions where I know I'm just going to be making a small change and then be done with it -- losing your entire environment or history is a lot less worrying in that case, and it's way easier t
198.
▲
by
cytzol
11y ago
The key thing is being able to open a tab/window in the background, when everything I know of automatically tries to bring any new window to the front. But I do agree with your point: every application seems to be re-inventing its own
199.
▲
by
cytzol
11y ago
It doesn't necessarily have to be skeuomorphic, but I like to burn some processor cycles making different things look different , not necessarily brushed-metal attractive. So my todo-list files don't look like my source code file
200.
▲
by
cytzol
11y ago
I apologise in advance if this sounds dismissive, but: I've tried to use both Vim and Emacs and Neovim and Spacemacs, and every time my pain point is that they're designed for use on the command line rather than as an environme
201.
▲
by
cytzol
11y ago
Ah, I see. In that case, you're right, it's not: if you track issues and docs like like in the same way as you track source files, then functionality-wise they're no different. The differences that remain are purely in the in
202.
▲
by
cytzol
11y ago
Argh, I don’t actually know, and I probably should. I’ll ask on the mailing list and reply with what I find out.
203.
▲
Efficiently encoding binary data in Unicode using I Ching hexagrams and Braille
(qntm.org)
3 points
by
cytzol
11y ago
|
0 comments
204.
▲
by
cytzol
11y ago
> why would it require special care? It doesn't, really, but it's in the same place as the code and everything else (this is what I meant as being "on the same level"). You don't need to clone the code and then c
205.
▲
by
cytzol
11y ago
Heh, don't worry, I got the joke. But I also got the joke the last time this was posted, and the time before that, and the time before that... This just keeps happening . It's not GitHub's fault that they keep getting DDoSed
206.
▲
by
cytzol
11y ago
We do, it's called Fossil! http://fossil-scm.org/ Fossil tracks issues (tickets), documentation, and wiki pages at the same level as it tracks code, so when you clone a Fossil repo, everything gets downloaded to your
207.
▲
by
cytzol
11y ago
> From what I seen, the buttons didn't change It replaced the Send And Archive button that lives next to Send. (Adding a new one is still a bad idea, imho, but would have been borderline forgivable)
208.
▲
by
cytzol
11y ago
Or maybe the buttons I click shouldn't suddenly change without warning? This isn't a case of a user ignoring an important dialog box then wondering why their computer doesn't work anymore; the button just suddenly started to
209.
▲
by
cytzol
11y ago
It's important to avoid the thought-terminating cliche "Oh, it was just human error" and look at the problems in the UI that cause the errors in the first place. If the ignition in your car was one day replaced by an ejector
210.
▲
by
cytzol
11y ago
I actually find I don't need Apache Commons or Guava now that I'm using Java 1.8. A lot of the functionality has been standardised.
More ›