HNHacker News
TopNewBestAskShowJobs

newbye3

26 karma · joined May 21, 2022

submissionscomments
newbye3··on I’m nearly 60. Here’s what I’ve learned about growing old so far
https://news.ycombinator.com/item?id=26708148

The service is only free until you reach their limit. The post has 166 comments.

newbye3··on I’m nearly 60. Here’s what I’ve learned about growing old so far
I am 60 years old and as a person always learning I have accumulated a huge stack of knowledge and I think my mind is in a very good shape so I still can learn new things quickly. Long time ago I found a good balance between life and work, and a good paid job by european standards. The only problem is that sometimes I envy the 200K $ paid jobs, but there are two main walls to pursue that salary: First: I have no work experience in the IT sector. Second: I have never used AWS and other cloud services.I am risk adverse and receiving a huge bill for cloud services while learning AWS is something that I have avoided.

I can solve leetcode and hackerrank problems more or less easily, have a CS and math degree, a Ph.D. in Math, can program in a long list of computer languages, know a lot of stats, machine learning, algorithm, complexity, etc.

But at 60, if you have learned to focus in what is important, you will be able to provide an answer to many unknowns and that is a precious skill. So to summarize, at 60 I am in my best moment but you always want more (now is more money).

newbye3··on Understanding Bloom filters by building one
My first impression is that a better algorithm is obtained with one vector for each hash function, but now I am lazy to do the math.
newbye3··on What would a recession mean for developers?
Don't hire me, this version cons a lot )): (defun palindrome(str) (string= str (coerce (reverse (coerce str 'list)) 'string))
newbye3··on Go: Functional Options Are Slow
Perhaps this is the kind of problem in which a macro system, like that in common lisp, allow you to solve the problem paying the prize in a little more compilation time but not in runtime.
newbye3··on Flix – Safe, reliable, concise, and functional-first programming language
At first sight, in the examples: inc1(7) pure, inc2(8) impure, what's the meaning of inc2? (some kind of increment?) Then in the definion of map there is an argument function f, and in the definition there is a new function g that comes from nowhere, so for me at first sight the examples are not insightful.
newbye3··on Flix – Safe, reliable, concise, and functional-first programming language
in prolog the definition of path is something like: path(x,y) := edge(x,y). path(x,z) := edge(x,y),path(y,z).

So to me it seems a little strange the definition of path in datalog from a prolog user point of view.

newbye3··on Python Standard Library changes in recent years
If you are using integers to represent subsets then int.bit_count is the number of elements of the set. There is a machine instruction to count the number of ones in the binary representation, maybe popcnt is the name, I am not sure.

Edited, more info: AMD's Barcelona architecture introduced the advanced bit manipulation (ABM) ISA introducing the POPCNT instruction as part of the SSE4a extensions in 2007. Intel Core processors introduced a POPCNT instruction with the SSE4.2 instruction set extension, first available in a Nehalem-based Core i7 processor, released in November 2008.

https://www.rosettacode.org/wiki/Population_count