Better HN
topnewbestaskshowjobs
Log inSign up

developer2

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

Submissions

comment 9y ago · link · parent

Without entirely ruling out the opinion, you can take any advice that such logic must take place in a reverse proxy in front of the app with a grain of salt. It's one thing to place certain anti-DOS/DDOS logic in front of the app, but basic rate limiting that depends on inspection of each request (including cache/database lookups for per-user limit increases) is certainly something that is very commonly found at the application middleware layer (after user authentication and route parsing, but before the controller).

Rate limiting is not meant to be a hard defence against denial of service attacks - that is an entirely separate engineering problem, where even a reverse proxy is not enough protection when you're facing a network-level flood. The primary purpose of rate limiting isn't to prevent hitting the application at all - it's to prevent hitting the heavy logic that starts when the controller is invoked. As long as your application's bootstrapping layer is lightweight, there is no problem with leaving rate limiting as part of the application.

comment 9y ago · link · parent

It's not that. Read my parent comment. They lament the fact that someone hasn't freely handed out an open source handheld gaming device... for 2D games. Not only would 2D gaming be outdated and a waste of a modern gaming device, but they wish some company or individual would hand them a hardware device and software platform, all for "tinkering".

They're asking for a million dollars or more to be invested by someone else, simply to be able to fool around with it. The very concept screams not understanding how much time and money it takes to produce such hardware and matching software. We're not talking about $5,000 and one month of development time from some indie developer; we're talking about more than $1 million and 2-3 years of development time from a serious shop... all for free and as open source? Not going to happen.

comment 9y ago · link · parent

Really? You expect someone to invest thousands of hours of personal development time to give YOU a free platform to tinker on? And in 90's form factor of 2D?

Open source has its place, but you're asking for someone to selflessly give their entire life so you can "play" in a sandbox - and in 2D instead of 3D, as if that's viable anymore. Give me a break. If it's so easy, do it yourself.

comment 9y ago · link · parent

You're splitting hairs to explain something that doesn't matter. The article stands well on its own two feet without nitpicking the similarities as you have done.

comment 9y ago · link · parent

In addition to those who whitelist based on MAC address, some networks also assign "static IPs" via DHCP based on the MAC address.

comment 9y ago · link · parent

What popular streamer has recently switched to Curse? Every streamer I watch uses Discord. Each and every one of them. I haven't seen Curse used in well over a year now. Curse finally got around to updating the UI and features of their client a while back, but it was too little too late. Discord had already won.

comment 9y ago · link · parent

>> except those groups that have spent lots of time on crazy teamspeak setups with lots of ranks, different overlapping groups and so on

Is TeamSpeak an open API? Shouldn't be difficult at all to write an import tool to import a TeamSpeak server's group structure to equivalent Discord roles.

comment 9y ago · link · parent

The truly monstrous users like myself use both systems: 3 monitors, with multiple virtual spaces on each. I can't have it any other way. The primary spaces on each monitor are a) IDE, b) Chrome, c) Terminal. The secondary space on monitor 1 is database tool, monitor 2 is Postman for API testing, monitor 3 is a split-screen of email and Slack.

A benefit of this system are that email and Slack are on a dedicated screen, but on a secondary space of a secondary monitor. The distraction of those communication tools is completely out of the way; I specifically switch to that screen when I am willing to switch out of "real work". Yet it's not complicated at all - a single 3-finger swipe to the left on monitor 3.

comment 9y ago · link · parent

The request for ID is certainly not standard across all accounts and situations. My guess: the account reactivation came from a different location than OP's home country/state, or OP themselves moved states/countries in the past 5 years. The account being reactivated from a different location would certainly be cause for alarm. This would be a reasonable check in my book, as it is the best way to fight against compromised credentials - you know, the exact situation OP finds themselves in for having reused their Facebook password on other (previously compromised?) sites.

What the OP doesn't seem to understand is that the attacker may have been able to technically "reactivate" the account, but they also probably can't actually gain access until they provide ID. This ID requirement has likely saved the OP's account from actually falling into the attacker's eager hands.

OP is complaining about the privacy implications of a compromised reactivation by an attacker, and sour they are being asked to prove that they are not the attacker. Take off the tin foil hat, stop crying foul, be grateful Facebook seems to have saved your password-reusing ass, send them the ID, and then delete the account instead of deactivating it.

comment 9y ago · link · parent

Phone number reuse is also a major pain in this scenario. If your mobile phone number has ever changed, you still likely have the old number registered with many sites. The SMS you received may not have been for your Facebook account, but rather for someone else's account using your new phone number that used to belong to them.

The number of sites that use - sometimes even requiring - SMS as a backup authentication mechanism, even while you use a separate authenticator app, is astounding. Cell phone number recycling is just as bad as email addresses.

