Better HN
topnewbestaskshowjobs
Log inSign up

code_duck

8,901 karma · joined Sep 5, 2009 (17y ago) · 4,581 submissions

Cipher Flamingo?

Instruction Set Egret

Opcode Pelican

Function Sparrow

Heron of Homoiconicity

Script Pigeon

Topcolor gallery:

  #729883
  #cc1010
  #70907d
  #668b33
  #399044
  #256f56
  #42bec6
  #Be8489
  #92c4a0
  #117f7f
Submissions

comment 8y ago · link · parent

Sure, it’s a matter of degree. PHP has many worse degrees than the things ‘wrong’ with Python or Ruby. Nobody said a language has to be perfect, just better. Of course other languages have flaws, but Python and Ruby have fewer and less serious flaws.

It’s like if I said hey, we should live somewhere besides Moldova. And you said but don’t Germany and France have flaws too?

As far as what they should do, yes, they should fix all of these problems. The thing is many would break huge amounts of old code and cause problems for people and harm upgrade adoption. Also, PHP developers, as seen, actually insist on things like ‘=> is better than : because it’s the PHP Way’. I’m not going to waste time trying to persuade the heathens behind PHP to turn it into a normal language. Why would I? My opinion is that PHP is a fundamentally braindead language. It’s like someone tried to make a quick and dirty scripting language with C syntax and then changed it over into a crappy version of Java with the help of a bunch of incompetent college students over 10 years for an audience of amateur programmers, which actually is exactly what happened. I have no desire to use it for anything, ever.

comment 8y ago · link · parent

It’s true that deployment is more difficult on Python.

Comparing R to PHP seems kind of inappropriate since what they are appropriate for rarely overlaps. I wouldn’t use PHP for statistics and I sure wouldn’t use R for a website.

As far as whether other languages could have similar criticism, no. This is an analysis of sloppy design at the core of PHP. The types of problems listed aren’t found in Python or Ruby because they planned the language better in the first place and have a better process for dealing with intelligent changes. It’s maddening for me to read what PHP developers think about changes to the language. If you want to use PHP, go ahead, but I don’t think that’s the point of this article.

comment 8y ago · link · parent

If it was simply T_DOUBLE_COLON that would also be googleable. Even better, you wouldn’t need to google it since it’s not in an obscure foreign language.

comment 8y ago · link · parent

The town in which I lived in Minnesota had a few churches come up for sale. The price was not much higher than a typical home in the neighborhood. Some friends bought one, and it was a unique place to share between roommates. Definitely a nice building.

comment 8y ago · link · parent

A couple situations have arisen for me.

One, adopting necessary libraries that are lacking features, have way too many features, or questionable code quality. Examples have been an animated slideshow carousel, Python and PHP OAuth, and a WordPress theme. I thoroughly read the code for each of those, deleted the parts I didn’t need, and literally rearranged everything.

Then there are the times I go back to my code after a few years and have no idea what is going on. If possible, I just leave it alone if it’s working. Sometimes I need to use a new language or have developed a better coding style. In those cases I’ve rewritten it with a close eye to whatever edge cases I seem to be handling in the old code.

comment 8y ago · link · parent

It sure is. I know someone who has a very good job writing Fortran for supercomputers with over 20k+ CPUs, powering defense related research.

Also, I started /r/fortran as a joke and then it was taken over by actual FORTRAN programmers.

comment 8y ago · link · parent

Why not scorpions?

https://www.dawn.com/news/1252264

comment 8y ago · link · parent

I don’t think that’s necessarily true, since it could even cause problems during their lifetime (~20 years?). It could cause problems for their children, friends, society, loved ones, and so forth over the next 100 years and that could be construed to be a personal risk. However the heat death of the universe can’t possibly affect with certainty any entity we now know, even the earth itself or solar system. The difference between 10^2 years and 10^100 years is significant enough for me to discount that comparison.

comment 8y ago · link · parent

The heat death of the universe poses no risk to me, though. I don’t consider that to be a problem.

comment 8y ago · link · parent

I’m sure! I am all about slow, organic and natural food. Here though my comment was meant to say that heck, if you’re going to cut corners and buy store-bought door closers, why not raise your own chickens at all!? I wasn’t entirely serious. The point of DIY is DIY, though, and this is HN.

comment 8y ago · link · parent

I agree! But my comment was sarcasm/extension about his suggestion to reduce effort by buying a commercial door opener. Like damn, if you’re not going to make your own door opener with an Arduino, are you truly even committed to raising chickens?

comment 8y ago · link · parent

Heck, why not just go to the store and buy some eggs?

comment 8y ago · link · parent

