Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 10y ago · link · parent

It's odd that for how much complaining happens about ads on HN, there's pretty much always just as much scheming about paywalls.

Though I get why it's nicer to prefer non-paywalled sources if it exists...

comment 10y ago · link · parent

Is it possible to call F# code easily from C#? Or vice versa?

comment 10y ago · link · parent

A lot of magazines and some newspapee act like a money pit, basically at the mercy of the rich benefactors paying to run it.

And even if a company folds after (say) 30 years, that still means 30 years of jobs, of people making things. So maybe investors lost money? Name of the game for them. Obviously for the last employees its not too great though (all the more reason for nicer safety nets)

comment 10y ago · link · parent

If you do that, and police have any evidence at all that you do this,then its useless from a legal perspective.

The courts will demand for both passwords or you'll get some nice sentencing for contempt of court.

Of course you could not tell anyone but that's a dangerous game.

comment 10y ago · link · parent

The mechanical and automatic nature of evidence gathering is a real difference, and goes well to argue against NSA-style warrantless crawling.

I think for warrants, though, we're looking at a different beast. By their nature they are targeted. And people have been compelled to provide passwords in the court of law(See [0]). The right against self-incrimination is relatively narrow, so as to not hinder the government's discoverability powers too much.

I think the one thing about this, though, is that people can already be compelled through legal means to unlock things. There is a reading of the Apple case that they are being compelled to unlock something for which they have the key.

Generally, it feels like outlawing encryption isn't necessary for the gov't to pursue the discovery phase of an arrest. There are already a good amount of legal means to compel people to unlock the doors.

[0]:https://en.wikipedia.org/wiki/Key_disclosure_law#United_Stat...

comment 10y ago · link · parent

In the NYTimes interview with Butterfield, he was clear that the money is because it's so easy to raise money right now.

Having a huge battlechest is useful for being able to try risky new verticals without risking future growth too much. Like how they purchased that video chat startup and integrate that with Slack.

He also talked about having cash to be able to give more to employees in the various situations, since stock options are useless in the case where Slack won't be public for 20 years.

comment 10y ago · link · parent

You can have dense apartments with your own bathroom.

I guess this is all a bit of a broken record but Tokyo has all the same potential problems as SF (Namely earthquakes), yet somehow has no housing shortage despite being denser. It's all a manmade issue.

Accepting this is acting as if there's no reasonable solution of just building normal apartments on more land. But of course that runs into social barriers.

comment 10y ago · link · parent

