Better HN
topnewbestaskshowjobs
Log inSign up

developer2

2,010 karma · joined Dec 27, 2015 (10y ago) · 785 submissions

Submissions

comment 10y ago · link · parent

You really pay for, and juggle the use of, more than one streaming service? Until we can stream any movie or TV show, from a single service, for a reasonable price, the same day it is broadcast on cable or released on home media, all without commercials, pirating will continue to be extremely popular. There are no ifs, ands, or buts about it. You can lambaste the general population's morals all you want. Call it lawless entitlement, criminal theft, whatever floats your boat. It doesn't change the fact that the current situation is a joke, and a lot of people have no qualms telling the industry that fucks with us to go fuck themselves.

Hopefully the situation will change as the baby boomer generation dies off, and a younger generation that understands the idiocy of the previous era takes over. There is no way the current system would survive if 20-30 year olds were leading the industry. It's time to ditch the horse and carriage, and upgrade to electric vehicles.

comment 10y ago · link · parent

Because they're not stupid and knew that the first thing out of naysayers' mouths would be "why is there no opt-out?!", which then gets followed up with "it shouldn't even be opt-out, it should be opt-in!". They tried to get out in front of the matter by even bothering to document the use of analytics, and implementing an opt-out mechanism at all. Unfortunately the nefarious ways in which intrusive analytics are used on the web has completely ruined the concept of gathering the most basic analytics in any situation.

They could have just added the analytics without saying anything. Which then leads to a) someone discovering the outgoing analytics request and reporting it on sites like HN, b) them having to defend the use of analytics and PR-fake-apologizing for not disclosing its use up front, c) implementing an opt-out, and then d) dealing with HN reports about it being opt-out instead of opt-in.

The privacy implications of analytics gets blown way out of proportion every time the subject is brought up. There is a huge difference between gathering basic information a la homebrew, and the way the large ad networks track and share your information across every damn website you browse. Yet there is this vocal group of people who treat them equally.

comment 10y ago · link · parent

>> The IP is still logged with Google, according to their own documentation

Not quite[1]. The full IP never makes it to disk. It's true that "anonymous IP" isn't as anonymous as I'd have expected. Only the last octet of an IPv4 address is removed. Considering homebrew's use specifically, not just looking at GA in general, I think this is acceptable.

[1] https://support.google.com/analytics/answer/2763052?hl=en

comment 10y ago · link · parent

