HNHacker News
TopNewBestAskShowJobs

majkinetor

3,319 karma · joined January 3, 2013

https://milic.info
submissionscomments
majkinetor··on Sqids – Generate short unique IDs from numbers
One of the points is also to use custom alphabet.
majkinetor··on Fast self-hostable open-source workflow engine
Rundeck is a java web app, using (by default) embeddable database or file system for configuration and data (you could use mainstream databases, but I never needed that).

Regarding "Connection to the main database" as far as my use case is, all the settings could live in the file system json files or sqlite if that makes installation trivial for the use case of being very good job scheduler with options to create great jobs UI, logs and management of small number of users (which is a fairly common scenario).

majkinetor··on Fast self-hostable open-source workflow engine
Final question.

Am I able to install it on Windows? I need windows specific things, such as powershell remoting. One of the good things about Rundeck is that server acts as worker, and it runs on Windows without problems (Installing it is as simple as choco install rundeck). I can then use all windows tools, run applications (including GUI ones) etc. just the same as if I run them outside rundeck, using OTB powershell.

majkinetor··on Fast self-hostable open-source workflow engine
I played a bit now on cloud and was able to run things in powershell and create a custom GUI form, connect button to script and show results in the text area.

I didn't succeed to return all output from the powershell, just last value. The only way I got it is by using control "job log". This one however has some custom header of windmill (job guid etc.), so is there any way to show a raw log ?

I generally do not like no-code tools, but first impression of this mix of no-code and code looks intriguing and app feels very nice overall, with great UI and easy to understand features. Good job.

majkinetor··on Fast self-hostable open-source workflow engine
I am using Rundeck now to schedule project jobs, get notified on errors, provide UI for PowerShells/bash scripts, and have decent project and user management. It uses Quartz and can handle hundreds of jobs per minute without a problem. It can connect to git repository to keep job definitions there. I also use local file system a lot (on Windows or Linux) as I don't like to edit my scripts in browser, given that they are mini programs with lots of separate includes.

I would like to try windmill instead. Can it cover all those cases, particularly the part where scripts are on the file system? Can I use automatic GUI creation for PowerShell scripts of windmill in such case? Rundeck transmits environment variables with GUI values when starting script.

majkinetor··on How to boss without being bossy
"Please" often repeated, is just noise. If you can't take it without it, you are not an adult and I don't want you in my team.
majkinetor··on .NET 8 Standalone 50% Smaller On Linux
I am a music collector and I don't see a problem with Jelly, apart from android app pausing after first song.

It recognized my Musicbrainz filled library immediately without any problem, it was 0 effort to have it fully available on the web with multiple accounts.

majkinetor··on The Never-Updaters: Why Some People Refuse to Download New Software
> Open source is full of instances where the person packaging the software is not the original developer.

How is that different. You seem to compare about method/language used.

> MSI (and MSIX) are complex databases of pain, but they absolutely know how to uninstall everything that they are told to install and that machinery is well tested now across way too many Windows versions.

They can do whatever developer wanted to do. Otherwise, we wouldn't have those gazilions of special cleaners/uninstallers we have

> My experience was very few of the packages I used did that and almost all revolved around some ad hoc Invoke-WebRequest

It was the case in the history, 5+ years back. Now big number of packages are not like that. I personally do not use non-embedded packages for office work. See https://github.com/chocolatey-community/chocolatey-packages/...

> Some people have built custom sources for winget to help with CI/CD scenarios

Yeah, you can fix anything. I keep rejected choco packages on my github too.

> Out-of-the-box caching/CDN for the primary public sources is still an active discussion,

I wouldn't use CDN, its just one dependency replaced by another. Cashing is irrelevant if you do not embed the software.

> but the neat thing is that it is an active discussion out on GitHub so that you can directly voice your "serious" use cases

You can have active discussion on GitHub with choco guys. I am sure results in winget case are not going to be much different. In my experience, way more pain than being useful.

So, to recap, the setup is almost the same with choco being small company and MS not. Choco is vastly better with features. I am moving to winget for various other reasons, that I won't talk about here and it has nothing to do with the tech.

majkinetor··on The Never-Updaters: Why Some People Refuse to Download New Software
That's also what is bad about winget - not having scripting language. AFAIK there were 0 incidents with choco scripts, they are mostly trivial to review (choco also has team of reviewers and no package can be published without being reviewed) and many tools simply can't be installed without PowerShell - the idea of "help some of the upstream packages clean up their installers" is irrational and unrealistic - some of those tools may be even done with the upgrades, which doesn't mean they shouldn't get a package.

