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 9y ago · link · parent

Does this mean opengl is going to work on less and less platforms?

Are there real crosspolatform options left? Or are people going to rely more and more on things like Unity to capture that extra complexity?

comment 9y ago · link · parent

One small reason is that Japan's Felica standard was only supported from the iPhone 7.

In Japan it's been common practice for certain smart cards to have Android equivalents (most of them here ship with NFC), so you have a decent app ecosystem that supports it.

For example I can get a Starbucks app on my phone and use that through NFC instead of a physical card

comment 9y ago · link · parent

If you're actually funding the campaign on a massive scale, you are sharing the campaign's values. It's not that complicated.

Nobody writes sob stories about the Koch brothers.

comment 9y ago · link · parent

I've actually been working on this while trying to help a friend learn programming.

I've been looking for some meatier projects that still have good feedback loops, without requiring too much domain knowledge.

For example, I've been working through a project with the friend that involves scraping prices off of a website and trying to build a thing to automatically order things off of the websites.

Multiple distinct parts, each with their own, very visible, success state. But at the same time, not too many challenging domain specific issues (main issue was just explaining CSS selectors and form POSTs).

comment 9y ago · link · parent

a lot of people get a percentage of everything.

Credit card processors, the post office, transportation companies. ISPs, kinda.

"A percentage of everything" is another way of saying "in the infrastructure business".

comment 9y ago · link · parent

"Trump is so bad he's good" is a tired take at this point.

Polling shows that the Russian story is basically resonating with Democrats, but not doing much on the other side of the aisle (granted, Republicans stayed with Nixon up until almost-impeachment...)

Paris has broad bi-partisan support. "Let's distract from the Russia issue by something that people actually care about" is not the best strategy is it?

Think about the absolutely massive bad press AHCA has generated, combine that with the fact that Paris is only symbolism, and you have a political move with bad optics and no effect on reality. A global minimum if I've seen one (if you have enough cognitive dissonance to think AHCA isn't a massive mess).

The problem with "Trump is a political savant" is that it's indistinguishable from the "Trump has severe ADD and just does whatever comes up" narrative.

EDIT: check weather.com (at least the US site). When your political move make a meteorological site go full-monty on you, maybe you've generated a couple problems.

comment 9y ago · link · parent

Well if you had this, you could probably get along with this just this more often. Kinda like you can "just" use the dashboard for most businesses rather than doing a bunch of API stuff.

Though the point about data sets is important: even if we have the metadata here, ultimately it's only a partial view into money we're receiving.

But if Stripe is your only payment process, this is definitely interesting.

comment 9y ago · link · parent

In a world where Lyft wins the US market, they then have a battle chest for future expansion.

Apparently Uber is already profitable in the US and thus can use that to finance further growth, but nothing is stopping Lyft from going back in that game at a later date. If anything Uber's best strat would probably be to refocus on the US and crush Lyft everywhere, rather than give it the room to breath it needs.

comment 9y ago · link · parent

>Jakarta is pluralistic and religiously diverse. The city's population in 2000 was 35.16% Javanese, 27.65% Betawi, and 15.27% Sundanese. Betawi people are a creole ethnic group that came from various parts of Indonesia and intermarriage with Chinese, Arabs, and Europeans

Jakarta is basically a mix of a bunch of populations. Loads of south-east Asia has a lot of immigrants (2nd, 3rd generation too) from China and other places.

Hell, China is not exactly a homogenous population either.

Not to mention lost of Europe had other ethnic populations that were overridden by people of Christendom. All those wars ends with a lot of intermingling. And of course the US committed massive genocide to make everyone "white".

Your complaint lays on some pretty false premises.

comment 9y ago · link · parent

Would that not fall into responsible disclosure? Maybe the definition I have is different

I would think that if you make an honest and serious attempt to coordinate with the vendor, it's responsible.

comment 9y ago · link · parent

I don't get this logic that much.

