Server’s down :(
Turun
- 0 Posts
- 141 Comments
Turun@feddit.deto Programming@programming.dev•What programming language ruby, python og javascript?42·1 year agoDefinitely JS if you want to also have a website. Use electron to turn your website into an executable for the desktop. Python+qt is ok for Desktop apps, but does not work for a website.
Languages that compile to wasm would also be an option, (e.g. https://egui.rs with rust), but as far as i am aware none of the languages you’ve listed are in that set. (Only go would even be a contender between python, ruby, js and go)
Ah, gotcha.
Is there like a list where you can enter your server so that other people use it as an ntp server? Or how did you advertise it to have 2800 requests flooding in?
I have similar specs and cost with ionos
It says posted 4 days ago, updated yesterday.
For most stuff the pi4 is also enough. Jellyfin (no transcoding) works fine on mine. It takes a bit to generate the chapter images and the timeline peek images when ingesting a new movie, but I’ve never had any issues with playback.
Wait what? Do I understand that correctly? You have a raspberry pi with a direct network connection to an atomic clock? That’s so awesome!
Turun@feddit.deto Programming@programming.dev•Benefits of a join table vs. array to express relations? (outside of SQL)1·1 year ago-
Yes, but devil’s advocate: you also need a program to text files, needing a program to read sqlite files is not worse.
-
I am confused by your requirements. Why do you need to store your data as json or XML? Would it suit your requirements to read in text files, convert to sqlite for processing and then save as a text file? What do you gain by being able to edit the files in a text editor, as opposed to a table editor? Do you maybe just need a config file (e.g. in toml format) and don’t actually do much data processing?
-
I don’t understand why anyone would be against vaccines, with one exception: parents who have a kid that actually suffered from one of the super rare side effects. For example I have seen a documentary about pro/contra vaccine, where one person featured was a child who had gotten polio as a result of the polio vaccine.
Turun@feddit.deto Programming@programming.dev•Benefits of a join table vs. array to express relations? (outside of SQL)2·1 year agoIt depends entirely on how you want to work with the data.
Have you considered sqlite? The database is just a single file, which gives you all the advantages of a text file (easy backup, sharing, easy editing via sqlite browser) while also providing the benefits of SQL when operating on the data (join, etc).
Turun@feddit.deto Programming@programming.dev•Pharo, the immersive programing language, has released its version 12 !1·1 year agoYou’d think so, but the title has a space there!
Turun@feddit.deto Programming@programming.dev•how good is this short introduction about myself (No CSS applied yet)?4·1 year agoThis assumes that OP actually meant git…
I fear they may have had no idea what the distinction between git and GitHub is and intended to say GitHub.
Turun@feddit.deto Not The Onion@lemmy.world•British passengers on Turkey flight drink the plane dry in under half an hourEnglish9·1 year agoFor what it’s worth, smoking was probably banned because of the fire risk and how easily it annoys people nearby. Alcohol is much more contained and mostly affects the person who directly consumes it.
Though I agree, considering how high the safety standards are in aviation, having people on board that are under the influence of drugs seems like something that should be banned.
Turun@feddit.deto Ask Lemmy@lemmy.world•If you could experience one historical event firsthand, which would it be and why?1·1 year agoIn science, especially math, all the famous scientists lived long ago. Newton, Euler, etc.
In computer science only the very pioneers are dead already. A lot of groundbreaking work was done by people who are still alive, or even still in working age.
It’s so weird!
Turun@feddit.deto Selfhosted@lemmy.world•Tarallo - selfhostable FOSS Trello alternativeEnglish111·1 year agoA basic image is really easy. It’s basically just
Dockerfile
FROM debian # start with a minimal Linux system. There are probably better options than debian. Some images are made especially for docker (i.e. very minimal and light weight). RUN apt install dependencies # do what ever you need to get your app running. RUN echo "options and stuff" >> /etc/a/config/file # you can also edit system files COPY . /app # copy your project into the docker container. EXPOSE 8080 # doesn't actually do anything, but documents where the app will be listening CMD server-binary run /app/main.php # I have actually no idea how php server stuff works
(Docs https://docs.docker.com/reference/dockerfile/)
Then people can run your project with docker.
Edit: checking the readme some small changes would be required. Config.php should read in environment variables and the DB init SQL should be run automatically somehow.
Turun@feddit.deto No Stupid Questions@lemmy.world•If hot air rises, why is it colder at the top of a mountain?1·1 year agoI can’t even criticize this comment, because you wouldn’t understand why.
So thanks for the effort I guess? But we’re not discussing real balloons.
Turun@feddit.deto No Stupid Questions@lemmy.world•If hot air rises, why is it colder at the top of a mountain?2·1 year agoEach time a gas molecule is hits the balloon envelope it transfers some momentum.
I see! Thank you very much!
If we assume the balloon model and the sides expand then each collision of a molecule inside the balloon with the outer wall will leave it with less speed and therefore lower energy and therefore a lower temperature.
As a consequence, gas expanding in a vacuum does not cool off, because it has nothing to transfer the energy to!
Turun@feddit.deto No Stupid Questions@lemmy.world•If hot air rises, why is it colder at the top of a mountain?1·1 year agoBut does the energy to expand the balloon not just come from the pressure? Pressure has units of energy per volume btw.
Turun@feddit.deto Programming@programming.dev•Any tips to help a scientist become a better programmer?1·1 year agoREST server and ORM python code
Fair enough, that can be achieved with pure python.
Turun@feddit.deto Programming@programming.dev•How we’ve saved 98% in cloud costs by writing our own database3·1 year agoA new database specifically designed for financial transactions.
I’m not an expert on finance software, so I can’t critically assert how good they really are. But they claim much much higher throughput than traditional databases, higher fault tolerance, self healing networks if several replicas are running, etc.
From a purely technical standpoint it’s interesting for being written in zig. Because the database scope is so narrow they know exactly how much memory they will need on startup and just allocate all required memory on startup and never allocate more, nor free the aquired memory.
C is so old, it has a way to work around that! In case your 198x keyboard was not set to ASCII you know. Not sure if Morse covers all the characters needed for the replacement trigraphs though.
https://riptutorial.com/c/example/23858/trigraphs