Better HN
topnewbestaskshowjobs
Log inSign up

terminalcommand

1,673 karma · joined Sep 27, 2013 (13y ago) · 683 submissions

Corporate lawyer with a passion for computers.

Software design and implementation should be a joyous art, a kind of high-level play. If this attitude seems preposterous or vaguely embarrassing to you, stop and think; ask yourself what you've forgotten. Why do you design software instead of doing something else to make money or pass the time? You must have thought software was worthy of your passion once...

To do the Unix philosophy right, you need to recover that attitude. You need to care. You need to play. You need to be willing to explore.

Submissions

181.

Ask HN: Frustrated after moving out, need advice

1 points · by terminalcommand · 4y ago · 6 comments

comment 4y ago · link · parent

I'm sure PG wouldn't mind, these essays are in public domain under his blog.

comment 4y ago · link · parent

A more extreme measure some users here used to take was not access the internet at all during their downtime. When you come home from work simply not use the internet. I guess exceptions can be made for streaming movies/music. Ideally you should download and stock up on these.

I remember some users deliberately not connecting internet to their homes to stick with this. There were also some users who switched to "dumb" phones to reduce distractions. I guess these could work.

comment 4y ago · link · parent

AFAIK, pr0nhub currently only accepts crypto payment.

comment 4y ago · link · parent

The problem is it is substantially harder to purchase real estate than it was 10-20 years ago. If you are thinking of multi-generational housing, shouldn't the family wealth be stored somewhere.

You can of course chip in pay rent etc. But wouldn't it be nice to know that the flat is owned by your parents/family.

From where I come from, this is a normal arrangement.

comment 4y ago · link · parent

Public housing using new construction technologies, I think this is the answer. Let's build cheap high-rise buildings. We can expand vertically why not use it.

comment 4y ago · link · parent

I want to add a personal anecdote. I recently moved out at 26. Before moving out I couldn't imagine bringing a girl home. You need space and privacy to mate.

I certainly want to live closer to my parents but the multi-generational arrangement needs to provide space to live in, I can't share the same flat my parents are living in, come on it's too small.

The problem is having a private space, not living with parents. If parents can provide a flat with a seperate entry, even that would work.

comment 4y ago · link · parent

Are you self taught?

comment 4y ago · link · parent

I heard a rumor that Russia cannot disconnect Ukraine's internet infrastructure, because it is somehow interconnected with Poland, which is a NATO member. Disrupting Poland's internet could be seen as an act of agression against a NATO ally and would require NATO to respond. Again, this is only a rumor that I have heard, don't have any sources to back it up. Maybe someone here knows more?

comment 4y ago · link · parent

There are ASIC chips as far as I know.

comment 4y ago · link · parent

From a self-taught programmer's perspective, you mostly write concurrent code to speed-up io. Writing code with callbacks gives me the illusion of linearity. I know it's prone to errors but for simple tasks it's good enough. That's the reason for nodejs's popularity I think.

CSP is a brilliant concept, but it was a bit hard for me to wrap my head around without diving into graduate level computer science topics. This is not Go's fault, concurrency itself is complicated.

Whenever I try to write concurrent code with go, I resort back to using locks, waitgroups etc. I couldn't make the switch from thinking linearly to concurrently yet.

I might be downvoted again :), but actor based languages seem much more suitable for concurrency for me.

Again, I'm out of programming for a while, the last I coded it was a pain to do network requests concurrently in Rust due to needing intrusive libraries. Python was hard because the whole syntax changed a couple of times, you had to find the right documentation with the right version etc. Go was surprisingly easy, but as I usually plan the program as I write it, trying to write non-trivial concurrent code always results in me getting unexpected behaviour or panics.

The usual material you find on concurrency and parallelism teaches you locks/semaphores using Java, these are easier to wrap your head around. The last I checked material on CSP was limited to graduate level computer science books and articles.

