HNHacker News
TopNewBestAskShowJobs

clktmr

677 karma · joined April 2, 2019

https://www.timurcelik.de/
submissionscomments
clktmr··on Ask HN: Itchy eyes, any ideas / suggestions?
I use Levocabastine whenever my eyes are itchy due to an allergic reaction. Can be used daily AFAIK.
clktmr··on Dura is a background process that watches your Git repositories
There is also the `undofile` option, which stores your undo-history permanently on disk. You can also go to an earlier version of the file from 4 hours ago with `:earlier 4h`.
clktmr··on Ask HN: Working with large code base for the first time
- Before starting to dive into the code, take a look at it from the users point of view. Make sure you know what the code does by reading manuals and playing around with it.

- Don't try to learn domain knowledge from the code. I you need to get familiar with code of a JPEG decoder, learn how JPEG works first.

- Before reading code, make sure you can jump to definition and find references. The easiest and language agnostic way is to use ctags and grep.

- Start reading code from main() (or an API call in the case of a library) and then start to dig deeper. This way will get a feeling where the "important" code is"

clktmr··on 3 lines of code shouldn't take all day
I worked on projects with long compile times and nowadays I will often write code all day without executing anything and then spend the last hour running and fixing it. Maybe that's a skill I developed because of long compile times, but whenever I work on a project with short ones I feel much more motivated and productive. Your experience is probably biased from watching beginners learning to code.
clktmr··on All Horses Are the Same Color
Yet, that assumption is not needed for the proof and can simply be removed. I think OP just wanted to say "what follows is the proof for the induction step".
clktmr··on Do we really need undefined behavior?
"Do we really need UB?" is the wrong question asked. "How much UB do we need to achieve the design goals of our language?".

I think introducing UB while planning tight integration in the language's tooling beforehand has lots of upside. Even GCC's ubsan does quite a good job, although created retrospectively.

clktmr··on Transatlantic ping faster than sending a pixel to the screen? (2012)
Optimizing for latency is often counter-intuitive.

Polling as an example may be an effective way to lower latency, e.g. Linux NAPI.

Increasing buffer sizes may also decrease latency because data can be processed in bursts, see buffer starvation. But if data comes in at a higher rate than can be processed, buffers fill up and are horrible for latency.

clktmr··on Tree Sitter and the Complications of Parsing Languages
It can also be used for text editing, e.g. changing, deleting, swapping of function arguments or any other text object defined by the language syntax.
clktmr··on I like e-readers now
Personally would love to use an e-reader to read lengthy blog posts, but last time I tried it was very tedious. I converted the post to PDF using firefox's reader mode and uploaded these to the device. Are there any e-readers with something like firefox's reader mode integrated?
clktmr··on Show HN: 40k HN comments mentioning books, extracted using deep learning
Interestingly I recently read "A Fire Upon the Deep" based on a HN recommendation. A quick search showed it has many mentions, yet it's not listed in your app at all.
clktmr··on Switching to the i3 window manager
FWIW I recommend everyone to try the `stacking` layout instead of `tabbed`. It makes navigation much more intuitive if you're mainly using horizontal splits: Left/right to focus your split and up/down to select a window from that stack.
clktmr··on Paternity leave: The hidden barriers keeping men at work
Do you think eldercare should be supported by public money? If yes, why shouldn't childcare?
clktmr··on Paternity leave: The hidden barriers keeping men at work
Maybe it's not the best idea to expose yourself to any risks or live unhealthy, if you can't afford healthcare. /s
clktmr··on Paternity leave: The hidden barriers keeping men at work
> The reasons are that I don't care about other people's kids

You are contradicting yourself.

clktmr··on Paternity leave: The hidden barriers keeping men at work
Yet I don't care about your health, education, safety.. Let's just agree that public money should be spent on public interests.

Maternal leave is not to "pop out" more children, but to give them the care and upbringing they need.

Having children is not a personal lifestyle choice, it's a basic human needs. Otherwise we won't exist.

clktmr··on Paternity leave: The hidden barriers keeping men at work
Well, what should be payed with public money in your opinion? Only things everyone cares about?

Most people agree that children are a very important part of our society and future. If that isn't worth being supported by public money, I honestly don't know what else could be.

clktmr··on 25 Gigabit Linux internet router PC build
The most interesting part for me came at the end: It runs router7+gokrazy, a self-written pure-Go userland instead of the traditional GNU userland.
clktmr··on Red and blue functions are a good thing
The example screams "Premature Optimization".

What if fetch_*() weren't async function (e.g. because doing CPU heavy work)? The Rust Code would look just like the Golang code, except you'll now need the wrapper code do make them async.

clktmr··on Building an E-Ink Laptop
Interestingly this will benefit from terminal apps that were optimized for slow TTY lines, which will require less screen updates.
clktmr··on Counterfeiting Stock – Explaining illegal naked shorting and stock manipulation
Not what is happening at all.

GME was trading below net cash last year, which is insane. E-commerce is growing 300% YoY and Ryan Cohen, former founder and CEO of Chew, just made a major move as an activist investor. If GME was valued by VC measures, it would be trading at $420. Most of the people on WSB believe in the value of the company and have faith in a successful turnaround.

clktmr··on Git is too hard
Git can be compiled as a library and statically linked. A project using git as a library is 'cgit'.
clktmr··on Linux Command One-Liners
It would be nice to have these available as snippets on the command line with fuzzy search.
clktmr··on [dead]
Clickbait.

  > The General was eventually found by a greeting party.
  >
  > The Army said he was never actually lost, but was "not where they were expecting him".
clktmr··on Attention Is My Most Valuable Asset for Productivity as a Software Developer
Couldn't find said study. I would be interested how they measured productivity.
clktmr··on Go Type Parameters – Draft Design
The Linux kernel is very different in this regard. Changes can be reverted easily. A change to the Go language will propagate quickly in it's users projects and probably stick with you forever.
clktmr··on Go Type Parameters – Draft Design
Go is one of the most stable languages maintaining backwards compatibility since it's creation. Calling it's users labrats because you disagree with some decisions is totally misleading.
clktmr··on How I talk to the victims of conspiracy theories
A fact-check doesn't need to be done by an authority. Pointing out logic errors (i.e. correlation != causation, loops in chain of reasoning) in the argumentation can be done by anyone, and be understood by anyone willing to think.
clktmr··on Ask HN: Go programming language is over ten years old. What do you think of it?
Go was the first language that put a real effort in building a community, best practices and a healthy, sustainable ecosystem. This starts to pay off as there are more and more actively maintained, high quality libraries available.
clktmr··on Penetration testing and low-cost freelancing
You will find exponentially less vulnerabilities the more money you spend. How much you should spend depends on how big the damage could be in case of a breach.
clktmr··on Discipline Doesn’t Scale
> Really, "lock free" programming is just locking critical sections with lower level hardware primitives

Can fence instructions really be seen as locking mechanism? While a lock generally is bound to some data, memory fences are bound to relationships between data or a piece of code. I don't know if Rust or any other language can help you with that.

Isn't the actual bad practice to expose locks at all? If the locking is done implicitly in API calls, one doesn't need to ask "What locks it".

← PreviousPage 3 of 6Next →