Better HN
topnewbestaskshowjobs
Log inSign up

virtualized

280 karma · joined May 26, 2015 (11y ago) · 105 submissions

Submissions

comment 9y ago · link · parent

If a backend process is slow, you buy another server, install Hadoop or something and call the whole mess "big data".

Mobile apps are known for taking ages to load and for taking too much space. They usually block on network requests and are eager to throw information away before blocking on a request to fetch the same information again.

Embedded applications know what hardware they are running on, so they can waste all of the available resources. Extending them later is often very difficult due to that.

In realtime graphics the required knowledge is very specific to realtime graphics. 101 algorithms won't help you at all.

In non-realtime graphics, who cares? Let's spend this quarter's budget on a redesign of the progress bar so that we can have meetings and beautiful powerpoints.

comment 9y ago · link · parent

Important for what? For interviews? In the real world, inefficient software wins because it appears to do more work. When the slow behemoth has to learn a new trick, you feel like a hero for taming the beast. You get praise when you reduce the runtime of something from five minutes down to four minutes. You don't get time to rewrite the mess so that it would complete in seconds. That would obviously be impossible because we just spent weeks on the one-minute improvement, right? With a bit algorithmic knowledge, this kind of speedup would be possible, but the knowledge is rare.

One could even argue that the algorithm interview trope is harmful because it puts this type of knowledge in the "useless in practice" drawer that will never be opened again.

comment 9y ago · link · parent

I work on embedded devices and no one really cares whether changing a setting takes 30 seconds or 30 milliseconds. It does not matter that most of the RAM is wasted by unnecessary copies of unnecessary data. People still buy these devices as long as they solve a problem at the end of the day.

I personally don't agree with this reasoning, but that's how businesses operate.

comment 9y ago · link · parent

Because "non tech users" like bad web design? Why would they?

comment 9y ago · link · parent

Most "senior developers" I know don't know much about data structures. Standards are pretty low in the industry. One reason might be that optimizing for memory consumption or handling "large scale data" almost never happens in practice.

comment 9y ago · link · parent

I usually like to pay for a premium account on other sites even if I wouldn't have to, but for some reason I don't do it on Reddit. In hindsight, my gut feeling was right, because they are in fact backstabbing butts in seats who sell out to greedy investors at first opportunity. Rich assholes who think they can make another Facebook are the easy way to get a "hiring spree". Gold was the slow and horribly marketed way.

comment 9y ago · link · parent

I assumed that 10-20 people would not include anyone who ever physically touches a server. Now that I think about it, it might make sense to not outsource hardware issues at Reddit's scale. I don't know how many people you need to keep Reddit running, but more than a hundred sounds wrong for such a basic web site.

I don't need Secret Santa and no support. What kind of trust do you mean?

comment 9y ago · link · parent

You don't have to A/B test whether a good product is better than a redesigned crappy one.

comment 9y ago · link · parent

But.. but I began to like Reddit. Now they want to take it away from me by destroying it.

> It’s going on a hiring spree

Ouch.

> redesigning its website

For no reason other than giving the unnecessary people from the hiring spree something to do.

> Huffman would like to end 2017 with around 300 full-time staff

The current number of 230 employees is already about ten times too many. What the hell do they need the additional staff for?

> The company is also not profitable.

Doesn't need to be because it could be run by ten people living off of donations.

comment 9y ago · link · parent

tl;dr: If you use C++ like Java and don't care about performance at all, it will be half as efficient as hand-optimized C.

Which is pretty remarkable actually. In favor of C++.

Why didn't the author rewrite it in C++? It's not like C can do anything that C++ can't.

comment 9y ago · link · parent

If I write the foo function in assembler, it will also be slower than just a+b. The assembler won't be able to inline the function, which makes the C version possibly more efficient.

You are comparing apples and oranges.

comment 9y ago · link · parent

Apparently, yes. I have never used Netflix, but Amazon cannot even start a video half of the time. I have to reload the page and usually it works.

comment 9y ago · link · parent

It's a web site with a fixed bar at the top. More than I need to know.

comment 9y ago · link · parent

"You just ordered a lawn mower from us. Here are more lawn mowers for you"

"You might like this movie because you have watched other movies with _the_ in the title before"

comment 9y ago · link · parent

We will make humans brains more computer-like instead of making computers more human-like. Some day, the last cyborg will replace their remaining flesh with metal. Strong AI the hard way.

comment 9y ago · link · parent

