Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kwertzzz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
102 ms
·
1.
▲
by
kwertzzz
1y ago
Can you give an example where theories and techniques from other fields are reinvented? I would be genuinely interested for concrete examples. Such "reinventions" happen quite often in science, so to some degree this would be expe
2.
▲
by
kwertzzz
1y ago
I am not sure if type K thermocouple are used for meteorological air temperature measurements. These sensors (based on thermal resistance) for example have an accuracy of 0.2 °C under typical conditions [1]. [1] https://www.ti.co
3.
▲
by
kwertzzz
2y ago
It would also be interesting to know how the orbits became quite circular afterwards (relative to the common center of mass).
4.
▲
by
kwertzzz
2y ago
> Not to mention that on Linux switching the locale may change the interpretation of filenames as characters, which isn’t the case with NTFS. If you change the locale to an uninstalled one, then yes. But if the locale is installed, then
5.
▲
by
kwertzzz
2y ago
The article mentions also that the computers are short-circuiting. I guess that you can lose a lot of energy when there is a short circuit. Maybe with an infrared camera, one can get an idea where all the energy is wasted. Apparently the au
6.
▲
by
kwertzzz
2y ago
Sadly, several python projects do not use semantic versioning, for example xarray [0] and dask. Numpy can make backward incompatible changes after a warning for two releases[1]. In general, the python packaging docs do not really read as an
7.
▲
by
kwertzzz
2y ago
I was asking myself the same question. I would love to see a derivation from e.g. the Navier Stokes equation for this. I think, intuitively, when you draw the streamlines under the rectangular wings, the applied force should be related to t
8.
▲
by
kwertzzz
2y ago
So we want: 1. free/gratis Linux distribution 2. long support (~ 10 years) 3. not needing to contribute (as a community) It seems that we can only pick two from this list (even a distribution with short support cycle needs community).
9.
▲
by
kwertzzz
2y ago
This is true, but you can inspect the package (and its dependencies) once installed and before importing it. Now it is an all manual process (with default tools, as far as I know), which contributes to the current state that only very few p
10.
▲
by
kwertzzz
2y ago
Here is a "Proof of the Law of Cosines" by the same author: https://www.tandfonline.com/doi/pdf/10.4169/amer.math.monthl... But this time not with complex numbers.
11.
▲
by
kwertzzz
3y ago
Can you give an example of its inconsistency? I would be genuinely interested what are the inconsistency from a Python-perspective. I am former Matlab/Octave user. To me the julia interface of matplotlib is actually quite nice to use,
12.
▲
by
kwertzzz
3y ago
I once had an issue with my LG5 phone who entered in a boot-loop (also a common issue with LG4). I don't have a head gun, so I put it in the mainboard of the cell phone in oven for maybe 10 min at 150°C to reflow the soldering. At leas
13.
▲
by
kwertzzz
3y ago
The uncompressed wasm binary for a simple fluid simulation in julia is 5k (or 2.7k compressed): https://alexander-barth.github.io/FluidSimDemo-WebAssembly/ But here the wasm code does only the number crunching. The vis
14.
▲
by
kwertzzz
3y ago
Or just use @. julia> X = [1.,2.,3.]; f=sin; julia> @. X = f(2 * X^2 + 6 * X^3 - sqrt(X))
15.
▲
by
kwertzzz
3y ago
It took me awhile to get used to the dot operator, but what convinced me that it was a good choice is that also your own function can be broadcasted with function_names.(args). For example is you have a function process_a_file(in_filename,
16.
▲
by
kwertzzz
3y ago
Interestingly most (if not all) python examples also work in julia. Instead of using sum one can also use count, which might be more readable: julia> count(age > 17 for age in ages) Or even shorter: julia> count(ages .> 17) Unde
17.
▲
by
kwertzzz
3y ago
On land, I guess we would agree that an oil spill in a pristine rain-forest is worse than a pristine desert. If you need a quantitative measure, one can use e.g. the number of difference species per area (biodiversity) to know the area wher
18.
▲
Systematic abuse of DMCA take downs via back-dated articles (2022)
(lumendatabase.org)
3 points
by
kwertzzz
3y ago
|
0 comments
19.
▲
by
kwertzzz
3y ago
I am wondering why the julia lox interpreter is so slow. Could it be that there is a lot of type unstable code or could it be an issue with julia's garbage collector? (I can relate to the comment that it is quite hard to find usable in
20.
▲
Interactive fluid simulation model implemented in Julia and compiled to WASM
(alexander-barth.github.io)
2 points
by
kwertzzz
3y ago
|
0 comments
21.
▲
by
kwertzzz
4y ago
> This died a long time ago with the pervasive use of NPM and PIP and the likes. When a malicious package is found on NPM or PIP, it will get removed. However, it is quite unlikely that a website will be taken town for a malicious script
22.
▲
by
kwertzzz
4y ago
Thank you for correcting this! (I get the same numbers as you for a million elements).
23.
▲
by
kwertzzz
4y ago
I would genuinely interested to see how much bytes a HashMap<Integer, Integer> would have in Java (or other languages) for a million entries. If I am not mistaken in julia, this would be 151 MB in julia or 88% more than just storing t
24.
▲
by
kwertzzz
4y ago
As far as I can tell one of the arguments for wheels is that the "Installation of a C extension does not require a compiler on Linux, Windows or macOS"[0]. I also check some scipy wheel file and there are some binary libraries. If
25.
▲
by
kwertzzz
4y ago
One solution that I often hear about Python packages is the use of wheels. But I am wondering how this can work when multiple package depend (directly or indirectly) on a C library like zlib. As far as I know, there is no authority that dec
26.
▲
by
kwertzzz
4y ago
I think the readability issue of vectorized numpy if often ignored (while readability is one of the main strength of python in my opinion). I could not resists to write the example of section 2.2 in Julia: using Random, BenchmarkTool
27.
▲
by
kwertzzz
4y ago
Thank you so much for sharing this. "And at the same time it is stated on behalf of Chancellor Hilter that these acts of violence [against Jews] by Nazis have been condemned and that official order haves been issued to prevent their re
28.
▲
by
kwertzzz
4y ago
> I’ve read some Julia source and its an awful experience trying to figure out what method is actually going to get executed because of multiple dispatch. This is the purpose of the @which macro: julia> @which diag(randn(3,3))
29.
▲
by
kwertzzz
4y ago
I would agree that if the course faculty provide significant and non-trival starter code, then publishing the solution would be a copyright violation. Some DMCA claims do indeed mention "The repository [from the student] contains code
30.
▲
by
kwertzzz
4y ago
This list of DMCA take-down at [1] is really extremely long and there are several universities that ask for instance to remove the solution of students' assignments [2]. I am wondering if a university can really claim copyright to a so
More ›