Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions

Submissions

comment 3y ago · link · parent

Suggesting that people are inherently boring and don't conform out of social pressure but rather the random chance of evolution?

comment 3y ago · link · parent

Couldn't you say that conformity necessity is the result of the "social predators", though? Your employer shouldn't need to care that you choose to shout crackpot theories from the rooftops. They do, but only because they don't want to catch the scrutiny by association. Further, retirees should be freed from that conformity need, yet still seem every bit as boring – if not more so.

comment 3y ago · link · parent

A number of high end (still-centric) cameras are known for overheating problems during recording, even before the 30 minute mark is reached.

comment 3y ago · link · parent

That may explain why it is exactly 30 minutes, but, despite some counterexamples, that we don't see more product differentiation enabling the consumer to choose between a camera with the limit and an "upgraded" model (i.e. the same camera with the limit disabled) suggests that underlying that the manufacturer recognizes that the consumer would rather buy under-specced hardware that can't handle much more than 30 minutes of recording than pay more for a design that had the engineering effort to handle unlimited recording put into it. Those who truly have a need for unlimited recording are likely to want something video-centric in design anyway.

I expect the answer is all of the above and more.

comment 3y ago · link · parent

I'm not sure hardware helps. All my Apple hardware does is collects data, reshapes it, and resells it.

comment 3y ago · link · parent

> 99% of the time WASM is being used right now it isn't being used to manipulate the DOM

Almost certainly. I would expect that 50% of WASM being used right now is outside of the browser entirely. Cloudflare Workers, for example. Same goes for Javascript.

Regardless, I expect the real serious answer is that writing raw WASM isn't particularly ergonomic. You could do it if you had to, but it is very much designed to be a compiler target. The OP was no doubt alluding to Javascript providing better developer ergonomics much like virtual DOM solutions have done over 'raw' DOM manipulation.

Reading the article he would have realized that Svelte offers much the same without a virtual DOM, and that the headline refers to that, but when was the last time anyone on HN read the article?

comment 3y ago · link · parent

> Even if user would not notice 5% difference in CPU usage can mean reduction in AWS bill significant enough to care about

Users won't notice, but they will notice...?

> A test suite usually doesn't run in tightly controlled environment.

What don't you have control over?

> but not significant enough to spend days to avoid adding a few lines of comments by embedding all knowledge into tests

Why would you avoid comments? Why would your tests have to take longer to write than your comments? Days to write a test or two to clarify your intent?

comment 3y ago · link · parent

The original comment wasn't mine, but there was no mention of HTML anywhere. Where did that come from?

comment 3y ago · link · parent

I haven't gone through interviews prior to talking numbers before, so I can't draw on personal experience, but I expect you would feel pretty foolish for putting the cart before the horse and wish that you put a little more thought into what you were doing before acting. Offended, though?

Perhaps what you are suggesting is that in messing up by not finding out if the arrangement was broadly compatible before wasting your time on the minor details, but being afraid to blame oneself for the glaring mistake the mind might go to inventing that it was offended by their actions as a mechanism to sooth itself? I guess... Seems like stretch. I don't really understand the need to blame others, though.

Regardless, I'm not sure that transcends to the computer case. In that case the price was asked for upfront. Apple gave their offer and that was the end of it. No unwarranted time was wasted. Just a simple: "Looks like we won't be able to reach an agreement. Have a nice day."

comment 3y ago · link · parent

Advice? I think you accidentally replied to the wrong comment.

comment 3y ago · link · parent

More likely it is for nobody. This is Apple saying: "We really don't want to deal with this, but if you will pay us many thousands of dollars in value to take it off your hands I guess we can bend this time." They have made it clear that their preference is for you to leave them alone if you want to sell one of these machines.

comment 3y ago · link · parent

> Because that $52,000 computer was never actually worth that much in the first place.

It clearly was, else the transaction at that price would have never taken place for there to be a machine once worth that much to sell three years later.

However, the $1,000 transaction did not take place. That tells us that it is not worth $1,000 three years later – and is probably worth much, much more.

The moral of the story: Don't let clickbait headlines fool you.

comment 3y ago · link · parent

It's nice of them to consider buying it at all. Very few manufacturers want their product back. They are in the business of producing new stuff, not shuffling around used stuff.

Of course a used product dealer is going to pay you less than the next consumer will. They have to sell to the same consumer and need a margin to justify their time acting as the middleman. Same reason the used car dealer will give you less for your used car than the next driver buying direct will give you.

