HNHacker News
TopNewBestAskShowJobs

CryoLogic

1,910 karma · joined December 24, 2015

I'm a software engineer and application penetration tester. I like to read books in my free time.
submissionscomments
CryoLogic··on V8 adds support for top-level await
Immediately invoked function expression - aka an anonymous function that executes as it is interpreted.

    (function() { console.log('test'); })();
In old versions of JavaScript, variables had to be scoped to the nearest function (rather than the nearest block) so IIFE where often used for namespacing:

    var $ = (function() { this.version = '1.2.3'; })();
    $.version; // 1.2.3
This worked because the function would be immediately invoked upon interpretation, scoping it's contents to itself (aliased by the variable name).
CryoLogic··on Is Stack Overflow allowing ads to use fingerprinting to track users?
The highest conversion rate I've ever had on ads was when you could buy out a specific subreddit.

Now Reddit just sells generic key-word targeted ad-space and it's really not worth it anymore as you are selling your soul to an algorithm that doesn't know your audience.

CryoLogic··on Ask HN: What are some of your recent successes?
I launched https://www.anim8.io earlier this year.

It's an alternative to YouTube/Patreon for animators. It has better monetization options for them, and will have easier sorting/filtering of animations + I am working on some tools like in-browser frame editor.

No advertising, all word of mouth and about 40k people are using it each month which is cool. Our Discord should hit 1,000 animators and fans soon too!

CryoLogic··on When the A.I. Professor Leaves, Students Suffer, Study Says
I actually think a lot of Universities in America are hiring bottom-of-the-barrel programers for their tenured positions as a result of the income difference from University to Industry.

I went to a top-10 CS school as well, and saw it happen several times. Professor that is actually really talented, educated and capable of articulating advanced CS concepts ends up leaving to be a sr. engineer at G, FB, MS, etc. due to differences in pay.

We lost our best math prof, and our best CS prof in my 4 years because of this. They both got replaced with imports from other countries that couldn't teach as well due to language barrier but probably where happily willing to accept the visa sponsorship and shot at USA life (which I understand).

CryoLogic··on Ask HN: Why do we allow Google's abuse?
For one, HackerNews is a tech discussion board - so many of the contributors are probably more intimately familiar with issues in the technology world than in the civil rights world especially in countries outside of 1st world software/tech producing countries.

I don't see anything wrong with going after Google, as they have time and time again lied to customers and taken advantage of customers with help from our legal system.

Both are bad, but one is easier for technophiles to discuss and brainstorm than the other I would guess.

CryoLogic··on Apple has copied some of the most popular apps in the App Store
I do remember that but I do not remember the exact name of the app. I believe he posted screenshots of the emails between himself and Google as well.
CryoLogic··on Homebrew removes MongoDB from core formulas
This was my understanding of the license as well. I read through the block and it very clearly suggested only selling the database as a service was not okay. Using the database as a data store should be fine.

If MongoDB really is sending salespeople to make claims against companies who they convinced to use their OSS database as a data-store, than they are indeed abusing their license and no one should use their database or support their company.

From what I read of the license, that shouldn't be the case though.

CryoLogic··on Why has examine.com disappeared from search results?
If we are banning sketchy medicine sites could we ban healthline and webmd?

Those websites use scare tactics to push users through 10+ page "top 10 illnesses based on your symptoms" list which are often not even researched to the point of any accuracy and only written to drive ad revenue.

CryoLogic··on YouTube faces creator backlash
There is https://www.anim8.io for animators and fans of animation. The community is much kinder and more constructive than YouTube and rapidly growing.
CryoLogic··on Judge Gives E-Cigarette Makers 10 Months to Seek FDA Review
From what I have read any type of smoke you put in your lungs is carcinogenic, Marijuana included. https://www.ncbi.nlm.nih.gov/pubmed/23846283?dopt=Abstract
CryoLogic··on SAT to Add ‘Adversity Score’ That Rates Students’ Hardships
Soon we will have SAT advisers suggesting how to game the "adversity score" as well.

- Get a summer job "because your family needed money"

- Move out of your parents house for a summer "bad living conditions"

- Adopt some non-binary gender temporarily "bullied for identifying as x"

- CEO dad drops salary to $20k for a year and instead gets stock vesting equivalent "poor family"

etc. etc.

CryoLogic··on Trump declares emergency over IT threats
Does this include russian vote hacking?
CryoLogic··on Magic: The Gathering is Turing Complete
Do keep in mind that 60 cards is just one Magic format, one of the most popular official formats is Commander which is 100 card singleton.

Beyond that, those are not cards in the sense of poker cards with stats and an effect. Many of these have unique effects specific to that card.

There are also 100+ categorical effects. Creature types, color types.

Plus Magic is played on both players turns unlike other card games. Divide both turns into phases with pros and cons of casting.

It's more complex than it sounds when you just call it a "card game" - it is much more deep than most any other card game and does not truly feel like a card game except the fact that you play with cards.

The game has infinite loops, race conditions, etc which come in many unpredictable shapes.

CryoLogic··on Magic: The Gathering is Turing Complete
I actually believe it may be the hardest card game to compute.

Magic has been around since 1993, and releases new cards every year. There are currently > 15,000 unique cards in the game.

When playing, you don't know what the next card drawn will be. You also don't know what is in your opponents hand.

In poker for example, there is a very small pool of possible top decks and hands.

