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

I don't think so. Would you rule out things like the python standard library?

Though external library size can be important, does it come into play when talking about your own code structure?

comment 10y ago · link · parent

But I don't get why you need to use the shell to get your file?

If you have a filename maybe you should manipulate the file directly instead of delegating to the shell.

comment 10y ago · link · parent

While a loooot of libraries are Python 3 compatible now, There are holdouts among python libraries with heavy C FFI elements. So if you have just one of those in your stack, it becomes really hard to use Python 3.

Though honestly, I feel like Facebook could, you know, pay people to port the needed projects to Python 3.

comment 10y ago · link · parent

> Even 'cash on deposit' is invested in that the bank loans it out.

If you combine this with the fact that banks work on fractional reserves, then there'd end up being infinite money... but there isn't because it's not true. Of course banks _do_ give out loans, but they're not at 100%. And there are capital limits and the like...

Look at Japan. Why do you think the central bank is at negative interest rates is because banks aren't loaning out money. Or they are but companies aren't spending the money, which basically comes out to the same thing, minus a credit subsidy.

I think if you dig deeper into this problem, you'll find both that there's a decent inflow into banks that don't have corresponding outflow.

comment 10y ago · link · parent

Maybe I'm not ahead of the curve enough. Still though, every 6 months? Did you start using Grunt only 6 months before running into this issue?

Maybe I'm reading this too literally, but personally I'm totally cool with using a tool for 2 years and then transitioning to another. 2 years is already a lot of good value.

comment 10y ago · link · parent

I don't get the deal here.

>Health officials said the case in Pennsylvania, by itself, is not cause for panic. The strain found in the woman is treatable with some other antibiotics.

So the last resort doesn't work, but other stuff works. It's totally reasonable to assume that if bacteria becomes resistant to more common antibiotics, that some other kind of antibiotic could do the trick.

Though I guess it would be nicer to have some sort of "proof" that the bacteria _does_ get weaker to stuff it's less exposed to.

Actually, side note but wouldn't mass feeding of antibiotics for certain kinds of bacteria let us completely wipe it out, a la smallpox?

comment 10y ago · link · parent

>it just doesn't pay off to learn the new, cool thing when it's going to be obsolete in 3 months or less.

Does this actually happen? If you had learned Angular way back, you would still be in a comfortable situation. New stuff coming in, but it's compatible with the old stuff.

Same with React. Had you learned react when it was talked about, you would have gotten, what, at least 2 years worth of value by now?

And a lot of the build tools are independent of the tech. Grunt is still fine to use, and people release plugins for it all the time.

And here's the last thing: You don't have to spend 6 months to learn a thing. If you want to keep up, read about it for 15 minutes? That should be enough most of the time to get the philosophical differences between tools you know. And if it does intrigue you enough, engage with it.

This stuff is progress, if we went the other way we'd still be writing jQuery spaghetti code and having state integrity issues up the wazzoo from callback hell. You don't have to ride every train, but you can at least look at them as they go by.

comment 10y ago · link · parent

There are distribution issues because of drug control regulations. Didn't mean to imply that it's hard to produce

comment 10y ago · link · parent