The Judgement Day scenario is a strawman. Of course humanity will not be replaced by killers robots over night.

When we learn how to connect our brains to computers - without our eyes, ears and hands as bottlenecks in between - humanity's views about the world and life itself might change significantly. Strong AI is not even required for that to happen. There will be brain mines in rural Chinese sheds.

comment 9y ago · link · parent

"Main Features of PVS-Studio" is one of those walls of text that I meant.

comment 9y ago · link · parent

I don't remember reading about any of that even though I am a regular reader of your "checked projects" series. All of the relevant information on your web site is hidden in some wall of text. Please consider hiring someone who knows how to sell something.

comment 9y ago · link · parent

"How to use PVS-Studio for Free" is ridiculous.

"Handing out PVS-Studio Analyzer Licenses to Security Experts" - sorry, tl;dr

comment 9y ago · link · parent

That's a changelog.

I don't mean once-a-year posts that no one reads because they are too long. I mean regular, valuable information about the product.

comment 9y ago · link · parent

Yes, PVS-Studio is very good and useful for avoiding bugs.

No, companies don't really care about avoiding bugs. No one at Samsung will risk delaying the release of the next plastic crap product by fixing any problems. Why would they? Defects will even encourage customers to buy a new device because they are used to getting no bug fix updates. This is the worst possible company for Viva64 to go to.

It seems like C++ developers either don't give a shit about code quality or they do, and don't make many mistakes anymore. Either way there is little demand for a static analyzer. It won't get easier for Viva64 in the future. A few years ago, Compilers and IDEs started providing similar warnings as PVS-Studio, although not quite as sophisticated yet. Code-level testing begins to be a thing in proprietary software. Clang offers valgrind-like sanitizers for different classes of bugs that even PVS-Studio cannot detect.

TIL that Viva64 has over 20 employees. The passive-aggressive blog posts always made it look like one or two people running PVS-Studio as a side project or so. I read those posts regularly, but I don't remember them announcing any new features or improvements in PVS-Studio itself. Why do I have to pay annually if they don't spend the money on improving the product?

I am not even sure if PVS-Studio is worth the money. They don't have prices on the web site and defend their business decisions in the FAQ (https://www.viva64.com/en/order-faq/) in a very unprofessional way. After reading that it feels like I might get ripped off.

comment 9y ago · link · parent

Because server has become a synonym for "Ubuntu pet machine that developers SSH into to paste random commands from Stack Overflow". People who do that are the target audience of "serverless".

comment 9y ago · link · parent

WiFi can do without a wire where it matters.

A server cannot do anything without being a server.

comment 9y ago · link · parent

These were already the promises of "the Cloud" until everyone started calling their Raspberry Pis at home a "cloud".

Now the same thing has got another stupid name: Serverless. I wonder what the same stuff will be called two years from now.

comment 9y ago · link · parent

I remember the weird company name due to frequent TV ads. I don't remember the product. Only the weird name and the confusion about the unclear product stuck.

comment 9y ago · link · parent

Isn't Dropbox basically a sync client for S3?

comment 9y ago · link · parent

2) and 3) The metric is internal company bullshit. The opinion of one "manager" has more weight than opinions of millions of customers. A dysfunctional organization such as Microsoft does not have a way to limit the damages caused by obsolete aspects of human nature such as unconditional loyalty to the leader of the local group.

comment 9y ago · link · parent

"Glueing commands together" is called programming. That's what programming languages are for. Bash etc are just really bad programming languages that lure you into a trap of unnecessary complexity with their superstitial expressiveness for the happy path in short programs, when you don't need anything besides the built-ins. Decades of ubiquitous UNIX crap tricked you into believing that bash's properties are advantages rather that disadvantages. Sure, you can "glue together" a few commands quickly, but only at the price of horrible edge cases and hours of StackOverflowing for doing the simplest of things.

comment 9y ago · link · parent

A typical Microsoft / cowboy programmer "solution". Ever wonder why Microsoft products are so buggy and unrealiable in every possible way? That's because they are built from hacks upon hacks just like this one with no regard for the user experience.

comment 9y ago · link · parent

> After a second or two he notices he ran it on db1.cluster.gitlab.com, instead of db2.cluster.gitlab.com

Everyone is talking about backups, but why not about this? How is it even possible to delete the production database by accident? Why does he have SSH access there? Why do they test their database replication in production? Why are they fire-fighting by changing random database settings _in production_?

I know that all of this is common practice. I am questioning it in general.

1234