Search trees in Magic (especially "eternal" formats that allow you to pick cards from any expansion) would be too massive to compute.

These cards are not vanilla either (not just statpools) - they contain over 100 categorical effects and many of them have unique effects.

I'd guess at least 1000 have unique effects and interactions.

Add on to that the fact that magic is both a pro-active and re-active card game. In most card games (aka hearthstone for example) you cast cards on your turn. In Magic you can cast many cards "in response" e.g. counterspells. You can also just play some cards on opponents turn.

Beyond this the game is split into a number of phases and card timing by phase is very important. Sometimes you want to cast on end step vs combat - the same spell does the same thing but might be much lower risk depending on the phase.

CryoLogic··on American millennials think they will be rich
This article is about Americans, not Californians or even more specifically Bay Area tech employees.
CryoLogic··on American millennials think they will be rich
You mean the median of 100k? https://www.bls.gov/ooh/computer-and-information-technology/...

Where do you get 300k from?

CryoLogic··on American millennials think they will be rich
The article is about millionaires not billionaires, in which case the odds are actually around 3.5% (12m out of 327m pop) of US population.
CryoLogic··on Where do our sexual preferences come from and how flexible are they?
Oh definitely. It's not very practical to invent a new name every time someone comes up with a new term. And all encompassing + is so vague it is almost irrelevant to add.
CryoLogic··on Where do our sexual preferences come from and how flexible are they?
I don't think there is anything wrong with advocating for rights and fair treatment which was the original goal of the movement.

Much like in religion or politics the ones causing issues are the extremists in the LGBTQ community.

The ones who ignore well researched biological fact in order to push their agendas, the ones that censor alternative viewpoints without a counterargument, and the ones who go to extreme measures to get attention via their preferences or to attempt to get privileges above equal level to those with more common preferences.

The ones that need to be stopped are the extremist ones who are using it as a guise to push their own agendas, not those who just want equality and fair treatment.

CryoLogic··on Working for a startup makes less sense, unless you are into the mission
The comp packages at big tech companies are becoming insane.

In Seattle it's not unreasonable for a senior software engineer with some good connections to be making 200-250k.

With that comes life insurance, health insurance for your whole family, disability insurance, etc.

That's more in cash AND benefits than a doctor.

CryoLogic··on A first-person engine in 265 lines (2014)
Does this actually count as 3D?

I thought 2.5D was the term used for 2D assets used in a way to appear 3D.

Pardon my lack of familiarity with game engines if I miss-understood this.

CryoLogic··on Lyft’s IPO disclosure shows it’s not close to profitability
AWS is extraordinarily expensive when it comes to bandwidth pricing. The same could be applied to a car - it depends on your use case. Do you haul goods? Go in the mountains? Live out of a major city with poorly mapped roads?
CryoLogic··on Google Moves to Address Wage Equity, and Finds It’s Underpaying Many Men
It's not being down-voted because it's not a valid discussion point, but instead probably just because HN has a very liberal audience.

Even the most educated are still capable of bias, and many here do not like the opinion that it is possible that women differ from men in any significant ways.

Don't take the down-votes too personally. As long as you are posting constructive feedback with some evidence to your hypothesizes they will be appreciated by many even if the vote count doesn't make it appear to be so.

CryoLogic··on Showing the world how real soy sauce is supposed to taste
Most wasabi sold in the U.S. is green-dyed horseradish.
CryoLogic··on Muscle memory discovery ends 'use it or lose it' dogma
Depends on the drug. Testosterone is very well studied and has been for decades.
CryoLogic··on Microsoft: 70 percent of all security bugs are memory safety issues
It's also OSS and it is much easier to surface security bugs for Linux than for Windows.

In my own research, I have attempted to send Microsoft security bugs only to be told they would be backlogged and reviewed later (which never happened to my knowledge).

CryoLogic··on Why are we templating YAML?
Is there anything wrong with just using Date.now() to get a UNIX timestamp to store and then converting it for presentation on the client?
CryoLogic··on Why are we templating YAML?
I think they are missing the real selling point of JSON. It's basically interoperable with JavaScript objects.

That means you write it, send it, store it, operate on it, etc. with little or no modification.

The author says "converting between the two is trivial" which may be true, but the developer overhead is less trivial. And it will always be JSON in the client - JS doesn't support YAML objects.

CryoLogic··on Reddit is raising a huge round near a $3B valuation
This works with most user script plugins like GreaseMonkey, ViolentMonkey or TamperMonkey:

  // ==UserScript==
  // @name BackToOldReddit
  // @namespace Reddit
  // @match *://www.reddit.com/*
  // @grant none
  // @run-at document-start
  // ==/UserScript==
  const currentURL = window.document.location.toString();
  
  if(currentURL.includes('//www')) {
    const newURL = currentURL.replace('//www','//old');
    window.document.location.replace(newURL);
  }
CryoLogic··on Empirical Evidence on Impact of CA SB826: Gender Quotas for Boards of Directors
I mean it makes perfect sense right, I thought this was basic economics.

Market dictates to maximize shareholder value you need optimal board members x,y,z. A law like this makes you replace z with e.

It's not that a woman can't do the job, but instead that the supply of women capable is much lower. As a result, with a shortage and a mandate for women board members some companies will get sub-optimal picks which result in sub-optimal results.

← PreviousPage 2 of 12Next →