HNHacker News
TopNewBestAskShowJobs

rgbgraph

147 karma · joined May 16, 2023

submissionscomments
rgbgraph··on The Rise and Fall of Evidence Based Medicine (1998) [pdf]
In bullet-points:

- Absolute risk reduction in CVD-caused mortality is mild at best (<1-2% absolute risk reduction)

- Percentage of people that get side-effects is higher than the percentage of people that receive a benefit from statins; as well, the side-effects are rather serious in affecting QoL -- making them a poor choice as a long-term prophylactic

- Generic lipid panels that the vast majority of people take are generally worthless for estimating lipid health: LDL "large particle -- bad" cholesterol is not actually measured, but estimated. The current formula is: (total cholesterol - HDL - triglycerides)/5 which is liable to under-report true LDL levels. Estimation also has the drawback of being unable to tell how much of each "bad" particle is actually in your blood (chylomicrons vs VLDL vs LDL etc.) -- muddying your actual risk profile. Likewise, no LDL "content" tests are performed to measure how much cholesterol each LDL is actually carrying. So yes, statins will lower these numbers, but the methodology around these numbers is flawed, and only loosely correlated with cardiovascular health

rgbgraph··on Was modern art a CIA psy-op? (2020)
In '87, Huey released "Fore!", their most accomplished album. I think their undisputed masterpiece is "Hip To Be Square": a song so catchy, most people probably don't listen to the lyrics; but they should, because it's not just about the pleasures of conformity and the importance of trends -- it's also a personal statement about the band itself.
rgbgraph··on Most important papers for quantitative traders
You will be better off going independent, than trying to break into the industry (unless your PhD was from a top program, and you're on the younger side).

In that vein, Ernest P. Chan's books will give you the toolkit to begin, and then you can figure out the rest as-needed. Quantitative Trading (2nd), Chan I believe is the first in the series. Algorithmic Trading I believe is the second. And Machine Trading is the last.

rgbgraph··on The Rise and Fall of Evidence Based Medicine (1998) [pdf]
There was a great book about Evidence Based Medicine, from a woman out of Oxford, I read a long while ago. Can't for the life of me remember the name, but Oxford does have a center for "Evidence Based Medicine," and the whole idea has been slowly coming back into fashion.

Instead, all I can recommend is a collection of essays -- loosely -- related to the subject: Where's the Evidence?, Silverman

---

On another note, someone who's gone down the pharmaceutical research rabbit hole and concluded a lot of it is "bunkum" (e.g. statins, anti-depressants, and so on), would do well to look into surgery next -- especially that of surgical implants.

Some of worth looking into: joint replacements, joint and spinal fusions, angioplasties.

Of note: spinal fusions were not brought about on any scientific or experimental bases, but on hunches from surgeons (damnable bunch). Many do result in a reduction in pain, but it does bring to question how much of it is simply "placebo." There were a few experiments in this realm of doing double blind (or single blind, it escapes me right now) studies on back surgeries, that showed evidence the placebo effect was involved. The simple act of being put under anaesthesia, and convinced one had gotten "treatment," resulted in reductions in pain for those who came in for spinal surgery.

I do wish more research would be done into the placebo effect, and doctors would stop faffing about in self-righteousness (though having an air of expertise and authority does impact the placebo effect positively). And I don't mean in a "the placebo effect exists and is usable as a treatment" way, but in a "the placebo effect exists, and here is how it works in the body." That would be very interesting. Long ago I read a few papers on the placebo effect in regulating blood pressure via regulation of a certain chemical (it could have been a hormone like renin, but I can't recall). At the time, I thought the autonomic nervous system would be a good avenue to research to better figure this out (it would be a convenient explanation for how the placebo effect works: activating the nerves in the kidneys via the cross-talk from the central nervous system to excrete certain hormones). If it can affect the kidneys, what other bodily systems can it impact? The possibilities are not endless, but rather exciting.

