Better HN
topnewbestaskshowjobs
Log inSign up

Coding_Cat

837 karma · joined Oct 11, 2014 (12y ago) · 272 submissions

Submissions

comment 8y ago · link · parent

>The YOUREMAIL.YOUREMAILDOMAIN. part must be replaced by your own email. For example, my email address: ian.miell@gmail.com becomes ianmiell.gmail.com.. Note also that the dot between first and last name is dropped. email ignores those anyway!

Isn't that only the case for gmail (and maybe some others)?

As an aside I'm surprised someone setting up their own dns-server would still be using gmail. I've found running my own email-server to be very useful and satisfying. (0-configuration throwaway addresses, automatic sorting with sieve, personal and professional mail on the same account, etc. etc.)

comment 8y ago · link · parent

In my experience, AliExpress is usually better than expected. Unless you go for the absolute cheapest the general quality is actually very high.

I bought some socks for example: for the price of cheap socks in a brick-and-mortar store I got some of the best socks I have ever owned.

I think AliExpress could do some really good bussiness if they were to add a QA person in the loop and would start selling 'premium' products under a different name. So far the median price/quality ratio of the things I bought has been very good (with a few duds, all gimicky electronic crap).

comment 8y ago · link · parent

Taiwan insist it's Chinese. Its government claims to be the rightful government of the whole of China.

comment 8y ago · link · parent

Make's concurrency is pretty good, as long as your dependency graph is correct.

Problems arise when one of your build steps creates temporary files for each invocation and they end up overwritting each other (race condition).

This would have the same issue

comment 8y ago · link · parent

It would be consistent with the funding though.

>funds made available for injury prevention and control

Say that research shows that more guns => more injuries. It would be reasonable to then hypothesis that gun control could lead to less injuries (injury prevention) and that would bring research into effective methods of gun control into their scope. (and the verification that it leads to less violence).

comment 8y ago · link · parent

Switzerland (the geneve/lausanne area) has a lot of overhead wiring too. I must say, you never appreciate underground wiring until you no longer have it and a storm picks up. I would consistently lose power whenever there was a big storm. Hardly ever happened when I had underground wiring.

comment 8y ago · link · parent

raw number crunching doesn't parallel speedup(!)?

comment 9y ago · link · parent

Price-wise they seem quite competitive on paper. I'm curious as to what the build quality & peripherals are like. In my experience the real difference between a regular and top-of-the-line laptop is in the small things.

They're also lacking a 4k laptop, which I would highly recommend to anyone used to working on the road. (or who has to show of work to clients in person).

comment 9y ago · link · parent

28 cores @ 2.5 GHz = 70 GHz Cores, 14 cores @ 3.1 GHz = 43.4 GHz cores.

So the total performance (to first order) is almost twice as good for the 28 core part. Sure you need to use all cores for that comparison to hold, but usually software either scales up to 8 cores or less or it scales up to N cores.

comment 9y ago · link · parent

They could compromise by adding a few more lines of code and having '+' resolve to ' ' if and only if the file can't be found with '+', or vice versa.

Immidiatly mark this behaviour as deprecated and switch over to proper '+' == '+' behaviour later.

edit: LiquidFire's idea is better.

comment 9y ago · link · parent

Ah yes fair point, my personal bias is showing a bit. I would consider numerics (AVX512 or AVX2) to be the main interest, and it is often what the type of workstations I'm familiar with need. It also tends to consume the most power when run at full load by a significant margin.

the 80-100% is bit of a vague number, I was just kinda referring to the cpu utilization as reported by the OS. For numerics I would consider a realistic full load 75%+ pipeline fill time on the AVX codepaths. With a lot of compute you can get quite close to 100% quite quickly if your software is highly optimized (and uses enough compute to hide the memory loads). TDP should just be 100% pipelined load of the highest consuming codepath.

But my general point is still that these benchmarks should not exceed the TDP for these types of parts. For everyday use these loads might not be realistic. But for a lot of people looking to spend $2000(!) on a single CPU, these benchmarks are indicative of real life usage.

comment 9y ago · link · parent

And these are high end 'prosumer' parts. Running the CPU at peak 80-100% load for a significant amount of time should be considered the intended application.

comment 9y ago · link · parent

