1,328 karma · joined April 20, 2010
hn@prx_d0t_us
Comcast already refused to make infrastructure upgrades so that customers (who were paying Comcast) could get the services they wanted (Netflix). If net neutrality protections are removed, they could just throttle them out of existence.
I, as a one man web dev shop, run about 20 or so websites. Some are info sites, some are SaaS, some are just hobbies. Comcast won't throttle traffic to me because they don't care about someone as small as me -- but if Comcast and all the other ISPs start offering "fast lane service" for cheaper prices that give prime service to big places like Facebook/etc (who can afford to pay the ISPs kickbacks), and degraded or "normal" service to everyone else (me), then I am harmed just the same.
If you want to play offense rather than defense, your money is better spent lobbying to get the law changed so that overly broad patents are more difficult to acquire in the first place.
On top of that, it's just as easy to set up a catchall email address -- an email box that accepts all mail for a domain, literally anything@mydomain.com. So a malicious actor could sidestep this security attempt with minimal effort, but it still inconveniences legitimate users despite being worthless from a security perspective.
Nor was I ever taught anything about savings accounts, tax-deferred retirement accounts, stock investing, etc. Although I hear stock investing in particular does come up in a lot of schools because it's "fun". But I never had any teachers let us play the stock market for fun, I totally would have been into that. I was never even shown a tax form in school, let alone had it explained.
I was able to do my own taxes because my dad showed me how. My mom showed me how to balance a checkbook, although that rapidly became useless knowledge when I could start monitoring my account online on a daily basis :) The rest I just kinda figured out, or didn't. My dad told me credit cards were bad but never explained them, ended up getting in debt, have been out of debt for a few years and now use credit cards responsibly -- "pay off in full to get the cashback, never pay interest". Nope nobody ever told me that either.
I certainly did not have it myself, and my K-12 years were from 1985-1998 in Indiana (public school). We had an accounting class. We had a government class that taught how a bill becomes a law and all that. We even had a home economics class where we learned how to make pillows and pigs-in-blankets. But no personal finance whatsoever, and certainly no economics until college.
I distinctly remember approximately 15 minutes of relevant personal finance education in all my primary school years, when one math teacher went off-curriculum at the end of a class to show us the magic of compound interest. (It blew my mind)
Everything else, from balancing a checkbook (no that wasn't taught in accounting) to filling out tax forms to how credit cards work was either taught by my parents or self-learned through social context.
You do realize how many poor college students have been taken in by credit card offers that used to be right on campus to sign up gullible freshmen, don't you? Fortunately I think that has fallen out of practice (it got enough publicity that colleges now realize it makes them look bad, I think). But for how many years have millions of 18-year-olds fallen into this kind of trap?
You think any of those people had personal finance classes? I seriously, seriously doubt that. I think the vast majority of Americans (until recently) did not have any such formal education on how to navigate money in the real world.
I don't have any idea the prevalence of this kind of education in other countries, though.
However, you really really need to be careful about SQL injection. I can see that you tried to lock it down as much as possible, as far as I can tell the account the queries are running under only has SELECT permission (no update/delete/etc). However I was still able to get some data you probably don't want me to have...
This query returns a list of all tables in your database:
SELECT c.relname||'' FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
And this query returns a list of users and their privileges:
SELECT usename||'', usecreatedb||'', usesuper||'', usecatupd||'' FROM pg_user
I guess your name is Andy based on your HN username, but who is Rusty? :) And that's just what I've been able to get in 5 minutes of trying, let alone a determined attacker.
The numbers expressed by GP for how far Earth is from Mars is actually referring to how far Earth's orbit is from Mars' orbit, not the distance of the planets themselves at various positions in their orbits.
The math doesn't work that way.
If you take all the bitcoin mining operations in the whole world, China and every other country, put them together and somehow duplicated all that under your own control, so that you own as much as everyone else put together, you own 50% of the global hashrate... that only gives you a 50% chance that you will mine the next block, let alone 7 in a row.
The chances of mining 7 blocks in a row, even if you own as much as everyone else in the world put together, is less than 1%.
And it would cost billions of dollars worth of ASICs to get that 1% chance.
For extra credit, I will point out (which you may not know EGreg?) that the password he speaks verbally, and the password that appears on the display visually, are NOT the same and differ by a few digits near the end, a small mistake in production.
It has a good chance of working, in my opinion (the lightning network), if they don't dawdle too long. But the clock is ticking.
I suspect that from Nvidia's viewpoint, cloud providers are a middleman and make GPU usage more efficient, which threatens sales. Why should I, ask a cryptocurrency miner, buy 4 new video cards when I can rent unused time that has already been paid for by someone else at the data center? (if the cost is cheaper, which sometimes it is)
Though I question how they intend to enforce this new provision of theirs given that GPU cloud usage is already widespread.
The entire purpose of this article being written was to get a good looking (SEO-wise) back link to the domain "businessmacroeconomics.com". If you look at all the links in the article, they are almost all to major news media publications (safe links to make the page look good). Then the real link appears at the end of the second-to-last section (the perfect spot for SEO). It's the only link not to a major news outlet, and if you look at that domain/website, it's some guy selling a book no one's ever heard of.
This article was 100% paid, for SEO purposes and written by someone who has no idea what they're talking about. They just ramble for 500-1000 words to get good (human-sounding) content so that google will trust it's a good backlink to the author's website and put him at a higher rank in the search results.
Either a voting ring got this post to the front page of HN, or 29 HN readers (at the time of this post) were swindled into thinking there was any substance here at all.
The more modern equivalent, is to just have an "app server" that sits in between the web (DMZ) and db tiers. The app server can basically be just another web server that provides an API for the actual web server to use. So from the web server's point of view, it still has restricted access, but you get to write all the rules in your normal backend architecture/language rather than building them with stored procedures and triggers and all that.
Besides, the "rarely a use case" isn't the same as "never", and if you can envision any scenario where it would be worthwhile to go to extraordinary means to ensure security, I think "we have all the data needed to commit identity theft on half of all Americans" counts. If stored procedures is a convenient way for you to limit the impact of a breach from your web server/DMZ, then do it if you have data that important. Do 20 other things that are inconvenient too if it gives you defense in depth.
Or don't think of it as counting, just think of it as a drumbeat. Bah-bah-bah-BAH. Bah-bah-bah-BAH. Make sure to go slow enough that it's actually four seconds and not two (whole beats, not half-beats). But the end goal is to not have to think about it at all. It may require thousands of repetitions.
At this point I'm starting to think the best shot we've got is if Tesla swoops in and saves the day with very-low-earth-orbit satellite internet service. Even that's not a guarantee because who knows how they'd operate as an ISP, maybe no better than what we've already got. Add onto that the fact that attempts at net neutrality are being rolled back and we may face the prospect of internet slow lanes, and the picture may be getting very bleak.
If you don't want to trust your hosting provider with anything, you have to own the hardware.
I ended up reluctantly taking a job working for the State of California, mostly because the schedule was flexible and it was a 5 minute commute. In the last 18 months I've gotten two promotions, including one four months after I started which is unheard of in state service (and which my bosses had to fight HR to get). I spearheaded the acquisition and implemented of a version control system, which no one hear had ever used (they were just FTPing files all the time, risking overwriting of others' work etc), and got buy-in from all the developers who now say they couldn't imagine working without it. I also now wear a variety of hats besides programming including sysadmin work, dba work, architecture design, etc. My bosses rely on me more and more everyday just for my opinions and advice, let alone the work I do.
Yet now, when I send out my resume, it's almost always crickets. A year and a half ago, when the first item on my work experience list was "failed entrepreneurship", the response rate to my resume was about 80% (not even talking about interviews, just getting a response at all). Now it's more like 20%, all because the first item in my work experience section is my current job working in public service.
I admit, many of my coworkers probably deserve the reputation that public sector work has. A significant number of them are clock-watchers that the bosses don't even try to assign anything important to, because they know they don't give a shit and can't easily be fired (union), they are just filling a chair waiting for their public pension to accumulate over 20-30 years. Nevertheless, I also list on my resume all of the above, including the pioneering (for us) work I've accomplished here implementing version control etc. I never intended to stay here more than a couple of years, but I also never intended for this job to have such a negative impact on my job prospects.
I think I am probably going to revise my resume to leave this job off completely, and just say I've been working for myself for 9 years instead of 7. I predict sadly that this will return the response rate back to what it was before I had this job.
Teasing friends is fine and good, all fun and games, but I think it builds deeper and more meaningful relationships to build people up rather than tear them down (even in jest). I don't make friends with people who tease routinely (all in good fun), but that's my choice. I tolerate it from family, because, family.
By the way, most school bullying starts as unreciprocated teasing. Yeah, teasing is childish and I too think friendships are better without it. Maybe it means I take myself too seriously, but I prefer to compensate for others' weaknesses (especially colleagues and spouse) rather than point it out to have a good laugh about it.
And if you're a kid, you're not going to be the one who complains about it. You don't know words like introverted or strategies like "haha that's funny, let's change the subject", you're just going to grin and bear it. And then the teaser (in total innocence, not maliciously) is going to be like, "well he always grins when I do that"...
Is it because founders for the most part accept whatever the VCs dictate, even things that benefit the VCs only slightly but still get thrown in because the VCs pretty much get their way no matter what?
update [table] set ...; if @@ROWCOUNT = 0 insert into [table] ...