News for hackers. Stuff that matters.

free-malloc

Re:Ask HN: How do you keep up broadly with science? on Sunday July 10, 2022 @07:11AM (#32043631)
Quanta is a gem.
Do neural networks count as biomimicry? Are there good examples of software mimics life.
As someone who met my wife on OKC, this is sad. They valued user engagement over user engagement.
Always go on a second date if they are respectful and genuinely interested.

Date obese people. They deserve love as much as anyone else, but aren't treated that way.

Try to date divorced men with children since you know they most likely value children, vs a 40yo bachelor which indicates the opposite.

edit:

Point is you know exactly what you value: a family man to love and build a happy family.

You must accept that you are deeply marginalized in this situation given the time frame, and the realistic response is compromise. Drop all other standards and focus on what you actually value: love and family.

Filter against general attractiveness and fitness. Filter for words like "father" and "family". Filter for short men. Etc. Etc.

He's got a love-to-hate personality who is able to capture the limelight of journalist. This makes him seem like a firebrand to suckers who love him. They play off each other, making him into a massively famous celebrity.
I'm bummed out by the content of the article. I was hoping it was about the semantics of web forms and better ways to architect webpages.
Re:The Xinjiang Police Files on Tuesday May 24, 2022 @07:19AM (#31490577)
I think this is nearly entirely wrong. It's entirely about power and god.

Xi Jinping has cracked down on Christianity shutting down many churches. China has other ethnicities besides the Han, which don't speak Mandarin. If the Uyghurs had no faith they would be safe.

There is little room for religion unless the religion is centralized and submissive to the state. In some sense religion undermines the state.

Re:My penis fell off but it regrew on my arm on Monday May 02, 2022 @03:12PM (#31239480)
I did not re-member it.
Re:Is your SSH key still safe? on Friday April 15, 2022 @01:41PM (#31043180)
> For the ED25519, the key size should be 256 or larger.

This made him seem like a non expert. ED25519 is 256 bits always: https://ed25519.cr.yp.to/

Don't forget pistol whipping the application just because it was written in php.
Re:Ask HN: What do you wish you had done/known in your 30s? on Thursday March 24, 2022 @04:28PM (#30794959)
This. It might suck financially but perfect is the enemy of possible.
If a crib needs a gate it should be lower down.
What cipher does the machine use?
Re:Ask HN: How to Learn to Type Faster? on Sunday February 06, 2022 @08:03PM (#30238868)
Why do you want to type faster?

Ask HN: What makes a good 1-on-1

In the past I have had managers whose 1:1 meetings were worse than useless. But a couple managers I've had over my career ran excellent 1:1s. What makes a good 1:1?The best one stayed in the room after and took notes, so it always seemed like he had a god-like big picture view. But I can't recall what else made it good, and what we covered.

( Read More... | 3 comments | 7 points | on HN )
This is why I'm here. Thank you.
Re:How to read research paper, textbook, long text content? on Sunday January 09, 2022 @09:23PM (#29869868)
This. Every academic field has its own language, culture, and body of knowledge it regards as "fundamental." To go from reading English to reading a CS paper involves learning these.

And this takes a metric fuck ton of practice. There is no royal road.

IMO, you should probably start with easier material until you strengthen these muscles. Some examples of friendly CS texts that comes to mind are Programming Pearls, the C programming language, or the SQL paper by Codd https://www.seas.upenn.edu/~zives/03f/cis550/codd.pdf

I'd be curious what texts other people would recommend for someone who is a student getting a bachelor's degree in CS.

Re:Young's Lattice on Wednesday December 08, 2021 @07:45AM (#29484058)
Let me try (and probably fail) to translate some of that.

S_n is the collection of permutations on n symbols with a multiplicative structure. In python

from itertools import permutations

n = 6

S_n = list(permutations(range(n)))

multiply = lambda alpha, beta: [alpha[x] for x in beta]

This is the reason why Substitution-Permutation networks interleave permutations with non-permutations. Two permutations in a row is just a permutation. "Representation Theory" is the art of taking such multiplicative structures and associating every object with a matrix so that the matrix multiplication encodes the original objects multiplication. This is useful because mathematicians know so much about matrices.

For example if you define

matrix = lambda perm: [[1 if i == j else 0 for j in range(n)] for i in perm]

matrix(alpha) * matrix(beta) == matrix(multiply(alpha, beta))

However, it is desirable to represent it as matrices in a more "efficient manner". For example S_3 can be written using only two dimensions. Representation theory deals with stuff like minimal representation.

If you snake from the bottom of young's lattice upwards to a specific diagram you can record the information into a young tableau by writing in the cell when it was added. Young tableau are very mathematically rich, but here is an "application" of them.

If you have a balanced parenthesis (the dyck langauge), [[[][]][]] and you record two list of when you open and when you close

[0, 1, 2, 4, 7]

[3, 5, 6, 8, 9]

you get a two-by-n young tableau, since the grid is increasing horizontally and vertically.

Other special shapes of young tableau can encode other interesting structures. Also see TAOCP V3 5.1.4, or google the RSK correspondence.

edit 1: newlines edit 2: fixed python

Re:Google News without Covid or Lack Thereof on Friday December 03, 2021 @12:23PM (#29432518)
Let me help you: https://news.google.com/search?q=%22world%20news%22%20when%3...

If you want news, you should use their news product, not their general search. Also, the word "news" alone is nearly meaningless. If you want world news, type "world news", if you want sports news type "sports news".

If you want something timely, you can filter to the last 24 hours, instead of looking for something that is regarded as important from any time in the past.

Help Google help you.

Re:Cottage Industry on Monday October 11, 2021 @10:21AM (#28828629)
The zoom economy reminded me of this in a twisted "nothing new under the sun" type of way.
Re:Ay Chavrusa, Ay Meesusa on Wednesday September 22, 2021 @08:45PM (#28623961)
Pair programming reminds me slightly of chavrusa, the switching off of who's driving, and the intense discussions when stuck.

They also both serve as a very powerful learning experiences, sharing the struggle, and then learning how the other person solves problem.

Another characteristic pair programming and learning in chavrusa share is you can't do a threesome. If you are in a conversation with one person and they say something you know its for you. Some how this makes it easier to track a conversation while tackling an intellectually challenging task.