I believe the "placebo effect" is the reason chiropractors are so popular, in spite of there being no real physical evidence as to why their treatments help people.

rgbgraph··on SQL:2023 has been released
• Part 1: https://www.iso.org/standard/76583.html

• Part 2: https://www.iso.org/standard/76584.html

• Part 3: https://www.iso.org/standard/84803.html

• Part 4: https://www.iso.org/standard/76585.html

• Part 9: https://www.iso.org/standard/84804.html

• Part 10: https://www.iso.org/standard/84805.html

• Part 11: https://www.iso.org/standard/76586.html

• Part 13: https://www.iso.org/standard/84806.html

• Part 14: https://www.iso.org/standard/76587.html

• Part 15: https://www.iso.org/standard/84807.html

• Part 16: https://www.iso.org/standard/79473.html

rgbgraph··on Most important papers for quantitative traders
Table of contents? Blast from the SEO spam of the past.

Snark aside, very decent bibliography for the intended audience: independent traders who are building automated trading programs for their personal accounts.

rgbgraph··on SQL:2023 has been released
For one part. IIRC, there's 11 "new" parts this year.

Which is even more hilarious, considering the ISO is already being funded by the tax dollars of member countries.

A bit like having to pay a journal to get access to research papers: ridiculous.

rgbgraph··on What If Friendship, Not Marriage, Was at the Center of Life?
No, I’m half-and-half.
rgbgraph··on It’s time to admit that Remote Work doesn’t work
Revenue?
rgbgraph··on What If Friendship, Not Marriage, Was at the Center of Life?
Don't read into this question more than necessary: are you a "generic" American (non-immigrant, born and raised, family has been here for more than 3 generations, no strong ethnic ties) or primarily surrounded by "generic" Americans?

I've found most of my long-term, "deep" relationships in the U.S. to be with immigrants/foreigners. With the "generic" Americans, I can get to the point of a friendly and jolly relationship -- but it never feels like "strong bonds" are part of their value system.

For example, go to Latin America if you want a stark contrast to this. People are part of the value system.

rgbgraph··on What If Friendship, Not Marriage, Was at the Center of Life?
Yes; and unfortunately there has yet to be a critical look at this phenomenon with the same skill as Quigley or Toynbee (at the very least, none that I can find).
rgbgraph··on Had a call with Reddit to discuss pricing
All reddit is doing is storing text and serving it to people.

This not expensive or a hard problem. You grab a bunch of servers, you set them up properly, and then you write your app properly.

No resume-driven bullshit; no hype-driven bullshit; no “we need to be galaxy scale now” bullshit. No email notifications, besides basic “thanks for registering, here is your login” and “here’s a password reset link.” No cloud-based bullshit. Don’t use fucking python. Use a real systems language to eek out as much performance as you can from the hardware. Actually understand databases and how your specific databases work. Use Postgres unless you have a very good reason not to.

Just a few thousand dollars a month, and a brief reprieve from short-term mania to actually think, and you too can literally serve 1 billion pages a day.

Why does everyone run into problems with this? Because they have personal hang-ups and delude themselves (or simply don’t care). This path has been tread numerous times before. The mistakes have been made thousands of times. The people who made those mistakes are available to help you out (for the right price, or if you’re good enough company).

I am sick and tired of systems engineering being grandized, when all you have to do is sit down somewhere quiet and think about the problem — with a bit of tea, and some way to access reference material.

Reddit is not a hard or interesting problem.

rgbgraph··on Why F# evangelism isn't working (2015)
List is an IList/IReadOnlyList; these interfaces do nothing that couldn't be done right inside the file itself.

https://referencesource.microsoft.com/#mscorlib/system/colle...

https://referencesource.microsoft.com/#mscorlib/system/colle...

