Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
peterevans
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
peterevans
8mo ago
Assembly is a type of programming that is unlike most programming languages, and as such, would be a really tough introduction to the field. Can you explain a bit more about how you became interested in assembly and programming the Apple II
2.
▲
Claude's Incidental Obsession with Dancing
(modul8r.com)
2 points
by
peterevans
9mo ago
|
0 comments
3.
▲
by
peterevans
2y ago
The original magic system from Final Fantasy 1 (you can only cast N spells per magic level, maximum of 9) is a copy of the system from Wizardry. The only difference you have to type the spell name to cast it in Wizardry, and you get a menu
4.
▲
by
peterevans
3y ago
Freshpaint is hiring! We're a YC- and Intel-backed company SaaS platform that provides a codeless customer data platform that is default-safe for companies that need to work with sensitive data, like protected health information. We&#x
5.
▲
CEO of the Boring Company slept at Twitter HQ with his partner and newborn baby
(businessinsider.com)
18 points
by
peterevans
4y ago
|
13 comments
6.
▲
by
peterevans
5y ago
I like the idea of deliberate learning! I also really like the idea of focusing on how to maximize the amount of learning you do, and choosing when to strategically focus on that. So this is really cool general advice, and honestly the feed
7.
▲
by
peterevans
9y ago
A lot of advice I've seen (such as this) postdates much of the standard library implementation by quite a bit. I could not, however, suggest that the current design for crypt is good or bad, for I have not used it often enough to offer
8.
▲
by
peterevans
9y ago
Abstractions are not a bad thing, but early abstraction often lacks understanding of the problem to solve. Abstraction is complexity. We often need complexity, but we should not add complexity without cause. And I don't think this is a
9.
▲
by
peterevans
9y ago
It would be neat if MachineBox could sense whether log noise would be useful in other contexts--e.g., as a metric that can be graphed. Or whether your logging is lacking something that might be useful, or just lacking signal at all (hey, us
10.
▲
by
peterevans
9y ago
I mean, I guess it's the best thing if you want to wreak havoc and chaos? Which, perhaps, you do! Your suggested dichotomy is, of course, a little bit false. But I'm sure you knew that when you wrote it down. It's entirely
11.
▲
by
peterevans
9y ago
The main issue is that there's already a lot of standard library support for classical strings--things that are just a pointer to a chunk of bytes, and no more; rewriting those functions would be destructive. The C standards group coul
12.
▲
by
peterevans
9y ago
I highly recommend the Static Analyzer that clang already uses. I use this frequently in the C project I am currently working on, and it's very good at spotting memory leaks and other potential issues. I've had more than one occas
13.
▲
by
peterevans
9y ago
Ah-ha, well! There are actually two Apple IIe models. (Well, there was a third "platinum" one too, but let's not talk about that.) One would have shown "Apple ][" at boot time, and this was the original model with a
14.
▲
by
peterevans
9y ago
My understanding is that in the 6502 (NMOS) chip, those other opcodes had undefined behavior, and you might crash if you executed one. So you'd need to know who was the manufacturer to be certain that opcode X was available. In the CMO
15.
▲
by
peterevans
9y ago
JWTs are really not a good idea for session storage. I wouldn't consider them secure by any stretch. ElastiCache would be a much better option, and relatively straightforward to configure.
16.
▲
by
peterevans
9y ago
I suppose time will tell whether generics are added or not. I'm--not exactly buying your argument that Go's compiler is badly written, or itself the reason that generics can't be added. But god bless ya for having an opinion.
17.
▲
by
peterevans
9y ago
Sort of--you get dynamic types, so you can stuff whatever you want into your collections. You can do that in Go, too--just use interface{}. Sadly, that has not quieted the Generics Brigade. If you used arrays in PHP, or Ruby, or Python, you
18.
▲
by
peterevans
9y ago
Huge caveat: This article was written in 2012 . So do yourself and fellow reader a favor and not argue over content that is now six years-old. Obviously, Go has not replaced C++ usage. And, these days, I would see Rust as the more likely s
19.
▲
by
peterevans
9y ago
Expressiveness is not always a pure ideal; reducing your business logic to two lines of code comes with tradeoffs. The ways your code work within the frameworks you choose is not always obvious, and when something goes wrong, it's hard
20.
▲
by
peterevans
9y ago
"Almost never." In my experience, the code you write within a third-party framework rarely works the way you expect it to the first time. So you often do "debug" the framework, just to see where your code goes while in
21.
▲
by
peterevans
9y ago
To me, this essay read more like a troll; a mish-mash of complaints and anecdotes that don't frankly make any sense when put together. But the author succeeded in getting to the first page of HN, so–congrats? As such, it's hard fo
22.
▲
by
peterevans
9y ago
I recall reading something from some of the language developers who had indicated that their worry with generics was whether they could do it right. I inferred that to mean, whether they could do it in a way that felt as simple as the rest
23.
▲
by
peterevans
9y ago
I am afraid I don't exactly agree. If you are publishing a library, for one, it's best not to include any vendored dependencies to begin with. But, ideally, no one should include vendored dependencies, whether a library or executa
24.
▲
by
peterevans
9y ago
I'm really excited about all this! No more GOPATH, no need for vendor directories; I think this is a positive step forward for Go, and package management in general. I'm also interested in seeing if there's any wider adoption
25.
▲
by
peterevans
9y ago
As I said: gofmt is not a pretty printer. It may help if you decouple the goal (increased readability of code) and the action (application of a style to code). Pretty printers—and gofmt—apply a style to code. That is their only job; in a tr
26.
▲
by
peterevans
9y ago
A pretty printer, historically—going all the way back to indent—allowed the user to define a bespoke style guide, with a specific indent level, with one way to align braces, etc. You could implement GNU-style C code with indent; you could i
27.
▲
by
peterevans
9y ago
I should note I am fine with lockfiles myself, so I can only speculate as to what RSC/others feel. It is fair to say that lockfiles are not Go—they would be another set of syntax that has nothing else to do with the language aside from
28.
▲
by
peterevans
9y ago
The proposal doesn't seek to guarantee reproducible builds; it merely seeks to enable them, through the methods they outline. If you did want to guarantee reproducible builds with SHA-1 hashes, one way would be to introduce those into
29.
▲
by
peterevans
9y ago
I agree with you that the name itself (kanban) does not preclude one from having those regular times to get together. People joke that nobody actually follows "Scrum" or "Kanban"; it's interpreted differently everyw
30.
▲
by
peterevans
9y ago
It kinda depends! If you have a small team, kanban is really great. It's easy to communicate what goals are; everyone's pretty aware of what is going on, development-wise, company-wise. You just need a good workflow, and that is w
More ›