Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cstrahan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
391.
▲
by
cstrahan
9y ago
I've written a demonstration of this sort of thing in Ruby, where I scribble a cdecl function to memory and execute it, with the end goal being: invoke the cpuid instruction to get info about the processor. http://www.cstrah
392.
▲
by
cstrahan
9y ago
If you haven't heard of Shai Simonson I suggest checking out his ArsDigita University[0] lectures[1] (from which I studied Theory of Computation[2] back in late 2011). He's a superb lecturer, and I owe him a debt of gratitude for
393.
▲
by
cstrahan
10y ago
I'd recommend just making yourself pick up a project, and run with it. Try not to over think it, and if you start to feel paralyzed, just say "fuck it, I'll do it the first, shittiest way that comes to mind." As an examp
394.
▲
by
cstrahan
10y ago
I've harped on too eagerly turning to SO elsewhere in this thread, but I have to agree with this: > I end in SO sometimes when looking for some discussion on general concepts i.e. advantages of X over Y, but even then it's not
395.
▲
by
cstrahan
10y ago
I'm not the parent, but here's what I'd do (and, indeed, have done): Read the manual: https://www.gnu.org/software/bash/manual/bash.html Just sit down one weekend, and read it from beginning to
396.
▲
by
cstrahan
10y ago
Not the person you were replying to, but... I don't use SO much, either. My professional work (presently) consists of two things: 1. Writing web services (can't go into much more detail) 2. Developing (what will soon be released
397.
▲
by
cstrahan
10y ago
I'm not the person you replied to, but ... > Presuambly you had mentors yourself earlier in your career that helped you out greatly. From personal experience, that certainly isn't a given. My first job writing software was work
398.
▲
by
cstrahan
10y ago
Apache was originally released in 1995, and has since maintained an enormous user base. It was the de facto standard for at least decade -- if you learned web dev between 1995-2005 you almost certainly found that (at least) 9 out of 10 book
399.
▲
by
cstrahan
10y ago
I came here to comment on that as well. I tried flicking the page right above the code fragment, but it turns out the scroll hijacking disables iOS's native inertial scrolling, so there's no way for me to read the rest of the arti
400.
▲
by
cstrahan
10y ago
That's assuming people are going watch things multiple times. Most people, including myself, are one and done. I've always rented the movies I've watched because I know I won't watch them again, so the savings is win on
401.
▲
by
cstrahan
10y ago
I'm pretty stoked about future cap'n proto developments. In the scenarios where I've brought up Cap'n Proto, all but the most senior/prolific developers have a near impossible time of ascertaining why one might wa
402.
▲
by
cstrahan
10y ago
I think pvg's point is that "class method" is often used interchangeably with "static function" -- that is, functions that are not called on instances (e.g. SomeClass.foo() vs (new SomeClass()).foo()). It would se
403.
▲
by
cstrahan
10y ago
Emphasis mine: > You're original argument was that mathematics can model things that we might arrive at intuitively, without looking at the model - such as assuming commutativity in package manager installation order - correct? No
404.
▲
by
cstrahan
10y ago
A simpler explanation to that of my sibling post -- your point is akin to this fallacy: Susan: My brother plays such great music with his violin! Bob: Actually, I think you're arguing the opposite point -- a violin has strings that can
405.
▲
by
cstrahan
10y ago
Of course non-commutative can be a part of a mathematical model; no, I'm not showing the opposite point. For clarification, my point is this: if some operation can be proven to be commutative, but you don't acknowledge that it is
406.
▲
by
cstrahan
10y ago
Math itself isn't necessarily intuitive in every case, but I think their point is this: if their system follows the simplest (i.e. most general) mathematical model, things will be more intuitive (i.e. more special cases == more difficu
407.
▲
by
cstrahan
10y ago
The title makes no claim that he engineered these widgets, so I don't see how this is at all misleading. What he's done is impressive precisely because of how little effort he put in -- he managed to make a ton of money by bringin
408.
▲
by
cstrahan
10y ago
For use within scripts, I think it's a much easier matter to determine that parallel is on $PATH than to try to do feature detection on xargs. Granted, it's always possible that the parallel on $PATH might not be the one you'
409.
▲
by
cstrahan
10y ago
I believe that, when most people say "string interpolation", they mean "first class string interpolation syntax", as opposed to the use of function invocation. I don't have citations, but I hope this perspective hel
410.
▲
by
cstrahan
10y ago
In general, I'd recommend against cutting the butter; not only is it delicious, but it also provides a nice dose of cholesterol - gotta keep those androgens high[1]. I'd argue that butter is the only healthy component of mac and c
411.
▲
by
cstrahan
10y ago
I'm afraid I have to agree with the parent, as much as I don't like trump. I know it's fun having someone to vilify, but let's look at what was actually said: > And when you're a star, they let you do it If someo
412.
▲
by
cstrahan
10y ago
Here are some resources for you: Difference between author and committer in Git? -- http://stackoverflow.com/questions/11856983/why-git-authorda... Why git AuthorDate is different from CommitDate? -- http:/&
413.
▲
by
cstrahan
10y ago
PCRE doesn't implement that "restricted type of algorithm", and I think that's what the parent is suggesting is wrong, not so much the difference between formal understanding vs informal, intuition of the same subject
414.
▲
by
cstrahan
10y ago
> Nix is one of those things that I explain and then have people telling me I'm wrong and/or an idiot because they can't believe that you can have a distribution based on building packages from source, backed by a binary c
415.
▲
by
cstrahan
10y ago
Go packages are statically linked into Go executables, yes. That doesn't mean that C libraries are, though -- and I think it's that level of static linkage that the parent meant. If you're on macOS, try running $ otool -L so
416.
▲
by
cstrahan
10y ago
Normally I'd agree. Especially if we're assuming purely selfish pursuits ("I want to fuck around in academia forever and get paid, supply/demand be damned!"). However, if I see it through the lense of someone who de
417.
▲
by
cstrahan
10y ago
Awesome work, Franz et al!
418.
▲
by
cstrahan
10y ago
If I read the above posts correctly, it sounds like it's not just Google that benefits; supposedly Google provides ads and such, which provides the publisher with revenue -- the publisher would otherwise have to find ad networks and
419.
▲
by
cstrahan
10y ago
It would be an incredible feat of engineering to be able to "transpile" an existing executable to WASM - if you're familiar with dynamic linking, the ELF format itself (or Windows' PE), the common processor instruction s
420.
▲
by
cstrahan
10y ago
In Haskell, I presume? Will it be open sourced? :)
More ›