Instead we have to go diving through the IList, which implements ICollection, which implements IEnumerable, which implements IEnumerable (again). Just because each interface is composed of another interface, doesn't mean you aren't using inheritance. You are effectively creating a custom inheritance tree through willy-nilly composition.

It is gratuitous to make this chain so deep, when the underlying code is just a handful of lines.

https://referencesource.microsoft.com/#mscorlib/system/colle...

https://referencesource.microsoft.com/#mscorlib/system/colle...

https://referencesource.microsoft.com/#mscorlib/system/colle...

----------------------------------------------------------------------------------------------------------------

The doc-strings are unnecessary. It's self-evident what most of the code does if you read it.

        // Returns an enumerator for this list with the given
        // permission for removal of elements. If modifications made to the list 
        // while an enumeration is in progress, the MoveNext and 
        // GetObject methods of the enumerator will throw an exception.
        //
        public Enumerator GetEnumerator() {
            return new Enumerator(this);
        }

        // Returns the index of the last occurrence of a given value in a range of
        // this list. The list is searched backwards, starting at the end 
        // and ending at the first element in the list. The elements of the list 
        // are compared to the given value using the Object.Equals method.
        // 
        // This method uses the Array.LastIndexOf method to perform the
        // search.
        // 
        public int LastIndexOf(T item)
        {
            Contract.Ensures(Contract.Result<int>() >= -1);
            Contract.Ensures(Contract.Result<int>() < Count);
            if (_size == 0) {  // Special case for empty list
                return -1;
            }
            else {
                return LastIndexOf(item, _size - 1, _size);
            }
        }

        // Returns the index of the first occurrence of a given value in a range of
        // this list. The list is searched forwards, starting at index
        // index and upto count number of elements. The
        // elements of the list are compared to the given value using the
        // Object.Equals method.
        // 
        // This method uses the Array.IndexOf method to perform the
        // search.
        // 
        public int IndexOf(T item, int index, int count) {
            if (index > _size)
                ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index);
 
            if (count <0 || index > _size - count) ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_Count);
            Contract.Ensures(Contract.Result<int>() >= -1);
            Contract.Ensures(Contract.Result<int>() < Count);
            Contract.EndContractBlock();
 
            return Array.IndexOf(_items, item, index, count);
        }
If you remove these 300 lines of pointless comments, you still have 900 lines of code that is terribly space-inefficient. Everything is "pretty," but slow to read, because of the immense amount of whitespace, nesting, and lines longer than 76 chars. You cannot read long swathes of code in one screenful. You have to scroll vertically and horizontally, because for some reason a standard library needs to throw exceptions (exceptions aren't free; they negatively and noticeably impact performance).

Seriously, you could just use an "out" errno/status. "But then we would have to always check to see if the operation succeeded!": exceptions make people lazy. Just because an exception wasn't thrown, doesn't mean you're doing things correctly.

----------------------------------------------------------------------------------------------------------------

Why does a List implement a search algorithm? Why binary search of all things -- because it's convenient? You know if I need a binary search, I can write one myself. Don't pollute my namespace.

        // Searches a section of the list for a given element using a binary search
        // algorithm. Elements of the list are compared to the search value using
        // the given IComparer interface. If comparer is null, elements of
        // the list are compared to the search value using the IComparable
        // interface, which in that case must be implemented by all elements of the
        // list and the given search value. This method assumes that the given
        // section of the list is already sorted; if this is not the case, the
        // result will be incorrect.
        //
        // The method returns the index of the given value in the list. If the
        // list does not contain the given value, the method returns a negative
        // integer. The bitwise complement operator (~) can be applied to a
        // negative result to produce the index of the first element (if any) that
        // is larger than the given search value. This is also the index at which
        // the search value should be inserted into the list in order for the list
        // to remain sorted.
        // 
        // The method uses the Array.BinarySearch method to perform the
        // search.
        // 
        public int BinarySearch(int index, int count, T item, IComparer<T> comparer) {
            if (index < 0)
                ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
            if (count < 0)
                ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
            if (_size - index < count)
                ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_InvalidOffLen);
            Contract.Ensures(Contract.Result<int>() <= index + count);
            Contract.EndContractBlock();
 
            return Array.BinarySearch<T>(_items, index, count, item, comparer);
        }
