HNHacker News
TopNewBestAskShowJobs

adatavizguy

177 karma · joined May 29, 2019

submissionscomments
adatavizguy··on Hacking Grindr Accounts with Copy and Paste
In places they are using Grindr and other apps to target and arrest people. [0] Worse than what the phrase 'wrecks lives' connotes.

[0] https://www.independent.co.uk/news/world/middle-east/egypt-l...

adatavizguy··on When we lose weight, where does it go?
How did the farmer get his donkey out of the deep ditch? He filled it in with dirt. This is just Aesop's fable. But it falls into the same abstract thinking as where does fat go, C55H104O6+78O2 --> 55CO2+52H2O+energy[0], or what happens to a tree when it burns, CH4+4O2→CO2+H2O (plus heat!)[0]. We have a hard time seeing air (sic) as something tangible. Also, this inability to visualize abstract concepts leads to political points of view such as whether or not aerosol of breath contains disease or invisible gases causes global warming.

[0] Grabbed from first search results.

adatavizguy··on When we lose weight, where does it go?
Likewise, where does that tree in your backyard come from? It is the product of carbon dioxide and water.

edit: The significance of this thought is when a child is asked where a tree or plant comes from, at least in the US, they inevitably answer the ground when the answer should be rain that falls from the sky and air. With the naive notion a tree comes from the ground we miss the obvious which is the ground doesn't sink when a tree grows from it.

adatavizguy··on Memristor Breakthrough: First Single Device to Act Like a Neuron
Off topic. When something is on the tip of my tongue, I don't search for it because I have a strange belief that what my mind is trying to do to remember it is fire off neurons associated with the thought or idea, near it, to create the action potential. It is strange that I will eventually remember it within hours or the next day. When the action potential fires the neuron, dendrites are formed between neurons strengthening the memory.

I wonder if there is any truth to that notion? That to solidify a memory, there can't be outside help, that electric chemical signal has to trigger firing the neurons associated with the memory to strengthen their connections.

adatavizguy··on The “menu engineers” who optimize restaurant revenue
I wonder if the Cheesecake Factory and Applebees use A/B testing with their menus the same way Netflix uses A/B testing? There is probably a huge demand for data driven decision making for restaurants rather than these spares studies mentioned in the article which most likely are anecdotal. Simply have four different menus with the same items and look at the analytics provided by point of sale system. That is a fun start - up idea.

Most of your favorite restaurants in places like San Francisco, Portland, and New York City engineer their menu by removing least popular menu items once a month or once a season and replace them with what they think their customers currently demand at a price to insure that the restaurant is running at the point of highest efficiency. There are other considerations such a cost of product but most restaurants increase overall demand by using analytics from the point of sale system and the most profitable dishes are not always the most popular. Engineering a kitchen -- and dining room for that matter -- to be efficient without cooks tripping over each other is another whole discussion nonetheless even this ties into what can be added to the menu.

The two biggest mistakes an independent restaurant can make is hard coding a menu and putting the word in Bistro or Basserie in the restaurant name -- the restaurant can't evolve after that. Have any of you been to La Folie on Polk and Green in Russian Hill? That restaurant first opened as a casual French Bistro but the demand was for their caviar by the ounce and Tournedos Rossini which oddly enough was not only their most popular menu item but also not on the menu. So in the mid nineties the average customer was spending $150 - $300 instead of $40 per person.

adatavizguy··on Levandowski sentenced to 18 months in prison as new lawsuit against Uber filed
It is interesting that recipes are not art but rather fact. The same with fashion. I think that SpaceX has trade secrets rather than patents because there is nothing stopping China using the information in a patent whereas a trade secret is obfuscated.
adatavizguy··on Choosing words to clearly describe data
I read the title and thought this article might have more to do with my spending 10 minutes finding the perfect variable name.
adatavizguy··on API with NestJS #3. Authenticating users with bcrypt, Passport, JWT, and cookies
Elixir is synonymous with Phoenix. If that is the only reason to choose using Phoenix over NestJS, the later is clearly the better choice.
adatavizguy··on API with NestJS #3. Authenticating users with bcrypt, Passport, JWT, and cookies
> I admittedly struggle with is knowing when to create a new Nest Module versus a new service in an already existing module

