HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jnbiche

no profile record

comments

jnbiche
·7 yıl önce·discuss
You provided your opinion. That's it.

So OK, I'll do the same: I disagree that morality is subjective.

Edit: so if I disagree that the world is round, that shows that it's flat?
jnbiche
·7 yıl önce·discuss
> Moral is subjective after all

This statement is not as self-evident as you seem to believe. Philosophers and ethicists have been debating it for millennia.
jnbiche
·7 yıl önce·discuss
> Sure. Slavery was moral, or if I disagree with it,

I think you mean that slavery was legal. Most people would hold that it was never moral. Some people hold these same beliefs now about some of our current behaviors toward other animals: they're legal but not moral.
jnbiche
·7 yıl önce·discuss
It sounds like you're proposing something akin to cultural relativism. The foundations of American democracy are definitively not in cultural relativism, but in cultural absolutism:

"All mean are created equal, etc etc".

Now, we've often failed to live up to those words in the past, but it's an (ideally) constantly-improving process. Regardless, it's much, much more desirable than some anarchical cultural relativism where everyone does what they damn well please.
jnbiche
·7 yıl önce·discuss
Arguably, it's going to take the popularity of Github to make this a thing. Others have tried and failed (more or less) to establish an independent, first-class product to fund software developers. Some devs are getting some play on Patreon, but Patreon is more oriented toward areas other than FOSS.

Assuming this succeeds, it will be a function of the network effect. Github has a large enough base of users to sustain this kind of project.
jnbiche
·8 yıl önce·discuss
> They get wiped, X-rayed, disassembled and checked, including any accessory (chargers, mice, etc.).

Given how sophisticated these attacks can be, I'd think they'd issue disposable equipment to be destroyed on return, like a cheap netbook or something. I don't see how you could trust an individual viewing a simple X-ray scan to detect some extra microchip the size of a signal conditioning coupler.
jnbiche
·12 yıl önce·discuss
>As a Rust newbie, I only wish there were better examples of testing in public Rust repos.

Testing is incredibly easy. The reason you may have missed the testing is that tests are often in the same file as tested code. Go back and check, it's very common in Rust to test your code. And it's as simple as writing:

  #[test]
on the line before your unit test function, and then using some of the unit test macros in std like `assert` and `assert_eq` along with `fail` to perform the tests[1].

Then you test your code by running the normal rustc command but with the `--test` flag. A test runner with very attractive output is built into the compiler.

Rust unit testing is just about the easiest testing I've ever used, right up there with golang. I love that it's built into the language.

Also, the `cargo` package manager makes everything -- including unit testing -- incredibly convenient. And I say this as someone who cringes every time a language comes out with yet another package manager or build tool (ahem, .js). But in the case of rust's cargo, it's incredibly worth it to use a new package manager, and so much better than a Makefile (although it's quite easy to integrate makesfiles with cargo).

1. http://doc.rust-lang.org/std/index.html