What if my list -- as is almost always the case -- is unsorted? The result will be incorrect? Looking through the chain of indirection, I cannot see any code checking to see that the list is sorted. Maybe it's there, but it's so much overhead trying to make sense of the List.BinarySearch -> Array.BinarySearch -> ArraySortHelper<T>.Default.BinarySearch -> arraysorthelper.BinarySearch -> arraysorthelper.InternalBinarySearch chain. So I'm going to silently get a wrong result, and the only way to know is to read the docstrings? Thanks.

----------------------------------------------------------------------------------------------------------------

As far as I can tell, it's unoptimized. It's just plain, OO C# meant to be readable. I don't see any tricks or tweaks to get the IL to be more concise/performant. Maybe the compiler is aggressively optimized for the core lib (but I'm not holding my breath -- because I can't see it).

rgbgraph··on Purdue Pharma can protect Sackler owners in opioid bankruptcy, court rules
The analogy is apt, because those opioid deaths are a direct result of someone taking advantage of others' emotions to set wide-sweeping policy, with no regard for anyone else -- causing drastic harm to people.

This is no different from the example above.

Pharmaceutical companies push opioids on doctors -> doctors push opioids onto people -> someone gets uppity and decides something should be done now -> opioid access is quickly curtailed -> people now need to get their fix because pharmaceutical companies have upregulated their opioid receptors, causing life to be living hell -> people go acquire opioids through the black market -> it's laced with fent and then people die

Alcohol poisoning was common in the bootleg era, when some people got uppity and decided something must be done now about alcohol -- and people do as people do, went to go get their fix from shady suppliers with tainted product; then they were seriously injured or killed.

rgbgraph··on Why F# evangelism isn't working (2015)
Just like every language is able to be slow/non-performant -- but OO in this case would be Python in a web context; it doesn't invalidate that a good amount of OO codebases in the wild devolve into incomprehensible black boxes, where no one has any idea what anything does or how to make meaningful changes that fulfill the intent of (compare that to iterative programming, where you can atleast read it)

A list: I give you a vector. Plain and simple. Not this insanity: https://referencesource.microsoft.com/#mscorlib/system/colle... [0] You do not need OO to create a vector (or even an array -- god forbid!)

As for trees: roll your own. They're simple enough, yet tightly-coupled with context that no generic implementation exists that is flexible enough. You do not need OO to create a tree. C has been working with trees long before the current Frankensteination of OO was even a twinkle in Gosling's eye.[1]

Data structures do not need inheritance -- they might need delegation (message passing that requires you to actually think about your system).

Data structures do not need encapsulation -- they most likely need namespaces. Realistically, most classes will be used as namespaces.

Data structures do not need polymorphism -- just implement the members you need, and name them appropriately (no 5+ word phrases, please. Please!)

What modern OO does is lower the barrier to productivity in the present, and then pays for it in the future. It's no different than writing your "planet scale" backend system in JS.

[0] Compare to: https://gcc.gnu.org/onlinedocs/gcc-4.6.3/libstdc++/api/a0111...

[1] If you want to know why we have Java: some guys that didn't have the time to think about low-level (memory management specifically) things for their embedded applications, got sick of trying to learn C++, decided to make their own language. That's it. There was no grand plan or thoughtful design -- it's just a mismash of personal preference. The same people that described C++ as "being too complex" (fair) and using "too much memory" (lol)

rgbgraph··on Purdue Pharma can protect Sackler owners in opioid bankruptcy, court rules
Baby steps. I'm not going to recommend the complete nullification of corporations in the present. Perhaps as a long-term goal to aim towards -- but with the right planning and support. No sense in being a revolutionary.

