HNHacker News
TopNewBestAskShowJobs

chucksmash

2,817 karma · joined December 16, 2014

submissionscomments
chucksmash··on Aggressive Chess Openings (2012)
I've not used chessable yet, but one of my favorite youtubers, John Bartholomew, is behind it and I'd recommend his videos wholeheartedly.

He did a series of videos that is particularly worth checking out called "Climbing the Ratings Ladder" where he plays opponents at different rating tiers and analyzes their mistakes[1].

[1]: https://www.youtube.com/watch?v=U2huVf1l4UE

chucksmash··on Should You Tell the World How Much Money You Make?
That's a great way to handle it, especially if the job titles are at least somewhat stratified.

Don't think it'd be that useful at a "we don't do seniority rituals, everybody is a software engineer" type place, where you just see you're in a band from $60k-$480k. If the bucket is large, distribution information would be more useful.

chucksmash··on [dead]
Contrary to the article's title, it doesn't sound like the sub was actually sunk:

> Water “rushed in as a hatch on the rear side was left open by mistake while [the Arihant] was at harbor” in February 2017, shortly after the submarine’s launch, The Hindu reports. Since then, the sub “has been undergoing repairs and clean up,” according to the paper: “Besides other repair work, many pipes had to be cut open and replaced.”

chucksmash··on Inheritance versus Composition
Kotlin has this[0].

Rust is talking about adding it as well[1].

I guess Haskell does too[2].

[0]: https://kotlinlang.org/docs/reference/delegation.html

[1]: https://github.com/rust-lang/rfcs/pull/2393

[2]: https://downloads.haskell.org/~ghc/5.04/docs/html/users_guid...

chucksmash··on Zuckerberg sued over privacy scandals, alleged insider trades
Owning stock in your employer can better align your interests with those of the shareholders to whom you answer.

If you believe that mechanism is sound, then I guess the downside would be that you have fewer incentives to maximize shareholder value.

chucksmash··on Spent 50 hours on a take-home assignment only to be ghosted
Everybody is weighing in on whether coding tests are good or bad, and whether or not they personally would do one.

Framing them as either good or bad (or would vs would not take) misses the point though. What we're discussing isn't a binary thing, it's an elasticity curve from something like (effort required / lucrativeness of job) to the willingness of the candidate to complete the assignment.

On that basis, I'd say there definitely are cases in which I would spend 50 hours on a take home assignment with even a 1% chance of success. There are also cases where I wouldn't spend five minutes on a take home assignment with a 100% chance of success.

If you're going to give take home assignments, the effort required should be in line with how amazing a job you're offering. If you're offering people $1mm/yr to work on <that thing you love>, putting a huge filter out in front is probably in your best interest. If you're trying to get someone to move to SF for $70k a year...

As a side note: if you're going to have a take home test, have the decency to make the scenario interesting and the answer illuminating.

chucksmash··on Downsized dwellings: Inside Tokyo's tiny living spaces
In NY, regulations went into effect in 1980s that required all new apartments to be >400 square feet.

You can live in a smaller space (I spent a year in a <200 sq ft studio) but as far as I know you can't build one nowadays.

I remember seeing talk about micro apartments in NY but I think they did a pilot program where they exempted a builder from the regulation rather than repealing it.

chucksmash··on Facebook 'unintentionally uploaded' 1.5M people's email contacts without consent
It was while you were responding to it. I thought I was fast enough to edit that in. Sorry for the confusion, I appreciate your response.
chucksmash··on After a $14B Upgrade, New Orleans’ Levees Are Sinking
It's just a headline, but this title makes me sigh.

For this thread, it's the title; for others today, it has been the "dose of realism" cynical first comment. It's probably just bad luck, but it feels like the first comment on every thread I've read today has been some variation of "here are the clouds to this silver lining."

In this case, it's amazing that we give enough of a damn about each other to allocate the money in the first place. How many people say caring for the less fortunate should be a matter for charities but then don't donate a dime themselves? How many in an honest moment would reply, "that's tough, move to Houston." Yet some among us cares enough to try instead of just rolling their eyes at building below sea level. I'm happy to take more trying and failing if it's in exchange for "serves them right" hindsight or abject cynicism.

Proceeding to read the article, over a decade the Army Corps of Engineers raised hundreds of miles of levees. If this were a thread about how the US can't complete big projects any more, that alone would be a ray of sunshine.

There are real problems in the world, folks. There's no denying that. But when the people with the ability and the inclination to be doers spend their time wringing their hands or giving themselves over to "the constipation of bittersweet philosophy" that's when there's really a problem.

Instead of worrying about the state of the world, spend an hour of your social media/fuck around time a day/week/month doing something for someone else. It'll do some actual good.

chucksmash··on Mozilla WebThings
> Have you ever wanted to know how many times the door was opened and closed while you were out? Are you curious about energy consumption of appliances plugged into your smart plugs? With the new logs features you can _privately_ log data from all your smart home devices and visualise that data using interactive graphs.

