Better HN
topnewbestaskshowjobs
Log inSign up

Programmatic

393 karma · joined May 15, 2015 (11y ago) · 167 submissions

<username>@fastmail.us
Submissions

comment 10y ago · link · parent

>> This means that the women who do stay in are from the upper end of the distribution.

> Another explanation is there are fewer women interested in IT in the first place and companies are scrambling to compete for women because it makes them look better.

Those aren't even mutually exclusive explanations. It seems likely that both are true as the people that go into it despite the lack of interest from the rest of their cadre will be better candidates vs. borderline candidates.

comment 10y ago · link · parent

Let me preface this by first saying that I absolutely can't wait to have my own personal home automation, AI assistant, etc. on prem without the cloud:

I think that as far as the nascence of these features goes, the cloud model will beat the on-prem features any day of the week for several reasons. Lack of configuration to set up, ease of use from anywhere without network configuration, etc. are table stakes. But the biggest at this point is the sheer amount of training and A/B testing data you can ingest to determine what is useful for your end users.

The velocity of cloud-based products is nothing short of amazing and I doubt that on-prem will compete with the feature set and ease of use of always connected solutions until there are feature-complete, mature cloud versions to then bring in.

comment 10y ago · link · parent

Or be forced a la Lavabit to install a pen register which would capture the metadata from that point forward.

comment 10y ago · link · parent

I don't think a warrant for specific information changes that calculus; collecting additional information outside the scope of the warrant would be illegal regardless.

comment 10y ago · link · parent

I think that a warrant that allows the exposure of your IP address through intrusive software that exploits a security weakness is valid, assuming that you receive the software after visiting a site and performing a criminal action. It's suitably narrow, and allows further (appropriate) searching.

The alternative (that I can't say that I mind too much, either) is to prohibit ever catching Tor users no matter what online criminal activities they perform, assuming you can't get their real IP through other means.

comment 10y ago · link · parent

> All they saw was a $450 annual fee.

I read the article [1] because I was dubious about the potential cost/benefit given that I pay zero dollars in interest on my cards (I pay the statement balance every month), and I found that the benefit is for rewards programs.

My understanding is that rewards programs are an arms race: the merchants cover the extra rewards amount. That means that they're bundling the cost of rewards into their products anyhow and charging you for the "pleasure" of getting your money back. If you can get in on it before the costs rise to the full amount of the reward, then other people subsidize your reward by purchasing the cost-adjusted product without getting rewards. I'll pass on paying $450 to further that, no cost-benefit required.

1) http://www.nytimes.com/2016/09/13/business/dealbook/credit-c...

comment 10y ago · link · parent

If it was free money, everybody would be doing it. If it has no downsides, what's stopping you?

comment 10y ago · link · parent

"Chapter 1: What is a rhetorical question?"?

comment 10y ago · link · parent

http://explosm.net/comics/2034/

comment 10y ago · link · parent

You are correct:

  >>> from django.core.validators import EmailValidator
  >>> EmailValidator()(""""()<>[]:,;@\\\"!#$%&'-/=?^_`{}| ~.a"(is)@(valid)example.org(honest)""")
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/local/lib/python2.7/dist-packages/django/core/validators.py", line 203, in __call__
      raise ValidationError(self.message, code=self.code)
  django.core.exceptions.ValidationError

comment 10y ago · link · parent

This would seem to suffer from a similar problem, given that we travel on and interact with roads primarily.

Decoupling from that seems like it would be set to fail for human memory, since there would probably be nothing to reinforce the memory over time for your restaurant example.

comment 10y ago · link · parent

Give Cinnamon/Mint a whirl; I couldn't "do" Linux desktops until Cinnamon. It works really well out of the box. It's not quite as OSX-y as Unity but Unity had a few quirks that I couldn't stand.

comment 10y ago · link · parent

I think this is akin to saying that windows and doors are vulnerable to rocks and bump keys/battering rams, respectively. In the case that police take advantage of the real world counterparts, they're expected to have warrants despite the "vulnerability" because the owner has the expectation that most decent people (the general public) won't exploit it. The standard is whether a member of the public could happen to see inside, not whether it's feasible for them to if they really wanted to.

comment 10y ago · link · parent

I would go straight to vim and type: "/section_start<cr>", which navigates straight to that line. Then navigate to the line, "i" to enter insert mode, make edits, and "<esc>:wq<cr>".

It is absolutely a learning curve, but the power of vim is insane. "dd" deletes lines, "A" appends to the end, "I" inserts at the beginning, "<lineno>G" jumps to a line number, all little tweaks that I use nearly every day in editing files quickly. It's especially nice when editing known_hosts where it tells you the line of the offending key, just "<line#>Gdd:wq" and it's done.

comment 10y ago · link · parent

> Liberal democracies usually operate under the principle that you can ask anything you want of someone, and it's up to them to say "no" if they find it disagreeable. The law is then there to step in when there is a dispute and say which party is right.