Perhaps start off with removing the corporate veil. Officers of corporations (or any incorporated entity) are now personally liable for what goes on. This could pave the way for trimming down extra-national entities like multinational corps (the risk is immense for there to be bodies buried in various dark corners of huge corporations -- only the insane would take on these positions).

If you want to know if I'm a card-carrying communist or not, feel free to read this: https://news.ycombinator.com/item?id=36132733

It's couched in mild language, because of the venue we're in.

rgbgraph··on Purdue Pharma can protect Sackler owners in opioid bankruptcy, court rules
Yes, the same constitution that defines corporations as people, and allows their agents to enjoy all of the goodies.

But when a corporation expresses false advertisements, they are fined -- regardless of their "freedom of speech."

A private citizen should be able to lobby. Corporations should not.

rgbgraph··on Purdue Pharma can protect Sackler owners in opioid bankruptcy, court rules
Just because you feel a certain way, doesn't mean you should act on it -- you're bound to make a less-than-optimal decision when emotions get in the way.

The above is the equivalent of finding out your child has been an alcoholic for the past decade, and abruptly shutting down all liquor stores in your town.

Your child is going to start having seizures, and your town will be incredibly irritated at you for being so hasty.

rgbgraph··on Purdue Pharma can protect Sackler owners in opioid bankruptcy, court rules
I'm not being snarky, but this can all be reductively boiled down to "we shouldn't let people self-govern, because they don't know what's good for them."

I posit an opposing viewpoint: people know what they want; why get in their way -- you're not their parents. Take care of your intimates and close ones, but let other people live their lives in their enclaves, bubbles, and so on -- self-governing as they please.

Will they do and believe in things that you personally wouldn't? Yes. Will some of those things end up being terribly offensive to your sensibilities (morals/ethics/beliefs, what have you)? Most likely.

Under direct voting, if you see something that you believe to be terribly bad being brought out onto the floor, you are free to organize amongst your community to strike it down (or do the reverse, and bring forth an initiative you believe to be good). But that also opens up the possibility that no one will want what you want, and your initiatives will fail. At that point, you can either accept it, and go on with your life, or -- in these globalized times -- move somewhere else with people that share your views.

Generally, if you don't completely disintegrate the community through various means (as is popular in the U.S., see: globalized workforce), they can self-govern in a way that is sustainable and that fulfills their best interests. This is how humanity has survived for countless thousands of years.

Better yet, give back to the people the means for self-sufficiency, and you will soon see that national/federal power wanes, as there is little need for external forces to keep a community alive and thriving. "Vote yes if you want $1 (fine-print: by also giving us logging rights to your forests)" is easily prevented by: a close-knit and cohesive community with a group "mind." Your community leaders will tell you it's a swindle, and to drive out anyone that comes with such a proposition. Of course, that would lessen the amount of exploitation the individual receives by higher powers -- thereby "shorting" these same powers of their self-justified right over the individual (and his resources). I.e. a lot of powerful people's plans and careers and goals will be upended -- and that's a no-no.

rgbgraph··on Purely Functional Data Structures (1996) [pdf]
I’ve vouched for this, because it brings up an interesting point (albeit, one that proven provocative and been expressed before). Also, many of your comments are dead.

Big O/algorithmic complexity is interesting in that it tends to abstract away the architecture of the underlying processor. A copy is a copy is a copy. Arithmetic is arithmetic is arithmetic. Regardless of what instructions/processing units the underlying processor has. Regardless of data access. Regardless of parallelization. Regardless of memory complexity. All we use are brutish units of “work” — despite not all “workers” being equal.