> Note: If booting WebThings Gateway from an SD card on a Raspberry Pi, please be aware that logging large amounts of data to the SD card may make the card wear out more quickly!

chucksmash··on Facebook 'unintentionally uploaded' 1.5M people's email contacts without consent
On its face the statement is true. LM does design missiles, and some non-zero number of them have been used to kill innocent people.

I'm curious what part of the statement is important to you in making that decision though. Is it that LM is part of the military-industrial complex, full stop? That the weapons are used by the US military? That they are sold to and used by other governments? Would LM be acceptable if they created weapons that magically never harmed the innocent? What if they occasionally harmed the innocent but were always used by people with good intentions who were doing things you supported?

Never worked in that industry, just curious.

chucksmash··on Connecticut moves to help low-paid workers hurt by noncompete rules
You're right. A requirement that non-competes come with a "garden leave" type arrangement would straighten this right out.
chucksmash··on SpaceX nails triple booster landing after satellite delivery
Seems like it'd be tricky to do from a story telling perspective.

Totally removes all agency from protagonists. Every fight becomes a deus ex machina - "welp, our targetting subroutines continue to be superior to their maneuvering systems so they died. Hooray us?"

Or I guess more probably just a numbers game: "welp, our effective weapons range is larger than theirs, so that's that" with an MCRN exemption clause.

chucksmash··on You Are Not Google (2017)
Is the guy who is slugging it out doing ops to keep something from falling over or is he adding features to the "legacy" (i.e. was already deployed before we were hired) implementation.

I'm probably being a little naive, but if feature work isn't ongoing, I'd expect that guy heroically slugging it out to make incremental progress in stabilizing the thing so that he didn't need to spend all day at a terminal babysitting a computer program.

chucksmash··on Dogs demonstrate the existence of an epileptic seizure odour in humans
The mental image of walking through, say, a security checkpoint that contains an artificially grown dog nose that sniffs you as you go by seems as good a writing prompt for dystopic fiction as you could ask for.
chucksmash··on Looking for a new CEO
This is such a good point. You see so many new questions where the way the question is posed shows a fundamental misunderstanding that prevents the poster from finding the "trivial" answer they seek.

Just look at the number of "I don't quite understand your question. Do you mean <topic x>" comments that end up assisting the person without providing an explicit answer to their original question. I think that's largely due to answerers feeling that the useful response they are providing is not fit for filing away in the library.

chucksmash··on What Winning $250k at Poker Taught Me About Money
> The better team in <sport> wins the game.

In response, I give you this snippet from "The Drunkard's Walk" by Leonard Mlodinow:

> ...if one team is good enough to warrant beating another in 55% of its games, the weaker team will nevertheless win a 7-game series about 4 times out of 10. And if the superior team could beat its opponent, on average, 2 out of 3 times they meet, the inferior team will still win a 7-game series about once every 5 match-ups. There is really no way for a sports league to change this. In the lopsided 2/3-probability case, for example, you’d have to play a series consisting of at minimum the best of 23 games to determine the winner with what is called statistical significance, meaning the weaker team would be crowned champion 5 percent or less of the time. And in the case of one team’s having only a 55-45 edge, the shortest significant “world series” would be the best of 269 games... (p. 70-71)

And that's the case of repeated games which would lower the effect of variance on the outcome. The saying "that's why they play the game" applies. You can get around it by defining the better team as the winner of the game but then "the better team wins the game" is tautological.

chucksmash··on US Army applying new areas of math
His social circle. Apologies if I missed something, but I don't understand where that comes into the equation.
chucksmash··on US Army applying new areas of math
This is such a non sequitur that I looked through the parent poster's comment history to see if he'd made some other post down thread that you were replying to. Do you mean "people who work in military research", "people who work at military contractors" or was there something else I didn't pick up on?

Edit: Am not a military researcher, military contractor, etc.

chucksmash··on AWS DeepRacer League
I think a big part of it is because as an adult with the time, inclination, some money, and programming skills you're expected to just go off and build things.

I guess the same holds true for other adult things like paint-and-sips (you drink and paint a picture) though, so maybe you've come across an untapped market for bot-and-booze.

chucksmash··on Dwarf Fortress is coming to Steam with graphics
Justifications like "where I don't care about complex commit-graphs," of which there are a few in this thread, always sound like they're trying to hide confusion about the tool by making it sound overly complex. Nobody cares about complex commit-graphs!

If you're just one person, you can work directly on master and just commit everything every time:

    git commit -am "I did some work"
Don't try to follow gitflow or githubflow or whatever it is that's made you bail on real version control. But why play the copying folders monty game in 2019?
chucksmash··on How to earn your macroeconomics and finance white belt as a software developer
You're interpreting what I'm saying (and what I believe the author is saying) as "amount you won't mind losing, so just go for it bro, you might hit it big!"

