my subscriptions
POPULAR-ALL-RANDOM | LOADING...MORE »
itijara commented on a post in r/webdev
ep1939 3 points

Well you can also eat healthy and not go to the gym...

itijara 5 points

Gotta do cardio man. If you sit for 12 hours a day your heart won't be healthy, even if you eat well.

Edit: you're -> your

Audiolith 1 point

You don't have to go to the gym to do cardio though.

itijara 1 point

By gym I really meant exercise, but I do live in a cold climate and not near good cross country skiing places.

Load more comments
itijara commented on a post in r/javascript
itijara 1 point

Good bot.

frambot 8 points

I think the article could spell out why you shouldn't do this, lest some junior bootcamper decides it's neat to actually use in production.

  • does not minify, at all.
  • get method internals are difficult to mock for testing.
  • a function declaration and call is much less performant than inlined code (browser-dependant)
  • browser support may be iffy.
itijara 2 points

Would this be a bad idea to use for a testing framework in Node or for database calls? Seems like it might be a good idea to make writing tests/making ORMs easier.

itijara commented on a post in r/history
jeansonnejordan 4 points

What did people think was the cause of scurvy? Too much bobbing up and down? A sea curse that made your gums bleed?

itijara 3 points

The four humors was the height of medical knowledge at the time. James Lind, a British physician, thought that the sea air prevented appropriate perspiration, and that the acidity of citrus helped to promote sweating and therefore "cure" it. He was right about the citrus, but wrong about the cause. This led to some less than effective treatments: https://en.wikipedia.org/wiki/Scurvy#18th_century

itijara commented on a post in r/reactjs
wojtekmaj 12 points

Technically, it's possible to call setState from another components, the most likely reason for this error is that you forgot about this changing depending on the context. Doing it like so:

render() {
  setState = state => this.setState(state);

  return (
    <Child setState={setState} />
  );
}

would work. This is not a good pattern though. Consider something like this instead:

class Parent extends Component {
  state = {
    counter: 0,
  }

  increment = () =>
    this.setState(prevState => ({ counter: prevState.counter + 1 }))

  render() {
    return (
      <Child increment={this.increment} />
    );
  }
}
itijara 6 points

^ This is the idiomatic way of modifying state in a parent. I will add, that if you want to modify state in a sibling, e.g. a div that is the child of the same parent div, then you should store the state in the parent, and pass a callback prop to the modifying component and the state as a prop to the the modified component.

itijara commented on a post in r/whatsthisbug
JaxenGrey 3 points

That's definitely them! They look a lot different as nymphs from their adult forms; I've definitely seen adult lubbers around before, but this is the first time I'd actually seen them as babies. Thank you!

itijara 1 point

Uh, you might want to get rid of them if you have any plants near your house you want to keep.

itijara commented on a post in r/whatsthisbug
itijara 16 points

I remember planting a little garden in my backyard as a little kid. I tended to it for months, watching the plants slowly grow. Just before I was ready to harvest a swarm of these little fuckers descended. They killed everything above the ground. I guess it was an important lesson on how hard work does not always produce results, but damn if I don't hate them to this day.

itijara commented on a post in r/askscience
WedgeTurn 4,654 points

It's basically extrapolating from data. One way of finding new species is (nowadays, less invasive methods are preferred) to go to the Amazon (or any other biodiverse ecosystem) and find a large tree (which shouldn't prove much of a challenge), spread a large sheet beneath the tree and then gas the whole tree to send every (formerly) living thing flying down onto your nice big sheet. You can then easily classify every animal. Scientists would then find that a large percentage of the animals collected were previously unknown species. This process would be repeated on several other trees in the area, with similar results. From this, we can tell that there are a whole lot of species we don't know about yet

itijara 1,244 points

This is one of my favorites. David Simberloff killed off entire islands in the Florida Keys to determine natural rates of colonization and extinction of islands. I seem to remember that he also destroyed entire islands, but I cannot see it mentioned in this article. http://www.life.illinois.edu/ib/453/Simberloff.pdf

mentatzarkon 10 points

Fascinating stuff. I've read through it, but I'm failing to really grasp what their conclusion is ultimately. Can you shed a little light on that, please?

itijara 22 points

It is more of a descriptive study, so it doesn't have a hypothesis it is testing like most of the papers in modern scientific journals (although I wish there were more).

Anyways, it comes up with a model of how species colonize new islands. They show that the number of species on an island over time follows a sigmoid (s-shaped) curve related to the individual invasion rates (frequency of colonization during a single time unit) and extinction rates (frequency of loss of all individuals for a species during a single time unit) summed over the entire species pool (e.g. all species in the area that could possibly colonize and island). It also discusses how these invasion and extinction rates are related to the ecology of different species, e.g. flighted species tend to invade more variably than non-flighted and also tend to more easily go extinct, as well as a brief discussion on disperal mechanisms (e.g. air transport, hitching a ride on floatsum). It doesn't go into much detail on how these rates are related to distance between source populations and the islands they colonize, but does state that distance influences colonization rates.

