HNHacker News
TopNewBestAskShowJobs

nikkwong

1,783 karma · joined November 11, 2014

programmer; nikkwong.com; founder/owner — getfractals.com; design portfolio – beaver.digital; nikk@getfractals.com
submissionscomments
nikkwong··on Metformin decelerates aging clock in male monkeys
The correct answer is that there is no "you". Continuity in consciousness is an illusion that can be deconstructed through deep enough meditation, or more accessibly through psychedelics. It certainly feels like there is as "you" at the center, but what you call "you" is sort of a narrative that your brain is stitching together at each moment, and it can be subject to distortion, revision, reinvention.

You are not the same "you" from moment to moment--you are just reassembled by your brain every second in a way that feels conscious. So I would say there is a false dichotomy in the center here. If "you" are already an illusion, digital emulation just manipulates that illusion in different ways. Whether or not "you" survive in a literal sense is not the right question, there was not a fixed "you" to keep or lose in the first place

nikkwong··on DiyPresso: DIY Espresso Machine
To chime in on the litany of reasons why this is not a good idea--sifting boiling water through plastic is not safe for consumption as plastic nano and micro-particles will leech from the plastic into the liquid. This happens by design when using these pods, meaning you are getting a small serving of plastic every morning, alongside your coffee. What a moronic design.
nikkwong··on Show HN: Repaint – a WebGL based website builder
This is cool, but still looks painfully low level. A library one level above this would be the sweet spot that would allow people to build killer stuff on top of. (Sort of like what OPs are doing)
nikkwong··on Show HN: Repaint – a WebGL based website builder
I think it may be harder than you're leading on. Figma has put an awful lot of work into it's vector rendering system. They have state of the art compositing, strokes, fills, shadows, and importantly boolean operations on vectors that basically no other library has done correctly. When building a vector rendering tool you have to worry about all of these 2d path problems like fill rules, corner radiis, and path direction that are very complicated to work out. Figma also has best in class shape builders, and this proprietary drawing solution called vector networks which is, eh, kind of cool.

But they've done all of this work to get this far and have basically abandoned their pen tool before it was able to be used as an actual tool for drawing. It has all of the underlying technical aspects worked out but it is a UI nightmare to use—it's painfully user unfriendly and doesn't have a curvature tool, an easy way to edit/delete nodes, etc. It has such great potential, and is so close, but Figma has chosen to go another direction.

Anyways, the only rendering engine that I am aware of that rivals Figma's is Google's Skia (which in turn is the renderer for Canvas itself in most browsers I believe) but it's 20+ years old & painfully low level.

You could theoretically do whatever you want on Skia and port it to wasm to get it into the browser, but it doesn't itself have any tools that you'd want for drawing, or creating anything that looks anything like CSS/HTML.

Literally the second someone releases something high level enough in this area I am going to build an animation library on top of it. I've had the desire to build a library that could programmatically create and edit vectors for a decade now, but there's still nothing easy enough to work with to incentivize me.

nikkwong··on Show HN: Repaint – a WebGL based website builder
A pivot that I would be really interested in if you guys were so inclined would be open sourcing the rendering engine you've built.

There is a lot of demand for Figma's close-sourced rendering engine to build tons of different types of tech/apps on top of it (animation engines, svg editors, an adobe illustrator killer, a better drawing/path/curvature tool), that Figma is NOT doing that I'm sure people (myself included) would love to build. But I'm not going to build their rendering engine from scratch—there's a ton of work that went into that and it's why Figma's moat is so big. The OS alternatives are garbage (konva,canvasjs,fabricjs). Paperjs is great but their use case is different.

No offense, I personally think that could be a bigger business than your site generator. Please reach out to me if you guys plan to do so!

Btw, if you guys decide to continue going the site-builder direction—being able to export the HTML is an absolute must.. Let users pay extra for a one-time export, if you must. It's a nightmare trying to get sign off on using something like this if it's a complete walled-garden.

nikkwong··on Ozempic could delay ageing, researchers suggest
*Another tip is to stay in the sun. The data on sun exposure has largely reversed over the last decade; sun exposure is positively correlated with improved health outcomes, but should be done in moderation as to prevent skin issues.
nikkwong··on How to Use React Compiler
Yeah, hooks totally suck—no question about it. There simply aren't other facets of other front end or back end frameworks that are so widely criticized to the same level that hooks are. Which means they're at best controversial, and at worst they're a poor design choice and add mud and confusion to the framework.

