Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
woodman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
601.
▲
by
woodman
11y ago
> Um, this, for one. Actually, that is a pretty neutral position. Your position sounds much more "privileged", as you appear to be attempting to tell people not only what they should do, but how they should feel. I'm goi
602.
▲
by
woodman
11y ago
yeah, taking advantage of a crisis is impossible and never happens.
603.
▲
by
woodman
11y ago
> I'm sorry, but that strikes me as a pretty privileged sentiment. How does any of the prior statement sound "privileged"? Or was that just a hamfisted attempt at using a dog whistle?
604.
▲
by
woodman
11y ago
Since we're complaining - I'm so tired of the (hopefully) thoughtless use of "we". It is incredibly presumptuous. Every time I hear it I'm reminded of the artificially simplified narrative portrayed by WWII propag
605.
▲
by
woodman
11y ago
It is strange that you recognize the bank's right to remedial action in taking your house, but don't appear to apply the same logic to the Greek situation. You even recognize the fact that the bank suffered due to their mistake o
606.
▲
by
woodman
11y ago
Again, if this was an investment - where payoff is proportional to risk then this would be a different matter. But we are talking about more than that, as legally binding obligations and contingency plans where established long before any
607.
▲
by
woodman
11y ago
> I'm not sure what you are referring to with the will of the governed part. The idea that the government derives its power from the consent of the governed [0], or put another way, that the people are responsible for the actions of
608.
▲
by
woodman
11y ago
Isn't one big difference between a lender and an investor the default risk? If we were talking about investors taking a bath, then I'd agree - but screwing with the relative safety of loans... that could have much further reachin
609.
▲
by
woodman
11y ago
That is the nice thing about having a ports tree. On freebsd I've got a jailed instance of poudriere that automatically builds binaries of the ports that I'm interested in with the compile flags I want. Having a local build serv
610.
▲
by
woodman
11y ago
Again, a lot of words with definitions that intelligent people can disagree on. This is why there are so many different operating systems... and implementations of echo.c. So to answer your original question more directly : yes, there are
611.
▲
by
woodman
11y ago
That depends on how you define "substantially" and "better". Consider cat.c from gnu [0] and openbsd [1]. I'd say that openbsd's implementation is "substantially better", because: 1. it does everyth
612.
▲
by
woodman
11y ago
> If you're asking whether they "learnt" their lesson ... I don't think that is the question. I believe the point being made was that the free market punishes this sort of behavior. You don't rely on the compan
613.
▲
by
woodman
11y ago
> Is there a toy example of the kind of data you are talking about? Not that I know of, sorry. > Not entirely clear on how the indexing would work to your benefit with parallel arrays. Lets say that we have data that would be represen
614.
▲
by
woodman
11y ago
Yeah the disconnect seems to me to be that I'm talking about performance from the perspective of a presupposition that I haven't adequately explained. You've got hundreds of millions of data points to slurp into ram, each dat
615.
▲
by
woodman
11y ago
> Which is to say, the realloc problem is only a problem in memory constrained -- think embedded or kernel... Or userland, when your software is processing hundreds of millions of datapoints - each with several additional independent pro
616.
▲
by
woodman
11y ago
The only thing that I really agree with in that is that context matters :) My view on the matter is pretty simple, if you know how much data you are going to handle, before your first malloc, and the dimensionality is low, arrays win from
617.
▲
by
woodman
11y ago
There are a lot of things in computer science that are very stable points for the certification industry to hook into, foundational things - like where it overlaps with philosophy (logic) and math (set theory, etc). I'm all for higher
618.
▲
by
woodman
11y ago
SQLite does this, autoindex[0]. "When no indices are available to aid the evaluation of a query, SQLite might create an automatic index that lasts only for the duration of a single SQL statement. Since the cost of constructing the auto
619.
▲
by
woodman
11y ago
Yeah, I'd considered something like that to avoid large reallocs - I hadn't considered independent sort state for each chunk. That would allow for a single compile time constant sort index. Sounds like a good idea, thanks for th
620.
▲
by
woodman
11y ago
Yeah I'm not very happy about needing to allocate an n sized array for sort operations, but it doesn't look like there is any way around it. To be clear, the struct is really just a opaque data type for what is essentially a dyna
621.
▲
by
woodman
11y ago
Well for a bunch of parallel arrays you aren't really moving big blocks. Consider this: struct City { char *name; int popstrat[5]; float bounds[2]; }; A a memcpy on struct City would take care of eight distinct
622.
▲
by
woodman
11y ago
The point of the search results is that I'm not seeing the use of linked lists, in code bases that I could consider fairly performant, at a level that I would describe as "exotic". I'm not trying to be argumentative, I&
623.
▲
by
woodman
11y ago
I mean sorting parallel arrays with a compile time constant amount of memory for sorting scratch space, this of course also means no unbound recursion into the stack. The most obvious solution is an additional index array, but that seems p
624.
▲
by
woodman
11y ago
I'm not debating that iterating over a vector is faster than iterating over a linked list, I'm asking where this guy has seen linked lists become "exotic". I'd love to dive into that code, because I've actuall
625.
▲
by
woodman
11y ago
I'd be interested to know how you arrived at this conclusion, like what domain do you spend all your time in where this is true? I frequently see linked lists used for all manner of things, in some widely deployed performant code: ht
626.
▲
by
woodman
11y ago
The problem isn't an issue of deviant opinion, I'm sure many feel as you do, the issue is the distance between the original statement and the emotion driven conclusion you've leapt to. It looks like nobody else has interpret
627.
▲
by
woodman
11y ago
> ...generalizing this as a downside for males... Where does the logic not follow? False rape accusations disproportionately affect men, and it is a negative experience. So it isn't a generalization, it is a statement of fact. >
628.
▲
by
woodman
11y ago
> I do not know a single person ... That says more about you than anything else. I know two guys who were accused of rape, separate incidents, in both cases the guy had an air tight alibi - one was out of town and the other was at churc
629.
▲
by
woodman
11y ago
s/purposes/political reason/g Several years ago I faced a problem that was extremely computationally intensive, basically the travelling salesman problem [0]. So I wrote the solution in c, fully documented it with a nice con
630.
▲
by
woodman
11y ago
It is kind of an interesting idea, from the prospective of information fusion. Unfortunately I spend the majority of my development time doing software integration, to achieve the whole synergy thing - for thinking outside of the box with
More ›