It is, you just need to explicitly include the protocol (http:// or https://). For next time. :)

comment 10y ago · link · parent

Not even your IP address is recorded. It's physically impossible for this to be malicious. There are no real privacy advocates complaining here, only people who post "it must be opt-in!" as an instant reaction to just reading the term "opt-out". Most of the complaints are probably from people who have never even used homebrew. The submission headline contains the phrase "Google Analytics", which attracts the people who always come to criticize the tool rather than actually analyzing how the tool is being used in each case.

comment 10y ago · link · parent

Man, the privacy critics really come out of the woodwork every single time "opt-out" is mentioned, regardless of the actual facts for a specific situation. The developers explicitly state they set the anonymous IP address flag. There is nothing that links back to you as a person. Are you really concerned that the developers know which packages a random, unknown person has installed?

Crying "opt-in" to every single little thing that has ever tracked you for non-nefarious reasons completely detracts from the cases where tracking is nefarious. Homebrew is not tracking for ads. They are not tracking for anything worth selling to a 3rd party. They're not - and are incapable of - linking this to any other database that does contain personally identifiable information. There's no "profile" worth anything to anybody except the developers, who are trying to get some very basic information completely detached from any identity.

>> You will be notified the first time you run brew update or install Homebrew.

>> to opt-out of Homebrew's analytics you may set HOMEBREW_NO_ANALYTICS=1 in your environment

They went to the lengths to document this. And to notify you when you run the software. You have the opportunity to opt-out of something that is completely harmless. There is no valid reason to be crying foul over this. Of all the tracking that goes on with our internet connections, this should by far be the least of anyone's concerns.

I have uBlock Origin installed in Chrome. With all the ad networks and analytics scripts blocked. Google Analytics does not run in my browser. And yet, I am not even slightly opposed to homebrew's use of it. It's actually anonymous, unlike how many developers use GA in the browser (tracking IP addresses, custom fields like user ids that link back to the site's database, etc). God speed, homebrew devs.

comment 10y ago · link · parent

I still sleep with a knife under my matress. Canadian, so no gun. If I had one, it'd be within reach.

comment 10y ago · link · parent

>> you're likely not going to get robbed

You realize I posted as someone who has been through that? "Likely not going to get robbed" doesn't apply, as it's already happened. And if it happens to have been one of my neighbours who committed the crime? Great, next time they see a large box delivered to my place, they know I'm ripe for another round.

I don't really want to compare being burglarized to sexual rape, as obviously the latter is much more damaging. But would you even dare telling a woman that was raped once that she's being irrational because she's terrified every time a man walks 5 steps behind her on the street?

Do I really want you to have to experience it? No. That was a reactionary remark for making light of a victim's mental state.

comment 10y ago · link · parent

If you sit in a parked car in front of a multi-dwelling building, you only see people walk into and out of the building's front door. You don't get to see which internal unit each person lives in. It doesn't help you to know that I live at 123 Random Street and am not home from 8am-6pm if you don't know that I live in Unit #456. You'd have to first pick me out from the crowd, and then actually follow me into the building to find out which unit I live in.

It's much easier to case a location that is directly accessible from the street. And easier to break into a door or window for that location, rather than entering a building and then breaking down a door in a hallway with frequent foot traffic.

comment 10y ago · link · parent

Have you ever been burglarized by someone unknown and uncaught? The violation is extremely personal. These people watch you for days or weeks to ensure they know your routine. They know when you leave for work, and when you come home. They know you don't work Fridays.

It could be a neighbour you've said hello to dozens of times, watching from their window. It could be a stranger who finds it worthwhile to sit in their car watching your home. You'll never know.

Either way, they've invested time in observing you, and have specifically chosen you as their target. Yes, it makes you "targeted". When you come home to your back door broken open, and find $5000 worth of shit missing, and every drawer in your home opened and sifted through? When you can't possibly even know exactly what's missing. A month after the incident, you're still finding new things that were taken from you.

It's not just about the stolen property. It's your entire personal space ripped apart. It's a form of psychological rape. Hope you get to experience that some day.

comment 10y ago · link · parent

>> Plus the added "security" of the front desk... Makes it feel more secure.

For me, there's also the fact that you are one unit out of very many within the hotel. Even if someone is going to be bold enough to break into a hotel room in the more "public environment", the odds are fairly low you'd be the victim from a pool of hundreds of rooms. Your stay is also brief, so you don't have a routine schedule a would-be criminal has time to study. Plus there's typically not going to be much worth stealing out of a hotel room anyway (wide screen TV, computers, etc).

I've always felt fairly safe in large apartment/condo buildings. I've never lived on the ground floor, so it feels like the odds of someone entering the building (or climbing the outside), coming to my floor, and choosing my specific unit to break into are quite low. You're very unlikely to be targeted by outside strangers; and there is a much smaller pool of people who live in the building capable of targeting you.

Three years ago I moved into an apartment with a street-level door. Basically a neighbourhood of townhouse-like buildings. It's been almost two years since I was burglarized while at work. I still don't sleep well anymore, with the ever-present feeling of dread that a nighttime home invasion is coming any day now. I can't leave the apartment for longer than 30 minutes at a time without expecting to come home to another completed burglary. I can't afford to move yet, but I can't wait for the day I go back to doubling my current rent to live in a higher class, 100+ dwelling building.

I will probably never buy a house. As I get older and save for a down payment, I'm sure it will be for a condo. I don't care for condo associations with their politics and fees, and the fact you only own or semi-own a section of an entire building. But I would never feel safe in a house where I have only a single door sitting between myself and my things, and an entire city full of parasitic people.

comment 10y ago · link · parent

Right. The problem isn't the text protocol, it's the loose RFCs and implementations. Ultimately, "text" and "binary" are not different things; text is a subset of binary. The difference is that for some reason, many developers wind up allowing human-friendly text protocols to be flexible in terms of parsing. There's no technical reason for this, as a text protocol can easily be defined with requirements just as strict as any binary protocol.

I think with HTTP specifically, the problem is that implementations came first. There were already multiple implementations in the wild before the RFCs were written. Thus, the spec was written to accommodate the implementations rather than the other way around.

comment 10y ago · link · parent

Exactly this. Please don't change the behaviour, it's working exactly as it should. People seem to forget how this page would work had it been implemented with an ancient frameset (navigation in one frame, content in another).

Also, does nobody know that in pretty much any browser, you can hold down the back button to get a history list so you can jump back multiple pages in one step? Or the "History" menu.

comment 10y ago · link · parent

The only way to accomplish the goal in the first paragraph is to execute the steps they "don't want to" do from the second paragraph. It's more than double-speak, it's pure bullshit.

comment 10y ago · link · parent

We'll have to see whether grow-at-home will be permitted. Here in Canada it is illegal to operate a spirits distillery in your home. I wouldn't be surprised if it is not legalized, as it opens up avenues for "criminal selling", ie: people growing at home and selling it - bypassing taxation. And, let's be honest, government revenue from taxation is the real reason legalization is even on the table.

It doesn't matter how grow-at-home laws will be written. There will always be those people who will exceed the "personal plants limit" to grow and sell to friends / the street. Especially if legally obtainable strains wind up being very limited, or if the tax is too expensive.

The whole system including strain restrictions and pricing (+ taxation) is going to be interesting to watch unfold. If officials think that your average daily consumers - not the new people who will toke once legal, but those who already consume daily - are going to tolerate an increase of any amount for the product... enjoy the black market that will continue to proliferate.

I do love the lackluster "legalization will keep weed out of kids' hands!" How exactly does that way of thinking even begin to work? ;)

comment 10y ago · link · parent

I think the "aha!" moment for this is, today, still another 30-50 or even many more years away. I could ramble on for hours as to what I want the future to look like, but suffice it to say it really would be what we generally refer to now as the "automated home of the future". The largest obstacle right now is branding and current technology. Every individual company is vying to meet all your needs. Microsoft wants you to have a "Microsoft Home", Apple want you to live in your "Apple Home", Google the "Google Home", etc. This is not the future. The future, done right, requires seamless integration of all the devices we will own. To the point where we stop thinking of everything as even being a separate device. A single system that blissfully handles your entire home life.

The current situation is laughable. Existing devices in this space are designed as standalone items, which may or may not even be meant to integrate with other devices. The "standards" that have been brought to life thus far are... ugh. Just no!

I will be satisfied the day I can turn every wall into a touch display, with wireless speakers everywhere. Every lightbulb, every speaker, every appliance, every goddamn little thing seamlessly integrated into one beautiful system. No push-and-pull of different standards trying to fight for a place in my home. No separate apps on a stupid smartphone depending on what I want to control.

Microsoft's example with wanting to be the "home media center" is such an insignificantly tiny part of the whole puzzle. A TV and a set-top box gets me nothing of what I want for the future. They only have their eyes set on media consumption, what you will pay for to download and watch/play on their stupid service. It has nothing to do with actually being the center of your home, only the center of your living room spending habits.

I'm so disappointed with how slowly things are moving along. Computing is still in its infancy, and we haven't really advanced very far at all. We need a few true visionaries and inventors to come along and make things start to happen. So far, we've got nothing worthy of being called amazing.

tldr; I don't want a home media center. I want Jarvis dammit. Actually, I want more than Jarvis. And fuck 4K TV; I want to skip ahead to 1024K wall surfaces that you can look at with a fkn microscope and not tell the difference between a display and reality. ;)

comment 10y ago · link · parent

>> that large of a percentage of the population means that society has a problem. That does not just impact the individuals that don't follow good financial practices when they could

Just because it's 47% does not mean that the majority of those 47% are not entirely responsible for their own situation. The things people are mentioning (children's college/university, weddings, houses, cars) are completely dependent on the individual's own decisions. That people actually go into debt or spend their entire life savings on a bloody wedding of all things is certainly not indicative of a problem with society.

