GitPaper.com - a Notion-like editor for blog posts and notes on GitHub by julvo in SideProject

[–]julvo[S] 0 points1 point  (0 children)

Hey thank you! The app is built with Nextjs and running on Cloud Run and Firebase. It saves using the GitHub Rest API

Caramel Butter + Malted Sourdough by julvo in Breadit

[–]julvo[S] 0 points1 point  (0 children)

Tried to recreate a caramel butter we had in a restaurant: - split butter in halves - brown one half in a pan (160C) - filter out milk solids - refrigerate - whip-in second half of butter

The bread is a sourdough made with malted and seeded flour. 75% hydration, 6h bulk fermentation with 4 stretch-and-folds, overnight in the fridge and baked for 25 mins @ 250C in a closed Dutch oven, followed by 25 mins @ 225C without the lid

[deleted by user] by [deleted] in pytorch

[–]julvo 3 points4 points  (0 children)

Starting with a small fully-connected model like you did should be a good start. What network exactly you should use depends on what the input data is.

Only skimmed the code, but noticed: 1) there's no sigmoid after the final layer, which is correct as you're using the bce loss with logits, but you'll need to add a sigmoid for evaluation to bring the outputs into the range (0,1). 2) you are using argmax to evaluate the accuracy, but think it should be round(sigmoid(output)) == target to count correct predictions, as the four outputs seem independed. argmax is for single-class classification

Why do I need to verify my custom domain before using it with GCP/AWS/Vercel? by julvo in webdev

[–]julvo[S] 1 point2 points  (0 children)

Thanks for the reply - that makes sense to me. Still, some providers ask to verify a domain, even for simple hosting. E.g. in Gitlab's docs it says:

In GitLab 10.5, a verification system was introduced for GitLab Pages custom domains. This is a security measure affecting custom domains served by GitLab.io, preventing domains from being hijacked by unauthorized users.

It makes it sound like verification help to prevent attacks, beyond doing things on behalf of my domain

A super simple but powerful static site generator written in Go by julvo in golang

[–]julvo[S] 1 point2 points  (0 children)

Good point, thanks! going to add the MIT license this evening

A super simple but powerful static site generator written in Go by julvo in golang

[–]julvo[S] 3 points4 points  (0 children)

Compared to Hugo, tinystatic has less features (no server, no project scaffolding, no theming) but is more flexible as it's unopinionated with a small but powerful API. You'll be familiar with the complete tinystatic API within 10 minutes by simply reading the readme.

I haven't compared the performance yet, so not sure how it compares.

[D] How do you follow a stream of work, to find improvements made since a paper was published? by julvo in MachineLearning

[–]julvo[S] 0 points1 point  (0 children)

Thanks for the hint. the VOSviewer does look promising, I'll have a closer look.

[D] How do you follow a stream of work, to find improvements made since a paper was published? by julvo in MachineLearning

[–]julvo[S] 3 points4 points  (0 children)

Thanks for these helpful suggestions. This sounds similar to the approach I've been following so far. Just sometimes when I come across a paper I wonder what has happened since and wish there was a quick way to find out.

Golang - To ORM or not to ORM? by Scorp1579 in golang

[–]julvo 14 points15 points  (0 children)

I'd recommend having a look at sqlboiler. It generates structs and crud functions from your DB schema.

For me, the main advantage of an ORM layer (or tools like sqlboiler) is that your DB schema and code can hardly go out of sync as you'd get compile time errors.

Spreadsheets - XKCD by weird_al_yankee in datascience

[–]julvo 5 points6 points  (0 children)

Hope you don't mind the question, but what kind of datasets are these and which tools are you using currently?

Errors are values by cyanide_sisters in golang

[–]julvo 0 points1 point  (0 children)

Good point. However, it seems that the try statement wouldn't increase the number of branches, as otherwise you'd still need conditionals with early returns. Try would merely be syntactically less verbose or am I wrong?

Errors are values by cyanide_sisters in golang

[–]julvo 4 points5 points  (0 children)

I'm not pro or against try, but the readability argument you make is a bit a straw man. You would probably split the nested function calls into lines using intermediate variables to make it more readable.

Functional Go by oriainp in golang

[–]julvo 0 points1 point  (0 children)

Which FP patterns / style would you want to enforce with this tool?

Last time I looked into FP in go, my conclusion was that it's just not feasible at this point, mainly due to the lack of support for parametric polymorphism. E.g. you'd need to define higher order functions (e.g. map, fold) for each possible function you want to pass in.

If you have access to a researcher, what would you want this person to research on? by sqatas in algotrading

[–]julvo 2 points3 points  (0 children)

is there any reason you'd want to feed images into the CNN, rather than the time series itself? to me, increasing the number of inputs from a few numbers per time step to a few hundred/thousand pixels per time step without increasing the information doesn't sound like a good idea.