Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leif
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
241.
▲
by
leif
14y ago
Comments for your C learning: #include <stdbool.h> is better than typedef int bool; #define true 1 #define false 0 Always, always, surround your if and else clauses with brackets. There are plenty of ways
242.
▲
by
leif
14y ago
Red hat is a billion dollar company.
243.
▲
by
leif
14y ago
When a website asks me to use one of these, and I don't want to, how do I decline but still make the purchase? It always seems like my options are take-it-and-like-it or don't complete the transaction. Is there a third option?
244.
▲
by
leif
14y ago
Companies like instagram, when they hit high profile exits, only add fuel to the fire that is hordes of decent people that would otherwise be excellent, productive, happy employees, wanting to play the startup lottery. I don't know much abo
245.
▲
by
leif
14y ago
Your company has a 1% chance of success? Where do I sign up?
246.
▲
by
leif
14y ago
Rich Hickey proves again that he is among the leaders, if not the leader in careful, industrial-strength application of excellent theory. Bravo.
247.
▲
by
leif
14y ago
These people exist, but they are outliers, and you can detect and discount them. If you're getting good questions, yes, you'll get a couple of these guys no matter what, but the rest of the audience will react to them for you.
248.
▲
by
leif
14y ago
I disagree. It is not a burden on the audience to ask good questions, it is one on the speaker to deliver a talk that elicits good questions. Talks are short, you can't cover everything. If you've addressed the audience appropriately, t
249.
▲
by
leif
14y ago
I'd be happy with an extension to an existing language, that added a little new syntax. So you give the extended source to the new tool, it verifies type safety, and then strips the new syntax elements and passes it off to the original lang
250.
▲
by
leif
14y ago
This doesn't seem to me to be the goal. I think the point is that implementers would produce this module, and stdlib developers would consume it. Joe Foobar python programmer should never need to know about it. I think it's maybe not the
251.
▲
by
leif
14y ago
just blew my mind
252.
▲
by
leif
14y ago
When I got an iphone a couple months back, it came with a much more extensive manual than I expected.
253.
▲
by
leif
14y ago
TSV and you're done smaller readable, esp. with `column -t <log` works with awk/cut/join/grep/sort/column/etc./etc./etc. if you have complicated enough logs that you can't maintain the shell scripts that parse them, you probably also ha
254.
▲
by
leif
14y ago
I don't know if it still works, but rubygems.org/gems/tit
255.
▲
by
leif
14y ago
He said javascript customization, right? That makes it sound like something he would add, so I'm lobbying for parenscript as well. I get that codemirror is the thing to contribute to, I don't have the time right now but hopefully someone w
256.
▲
by
leif
15y ago
Ending every line with // is noise because it means nothing to the compiler or to the human. If I could write comments without prefixing them with //, I would (but the compiler won't let me). () and ; are not noise because they simplify t
257.
▲
by
leif
15y ago
Then you should make that explicit. It looks like I'm sending my credit card info to you , not stripe.
258.
▲
by
leif
15y ago
For xerographic (and other chemical process) prints, what you say is probably true. For relief printing (think Gutenberg), this convention seems reasonable, though you'd have to grind, not scratch, away the extra number. I don't know enough
259.
▲
by
leif
15y ago
Please please please support parenscript for customization (this means you write a parenscript API that looks a lot like elisp). Plenty of editors think "emacs bindings" means C-n, C-p, and C-v, and hardcode C-space to something intellisens
260.
▲
by
leif
15y ago
No. Semicolons are statement separators. Every other language that uses them as such puts them at the end of every expression, but it's fine if you want to put a semicolon at the beginning of every expression instead, except that that wil
261.
▲
by
leif
15y ago
I'm a frigging idiot today.
262.
▲
by
leif
15y ago
In that case the number of ice configurations would be finite, not countably infinite. EDIT: lest someone believe me, this is NOT TRUE, the parent is completely right
263.
▲
by
leif
15y ago
Yes, tool writers need to understand this behavior and handle it. But I still don't understand why the hell you would want to do this. These are a lot of rules to remember, and I don't think it makes sense to think about them for each stat
264.
▲
by
leif
15y ago
What I read was scut's article. My exploits were format strings, not overflows. Now that I search for it, it may not have been in phrack after all, though I'm sure I had to read some phrack articles, so it must have referenced them.
265.
▲
by
leif
15y ago
I am not experienced with javascript, so I don't understand this argument. Can someone please confirm the following, or explain what's going on? Here is what I understand: 1. Javascript will add a phantom semicolon at the end of each line
266.
▲
by
leif
15y ago
Thankfully, my security professor clued us in. I graduated undergrad last year, and I wrote my first exploit (for that class) based on the phrack article on format string exploits.
267.
▲
by
leif
15y ago
Sorry, I meant this assumption: you've carefully weighed the tradeoffs made by the various alternatives in the space, and learned the best practices for deploying the one you chose to use It is unreasonable to expect everyone you want to
268.
▲
by
leif
15y ago
That's a reckless assumption.
269.
▲
by
leif
15y ago
Yes, there is, but the way to break in is to start with things incorporating programs in small ways within a larger piece, call it experimental, and slowly make the composition more computer-centric.
270.
▲
by
leif
15y ago
I find this probably invalid, attractive though it may be. There are many "high art" forms that do not convey the massive effort put in to creating an image, yet it is this effort that makes the pieces desirable (lithography is one, but act
More ›