It reminds me a bit of scientific management: treating your “workers” as interchangeable units that carry out what has been decided to be the most efficient movements and processes — completely disregarding the individual characteristics of the worker. For a humanist example, consider the individual quirks of the physiology (not only in size, length, and composition of the skeletal system via the muscles, bones, tendons and so on that would necessitate there being specific movements and workloads that best suit them — but also in psychology; the brain as its own work-producing part that is uniquely suited and most efficient for specific workloads; rather than an all-encompassing abstract average “best workstyle” that makes no note of these characteristics, but simply decides to use external metrics like “time to pick up a box using X, Y, or Z form.”)

The same parallel can be drawn to computers: different processors and collections of hardware (what is essentially the “body and brain”) have different quirks and different workloads they perform best at. For example, GPUs are much more useful in the case of vectorized/parallel workloads where the operations are relatively simple (f.e matrix arithmetic). While you can run an iterative matrix multiplication algorithm on a CPU in n^3 time — your data access costs will be significant. Instead, running a parallel algorithm on a GPU, with RAM very close by, you can achieve log^2 n.

This is where CS research really shines: not running away from the realities of physical systems, but embracing them.

rgbgraph··on Health officials delayed report linking fluoride to brain harm
Would increase water consumption in the general populace — diverting some usage of sugary drinks.

Health officials get to say they lead an initiative that drastically improved water drinking and drastically reduced soda drinking. Who wouldn’t that on their CV?

Long-term side-effects require longitudinal studies that can be done post facto. Give it 50 years, maybe. By then everyone who dreamt up the scheme will be already retired or dead — and no careers will ever be in jeopardy.

Sounds familiar, but it has a certain special twist to it. If anyone here decides to implement this idea, please invite me to your Nobel prize reception.

rgbgraph··on Globalization is evolving, but does not seem to be reversing
Perhaps when it’s on our own soil we might actually give a shit that they’re using child slaves and destroying the environment?

When an American goes abroad to abuse children we round up a storm about the despicability of one person — and then throw them in prison.

When a global corporation does it, we roil in the injustice with various huffing and puffing, and then go on with our lives.

Sent from my iPhone (TM)

rgbgraph··on Death by design patterns, or On the cognitive load of abstractions in the code
By outward appearance or some other metric?

Not to get on a soapbox, but I would imagine someone with great pattern recognition would be able to realize this way of doing things is deranged; and ultimately helps them more than the team- On second though: perhaps they are genuinely the smartest people in the room -- prioritizing their image and importance by making others believe they're too stupid to understand what's going on.

I really should go study Gang of Four -- job security demands it.

rgbgraph··on In every country people think others are less happy than they themselves say (2017)
> do you have statistics for that for every country in the world, or you only care about your neck of the woods (which is not what Rosling cared about at all)? But even if that's true, it doesn't contradict the fact that almost every metric, if not every single one, is better today, please don't succumb to the strawman fallacy.

The same could be said for Rosling. How much of his bias has crept into his analysis? Is he measuring the right things -- or simply what is en vogue (or worse, what is best for his interests).

I would trust a basement-dwelling amateur analyst to find the "truth," much sooner than I would a pseudo-celebrity/influencer, going around holding TED talks.

rgbgraph··on Tom Hanks on the rewards and reality of making movies
A master of what craft? Fast entertainment?

Tom Hanks is a master of perfectly playing an unbelievably dull character -- with just enough subtle quirk that a half-awake audience can project their half-baked sensibilities onto.

No different than the New Yorker, that wafts on for ages -- that only someone looking too hard can find merit in.

rgbgraph··on Why I Left Rust
Full disclosure, I usually do not involve myself with large groups -- so my views are likely to be a bit more innocent/naive.

The past that I lived in was comprised of people you personally knew; not anonymous membership in a large organization or group, where you could never hope to know everyone on a personal level.

There was very little opportunity for people to be unchecked dicks to one another, because you saw everyone consistently and could easily notice when something was going on.

Perhaps this is an unsolved issue about scaling human communities?

rgbgraph··on Why I Left Rust
Fair point, and one I needed to reflect on.

