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

There's no way to customise shortcuts in the Mac version? Huh

comment 10y ago · link · parent

Sounds like banning cars in the city center would get most of what you want

comment 10y ago · link · parent

Mass transit making distances more manageable without a car, mixed zoning means that there aren't as many areas that are just offices, and areas that are just apartments

If all offices are spread around the city , then there's nothing special about the apartment next to the office. Of course the area could just generally be nicer...

comment 10y ago · link · parent

You build housing and commercial stores at time. Have one major transit line into some major city.

The stores, you get department stores and the like. Lower rent than downtown but relatively easy access. Maybe one parking silo for people who come via car. Make it nice.

The housing will slowly fill because of the transit line, rent could be much cheaper than downtown.

Office developers will at one point just put the offices in the nice area.

This is the strategy used by rail companies in the greater Tokyo area since the beginning of time and it works great. Giant shopping centers with good mass transit connections will get a lot of people on weekends (even if it's at the end of a line). Walkable housing nearby. Etc

comment 10y ago · link · parent

Actually most minor streets in Tokyo have no sidewalk. You can just walk on the street.

Cars drive through slowly, of course.

comment 10y ago · link · parent

This is the list for Austria, most likely from whatever partner bank is helping their roll-out in Europe.

https://stripe.com/us/prohibited-businesses <-- US list is much more clear-cut

comment 10y ago · link · parent

I've found it more straightforward to transition to Angular over from a more server-side setup gradually. The template language is at least in the same general area as template languages for Django, Rails, etc.

The general tooling process is pretty simple, no need to convince people of the merits of JSX.

Architecturally speaking many people still like separating presentation from business logic.

Angular has a lot of mature tooling and wrappings around current libraries. Angular also offers a lot more tooling on the side, React is much smaller.

On an architectural side, while React keeps states in components, the state update mechanism is a bit obtuse compared to Angular's "scopes are just objects" philosophy.

It's dependent on how you view things, but if you're working on things where strict component decomposition is hard, and you "like global state in your views", then Angular's state mechanism (controllers) could work better for you.

Some would also declare that the non-turing-complete-ness of the template language in Angular is a feature, not a bug.

comment 10y ago · link · parent

Maybe I read to much into this but until the UK invokes article 50 I would expect the EU to remain neutral.

My impression is that the EU wants this to happen fast to stop the market turmoil as well but I'd bet it'll just get an extra boost once Article 50 gets invoked

comment 10y ago · link · parent

>The world is a much more connected place today than it was 50 years ago and next to a unified EU with the UK as an outsider (and, if we are to believe the latest developments with England as an outsider) it is not a very important country economically.

The sad thing is that if the UK were more invested in the EU (for example, with the Schengen zone), then people might have ended up feeling more attached to it. The constant opt-outs made the UK an outsider, I think.

This does bring up Junker's reaction though("Please leave immediately, close the door behind you"), which is a depressing reality of how most EU politics end up happening.

Especially with the handling of Greece, there's this whole moral grandstanding that ends up becoming super antagonistic, when actual pragmatism would solve problems much better.

"They need to suffer for their sins" seems to be a leading political thought process in Brussels(+Paris+Berlin), that makes the union seem less like a partnership and more like the Troika, flying in and making things worse for the hosts.

comment 10y ago · link · parent

Europe has a strong tradition of ignoring EU referendum results.

The logic behind ignoring this one is pretty good too. Leaving the EU feels about the same scale as a constitutional ammendment in the US, and that requires 2/3rds gov't vote + 3/4ths state agreement.

Though this line of argument reeks both of moving the goalpost after the fact and "yeah the elite want to get what they want and ignore the voice of the people".

comment 10y ago · link · parent

While the regulations apply instantly, it's because national gov'ts passed laws saying "You need to follow european regulations".

It's like how the FCC can change regulations regarding radio usage without passing a law. You're just delegating rule-making

comment 10y ago · link · parent

Honestly the India comparison is "slightly" exaggerated.

British people could vote for European MPs. It's not like the UK was colonised by Europe.

There is devolution of sovereignty but you're gonna basically end up with that with the kind of trade pacts the EU demands anyways.

Lots of symbolism involved of course.

comment 10y ago · link · parent

There are a lot of industries with a much higher COGS that do fine. To me it sounds like they're selling goods at 122% markup.

comment 10y ago · link · parent

I don't know exactly how to do it in Datomic, but since it's append-only, it must be possible to do something like "state of DB at this point in time".

comment 10y ago · link · parent

Well, the drop in price of solar has been pretty unprecedented. I'm not quite sure what happened, but it's been a pretty sharp drop, which isn't really seen in other energy sources. Like a 90% cut in prices in the past 20-odd years.

http://costofsolar.com/management/uploads/2013/06/disruptive... (This is log scale)

comment 10y ago · link · parent

Well shareholder protections in Korea are much weaker. Cronyism is how it happens.

Say what you will about shareholder activism, my impression is that Japan/Korean corporate governance has a lot of issues from a lack of it.

comment 10y ago · link · parent

Scribble is amazing! I've seriously considered writing a Django template language plugin that would use Scribble. I'm convinced it's one of the nicest ways to write parametrised markup.

The main issue is, of course, that now you need to be running Racket on your machine as well when deploying. I'm sure it's possible to embed Racket, but I don't really hear about that happening so assume it's a bit tricky.

comment 10y ago · link · parent

>if you were doing lots of sends in a loop, you'd actually want to ignore the exception, so if one send fails it doesn't block everybody.

This sounds like the wrong default behaviour. If we're talking about sending money, and there's a list of people to send money to, I would say that the default behaviour should be to throw an exception, because if not you could end up having money not be properly redistributed.

For example, a simple smart contract to share costs. If one member not longer participates then shouldn't their cut be given to the remaining participants?

The fact that it doesn't roll back everything by default concerns me quite a bit...

comment 10y ago · link · parent

A lot easier to set up no fly zones (World Police) when your planes are a lot better than the competition.

Why even leave a shadow of a doubt that the enemy could win in a dogfight?

I think that's the rationale presented here

comment 10y ago · link · parent

Right, but would the deduction commit even if the send fails? Isn't this the whole concurrency 101 "Atomic deduct and send" problem?

comment 10y ago · link · parent

Well for one it costs you money to run the programs so if you want to run your program forever you can try that but it's a bit of a money pit.

I think the idea vehind TC is that now you could write in certain styles that do guarantee termination without sacrificing readability.

For example if you're working with just primitively recursive functions you can always guarantee termination

So the prerequisite for people investing is for the contract to be in a certain style, or something

EDIT: besides, even without TC you still need to check the contract for logic bugs. TC is a bit of a red herring for "due diligence is always needed"

comment 10y ago · link · parent

Well, don't buy a 50 pack of envelopes if you can avoid it. I think most people would reflexively buy a bunch and throw it in a drawer (batteries....) but in the absolute is it worth it?

And how many times have you used your sink plunger? It depends on your situation, but one of the tenants of this lifestyle is that you don't actually have to be prepared for that time where you'll need 2 50-foot ethernet cables.

I don't think the sink plunger or toileteries are the target so much as that box you have in your office filled with USB cables. Or your cup full of 19 different pens (12 of which only half-work).

I think the cloud imagery is such a good example too. You have your plunger next to the toilet, but I bet you stuck 4 or 5 other things down there too (some spare parts from installing the toilet seats?)

The way I follow it is that if there's a decent obvious place for something it's a lot less costly for me to hold onto it (like the suit) than for random crap that I "kinda think" I need to keep. And constant re-evaluation of this. If you're diligent and re-evaluating it constantly you should almost never have a "cloud" of things stacked up in a corner.

comment 10y ago · link · parent

Is it easy to partially move things over to haxe? As in just translate one js file to haxe and have it properly populate the global namespace so that other js files can still use it?

comment 10y ago · link · parent

Yeah, though jQuery has helped a lot to make some sort of "standard library", requirements in the browser (small file size) makes it really hard to bootstrap a "standard library for JS".

I would love for browsers and other VMs (well, Node) to aim for Python-level standard library that would be integrated into the VM. We could get a bunch of functionality without having to ship 3 Meg files to everyone.

Here's a proposal: FF starts building a "standard library for Javascript". Developers can start using it, or provide polyfills for the bits they use through a special script tag like:

<script src="std-lib-poyfill.js" standard-lib-polyfill></src>

So FF would know not to pull it in but other browsers would know. Maybe a version number/point release in there too.

There might be a bit of competition between browsers but I think we could quickly reach a consensus on most things.

... Though I guess this is what standards are for. I would like to see a browser try this anyways, though. That would be the fastest way to get the standards bodies to acknowledge the problem.

comment 10y ago · link · parent

Well there are degrees to this. Buffer seemed to want not having to fire people, but made a mistake.

You can compare this to big game companies, which have no problem hiring a bunch of people and then laying them off when the project is done. All the disadvantages of being an employee (IP assignment for side projects, low pay) with all the disadvantages of being a contractor (no income stability).

Companies do what they need to in order to survive, but that doesn't mean that the people running the companies are always 100% soul-less

4616.

Japan student held for making Puzzle and Dragons hack(tokyoreporter.com ↗)

83 points · by rtpg · 10y ago · 47 comments

comment 10y ago · link · parent

Well Obama being a secret Muslim from Kenya....

comment 10y ago · link · parent

Glad to hear Dropbox is cash flow positive. I was pretty worried at one point about what would happen to all the apps relying on Dropbox for sync

<insert platitude about open systems here>

comment 10y ago · link · parent

I don't know about your Grandparents but when mine passed away they had so much junk saved for a rainy day. Literally 30 pairs of shoes. What is that for?

You pay for that square footage in rent, you pay for it by having to manage in your house, you pay for it in the uncertainty every time you look at it.

You're never going to read that collected works of Shakespeare. Well, maybe you are. But if you have to ask yourself the question, you won't.

Sure, it's fine to have some "art" around in the form of books, or nice plates. But being dishonest with yourself contributes to so much frustration. This is extra true if you're living with someone.

This is all hard and fast (people have different circumstances), but the whole "fitting your life into a suitcase thing" is valuable advice. So is throwing everything out that you haven't used in a year (one of Kondo's thing).

It might be worth experimenting with the ideas "organizing consultants" give. It's liberating to actually be able to use my entire desk.

Yes, my parents taught me how to clean up. But they also taught me to treasure books, but running a library takes time beyond just "having a shelf".

comment 10y ago · link · parent

Considering that you can basically establish no invariants in the signals model, to me it sounds like a cooperative model is the way to go.

Have a way to poll for "outstanding" signals and deal with them accordingly, in some sort of queue (and the OS drops older messages or something, if they're important you'd deal with them).

The "freeze-the-world-and-do-this-thing-instead" model seems like the best way to introduce "my entire program is now broken"-style bugs. The OS deals with interrupts but the OS is also running by itself.

1
153154155
225