I hope that makes it a bit more clear, but the paper is not confined to one topic so it is hard to summarize.

Load more comments
itijara commented on a post in r/BeAmazed
itijara 1 point

It is called a Rainbow Wrasse, but it shares that name with at least one other species. Here is my probable ID. I am more familiar with Carribbean species, though: http://www.fishbase.org/Summary/SpeciesSummary.php?ID=5647&AT=Surge+wrasse

Perrah_Normel 534 points

So I think I MIGHT have just been handed a pic of this effin fish I’ve been looking for since I saw it like 2 decades ago when I went snorkeling in the Carribean. I saw a fish that had so many colors, like all the colors of the rainbow on it and it was like a sizable fish, completely different from what I was used to seeing, I was used to fish that big and that shape being dull colored or at least sticking to one or two main colors and little ones having bright colors like that, and this large fish just looked so incredible to me and I reached out because I just couldn’t help it and it let me stroke the length of its body. It was such a cool memory, I’ve looked for pictures online but none seem like what I saw, I wonder if this could actually be it.

humanracedisgrace 109 points

Well, these aren't in the Caribbean... Try Stoplight Parrotfish or Rainbow Parrotfish or Creole Wrasse or Clown Wrasse.

Edit: That Rainbow Parrotfish appears to actually be another Stoplight Parrotfish. A lot of parrotfish photos here https://reefguide.org/carib/index6.html

Princess Parrotfish may be what you saw.

itijara 13 points

Btw, I think the Wrasse in this picture is this: http://www.fishbase.org/Summary/SpeciesSummary.php?ID=5647&AT=Surge+wrasse, I also suspect the saturation is bumped up a bit in the photo (still a very striking fish)

Load more comments
[deleted] -1 points

[removed]

itijara 1 point

I have been googling whether coherent electron beams exist and it looks like you are right. There is research, but it isn't feasible yet. As for need, I think that something even higher density than SSD could be really useful for hard drives, if not removable media. If not for home computers, then possibly for servers.

cantgetno197 4 points

How would this work? A CD/DVD player is basically a laser-interferometer which requires a COHERENT light source. I know very little about electron microscopes but I was under the impression that it's just an electron gun shooting incoherent electrons, it's not a laser-of-electrons.

itijara 1 point

You would need to create an electron interferometer or something like that, not sure if that exists. I think you have a really good point about EM's using an incoherent beam of electrons, but is there no technology that allows for a coherent beam? The medium would also need to be a disc/tape that is sensitive to electrons passing it, but there are lots of those (e.g. magnets).

itijara commented on a post in r/TheDepthsBelow
1.6k
sweensolo 22 points

Just a Tarpon, they can get huge but aren't scary.

itijara 13 points

Yep. Their mouths don't have large teeth. Just these tiny raspy things that feel like sandpaper.

Dooontcareee 8 points

Instead of having Bass thumb, you can have Tarpon arm.

itijara 4 points

Can confirm, have had tarpon arm. Edit: wouldn't recommend as they have sharp gill rakers.

itijara commented on a post in r/dataisbeautiful
1wheel 47 points

Kevin did most of the charting work on this piece - I just got pulled in as an expert dot animator.

We started out with a SVG animation, tried out Elijah's canvas sankey particles and ended up rewriting in regl to get more dots on the screen.

The final version gets better performance by passing in array of attibutes to the vertex shader - I'm not sure why that is.

This piece probably has the worst data to ink ratio of anything I've made; 10,000 dots to show 10 data points. I think it would have been interesting to try show more of distributions across race/sex/parent income at once, but when you've got such important numbers going on big a couple of them can work.

itijara 1 point

Thank you so much for sharing this. I am trying to do some work in chartjs/d3 and seeing how others do this stuff is immensely helpful.

itijara commented on a post in r/QTWTAIN
itijara 15 points

The title is obviously sensationalized, but the article is well done and reasoned. Really, the question is whether the polarization that occurred in the Republican party is happening in the Democratic party. And the answer to the question, "Is the Democratic party being polarized?" isn't obviously no.

view more:
next ›
36,246 Karma
93 Post Karma
36,153 Comment Karma

Following this user will show all the posts they make to their profile on your front page.

About itijara

  • Reddit Birthday

    June 25, 2015

Other Interesting Profiles

    Want to make posts on your
    own profile?

    Sign up to test the Reddit post to profile beta.

    Sign up