I find that hooks are fine when you want to do simple web-app stuff, like fetch from a db, post some data back. But once your effects get more complicated, like using web sockets, items with retries, play or queue async audio clips that have to be state managed with hooks—the house of cards comes crashing down and they are an absolute nightmare to work with.

They're such an anti-pattern that useRef has to be repurposed from a thing that was meant for holding a reference to an HTML element to a new thing that is used to hold state that doesn't trigger a lifecycle update—and there are many paradigms that you can find yourself in where the only path forward is to use refs, along side and inside of your otherwise lifecycle updated hooks. What kind of cluster f*#& is that.

nikkwong··on Show HN: Hacker News for film buffs
Every time a political topic crosses the front page of HN, it receives a plethora of attention and the debate is constructive and informative. These threads are some of my favorite, but I can understand why other HN users have no interest and perceive it as off topic. I’d just like a community that was as informed and thought provoking as HN but focused a bit more on world affairs and a bit less on tech. Reddit, because of its obsession with jokes and memes, will never get there; even in the most serious subreddits
nikkwong··on Show HN: Hacker News for film buffs
I want a HN for politics, but that's just me I guess—because I can't seem to find it anywhere.
nikkwong··on Daily marijuana use linked to increased risk of deadly head and neck cancers
My problem is more-so with the individuals with no ailments who have been lulled into believing that marijuana is benign or even something that can act to enhance cognitive performance. We have a lot of scientific evidence to the contrary, and the anecdotes like "they're still doing fine" is reductionist and undermines the salience of my point for many people.
nikkwong··on Daily marijuana use linked to increased risk of deadly head and neck cancers
Saying they “remain productive” shouldn’t ring in as an endorsement. We don’t have the counterfactual to know how much more impressive they would be otherwise.
nikkwong··on Psilocybin desynchronizes the human brain
Yeah, this is super interesting. The obvious follow up for me is what implication this desynchronization has on cognition. People who have done a lot of psilocybin tend to be quite a bit 'different' at least in my experience—they tend to be more reserved, maybe a bit more thoughtful, slower, introspective, etc.

But what causes this change in personality? People who have done a lot of psilocybin seem to be a lot less worried, a lot less neurotic, and a lot less wrapped up in the ego than those who haven't. After all, who wants to be wrapped up and ruminating based on the content of their thoughts? I've always thought of this behavior by those who have used psilocybin to be a feature, not a bug—as if they're enlightened.

But if, say, this newfound personality is the result of a loss in functional connectivity—what does that tell us about how other markers of cognitive function have changed? Is strong FC a prerequisite for strong executive function or other measures of intelligence? The paper seems to suggest that the changes in FC are associated with the default mode network and maybe not other states of brain focus.

But will a macro dose of psilocybin, say—make someone better at their job? Maybe we don't know yet, and maybe there won't be a clear answer; there is a lot of heterogeneity in the way people think, and how they exploit their own cognitive abilities to provide value in the world—so maybe a loss in FC will mean different things to different individauls. But given the suggestion from this paper that the effects of psilocybin may be somewhat permanent, the answer to this question will be a very useful for those looking to benefit from this therapeutic.

nikkwong··on Affinity's Adobe-rivaling creative suite is now free for six months
It also has no curvature tool, which is a huge deal breaker for many vector artists. I have been making a stink about this online across many platforms for years but the team has shown no intention to adopt it.
nikkwong··on Ask HN: Should I use React for a personal portfolio?
This is a great example of a site that is built with React where HTML/CSS would be a more appropriate choice
nikkwong··on Americans Have Lost the Plot on Cooking Oil
Yeah, I agree with your assessment here. The statement "breakfast is the most important meal of the day" is a bit hyperbolic given all of the nuances introduced. But, still, at the end of the day, clinical recommendations have to be made; and physicians have to talk to patients in a very straightforward and un-nuanced manner. I still think the adage, breakfast being the most important meal of the day, can ring true for most people; as placeholder advice to "try to eat more earlier". The statements are not synonymous as you've pointed out; but my goal was to plant a flag because I think most people throw the baby out with the bathwater when they decide to skip breakfast (i.e they tend to consume too many calories too late).
nikkwong··on Julian Assange has reached a plea deal with the U.S., allowing him to go free
Yes. There was a 60 minutes episode that went into pretty deep detail on the different types of attacks that have been attempted since 9/11; most of which the NSA and/or the FBI were involved in thwarting. There was a very high profile train bombing that was would have been successfully executed if not for the power of some of these 3 letter agencies.
nikkwong··on Julian Assange has reached a plea deal with the U.S., allowing him to go free
The US government needs to prosecute actors who infiltrate secure systems with the aim to leak state secrets as a way to prevent this type of behavior from happening in the future. Say what you want; even if the premise of leaking is seeking to enrich the interests of the public--there are many state secrets that are secret for very good reasons, such as protecting the lives of informants, diplomats, etc.

