Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
JohnLeTigre
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
31.
▲
by
JohnLeTigre
10y ago
It's also very optimal not to use a map when you don't really need one, that's my point. I agree eastl is cool, I clearly remember smilling when it first came out.
32.
▲
by
JohnLeTigre
10y ago
You won't convince me that c++ is as good as c simply by representing a plain old structure as a class or by talking about the type of arrays. To me, data-oriented design is more interesting: https://www.youtube.com/wat
33.
▲
by
JohnLeTigre
10y ago
You should use maps in game engines parsimoniously and when you do, use integer keys like a hash or something. This should be evident for any game programmer. If you are at the point of inventing a more complex structure to compensate for p
34.
▲
by
JohnLeTigre
10y ago
I use Todolist from AbstractSpoon
35.
▲
by
JohnLeTigre
10y ago
Wow, they could generate stylometric profiles and sell that for mega-bucks. Kind of creepy I say.
36.
▲
by
JohnLeTigre
10y ago
Started at 10 on a trash-80 then a pc clone... Like most people at the time, I started with BASIC but quickly switched to Pascal then assembly then C, etc. Never stopped coding since.
37.
▲
by
JohnLeTigre
10y ago
This reminded me of how lonely I feel in my society; defining prejudices in a Gadamerian way.
38.
▲
by
JohnLeTigre
10y ago
lol thanks :) now fixed
39.
▲
by
JohnLeTigre
10y ago
I'm no quiche eater, I will code until I die
40.
▲
by
JohnLeTigre
10y ago
The purposeful mispelling of 'f' as 'ph' is already driving me nuts.
41.
▲
by
JohnLeTigre
10y ago
I agree, on the same machine, the slow-downs are constant for each level of cache and for ram access.
42.
▲
by
JohnLeTigre
10y ago
Cache performance is not constant, if it was, we wouldn't even consider it when optimizing. The point is to use data that was recently fetched into the (faster) cache memory as much as possible instead of incuring the penalty of a cach
43.
▲
by
JohnLeTigre
10y ago
Of course this was a single example. The main point is that the big O notation ignores the cache misses. For example: - try writing a quicksort as a template to avoid the comparison function calls - in the sorting loop, switch to an inserti
44.
▲
by
JohnLeTigre
10y ago
I agree
45.
▲
by
JohnLeTigre
10y ago
People tend to miscomprehend freedom as an act that is performed according to our will without any form of constraint or predisposition. If this was the case, freedom would not exist since our whole life experiences predisposes us to uncons
46.
▲
by
JohnLeTigre
10y ago
Thanks :) This reminded me of the Spectacular Time by Larry Law
47.
▲
by
JohnLeTigre
10y ago
Well spotted, by the way f8895720bef037a0705ca561343680b2 is the md5 for "I'm full of shit"
48.
▲
by
JohnLeTigre
10y ago
Pair programming: expert-expert: - ya - hu-hum... - ya - look... I'm way overloaded with work - same here - do you think we should both work on our stuff independently - sure, It'll be more efficient this way, see you at lunch exp
49.
▲
by
JohnLeTigre
10y ago
You would need a military who's primary mission is to uphold democracy in a non partisan way, much like the Turkish army since Ataturk's Reforms.
50.
▲
by
JohnLeTigre
10y ago
From the German newspaper FOCUS: "Half an hour after the shooting started the British intelligence service GCHQ intercepted phone calls, e-mails and SMS from within the Turkish government apparatus saying that the purges would start ne
51.
▲
by
JohnLeTigre
10y ago
Personally, I would have gone further. Somehow people forgot the old Ethos of being a programmer working on slow machines that had only 8k of ram or so. This would train humility, the art of writing small and efficient code, etc. Now kids i
52.
▲
by
JohnLeTigre
10y ago
the fact that they enable people to search for things does not remove the honus from individuals as to whether or not they should do illegal acts. For example, it is not because a dictionnary has a definition of the word "murder"
53.
▲
by
JohnLeTigre
10y ago
If their argument holds in court, wouldn't this mean that they could go after Google too, on the premise that if you add "Torrent" to your search request, it directs you to illegal content and that (according to their skewed
54.
▲
by
JohnLeTigre
10y ago
Anything can exist in that circumstance, feels like a reductio ad absurdum. I didn't go this far, so I'll have to think more about it. thanks for the food for thought.
55.
▲
by
JohnLeTigre
10y ago
It's not so much about limits or bounds, they do exist. It's about limits or bounds that are incongruent with how physics normaly works in reality (patches would always do that), for lack of a better expression, I call these metap
56.
▲
by
JohnLeTigre
10y ago
Agreed, it's kind of my point, - because a complete simulation would require infinite means - simulations can only be incomplete - incomplete simulations would exhibit metaphysical irregularities - yet to this day, metaphysics seems c
57.
▲
by
JohnLeTigre
10y ago
That would be clever, but you would probably still notice discontinuities between the distant and close objects. But more importantly, the laws of physics would be observably non consistent.
58.
▲
by
JohnLeTigre
10y ago
for example, floating point numbers can only hold a specific amount of decimal points, so very small numbers would end up becomming zero, leading to tons of divisions by zero or NAN's ect. In order to avoid these glitches we need to cl
59.
▲
by
JohnLeTigre
10y ago
A complete simulation would require infinite means to process, memorize and exhibit. It is safe to assume that these infinite means could not exist. So, just like a physic's simulation that uses limited means, say like floating points,
60.
▲
by
JohnLeTigre
10y ago
Wow, that guy completely misunderstood the original poster and showcased not only a lack of philosophical depth but also a condescending and bickering attitude. Bad article, too personal and intellectually frigid.
More ›