HNHacker News
TopNewBestAskShowJobs

ximeng

3,470 karma · joined November 18, 2009

ximeng888 at gmail

Bubble cursor:

https://codepen.io/anon/pen/bjwKdX

submissionscomments
ximeng··on How Hong Kong became a police state
https://news.ycombinator.com/item?id=31364321

Not sure if this counts as a positive post but at least it seems balanced and informative.

ximeng··on How Hong Kong became a police state
https://news.ycombinator.com/item?id=30624579

The above article recently posted to HN doesn’t fall clearly into “steals IP” or “can’t invent their own stuff”.

ximeng··on Show HN: PRQL 0.2 – a better SQL
One way to avoid constraint name collisions is to include the base table and foreign table names and keys in the constraint name separated by underscores, at which point you don’t save much by using the constraint in a join.
ximeng··on Twitter misses ad revenue and user growth estimates
WhatsApp has an API for $$:

https://www.whatsapp.com/business/api

ximeng··on Mathematicians Prove 30-Year-Old André-Oort Conjecture
https://news.ycombinator.com/item?id=29929935 Think this is the subconvexity one?

https://news.ycombinator.com/item?id=29790830 This one is also related to primes.

ximeng··on Show HN: A daily math puzzle inspired by Wordle
The answer appears to be in the ? help guide.
ximeng··on Folly: An open-source C++ library developed and used at Facebook
https://github.com/facebook/folly/blob/main/folly/docs/Overv...

This has library contents: it’s a mix of various utilities - type conversion, data structures, memory management, random numbers, concurrency, etc.

ximeng··on Framework Laptop with Ubuntu Review
I used to have issues with two different screens that needed different scaling but as of 20.04 it's mostly fine to use fractional scaling on one monitor and not the other.

I've still had some issues with some applications not scaling their widgets properly, but it's mostly ok.

ximeng··on Lawsuit filed alleging Google is paying Apple to stay out of the search business
The allegation is these companies are not competing with each other, they are working together. This includes working together to prevent competitors making their own devices. There are very limited alternatives if you want to avoid Google and Apple completely.

I'm not familiar with the Eurovision show you mention, so not sure of the relevance.

ximeng··on Lawsuit filed alleging Google is paying Apple to stay out of the search business
If you’re not happy with Apple and Google behaving monopolistically “buy Google Pixel” doesn’t seem like a great solution. Nor does buy a phone running Google’s operating system feel like a great answer.
ximeng··on Mathematicians Outwit Hidden Number Conspiracy
This is exactly the kind of thing I'm thinking about, thank you. It still looks challenging but certainly more accessible than the original.
ximeng··on Mathematicians Outwit Hidden Number Conspiracy
I think maybe Wikipedia is better here than Wolfram's site, it has entries for Ramanujan graphs and expander graphs for example.

The paper does actually seem readable, especially at the beginning, but it's dense and long. Somewhere between the article and the paper in terms of complexity and technicality would definitely be interesting to me, although I realise it's a lot of work to produce something like that.

Interestingly the paper acknowledges collaborators who have helped via MathOverflow. I wonder if a collaborative site for explaining maths papers in more detail could be viable. After all, even xkcd.com has explainxkcd.com. Like you, I am not sure what this would like, but it would be fun to find out.