There were many documents that WikiLeaks released that seemed to have been released under the auspice of "full transparency" but really served no public good and inflicted a lot of harm. Releasing the names of afgan informants, cablegate, that airstrike video where journalists were killed (can't remember the name specifically), etc. I just don't know if I agree that the public should know everything.

Think about the case of the NSA--yes they were spying on Americans in egregious ways and overextending the scope of their mission and authority. But at the same time, we do want a lot of their methods to remain secret. They have thwarted many potential terrorist attacks since 9/11; and if we, and our adversaries, knew exactly how and who they were spying on--I'm sure Americans would be less safe.

nikkwong··on From 0/10 to 8/10: Microsoft Puts Repair Front and Center
Good to know! I hadn't considered that.
nikkwong··on Julian Assange has reached a plea deal with the U.S., allowing him to go free
Is anyone else here surprised that the reaction to him being free is so overwhelmingly positive? Assange certainly did great work to reveal government corruption and abuses of power. At the same time, some state secrets are best kept secret for national interests and Assange seemed to show a lack of regard for protecting this type of information. It often seemed that he was working in his own self interest rather than one that prioritized the interests of the US, humanity and civilization on the whole. I guess.. I just expected more nuanced discussion around this on HN.
nikkwong··on Americans Have Lost the Plot on Cooking Oil
The first paper is not making the claim that eating breakfast is unhealthy—just that you don't want to eat right as you wake up. These are different things. The second paper references two different studies where, when people at more than 33% or 50% of their calories for dinner, they were more likely to be obese.

I agree that eating from noon to 5pm can be an optimal eating window, but you are going to have to eat a large amount of food at noon and a relatively small meal at an early dinner if you're not eating breakfast. That's possible for some people; but I think the vast majority of people prefer to eat 3 meals a day and are better off consuming the bulk of the calories earlier. My personal experience with people that skip breakfast: they tend to have a moderately large lunch and a moderately large dinner, which is probably not optimal. And that's because when delaying food intake in the morning, they tend to grow relatively hungrier as the day progresses.

nikkwong··on From 0/10 to 8/10: Microsoft Puts Repair Front and Center
I was incredibly disgusted to learn that to open a HEIC image on Windows, I would have to download an officially sponsored extension from the Microsoft Store that costs $1. Like.. wow; what's next? Pay to play for other new media formats that come out? At $1, it can't even be netting them a useful amount of revenue, at the cost of appearing more user hostile and eroding more trust.
nikkwong··on Americans Have Lost the Plot on Cooking Oil
See my comment above
nikkwong··on Americans Have Lost the Plot on Cooking Oil
See my comment above
nikkwong··on Americans Have Lost the Plot on Cooking Oil
Anecdata is interesting but it is not actual data :-)
nikkwong··on Americans Have Lost the Plot on Cooking Oil
Your claim is in direct contradiction to the current state of the literature. The scientific community is in consensus around the fact that late meal timing is damaging to metabolic health. Meal timing should be aligned to the body's circadian clock, which is the most active early in the day and becomes more dormant as the day progresses. People who delay caloric intake later into the day and into the evening have worse glucose control (a meal eaten in the evening can carry twice the glycemic impact as it does compared to in the morning). They also have increased triglycerides, increased levels of obesity, markers of oxidative stress, increased gut microbiota and hormone dysregulation, etc [1].

As a system, our bodies are more active in the morning than they are in the evening, which most people can identify with, so this shouldn't be surprising. It's not clear if, by skipping breakfast and decreasing caloric intake, but thereby delaying the feeding window, a beneficial effect for some individuals exists. Most of the data points in the opposite direction, but maybe, for the extremely metabolically fit individual who shovels glucose into cells like a snowplow, it's less problematic? I'm just positing, but we don't have good evidence for that. What we do have evidence for is that those who engage in IF but do it with a delayed eating schedule generally have worse health outcomes.

