Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdeffebach
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
pdeffebach
3y ago
Perfect! So glad this exists!
2.
▲
by
pdeffebach
3y ago
Thanks for the feedback! Just to re-state my case in clearer terms: For my personal workflow (others may differ), compiling to html is only done once at the end of a session, and the latency wouldn't matter if it could execute like a s
3.
▲
by
pdeffebach
3y ago
I wish there was a better way to run quarto as a script, as in, as fast as `source` in R and `include` in Julia. Current behavior 1. Has scoping rules that make it difficult to debug 2. Has low latency, making it frustrating for debugging.
4.
▲
by
pdeffebach
3y ago
Have you tried DataFramesMeta.jl? It has a tutorial for people familiar with tidyverse. See [here]( https://juliadata.org/DataFramesMeta.jl/stable/dplyr/ ).
5.
▲
by
pdeffebach
3y ago
Maybe [this]( https://m3g.github.io/JuliaNotes.jl/stable/workflow/ )? The key is to work with modules, use Revise.jl, and Infiltrator.jl.
6.
▲
by
pdeffebach
4y ago
Jupyterlab is just an IDE. You can open up terminals, consoles (which are like notebooks, but are a console), and notebooks, on top of a text editor. It's actually really nice. Works great over ondemand and is way more responsive than
7.
▲
by
pdeffebach
4y ago
> The American problem is not one of a lack of houses. This is just a symptom. We made it illegal to build housing, so we don't have enough housing. We could fix our housing crisis by re-legalizing housing _without_ fixing all of th
8.
▲
by
pdeffebach
4y ago
I think small businesses owners often treat their workers badly and are overall a reactionary force in American politics. But sympathy makes a bit of sense when you think about it economically. The businesses that do make it in have more
9.
▲
by
pdeffebach
4y ago
Thanks for the detailed response. Yeah allocation seems like the biggest hangup here. I would rather have a function stick to a "no allocating" contract and allow for some undefined behavior than have a function unexpectedly alloc
10.
▲
by
pdeffebach
4y ago
What semantics are expected in other languages? This seems solidly in the realm of undefined behavior as far as I can tell.
11.
▲
by
pdeffebach
4y ago
I don't get these complaints about `sum!(a, a)`. Sure it's a bit of a footgun that you can overwrite the array you are working with. This doesn't rise to a "major problem" of composability. The histogram errors seem
12.
▲
by
pdeffebach
5y ago
In Julia you could have an `AbstractVector` type also be callable, or more likely a vector of callable objects (and the operation is performed row-wise). I agree it's unlikely that a user will name their column `.data`. But it certainl
13.
▲
by
pdeffebach
5y ago
It would be interesting to profile the 2nd version though. Assuming the non-standard evaluation has performance benefits (which they do in DataFramesMeta.jl), are you eliminating those benefits when you use .data[[a_var]] ?
14.
▲
by
pdeffebach
5y ago
Let's say you have a data frame df = tibble(a = c(1, 2)) and you want to use a dplyr verb to modify it mutate(df, b = a + 1) the `a` in the above expression refers to the column in `df`, but this means it's hard
15.
▲
by
pdeffebach
5y ago
Yes it absolutely needs a new name!
16.
▲
by
pdeffebach
5y ago
DataFramesMeta.jl might be exactly what you are looking for then! The syntax is very close to dplyr, but has performance benefits thanks to Julia. Here is a tutorial for those familiar with dplyr: https://juliadata.github.io/
17.
▲
by
pdeffebach
5y ago
> 2) I personally found that Julia community is slightly hostile to feedback and negativity. May be it is just me but it has way too much hype-driven-positivity that leads to delusion. I want to push back on this a bit, which I acknowled
18.
▲
by
pdeffebach
5y ago
Hello everyone. Hackernews has been discussing excel a lot the past few days. Fortunately, this conversation coincided with a release of a Julia package I've been working on, ClipData. It's a very simple package that also displays
19.
▲
ClipData.jl Easy interaction between Excel and Julia
(github.com)
4 points
by
pdeffebach
5y ago
|
2 comments
20.
▲
by
pdeffebach
5y ago
Just that there seems to be an expectation of using Rstudio when using things in R that seem generic. One pain point is that Rmarkdown uses a different pandoc installation when executed by Rstudio than from the terminal.
21.
▲
by
pdeffebach
5y ago
Yeah people in python are used to doing `python script.py` all the time, and that's not very convenient in julia. sysimages are great, as is daemonmode. But really just do Revise at the REPL.
22.
▲
by
pdeffebach
5y ago
QtConsole is actively maintained. I don't use it but I do like it a lot.
23.
▲
by
pdeffebach
5y ago
Plenty of people use the REPL in terminal and sublime text or vim or whatever. I also dislike browser-based tooling and think Julia has done a good job avoiding Rstudio-style dependencies. But if your point is the inability to do `julia s
24.
▲
by
pdeffebach
6y ago
> As far as I am aware there has not been any major push at the compiler level to speed up untyped code yet – although there should be plenty of room for improvements – which I suspect would benefit DataFrames greatly. That's not qu
25.
▲
by
pdeffebach
6y ago
Is the Navy really a good example of command structures that promote effective UI? According to Propublica, part of the reason for the Fitzgerald crash was bad interface design. https://features.propublica.org/navy-uss-mccai
26.
▲
Skin in the Game: Wall Street’s answer to the student-debt crisis
(harpers.org)
1 points
by
pdeffebach
6y ago
|
0 comments
27.
▲
by
pdeffebach
6y ago
Julia!
28.
▲
by
pdeffebach
6y ago
> This would allow a `plot` function in Python, originally written for the float data type, to also work for float-like (quacks like a duck) data types, like `Decimal`. This might come with sacrificed performance. If you want a different
29.
▲
by
pdeffebach
6y ago
Notions of consent are different. You do what the doctor tells you, and its an enormous ethical violation to recommend drugs without revealing the way you personally gain from it, or to encourage people to recommend drugs that are not medic
30.
▲
by
pdeffebach
6y ago
You can't edit a function like that. If you add a new function definitoin for foo(x::Baz) then you will never enter the method that has those if else statements. This is the benefit of multiple dispatch. You can't add mor
More ›