ximeng··on Mathematicians Outwit Hidden Number Conspiracy
Just to be clear - I love the article and want more.
ximeng··on Mathematicians Outwit Hidden Number Conspiracy
I agree in general, and Quanta is great, including this article. I do wonder if more could be done in this case, where the abstract (https://arxiv.org/abs/2103.06853) has relatively simple terminology.

I guess I'm just greedy for more of the same.

ximeng··on Mathematicians Outwit Hidden Number Conspiracy
This is a great overview, but there is a big gap between the narrative style overview here and the technical details of the proof in the paper. The conclusion is in very vague terms ("far fewer integers"):

Helfgott and Radziwiłł’s solution to the logarithmic Chowla conjecture marked a significant quantitative improvement on Tao’s result. They could sample over far fewer integers to arrive at the same outcome: The parity of the number of prime factors of an integer is not correlated with that of its neighbors.

It would be really interesting to have a commentary to go along with the proof to help bridge this gap. This could explain why choices are made in the proof and help to visualise the implications.

This article comes close in some ways, for example with the examples regarding multiplicativity of the Liouville function. OK, it is a 100 page paper, so understanding the details of the proof is going to be tough. It would still be fun if there was a way as an interested reader to step up from reading this type of article to at least understanding the abstract of the paper.

ximeng··on Fixing stutters in Papers Please on Linux
Fun write up. Here’s another example of a binary patch to fix a Linux game issue:

https://steamcommunity.com/app/333300/discussions/0/26463606...

ximeng··on Hacker Laws
https://svnweb.freebsd.org/base/head/usr.bin/fortune/datfile... FreeBSD fortune file
ximeng··on Why everything eventually becomes a crab
https://en.wikipedia.org/wiki/Carcinisation

Relevant Wikipedia page

ximeng··on Prince of Persia in JavaScript
https://m.youtube.com/watch?v=ZW_eExHpTZI

There is a link in the description of the video you shared to an extended version showing more how the animations were created from videos.

ximeng··on Mocking Bird – Realtime Voice Clone for Chinese
https://github.com/CorentinJ/Real-Time-Voice-Cloning this one maybe?
ximeng··on Mocking Bird – Realtime Voice Clone for Chinese
https://www.hsbc.com.hk/ways-to-bank/phone/voice-id/ HSBC Hong Kong allows you to use your voice to log in to phone banking without a PIN. What could go wrong.
ximeng··on Coming to Agreement, a logic puzzle for Oxford admissions interviews
Yes it doesn't quite feel right, but the problem as posed also doesn't quite seem rigorous enough, leading to some of the confusion in the answers here with people saying it seems easy.

Maybe two VMs, identical program loaded on both, pick a leader through synced messages. You can't do this unless there is something different about the VMs. If one VM goes first it's easy (just use its suggested color), if there is a hardware RNG, easy (iterate until one VM rolls higher than the other, then use the last suggested color from that VM).

If the programs are different (as "maximally logical" is vague), then it comes down to some kind of analysis of the output of an arbitrary program, which is impossible in the general case. You then have to assume some kind of shared knowledge (red most likely, rgb averaging is most likely way to blend, known mots likely ordering of colors such as alphabetical) to make progress.

ximeng··on Coming to Agreement, a logic puzzle for Oxford admissions interviews
Trying to make this a little more rigorous:

You have two VMs, VM one has a program pre-loaded that takes an optional tuple (bool endGame, rgb agreed_color, string message) and emits a tuple in the same format. The message from the emitted tuple is used as input to a similar program on the second VM, the output message of which is passed as input to the first VM.

Both VMs also send their output to a judge which decides the next stage of the game as follows:

The game ends with a win if the output from both programs includes endGame set to true and agreed_color set to the same as the other program. If endGame is set to true by either program then the game is lost unless the win condition is true. Otherwise the game continues.

You need to write the program on the second VM without knowing the program on the first VM. However you can assume a "logical" program is loaded. If we assume this means you can send code through to execute on the other machine: eval(message), then we can simplify the problem to loading the same program on both VMs and executing it.

This is easy as is, program both machines to output (true, red, ""). So to make it interesting there needs to be some complications.

Effectively there is some hidden state on the first VM. Maybe this could be modeled as a random permutation of the color space on the first VM such that any reference to a color is first permuted before being output, including within messages.

This would mean the initial program above could now produce (true, blue, "") on the first VM. However, the programs are identical and don't know which VM they are running on.

Is this a good model for the problem? How could we improve it to add a solution?

ximeng··on Wordle
A game inspired by this one but not limited to one play a day showed up on HN recently (to some apparent controversy):

https://news.ycombinator.com/item?id=29534860

ximeng··on Tesla Light Show xLights Guide
https://www.youtube.com/watch?v=lfucQM07tGQ here's the demo in order: "S3XY Light Show"
ximeng··on An NFT without a blockchain
I agree with you about it being niche, but this is the main reason I can think of that would suggest NFTs could be valuable.
ximeng··on An NFT without a blockchain
You're right that it's not necessary to have blockchain directly. However, NFTs show you're close to a group of people who are connected in the cryptocurrency world, just like CSGO/Roblox flair shows you've invested in those worlds. And a lot of crypto people made a lot of money so it's a good status signal to be close to those crypto people.
ximeng··on Ask HN: I've lost faith in myself as a developer, how do I get it back?
It sounds like if you were to stay on as CTO you should consider delegating some more of the management, not just the tech. Who in your team can step up to support you? A CTO with 20+ people should be doing low-touch development if at all.

No harm to step down or out for a bit and come back to it when you're ready if you're burned out. Rotating the management and developer duties might reduce your pressure if it makes you feel you've got more back up.

Consider pair programming if you're doubting yourself, maybe with both weaker and stronger developers to help benchmark your skills more accurately.

External training or mentorship might help you to get another perspective on your skillset.

Also consider whether there are any external factors such as your upstream management, clients, or the market that you are in that are stressing you out. It may be that the worries about development skills are symptoms of another issue.

As a senior team member, you should have a lot of scope to choose the work that you think is the best fit for you. Taking some time to think about this is part of being a manager, and as a senior developer your development skills are not something you need to worry about too much - you can bring these up quickly if you need to, and you probably don't need to right now. You've gone through a stage of worrying about what you can bring technically to the table, and that's not your focus right now, which feels uncomfortable. It's OK to follow the flow of your career and see what happens, you can reset down the line if needed.

ximeng··on How to write a simple JIT compiler
https://www.youtube.com/watch?v=xIW6qF8CE78&list=PLvdK1vRmp8... good video series on JIT compiler implementation
ximeng··on Linux Touchpad Like MacBook Update: Touchpad Gestures Now Shipping
Quite difficult to debug as system is unresponsive when it happens, so would have to delve into logs. Maybe a Chrome memory management or graphics acceleration issue, I don't use many extensions but it's possible I guess. 12GB of RAM, but that can get eaten up by Chrome pretty easily.
← PreviousPage 3 of 31Next →