comment 9y ago · link · parent

>> The majority of the population does not care about this one bit. They're going to carry on driving their gas guzzlers. The only change we can make is if we, who understand what is at stake, invest in renewables

>> When the backwards people will see us all in our cheap to run, fast to accelerate and cheap to maintain electric pass them on the highway will they feel dumb buying gallons of gas to keep their guzzlers going.

It's always funny to see someone posting online about how they consider themselves to be part of a group that supposedly "cares", while proclaiming that it's other people who are the (larger part of the) problem.

If you a) live in a populated city; b) purchase products that must be manufactured, shipped, and disposed of; c) own any vehicle (including fully electric); d) use electricity to power heat, A/C, and technology including a computer used to post on HN: you are categorically part of the problem. There is no such thing as an environmentally responsible citizen in any first world country. We all live unsustainably, and no amount of "I bought an electric vehicle", "I recycle and compost", "I buy local", etc., makes the tiniest dent in the system. I wish people who believe they are environmentally self-conscious while still living in unsustainable comfort would get off their high horses. Your contribution to the ecosystem's woes is not measurably different whatsoever compared to that of your "uncaring" neighbors.

comment 9y ago · link · parent

So you're driving scooters (not even one scooter... 3 of them!) around in, let me guess, a poor neighborhood where the average household can barely afford food on their welfare and food stamps, while you manage to have scooters and 5 (let me guess, >= $400 per unit) bikes?! Your friend had a high-end MacBook, other computer(s), and expensive phone(s) - all while their neighbors can't afford a 13 inch CRT television?

Again, I don't mean to make excuses for the criminals. But when you live in a neighborhood whereby you clearly have access to more money and possessions than your neighbors, those neighbors will take advantage. Never live "beyond your means" in daily life compared to your rent. That is my experience. If you cheap out on rent, while using your disposable income to buy fancy things, your neighbors will make a victim out of you.

If you can afford a $3,000 MacBook, you have no business paying < $1,000/month rent. Oh sure, you have the right to do so, and you should be legally protected against such attacks. But that's not how the reality of the world works. Medium (or nearly medium) income households who show off they are living above the wealth of their neighbors, will never live harmoniously among the poor who can't afford the same level of comfort. Fact of life.

If you are going to live in a poor neighborhood, you had better act poor. The moment you step out of your cheap-ass apartment wearing a suit and carrying a laptop, jumping onto a scooter or $50k car instead of a < $100 bike or < $500 used car, you've instantly made yourself an easy target.

comment 9y ago · link · parent

>> It's like you think crime doesn't exist in New Zealand.

No, I just find it extremely unlikely for a single family to have been targeted in four separate cities. I firmly believe that any burglar deserves life in jail for their first crime, and tend to try not to blame victims for being targeted, but... 4 times across 4 cities, averaging once every 5-6 years? That doesn't sound legit whatsoever, unless the family is doing something to paint a target on their backs.

>> we used to have washing stolen off the line all the time so we would dry clothes in-doors

I mean no disrespect - frankly it's better for the environment and I would normally applaud - but in this modern age using an outdoor clothesline is a sign of poverty, meaning you at least lived in a poor neighborhood where outdoor drying was common. I would bet that you displayed some indication to your poor neighbors that you were not as poor as them. Maybe you're hanging $30-per-pair of designer underwear on your line while they are hanging $1 budget underwear from Walmart on theirs. You probably own a middle-class brand new car, > $30k off the dealership's lot, compared to their < $500 third-hand vehicle that barely gets them from point A to point B. The moment a poor neighbor living off welfare knows you are even slightly beyond their means, you WILL become their target. You might have been hanging clothes outside (ie: "possibly poor"), but you've shown otherwise that you have more money than someone who must hang their laundry outdoors to make ends meet. There is a perceivable difference between hanging clothes outdoors as an optional luxury, vs. being forced into doing so by being at a financial disadvantage.

Source: only been burglarized once and it was while I was earning an above-average income, while living in a poor neighborhood. I know it was my neighbor who couldn't even afford to have electricity hooked up, and they saw me leaving to work every morning with my laptop case. It's unfortunate and disgusting, but yes - if you live in a poor area with more money and possessions than your neighbors, they will notice and make a victim out of you.

tldr; While you were living in a below-average income neighborhood, most likely working for a living while your neighbors lived on free welfare, you found them stealing from you? Forget your sense of basic entitlement and privacy for a moment; quite simply, am I right or wrong? Again, I'm not insulting you for your likely "above average" situation at the time. I'm merely trying to gauge against my own experience, which is that you will become a victim if you live amongst those who are poorer than you.

comment 9y ago · link · parent