This guy also does awesome notetaking on MicroConf that are very interesting to read (for example: http://www.christophengelhardt.com/microconf-europe-2015-not...).

As a side note, microconf has some exceptionally high-quality speakers if you're thinking of bootstrapping. Healthy dose of realism from a lot of the speakers.

Some vids are up on Vimeo for MicroConf talks (https://vimeo.com/user12790628/videos)

comment 10y ago · link · parent

I can absolutely understand that coming from coffeescript (optional parentheses resolution... yikes).

But TypeScript is basically "Javascript + types + ES6". They call it an "erasing compiler" because it's not meant to do much but remove types/make ES6 code work with ES5.

There is one gotcha in name resolution when you're working in modules (if you are in a module a.b, and a.c exists, then c will automatically refer to a.c, even if a global c exists). But that usually gets caught by the type system. Lot less issues than coffeescript IMO

comment 10y ago · link · parent

I've been porting over a reasonably sized project to Typescript for about a year now, well worth it.

Most of the time, the change is just to rename the file to `.ts`. Sometimes you have to change things because (surprise!) there was a bug.

The biggest painpoint is that you usually have to go pick up some type definition files from DefinitelyTyped for third party libs, but it's well worth it. Second biggest painpoint is type signatures (depending on the context, writing out types/definitions can be subtly different... or maybe I'm doing something wrong).

To anyone who's considering moving their JS stuff to Typescript but have hit some issues, please feel free to ask me. I really think it's a plus for sanity when writing JS.

comment 10y ago · link · parent

Rewriting can pay off in spades very quickly.

Just as some examples.... we've moved some pages to vanilla jQuery to Angular and have gained orders of magnitude more stability (read: basically no state-inconsistency bugs in newer pages).

If you're faced with vanilla javascript in the DOM and have any amount of complexity to it, then you should be using angular/react, if not for your sanity than for the sanity of the one who will need to maintain your code (read: you in 3 months).

If you're knowledgable enough to know that your use-case doesn't work with the newer tools, then more power to you. But the productivity gains from moving away from your jQuery spaghetti code to one of the more managed frameworks is well worth the rewrite time.

I don't know much about going from Angular to React, or Backbone to Angular though.... the choice of framework is likely dependent on what kind of user interactions dominate your app and subjective comfort.

But if you're careful, you can actually transition apps slowly over to Angular and I assure you, you could get rid of so much of your custom-written (probably not well tested) DOM management code it's not even funny.

comment 10y ago · link · parent

The webplayer actually doesn't work anymore in most recent browsers because of changes to how plugins work/security concerns with plugins in general.

comment 10y ago · link · parent

You want to practice violin and have your laptop but no metronome?

I love the whole "Google as a search interface to a bunch of microapps" thing. Now if only people other than Google could add things into these...

comment 10y ago · link · parent

Well Apple has signing keys right? The signing keys are a backdoor, and we've mostly mastered "don't leak your secret keys."

Now for a backdoor that you're sharing with a bunch of people...

comment 10y ago · link · parent

Yeah, which is why it's banned here.

I've tried looking into alternatives but because ADHD isn't recognized in adults here it can be difficult to convince a physician

comment 10y ago · link · parent

As someone who has dealt with ADHD both with and without medication, at least from my experience this line of reasoning leads to much pain.

I cannot speak for those with depression, but ADHD has easily tripled the amount of stress I have in my life, if not more. It causes impulsive behaviour that can wreck relationships(both personal and professional), and makes it extremely hard to concentrate on many things that aren't totally gamified from the outset.

There's a trope about how ADHD ends up being a gift because of creative thoughts coming to you, and that the medication will dull your senses... but I don't buy it too much. There have been studies that have measured no noticable difference in "creative capabilities"(hard to measure, granted) when being medicated and non-medicated.

Before being put on medication, I had never finished a single piece of homework in my life. Afterwards I was able to finish the homework assignments before class was even over. I would study autonomously, and was able to reach my full potential because I was able to manage my thoughts for the first time in my life.

There is no moral high-ground to not medicating oneself, just like there is no moral high-ground to using crutches when you have a broken leg. Asking me not to medicate is the same as asking me to go through meaningless suffering in almost every social interaction. Countless studies have shown that medication is much much more effective than any form of behavioural therapy (and that BT has an extremely high failure/"relapse" rate).

I don't think it's right to mock people looking for non-medical treatment, because various reasons mean you cannot have access to alternatives.

But medication has been proven to be very effective, and BT has proven to be a very difficult path... if you are a parent of a child suffering from ADHD it is your duty to at least explore the medication option in my opinion.

There is likely to be no higher reason for ADHD and depression to exist. We have looked at "normal people's" brains, and see that for depression/ADHD some things work differently. And that these people tend to have lower-quality lives because of a lack of something... It's hard to argue that there's a reason for it all except in some religious context. It's not like there's a higher reason for brain tumors either.

As an aside, despite the fact that I currently love where I live (Japan), I always consider moving back to the US if only to get access to medication that is illegal here. My life is a lot shittier (still great overall though) because of some drug laws. I have spent a lot of time working on different non-medical coping techniques that have helped out a lot, but nothing matched the chemicals.

comment 10y ago · link · parent

This is off of the top of my head, but something like 50% of people treated for depression show positive response for the treatment, and 20% achieve "full recovery" (still on meds but the symptoms linked to depression are basically gone while on meds). Meaning these people can move on with their lives not having to deal with this.

Medicated treatment for ADHD has hit even higher numbers. Something like 70% of patients respond positively to medication (sometimes takes a while to get the right medication though), and 45% achieve full recovery (that is to say, ADHD stops being an issue for them if they're on their meds).

I mentioned this because conventional wisdom is something like: "Yes, depression as a chemical imbalance is a thing that exists, and you can kind of do something with it through treatment." But a lot of people are also "ADHD might not even be a real thing and is a result of helicopter parenting and lazy kids". But the science is much further ahead on understanding ADHD and treating it on ADHD than depression.

comment 10y ago · link · parent

Distribution deals happened for House of Cards... For obvious reasons distribution deals are usually exclusive per region (I spend a lot on marketing and then some other guy just starts selling the same content...)

comment 10y ago · link · parent

This is very belittling to the amazing amount of research that goes into ADHD.

Many studies have been done with regard to treatment and diagnosis, and at this point we are better able to treat ADHD than we are able to treat depression

There might be a bit of an over-treatment culture (I'm not sure, though), but the science is extremely well developed and tested

comment 10y ago · link · parent

RFID is definitely one of the cooler things that exist on the practical/futuristic feeling matrix. Really wish I had some need for one

comment 10y ago · link · parent

I think that, if you're not super aware of most of the features of Scala, that it can be confusing to understand what certain syntax means (implicits are a big one!)

Just the infix operator syntax plus implicits can lead to stack trace confusion all around

And try understanding some of the type signature funkiness! It can be difficult

I definitely think that Scala is a harder language than most to grasp, if only for the feature support not seen since C++

comment 10y ago · link · parent

Do people outside of "The Web is for documents only!" camp really hate Flash? I've had many good web experiences thanks to Flash (granted, mostly movies and games, but still...)

People on HN seem to discount how absolutely amazing it is to have a VM that can almost seamlessly connect to a network and pull down awesome programs!

comment 10y ago · link · parent

like that idea! Dunno how many people have epsilon easily accessible on their keyboards though.

comment 10y ago · link · parent

Internally when voting (informally) on things we do +1, +0, -0, and -1. Super helpful to be able to ask for everyone's opinion while they can also express the strength of their opinion.

Feel like that would be very useful

comment 10y ago · link · parent

You can choose to store some, yes, but it's encrypted by your backup password. At least that's my understanding of it.

comment 10y ago · link · parent

I think this advice is for people who don't necessarily need it.

I don't know if there's a name for it, but I've started reading "Don't do X" as "Don't do X unless you have a realllllly good reason to." Nothing in life is absolute, after all.

Similar advice is "Use a GC". There are (similar) use cases where you shouldn't use a GC. But if you don't have a strong case for paying the price of not using a GC (in terms of potential bugs and code complexity), then using a GC by default is pretty good advice.

But yeah, if you're writing VMWare, you're hopefully also skilled enough in the domain to know that you should try to get maximum performance. But if you're writing some shell scripts or webapp, a lot of the time your bit-twiddling optimisations will be noise relative to the variation from I/O alone.

comment 10y ago · link · parent

But isn't the coordinated network upgrade problem already solved? In the Bitcoin XT (sp?) thing, the solution was to not switch over until over 50% of participants reported being in a version that supported 2MB blocks.

Core has offered a solution, but only 6 months after another equivalent solution was made and basically deployed...

comment 10y ago · link · parent

If you look at the amount of money going into ad businesses, everyone would need to put in about $150/month for there to be no drop in revenue.

There's a reason why NYT is so expensive (and, of course, still carries ads) per month compared to what one might think

comment 10y ago · link · parent

Uber has also caused massive pain to its drivers by not giving actual employment protections and causing unilateral drops in pricing to make previous jobs untenable.

Uber is basically Walmart for taxis. Come in, bankrupt local taxis with subsidised pricing for drivers and riders. Afterwards keep low pricing for riders but squeeze drivers for all they got.

As one driver put it, it doesn't matter if a 30% price drop create more customers. Drivers can only drive so many hours in a day, so drivers end up with 30% less money.

1
161162163
225