Better HN
topnewbestaskshowjobs
Log inSign up

YCode

1,283 karma · joined Oct 13, 2016 (10y ago) · 310 submissions

Submissions

comment 9y ago · link · parent

It always kind of makes me chuckle when I read a comment about using TOR to stay off the grid and away from government spying.

I can't help but think, at least in principal, should you be using something they created and then gave away?

comment 9y ago · link · parent

But from the other person's perspective it sounds something like:

"Having just met you I can already tell nothing about you interests or excites me. I have trust issues and I fully expect you to leave me so in preparation for that I'm going to put up emotional walls and not invest myself too much in this relationship in case it fails."

There's a wide and opaque area between not being someone's clone and having nothing in common.

comment 9y ago · link · parent

So Internet relationship advice is a bit like advice on a rash based on its color.

That said and with a bit of tough love I really doubt they were incapable of understanding you. If they were, perhaps there's something you should change so they can understand you.

Offhand, your "I already know" remark comes off as putting up walls because you're afraid of being hurt. It's hard to learn about someone when they don't want you getting too close.

Can you identify what your common interests were in those relationships? What brought you together besides you both having equipment the other fancies? If there's a limited supply of answers, it's possible you really didn't have mutual interests or aspirations/life goals.

Long term they may have been doing you a favor.

comment 9y ago · link · parent

With WSJ if you google the title of the article you can get in from the search result link.

comment 9y ago · link · parent

The author mentions it should take like a year for it to become noticeable.

comment 9y ago · link · parent

Then you don't have to view the page. It's not as if you're required to view news articles from a specific outlet.

comment 9y ago · link · parent

That's the definition my work uses.

A critical differentiator is understanding not only the technical side of things but the business and politics of getting a project completed.

In essence a junior can give you a widget, an intermediate can give you an application and a senior can give you a satisfied customer.

comment 9y ago · link · parent

The current solution of detecting ad-blockers and either blocking your content or requesting users disable their ad-blocker seems sensible.

The latter especially works for me because I'm generally willing to disable my ad blocker for the domain and see what their ads are like. If their ads are reasonable I'll leave it off.

comment 9y ago · link · parent

Not sure what you mean by "legit use case", because you could write just about anything in vanilla, but for React specifically the value of using it comes from state management.

By explicitly defining what is state and when you change it the application becomes largely pure/functional and this has a tendency to both decrease bugs and make the application easier to reason about.

You could do that in Vanilla as well, but as your apps grow React or whatever.js generally is ready to grow with you, whereas your homebrew solution may not be.

comment 9y ago · link · parent

Second line in the article is "Although we’re not actually talking about Google’s Bug Bounty program… instead we’re talking about what appears to be an attempt to exploit people that are searching for it."

It also seems like he kind of rushed off to post the article without a response from Google "This issue was disclosed to Google, but seeing as it is in public search results I thought it best to publish this to make others aware of the issue. "

Kind of ironic that the about page claims he runs "a software engineering consultancy providing leading edge software and security expertise"

comment 9y ago · link · parent

So I guess you don't have access to Google Play?

How do you get apps?

comment 9y ago · link · parent

It seems like most of weight of the code is VanillaJS's somewhat verbose methods like document.createTextNode or "e.parentNode.removeChild".

I suppose that's why it's so critical that the app zips down while it's going across the wire.

I can't help but wonder if shipping a rudimentary bootstrap framework that wraps those methods would be helpful.

comment 9y ago · link · parent

What's unjustified about the statement they issued?

comment 9y ago · link · parent

> I think the recent election demonstrated that money doesn't matter that much.

Can you elaborate on that? I'm unaware of how it was demonstrated.

comment 9y ago · link · parent

That's very typical. The way it works is the reporter queries the organization with whatever info they want and the organization responds with a statement.

"evidence" is beyond the scope of the interaction unless there is some reason to question the integrity of the spokesperson.

comment 9y ago · link · parent

> People are often praised for building a shiny thing or stopping a fire. Rarely for preventing a fire, or a security issue, or doing the hard work it takes to keep an old system running. A lot can depend on being in the right team at the right time.

Seems like most organizations I've worked at.

That and organizational volunteer work get you awards.

comment 9y ago · link · parent

FWIW anonymous but somehow legitimate sources are often official spokespeople.

The reason they won't let reporters attribute statements to them is because while what they are saying is true it's not the official stance of the organization and/or the guidance documents they work off havn't been updated to include those statements.

comment 9y ago · link · parent

To an ant there's no distinction.

They don't think in terms of "this is stinky/dead", more like "this smells like oleic acid so it goes over there."

FWIW this was tested by putting oleic acid on bits of paper: https://pdfs.semanticscholar.org/6400/112aff930da566312315ef...

They would sometimes carry it to the burial site and other times they would carry it back and treat it as a food item. The "decision" is said to be based on the current "social context" (read: goals of the ant or colony).

Also a note on that poor ant they coated with the stuff; she cleaned herself off and was back to work after an hour or two.