Right, but because of the rules set in place (since it's categorized as a meth derivative or something), a lot of pharmacies don't stock a lot, or are completely unwilling to fill a prescription.

If you check out places like /r/ADHD you'll see some stories of people unable to get their prescription filled.

comment 10y ago · link · parent

Plus, since Adderall and the like are in limited supply, you're preventing people who actually need it to function from getting the access they need.

comment 10y ago · link · parent

Well that's what the permissions are for right? To avoid "arbitrary" code.

I think we've gotten a bit better since the Flash days at writing VMs that don't leak like a sieve. Would be nice if someone could go in and write the entire Android VM in dart or something though...

comment 10y ago · link · parent

Pebble Time owner here: The watch has reduced my "take out the smartphone and fiddle" occurences from 40+ to maybe 4 or 5 times a day. Notifications are no longer an excuse to glue the phone to my body, so I just put my phone somewhere in the house/on my desk most of the time.

comment 10y ago · link · parent

I still cannot believe that auto-inflection continues to be a thing that people use in projects... seems like the sort of thing that will break all the time to bring pretty small amount of benefits.

comment 10y ago · link · parent

Wow compression ends up working really well for JQuery. Almost all the post-2.0 code size increases get totally absorbed.

comment 10y ago · link · parent

Wow, the project owner really went cynical towards the end...

comment 10y ago · link · parent

I don't really see what you're getting at. Yeah, the salaries are depressed, but all salaries in Tokyo are depressed, it's part of a general trend.

And Rakuten does a lot of stuff. There are also places like GMO that do things. This is kind of like complaining that Ebay isn't a tech powerhouse. That's totally fine

comment 10y ago · link · parent

It's not always that clear. If I leave a page, how is one to know whether that was intentional or not?

If it's intentional, you don't want to pull the data back up (people want a "fresh copy")

If it's not intentional, you do want to pull the data back up.

Though of course you can make something like a "New Copy" button, but then that presents its own challenges.

comment 10y ago · link · parent

At least for the Euro crisis, the main issue is not enough integration, not too much. Though honestly I can understand not wanting to give control of your budget over to Germany...

comment 10y ago · link · parent

I think it's more like the difference between Chess and Magic The Gathering.

One is based on some sense of immutability, another is the result of constant iteration and community.

Just because they both end up being games doesn't mean they serve the same purpose

comment 10y ago · link · parent

the causes of death were many, of course, but the piracy aspect was very, very painful to Sega and third parties.

comment 10y ago · link · parent

While that's true, why don't we see this sort of stuff with Django or Flask?

Of course we see people complain about these tools, but my impression is that people who end up leaving those communities are rarely because of community issues (more like "I'm going to do some Go instead"-style things)

Surely something is different. It's not like Django is unused...

comment 10y ago · link · parent

At least in my experience in the US school system, not a lot talks about American behaviour in WW2

Besides the atom bomb, America basically bombed Japan out of existence. So much so that when the atomic bombs were dropped, it was first assumed to be just another part of that night's bombing runs. No major city was less than 90% destroyed.

The issues of Japanese war behaviour comes up very often, and the people have been very outspoken in not wanting to return to a militarised state. I would say that Japan has mostly behaved in a similar manner to Germany on the topic (if with several decades of lateness).

You can open up Japanese textbooks and find the history of the war (and the unrest beforehand that lead to the military getting so much power).

EDIT: another thing. There are movies/TV serials about wartime Japan. Every single one of them highlights the absurdity of the war that people are being sent out to. The lies the government propagated to keep the war going. The punishing of intellectuals for expressing even the smallest doubt. Some even covering how foreigners were mostly thrown out of the country. I have rarely heard doubts about whether we should have bombed Japan as much as we ended up doing.

comment 10y ago · link · parent

I think the issue is more that he took this knowledge and tried to listen into encrypted stuff

>Officials also conducted a search of his house a month later, in April 2015. Besides seizing his computer and a $25 custom equipment with which Ornig was able to intercept TETRA communications, officers also found a fake police badge, and also accused him of impersonating a police officer.

comment 10y ago · link · parent

If you, as a police officer, are in court because somebody died in an altercation with you, and the camera was obstructed/destroyed, and there are any eyewitnesses at all that will testify to your bad behaviour, you are toast.

Most juries will assume you destroyed evidence out of malice, and the prosecution will go for that.

comment 10y ago · link · parent

Right, but it could be a browser feature right?

The main issue (for example in OS X) is that everything gets subsumed by the browser process so things like Command+Tab don't work as well. There are, of course, also OS integration issues, but over time I think we'll get pretty far along on that front.

comment 10y ago · link · parent

Do you have an example app that will do this for you?

comment 10y ago · link · parent

A lot of game pirating instructions involve "disable your antivirus"

4678.

What disturbed me about the Facebook meeting(medium.com ↗)

9 points · by rtpg · 10y ago · 1 comment

comment 10y ago · link · parent

I would say that using your shoe to emulate the hammer pattern is a good sign of flexibility and understanding the heart of the pattern.

The point of the hammer pattern isn't the hammer, but the movements and the forces applied. In Europe hammers are an axiomatic part of their nails already so they don't even have a name for the hammer pattern!

On the other hand, if you're with your screw and trying to spin it with the hammer because someone said use the hammer pattern...

comment 10y ago · link · parent

I know that Javascript isn't run in the JVM, my point was that it's possible to write a virtual machine that doesn't get exploited every 5 minutes.

the JVM is a bit special because there are a large amount of escape hatches, native code and a complex trust model, which has caused a lot of the exploits you end up seeing.

1
155156157
225