Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
longemen3000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
longemen3000
5y ago
In Julia, there is the `isapprox` function to inexactly compare 2 numbers. (you can use it in infix form: `x≈y`. By default, two numbers are approximately equal if their relative tolerance is less than `sprt(eps(typeof(x))` (around 1e-8 for
32.
▲
by
longemen3000
5y ago
JET.jl it's an interesting case indeed. Its being used retroactively in the Julia base code to look for any undesirable dynamic type situations
33.
▲
by
longemen3000
5y ago
Just to be clear Julia is "AOT-JIT", that means that the methods are compiled when used the first time. With Revise.jl (a package for interactive development) you can make a fully interactive Julia process, rewriting things on the
34.
▲
by
longemen3000
5y ago
nice!. one thing about NaN is that, because the specification only mentions the exponent part, you have all the mantissa bits free for use, this is the idea behind signalling NaNs, that if you return a NaN for an operation, that value shoul
35.
▲
by
longemen3000
5y ago
Nice!, in Julia there is a library to do plots with a similar technique, https://github.com/Evizero/UnicodePlots.jl
36.
▲
by
longemen3000
5y ago
i remembered when i wanted to implement sqrt(x) by myself. before concluding that the LLVM instruction was the fastest, i came with this: https://gist.github.com/longemen3000/72b2d18761d1a89fd31a7aa...
37.
▲
by
longemen3000
5y ago
Maybe the derivation could be done by the complex step trick, if programing an AD system is too hard
38.
▲
by
longemen3000
5y ago
I was near the epicenter of the Chilean earthquake of 2010 (8.8),and my grandfather was in the 1960 one. The main mayority of the casualties in both earthquakes were caused by tsunamis (its really a bummer that Chile is basically a long str
39.
▲
by
longemen3000
6y ago
In Julia there is a package for a reversible computing DSL, with excelent examples https://giggleliu.github.io/NiLang.jl/dev/
40.
▲
by
longemen3000
6y ago
Nice, i was looking at this, but for sqrt (basically the same integer trick)
41.
▲
by
longemen3000
6y ago
It clearly depends on the workload. If you have tons of 3d articles or polygons on a screen, one of the most repeated operations are the calculation of norms (x/sqrt(sum(x)). John carmack came to the fast inverse sqrt root explicitly f
42.
▲
by
longemen3000
6y ago
One of the discussions on Juliacon was exactly this! How to index various things. This was one of the documents produced during the discussion : https://docs.google.com/document/d/1imBX3k0EEejauWVyXONZDRj8...
43.
▲
by
longemen3000
7y ago
I wanted that domain for "ingeniería civil quimica" (chemical engineering), before it was from a gym
44.
▲
by
longemen3000
7y ago
Yeah, I'm waiting for that PR haahah
45.
▲
by
longemen3000
7y ago
In Julia, where the paralleization options are explicit (SIMD, AVX, threads or multiprocessing), it always depends on the load, for small operation (around 10000 elements) a single thread is faster only for the thread spawning time (around
46.
▲
by
longemen3000
7y ago
I saw in implementation (CSV parser in Julia) were the sentinel value was randomly assigned at read time (if a value in the input was equal to the sentinel value, change randomly).after parsing, the sentinel value would be converted to the
47.
▲
by
longemen3000
7y ago
https://arxiv.org/abs/1608.04295 this paper is the statistical basis of time measuring in Julia. It is, at least a good read when trying to measure the execution of some program seriously at low level. It uses also a p
48.
▲
by
longemen3000
7y ago
In Julia slack, when talking about Julia IDEs, this came. The solution : a hardware VIM kill switch https://github.com/caseykneale/VIMKiller/blob/master/README.... I strongly suggest donating the suggest
49.
▲
by
longemen3000
7y ago
I remembered that neural differential equations are better suited to represent time series data, I saw them being used a lot in pharmacological processes, any additional idea or insight related to this?
50.
▲
by
longemen3000
7y ago
nice to know! well, so it enters in the same category of a lot of elements, good in small quantities, can kill you if you eat it too much.
51.
▲
by
longemen3000
7y ago
Yeah, the bromine ion has half life in the body of some weeks, and can cause some neurologic problems,but the body eventually expels it away. I would be worried, but is, not in my primary list of food risk
52.
▲
by
longemen3000
7y ago
Im following closely the development on an alternative to data.frame that works on disk (disk.frame),using the same API
53.
▲
by
longemen3000
7y ago
there is this great discussion about the Nim Language on Julia Discourse: https://discourse.julialang.org/t/version-1-0-released-of-ni...
54.
▲
Chile students' mass fare-dodging expands into city-wide protest
(theguardian.com)
1 points
by
longemen3000
7y ago
|
0 comments
55.
▲
by
longemen3000
7y ago
other sorting algorithm, taking advantage of SIMD instructions and being cache-aware, chipsort: https://github.com/nlw0/ChipSort.jl
56.
▲
by
longemen3000
7y ago
maybe you shouldn't supply invalid comparisons in the first place. but if you do, crashing seems like an appropriate response
57.
▲
by
longemen3000
7y ago
i'm a chemical engineer from chile, so at least i have to know something about local minery, right?
58.
▲
by
longemen3000
7y ago
It's important to note the difference between the two main sources of lithium. Chile and Bolivia has lithium in the form of brines (mainly Lithium Cloride, high concentration, relatively easy to extract) and ores (pegmatite, hard to ex
59.
▲
by
longemen3000
7y ago
Another advantage is the short distance between a production source (solar panels in the desert) and a storage solution (Andes Mountains, ideal for a Hydroelectric energy storage. there is aproyect looking to exploit this fact ( http:/
60.
▲
by
longemen3000
7y ago
Using key-value pairs? (Julia) `copy(src=>dest)` The advantage of that notation in this case is that expresses an explicit non-conmutability of the arguments.
More ›