Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oxinabox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
oxinabox
6y ago
"departure"
32.
▲
by
oxinabox
6y ago
While I am posting this, i disagree with its conclusion. A seperate repo for your config is neither the only solution, nor is a particularly comprehensive one. For one, your deployment scripts, and other things that can escape the container
33.
▲
Build Pipeline Security
(sprocketfox.io)
2 points
by
oxinabox
6y ago
|
1 comments
34.
▲
by
oxinabox
6y ago
Well then, DaemonMode.jl as a hack to run scripts as fast as in REPL by leaving a julia Daemon running and just sending work to it https://github.com/dmolina/DaemonMode.jl
35.
▲
by
oxinabox
6y ago
Run `@code_typed` and `@code_llvm` and find out?
36.
▲
by
oxinabox
6y ago
Generally I am copy-pasting code out of a WIP package to test out an idea as I go. So the code is already being written in a file. Or I am using Juno/VS-Code/Vim-Slime to simplify the copy-paste. Other times I have the package I a
37.
▲
by
oxinabox
6y ago
I am guessing it is the thing where if you look at `@code_typed` you will see sometimes annotated not just with types but with `Const(42)` which shows where constant folding is occuring
38.
▲
by
oxinabox
6y ago
> Structs most definitely will be faster. I am not 100% sure this is true. Structs will definately look cleaner in the code. Not sure they will be faster though.
39.
▲
by
oxinabox
6y ago
fixed, to be more limitted in the claim
40.
▲
by
oxinabox
6y ago
I think they mean no GUI for that. To manually (rather than programatically) do this.
41.
▲
by
oxinabox
6y ago
> You don't need to compile the plotting library every time. You don't need to but Julia does. Its definately a issue, and I know it is being worked on. Julia doesn't store compiled binary code between sessions. Unless you
42.
▲
by
oxinabox
6y ago
> (2) Is there something like python's `requests` lib? For HTTP (etc) requests? There is HTTP.jl which I have never had problems with; tons of packages use it. I have used it to wrap a ton of different REST APIs etc. And in 1.6, as
43.
▲
by
oxinabox
6y ago
> (1) How is its database connectivity? Databases are not really my thing but: From what I hear: It is ok. Not amazing. But decent. LibPQ.jl is very mature (we run it in production). MySQL.jl exists, I hear about SQLite.jl being used pr
44.
▲
by
oxinabox
6y ago
The main equation may not really be anywhere near so simple as that. E.g. for the kind of stuff I do for work the main equation is something like output a vector which is the instructions for every powerplant in Texas of how much power to p
45.
▲
by
oxinabox
6y ago
> That is, I can see how the derivative can help optimise a simulation, but I'm not clear on how using an auto derivative really helps. Finding a derivative by hand gets tiring fast, and is error prone. Used to be a neural net paper
46.
▲
by
oxinabox
6y ago
Correct. sin and cos was merely an example. Every real AD system has a primative for sin and cos. but they do not have every single operation you might ever implement (else what would be the point), and it is unlikely they will have every o
47.
▲
by
oxinabox
6y ago
anyone one know why of the 7 AD's tried (8 including the one implemented at the start) there are the different answers? 0.4999999963909431 vs 0.4999999963909432 vs 0.4999999963909433 I assume if is some kind of IEEE math thing. given t
48.
▲
by
oxinabox
6y ago
> Automatic Differentiation doesn't incur more truncation error than symbolically differentiating the function and then calculating the symbolic derivative's value. Yes. The article even says that. _"The AD system is (as y
49.
▲
by
oxinabox
6y ago
> https://github.com/JuliaDiff/ChainRules.jl is used by (almost all) automatic differentiation engines and provides an extensive list of such rules. ChainRules is going to be used by everything. Right now it is us
50.
▲
by
oxinabox
6y ago
Note that this applies backwards also. Of the 7 ADs demoed, only 1 was forward. The other 6 were reverse mode. All gave same result
51.
▲
by
oxinabox
6y ago
Occationally, there are a few places where you want arbitary high derivatives. But in general there are specialized solutions for those (though very few things implement them. E.g. Jax's JETs and TaylorSeries.jl in julia implement tayl
52.
▲
by
oxinabox
6y ago
Correct, which is mentioned at the end of the post. I am not sure how well it generalizes, e.g. to multivariate functions that are defines as solutions of some thing like a differential equation. Maybe it does? I don't know.
53.
▲
Automatic differentiation does incur truncation errors (kinda)
(oxinabox.net)
83 points
by
oxinabox
6y ago
|
42 comments
54.
▲
by
oxinabox
6y ago
> The author's proposed solution is for sites to use DPI instead, but this would thwart the preferences of users who use scaling because they want the whole site to look bigger. The author's problem is not things becoming bigge
55.
▲
by
oxinabox
6y ago
Interstate idea. The title overstated too late though. Following the premise that an expanding civilization is expanding near the speed of light and it's radio will reach us first. We can expect hundreds of years between radio and any
56.
▲
by
oxinabox
6y ago
One of the TeX stack exchange questions I keep coming back to is how to get tabular digits to show in duplex. Very useful. https://tex.stackexchange.com/questions/88958/make-numbers-i...
57.
▲
by
oxinabox
6y ago
ESH
58.
▲
by
oxinabox
6y ago
Most languages designed to be used by people are not good targets for people creating new languages. Very different set of concerns. The main ones I am aware of are: JavaScript: you basically got to if you want to run in a browser. And C Be
59.
▲
by
oxinabox
6y ago
We have spend decades understanding the seperation of presentation /view from model
60.
▲
by
oxinabox
6y ago
A consistant alignment-free indenting only style is perfectly readably. More reably than a lot of inconsitently applied and subjective alignment styles I often see. Though I have also seen consistently applied non-subjective alignment based
More ›