I think in my past, whenever I've been in a leadership position over a group of people, we've all been there to achieve some goal. We were all cooperating to reach the same end -- and those with a different opinion of that "end" were excluded.

I have also been on the opposite side of this: I've been a member of groups whose goals I did not agree with. And no amount of civility or communication would bridge that chasm; therefore my opinions and thoughts were excluded (and I voluntarily left).

There is no right or wrong here -- if I step back and stop injecting my own feelings into the conversation: there are just differences.

I don't like theories. I don't like abstract things that try to become a source of truth, while completely ignoring and marginalizing the very real human element involved. I have no respect for them.

In my view, "don't be an asshole" is basically: you join a group of people, do not carelessly or intentionally go against the norms of that group. Do not insert yourself into a group of people that you know you will not get along with. There is no right or wrong, but there is conflict and no conflict.

But even now, as much as I have tried to take a step back with an objective lens, and disassociate from my very real thoughts, feelings, and beliefs: what is the point? I hold all of these because they are integral to who I am. As do the people of the Rust community.

Disjointed thoughts, without a goal to neatly encapsulate them all. Or perhaps my goal was to share my human experience with others? To socialize and create bonds with others? Quite a silly thing to do on the internet.

rgbgraph··on Why I Left Rust
Wow, no kidding:

https://old.reddit.com/r/rust/comments/vxgzrl/changes_in_the...

Mod response:

> For all those wondering about removed comments, there was some trolling going on which was summarily removed by the mods.

> Please avoid any trolling and/or drama seeking comments and remember our subreddit rules.

"Trolling" on display in the archives of that thread: https://www.reveddit.com/v/rust/comments/vxgzrl/changes_in_t...

And then there's Graydon's reply to the "we will exclude you," in the code of conduct, and the subsequent drama: https://old.reddit.com/r/rust/comments/6ewjt5/question_about...

Frankly, even though no one has asked for my opinion, the amount of effort people put into the code of conduct (and the discussion around it) is ridiculous; utterly ridiculous. In a time long ago, before everyone was incapable of compromising and cooperating with one another, we had two rules in an informal code of conduct for interacting with one another:

1. Be cool

2. Don't be an asshole

And then we all went back to trying to achieving the task at hand.

rgbgraph··on Why Timothy Cain creator of Fallout left Fallout 2 during development
This form is basically always used for enumeration.

Might as well just do (x != y); unless you're specifically looking to guard against erroneous bitflips that would be caught by the prior (x < y), but not the former. But at that point -- it's likely your result is going to be garbage.

In essence they're the same; but one you never have to think about whether you're using it correctly.

Can anyone find a reason not to swap out (x < y) for (x != y)?

rgbgraph··on Ask HN: What are some good resources for learning about low level disk/file IO?
Literally write a toy database.

Redis from Scratch will walk you through the very basics.

Want to know how to build compilers? Crafting Interpreters (while very wordy) will walk you (painstakingly) through the very basics.

Want to build a basic server? Beej on Linux Networking.

Build a time-series database to handle back-testing for automated trading systems.

Slap on a bare-bones SQL interpreter onto it.

Now add networking so you can deploy it somewhere.

Now figure out what’s wrong with it (is the performance merely slow or are there serious pitfalls a la MongoDB?)

How do you handle multi user environments?

How you optimize for filesystem throughput while maintaining ACID? Are you like Mongo where you just queue everything and return an ACK — or do you only ACK back when you’ve successfully written to disk?

What’s your protocol for communicating with your DB?

How about sharding or distributed storage?

Hot/cold data swapping?

Execution engine or hand-crafted data retrieval semantics a la q (lang)?

How about remote direct memory access (RDMA) to get past the kernel? How about regular old kernel bypass?

How you handle a catastrophic failure where I physically pull the plug on your machine?

Are you using SIMD/vectorization?

There’s so much you could do. Pick whatever interests you the most.

← PreviousPage 2 of 3Next →