News for hackers. Stuff that matters.

yi_xuan

Re:Supervisors Often Prefer Rule Breakers—Up to a Point on Friday April 04, 2025 @01:29AM (#43578642)
The key is understanding the purpose of the rules, its pros and cons, and recognizing the impact of your behavior, both its benefits and harm, considering the feelings of others at the same time. That's essential and most challenging part - the part that requires wisdom.
Goland has no community version :)

Ask HN: Resource to Implement Transaction

I have been searching extensively for simple yet comprehensive transaction implementation. But I have only found a collection of concepts likes write-ahead log, etc. And reading db source code is somewhat difficult and time-consuming. I would appreciate it if anyone familiar with this subject could provide me with some references or tutorials for writing one. Implementations or books would both...

( Read More... | no comments | on HN )
Don't think so.

If articles are more efficient, then it means there are plenty of nonsense in books. I don't think good books are filled with a lot of nonsense, if they are, then they are not good.

However, it's a fact that there are a lot of books which are collections of many trivial topics, collections of unrelated articles.

Re:Six tips for better coding with ChatGPT on Tuesday June 06, 2023 @01:50PM (#36216547)
From my personal experience, it's quite useful but not as much as a lot of people thought it would be. The ability solving 'simple' questions is great. I used it more as a smarter google.
Recently, I have been watching the course MIT6.824. This article appeared very timely :)

Here is another raft implementation in Go https://github.com/eliben/raft

Re:Tracing Python on Thursday May 25, 2023 @01:47AM (#36067422)
Pdb also employs this approach for debug. I had wondered about pdb's implementation, when I saw it, I felt a little surprised.

Ask HN: How do fairly experienced senior engineers learn?

Due to the rapid development of the industry, there are something you need to learn almost every year. Novices usually prefer learning through videos. As they gain more experience, they begin delving into the source code of other projects and reading some office doc, which is the phase I am currently in. But I still like to watch the instructional video when learning new techs, I also read...

( Read More... | 7 comments | on HN )
Yeah, definitely I should, thanks remind me of this.
For now, it's indeed too small subset, more features will be added later though, I want to make sure all the code that gsubpy can interprete can be intepreted by CPython. So, the a subset of Python is the most accurate name I can think of right now.

Show HN: Gsubpy, an interpreter for subset of Python, written in Go

https://github.com/realyixuan/gsubpy

Recently, I write an interpreter for subset of Python using Go. I haven't seen source code of CPython, all is just written according to my understanding of Python so there may be some unusual things. Hope you can play fun with it. Any suggestion is welcome, glad to get some feedback.

( Read More... | 8 comments | 5 points | on HN )

Ask HN: Recommendation for Management Books

I have been a developer for years, nowadays I want to learn some knowledge about management. I think a developer has definitely to learn some things around him, knowing more than just coding, such as management.You can recommend books that improved you or made you impressed, not limited to IT field, all kinds of management is fine.

( Read More... | 2 comments | 2 points | on HN )
Re:What I've Learned in 45 Years in the Software Industry on Saturday December 03, 2022 @01:11PM (#33845755)
This is pretty like the quote from Thomas Huxley: "Try to learn something about everything and everything about something".

But I think people should choose topic carefully it should be fundamental, maybe it's soon unfortunately gone if you choose a trendy and short-lived tech.

Re:Stop lying to yourself – you “fix it later” on Monday November 21, 2022 @01:00PM (#33695678)
I experienced similar things, but not at work, but in life, about trivial things. I often told myself I would do it sometime after, but never. And then, I point a certain specific time to do it, I almost always do it. So I think if you set a exact time point, the probability will get higher.
Re:The “je ne sais quoi” of TikTok on Friday November 18, 2022 @01:58PM (#33660096)
This is a matter of degree, short video sets the bar lower and encourages the behavior. After all, the reacting videos are only small part of Youtube the whole platform, but short videos are always like that kind of nonsense.
Re:GitHub is planning Voice to Code on Thursday November 10, 2022 @08:43AM (#33546252)
The problems are more than how to express.

You have to read code and debug it that is inevitable, you can't say that there will not be any bugs if you use voice instead of writing.

Re:GitHub is planning Voice to Code on Thursday November 10, 2022 @08:26AM (#33546053)
"If you're thinking without writing, you only think you are thinking." -Leslie Lamport

Even though now speech recognition rate is really high, but I wonder how many authors use speech to write articles. The comparison may make sense. And I think there's few.

Re:Using a Framework will harm the maintenance of your software on Thursday October 13, 2022 @12:58AM (#33187418)
Frameworks subject to MVC pattern are logical cohesion, and tight coupled. In this respect, other frameworks, like Flask, are much better.

Older »