That is true, but there's a difference between a request and wrapping something in the flag and saying it's a lawful order. A LEO can ask me whatever they want; in some situations it's a lawful order and I go to jail if I don't comply, and in others I can say no. This doesn't mean that a LEO can stop everyone and demand things with no probable cause. With the FBI letters it's even worse because they carry a gag.

comment 10y ago · link · parent

The same can be said for screen clipping an Excel graph, which can be done at any point, and there's an additional bonus in that the layperson can see and manipulate the data as well. It's a(n admittedly poor) self-contained document that anyone can poke at, versus an image that only the anointed can recreate with different data. For better or for worse.

comment 10y ago · link · parent

It would still allow you to use a simpler solution and not paint yourself in a corner if you optimized on sqlite; no preemptive optimization necessary wrt choice of dbms if you can perform the work on the simpler solution.

comment 10y ago · link · parent

There are varying levels of job security, and the loyalty part in technology especially just means that you have to voluntarily leave to another company to get treated better. I'd rather work somewhere that had little to no job security but where everyone was on the ball. Otherwise, the detritus starts to pile up when they aren't mobile within the market.

comment 10y ago · link · parent

Thanks for posting this, it's easy to forget the distinction between the two. I was just thinking that it's awful inconsiderate to have a stance against piracy given that he himself literally asked people to pirate his music, but there is a difference between people sharing information vs. a platform monetizing it.

comment 10y ago · link · parent

I think the part that is transparent is that you're not going to build your career and retire at Netflix, you know it's a stint. It may be arbitrary and capricious otherwise, but you know that in advance and can decide if it's worth it. I would not mind being in such an environment for a stint, myself.

comment 10y ago · link · parent

Knowing in my head and having it tab out are two different things.

Interfaces will without a doubt tell you what you can do with a given object. With polymorphism you most assuredly know what types the arguments are inside each signature you write.

Function annotations look like shit[0] and are not guaranteed to mean the same thing across projects.

Don't get me wrong, I love Python and its idioms and have been using it for a rather long time. It pays the bills and I am productive in it. I just think that I've outgrown its implicit typing when I step into an explicitly typed language using modern tools and enjoy myself.

[0]: https://www.python.org/dev/peps/pep-3107/#syntax

comment 10y ago · link · parent

It is, but it has a lot harder time deciding what type of object I'm working with in a function vs. being able to specify the object's class in the function arguments. You can get that with docstrings but it's not as straightforward as just saying "def frobozinator(FooBar thing):"

comment 10y ago · link · parent

I haven't yet replaced Python, but I really enjoyed Dart using JetBrains' WebStorm IDE for a side project.

Python maps really well to a lot of the problems that I'm tackling right now professionally, but I'm considering trying to use Java for a number of them. C# may wind up being viable for me as well; it has a chance of being a little more cross-platform with Xamarin's purchase by MS and overtures toward OSS and Linux by integrating Ubuntu.

comment 10y ago · link · parent

> It’s hard to describe the experience of doing a major refactoring, having a really helpful and friendly compiler guide you along step by step and when finally everything compiles it just works.

This is my experience in a nutshell, my "home language" has been Python since high school after trying to learn C/C++ and persisted through learning Java in college. It was easy to use and get started with, and didn't require a ton of extraneous typing in Vim or looking up class types and returns every time you tried to use something.

For simple projects as a beginner dynamic/implicit typing is wonderful because you need fewer references. Having gone the way of the IDE, however, having good autocomplete, safe refactoring, error flagging before compilation/runtime, and an easy reference for your libraries has made me incredibly efficient in explicitly typed languages. I'm not sure how much longer I'll be using Python as my home language...

comment 10y ago · link · parent

> It's not the be-all or end-all, but if you're consuming less than you use, you'll lose weight.

I'm not really weighing in on one side or the other in terms of the overall argument, but unfortunately metabolisms are rather sneaky. Calories in < calories out = weight loss sounds nice, but unfortunately calories out is a moving target in that your metabolism will ratchet down and be more efficient and/or consume muscle if calories in is insufficient.

comment 10y ago · link · parent

What types of problems are you solving in this space? Internal infrastructure, service provider? Do you not need any sort of layer 2 adjacency between your servers? It sounds very nice indeed to be able to resolve your location/identity split at the VM infrastructure layer. I had a very hard time getting customers away from wanting L2 adjacency between entire datacenters in my network consulting career for things like DR in their enterprises...

comment 10y ago · link · parent

Thanks for posting. It would be more interesting to see better studies without sampling bias, but it was still interesting to see otherwise.

comment 10y ago · link · parent

The quick edit copy is ridiculous, it inserts newlines between one line of output if it wrapped instead of obligingly copying the content as it was sent to stdout. The selection mechanism makes nearly no sense, why would I want to select text by a rectangle?!

comment 10y ago · link · parent

And regardless the yardstick by which we measure the paranoia of people, and especially paranoid schizophrenics, is whether they are prompted to perform harmful actions.

"Sometimes they bumped into him and whispered nonsense into his ear, he said." is a different ball park than believing that the government is watching everything you say.

123456