HN user

tsbertalan

53 karma
Posts0
Comments37
View on HN
No posts found.

Well, they did a Big Damn Rewrite to use it for Wallet/Pay, and, in the process, dropped a bunch of features and made it infuriatingly tied to a phone number, because the rewrite was really for the Indian market.

After a few more leading attempts, I managed to give this prompt at https://beta.openai.com/playground:

     What problem does the following pseudocode have?

     def some_worker
             if disabled_via_feature_flag
                  logger.info("skipping some_worker")
             some_potentially_hazardous_method_call()
And receive this response:
     The problem with this pseudocode is that there is no "end" keyword to close off the "if" statement. This means that the code after " some_potentially_hazardous_method_call()" will always be executed, even if the "disabled_via_feature_flag" condition is true.
And that's with a GPT3 without any special fine tuning. Of course, the name `some_potentially_hazardous_method_call` is pretty leading in itself. I rewrote the prompt slightly more realistically, as:
     What problem does the following code have?

     def optionally_do_work():
             if disabling_flag:
                  logger.info("skipping the work due to flag")
             do_work()
and received:
     The problem is that the code will still try to do the work, even if the flag is set.
This does seem like a pretty trivial easier-than-fizzbuzz question to be asking, though, since it's so encapsulated.

For example, the scourge of "people also ask" at the top of search results, that appears synchronously where the top result was a second ago, and has a randomly-generated container ID to prevent easy blocking. Not an ad, but, equivalently, content that I didn't ask for but that Google, for some reason, clearly really wants me to click on.

Another reason scientists often don't release code is that code is not considered the valuable artifact produced by research--in more methods-focused fields in particular, it's instead the mathematical model, as embodied in some latex in the published paper. "Reproducing" the results then doesn't consist of trivially rerunning the same code, but in reimplementing it, possibly in a different language. This could maybe be seen as valuable in that the reproduction will surface both implementation errors and logic/modeling errors (though, really, having the source facilitates both).

In fact, more applications-focused researchers (those who combine real data with established models, for instance) tend to write higher-level scripts stringing more-engineered tools. In this case, open sourcing the scripts would be both easier and more pointless, since they will be almost the same as what is stated in English, tables, and plots in the paper. Epidemiology is usually this way, in my experience, though the linked repository seems to have some of both flavors.

The underlying misunderstand in that issue thread seems to me to be a disagreement on what the main valuable byproducts of scientific programming are. Professionally programmers will naturally think it's the code, but, traditionally, the code has been seen in academia as only a temporary vehicle for the model and it's parameters, which is the real product. (Also, the "program" might really need to include the lab, its papers, and its institutional knowledge, which is harder to package and open-source.)

Right or wrong, the assumption is that any competent grad student could reproduce the result in a week or so of (admittedly unnecessary) greenfield coding. But this is clearly not ideal, and newer work does strive for more professionalism in coding, open-source-by-default, and therefore faster replication. The project in question clearly predates this trend.

(Of course, a third reason academics don't open source is that some secrecy is required before publication in competitive fields. On a months-long project, you might not want to be committing publicly before publication. But this isn't much of an excuse.)

Using the OS to invert the whole screen can easily be put within easy reach by keystroke or notification-area-button on Android, iOS, Windows, Mac, and Ubuntu. It doesn't require installing any new software (it's usually somewhere in "accessibility"), and, most importantly, it's consistent. When you have a "dark mode" for one site or app, it fights with the surrounding browser chrome bring light, and switching to other apps is jarring. And when you try to enable a dark UI theme in the OS, inevitably there will be elements that missed the restyling, and so retain black-on-white, or even worse, are now black-on-black.

I get that a "dark mode", done properly, requires more than just inverting colors, but this consistency is really nice.

Tesla Cybertruck 7 years ago

Born in late eighties in California. My parents named our first dog after Gorbachev. I think that relief was felt from this side as well.

No it doesn't. The sync could be device-to-device, or it could be encrypted in it's storage on the intervening server, and require that the user provide secrets on the new device.

I think that intelligence is much more environmentally driven rather than genetic, though I don't have any proper references for that. I would argue that, in a properly functioning society, intellectualism, assuming it's strongly tied to wealth, wouldn't really be heritable beyond one generation.

Combating anti-intellectualism as a trend is probably more complicated than just trying to get the existing educated to have more children then the existing uneducated.

Uber S-1 7 years ago

This argument always seems a little strange to me. I think I can count on one hand the number of times, in 14 years, I've ever made eye contact with another driver while driving, or used some kind of hand signals. And in all of those cases, if the signaling had failed, the situation would have resolved itself just fine in less than a minute anyway. Most of the time, I can't even see the other drivers through reflections on their windshields. Sure, sometimes I'll stick an arm out the window to wave my thanks when somebody lets me merge, but that's not a critical communication.

Books I Recommend 7 years ago

It would be nice if the Android sign up/log in forms allowed password paste, for use with a password manager.

An event can still be situationally, or cosmically ironic even if it's not in fiction. if you really want it to be a property of communication, then think of the communication as being between the universe, or God and the subject.

More importantly, English is defined by common usage, and the usage of irony in describing an unexpected combination of real events has been common for hundreds of years. I believe this probably comes from people's common belief in fate, or that their lives are part of some broader story. Under this mindset, it makes perfect sense to use terms from literature to describe phenomena of life. And your insistence that irony is a property of communication is satisfied.

Words have multiple senses, and the ones from common usage are just as valid as the ones from academic usage, though they may be harder to pin down.

One of the samples claimed to be an agent acting on the behalf of a client. Google says they're still deciding on the best format for these calls--here's hoping they take the criticism of people like you into account, and go with something like that example.

Of course, I don't really see why there needs to be an attempt to pass as human at all. It would be fine with me if they just reinvented the phone tree with a better ux. Especially since it's billed as a business-facing call.

If GDPR analogously has a chilling effect, reducing the proliferation of "social" products, I'd consider that a positive outcome. I don't really buy that any of these are "making the world a better place" as Zuck loves to say, though you might have a better case with the health products.

Even if we grant that evasion of some $20 filing fee on the will (the attny fees are probably tax deductible [1]) or 75 cent [2] tax on the flu shot is of the same magnitude of offense as the skipped speeding ticket, note that the free shot or will isn't being given deliberately to avoid taxes. It's done to avoid paying the doctor or lawyer's fee. So, the exchange is considered as being between friends with no real governmental third party--a gift.

OTOH, the intent of the PBA card is aligned with the putative ethical wrong: you show the card deliberately to avoid paying a fine to the govt and to avoid the deterrent effect of the punishment.

[1] http://info.legalzoom.com/legal-fees-preparing-tax-deductibl...

[2] http://www.weeklystandard.com/house-to-consider-tax-on-new-f...

it carries a sentence of at least 6 months up to five years and even trying to hide something is punishable. This can also break the career of an officer.

This is the part that's unimaginable in the US.