Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmts
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
jmts
8y ago
I don't understand a lot of it either, however my intuition tells me that it can be interpreted like just another state change. My understanding of the transitions of matter between solid, liquid, and gaseous states is that it is prima
92.
▲
by
jmts
8y ago
I have found it somewhat useful to write all the things I want to do somewhere that I trust, and select a few of them to work on right now that I am either most interested in, or feel will give me the greatest benefit in the future. I give
93.
▲
Ask HN: Infosec best practices
1 points
by
jmts
8y ago
|
1 comments
94.
▲
by
jmts
8y ago
Amazing. A friend of mine gave me the book "A Void" [1] by Georges Perec a few years ago that follows the same constraint. A little research and it turns out to be because he was a member of that community [2]. [1] https:/&#
95.
▲
by
jmts
8y ago
I've recently decided that a lot of advertising for childrens toys can be suspect, though I don't watch a lot of TV anymore so I'm not exposed to it anymore. To me the idea is that a company will build something that amounts
96.
▲
by
jmts
8y ago
This article seems to confuse 'selection' for 'evolution'. These lizards haven't evolved - their genes are unchanged. It is their population that has been selected against for new pressures. This will potentially dr
97.
▲
by
jmts
8y ago
The going rate for a cocktail in Sydney Australia is somewhere between $16-20 at the bars I would frequent a few years ago. Take a martini, with 3 shots (total) of gin and vermouth - 35mL shots for the math to work out. 750mL bottles of gin
98.
▲
by
jmts
8y ago
But surely since the memory that the frame buffer is encoded into is 1D, OpenGL is really one-dimensional. /s Sure, the frame buffer is 2D in the end - it has to be, in order to display on a standard computer monitor - but surely the f
99.
▲
by
jmts
8y ago
That will certainly work, however for large regular expressions it will become just as unmanageable over time, especially since the concatenation of each part depends on all the previous ones being error free. I was referring to the idea of
100.
▲
by
jmts
8y ago
Well spotted. Thanks for providing the correct derivation.
101.
▲
by
jmts
8y ago
Well spotted. I would argue that risk of mistakes should not limit the expressivity of a language or have it added to the pile of bad ideas. It is better for users of the language to be aware of potential pitfalls, and use the language appr
102.
▲
by
jmts
8y ago
Maybe I'm arguing semantics here. To be clear, my point is that I do not agree it is reasonable to declare that regular expressions are a bad DSL simply because it is possible (however common) for people to write difficult to read, or
103.
▲
by
jmts
8y ago
Claiming that regular expressions are too terse is a bit much. There are only three (!) fundamental operators in basic regular expressions (four if you include parenthesis), with all other non-language specific operators being derived from
104.
▲
by
jmts
8y ago
Clearly, the alternative is to use a stretcher. I was exposed to vertical and (dry) cave rescue practices via my father for most of my upbringing. Every exercise I ever saw performed involved strapping a person into a stretcher and using mu
105.
▲
by
jmts
8y ago
Here'y'are mate, if you thought that was a cracker, you're gonna have a ripper of an arvo with this: http://www.koalanet.com.au/australian-slang.html/
106.
▲
by
jmts
8y ago
From the video [1]: "The UNIX text editor was called 'eee-dee' - it's not pronounced 'ed', at least by those in the know - it's pronounced 'eee-dee'. This was written by Ken Thompson, and I think
107.
▲
by
jmts
8y ago
The biggest problem I have with this style is that it is inconsistent across variable types and provides no insight into the actual operation being performed without further knowledge. My personal experience is that my ability to read and c
108.
▲
by
jmts
8y ago
Dogpile is listed (though not by name) under the Webcrawler entry.
109.
▲
by
jmts
8y ago
Perhaps cheaper in space, but you will have to do an initial pass over the entire structure to zero your visited bits first, so it may not be cheaper in time.
110.
▲
by
jmts
8y ago
I was thinking about this issue recently. Surely part of this is a UI issue. How do I know what is recyclable and what isn't? Do I need to prepare it in some way before I put it in the bin? Governments have control over regulating a gr
111.
▲
by
jmts
8y ago
As linked from the Wikipedia page on our Local Group: https://en.wikipedia.org/wiki/Local_Group
112.
▲
Earth's Location in the Universe
(en.wikipedia.org)
2 points
by
jmts
8y ago
|
1 comments
113.
▲
by
jmts
8y ago
You already know the length of t. strcpy is inefficient when another memcpy will do.
114.
▲
by
jmts
8y ago
Documented behaviour is a little different to "effectively broken". The difference between strncpy and strlcpy is that strlcpy will NUL terminate the last byte for you always. There is nothing stopping you from doing the same thin
115.
▲
by
jmts
8y ago
And thus in your disgust you have actually given a case where this convention might actually save somebody time. If it happens to end up being your own time, you ought to be thankful for it. You certainly don't want it to be wasting yo
116.
▲
by
jmts
8y ago
And this is why we have code review ;)
117.
▲
by
jmts
8y ago
Not sure why you're being downvoted. That's all pretty standard. Method 1 is a contract you often make as part of defining the interface. For an example, such things are out of scope so this is a perfectly reasonable point. Method
118.
▲
by
jmts
8y ago
Most of these points are covered by the other comments. As a C programmer professionally, I'll go into a little more depth, and offer an alternative implementation for comparison. The function in question: char *combine(s, t)
119.
▲
by
jmts
8y ago
You're conflating two issues here. The company is not responsible for the decisions of its employees relating to promotions. It is the employee that chooses to do something irrational for whatever reason. I agree that a company should
120.
▲
by
jmts
8y ago
I played stupid amounts of both. In early highschool I was sick for a few weeks, and spent all of it playing D1. One afternoon I decided I needed a drink, so I got up and as I turned around I saw a Hidden melting away into the aether. I dec
More ›