comment 3y ago · link · parent

There is something strange going on if an offer offends you. Perhaps a fundamental misunderstanding of what price represents?

comment 3y ago · link · parent

> I dont know how it would be possible to build anything reasonably complex with groups of people without taking meeting notes.

I don't imagine it is. I've never seen anything reasonably complex successfully built by way of meeting, notes or not. The actual work always happens when ideas are formally written down and iterated upon asynchronously.

> Every single meeting would be everyone hallucinating what was said before in previous meetings, and lots of lying.

Yup. Even with notetaking, that's all you can get out of meeting. You simply don't have immediate access to all the information you need (critical in complexity) in the heat of the moment to present useful thoughts, so anything that does come up is bound to be invalid anyway. Noting the invalid expression made during the meeting doesn't serve any purpose. As such, your notes are only as good as the trash that it is. It's a nice break from work, but that's about it.

comment 3y ago · link · parent

> A large majority of my colleagues think that everyone is equally capable of learning college algebra.

They have to hold that view, though, else their reason for existence disappears. How can students justify the high cost of hiring a professor, accepted on the premise of being able to make it up with higher future earnings, if they realize that the reason there is a spectrum of incomes is because some people can't rise into higher paying work?

You and I know that the mentally disabled person will never rise into a $500,000 per year job, no matter how hard they try, because of their disability. But your colleagues have to suggest that the mentally disabled person won't only because that person hasn't attended their classes. Their entire marketing strategy of getting students into their seats rests on it. Failure to communicate that to students means they soon find themselves out of job.

comment 3y ago · link · parent

An educator would have good reason to have an interest in this subject particularly because it is directly related to their job. Professional teachers usually require university-level training in research to be considered qualified for the job are normally given a couple of months away from the classroom each year to engage in this type of research, so it wouldn't have been unexpected if he had said he was an expert. Indeed, it is just as likely that he focuses on other areas of research, but I don't think it is obvious where his work lies like you claim.

comment 3y ago · link · parent

> this whole "no comments" / "everything should be a unit test" idea

Nothing in this thread says "no comments" or "everything should be a unit test". But the reality is that most code doesn't matter. It is just a means to an end and if it no longer serves that means it's expendable. Explaining why something was chosen doesn't tell you anything meaningful most of the time. In fact, I expect the "why" 99% of the time is "I felt like it and it worked".

When a specific approach is essential in meeting certain application requirements, absolutely you need to comment that. But you also need tests, else how are you going to ensure that you stay within those requirements? Of an application of any meaningful size, you're going to have a hard time manually ensuring that some externality didn't break your assumption on every deploy. Even if it weren't hard, why put in the man hours when a machine can do it for you?

comment 3y ago · link · parent

Which, humorously, isn't compatible with Javascript object notation. { foo: "bar" } is a valid Javascript object, but not valid JSON.

Regardless, I don't get what you are trying to say. Pretty much every language still in existence is able to work with JSON (even SQL!). JSON is not Javascript. It's not clear why moving code from the Javascript runtime to the WASM runtime would magically make JSON+LD inoperable or whatever it is you are trying to say.

comment 3y ago · link · parent

I don't get it. JSON+LD is not Javascript. It's not even spelled the same? If you are meaning that your Javascript is able to read JSON+LD, so too could you WASM in this hypothetical world we're talking about.

comment 3y ago · link · parent

