Better HN
topnewbestaskshowjobs
Log inSign up

piinbinary

3,021 karma · joined Jul 16, 2010 (16y ago) · 466 submissions

Jeremy Mikkola

http://jeremymikkola.com

Email: <My first name><2^7=>@<google's mail product>.com

https://twitter.com/silenceofnight

Submissions

comment 6y ago · link · parent

Given how much PHP is used, having a JIT will probably save a meaningful amount of electricity

comment 6y ago · link · parent

I think this is roughly equivalent to "you'll learn more outside of your comfort zone [even though you'll feel like you know less]"

comment 6y ago · link · parent

Agreed. And commuting individually may meet another class of needs: It may be the only alone time some people can get all day. (edited: typo)

comment 6y ago · link · parent

One of the parts of the answer may be that organizations are now designed for more creativity, being better places to work, and maybe even throughput at the expense of latency.

comment 6y ago · link · parent

Main take-away for me:

> The Ryzen 9 3900X was able to match the Core i9-7920X's score while running with a 5.8% lower operating clock. This stands as testimony that Zen 2's instructions per cycle (IPC) is higher than Skylake

comment 6y ago · link · parent

It seems that the content isn't included in the HTML in the page. Instead, the HTML loads some JS in a second network request. That JS is compiled and run, and makes a third network request to fetch the content.

Using server-side rendering might help get the initial page loaded faster.

The endpoints themselves also seem to be very slow. I clocked a page taking 800ms to just return the bare html (vs. about 90 ms for hacker news).

comment 7y ago · link · parent

Would food in your mouth work?

comment 7y ago · link · parent

What can I, as an average Joe living in the US, do to help?

Edit: After reading responses, I realize that there is a better question to ask: What people in the US in general do to help (vote a certain way, write to certain politicians, change purchasing habits), and how can I specifically participate in that?

comment 7y ago · link · parent

That reminds me of the story about the magic switch: http://catb.org/jargon/html/magic-story.html

comment 7y ago · link · parent

When GPUs became vastly more powerful over the last ~10 years, it made big neural nets practical. I wonder what an equivalent jump in CPU power will unlock.

comment 7y ago · link · parent

What's a useful definition of what AGI is? If you have a computer that does some clever AI stuff, what criteria do you look for to decide that it has a general intelligence?

comment 7y ago · link · parent

Start billing the telecoms, and they'll fix the issue real quick

comment 7y ago · link · parent

How many total staff do they have?

254.

Stripe Launches in Mexico(stripe.com ↗)

1 points · by piinbinary · 7y ago · discuss

comment 7y ago · link · parent

Has anyone noticed that the Woody and Tinny Words sketch seems to have gone missing?

comment 7y ago · link · parent

I had taken the statement as referring to scientific publications. There, the publisher isn't the one paying for the work.