Furthermore, many choco packages are embedded and contain the software, which means they can be cached (artifactory, nexus etc.) do not depend on vendor location and can work forever (like development dependencies). All of this makes winget vastly inferior to choco at this moment and suitable for hobby/home use, not serious things like maintaining CI/CD pipeline.

Choco package number and speed of update is on par with Arch.

The good thing about winget is it comes with Windows, which is probably the only one at this point.

majkinetor··on Biohacking Lite (2020)
Edge cases.
majkinetor··on Biohacking Lite (2020)
Loosing it is easy, keeping it is superb hard. Call me in 5 years when you return everything and add some more as your diet is unsustainable.
majkinetor··on Biohacking Lite (2020)
I will show you 1:

https://www.msn.com/en-gb/health/other/influencer-who-promot...

majkinetor··on Biohacking Lite (2020)
DHA is valuable transport since it doesn't require prerequisites and is ubiquitous, also SVCT doesn't transport DHA which you have tones of given that C is among other things ROS scavenger. Can't remember now the details, but I remember reading a paper where it was determined that DHA transport is substantial. Logically fallows that if you have to recycle C, its all you got, since you can't produce C.

Regarding immunity claim, here is something to get you started (50% claim):

https://ajcn.nutrition.org/article/S0002-9165(23)33417-8/ful...

> Oral 100-g portions of carbohydrate from glucose, fructose, sucrose, honey, or orange juice all significantly decreased the capacity of neutrophils to engulf bacteria as measured by the slide technique.

We also know what diabetes does to immunity...

majkinetor··on Biohacking Lite (2020)
Very nice find, and proves my points listed here.

Even if you are not responding to sugar bad in your body, your teeth are fucked for sure.

majkinetor··on Biohacking Lite (2020)
OK, phrase could be better.

Almost nothing worth taking that you can't get elsewhere, without all the junk. It's clearly true even for junk drinks - they usually have some low amounts of junk form of vitamins in them, but that is typically not why you drink them and you can find much better forms in higher dosages elsewhere, without the junk.

majkinetor··on Biohacking Lite (2020)
This is really well known, here is one random study about it.

https://www.sciencedirect.com/science/article/pii/S002231662...

It's also logical. GLUT2 is a passive transporter and relies on diffusion. You will always have a bunch more glucose than vitamin C, so it will outcompete it.

The same transporter is used for both, as they are very similar - GULO gene transforms glucose to C.

There is a special C transporter SVCT1/2, a pump, that that doesn't suffer from this, but requires Mg/Ca for activation and is a lot less distributed than GLUT2. But then, eating modern fruit simple doesn't have much of it, and even that is lost around the conditions used. That's why no animal on the planet delegated vitamin C production to the plants, the amounts are far from enough for satisfactory workings of the body (except us, GULO mutants), alas high enough so you don't disintegrate (scurvy).

This might be one of the reasons why sugar diminishes the immunity (to be more precise, phagocytic index ) by around 50% several hours after eating it. Don't ask for study, there is Google Schoolar et al.

> your intake on fruit seem quite extreme

That means nothing to me nor anybody seriously researching this stuff. I rely on interpreting science documents. My or researcher interpretations might be wrong, but it's still the best we know so far. Contrary to that, unquantifiable "advices" like don't be extreme or that of moderation are best to left unsaid and all it does is tell me that person simply doesn't know anything about the topic and should be completely ignored.

majkinetor··on Biohacking Lite (2020)
It's a language thing.

I was thinking about red peppers. It's also technically a fruit, but at least in my country nobody considers peppers a fruit but vegtable.

On wikipedia they say AKA paprika:

https://en.wikipedia.org/wiki/Bell_pepper

> In some languages, the term paprika, which has its roots in the word for pepper, is used for both the spice and the fruit

majkinetor··on Biohacking Lite (2020)
The person asked about eating fruit, not about replacing it with Coke.

> is better off having a glass of orange juice than Coke

Even this is debatable... I wouldn't be surprised if the net effect to the body is almost the same

majkinetor··on Biohacking Lite (2020)
No, there is not. Apart from some berries (particularly raspberry and blueberry) most of it is junk food that makes you fat, rises triglyceride and damages the liver.

Fruit is not a great source of vitamin C for the reason I mentioned. Red paprika is way better source for example, then any fruit. You better take a supplement too, liposomal variant if possible and/or film tablets.

