Ooops, I didn't mean Xeon PHI, I meant an older design with many small x86 cores. Xeon PHI on the other hand was the first host of AVX-512 instruction set. Sorry.
The programming model is not very flexible at the lowest level: one has to create all the software infrastructure to communicate with the GPU (which boils down to sending commands and receiving response). There are…
The point I was trying to make is that if you have to rely on runtime type information, you might as well use sum types in a more strongly typed language, where the scope of the code gets limited to the type itself.…
I think another interesting question is, how would you handle the return value of such function in your code? You would have to either: - test for the type of that value in order to handle it properly, - rely of the…
Disclaimer: I am not a HW designer, I could very well be wrong. It is true that there are tasks where threading matters, but still require a CPU rather than a GPU. I wonder however if these tasks do need full SSE/AVX…
> t's really hard to get away from getting data in JSON these days. It's ubiquitous. Yes, I agree with that. It's a neat format if you have small pieces of information to move around, and it's very easy to read for…
> 100MB of doubles encoded as JSON. That sounds like a very bad use case for JSON. I would be surprised if your program wasn't more efficient with an ad-hoc binary format for that piece of data.
> fails at logic more than at poetry This is purely subjective. Your expectations in Poetry might be different from those of other people or even specialists. I am not particularly good in that domain, but I don't…
Sadly, AFAIK, BLAS hasn't been updated to use generics. It would be so nice to have support for integer vector/matrix operations in there (not that it would require generics to have that, but it could be easier to…
If you have a look at the different fortran implementations of BLAS gemm (matrix multiplication), you'll see that the transposed matrix cases are treated specifically. In fact, IIRC, the gemm function has flags to…
Oh, I understand. I suppose it makes sense, if for instance one needs to store a bunch of parameters somewhere, it might as well be a JSON file.
The difference is that your DB is the FS, and each JSON file is an individual record. You're not storing each table in a single JSON document.
Maybe because it was tempting: JSON is fairly easy to handle, very portable, and when you look at a JSON document, it's straightforward to think about querying it, and thus DB, although JSON is structured, and DBs are…
I think that, oddly enough, the point of that project is to use the JSON format as the DB storage format, not as an export option. Just from the look of it (I don't know either projects), LokiJS will very likely be…
That's a very strange idea: JSON is basically structured data, like XML, it's nice for documents with deeply nested structures. The main issue is that contrarily to a DB, any modification will shift everything after it,…
I wonder how the clipboard API could be fixed. I suppose that the current scheme is that apps are monitoring paste events, and when it happens have a look at the clipboard for copied data. Perhaps the clipboard…
Well, if copies may be borrowed, as it is the case in Rust, I suppose that a type-linear function, as I called it, doesn't have to be computationally linear. The `mult` example we discussed could not be applied twice to…
Seriously though, the Opera web browser has this functionality built in, but it's a "toggle" back to top, by just clicking on the tab title. It's very useful on web sites like HN, when you don't want to lose where you…
Sorry, I got confused on the meaning linear. As explained in the other answer, it's possible to implement the power function which is "type-linear" on each argument, but that function will not otherwise be linear (ie,…
What's the provided GPU solution for ARM based machines? Do Apple SoCs contain a GPU?
no.
> Probably not much. I hope so: this article assumes that for normal citizens, monitoring seems to be a problem, so it's only natural to expect the police forces to get upset for the same reasons. That being said, it's…
> That only addresses the one gripe I brought up as an example though, and not the general pattern. For instance another issue I've run into is this automagical hacks that parse fstab crypttab etc and make units at boot…
> How much good grace would be earned if the military surveillance was used to prosecute police brutality and misuse of authority in addition to arson and looting? Nothing in the article says that they don't monitor…
> I don't get why this comment is being downvoted. It probably tells that you also hit the paywall. Those who downvoted probably didn't, perhaps because their setup doesn't trigger it by default, or because they…
Ooops, I didn't mean Xeon PHI, I meant an older design with many small x86 cores. Xeon PHI on the other hand was the first host of AVX-512 instruction set. Sorry.
The programming model is not very flexible at the lowest level: one has to create all the software infrastructure to communicate with the GPU (which boils down to sending commands and receiving response). There are…
The point I was trying to make is that if you have to rely on runtime type information, you might as well use sum types in a more strongly typed language, where the scope of the code gets limited to the type itself.…
I think another interesting question is, how would you handle the return value of such function in your code? You would have to either: - test for the type of that value in order to handle it properly, - rely of the…
Disclaimer: I am not a HW designer, I could very well be wrong. It is true that there are tasks where threading matters, but still require a CPU rather than a GPU. I wonder however if these tasks do need full SSE/AVX…
> t's really hard to get away from getting data in JSON these days. It's ubiquitous. Yes, I agree with that. It's a neat format if you have small pieces of information to move around, and it's very easy to read for…
> 100MB of doubles encoded as JSON. That sounds like a very bad use case for JSON. I would be surprised if your program wasn't more efficient with an ad-hoc binary format for that piece of data.
> fails at logic more than at poetry This is purely subjective. Your expectations in Poetry might be different from those of other people or even specialists. I am not particularly good in that domain, but I don't…
Sadly, AFAIK, BLAS hasn't been updated to use generics. It would be so nice to have support for integer vector/matrix operations in there (not that it would require generics to have that, but it could be easier to…
If you have a look at the different fortran implementations of BLAS gemm (matrix multiplication), you'll see that the transposed matrix cases are treated specifically. In fact, IIRC, the gemm function has flags to…
Oh, I understand. I suppose it makes sense, if for instance one needs to store a bunch of parameters somewhere, it might as well be a JSON file.
The difference is that your DB is the FS, and each JSON file is an individual record. You're not storing each table in a single JSON document.
Maybe because it was tempting: JSON is fairly easy to handle, very portable, and when you look at a JSON document, it's straightforward to think about querying it, and thus DB, although JSON is structured, and DBs are…
I think that, oddly enough, the point of that project is to use the JSON format as the DB storage format, not as an export option. Just from the look of it (I don't know either projects), LokiJS will very likely be…
That's a very strange idea: JSON is basically structured data, like XML, it's nice for documents with deeply nested structures. The main issue is that contrarily to a DB, any modification will shift everything after it,…
I wonder how the clipboard API could be fixed. I suppose that the current scheme is that apps are monitoring paste events, and when it happens have a look at the clipboard for copied data. Perhaps the clipboard…
Well, if copies may be borrowed, as it is the case in Rust, I suppose that a type-linear function, as I called it, doesn't have to be computationally linear. The `mult` example we discussed could not be applied twice to…
Seriously though, the Opera web browser has this functionality built in, but it's a "toggle" back to top, by just clicking on the tab title. It's very useful on web sites like HN, when you don't want to lose where you…
Sorry, I got confused on the meaning linear. As explained in the other answer, it's possible to implement the power function which is "type-linear" on each argument, but that function will not otherwise be linear (ie,…
What's the provided GPU solution for ARM based machines? Do Apple SoCs contain a GPU?
no.
> Probably not much. I hope so: this article assumes that for normal citizens, monitoring seems to be a problem, so it's only natural to expect the police forces to get upset for the same reasons. That being said, it's…
> That only addresses the one gripe I brought up as an example though, and not the general pattern. For instance another issue I've run into is this automagical hacks that parse fstab crypttab etc and make units at boot…
> How much good grace would be earned if the military surveillance was used to prosecute police brutality and misuse of authority in addition to arson and looting? Nothing in the article says that they don't monitor…
> I don't get why this comment is being downvoted. It probably tells that you also hit the paywall. Those who downvoted probably didn't, perhaps because their setup doesn't trigger it by default, or because they…