<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: byteface</title><link>https://news.ycombinator.com/user?id=byteface</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 17 Sep 2026 19:39:56 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=byteface" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by byteface in "Ask HN: What are you working on? (September 2026)"]]></title><description><![CDATA[
<p>I'm building a Python Browser and need your help running agents on conformance tests <a href="https://github.com/byteface/chromonic/" rel="nofollow">https://github.com/byteface/chromonic/</a><p>cd to tests/layout..<p>git clone --depth=1 <a href="https://github.com/web-platform-tests/wpt.git" rel="nofollow">https://github.com/web-platform-tests/wpt.git</a><p>tell it to run the tests and fix any issues with layout and append any issues with domonic into the PLAN.md<p>I'm targetting the CSS2 folder atm.. so you can tell it to switch to any folder within there for now.<p>Thanks,</p>
]]></description><pubDate>Tue, 15 Sep 2026 06:36:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=49708576</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=49708576</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49708576</guid></item><item><title><![CDATA[Show HN: Myjs An accidental pure-Python JavaScript interpreter]]></title><description><![CDATA[
<p>Hi HN! byteface here. myjs was a recent accident I'd like to share.<p>Several years ago I began writing DOM API's in Python as a curiosity: <a href="https://github.com/byteface/domonic/" rel="nofollow">https://github.com/byteface/domonic/</a><p>Every now and then I do another pass rolling in more features from the MDN pages. I have lots of unit tests but found that porting real code and libraries was a useful test of the DOM compatibility. But I didn't want to pollute the core any further as had already ported d3 and jquery.<p>So I created a new repo called domonic-libs: <a href="https://github.com/byteface/domonic-libs/" rel="nofollow">https://github.com/byteface/domonic-libs/</a><p>Anyways a couple of days ago while porting some js libraries faithfully to run against dom.py and javascript.py I came across Acorn (a Javascript parser) and coverted it into pure python.<p>Once Acorn.py was producing an AST, I mapped that against domonic's Javascript and DOM nodes and to my surprise... actual JS code started executing inside the Python process!<p>Give it a try:<p>pipx install myjs<p>Would love to hear your thoughts, edge cases to test, or feedback!</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49579498">https://news.ycombinator.com/item?id=49579498</a></p>
<p>Points: 7</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 05 Sep 2026 18:51:56 +0000</pubDate><link>https://pypi.org/project/myjs/</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=49579498</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49579498</guid></item><item><title><![CDATA[New comment by byteface in "Pinocchio is weirder than you remembered"]]></title><description><![CDATA[
<p>He's is selfish. Also cruel but funny, very gullible, often impulslive... alive.<p>He was ported to Russian too but they called him Burattino (Italian for 'puppet').<p>The image of burratino goes back hundreds of years before the story was ever written. He was one of the Zanni characters alongside other lower-class mischevious, comedic 'naughty' (anti-authority) characters like Harlequin.</p>
]]></description><pubDate>Fri, 08 May 2026 08:21:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=48060246</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=48060246</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48060246</guid></item><item><title><![CDATA[New comment by byteface in "Britain today generating 90%+ of electricity from renewables"]]></title><description><![CDATA[
<p>Yet still it costs several pounds a day to heat your home in winter. People are going back to log burners. I've never seen so much coal/wood sold at the supermarkets during winter. I've got some electric blankets which is great but really energy costs seem to be spiralling.</p>
]]></description><pubDate>Sat, 28 Mar 2026 13:20:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47554350</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=47554350</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47554350</guid></item><item><title><![CDATA[New comment by byteface in "Ask HN: How to be alone?"]]></title><description><![CDATA[
<p>pain is the bootstrap. The only truth</p>
]]></description><pubDate>Mon, 09 Mar 2026 08:25:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47306197</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=47306197</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47306197</guid></item><item><title><![CDATA[New comment by byteface in "Ask HN: How to be alone?"]]></title><description><![CDATA[
<p>It's not lonliness, it's solitude. Time to find yourself and your creativity again.<p>You were codependant and need to learn how to be independant again. Living for you, just for yourself. You've spent most of your life living for others. Now it's time for you.<p>Try not to drink alcohol. Focus on your physical health. Gym/tennis/saunas/running/golf any physical activities you can.</p>
]]></description><pubDate>Mon, 09 Mar 2026 08:21:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=47306172</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=47306172</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47306172</guid></item><item><title><![CDATA[New comment by byteface in "The Fall of StackOverflow: A Data-Driven Analysis"]]></title><description><![CDATA[
<p>To be fair I haven't used it for about a year. As I recall I joined about 40 rooms though and not all were busy. But I think in general if your question is esoteric you would have to peel of into a room with someone with the domain specific knowledge. Some problems require a wordy description of the problem and that wont fly well in a live chat. I was really just after verification that my solution was optimal. But sometimes there just isn't a better way.</p>
]]></description><pubDate>Wed, 28 Aug 2024 08:37:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=41377348</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=41377348</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41377348</guid></item><item><title><![CDATA[New comment by byteface in "The Fall of StackOverflow: A Data-Driven Analysis"]]></title><description><![CDATA[
<p>You're right. For me personally, Discord was killing Stackoverflow about a year earlier. Waiting a week for a reply on Stackoverflow was becoming dull while discord live chat rooms were buzzing with instant feedback. Even as copilot first arrived it wasn't a scratch on asking an room of professionals at realtime. But now chatGPT has become a bit more fledged you can see why it would dent other platforms. I've often thought about this as how would you train future bots if all we do is talk with them now?. Where will they read their answers?</p>
]]></description><pubDate>Wed, 28 Aug 2024 08:11:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=41377194</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=41377194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41377194</guid></item><item><title><![CDATA[New comment by byteface in "A Soviet circus clown tried to prove that dogs can be psychic"]]></title><description><![CDATA[
<p>Dogs are ridiculously good at intuition, reading body language and hearing. My dog can hear me put my socks on when i'm in my bedroom and she's in the kitchen.  It can seem they are psychic. They can sense when I'm acting with intentions and what those intentions are. The dog might have sensed you noticing your friend from a subtle change in your heartbeat or breathing.</p>
]]></description><pubDate>Sat, 22 Oct 2022 06:20:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=33296007</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=33296007</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33296007</guid></item><item><title><![CDATA[New comment by byteface in "Wasting time in tech interviews"]]></title><description><![CDATA[
<p>There's a lot these tests don't pick up for sure. I feel soft skills is one and being focused on the day to day tasks is another. By hiring based on drills you run this risk of hiring a nasty or emotional person that just wants to use framework x rather than do any of the mundane bill paying work. If soccer teams started hiring based on ball-juggling skills they'd be full of street perfromers and clowns rather than world class strikers. I find tests are really bad for generalists too or older people who can't remember vividly the math they did at school. However we gotta suck it up and it is quite fun refreshing some skills and knowledge between gigs. What's worse is when you pass the tests but then don't get the job. Makes you feel it was something about you personally.</p>
]]></description><pubDate>Tue, 28 Jun 2022 09:35:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=31905825</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=31905825</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31905825</guid></item><item><title><![CDATA[New comment by byteface in "GitHub Star History Graph"]]></title><description><![CDATA[
<p>this is really cool. nice work</p>
]]></description><pubDate>Sun, 29 May 2022 00:08:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=31544998</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=31544998</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31544998</guid></item><item><title><![CDATA[New comment by byteface in "Web scraping with Python open knowledge"]]></title><description><![CDATA[
<p>Have you noticed selenium now opens chrome in some kind of 'dev mode' that stops access to cookies so you have to faff more. Makes you wonder if better to use pynput</p>
]]></description><pubDate>Sat, 28 May 2022 09:33:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=31538931</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=31538931</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31538931</guid></item><item><title><![CDATA[New comment by byteface in "Web scraping with Python open knowledge"]]></title><description><![CDATA[
<p>sorry i meant cssselect... <a href="https://pypi.org/project/cssselect/" rel="nofollow">https://pypi.org/project/cssselect/</a> which converts to xpath.</p>
]]></description><pubDate>Sat, 28 May 2022 09:29:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=31538903</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=31538903</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31538903</guid></item><item><title><![CDATA[New comment by byteface in "Web scraping with Python open knowledge"]]></title><description><![CDATA[
<p>I'm not sure about quicker. Doesn't scrapy use elementpath?. which converts a css query to an xpath under the hood as there is no complete CSSOM available for python. Likely as there is no modern standards based python dom to operate on so doing it on lxml tree is probably the best option. I find the main difference is xpath can return an attribute value where as css returns the node. You can use either from the terminal in my lib... <a href="https://github.com/byteface/domonic" rel="nofollow">https://github.com/byteface/domonic</a>  (as it uses elementpath like scrapy)</p>
]]></description><pubDate>Sat, 28 May 2022 09:08:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=31538813</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=31538813</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31538813</guid></item><item><title><![CDATA[New comment by byteface in "You Should Compile Your Python and Here’s Why"]]></title><description><![CDATA[
<p>After reading the article last night. I spent the whole evening about 5 hours getting one of my DOM libraries to compile with mypyc. It's a hacky codebase with little to no type hinting. I had to rewrite a fair abit to appease mypy and in most cases just used 'Any'. It's still got runtime issues and is buggy but I got at least a 2x speed increase on rendering a single node... <a href="https://github.com/byteface/htmlx/blob/mypyc/benchmarks.md" rel="nofollow">https://github.com/byteface/htmlx/blob/mypyc/benchmarks.md</a><p>However I was unable to compile from my mac, could only compile using linux. but that could be as I'm using older version of dev tools.</p>
]]></description><pubDate>Sat, 30 Apr 2022 06:17:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=31213806</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=31213806</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31213806</guid></item><item><title><![CDATA[New comment by byteface in "A dirty dish by the sink can be a big marriage problem"]]></title><description><![CDATA[
<p>I've had to take advice that saved my relationship. It doesn't feel natural but that's what changing behaviour is about. Never stop worshipping your wife. Remember she's your Queen. You put her on a pedestal and would do ANYTHING for her. Climb a tree for honey, slay a dragon. Suddenly making a cuppa or cleaning a cup is easy right? I did ask a friend once what he did when his wife started tidying and nagging and he said he just joined in tidying. If I'm too busy to help I often transfer a large sum of money to her account without telling her. Or maybe later I go out to the garden or garage and sort that out. I remember there's a bit in the classic book 'Men are from Mars" about just the thing the author is talking about and he really could have done with reading that book. I read it about 20 years ago but it had the bit on 'relationship points'. Now he thought his salary was worth 50 sex pts. But really it was only 1. and the dirty dish was worth -1. So he was left on 0 pts.</p>
]]></description><pubDate>Thu, 14 Apr 2022 06:53:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=31024073</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=31024073</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31024073</guid></item><item><title><![CDATA[New comment by byteface in "Down the mechanical keyboard rabbit hole"]]></title><description><![CDATA[
<p>The small mechanical keyboards are missing the small backtick which is also ё in Russian.</p>
]]></description><pubDate>Fri, 18 Mar 2022 08:15:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=30719723</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=30719723</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30719723</guid></item><item><title><![CDATA[New comment by byteface in "3 percent of Python codebases we checked had silently failing unit tests"]]></title><description><![CDATA[
<p>I just grepped some sitepackages and saw this. Is it an example of what the author is saying?... <a href="https://github.com/gitpython-developers/GitPython/blob/main/test/test_diff.py#L141-142" rel="nofollow">https://github.com/gitpython-developers/GitPython/blob/main/...</a><p>If so that would appear common as came up right away.</p>
]]></description><pubDate>Wed, 16 Feb 2022 14:04:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=30360054</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=30360054</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30360054</guid></item><item><title><![CDATA[New comment by byteface in "Ask HN: What is one book you would recommend everyone to read?"]]></title><description><![CDATA[
<p>The death of Superman (Graphic Novel)</p>
]]></description><pubDate>Mon, 07 Feb 2022 07:20:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=30241362</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=30241362</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30241362</guid></item><item><title><![CDATA[New comment by byteface in "Ask HN: Who wants to collaborate?"]]></title><description><![CDATA[
<p>I don't think you can do this one as a hobby really. You need to store brains which means taking them out of peoples heads or getting hold of animal brains. Plus you need to create liquid nitrogen and you also need a block face scanning electron microscope which has diamond parts and scale that up to a brain. So ur looking at several mil and a team of 50 people.</p>
]]></description><pubDate>Tue, 01 Feb 2022 23:12:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=30171013</link><dc:creator>byteface</dc:creator><comments>https://news.ycombinator.com/item?id=30171013</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30171013</guid></item></channel></rss>