Nobody is forced to spend beyond their means to strive to place themselves above middle class. Spending is not justified because you fit the "middle class" demographic and should thus be entitled to "middle class things". There is no endemic here, only individuals making poor choices. There's no huge secret to stashing away some money. It's really not difficult. I can sympathize for someone making less than $50k/year who genuinely struggles with basics. The $50k/year earner who buys a new iPhone every year? Not so much. Someone making $150k/year who is unable to withdraw $2000 from their chequing account? Not a single ounce of sympathy for them. Unless one is in a truly sticky spot like having to pay ungodly amounts of money to manage a severe illness, there is no excuse other than an introspective look at one's priorities.

Society cannot be used as a scapegoat here. The system is not flawed. The way people try to position themselves at a higher level within the system than they can afford? There's the issue.

comment 10y ago · link · parent

That point about Linux distros such as Ubuntu is something I was looking to mention, but I'm not 100% sure I have my facts straight. That said, here's what I believe is the case. ;)

The repositories can be similar to OS X in terms of providing really outdated versions of many packages. The same day Ubuntu releases a new version of the OS, packages can already be over a year out of date from the releases made by the software's developer.

The distros won't update the official repositories with newer versions of software once the version is pinned during the testing phase of the OS, due to the extensive amount of quality assurance that goes into ensuring system-wide stability. Their reasons are justified, but the end result still means you're typically not running the best and latest of anything.