At least in Canada, portable card readers are the norm. Specifically to counter fraud, you no longer expect to hand your plastic over to an employee who brings it behind the bar. They come to you with a wireless machine, and you insert your own card. It blows my mind how the U.S. is 10-15 years behind the rest of us; the technology behind "debit cards" in the U.S. compared to that of Canada and Europe is almost laughable. The refusal to perform a one-time upgrade to new tech, while continuing to absorb the costs of rampant fraud is completely senseless.

comment 9y ago · link · parent

>> You could enter your data on both sites, and if they match, file [... with the product that did the math correctly]

Square quotes mine. This should be standard practice for all tax filers using an online tool or downloadable application. In most cases you, as the taxed citizen, will be held liable for any mistakes on your return. Very few situations will find the tax software provider being legally at fault for an incorrect calculation. Protect your own ass(ets) by verifying your input with separate providers. If there any discrepancies, figure out why and file with the correct result. Do not try to "get away with" filing with the provider that is most in your favor without understanding the reason; from the point of view of your government, you might be filing a fraudulent tax return. Willful negligence of tax law is not a valid excuse in their eyes.

comment 9y ago · link · parent

$10 to visit the Taj Mahal - oh my God, so exploitive! That's the sort of thing I was thinking of. It really isn't exploitative at all. Should it technically be free? Yes, but no first world visitor is going to be put out of their way for $10. shrug

Of course, there is a huge difference between making your own way to a tourist trap, vs. being "guided" there. One should always be prepared to be scammed if one is paying someone just to travel to a given destination, vs. paying to actually enter that location by the authoritative body at an official entrance. If you're not paying someone at a physical barricade to the location, you're being scammed. Not too hard to understand.

comment 9y ago · link · parent

Are you being straight up honest? You've been robbed or burglarized at least four times in 22 years, living in four different residences, while living in four separate cities? The odds of that having happened are infinitesimally unlikely. Do you walk around your neighborhood, flaunting the fact you are a millionaire, while living in the poorest districts? Your situation cannot be representative of the norm; you sound like someone who is embellishing, flat out lying, or unnecessarily putting yourself in a position to become a victim. There's just no way your luck is "randomly" that bad.

Edit: I've read your history. You clearly indulge with every comment. You have not been robbed 4 times in 22 years in New Zealand. Pathological liar, you should be ashamed. This is HackerNews, not Reddit - people are not going to give you 1,000 sympathetic upvotes for your invented sob story.

comment 9y ago · link · parent

>> charge significantly more for non-citizens (in India, in this case)

Out of curiosity, in India specifically, are the prices targeted at tourists truly exploitive, or are they simply in line with what we can afford in terms of currency exchange? There is a vast gap between "prices are ridiculous, even for tourists", vs. "the tourist is paying more than locals, but they're still getting a bargain or similar to what they'd pay back home".

As a tourist, I don't care if I'm being singled out and paying "reasonable prices based on my wealth". I'm smart enough to "nope out of" paying $100 USD for something that should be $20 USD, but I'm not going to complain because a native is trying to earn a decent wage in their poor economy (eg: $100 USD vs. $70 USD).

comment 9y ago · link · parent

Your comment is underrated. When rich people are not tipping, and only poor people who are in a position to understand what living off of tips means does such, something is wrong. The process of tipping is practically equivalent to playing the lottery - a huge majority of people who buy lottery tickets are poor or part of the lowest segment of the middle class.

Frankly, I just don't understand tipping. I still tip better than most people (20-30%) because I can afford it and know that their employer is fucking them over big time. Were I a millionaire, I'd probably stop tipping altogether as a sign of protest. It's strange how we justify either side of the coin.

comment 9y ago · link · parent

>> you're also breaking the law if you walk out of a cab without paying

How funny, that as I leave such a taxi, not one of these drivers have risen their voice about my refusal to pay. One of them tried to retract by pulling out the official keypad, and by then I was already exiting the car as he shrugged his indignation. They are the ones in the legal wrong, and they know it.

comment 9y ago · link · parent

Are you a taxi driver? You are being so apologetic towards a group of criminals, I have to assume you are one of them. Since when it is acceptable to ignore your employer's rules, to earn an extra 7%? Normal companies in any other industry would be be firing you on the spot, and probably seeing you in court, for this kind of bullshit. Truly moronic.

comment 9y ago · link · parent

The discussion of compensation is an extremely simple concept: you wait for the candidate to bring it up, and you discuss it only at that point in time. The interviewer should never bring up compensation before the candidate does, unless the potential employee is so shy that they are waiting for the employer to do so first. The moment an employer tries to pre-emptively bring up the topic of money before it makes sense, it shows their true colors - they care far too much about the money rather than the talent they are hiring.