Some references:

[1] "Late eating decreased glucose tolerance, resting energy expenditure, and carbohydrate oxidation as compared to early eating. Besides, the cortisol profile was blunted for late eating as compared to early eating, similarly to that found under acute stress situations [11]. Eating late also affected the daily rhythms of peripheral temperature, towards a similar pattern to that found in overweight/obesity women which was related to metabolic alterations"

Timing of Breakfast, Lunch, and Dinner. Effects on Obesity and Metabolic Risk (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6893547/)

"Dietary patterns that feature meal timing outside of the regular daytime hours can contribute to circadian disruption as food is metabolised in opposition to internal daily rhythms and can feedback on the timekeeping mechanisms setting these rhythms. Epidemiological evidence examining the impact of late meal timing patterns is beginning to suggest that eating at night increases the risk of weight gain over time"

The Impact of Meal Timing on Risk of Weight Gain and Development of Obesity: a Review of the Current Evidence and Opportunities for Dietary Intervention (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9010393/)

There are many.. so I encourage you to look into it yourself.

nikkwong··on Americans Have Lost the Plot on Cooking Oil
It's a metabolic fact that breakfast is the most important meal of the day. What consumers are marketed to consume for breakfast is another story.
nikkwong··on Are animals conscious? New research
That's totally true and something I don't know the answer to. But it's interesting to ponder if the experience of consciousness is the same for each individual. We believe that consciousness is possibly an emergent phenomena of cognitive processing, but since there is a wide amount of heterogeneity in the makeup of the human mind, it isn't extraordinary to claim that this 'presence in the current moment' may have different flavors for different individuals.

The claim that certain individuals lack an inner monologue is a testament to this—I can't imagine what that would be like but that is certainly nothing like my conscious experience is. To me, the lack of an inner monologue sounds very much like the 'dark universe' in which the brain is doing all of the processing and there is no conscious observer to witness the unfolding. I'm sure people without a inner monologue are still conscious.. but—it's interesting to think about how different their experience may be like.

nikkwong··on Are animals conscious? New research
Well—there's a thought experiment of something like a 'dark universe'—a universe devoid of conscious observers, with the absence of awareness and perception while the physical processes continue unabated just as ours does with all of the people walking around, doing business, living cosmopolitan lifestyles, etc. This is theoretically possible because humans are just agents with brains that bring in stimuli, process it, and react. I.e. consciousness is not a necessary part of the equation to realize the universe is currently realized. The only reason we know consciousness is part of the equation, is because we experience it ourselves.

So I don't know if the fact that your cats are agents that are reacting to stimuli is proof that they're conscious. Again, if we were an outside observer, like an alien, we would have no way to prove humans are conscious. The only reason we believe scientifically that other humans are conscious is because we personally perceive conscious, and since other humans have the same neurological structures that we do, we can posit that they experience the same thing. Philosophically though we can't 'prove' other people are conscious, which gets us back to the philosophical zombie thought experiment.

nikkwong··on Are animals conscious? New research
I think you're over complicating it. When people generally talk about consciousness, they're talking about the phenomenology of awareness in the present moment. It's not really hard to define.

It's difficult to establish whether or not an animal is conscious in the way that it's difficult to establish whether another person is conscious. The only evidence we have for consciousness is the fact that we personally experience it ourselves. And because of that, we can't truly know if other's are conscious from a philosophical sense (i.e.—philosophical zombies) but we can posit scientifically that they must be since they share the same brain structure that we do.

Now when we're trying to establish scientifically whether or not an animal is conscious or not, it's more difficult because we don't have the subjective experience of being that animal, and we can't philosophically transfer the phenomenology of the experience our brain creates onto theirs. So, while I think the question "are animals conscious?" is well-bounded, it's not one that is currently answerable due to the currently private nature of consciousness.

> Are animals aware of their surroundings? Yes. Are animals showing the behavioural signs of pain when you hurt them? Yes. Can animals direct attention? Yes. Can animals remember? Yes. Can animals learn? Yes.

Reacting to stimuli is all possible without consciousness—just like crabs react to noxious, painful stimuli without nociceptors. So the phenomena you're describing is not what people are talking about when they're debating consciousness

nikkwong··on Popover API
Doesn’t seem to work on safari on iOS although it purportedly should according to the browser support table.
← PreviousPage 6 of 21Next →