Better HN
topnewbestaskshowjobs
Log inSign up

hellofunk

9,428 karma · joined Jul 10, 2015 (11y ago) · 3,276 submissions

John Bellick, Mexico City
Submissions

comment 6y ago · link · parent

Ironically, I made the same comment elsewhere in this same thread, and it was uploaded quite a lot.

comment 6y ago · link · parent

I am genuinely curious why this is getting downvoted.

comment 6y ago · link · parent

I know a few who moved to tradestation. But there are others as well.

comment 6y ago · link · parent

Exactly. I got downvoted for mentioning this elsewhere, but it has been noted over the last decade that modern political polarization is as bad in the 21st century as it was during the 1860's, which is opposite the thesis of this article.

comment 6y ago · link · parent

I have seen several articles over the last decade comment that the modern American political landscape is the most polarized it has been since the U.S. Civil War in the 19th century.

comment 6y ago · link · parent

Agreed. IB's data is also not so accurate much of the time; the way it reports volume in particular is misleading. I've seen traders abandon IB after big losses because their strategies required actual live volume data that didn't suck, and nearly any other broker provides this.

307.

The coronavirus has mutated and appears to be more contagious now: study(cnbc.com ↗)

3 points · by hellofunk · 6y ago · discuss

comment 6y ago · link · parent

How does AOT resolve the issue?

comment 6y ago · link · parent

Serialization usually refers to a need to save them offline somehow, when the program is not running, or sending them between running programs or machines. In this case, because clojure such a flexible and dynamic language, functions are often created at runtime based on surrounding logic, and there’s a wish to sometimes treat them just as data.

comment 6y ago · link · parent

There have been a couple of comments here asking a question like this, and it makes me realize that most people don’t actually know what clojurescript is.

Clojurescript is not some kind of scripting language on top of clojure, it is the clojure language that compiles to JavaScript, usually for running on the front end.

comment 6y ago · link · parent

I have read more than one study in the years past that consistent use of vitamin C supplements actually leads to a weaker immune system in the long term.

comment 6y ago · link · parent

I've come to appreciate snake case (or hyphenated words in languages like Clojure) because it adds a little extra space in the syntax, and this break is easier to read I think. Long camelCased phrases are often really dense.

comment 6y ago · link · parent

Biggest surprise for me is learning that a pointer is a whopping eight bites! I have always mistakenly assumed they were small and just four bites.

comment 6y ago · link · parent

The term “margherita pizza” suggests a different authentic meaning compared to the widespread conception.

comment 6y ago · link · parent

Exactly. I find so many of PG's musings to be pretentious in their short sightedness. As if these are great revelations that underscore a deep observation, when in reality they are often shallow or contrived points.

comment 6y ago · link · parent

> The biggest division in work may be between jobs that involve making new stuff (science, engineering) and those that don't (administration, sales), and you'll be a lot happier if you end up on the side you're suited for.

This is rather binary (and naive) distinction. There is a lot of room for creative work in any field.

comment 6y ago · link · parent

I think the main issue is where the output from the GPU shader is going. OpenGL for example, the output is the screen. That’s the only output. But for compute, you want the output to come back into the CPU world for storing or manipulating or etc. So compute shaders provide that API for shuffling memory back-and-forth between CPU and GPU and having access to general purpose output from the shader beyond just screen pixels.

comment 6y ago · link · parent

Metal targets whatever GPU is in the system, not necessarily Intel. In most cases there’s a discrete in there by AMD or Nvidia.

comment 6y ago · link · parent

The C++ standard has included threading primitives since 2011. Many libraries exist that create higher level of abstractions, i.e. patterns, on top of these primitives. But you can also just use the primitive directly.

comment 6y ago · link · parent

I really like the relative simplicity of C compared to C++ and recently wrote a project in C, but eventually rewrote it in C++ for just a few seemingly trivial reasons that nonetheless were important time savers. I'd love to know if the C standard, as can run on GPUs also, will ever evolve to offer:

1) namespaces, so function names don't need to be 30 characters to avoid naming collision

2) guaranteed copy elision or RVO -- provides greater confidence for common idioms and expressivity compared to passing out parameters

comment 6y ago · link · parent

Emacs. I probably lost at least 100 hours initially learning to use it and optimizing it for my personal workflow. But it’s certainly a net positive by now.

comment 6y ago · link · parent

I think you mean macOS.

comment 6y ago · link · parent

re-frame still adds way too much boilerplate for my tastes, especially on solo projects. I personally greatly prefer to use reagent directly over using re-frame.

comment 6y ago · link · parent

I think you missed the point of my comment. You don’t have to write your own C++ code when using high-level python GPU libraries either.

comment 6y ago · link · parent

One of the things I never understood about the hype around these Clojure GPU libraries is that there is a lot of marketing jumbo about how high-level it all is. Even the book for these libraries has the words "no C++!" half a dozen times on its ordering page [0].

However, these are just high-level libraries and you cannot write the GPU shaders in Clojure. You still must use C or C++ for that (depending on if you are going the CL or Cuda route), and your C/C++ code is embedded or called from the Clojure side. This is no different than using another high-level language like Python -- I mean it's focusing on a rather misleading and irrelevant detail. You can use Clojure or Python (or many other languages) to call OpenCL or Cuda shaders, or you can just use the libraries that call them for you. Clojure is not special in this regard.

[0] https://aiprobook.com/deep-learning-for-programmers/

comment 6y ago · link · parent

Well I guess that downvoter doesn't know much about email history.

comment 6y ago · link · parent

Or even Mutt.

328.

17-yr old’s Coronavirus tracking site gets 30M visits per day(twitter.com ↗)

2 points · by hellofunk · 6y ago · discuss

comment 6y ago · link · parent

> Based on Diamond Princess data, where almost everyone was tested, the lower bound of COVID19's IFR (Infection Fatality Rate) should be > 0.5% for many/most countries.

No, you can't compare a country's likely outcome to that of a cruise ship. On ships, the virus propogates very differently and the viral load will likely be much higher in infections due to constant contact while onboard. When viral loads are higher, the severity of the disease and mortality rate are also much higher [0].

[0] https://www.nytimes.com/2020/04/01/opinion/coronavirus-viral...

comment 6y ago · link · parent

What kind of ear problems? That could refer to any of several very different problems.
1
101112
110