I'm not sure what parts are clang and what parts are LLVM, but I recently did some tests comparing g++ to clang++ for auto-vectorization and they were very on par. I'd even say clang was a little better than g++ with full optimizations turned on on average.

This was on an AVX2 machine, testing the (auto)-vectorization performance of expression templates. Anything with a compile-time unknown stride or a random gather failed horribly with both. Using (semi-)explicit vectorization turned out to be much faster still.

comment 9y ago · link · parent

This is not yet something to fear at all. If Amazon is even available in your part of Europe it tends to not be that great. There are plenty of online stores in Europe though.

comment 9y ago · link · parent

>Don't underestimate how often unlikely events can happen in a big enough space...

That's true but the density of photons (from a given source) also drops of cubically as you move away from the source.

> imilarly, if you do build light momentum transfer into your model, then expansion goes away

I'm not really a cosmologist, but I know some physics (QFT in particular). If you have a derivation for a formula giving the impact of YY-scattering on redshift I'd love to read it.

> but because we "know" expansion to be true, those results aren't considered or published.

We know redshift to be true, and we have evidence for expansion based on measurements. Something that simply denies this will have a hard time being published. A theory that explains those findings without using expansion however would certainly make waves.

As and aside, since the cross-section of photon-photon scattering is energy dependent (and, as far as I can tell cosmological redshift is not), wouldn't that be a way to distinguish them? Scattering should occur more often at higher energies meaning that after a significant amount of scattering a bundle's spectrum should clump up more into the red.

comment 9y ago · link · parent

I doubt that is the case. As the article nores photon-photon scattering has been a predicted for a long time by QED. Even if it wasn't detected before it's impact on redshift could be calculated.

If you look at the abstract on the linked nature page the interaction has a cross-section of 70nb, which corresponds to a circle of radius 1.5e-9 nanometer[1]. It might occur a few times near a supernova or the swirl of a an accretion disk but I doubt it has a meaningful effect in deep-space.

A more exciting result would have been if they wouldn't have seen this effect. That would mean the theory was wrong and we had a new datapoint to look at.

[1]: these measurements are only for a specific energy range, they might vary dramatically with different energy levels but the key point is that this result agrees with theoretical predictions meaning that is should also be possible to calculate the contribution to redshift due to photon-photon scattering.

comment 9y ago · link · parent

The call itself is not very expensive, but the effect of having to jump through vtables can prevent other optimizations in a way similar to calling a function in a DLL.

Not a huge issue for business logic bits or if your virtual functions are quite large, but using virtual functions for small often used calls such as specific getters or some mathematical function can cause a big performance hit.

comment 9y ago · link · parent

I believe, (don't quote me), that the intel MPI can be replaced by any other compliant MPI library. MPI tends to be used for distributed computing not single processor computing so most likely it won't affect your personal machine.

AMD does not have AVX512 support, which could have an effect on very heavy numerics.

comment 9y ago · link · parent

Noteworthy difference being that, I believe, Riot employees are identified as such and their communication is public (in the eyes of Riot) not private.

In this case I think it might very well be a case of "The Aristocrats" humor like they mentioned in the article (CAH). I disagree with withdrawing the invitation based upon private communication here, but if it was publically visible and said "hey we're Harvard Students" I can understand Harvard's position and cautiously agree with them.

comment 9y ago · link · parent

Does anyone know how Agner actually produces all this information? It can't be easy to determine all these parameters.

comment 9y ago · link · parent

Haha, well this is awkward..

It was a while ago, if I recall correctly the block seemed to be ip based (it reported my ip not domain-name). I host with vpsdime, while it is a vps and thus to be expected I don't seem to be on any other lists.

DMARC, PTR, no open-relay, encryption, etc., all set up on my end. The email I was trying to reach was in fact an (important to me) gov't adress. Ended up using my old gmail for that instead.

comment 9y ago · link · parent

I run my own email, on a vps no less, and the only blocklist that has given me trouble is Symantec's (and a bit of Googling at the time showed it had a high false-positive rate).

Google, Hotmail, etc, all work just fine. Just make sure to set up DMARC (DKIM+SPF) and TLS by default.

comment 9y ago · link · parent

I will say that as someone who was not a real expert at anything when Rust came out, but familiar with a lot, I find that learning c++ these days has the same problems, and so does learning a functional language.

They're all unique in what they do. I'd still say a simple procedural language like C is easiest to read, but 'modern c++' has more idioms and quirks than Rust, in my experience.

And Rust has the advantage that the ecosystem is very well tied together and it has a great community and documentation.

comment 9y ago · link · parent

I fear this will be used more as a form of abuse than as a proper feedback, looking at youtube. The link also seems to be designed to be skipped over. You could have told me it has been there for a year and I would have believed it.

Even with Google's volume you have to take the 0.25% of claimed occurrences, then take the percentage of people who will be offended, then take the small percentage of people who will notice/know they can report it, then take the small percentage of people who actually bother.

And even if there won't be an organized effort to game the system it serves to the lowest common denominator of 'not offensive'. If I type "How to know if I'm t" and it autofills 'ransgender' that is fine by me, but some people will consider that offensive (don't ask me why) and report it. Or take for example unwanted pregancy, you can bet that if one searches for unwanted pregnancy and Google puts up a neutral snippet from Planned Parenthood people will report it.

comment 9y ago · link · parent

From June onward there will be a new EU legislation which would make it so that you can use thee whole 100GB in the EU (under small roaming restrictions).

comment 9y ago · link · parent

that's a horrible pattern. As soon as you go 1 bit over your cache size in a hot loop you'll have a 100% miss rate. (assuming each element is loaded once in the hot loop).

comment 9y ago · link · parent

Hey, something I can comment on properly for once ;). Handed in my final Quantum-field-theory homework yesterday (or blood-sweat-and-theory as I called it, great fun) and finishing a MSc. in Computational science 'soon'.