I use the same logic as where to put a font end component. If I'm creating a component for the first time, it sits in the same folder as the parent component. If I need to use it with another component, I refactor it into a common folder. If I create a string transformation function, it exists in the same file that is using it. If I need to use it somewhere else, it gets refactored into utils/strings.js which is a starting place for creating a library.

It solves the problem of 'where does this go?' and 'where did I put it?' 95% of code that I need to find will be physically next to the code that uses it in a file system. If not it will be neatly organized into a common use directory.

For the few times I need to refactor functionality, at that point, I will invest time to make a clear and adaptable API input and output contract.

adatavizguy··on Software will eat software in a remote-first world
This is like saying building an abstraction of assembly language like C will put all the software developers out of a job. Rather it creates more opportunities.
adatavizguy··on Can AI Become Conscious?
I wonder what Bertrand Russell would say about that?
adatavizguy··on New Abbott SARS-CoV-2 antibody test has 99.90% specificity and 100% sensitivity
Would there have been a path of honesty at Theranos such that they would thrive in the age of covid-19?
adatavizguy··on Ask HN: Do you ever go back and admire a piece of code you wrote?
It's been years since I've asked a question on Stack Exchange. There comes a point when any place I get caught up nobody can help me. So there are several questions I've answered myself. Of course, working in the same space six months later, I'll have a problem, search for it, and land on the question on Stack Exchange that I've answered months earlier. It's happened a few times.
adatavizguy··on Apple, Google ban location tracking in apps using their contact-tracing system
We are culturally obsessed with "Luke, trust your feelings." There is something extremely wrong and dangerous with Star Wars and that idea to put away reason and just trust our feelings. Joseph Campbell what did you do?
adatavizguy··on Vitamin D Insufficiency is Prevalent in Severe Covid-19
Linus Pauling really messed this one up. He went for the C but really wanted the D.
adatavizguy··on YouTube bans coronavirus-related content that directly contradicts WHO advice
I hate to be the one to have to explain this to you. A private entity is deciding what content is and is not allowed to be hosted on their private servers using their private services. This is very different from government officials that you vote for censoring free speech.

Anyone who doesn't like YouTube's policies are welcome to post their content on Facebook to share with their friends, on Twitter, stream it live on Twitch, or, host it themselves on their own servers.

adatavizguy··on Show HN: Built an extension to put an end to paywalls and popups
What are the best resources to learn how to structure a Chrome Extension? I find the API very difficult to grok.
adatavizguy··on Italian hospital saves Covid-19 patients by 3D printing valves
Makes you shrug when the US military is dependent on India and China for a huge portion of the medicine it uses including antibiotics and other supplies like this.
adatavizguy··on Quarantine will normalize WFH and recession will denormalize full-time jobs
There are lots of recommendations for protection against coronavirus which are the same as the recommendations for protection against normal flu. If people are implementing them which is very likely, there should be a decrease in normal flu cases. We should be able to quantify how effective they, washing hands frequently, are.
adatavizguy··on The neuroinvasive potential of SARS-CoV2
All the people who were made fun of in middle school for being a 'mouth breather' will have the last laugh.
adatavizguy··on OpenChakra is an open-source visual editor for React
Looks like they use Rematch.[0]

[0] https://rematch.github.io/rematch/#/

adatavizguy··on Saving Florida’s Oranges Starts with Soil
Same, but different, for New Orleans which already below sea level is sinking a few inches a year. [0] Saving New Orleans and the surrounding coastal areas starts with the soil too. For example, one non profit is paying people to remove cement to create better drainage for healthier soil underneath. [1]

[0] https://www.cnn.com/2019/07/10/us/new-orleans-sinking-into-s... [1] https://www.urbanconservancy.org/project/fyi/

adatavizguy··on Air-Traffic Control Is in the Midst of a Major Change from Radar to GPS
We still maintain Loran C[0]. Interesting to note receivers have been developed to grab the radio signal from all available stations, up to 40, and triangulate location with eLoran. It's a nice to have as backup to GPS however I'm not sure if it is effective against jamming or spoofing. So, the navy still teaches celestial navigation to officers. [1]

EDIT: Apparently Loran C was discontinued in 2010.

[0]https://en.wikipedia.org/wiki/Loran-C [1] https://www.stripes.com/news/break-out-the-sextant-navy-teac...