Maybe I'm reading too much into the original text, but when I said, "amount you can afford to lose," I intended an implicit "because you will lose it and then you will learn" that I think the author is also implying.

If you do a 9 week fake money stock pick'em exercise (say in a FINA class), people will follow it for exactly 9 weeks, some will lose, some will win, and everybody who doesn't win will take away "gee I should have picked better, that was obvious in retrospect" which obviously isn't the point.

With real money, I feel like you're more likely to learn the intended lesson. If it works out for nine weeks, you'll keep at it because it's actual money. You'll learn eventually.

chucksmash··on How to earn your macroeconomics and finance white belt as a software developer
I took "some of your own money" to mean "an amount you can afford to lose"

Few things teach as well as the "...and it's gone" moment when you're dealing with money you worked for. Better to learn the lesson with a couple hundred dollars in play when you're young than with a couple hundred thousand when you're forty and you think your expertise in <whatever> gives you an edge in <unrelated investing thing>.

chucksmash··on From video game to day job: How ‘SimCity’ inspired a generation of city planners
Seems like you've accidentally posted the wrong link.
chucksmash··on Ask HN: Tools or sites you use to scope out a workplace before taking a job?
When I was interviewing a few years ago, one of the interviewers I spoke with mentioned they'd used Mattermark[0] to prospect for companies they might be interested in applying to. That seemed like a novel idea given it seems to be targetted primarily towards investors.

[0]: https://mattermark.com/

chucksmash··on Implications of Rewriting a Browser Component in Rust
Right.

No downvote, but GP post conflates "how code SHOULD be written" with "how existing code was written" in my opinion. Same with one of the earlier comments about "idiomatic C++ does bounds checking." I've seen plenty of NPEs in real, working Java.

If Mozilla isn't managing to write idiomatic C++, I don't hold out much hope for myself either.

> “Just follow these simple rules and you’ll avoid all issues”, a compiler should do that for you IMO.

This was one thing I really liked about Kotlin vs Java. It's nice that my IDE can do the work of generating getters/setters on a POJO for me, but it's not nice that the language requires me to fill my source code with that noise. To a first approximation, any task rote enough the computer could do it for me, it should not ask me to do.

See also: static languages that don't offer type inference.

chucksmash··on Show HN: Chrome Extension to See IMDB Ratings Directly on Netflix
It can likely be ported nearly directly.

Firefox supports a quite faithful port of the `chrome` object the Chrome extension APIs are namespaced under. The four extensions I've written in the past (generally internal-to-co) were all seamlessly supportable in both browsers once Firefox moved away from their old extension interface. There are some differences but Firefox keeps their additions/improvements they make contained to the `browser` namespace, which seem to be spec-driven[1] so maybe those changes will end up in Chrome some day too.

TL;DR: don't let worrying about compatibility prevent you from just trying to install and run the same code in FF to see what happens.

Also, is the source code for this publicly available? I was going to just check this myself, but I don't immediately see a GitHub link in this thread or at the linked page from FF for Android.

[1]: https://browserext.github.io/browserext/

chucksmash··on Amazon Pulls Out of Planned New York City Campus
Not a landlord, but I imagine there are oodles of benefits to it from their perspective. If I can rent you an apartment for $4000.00 a month but tell you "$3666.67 (net rent w/ first month free)", then:

- Come next year, the default position is "you get a 10% rent hike by just paying the number on the lease."

- if you leave after a year, I've got price history at $4000 a month and can use that as an anchor for negotiations with the next tenant

There's nothing that says I have to start from fair market value and take a month off either. Say I call the apartment price 12/11ths of market value, but then advertise the net number and each month your great deal lets you pay only 11/11ths of FMV.

Bloomberg had something about this today[1] - something like 45% of leases in NYC have similar concessions.

[1]: https://www.bloomberg.com/news/articles/2019-02-14/manhattan...

chucksmash··on Facebook adds 5 divs, 9 spans and 30 CSS classes to every post in the timeline
+1. At a previous employer we fed images of interest from the web into Google's OCR API to see what we could see. In addition to scene descriptions, the API will transcribe any text it detects.

With all the easy to use tools available to programmers today, it would not be terribly hard to use OCR on a screenshot to find the text of interest and derive the scraping code by searching for the OCR'd text in the markup.

If none of your extant parsers can extract the info you want from the page, send it to OCR pipeline (or, hell, Mechanical Turk) and generate a new one.

chucksmash··on Spotify will now suspend or terminate accounts it finds are using ad blockers
Unfortunately their web player has issues with recognizing some paid accounts.

I have a grandfathered $5/mo no ads account. My corporate firewall settings prevent me from using the desktop Spotify client. The web player still plays ads for me when I'm signed in to my account.

When I raised this issue with Spotify support, they were friendly and professional but the answer boiled down to "use the desktop client, the frontend sees your legacy paid account as a free one and we're not going to update our code to handle it."

I use an adblocker on Spotify to get the ads-free experience I pay the company for.

← PreviousPage 17 of 27Next →