I originally got into Go, because I thought it is memory safe, the code I write will be bulletproof etc. Then I understood that the achilles heel of Go (or any procedural-at-heart programming language) was dynamic memory allocation paired with concurrency.

This is my view as a self-taught programmer having no formal training in computer science. YMMV

comment 4y ago · link · parent

In addition Go is garbage collected. So you have a latency there as well. However, in most Go apps, you don't use that much memory for the garbage collector to become an issue.

Rust does not have a GC, but it's a much more complex language, which causes its own problems. IMHO, Go has the upper hand in simplicity. However, go also limits you a little, because you can't write memory unsafe code by default. You can't do pointer magic like you do in C. But things also get complicated in Go when you start to use concurrency. Again IMHO, event driven concurrency with callback functions (as in nodejs) is easier to wrap your head around then channels.

comment 4y ago · link · parent

US doesn't have a corrupt government like mine :). Under ideal circumstances this might be the case. But here you can build wind farms directly on bird migration paths without any counter measures. It would only become a problem if there are mass bird deaths you can't cover up. Environmental impact studies in my country are a joke.

An article (in Turkish) substantiating what I'm talking about: https://www.sozcu.com.tr/2021/gundem/kuzey-ormanlari-simdi-d...

comment 4y ago · link · parent

I can't read the study as it is in French. I am living under a highly corrupt government. You can build wind turbines / airports directly on bird migration paths here, no one says anything if you got an OK from the government. That's why I said engineers figure out ways to minimize bird deaths, however they are not always enforced. France may apply these principles, but my country doesn't.

A news article (in Turkish) substantiating what I'm talking about: https://www.sozcu.com.tr/2021/gundem/kuzey-ormanlari-simdi-d...

comment 4y ago · link · parent

Plus wind energy kills birds. Engineers try to minimize this risk, but greedy entrepreneurs with connections to lobyists and the government tend to "flex" restrictions.

Hydroelectricity also kills the nature, I heard that some argue that hydroelectricity shouldn't be classified as environmentally friendly.

comment 4y ago · link · parent

Sadly this is true in low income countries. My country cannot afford N95 masks, we used to use textile masks, now we have access to some filtered ones. We didn't have timely access to vaccines. Now that we are vaccinated the government pushes for herd immunity, because we cannot afford lockdowns.

comment 4y ago · link · parent

Second hand PC dealers in my country (Turkey) used to put together affordable gaming rigs using old Xeon processors a couple of years back. That's why my first guess was that if it was a Xeon.

I think Xeon processors also have special motherboards, so you can put TWO processors on some of them. That was a huge selling point for computer nerds like me.

Wikipedia says "Because of a hardware limitation not fixed until Ivy Bridge-E in 2013, most older Intel CPUs only support up to 4 gibibit chips for 8 GiB DIMMs". The E5-2609 is at the generation of sandy bridge. So you probably bought the Xeon to support 32GB :).

comment 4y ago · link · parent

Was it a Xeon processor :)?

comment 4y ago · link · parent

This is very true. I feel that the modern medicine disregards the connection between mind and body. Especially for chronic conditions, improving the patient's quality of life helps better manage the condition.

I've been experimenting with aromatherapy, music therapy and massage lately and I find that the overall quality of my life greatly improved.

comment 4y ago · link · parent

Well, in the beginning this was the case. But as time passed, some people returned to the office, our office didn't. Working from home has its benefits, but it also isolates you, makes it harder to seperate personal/professional life.

comment 4y ago · link · parent

Yeah this is true. When I say people I'm working from home, they look with pitty. When I say, I'm working remotely, people's impression change.

I don't know why this is like this, but it is true for me.

comment 4y ago · link · parent

Not the OP, but I'm quite interested in music. I don't think a 'musical ear' is something you're born with. Once you start learning to play an instrument where you have to tune it yourself, you get better at distinguishing between pitches. Special talent is required to identify the exact frequency of notes. Everyone can identify the difference between two pitches (intervals).