Things are a little more difficult to understand with versioning in Linux. You may have git 2.5.0, but if you're on a release of the distro for which support is still ongoing, those CVEs are probably fixed due to backported security patches that don't bump the software's version number. In this manner, official repositories on Linux distros usually give you outdated software in terms of new features, but keep you entirely up to date in terms of security.

Information for Ubuntu in particular: https://wiki.ubuntu.com/StableReleaseUpdates

And then... TIL about the backports repository: https://help.ubuntu.com/community/UbuntuBackports

comment 10y ago · link · parent

I didn't get a negative vibe from the opening paragraph on its own. If you read the rest of the post, you find a lot of unnecessary negativity regarding the entire Apple ecosystem.

>> I know, I'll just strace it to see what it execs! Oh wait, this isn't Linux. Uh, I'll dtruss it to see what it execs!

Someone who is not in the process of bashing as much as possible would have simply said something like "I'll dtruss it (OS X's equivalent to Linux's strace) to see what it execs". All the exclamation marks and passive aggressive "Uh", "Oh wait", "Well, sorry" phrasing to drive home just how terribly awful the operating system is.

The closing section with the "If you rely on machines like this, I am truly sorry" sealed it. This clear dislike for the ecosystem adds - at least for me - new meaning to the opening paragraph. Typical startup bashing for "trying to be hip and trendy". It's hardware and an operating system. Everyone has a preference for the tools they use; there's no need for passive aggressive hostility.

comment 10y ago · link · parent

Yes we did, and the author appears to be posting with the primary intent of spreading anti-Apple sentiments. The opening paragraph begins by insulting startups for being full of Macs. The rest of the post is full of snide comments. They go off on a tangent about System Integrity Protection and the fact that OS X is not Linux ("Apple... keeps you from twiddling", "Well, sorry. You also can't chmod", "I'll just strace it to see what it execs! Oh wait, this isn't Linux."). This could easily have been posted as a simple statement of the CVEs in question and the version of git shipped with latest OS X patch. Not difficult to post facts about a specific issue without insulting an entire operating system - and taking cheap shots at the people that use it.

>> If you rely on machines like this, I am truly sorry. I feel for you.

I don't feel sorry for myself. Odd that a stranger finds it necessary to offer me their sympathy, let alone condescending pity.

comment 10y ago · link · parent

Ah yes, the old "I do it because everyone else does it" excuse. It's not the system that's broken, it's every individual politician who chooses to follow that path. "You won't make it in industry X unless you do Y" is pure self-serving bullshit.

comment 10y ago · link · parent

Google specifically seems to target their services much more at the large enterprise, rather than small companies and individuals. Enterprise will always pay for support, so if they are your target market, it's a given you can get them to pay. It's less of a necessity for providing lower costs, and more of a business decision to not expend resources to acquire customers that aren't bringing in tens or hundreds of thousands of dollars every month.

$10-20/month VPS providers often respond to, and actually take action, on tickets within 5-15 minutes at no extra cost. Of course there is no guarantee, and a ticket can certainly wind up unresolved for 24+ hours. In my experience, if the ticket you file clearly explains your issue and represents something they can realistically help you with, the level of service provided for such a low server cost can be exceptional.

comment 10y ago · link · parent

Or... not. MMOs are "Massively multiplayer _online_". They are expected to require mandatory updates. Anyone who is opposed to the very concept should avoid MMOs entirely and enjoy single-player campaigns and LAN networking with friends. Games evolve. Expecting every game to maintain a live production environment of what - every previous release? - is simply unrealistic. WoW is bad enough with its expansions where different subsets of players can access any given area. Can you even imagine people complaining about not having access to play Season 1 of League of Legends? It makes no sense - to the business or the average player - to have tiny populations on old server versions that need to be maintained.

>> its best not to get too involved in games where you have no control or have no possibility of control over the infrastructure

Unless you are a professional competitive player, why would anyone become so deeply connected to a _game_ such that future updates, and/or the publisher shutting down the game entirely, would result in such a vehement reaction? If you're the type to cry "lawsuit" over a game getting updates, you may want to avoid playing such games.