Here's an excerpt of some Javascript found on the Amazon link:

    window.ue_ihb = (window.ue_ihb || window.ueinit || 0) + 1;
        if (window.ue_ihb === 1) {

            var ue_csm = window,
                ue_hob = +new Date();
            (function(d) {
                var e = d.ue = d.ue || {},
                    f = Date.now || function() {
                        return +new Date
                    };
                e.d = function(b) {
                    return f() - (b ? 0 : d.ue_t0)
                };
                e.stub = function(b, a) {
Feel free to visit it to find the entire script. It is much too large to post here. What is a crawler learning from that program that would be lost if the equivalent code was bundled as WASM instead? Why couldn't its WASM parser pull out the same information? The JS/WASM runtime in the browser has to produce the same result regardless of which encoding is chosen, so everything will be encoded in there somehow.

comment 3y ago · link · parent

If you can't consistently measure a 5% difference in a tightly controlled environment, how are your real world users going to notice? If your users don't notice, who cares?

Furthermore, if that 5% optimization is truly critical to the application (despite not being measurable?), how are you going to ensure that some future change doesn't break that? Something as simple as a compiler update could change some optimization that breaks your assumptions. What do you do in the absence of tests to ensure that doesn't slip through?

comment 3y ago · link · parent

> Serious answer? SEO and accessibility.

How is WASM less accessible than Javascript? Are crawlers parsing minified and obfuscated Javascript sources and deriving meaning from them in a way they couldn't from WASM code?

comment 3y ago · link · parent

> yeah, i would like an example of a meal for $5 from a restaurant of any kind.

Eating out doesn't necessarily mean restaurant, unless you use the term loosely. Restaurants typically sell an experience, not food, and indeed you expect to pay for that experience. It is something not duplicatable at home, at least not for the price a restaurant can offer it to you. Even a high priced restaurant is cheap compared to hiring servants to come to your home.

What's fast food? I consider McDonalds fast food, but they aren't in the food business and thus wouldn't be expected to provide for $5. The term fast food is quite loaded, in my experience.

Which market are you in? We know for certain that there isn't price uniformity in all locations. I'm not at all surprised that you could be paying $10+ for the same meal I pay $5 for. Which brings us back to asking what is rent? Again, that kitchen is occupying space that must be accounted for. You're being completely disingenuous if you ignore the bulk of your costs of operating a kitchen.

You can choose to accept those costs. I like to cook and would hate life if I had to eat out every day even if were at the best restaurants around, so I do too, but I'm not going to pretend they don't exist. The cost of eating at home isn't just the raw ingredients. That would be unfair to not only the discussion, but also yourself and your finances if you aren't being honest with yourself.

comment 3y ago · link · parent

> Where is this—possibly wrong—assumption documented?

Presumably in the compiler documentation. Although the assumption was made merely to ensure that we understood that each algorithm choice was functionally equivalent, to continue in the theme of discussion.

> which may or may not hold in the future?

Totally fair. Let's say your choice, which was fine at the time of choosing, with a later compiler update does get optimized in a new way that that longer satisfy your application's requirements. How do you plan to keep up with that if you don't have automated tests to prove whether or not your code still operates within your expectations?

> But you given up already on this line of argumentation anyway, I see ;-)

No, but I was still working on getting a concrete example in which we can build a test or two for to provide a demonstration. Unfortunately, the vague sorting suggestion still isn't concrete. What are you sorting? Which algorithm did you choose and why? I had hoped that if I rephrased the question you would feel more comfortable coming out of your shell, but I can see your worry remains. Back in my day education was something to get excited about so I struggle to understand, but recognizing your uncomfortableness now I'll not needle you further and apologize for not seeing it sooner.

comment 3y ago · link · parent

Some fast food restaurants are in the experience business, so not strictly so, although I am sure that some food produced in the food business would be considered fast food, so I suppose it doesn't preclude it either. I'm not sure the question really overlaps with the discussion, although perhaps I don't fully understand what you are asking.

comment 3y ago · link · parent

$15 USD for a meal at a business in the business of selling food? Your local cost of living must be insane! I think you'd be hard-pressed to spend much more than $5 USD for a meal at a food business around here.

In these parts, I can go to a restaurant in the business of selling an experience, with nice ambiance, a server who will wait on you hand and foot like you are some kind of king, etc. and can have nearly anything on the menu for $15 USD. At that price you're paying to get to act like a king for an hour or two, not for food.

If your local cost of living is that high, what's the housing market like? High CoL and high rent often to go hand in hand. If you sold your appliances and offered your kitchen space as a bedroom rental, what kind of income are we talking here?

comment 3y ago · link · parent

> mainly because meals out cost 3-10x as much as eating at home

If you are at a place that sells an experience that happens to come with food that may be true, but one in the business of selling food is going to beat your home kitchen every time.

The big difference is that the home kitchen costs are largely front-loaded. This does mean you generally need less free cashflow when you are hungry, which is an appealing attribute to someone who budgets by looking at their bank account balance. However, it also means you sacrifice a fair amount of opportunity. That does not come cheap.

comment 3y ago · link · parent

As an aside, it is quite curious that we choose to say jobs at places like restaurants and theatres cannot be done remotely. Those are the kinds of jobs that are remote (faraway, distant)!

comment 3y ago · link · parent

There is also that pesky problem, particularly in North America, of the shopping district being far away from the housing. At the office, shopping may be no more than a block away. At home, you're in for a big hike (or more likely a car ride) to get to places to buy things. That extra hurdle means you won't take the time as frequently.
1
119120121
256