Plus, you will also notice that when two frequencies are at the same pitch (or at perfect intervals) something clicks between the tones. If two tones are similar but not at perfect intervals you hear it through the physical resonance, the distortion fades away when you get them right. Over time you'll start noticing these.

To pursue this,get a tibetan bowl for example, it only produces one note but with many beautiful overtones. You'll start to understand the vibrations.

I am not Indian and don't have much experience with Indian classical music, but Indian music relies heavily on timbre, sympathetic resonances etc. The note is not only made off of its frequency, the timbre plays a lot of role.

If you can get your hands on one, I'd suggest start experimenting with a tanpura. Learn a couple of tunings, play drone notes along your favorite tunes. If you can only tune one string to an electric tuner and try to tune the other strings with ear. This will develop your 'musical ear' immensely.

Music is magical, you can surely learn it.

comment 4y ago · link · parent

Tax cuts for companies, increased government spending to boost stock markets, state subvenventions, significantly lower interest rate than inflation.

204.

Many Turks can't afford bread and bakers can't afford to make it(nytimes.com ↗)

5 points · by terminalcommand · 4y ago · discuss

comment 4y ago · link · parent

This is exactly what has happened :). People close to the government made unbelievable profits at the expense of the people. If you're interested look up the story of the evoparated 128 billion USD of the Turkish Central Bank.

Our central bank sold 128 billion USD to friends of the son-in-law of Erdogan at a ridiculously low interest rate last year (1 usd = 6 Lira, now it is 14 Liras) with a confidential protocol. People have noticed it through the balance sheet of the Central Bank. Government officials refused the comment first, then they admitted that 128 billion USD were in fact sold. We still do not know to whom it was sold. This is probably the fraud of the century.

comment 4y ago · link · parent

There are capital controls, it would be illegal to sell in Euros to non-foreigners. There isn't anything stopping you from increasing the prices by indexing it to Euro though, you just have to announce it. Most consumer electronics markets use digital price tags for this reason. They update all prices in TL regularly (once a day etc.). Apple has this strange policy that it uses a fixed rate. They pick a high fx rate and stick with it until Lira depreciates to absurd amounts again.

comment 4y ago · link · parent

Nothing is stopping us, in fact the dolarisation of savings hit 67% (if I'm not mistaken). People keep their savings in gold and fx. But your salary is fixed in Lira, the cost of living increases. Each month you see that you are getting poorer and poorer (and by poorer I mean 10-15% each month). It's really hard right now.

If you're interested, this article on economist covers the situation: https://www.economist.com/finance-and-economics/erdogans-zan... (There is a paywall, you can read it from google cache).

comment 4y ago · link · parent

Well, I beg to disagree. There are millions of Turks living in Northern Cyprus. Prior to Turkey's military intervention, the Turkish people were being massacered. If Turkey ever ceases to support Northern Cyprus, there needs to be some sort of military presence to keep peace.

Northern Cyprus is not just a lifeless island, it's a place that has been the home for many Turks for hundreds of years. If having lived in the same country for hundreds of years after conquering it doesn't give you a legitimate claim to reside there, I don't know what will.

I think the value of human life is much more important than getting into a union. The EU shouldn't have pushed this requirement.

comment 4y ago · link · parent

If I'm going to use the monitor and there is not enough light in the room, I switch on a desk lamp and brighten the general area of the monitor. That way my eyes don't get strained that much.

This technique helped me a lot.

I also use a 32" 4K display at 125-150% scale so, fonts are nice and big.

comment 5y ago · link · parent

I've been a hacker long before I've become a lawyer. Started programming at 10, lived and breathed computers, grew up online. Actually, it was hard for me to adjust to becoming a lawyer, but I succeeded somehow.

I'm a hacker by birth, life led me to law. Most of my computer geek symptoms disappeared after working as a lawyer for a couple of years. Now I'm just a lawyer who was a computer hacker in a previous life.

1
678
23