adatavizguy··on Ask HN: A New Decade. Any Predictions?
In the next 10 years, there will be a major change in education which will resemble Alfred North Whitehead's the Rhythm of Education.[0] This will not happen independent of John Dewey's philosophy of pragmatism, learning by doing, participation, connecting personally to ideas, and democracy in the classroom, but will also have a focus on discipline and precision. Whitehead's three stages involve a period of romance, becoming acquainted to a subject and knowledge, precision, systematically learning the facts connected with the subject introduced in the romance period, and, lastly, generalization, where facts are used to create new theory and independent thought by the student beyond what is known. Whitehead explains that this isn't a linear process, like our current approach to education, but rather cyclic.

Using less summative assessment, like standardized tests based on grade level, to compare students and set the rate of learning based on the mean of a group of children, instead, diagnostic and formative assessment using technology, like what we have seen with the Khan Academy, will be widely used to assist in the difficult often boring stage of precision giving teachers more time to introduce students new subjects and lead them to use their knowledge to make generalizations.

My prediction is the end of standardized tests at the grade level by 2030. Homework will not be necessary anymore as this will work will be efficiently done during normal school hours. Lastly, although it is important that we consider learning disabilities a real thing, it might be more fair and pragmatic to call it a teaching disability taking the responsibility from the child to learn putting it onto the adult. (Ok, this is personal, my goal for the next ten years is to eliminate homework.)

[0] https://mast.queensu.ca/~peter/essays/whitehead.pdf

adatavizguy··on Fake “like” factories – how we reverse engineered facebooks user IDs [video]
If you use the ad manager, try setting the demographic to people interested in a specific ski magazine, not in 'skiing' as a hobby. Notice how the number of potential audience reach is equal to the number of people who liked 'SKI magazine'. [0] Also, if starting out, limit the geography to the most wealthy of urban centers like within a mile like Foggy Bottom in DC or the Upper East Side of NYC, if college students get all the colleges where skiing is a big interest around Amherst, MA, for example. It's about getting creative to limit the number of the audience to around 20,000 or 30,000 using the interest technique. Only show the ad once per day per user. Use A/B testing with different ads and creatives at a TOTAL of $5 a day for a few days. Take the most effective ads and run them at $10 a day. If you have a page, post stories that will gain traction and interest. Boost them using this specific audience for a $1 or $2 to see if people share them. If not, stop promoting them. If they gain traction invest $20 to help them go viral. Facebook rewards high quality content ads by making them much, much cheaper to run. How do they know? People click and interact with them. Find the ads that people interactive with the most and throw the rest out. It only costs a $1 or 2 to know if they are successful.

I keep my account disabled unless I need it to run ads. I feel dirty having reactivated. Im going to disable it again.

[0] https://i.imgur.com/VLiou9O.png

adatavizguy··on Networking Guides for Linux Sysadmins
It is nice to be able to throw up a nice interactive data viz app in a day on Reddit that can handle millions of POST requests with minimal effort.
adatavizguy··on Progressive React
As someone who has web apps in production written in backbone.js, Angular, and React, I can say selectors with Reselect to transform all the data being passed into props, Sagas to manage all async workflows, and Ramda with Redux reducers is pure fire. There is no business logic in components or containers unless it is tied directly to the view and layout, not for the data. It is such an easy way to reason about huge amounts of data coming into the system from lots of different places. For performance, everything gets memoized based on object references. Using the immutable data structures in the store, Reselect keeps the transformed data cached with memoization until the object reference is changed in the store.
adatavizguy··on Almost everything on computers is perceptually slower than it was in 1983 (2017)
I wonder if your computer is more valuable in 1983 running the first version of Lotus 123 compared to 36 years earlier in 1947 or more valuable now compared to 1983 with everything it can do? Not sure how to quantify that but it might be similar.
adatavizguy··on HOWTO: Get tenure (2015)
This path closely resembles the reasons Stephen Hawking gave to why he succeeded when he only became serious after the ALS diagnosis.
adatavizguy··on Robots in Finance Could Wipe Out Some of Its Highest-Paying Jobs
Almost all algorithms are composition of algorithms. Probably a good way to define a singular algorithm is the point a human has to be the source of its input. A self driving car is a composition of thousands of algorithms by definition -- a process that step by step calculates with an input and output which is every single method in all its code. However, for sake of conversation in the number of complete autonomous systems consider the car to be a single algorithm defined by the point a human has to be the originating input at the interface where the key gets turned to turn it on.

I think this definition will be important in law because it is where we will define responsibility for actions of autonomous things.

Page 1 of 2Next →