tldr; For some people, "its best not to get too involved in games where you have no control" probably starts and ends with not installing an MMO to begin with.

comment 10y ago · link · parent

On iOS the page scales as expected. The only visual glitch with columns not matching up is something I'm getting on non-zoomed desktop as well. Presumably this is from specific source text of as-of-yet unexpected lengths not being handled properly during calculation of the maximum columns.

The accessibility issue would be resolved by using workarounds typical of screen-reader solutions: ARIA markup, tricks like Bootstrap's .sr-only class, etc. At the end of the day, neither images nor ASCII art are going to be accessible, so if you implement the required accessibility functionality, theoretically there is no difference between them. I do shudder to imagine just how ugly the source would look (hide every character of the nonsensical ascii from screen reader, and replace it with proper text representation).

comment 10y ago · link · parent

That article is depressing. They nonchalantly attribute the behaviour to boredom and belittling the creature like a child: "Otto is constantly craving for attention and always comes up with new stunts so we have realised we will have to keep more careful eye on him".

Let's not attribute any aspect of his behaviour to the crippling reality of captivity. Oh, no.

comment 10y ago · link · parent

The one thing a lot of people don't consider is that placing an entire site on https/ssl/tls ruins the traditional approach to caching. It used to be very simple to add a full-page caching layer in front of your unencrypted application. TLS completely destroys this. You can no longer simply plop a proxy cache in front of your application.

There are numerous approaches to make tls-for-all work, but they take more engineering effort. And some introduce security problems, like people who use CloudFlare which decrypts your traffic and then (optionally!!!) re-encrypts it between their servers and yours. Even taking the best encryption scheme with a CDN like CloudFlare still means that the CDN has full access to unencrypted payloads. That is an insane amount of trust to give away to a 3rd party company.

There is also an impact for large organizations that run everything through a local cache (like Squid). You can't share a cache between multiple clients when TLS is used. This push to encrypt everything means we're at the end of the era where such caches are useful. Does BuzzFeed really need to be encrypted?

One of the largest gaps in encryption in general is still performance. You hear all the time how TLS adds almost zero overhead anymore. This is simply false for most of us. Not everyone is Google who has their own custom low-level encryption implementation. Those of us using off-the-shelf software continue to pay the price of CPU overhead.

comment 10y ago · link · parent

My use of "name" was a poorly chosen example to tie to the concept of a reservation. I just chose it because "name" is an extremely common and unambiguous column in many tables.

comment 10y ago · link · parent

>> we ended up with reservation_name

That's absolutely terrifying. You've just provided my subconscious with new material with which to populate my nightmares.

How did the code using that database operate? Were you using "reservation_name", or did the application revert the naming scheme by mapping the column to "name"?

Either way, FML.

comment 10y ago · link · parent

I tabbed away from my previous comment for a minute, which made me forget to mention the ORM scheme in applications. You're exactly right.

Nobody ever uses the class "Reservation" with a property named "reservation_id" in their code. They will name their column "reservation_id" in the database, but then work to undo that at the application level by telling the ORM to map "reservation_id" to an object property named "id". It creates the situation where developers fight against the database schema in their code, and adds an unnecessary level of complexity when comparing code to database. "Why is it 'id' in code but 'reservation_id' in the database?".

A common counterargument from pure DBAs, who are not themselves writing code that integrates with the schemas they create, is that databases should be approached as a completely standalone component that should not be designed with applications' structures in mind. That applications are free to bastardize the database schema in any way they please, so it really doesn't matter anyway. I personally prefer to see it as a reality that applications will be the primary consumer of the database resource, and deserve to have their intended integrations analyzed. Once the database is finalized, it is the application developers who will be studying the schema on a weekly basis. Anything to ease that constant inspection process, the better.

Of course, this is all personal preference. I have learned over the years to finally stop arguing so much over these little details. In real life with coworkers, anyway. It's still fun to battle for your point of view with forum strangers! :D

comment 10y ago · link · parent

Not really a fan. When your table name is "reservation", you're prefixing "id" with the table name ("reservation_id"), but you don't do the same for the other columns. I've never liked the inconsistency of having "reservation_id", but other columns like "name" instead of "reservation_name". Especially on longer table names where you wind up with columns like "this_really_long_table_id".

All just to shorten join clauses with a natural join or USING? You already get shortened joins - less so, but still a gain - by using table aliases so as not to repeat the long table names in each query multiple times. IMO it also takes an extra moment to parse the ambiguous "id" columns to resolve them mentally to which id is being referred to.

1
2324252627