Apparently the idea of giving field workers freedom of self determination and wages didn’t even occur to them.

comment 8y ago · link · parent

I thought the answer was ‘Facebook without any activity from friends’ or ‘twitter’

comment 8y ago · link · parent

And now many gas stations have video screens on every pump that include blaring audio. I was at one station in Minnesota that had about 10 loud screens all playing slightly out of sync in a cacophony - I can’t understand how people design and install systems like that thinking they’re normal or useful.

comment 8y ago · link · parent

What I've been hearing is "yeah, show me ads about stuff I want to see! that's cool!"

comment 8y ago · link · parent

I remember when that first came out, and was based on how many friends you had. It would have cost me $90 to promote my vacation photos to a group of people semi-randomly selected by Facebook and chance from my friends list, and for people with more ‘friends’, they wanted up to $500, if I recall.

Socially, it is extremely out of touch to even offer such a service to individuals.

comment 8y ago · link · parent

The profiles and graphs are really for advertisers, aren’t they? It seems like this discussion is centering on the utility that Facebook’s consumer products provide for it members. As we are often reminded, due to their business model, interests of users are indirect, secondary. Facebook’s main service is of course for advertisers.

comment 8y ago · link · parent

The service Facebook provides through their website is awful. I have no reason to use it, and have tried repeatedly only to be beaten back by their incompetence and even apparent malice. So maybe their graph is the best, but what are they really doing with it?

comment 8y ago · link · parent

Or you’re getting an IP from somewhere associated with a different region. This happens all the time with my cell connection - it seems the company uses spare Verizon capacity, and when I (or someone else) looks up my 4G is, it’s all over the US with no connection to my actual location.

comment 8y ago · link · parent

I would suggest adding something to your first one: you can successfully eat whatever you purchase.

I have celiac and serious food allergies, as well as an esophageal disorder. I also can’t digest milk or eggs properly. When I go to the grocery store, I walk around pretty much laughing to myself about how I literally cannot eat almost anything there. For Thanksgiving, I am having plain beef roast in a blender (well, sea salt) and specific potato chips. And cider - I mean, it’s not all bad.

It’s easy to take health for granted, but it’s amazing how much it can screw up your life when one part of your body isn’t working.

comment 8y ago · link · parent

I honestly don’t know. I feel grateful for the basic stimuli of physical existence. I don’t really feel very good about anything else in my life due to years of serious health problems and my lack of a positive future - the best thing I have going now is that nobody can take anything away from me, I’d happily just die.

In the meantime, and thankful to be living in this time and amazing technology and opportunity. I’m grateful to be in a booming city with the glitzy culture during a time of relative peace.

HN is great too, you’re right.

comment 8y ago · link · parent

Unfortunately, a lot of the people who are aware have bought into the idea that it is not harmful or only associated with advertising recommendations that are beneficial to them, even. They don’t recognize the potential for misuse of their personal data and surveillance. Multiple times in coffee shops i have overheard conversations where a man in his 20s is saying opinions to that effect.

comment 8y ago · link · parent

Now that you’ve mentioned Hillary Clinton, I refuse to participate in this conversation.

comment 8y ago · link · parent

That’s not quite accurate as far as how employment or compensation can be used to influence public figures. The amount seems rather high, and they would have to be demonstrate that he performed work for which that is something near fair market compensation. Did he have other jobs at the time, for instance? Did they hire any relatives of his? Plenty of questions to investigate as sometimes people are given entirely fake jobs as a method of bribery.

comment 8y ago · link · parent

To save lives??

Anyway, in your example the drug is still a monopoly in the US and EU and is likely to be profitable, is it not? Is there an epidemic of pharmaceutical companies going out of business because they can’t assert their IP effectively? Or are they making record profits? But I see your point.

My point is that while sure, that defrays the ability to completely monopolize an innovation, complete monopolization is not necessary to justify invention or development.

For the first example, a company would develop that because they are needed for supercomputers or higher performance for some application. If China wants to make them cheaper, great, it means we can do that application cheaper.

This seems to just be a debate about patents and IP in general. I doubt we can cover much new ground there.

comment 8y ago · link · parent

“Robust Website Fingerprinting“ sounds like something that is done to a website, not a user. It depends on your audience. I don’t think HN is quite that specialized.

comment 8y ago · link · parent

That’s the thing some people don’t get about non-profits - the employees and owners can certainly profit. An individual is in question here, not whatever entity he formed or was working for.

Also, non-profit just refers to the structure of the corporation for tax purposes. It’s also not a synonym for charity.

comment 8y ago · link · parent

No, it’s not related to that.
1
464748
153