It really is that basic. When the company cares more about the money than what the employee can bring, they've shown their company cares more about their internal politics then they do about their future success. Simple as that.

comment 9y ago · link · parent

You're stating that they're not guilty until caught in the act.

What percentage of the population do you think scrutinizes every credit card statement line-by-line? Many people would not notice an unauthorized charge on their card. It's merely a matter of scale: some people will notice a single unauthorized charge for $5, while others won't even notice $500. Credit card fraud is rampant, and any company that willingly allows its employees to get away with it should be shut down. My experience shows that my city's taxi companies consider credit card fraud as something that doesn't even register on their radar. Drivers that operate in this manner should be criminally charged. It's not just fraud to the taxi company - it is a criminal act of theft for the customers.

comment 9y ago · link · parent

With all due respect, the parent to my comment - an apparent employee at GitLab - said "I am the recruiter at GL". "The recruiter", not "a recruiter" How else is that to be interpreted? With whom does the candidate discuss compensation? This one single recruiter, or the manager of the team with whom the employee would be placed? Why does GitLab have a "recruiter", rather than an "HR employee" or "hiring manager"? The term "recruiter" generally means an external non-employee who is financially compensated for each new hire brought on board. "HR" or "hiring managers" are company employees, given a flat salary irrespective of the number or quality of hires. Which do you have?

Either way, the parent comment is full of language that raises red flags to competent developers. Personally, my first thought is "oh hell no!". It's possible that their comment is not representative of the company's effective policies, but when one perceives this kind of reply as an official stance of the company's standpoint, it is difficult to retract.

comment 9y ago · link · parent

Holy crap, you've just done your company - or if you are an external recruiter, your client - a huge disservice by posting this reply. You've done nothing to assuage future candidates' concerns. You've merely confirmed that your compensation offers, and likely the entire hiring process, is driven by undesirable corporate metrics. This makes GitLab sounds seem like a company that only knows how to regurgitate HR 101 tactics. No thanks.

GitLab, diversify/improve your recruitment strategy. Why you only have "the recruiter", aka a single person heading your recruitment, rather than a group of competent personnel, is concerning. Your public image is of a medium-sized company which is already established, not a tiny startup outfit wherein all hires rely on a sole (apparently inadequate) person vetting each potential employee.

comment 9y ago · link · parent

Taxi drivers in my city are notorious for, at least in my experience, attempting to swipe your credit card with Stripe on their personal cell phones. Not just for the tip, but for the entire fare. They openly commit fraud against their company by trying to steal the fare for themselves without reporting it to their company.

I've refused to pay for, and reported to their company, 4 separate drivers in the past 2 years for this practice. I have to assume that the companies somehow don't care that their drivers are going rogue, or else this wouldn't be happening so frequently. Where is the threat of dismissal, or even better, prosecution? Same thing goes for unlicensed taxi drivers moonlighting with a friend's car - taxi drivers here are required to hang their licensed ID on the side window, and the frequency with which you find someone driving "off the books" is downright reprehensible.

The worst part is, I feel my personal safety is at risk every time I report these criminals. They are likely to know it was me, and they know where I live. It's irresponsible, potentially dangerous, and unacceptable to permit them to operate in this way.

Our taxi companies are hook, line, and sinker in the pockets of our government. We have a history of corruption here, and taxi companies are definitely part of the equation.

comment 9y ago · link · parent

With optional after-the-fact tipping, I'd still be concerned whether or not the fact you tipped is tracked. When you tip, is the driver individually informed? The next time you get the same driver, are they in a position to remember that you were a bad tipper on the last trip? Even if the driver isn't made aware of your individual tipping history, surely the company as a whole is tracking this information and building a (negative) profile for you. Do they charge you more on subsequent rides to compensate for your perceived poor history?

This is the problem with tipping - there is ALWAYS room for abuse. I don't understand why you'd be at ease for not being "put on the spot" to tip, when the driver or company still knows afterwards. The facts haven't changed; they still know whether you tip, and any "consequences" for not tipping will still be in play. You're playing a mind game with yourself if you think that adding a few hours of buffer between service and tip is any different than tipping on the spot.

This is why, all employees - regardless of the company and its industry - should not be tipped. Pay your staff a proper wage, and fire people who do not provide good service. The very concept of tipping is ridiculous. It serves no other reason than to satisfy employers' lowballing of wage, while inducing anxiety to their customers.

comment 9y ago · link · parent

I love your way of thinking. Assuming proper waterproofing, hiding it underwater would be the most unexpected thing you could do. I'm a smart guy and that thought hadn't occurred to me, even if I only dedicated 3 minutes of my time to the process. The majority of people would naturally assume it's on land; to place it in the water automatically ruins the consensus assumption.
1
121314
27