HackerLangs
热门最新趋势评论往期问答秀出招聘

mattstir

271 声望加入于 6年前

评论

mattstir
·昨天·讨论
诚然,这与帖子本身的内容无关,但......为什么这么多移动网站都坚持阻止缩放,而且似乎都有同样令人难以置信的图像缩放错误?真让人沮丧。
mattstir
·昨天·讨论
顺便说一句,他甚至无法让自己对那家伙送来的 12 万美元说“谢谢”,只能说“那太酷了”
mattstir
·昨天·讨论
每年与内存安全相关的关键 CVE 数量似乎恰恰相反。在 C++ 社区中,"只要再多一个静态分析器,我们就永远不会有 Bug 了!"这种说法的数量着实令人不安,同时还有明显的精英主义和荒谬的说法,比如 20 年的知识 == 永远没有 Bug。
mattstir
·昨天·讨论
根据应用程序的不同,您也可以使用有限的信息传递方式,例如在团队游戏中使用预定义的呼叫轮。
mattstir
·昨天·讨论
> 或使用稳定扩散

从根本上说,隐写术要求你能够知道数据在哪里,这就要求你有原始图像作为对比。据我所知,唯一的其他策略是将已知像素位置设置为精确数据,这很容易被基本工具发现并解码。如果图像格式支持非视觉数据块,也可以将数据添加到非视觉数据块中,这也很容易发现。
mattstir
·昨天·讨论
虽然如果有一个世界性的阴谋会更令人兴奋,但试想一下那将意味着什么。这个阴谋如此强大,可以单独决定几十个国家的选票,却仍然觉得有必要首先制定法律来行使这种权力。

不,这是一种更为良性的政府越权行为,是出于压制公民的正常欲望,或许还有大公司对监管的合理攫取。
mattstir
·昨天·讨论
不幸的是,这种系统很容易被破解,例如在图像边缘添加环形色块。如果扫描系统更新后能注意到图像周围的圆环,那么坏人就会开始把图像切成两半,然后在那里添加颜色,等等。这是一场永无休止的军备竞赛,势必会让普通人的生活变得更糟。
mattstir
·前天·讨论
> 我想知道你是否混淆了事实陈述和攻击?

来自“多汁葡萄藤”的传闻和八卦以及暗示贾里德太愚蠢而无法批判性地思考自己的人生道路,因为他没有上大学,这并不完全是事实陈述。他们是精英主义和报复心强的人,但这些并不是诚实的代名词。

> 如果这是您的阅读内容,我认为您从本文以外的来源获取了更多信息。

我鼓励你重读这篇文章,并尝试发现它在某些地方听起来是多么奇怪的报复性和不一致:

> 但毕业于泰尔奖学金思想学院而不是大学......

> 贾里德是个臭经理。沟通不畅,期望不切实际,同理心低,没有经验。从就业角度来看,这简直就是一场狗屎秀。

> 贾里德在获得法学硕士学位之前就已经开始写潦草的文章了。

> 现在,监管用户的行为不是我们的职责……
> 我们试图引导他们采取更好的编程实践,但徒劳无功。
mattstir
·前天·讨论
暗示贾里德没有上大学就太愚蠢了,无法批判性地思考自己的人生道路,这怎么样?或者只是这样:“贾里德是一个糟糕的经理。沟通不畅,期望不切实际,同理心低,没有经验。从就业角度来看,这只是一场彻头彻尾的狗屎表演。”

对于什么是仁慈,我们有着截然不同的看法。诚实和粗鲁不是同义词。
mattstir
·前天·讨论
争论并不是为了避免指出“不良”行为,而是你可以用专业的(或者至少不是非常幼稚的)语气来这样做。在对贾里德的个人和教育背景进行多次攻击的同时使用“臭经理”之类的短语(暗示他没有上大学,他太愚蠢了,无法批判性地思考自己的前进道路)描绘了一种奇怪的幼稚但精英主义的观点。这篇博客文章读起来充满了报复性,类似于“去你的孩子,很高兴摆脱你,顺便说一句,谢谢你的 120,000 美元”。

我不与 Zig 或 Bun 互动,但在此之后我当然没有被诱惑去尝试 Zig。
mattstir
·前天·讨论
看起来不支持 doctest:https://github.com/nextest-rs/nexttest/issues/16
mattstir
·前天·讨论
Unfortunately all of the major AI model providers are massively incentivized to fit their models to various political narratives, especially through historical denialism. The "diverse 1940s German soldiers" debacle from Google comes to mind, or perhaps "nothing of note happened at Tiananmen Square" from any of the Chinese models.
mattstir
·3天前·讨论
Who's arguing for that? And why is it not "reasonable" to ask for basic privacy?
mattstir
·3天前·讨论
They either just ban E2EE messaging or add a client-side scan of the content before "encrypting" it.
mattstir
·8天前·讨论
Just wanted to say I'm impressed with the speed of progress! There's clearly a lot of passion being poured into the project, and I appreciate that folks are responding really quickly to things. It looks like you've already fixed most/all of the things I noticed, and added Firefox to the test suite[0]. Nice!

[0] https://github.com/golemui/golemui/pull/215
mattstir
·9天前·讨论
How much of this is vibe coded? The widget demos about halfway down seem half-baked; the currency input allows letters and letter inputs visually disappear when you unfocus it. The calendar input appears to select the day before the one I clicked. The markdown editor places hashes after the text on the current line rather than making the current line a header. The dropdown search doesn't seem to work (typing "R" shows React and AngulaR, but typing "Re" doesn't show any options).

All of those are fixable of course, and the idea is neat! It's just a bit of a rough showcase, at least on Firefox.
mattstir
·17天前·讨论
Apple is also an absolutely enormous company. Even if Valve wanted to lock in prices, they're simply too small for RAM manufacturers to notice on their radar, unfortunately.
mattstir
·22天前·讨论
That's true for arrays of these value classes. Scalarization would help for larger local values though, since those would avoid pointer indirection for purely local values.
mattstir
·22天前·讨论
> But the difference in memory is fundamental. The JVM can now store the values themselves in the array, laid out densely one after another: 8 bytes per point (plus a possible null flag), in a contiguous block. No headers per element. No pointers. No jumping around the heap.

How much was this article proof-read? Didn't they just get finished talking about how heap flattening won't work for objects with > 64-bit representations? Their `Point` is at least 65 bits (two 32-bit ints plus the null flag). The "plus a possible null flag" and oddly short following statements seem to suggest this was some AI that got sidetracked by trying to make emphatic statements... oh and also the "[IMAGE: the same Point[] array in two variants..." block halfway down the page is unfortunate.
mattstir
·24天前·讨论
Is this at all coherent...? The author really seems to be comparing cookies to JWTs as if they exist in the same category, but it really is apples to oranges here. In fact, one of the first articles they link to spell that out explicitly:

> A lot of people mistakenly try to compare "cookies vs. JWT". This comparison makes no sense at all, and it's comparing apples to oranges - cookies are a storage mechanism, whereas JWT tokens are cryptographically signed tokens.

And yet the author seems not to have noticed, or something? Odd.