Better HN
topnewbestaskshowjobs
Log inSign up

VikingCoder

8,119 karma · joined Oct 11, 2011 (15y ago) · 2,990 submissions

Submissions

comment 9y ago · link · parent

I can't even tell you how many times I've re-implemented PPM file format in whatever language, to produce an image file, when no libraries were available to me. Dozens, easily.

comment 9y ago · link · parent

> Almost every member of "labor" has some form of pension, 401(k), IRA, or personal stock holding

Citation needed. I believe "almost every" is pure hyperbole.

A quick search found a poll indicating 52% of Americans own stock.

http://www.gallup.com/poll/190883/half-americans-own-stocks-...

If you have better information, I'd like to see it, please.

comment 9y ago · link · parent

Having a secure way to log in to your phone is supposed to be the second factor.

comment 9y ago · link · parent

> This is not to say that NaNs are a good or bad method, but they're definitely not expensive to implement.

I saw him explain that in float, there a too many bit representations that amount to "NaN". According to a Stack Overflow I found:

"IEEE 754 standard defines 16,777,214 32-bit floating point values as NaNs, or 0.4% of all possible values."

That's "expensive" in terms of losing bits of expressiveness that could have been used to represent actual numbers.

comment 9y ago · link · parent

> How does this differentiate from the offerings of other clothiers like TrunkClub (which is a Nordstrom's acquisition)?

...because it's Amazon.

No, seriously. Having a feature working somewhere on the internet, is totally different from having it working on Facebook, Google, or Amazon. Usage goes through the roof, because people already know and trust those behemoths.

comment 9y ago · link · parent

Yeah? How about from the inside?

https://www.hongkongfp.com/2017/06/08/china-uncovers-massive...

comment 9y ago · link · parent

How much is the version that doesn't auto-share with hackers?

comment 9y ago · link · parent

Stop putting words in my mouth, and we can maybe have a real conversation. I'm not advocating protectionism, so that's not a fruitful branch of this conversation.

Food and clothing are cheaper - that's great. The barriers to entry there are pretty low.

How much cheaper is healthcare? Housing? Cars? College?

Is there not enough competition in any of those? (Obviously not.)

comment 9y ago · link · parent

"as things get cheaper because fewer people were used to make it"

You're saying price drops when cost drops, and that's empirically not true.

Price drops when demand drops, or when supply increases.

When the cost drops, then the producer just gets more profit. And if they're wise, they buy or merge with their slightly less efficient competitors, because collusion is illegal, but no one is stopping M&A these days. And for necessary goods like food, water, shelter, clothing, it's not like the demand drops much over time, so the demand stays where it was (or grows with population.)

Worker productivity is through the roof. That's automation.

Real wages are going down. That's evidence. What happens when they keep dropping? "Nothing changes," is your answer?

comment 9y ago · link · parent

I think the barriers to entry will be sufficiently high, and the mergers and acquisitions will be rapid enough that we won't even need to worry about the things you listed.

comment 9y ago · link · parent

Sound logic.

Except you're presuming that Moore's Law will last forever.

How will you know when it's about to stop?

comment 9y ago · link · parent

Ha.

I worked in Medical Imaging for a decade. I made it so that one Radiologist with my software could do the work of two Radiologists without my software.

Radiologists are highly trained, highly specialized, and earn big, big bucks.

And I was making machines that stole their jobs.

Everyone, and I mean everyone, is at danger of automation helping replace their job.

comment 9y ago · link · parent

Moore's Law was not a law, only a good fit of the data for a very long time.

The ability of machines to replace people is advancing to points we've never seen before, and I don't think any of us can really predict what will happen.

comment 9y ago · link · parent

Rant ahead, sorry....

I had this debate with people all the time, and it turns out I was wrong.

There WILL be jobs.

They were right about that, I believe.

It's just that they won't pay enough to be able to provide for yourself.

We have divisions of labor, because they work.

But your ability to sit in an office, type on a computer, answer phone calls, and go to meetings, only translates into your ability to feed yourself, clothe yourself, have a living space, because of supply and demand. Those skills are in short enough supply right now, that they have enough value... to trade with the people who make your food, clothing, housing.

But if you imagine that in the future, automation is going to make it so that smaller and smaller numbers of people are necessary to do your job (it's happening to Radiologists and Physicists, it can happen to anyone), then essentially there's far too many of you in the supply, so you won't be able to demand good wages.

On the other hand, it's not like the demand for food, clothing, and housing will drop. And even though the COST to make food, clothing, and housing will drop, THAT'S NOT HOW THINGS ARE PRICED. They are priced by their scarcity.

And the machines that make the food, clothing, and housing, are still going to be relatively expensive. (Lucky for the people who own them!)

So the people who own the machines will have you over a barrel. You need what they can make, and you have nothing they want in exchange.

Without Universal Basic Income, I think we'd have to resort to Socialism (literally, the government control of the means of production of basic needs like food, clothing, housing), in order to not have people starving in the streets.

OR

People will stop "dividing their labor," and they'll get good at taking care of themselves. Like the Amish. Farming. Sewing. Textiles. Chopping wood. I don't mean this sarcastically, there's nothing wrong with that kind of life. If you look at history, the Amish are very healthy in comparison to everyone else. Maybe they're more puritanical than any of us would accept, but their DIY, hands on, back to nature life isn't a crazy idea.

But if we do have Universal Basic Income, I think people will find ways to keep busy, and to make some extra money for luxuries.

Want to go to Disney World? Well, work in the record shop you like. Listen to tunes all day, discuss music with people with similar interests. You only earn about $2 an hour, but that's fine. It's all just gravy.

Want to be a Radiologist? That's great - use your UBI to pay for college. Earn tons of money. Go to Disney World all the time.

UBI + Progressive taxes just makes tons of sense to me.

Don't tax me much when I'm getting started in my career. Tax the crap out of me when I'm figuring out whether I can afford 5 weeks or only 4 at Disney World each year.

1635.

Google Seurat – movie quality scenes on Daydream(youtube.com ↗)

2 points · by VikingCoder · 9y ago · discuss

comment 9y ago · link · parent

Thank God for Borland's Turbo Pascal and Object Oriented Pascal manuals. Holy crap.

comment 9y ago · link · parent

> when the position isn't on a pixel boundary

Yeah, that's not the definition of "1:1" that I use. The definition of 1:1 that I use has texels lining up exactly with pixels.

comment 9y ago · link · parent

Premultiplied alpha results in less color depth, though. If my alpha is 10%, then my possible RGB values become 0-25. Even if I multiply by 10, I still lose the maximum possible values 251-255, and only values 0, 10, 20, 30... 250, are possible.

The correct solution is to pay close attention to all of the factors... and to be ESPECIALLY aware of pixel scaling. Provide your RGBA textures at the 1:1 pixel scale they will be rendered (or higher!) if at all possible.

comment 9y ago · link · parent

I'd like to see an in-depth comparison with Google Cloud Spanner.

comment 9y ago · link · parent

There's a ton of research on reduced calorie diets, and my physician referred me to this program, and it's run by my hospital system. I meet with dietitians, physical trainers, social workers, and physicians monthly.

/shrug

I don't really know how to evaluate it much better than that.

comment 9y ago · link · parent

Oop, yeah, sorry.

comment 9y ago · link · parent

> HTML & CSS are not really suitable for "pixel perfect" text.

...and a lot of people don't care.

> You'd have to disable the browser's word wrapping & come up with your own logic for where to insert <br /> tags

...unless you don't care.

> even then you have issues like browsers

"BrowserS"? Plural? No. This is one implementation - headless Chrome. Which you could use to do your own rendering. There's no plural. You would use one browser to do your headless rendering.

> You'd have to essentially render text to an image server-side

That is. What this is.

> then scale the resulting image in the browser

What? It depends entirely on what your use case is. If you want to email a PDF, then you could use headless Chrome to turn HTML into a PDF, and then email it.

> So headless browsers are not suitable for rasterizing documents that contain text

I feel like you're off in this weird space, very different from what I've experienced. And I've experienced it again, and again, at different companies.

> Converting HTML to PNG/PDF is like comparing apples & oranges. The conversion will be imperfect.

...but potentially faster, lower effort, and "good enough" for many use cases.

comment 9y ago · link · parent

Soylent was fine. I maintained weight, and was eating better, and the food was easy.

But I'm in a medical weight loss program now, and I'm loving it. It's doctor supervised, I started out at 400 pounds, and I'm down to 360 after five weeks. It's medically supervised because I'm in ketosis, which can be very dangerous. So best to have blood drawn regularly, etc.

But the food is great. You can also get them as your own supplements / replacements.

http://www.robard.com/products/

Right now I'm eating 1,000 calories a day. I'll be going down to 800 calories per day. And I'm burning about 2,000 calories of my own fat every day (that's a pound). Again, this is a dangerous diet, but it's medically supervised.

I feel great, I don't feel "hungry" all the time. It's awesome.

comment 9y ago · link · parent

It's all about domain knowledge. Duh.

The value of a software development team is their ability to create new intellectual property similar to things they've made before. (Or maintain an existing system, of course.)

comment 9y ago · link · parent

Huh. So, if you can express your PNG / PDF rendering in terms of HTML, SVG, Canvas, and WebGL... How much easier, faster, more reliable would it be to use Headless Chrome and --screenshot, rather than other means?

comment 9y ago · link · parent

So who's going to figure out if this was sponsored by West Virginia Coal Miners Union, Exxon, and Dr. Evil?

comment 9y ago · link · parent

We discovered that we were more efficient if we divided labor.

There was a short supply of people able to do some labor, but demand was high, so wages were high.

We've succeeded at that so wildly, and automated so much of our lives, that we have bountiful free time to train to be successful in modern jobs.

...while there is some specialization in modern jobs, there's a lot of jobs that are NOT THAT SPECIAL. So the pool of people who would be capable of doing them with no or a small amount of training is HUGE.

So wages are low.

There's no magic here, folks.

Meanwhile, Capital has chased not just profits, but OWNERSHIP of profit-generating entities. Rents, right? And they've been wildly successful at it.

comment 9y ago · link · parent

There are multiple ways to successfully organize teams of software developers.

What matters most is that the choices are consistent and coherent.

It's nice to read about practices that work in one environment, but you have to keep in mind how they integrate in to the big picture of all of the choices.

For instance, some teams branch everywhere, for everything. Which is fine, and some people do it to great success.

Some teams develop at head, for everything. Which is fine, and some people do it to great success.

But the tools you need to build around those two approaches are totally different. Reading about the tools and techniques, without understanding how they all fit together, and trying to adopt them because they work for other people, could be a recipe for disaster.

comment 9y ago · link · parent

Isn't this also a way to "wire" funds to someone?

Can't I give you my barcode, and you put cash in it?

1
545556
100