You can get fiber from other, way more healthy foods, like quinoa seeds. Many people also remove fibers by juicing fruit, which is particularly unhealthy.

majkinetor··on Biohacking Lite (2020)
Yes.

There is almost nothing in fruit worth taking. Especially not a tremendous amount of sugar. One apple can have amounts of sugar similar to Coca-Cola. Furthermore, a lot of it is fructose, which is basically a poison to the body. The sole purpose of human adaptations to fruit seems to be fattening, which makes evolutionary sense for survival in the time of scarcity, but not when you have food in abundance all the time. Note that it's also true that todays fruit is 'weaponized' by long-lasting preference to sugary variants so it contains much more sugar then in historic times and a lot less of other things like vitamins and minerals.

One other important reason is that such amount of sugar will block vitamin C as they are absorbed via the same mechanism (GLUT2). Blocking vitamin C absorption leads to all sorts of bad things, slowly, like lower immunity, higher cholesterol, fragile blood vessels.

The third important aspect is cancer feeding (which mostly relies on sugar, so even though the body makes it, you certainly do not have to ignite it) and effects on insulin which dysfunction is tied to both cancer and diabetes.

You should replace them with vegetables.

As a personal anecdote, my family and I almost never eat fruit (in last 20 years or so) - at most a couple of times per year. We all seem very healthy.

majkinetor··on Ask HN: If you were to build a web app today what tech stack would you choose?
Very nice. I used pode for for some of my infrastructure services. Anything to show?
majkinetor··on Work only 3 hours a day, but everyday (2016)
This completelly ignores the inner and outer world that are somewhat or completelly out of your control in given context. For example, you might be immonologically or psychologically compromised, there might be a lot of noise in environment for some period of month, you got a baby etc. If you are alone, it might be a lot easier, but with family, any schedule that is not dynamic is failure.
majkinetor··on Refactoring has a price, not refactoring has a cost
Who cares.

- I don't even know you

- 'Irresponsible laziness' could also be replaced with 'ducks in space'

- I can leave any time. This is not slavery.

So its a method of work - maximize the input, minimize the loss.

You would be surprised. I actually know people like that, more then 1.

majkinetor··on Refactoring has a price, not refactoring has a cost
Either way, somebody pays, not me necessarily. Clearly different thing then claimed. Current project owner pays for sure. But who will that be when collection happens, and what team will be directly involved, that's entirely another thing. My bad habits may cost me nothing, there is also probability of gain.
majkinetor··on Ask HN: The ultimate user interface
We should obviously have both.

CLI is for automation. GUI is for exploration and certain limited contexts like mobile devices.

But CLI should be preferred when in doubt, or you lack resources. PowerShell type of CLI at that.

majkinetor··on Nushell 0.86
> It feels like what Powershell would have been, had it been designed by people who have actually used a command-line before.

It is designed by such people. Not sure why PowerShell tables and cross-platform support is not top notch \_(ツ)_/

Effort is salutable, but let's be realistic, Nushell is 10+ years from PowerShell.

majkinetor··on Sodium ascorbate treatment for sepsis moves to next phase of human trials
Great, I just got myself 10g of C IV.

I am happy to see that medicine is finally acknowledging that vitamin C in large doses is a thing with virtually 0 side effects. No wonder all living creatures make it in huge doses. Orthomolecular researches claimed this "discovery" decades ago. At least we didn't have to wait hundreds of years.

majkinetor··on Scalar: Generate interactive API documentations from Swagger files
Having a REST API client for experimenting in a documentation turns out to be wishful thinking. Its a toy compared to full-blown testing client such as thunder or bruno. Its probably for the best to save the effort and just make documentation itself better and more customizable.
majkinetor··on Scalar: Generate interactive API documentations from Swagger files
Core redocly is free. To have any more serious customization, you need to pay significantly.

Also, I highly appreciate redoclys starter template which tackles more serious topic about developing API first with reusable components instead of writing everything in one big file is is nightmare.

majkinetor··on "MP3 is dead" missed the real, much better story (2017)
I also use FLAC exclusively now. Space is not a problem any more and your archive can be used in many situations - different players, parties, as samples etc. Its not worth thinking about it.

Furthermore, people that share FLAC are way more pedantic about their archive in general - like checking for re-encoding low quality mp3s, file hashs etc.

← PreviousPage 13 of 34Next →