4,107 karma · joined Feb 17, 2010 (16y ago) · 1,490 submissions
https://coderescue.com
comment 10y ago · link · parent
Hosted != wpengine.com, hosted can mean a managed site with CPanel installed.
> you're being a snob about stuff for no other reason than to be a snob
No, I avoid using or recommending technology that is insecure-by-design. That includes PHP and just about everything built on it.
>I don't think anyone can take your assessments about this stuff seriously.
Considering how much I make consulting about "this stuff," I have no worry about how seriously I'm taken. Sorry if I've offended a technology you like, but it's really pretty awful.
comment 10y ago · link · parent
There are other sites where you can get managed CMS hosting (wix.com, squarespace.com, even wpengine.com etc.) to build a CMS on.
To suggest that "WordPress" is a good solution at this point should get you laughed out of the room. wpengine.com is a reasonable solution. "WordPress", hosted on your own server, is a disaster waiting to happen.
I actually tried building something, not on WordPress, but Drupal, and as a result can't imagine recommending anything that's PHP-based being a good technical solution.
Call me a PHP snob then. It's so horrible to work with I can't imagine that other solutions can't be better.
comment 10y ago · link · parent
No, the original studies talked about 10x productivity, not 10x lines of code. The more productive developers also produced fewer lines of code for similarly complex tasks, and it was easier to debug, to understand, and to modify. They also frequently would produce net-negative-lines-of-code on productive days.
Article is clickbait with a strawman premise, no question. I think it particularly attracts the clicks of 1x developers who like to think the 10x developers aren't anything special. There are certainly many more 1x developers.
The top-voted comment as I write this frames someone who recommends WordPress as a solid engineer. Enough said.
comment 10y ago · link · parent
comment 10y ago · link · parent
Is not what's being proposed by pretty much anyone.
$12,000/year per American adult who isn't already earning $X/year is how I understand it. A negative income tax, effectively.
Even if it's not administered that way (i.e., everyone gets a $1k check every month), then you raise taxes in such a way that every dollar earned means you earn more, but that by, say, $48k/year you're paying at least $12k/year in taxes.
comment 10y ago · link · parent
GBI could (should?) function, effectively, like a negative income tax -- below a certain income level the government pays you. Above that level, you earn nothing from the government, because you're making more than some specific threshold already (probably at least 1.5x GBI, preferably higher [1]).
So yes, it would discourage people from going to a new country for fun and lounging around there and not working. People who want to move to a new country should do it because there's a job for them in that new country, and if it doesn't pay above the GBI threshold, then yes, they should probably stay home. If you're a consultant who can work from anywhere, and you make more than the cutoff (which I would hope!), then GBI is similarly irrelevant.
GBI for a backup income while you're starting a company is also something to think about: Where would the US prefer that you start a company? Here, of course. So I think that GBI encouraging people to work in the country is absolutely appropriate.
Finally, GBI could be provided to US citizens and permanent residents who spend more than X% of their time in the country. If that's 51%, then you could spend nearly six months in another country getting situated before GBI would cut off, which should be more than enough time to pick up a job there. Even if it only paid you for 2-3 months of living abroad, that's not bad for a paid vacation and/or job hunt.
[1] This may be obvious to most; apologies in advance. If you phase out GBI at a 1:1 rate with what you earn, as in, if you earn $10, you get $10 less GBI, then taking a job that paid less than GBI would earn you nothing (unless you're being paid under the table, but let's assume we don't want to encourage people to cheat). EDIT: My math was wrong. The idea is that you set the marginal tax rates such that every dollar you earn earns you more money, but that by the time your income is at some arbitrary level, you're paying more than GBI in taxes. Figuring out the exact rate curve is left as an exercise for the reader. ;)
comment 10y ago · link · parent
I've worked with video format streaming, though, and encountered a situation where there was a driver on a certain Android device manufactured by a major hardware vendor that you've certainly heard of, and their driver silently corrupted video that was using low-latency streaming options. And by "corrupted" I mean that, while a few of the pixels looked almost right, sometimes, it was mostly just garbage and blank grey screens.
I gave them a sample stream that failed, and they verified that yes, it's their fault. And that no, they weren't going to ship an update for it. Sorry. Device had been out for two years. Apparently no one thought to actually test the various standard options in that video codec. It works with the "normal" options? Ship it!
So I totally understand the need to look at UA strings. I had to look for that particular device hardware profile and disable the low-latency streaming options in order for our product to work on that device.
comment 10y ago · link · parent
I've actually considered the idea of hacking a JSX compiler to spit out Mithril output.
If you're going to mix mark-up in your JavaScript, may as well do it with "real" mark-up instead of some imitation language. I'm still on the fence about whether I like mixing mark-up and code, but I'm leaning more toward at this point.
comment 10y ago · link · parent
Problem is that most tasks likely to waste my time are things that would take longer to delegate (due to detailed instructions, needing to answer questions about needs, needing to set them up with the ability to pay bills...) than to just do myself.
comment 10y ago · link · parent
But it's not strictly parenthesis that bother me. You're right in that )]}) is actually far more annoying. I try not to nest that deep in JS if I can help it.
Arrow functions reduce the pain. Not passing array literals in function calls helps as well. Angular seems like the big culprit that injects [] into the middle of an argument list, for me anyway, and using that syntax is optional.
comment 10y ago · link · parent
To paraphrase a famous quote, Capitalism is the worst system possible, except for all of the other systems that have been tried.
There are a number of possible ways to hack/change capitalism that, while they don't change the fundamental principles, do make the process more sustainable.
comment 10y ago · link · parent
Single-payer health care that extends to psychological services and mental handicaps would cover this, right?
Some people need to be institutionalized, or otherwise supported 24/7. BI allows us to close most government assistance programs, but there still would need to be subsidized health care. Maybe there's a serious co-pay for living arrangements, deducted from BI, so that people don't just claim psychological problems to get free housing.
But the problem is solvable.
comment 10y ago · link · parent
People play PowerBall to extremes and similar because they're desperate.
I doubt $12k/year would be sufficient, BTW. You want people to be able to live a decent, if spartan, life on BI, and at $12k I think they'd be forced to decide between starving or extremely poor living conditions.
Probably $18k/year would be an absolute minimum, plus allowances for kids (how to handle kids is a HUGE question, well outside the scope of this post).
The amount you earn could vary by chosen living area, in proportion to living expenses. Maybe not 100% proportionally; if an area has 150% of the cost of living, but only pays you 125% more than the nominal amount, there would still be a pressure to move to less expensive areas, but more expensive areas wouldn't de facto exclude people on BI.
There needs to be extended discussion on the details. I don't know nearly enough to be able to have all of the answers. But it seems like the answer is out there, if enough people get together to work on it.
comment 10y ago · link · parent
Both response essays have really compelling points, and even as I read PG's original, I felt like he was catastrophizing.
Something that none of the above mention is that, as "job eliminators," we need to start considering how to keep the people who have no chance at a job can continue to live reasonable lives.
California, despite being the home of Silicon Valley, still has "truck driver" as the most common occupation as of 2014. [2] In ten years we'll probably be seeing the first self-driving trucks; in 25 the occupation will likely be gone for any runs that don't require humans to unload the truck at the other end (home or small commercial delivery drivers, movers, etc.; a lot of trucks just move goods from one manned loading dock to another).
Before you say they'll work at some new job, what other jobs at that skill level won't also be automated by that time?
We need a serious movement toward guaranteed income. Capitalism needs consumers; if most of the population can't get jobs, who will be the consumers? And what will happen to those people? Without guaranteed income, they'll be desperate; I don't exaggerate in suggesting that the poor will eventually get to the point of trying to overthrow or attack the rich. A brief look at the fall of various past civilizations will reveal many parallels, and even if the rich could sufficiently arm themselves to resist, living in cyberpunk-style walled enclaves, that's not a future I would want to live in.
Making sure everyone has enough to live a decent life is the only path I can see to a humane future.
[1] http://cryoshon.co/2016/01/02/a-response-to-paul-grahams-art...
[2] http://www.npr.org/sections/money/2015/02/05/382664837/map-t...
comment 10y ago · link · parent
I strongly care about net neutrality, too. And I wouldn't personally care if they texted me with a "reply with 'disable' to disable Binge On" text message, but too many people with no clue of the ramifications might disable it.
You'd really need to force people to learn something that 98% of T-Mobile customers don't care about -- and I would find it annoying to be forced to learn something that I personally find obvious.
comment 10y ago · link · parent
Almost all video streaming services will downgrade the stream quality if they get a 1.5Mbps pipe, and any that don't are at a competitive disadvantage to anyone who is streaming from a phone and who actually only has a 1.5Mbps pipe. It's built into most of the streaming protocols to downgrade on a slower connection. Source: I worked with video streaming on the client side when I was at Amazon, and additionally researched other options to the one we settled on.
So T-Mobile is asking users to choose between a (potentially) lower quality video stream in exchange for getting tons of video streaming options for free. This reduces load on their network, because people were obviously streaming anyway, and has convinced the biggest providers like Netflix to voluntarily reduce their bandwidth consumption to 480p in order to get free streaming to T-Mobile customers.
At best I would say that better user education could be called for, or potentially forcing the users to make an opt-in/out decision, but honestly I think the users would hate the interruption. This is clearly a situation like the European cookie permission law: If you force them to ask the users whether it's OK, sure they will ask, and that will interfere with the UX and piss off users.
I'm fine with it being opt-out; let T-Mobile email or send a notification to everyone about how to opt out if they want, along with an explanation of the consequences, and let them decide whether to click the "opt out" button.
Not "because T-Mobile," like another comment implied, but because it's a fine trade-off, and anyone who cares can just disable it. More than 480p on a tiny screen is nice sometimes, but I'll take free 480p over the cell network and watch my 1080p video when I'm at home on wifi.
I also love to be able to stream music for free on T-Mobile. That's a feature I use all the time. Even my more "fringe" music streaming services are supported. This doesn't seem to me to be anti-competitive, and T-Mobile isn't charging anything to stream the music, so I think it's pure awesome.
comment 10y ago · link · parent
Funny you should say that, when basically every person in the world going through a basic mathematics curriculum will be experienced with infix notation, and completely unfamiliar with RPN.
True, maybe you for some reason have more experience with RPN. So use Forth.
But there is a clearly superior notation when you're talking about "which one will most people understand." HP calculators notwithstanding.
comment 10y ago · link · parent
6 8 7 5 4 + * - + .
-49 ok
Tell me that's easier to read than 8+6-(4+5)*7
Parenthesis can make things harder to understand if poorly used. RPN can make things harder to understand if poorly used.The reverse is also true for both. Forth does not prevent bad code.
comment 10y ago · link · parent
I played with Forth. Sure you can do complex things without parenthesis, but if you squeeze something complicated into a single line equation, it will be harder for a human to follow than if you use parenthesis.
The original article also says "It's never clear how efficiently source will be translated into machine language," which is complete garbage: Most modern processors were designed precisely to optimize for the kinds of control and data structures that C creates, and C (though NOT C++) has close to a one-to-one mapping from code you write to assembly language output.
A key exception is those infix equations, which C can reorder in ways that are more optimal than a naive developer writing Forth would create, so this hardly seems like a recommendation for Forth.
This is all orthogonal to whether bloat exists or is a bad thing. I think that bloat exists and is a bad thing primarily because developers are some combination of lazy, unskilled, or pressured to complete features on constant deadline. And honestly, in most cases it's probably all three, though I would guess anyone reading HN is mostly afflicted with the last.