HNHacker News
TopNewBestAskShowJobs

tpfour

310 karma · joined December 4, 2017

submissionscomments
tpfour··on SRE Fundamentals: SLIs, SLAs and SLOs
Quite OT but I almost always wash my hands _before_ (and after) using the restroom. Especially in a public place, it always made sense to me to do it before and after. It seems much more hygienic both for the "holy object" and other people!
tpfour··on Ask HN: Is this a proper explanation of call/cc?
Ah that is weird. Try going to the URL without .png see if it works?
tpfour··on Giteabot account was compromised
For me it has the following advantages:

- In-browser viewing of diffs and code - Issues management - Showing code to clients/other devs is simpler and prettier. - Can push to local and run tests on a fresh repo pulled in a VM

Honestly as with mostly everything, it can be achieved by other means. It's just what feels good to me. It's extremely lightweight but robust and fits well in my work environment. That is all code editing is done in Emacs with millions of opened tabs in Chrome. I make extensive use of workspaces in xfce and I just Ctrl-Alt-(Right/Left) my way around going back and forth Emacs/Chrome. I could just have a file manager opened and double click on every file, or open them in Emacs, but that isn't always necessarily faster (for me).

Tldr: Personal preference.

tpfour··on Giteabot account was compromised
Gitea isn't meant to replace Github... it's meant to be a self-hosted alternative to it. That's subtly different.

I use it for as my local git server on Debian 9. Binary is in the /home/me/gitea directory. Run the usual gitea setup, then copy this to /home/me/.config/systemd/user/gitea.service:

  [Unit]
  Description=Gitea (Git with a cup of tea)
  After=syslog.target
  After=network.target

  [Service]
  RestartSec=2s
  Type=simple
  WorkingDirectory=/home/me/gitea
  ExecStart=/home/me/gitea/gitea web
  Restart=always

  [Install]
  WantedBy=default.target
Then just systemctl --user daemon-reload && systemctl --user enable gitea. Then visit localhost:3000 and add it to your remotes (git remote add local ...) and you can push your changes to your own gitea instance.
tpfour··on Vuetube – Video resources that will help you to improve your Vue skills
Here's an article that discusses v3: https://vuejsdevelopers.com/2018/03/26/vue-cli-3/.
tpfour··on US Digital Currency
Well there are rules they have to follow. Just like there would be rules to follow with the crypto coin... Not sure what's the difference.
tpfour··on US Digital Currency
What is this... jotting down some notes? I guess this will generate discussion because Sam wrote it, but it is probably one of the most boring and banal ideas in the space. And the exposition is very... shallow to say the least.

"A tricky part of this would be how to balance letting the network have control over itself and letting the government have some special degree of input on ‘monetary policy’. It’s certainly ok for the government to have some, but I think the network needs to be mostly in charge (e.g., the government couldn’t be allowed to arbitrarily inflate the currency when it wanted to)."

This is how the current monetary system works. The "government" can't "arbitrarily inflate the currency". I'm surprised at the lack of depth of this article, is this a brainfart? Haha.

tpfour··on Chemists provide theoretical interpretation to understand chemical reactions
Sure! Reach us at info@quanta.software.
tpfour··on Chemists provide theoretical interpretation to understand chemical reactions
We're building an interface like WebMO, but modern. We are not re-writing any quantum chemical software for the moment, however we've written some as grad students. For now we are concentrating on replacing JMol and getting our API functional with NWChem.
tpfour··on Chemists provide theoretical interpretation to understand chemical reactions
Hijacking this comment to shamelessly plug my project. We're holding a survey at https://docs.google.com/forms/d/1NXMpmD3DkDuAPgaOpLM2baJRyCi.... Our goal is to build the best platform for Computational Chemistry. Still in development stage, but I'd be glad to answer any questions. Also very appreciative of anybody who completes/shares this survey!
tpfour··on The State of JavaScript 2017
I recently had to build a small web app. I mostly code for fun, and I've been writing Python for years. I was able to learn how to use VueJS with single file components in about a week, with Flask as a backend, plus Bulma as a CSS framework. Nothing fancy but it works flawlessly. Also, the Vue team offers a Webpack template so I didn't have to spend a minute learning about that.

Overall very pleasant experience.

Edit: woops, forgot to say what I actually wanted to say! You don't need to write everything in one language. I actually abhorred that idea, and glad I found a stack that 1. doesn't need much maintenance 2. doesn't force me to spend countless hours learning about why XYZ is better than ABC and how QRT were wrong about this and that and learning 100 different new concepts and terms. I put together the stack myself, and it worked without me having to bend my programming knowledge to the particular task. There's value in this.

tpfour··on Lost Einsteins: The Innovations We’re Missing
One tangential point is that earning a scholarship seems to increase your chances of winning another. I recently heard on the local news that X student had earned a prestigious scholarship, and that he had previously won multiple others. What's the use of giving away a lot of money and recognition to someone? When is is "too much"?

Scholarship resources being limited, you should maybe get less chances to win another scholarship after winning one. Then you'd get more people with scholarships, and maybe some of them would get the confidence boost they need to actually perform instead of work stupid jobs.

One particular case I always thought was especially unethical is for some people to win scholarships and then change branches entirely. I.e. to use the scholarship for an application to med school, or law school, or whatever other program they didn't get into.

← PreviousPage 4 of 4