(Perhaps I don't view news as having something important to say)

However, your point is interesting - sometimes you do have to charge in order to say things effectively. For example, you generally have to charge for a book to cover the cost of putting it together.

comment 7y ago · link · parent

Documentation should explain why things are the way they are. With sufficient effort, you can look at a piece of code to figure out what algorithm it implements, but there is no amount of reading that will tell you why that algorithm is the right one to use. There should be a way to trace this "why" all the way up to the business reason.

Documentation should also provide mental shortcuts. Rather than forcing you to figure out what algorithm the code implements, it could just tell you.

It should also tell you things that are surprising, and might accidentally miss or misinterpret.

Documentation should tell you information that you can't just as easily glean from the code. A `doTransmorgification()` method doesn't need the comment `// does transmorgification`.

Documentation shouldn't attempt too tell you everything with one form of documentation. Documentation on a line or method or class is good for one sort of information, but it doesn't cover the overall architecture of the program. That is often best left as a separate piece of documentation.

It should consider the reader. Is the reader looking for an introduction to how to use this library, or are they looking for what property the method has in some edge case?

Documentation should use the easiest to follow, least technical language it can without being inaccurate. It's not an academic paper; it's an explanation to your fellow developer.

Documentation should tell you how the responsibilities are divided up in the code. If you implement an interface, will you need to record metrics or will that be handled for you?

Documentation should cover any processes you need to follow when making certain kinds of changes. If you need to do something in two separate deploys, those steps should be written down.

comment 7y ago · link · parent

I wonder how much time Jony Ive personally spends typing. I'm betting it is a very small amount.

comment 7y ago · link · parent

I want Apple's screen and trackpad and Lenovo's keyboard, ports, and cooling.

comment 7y ago · link · parent

I think it's good to draw a distinction between visual design and functional design. Design that focuses on function can sometimes (but definitely not always) result in designs that are also visually appealing, but design that focuses on the visual rarely produces a very functional result.

I'd much rather look at a mac book pro than a thinkpad. Next to the minimalist design of the mac, a thinkpad looks like you ripped out part of a server and started carrying it around.

But, I'd rather type on a thinkpad than on a mac. The keys are better (if not as good as they once were), the surface is neither too cold nor too hot to rest my wrists on, and the edge of the laptop isn't sharp like the edge of a mac pro. Once you start using a thing, the visual details melt away and the functional details take over.

comment 7y ago · link · parent

Just because I can't resist writing little math things in Haskell:

    primes = 2 : filter isPrime [3..]

    isPrime n =
      let divisors = takeWhile (\d -> d * d <= n) primes
      in not $ any (\d -> n `mod` d == 0) divisors

    strongPrimes =
      let primeTriples = zip3 primes (drop 1 primes) (drop 2 primes)
      in [b | (a, b, c) <- primeTriples, b*2 > a + c]

comment 7y ago · link · parent

Good point. There is a big gulf between "can do for you" and "automatically does for you."

I really appreciate the fact that Rust does it automatically (and that it's not easy to turn that automatic management off).

comment 7y ago · link · parent

> Python doesn't do anything for resources

The "with" blocks can help with certain kinds of resources, for example:

    with open('foo.txt', 'r') as inf:
        data = inf.readlines()

comment 7y ago · link · parent

Some people (myself included) have trouble wearing noise-cancelling headphones for a long period of time. Something about the active cancellation is uncomfortable.

I have used a Sennheiser HD 380 for several years now and love it. It has better audio quality than my Bose QC25 (though not as good as something like an HD 650). It doesn't have active cancellation, but it is still pretty good about passively blocking noise.

comment 7y ago · link · parent

When a loud motorcycle [0] goes though a city at night, I wonder how many people it wakes up. It could easily pass thousands of people with just a few miles of driving. If 1% are woken up, it could still cost dozens of total hours of sleep.

Based on how much a loss of sleep lowers performance (and increases health risks), the total cost of that one motorcycle driving one night might be huge. The cost of the health damage and lost productivity might be about as much as stealing a car.

Since the cost is spread out over a lot of people, we don't tend to care as much about it.

[0] Likely with the muffler deleted. While technically illegal, no one enforces any laws related to the noise output.

comment 7y ago · link · parent

I'm curious why they aren't charging more for it. Wouldn't that be free profit margin?

Or perhaps they are trying to hurt Intel by selling it at a price where Intel can't make a profit if they lower their prices to be competitive?

Or, maybe it has to do with trying to quickly grab market share. Maybe AWS and other purchases of servers have a somewhat fixed budget, so cheaper chips translates directly to more chips sold?

Both those explanations seem unlikely to me.

267.

Valuation and Stock Market Returns: Adventures in Curve Fitting (2013)(philosophicaleconomics.com ↗)

3 points · by piinbinary · 7y ago · discuss

comment 7y ago · link · parent

I like to ask questions that involve implementing some small bit of logic on top of a tree or graph data structure. Like the linked list questions, these questions aren't as much testing problem solving or data structures as they are testing whether you've recognized the trees/graphs in the data you worked with recently || you remember working with those data structures from college (which side of the || you fall on depends on your experience level). They're a "can you code" question with a little bit of abstract thinking thrown in.

comment 7y ago · link · parent

The previous thread: https://news.ycombinator.com/item?id=13240495
1
8910
16