Your neighbor left their door unlocked. You have their phone number. You can call them to tell them first, and make a funny FB post about the event afterwards. Or you could just post about it on FB.

Not to mention that the users of the software are the ones who suffer the most. Seems pretty ethical to at least try to get the issue fixed.

comment 9y ago · link · parent

ADHD's primary effect is lowered inhibition. One of the consequences is that when untreated you end up blurting things out instead of just thinking them.

It usually leads to some pretty abrasive interactions with people, at least in childhood. You end up just kind of pissing off everyone around you.

As we reach adulthood though, your "being an adult"-ness can end up helping you out in controlling this. And people around you might be more likely to support you/deal with you (because they too have become more like adults).

I think that in adulthood you can find comfortable spaces to be in despite speaking before thinking. But as a child it's harder (at least that's what I experienced and saw with my friends).

And the important thing: those getting treatment can get a lot of this suppressed! ADHD medical treatment can almost completely remove this from your system (while you're on the meds, at least)

comment 9y ago · link · parent

This is a common trope in the ADHD community. Namely ADHD makes us more creative.

I'm for positive thinking, but I heard about a study that claimed skills like creativity do _not_ go down once you are being treated for your disabilities. I do not know the details of the study, though.

Unfortunately this trope has meant that I've met many ADHD people who refuse to do medical treatment because they don't want to lose their gifts.

My theory has been that people with ADHD tend to end up having lives with rough social interaction, and you end up living a childhood more prone to "creative" endeavors like reading books or other activities you can do alone.

But for those of us with this disorder, getting proper treatment can get rid of a major social barrier almost entirely. I'd recommend at least trying medical treatment and evaluating the effects you feel.

comment 9y ago · link · parent

It might not be the absolute best, but 8GB is totally workable for a lot of dev situations, especially if you're not doing a docker-style situation.

I've recently went form 8GB to 16GB (and a processor jump) and my dev environment haven't really gotten snappier.

That said it still feels like the easiest thing they could offer in all SKUs, given the price.

comment 9y ago · link · parent

I think I get why the notification stuff is so complicated (there's a lot of stuff going on, after all!)

It always feels like Android shipped with the low-level API but forgot to provider a higher-level API for the 95% case

comment 9y ago · link · parent

I'm glad to see Kotlin support (would love Python support but you can't win them all)

The Android APIs are still a major problem for me. In web front-ends we've basically gone full FRP and I'm sitting here with my resource files and 10 line invocations to make a notification.

This is partly because it's necessary for Java, but I'd love to see a first party API that tries out something a bit more fluent

comment 9y ago · link · parent

There's some interesting stuff in here, I'm excited to see what comes of it.

But I'm a bit worried about the thought process in the intro:

> A large network of road tunnels many levels deep would fix congestion in any city, no matter how large it grew (just keep adding levels)

this is untrue in the general case. Notably, if everyone wants to drive to the city center, then there will be congestion, because at one point you must get to the destination.

It's not just volume, but throughput that causes congestion.

When the traffic flow isn't spread out nicely, your traffic can only go as fast as the weakest link.

You know what has higher throughput than cars? trains

comment 9y ago · link · parent

they're linked, but it's far from the only variable in the system. Recent fiscal policy and results shows gov'ts have a hard time influencing real inflation with interest policy.

3979.

The Rust Cookbook(brson.github.io ↗)

3 points · by rtpg · 9y ago · discuss

comment 9y ago · link · parent

I guess it's mainly that bookstores don't do it?

It's like that restaurant that only allows up-front-paid reservations. It's kinda obvious once it's brought up, but goes against how that industry usually works

comment 9y ago · link · parent

I don't get this logic.

Imagine if doctors had 99 failures for every successful operation. "Well that's just the way it has to be for that success".

Sure, maybe Juicero could make money, but maybe $120 million could have been invested into some slightly more useful things?

Who gets to decide? Obviously the investors and VCs, and it's their money.

VCs simultaenously say that their 1:100 hit rate is part of their big strategies and that everything is luck. You can either be gambling your money or you can be using skill, but you can't do both!

(modulo probabilities a bit higher than lottery ticket odds)

comment 9y ago · link · parent

OTOH, almost all major OSes also have tools that let you automate stuff at the input layer, so you can automate any GUI tool. The difficulty comes with race conditions on inputs.

comment 9y ago · link · parent

I wish I had much progress!

I looked at a pebble teardown, and saw that it didn't seem to involve very complex production strategies. From that I decided to try building a list of components! I know how to do some microcontroller programming so wasn't too worried about that part, but felt like getting an efficient screen was important.

I've had a hard time finding power efficient screens that I can purchase in very small quantites so I've been stuck there. I've been trawling around parts websites but I almost always end up on things like screens for RasPis.

EDIT: Got some luck on Alibaba searching for "sunlight readable". Going to contact some suppliers to see if I can get something

comment 9y ago · link · parent

I'm sad too.

I'm actually really worried about my pebble breaking, so have been looking into making a homebrew smartwatch. My biggest issue right now is finding a screen with similar specs to the Pebble Time in terms of resolution and power usage.

If anyone has any advice on how I could get wearable screens like JDI[0] has (without having to buy 100 of them) I'd love to hear it! I'm not super well versed in electronics procurement

[0]:http://www.j-display.com/english/product/wearable.html

comment 9y ago · link · parent

Yeah, it's pretty interesting how many ADD/ADHD meds have completely different effects for those with or without the disorder.

As I've read more into this, I've found that "better" indicators of the disorder is more around impulsive behavior (lack of concentration being such a difficult thing to quantify, nobody's concentrated!). Dr Charles Barkley [0] has a decent amount of talks on youtube about this misnaming (and other aspects like hereditary natures).

Depending on where along the ASD spectrum your daughter might be, this might be harder to figure out though. I can understand being a bit skeptical about this.

I hope you can work out what's best for your daughter (and hopefully keep her engaged and aware of what's out there).

[0]: https://www.youtube.com/watch?v=wg6cfsnmqyg&index=2&list=PLz...

comment 9y ago · link · parent

I can't speak much for depression, but there's a huge amount of research that cognitive behavioral therapy is almost useless for other illnesses (namely ADHD-families). Inversely, medication is _very_ effective for ADHD (assuming this is what the adderall is for, given its comorbidity for a bunch of other stuff).

While I can respect the person themselves making the decision to try and wean off these treatments, taking them away from a child who might not understand the implications is fraught.

I was "convinced away" from ADHD meds in high school, and I had a lot of issues in college + work before getting proper treatment again. Suddenly so many anxiety-inducing behaviors were under my control again.

I would love for CBT to be effective, because the meds do change me, but I've tried it, and there's been research showing it's ineffective.

Inversely, the research shows that ADHD medication treatment is super effective at reducing symptoms, even outright eliminating them for a good subset of patients! It's the most well-treatable mental illness known to science (more-so than depression, even).

Taking away this medication from someone else is like taking away someone's glasses or crutches. At least get their consent, please don't force it on them. And always offer them the option to get back on treatment if they're uncomfortable.

comment 9y ago · link · parent

Pour que no los dos?

The "selfish car guy" is why the American lifestyle consumes twice as much as the Japanese lifestyle. Everything gets built around it.

And of course there's the fact that the American lifestyle gets exported to other places as well.

comment 9y ago · link · parent

I think the idea is to penalize car ownership in places where you "shouldn't" need one.

If you're courageous, you could live in downtown Dallas without a car (can move around a bit with DART). Making it harder to own a car (combined with more "dense-city" developments) doesn't seem like the worst idea. Mainly because we could recover the huuuge parking lots.

And when you want to go to Austin for the weekend you can rent a car.

In any case, even if the entire state is still very much "car necessary", you can still try to incentivise pockets of the state to be less so.

1
132133134
225