From what I can follow, most of it is, unfortunately either varying degrees of wrong or just confusing as all hell. :\

Some assorted quotes:

>The electron is not in a single place, but instead spread out over all the positions, more or less. This is called "superposition".

No, the superposition principal states that individual states (contributions) can be summed in a linear fashion. I know this is not a very clear way of wording it, but it is one of those things I think is quite hard to word but very easy to understand once you see it.

(Although one could say this is a form of superposition, namely a sum of infinite delta functions in position-space. But this would be the most confusing example to use)

>The smart programmer would guess at a model containing more complex math that will get the array to model several particles, but no such thing exists.

Quantum field theory.

> These examples have used cubes with a width of 1000 voxels, and of 1000 time instants. The Universe use a width of something like 10^70 voxels. The same goes for time.

I assume this is (roughly matches) size-of-observable-universe/plank-length. But this is misinterpretation of the planck length. As far as we (I) know, spacetime is continouis. (string theorist migth disagree, I am not familiar).

Furthermore, the many particle approach is not at all reasonable. One would (usually) use lattice-QFT. where one simulates a field for each type of particle (the field can have several components) and particles are identified as excitation of this field. The most well known is lattice-QCD.

>Quantum Electro Dynamics

Quantum Electrodynamics ;)

>Richard Feynman got the nobel prize for figuring out a way of doing this. His Quantum Electro Dynamics is a sort of dynamic programming method

This part is right (I have no idea what the next few sentences are trying to say). Feyman diagrams (those fun squilly drawings) represent the results of some awful, awful integrals. The real analytical answer is integrated over two infinite spaces. But one can do a taylor expansion to get a answer which can be computed. Feynman noted that you can read off a few rules from this approximation and assign drawings to them. The answer can then be computed by summing all (topologically distsinct graphs) instead of the terms in the Taylor sum. It's much easier than it sounds (and sure as hell more fun than doing integrals), and you can copy-paste entire sections of your diagrams as long as the in and out-puts match up. perfctly suitable for dynamic programming.

comment 9y ago · link · parent

Still no concepts unfortunately (or reflection). Bit disappointed really, I'm far from a guru but to me this seems like another 'tick' upgrade where c++11 was a big 'tock', c++14 was mostly polish to c++11.

comment 9y ago · link · parent

Wars are fought not only by the aggressors. And the aggressor can be acting to prevent amoral behavior (attacking a state which is engaging in slavery/genocide of its people, but one might argue that is an act of war in the moral sense).

If one accepts that acting in a war in such a capacity is the more moral choice than inaction, then it makes sense to talk about the ethics of war, such as: when is lethal force against enemy combatants acceptable, what weapons of war have justifiable risks?

comment 9y ago · link · parent

With how big these chips are getting, I wonder if the next iteration will have an HBM last-level cache on chip.
12345
10