comment 9y ago · link · parent

I wouldn't say they don't have the time or resources. At any given point there are a fair number of ants that are effectively waiting in reserve for something that requires their attention.

Don't get me wrong, it's quite impressive.

Still, considering how fastidious ants are about cleaning in and around their nests* it's quite feasible one or more colonies might take to disposing of seeds in a way that lets the seeds grow and/or pick up on the habit of dumping waste products on the seedlings which the plants then use as fertilizer.

One thing that shouldn't be ignored is that it could work the other way as well. Maybe a seed was made one day that carried chemicals which caused the ants to plant it and/or poop on it.

There's evidence of this sort of thing with moths whose young emit chemicals causing the ants to carry them back to the nest and feed them until they reach adulthood and fly off.

And there's the infamous "zombie ant" fungus.

Again, the ants probably don't "know" or "care" in any intellectual sense whether it will work, it's simply an idiosyncrasy they picked up. I imagine there are plenty of strange activities ants are evolving to pick up right now that will or wont work to make them more fit to survive.

* The next time you see an ant hill note how well maintained and free of surrounding debris it is.

comment 9y ago · link · parent

Your patronizing tone aside I see what you mean. Yes, that would be "time travel". Again, it just seems like you're being antagonistic here and now putting words in my mouth in a vain attempt to prove your own superiority.

The only claim I was making was to clarify what OP meant about time not being a phenomena like gravity and to passively ask if there was any evidence of time as a physical (rather than purely conceptual) force.

Sorry if my amateur curiosity offended your professional (?) understanding of such things.

comment 9y ago · link · parent

I don't know if understanding is the right word to use.

Over time the ants have acquired a series of triggers and actions that have (apparently) made them more fit to survive.

They don't necessarily understand that for example that planting and fertilizing seeds will yield a safe place to live, they are just driven to take those actions when they encounter whatever trigger those seeds activate in them.

For example when an ant dies it puts off oleic acid and when others pick up on this scent they cart if off to a "burial" site.

However the ants don't understand death. If you coat a live ant with oleic acid the ants will carry it off even as it resists and tries to clean itself and dump it in the dead pile.

Collective intelligence is a strange concept to work with because the ant isn't really the animal, the animal is the colony.

Even still I don't know that the colony "understands" what is happening, it just feels a collective drive to take the actions.

comment 9y ago · link · parent

Unlike distance, time is unidirectional. Yes, if you could roll back all matter, energy and every other force in the universe you could "go back in time" but the point is that time is a concept and not a force of nature.

It seems like you're being obtuse about the distinction.

comment 9y ago · link · parent

I think what he means is that time exists in the way that distance or speed exists. It's not a physical force like gravity or magnetism that acts upon the universe, it's just a method for us to understand and quantify what happens around us.

Traveling back in time subsequently doesn't make sense because the "past" is simply what we call previous configurations of matter.

You can't go back to those configurations (read: "go back in time") because they don't exist anymore.

Now, I'm not a physicist so I have no idea if he's correct, but semantically it makes sense and it's something I've wondered about for a while.

comment 10y ago · link · parent

I'm not sure it's a thing to be advanced past. Using a language to implement a given pure function is inherent to deploying it.

You could develop one universal way to create and deploy functions to different languages, but now you've introduced one more language to get people to use.

And in practical terms, migrating this sort of thing from one language to another when necessary is generally a good enough solution.

comment 10y ago · link · parent

The complaint about gamification on that page is:

> gamified contexts such as foursquare might provide expected rewards for activities that do not adequately meet self-determination theory’s three innate needs for intrinsic motivation—relatedness, autonomy, and competence—and therefore reduce intrinsic interest in those activities.

The article kind of addresses this, discussing how you get someone interested with a long term narrative or goal rather than numbers. This would mitigate issues with autonomy and competence that are created in a numbers only environment.

comment 10y ago · link · parent

It's not a huge issue, but that you have to use some third party library for styling in a view framework just seems inadequate.

Other comparable libraries include styling into their philosophy, but React is irritatingly unopinionated about it.

comment 10y ago · link · parent

Millennials are often treated as a foreign entity, some entitled byproduct of the information age, but in reality you're talking about two decades of people whose views are going to vary as wildly as generations that came before them.

At the end of the day good organizational culture is good organizational culture, regardless of the year someone was born.

comment 10y ago · link · parent

I'm a big fan of React, but I agree styling is a mess.

CSS in JS has many limitations and virtually every alternative adds either another library or some other convention/configuration overhead.

Other frameworks struggle with this as well but it feels like React really shrugs off styling as the community's problem and subsequently there's a hodgepodge of solutions that work in this or that scenario but no gold standard.

comment 10y ago · link · parent

Ah, that makes more sense. I saw the 1667/3000 numbers and was very put off by them.

comment 10y ago · link · parent

IIRC isn't the number needed to treat on aspirin pretty high, like in the thousands?

I'm not sure how that compares with other treatments or the average but offhand it seems pretty high to the point of asking whether it's worth it.

1
7891011