skysight-inc/HackerNews huggingface dataset:
None of these solutions are robust wrt highly dynamic web sites or - worse - in-depth changes to the HTML implemented over time server-side.

What all of these tools actually need is to be bundled with some AI-powered recognition tools - computer vision, semantic understanding, etc ... - that can sort of "understand" the web page served before interacting with it.

All people do right now is a combo of XPATH-based search for an element in the DOM, or if that fails some sort of regex based pattern matching on the HTML.

These are weak and brittle techniques that are pretty much guaranteed to fail at some point.
I am asking who gets 1k/day, not saying it's React.
> I think VR gaming makes regular gaming obsolete in many ways.

If this was ever going to happen it would have already happened in the last (or is it still 'current'?) VR hype cycle. Maybe in the next cycle 15..20 years down the road or after some massive gaming crash it's worth another shot.
Relayed: Seems like “bloke” has largely been supplanted in the UK by “guy” and “dude” in the last decade or so.
License takes precedence when you don’t own the copyright. ToS takes precedence when legally allowed and you do own the copyright.
I wish there was a job board for average companies looking for average devs. Every company these days want top talent for bottom dollar. But the daily tasks are usually medium level at best. Better adjusting the talent expectations would lead to better talent retention in my view.
The current 'system' expects Michelangelos to do basic carpentry jobs.
> letting us do version control of our software with simple means instead of throwing everything at it

VCS is a pretty difficult topic, and it's not like git is the only tool out there (let alone the very first). Multiple people potentially working on the same file in conflicting ways is always going to be something that cannot just magically be made simple. After all, if there are no conflicts, "rebase" is literally the simplest command there is - just "git rebase origin/main" or whatever your equivalent is and you're good. It's only with conflicts where the fun stuff starts.
I think they had plenty of FTT, probably just sold their instead.
Especially as compiling often and proper indentation are often taken care of by running a linter and an autoformatter.

I'll add "learning how to use a debugger", though.
Using TLS client certificates automatically is still not possible in Playwright [1]. That's our main reason why we keep using Selenium (with pytest-selenium) and Selenium Grid [2].

[1] https://github.com/microsoft/playwright/issues/1799

[2] https://www.selenium.dev/documentation/grid/
Yet another asset custodian that wasnt happy to only make a billion a year so pretended to be a bank pretending to be an investor while actually just being a degenerate gambler with a hooker, blow, yacht and team / stadium naming rights buying problem.
Yeah I disabled it for those same reasons.
Ask HN: Which technology stacks for my project?
Hi all.
I have an idea for a small hobby project that I am excited to give a go. But most of my knowledge is in C++, native code, and game development. I do use React and React Native, Typescript, and a few web based technologies at work but I am quite weak at them.

I've managed to set up a small react app(hello world) and deploying on Netlify at the moment on my own domain name.

However, there are a few other areas I am not sure how/where to go. Some info:

* 0 financial transactions.
* Small scale only. A few hundred to maybe 10k users a day at maximum ever. Mostly US based.
* Need small amount of custom user posted data, such as them posting 'entries', containing 1 image and 3 sentences worth of data. Think craigslist but prettier?
* Basic account creation and/or maybe using existing auth providers.
* Typescript is a hard requirement
* Modern approaches are ideal.
* Mostly presenting lists/tables with filters/sorting. 5k-20k of unique data entries in lifetime of project. No big data needs here.
* Cheap/free is best, but do have small budget.
* Stretch: Eventually want to offer a few basic 'pro features', subscription handled via Patreon or something.
* No ads. No analytics.
* I really like static site generators, any incorporation of that is A+.

I did see this post a while ago, but it goes into things I don't think I have any need for. Such as I don't need scalable big solutions, this won't ever be big.
Not sure if these are still recommended?

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

The biggest asks here

1. I don't know what/how to use for backend to store dynamic data?
2. I am looking for some basic starter template/things I can 'iterate' on instead of starting from scratch.

Searching for react starter templates seems riddled with 'old stuff', things that get pricey, big and complex fast, in javascript only(when I'd prefer typescript), or quite incomplete.
> American ideas and values are inconspicuously spread through memes (in the original sense of the term) and foreign children, teenagers and young adults are raised on them.

Honestly, in the case of my country (and probably many others), this is a huge improvement. Thank god the internet and social media have exposed me to the American ideas and values as I was growing up. I don't agree with all of them, but living with my head filled with the culture and values of my own country would've been so much worse.

All that stuff about "freedom" and "human rights" and "spreading democracy" may sound corny, unless you live in a place that doesn't have enough of those.

Exporting its values is probably the best thing America could've done for my country.

I could stand to hear less about American politics though)

> Any nation that wants to retain control over their culture and values should have social media sovereignty.

I'd rather control my own culture and values myself (by choosing what things to read and what websites to visit), than having someone else control them for me (which, in practice, just means censorship and/or propaganda).
> social media sovereignty.

There’s a bone-chilling phrase if ever there was one.
An argument in favour of legality of web scraping is if a human can look at websites and collect data, then why shouldn't they be allowed to do the same programatically?

This is the same but for use of open source code: if humans are allowed to use one specific (organic) neural network to read, process, and use open source code, then why shouldn't they be allowed to use some other neural network, artificial or otherwise.
You're right.

https://godbolt.org/z/cfr8MEG6j
https://godbolt.org/z/7crr4n66Y

I suppose I'm used to C/C++ compilers not going as far down the optimization rabbit hole as Rust seems to, where they often miss more complex optimizations like this in sufficiently advanced wrapper types etc.
Well ... I also made Netflix clear that my subscription means "no torrents, yet"
Not everyone uses Twitter for political flamewars.

I use it to follow my favorite researchers and innovators. It's the only website where I can actually interact with Yann Le Cun just like I was at a conference. (with HN of course)
But laws can't apply to behavior, only actions - there's no way to prove behavior. Otherwise Elon would be having a lot more trouble ;)

In a general sense, this is why there will always be the concept of a loophole, and there will always be those that take advantage of it. Going through every trick to reduce tax liability from millions to 0 seems like behavior that is defrauding the government, but no actions are actually provably defrauding the government.
Generally in Python it's much better to use list comprehensions when possible, it offers significant speedups usually:

def zip(ls1, ls2):
return [(ls1[i], ls2[i]) for i in range(min(len(ls1), len(ls2)))]

And indeed you could even use a generator instead:

def zip(ls1, ls2):
return ((ls1[i], ls2[i]) for i in range(min(len(ls1), len(ls2))))
It's actually worse ;-) because the pages are constructed in Illustrator, the order of text is all messed up.

Elements that are drawn first are higher in the SVG, but that only means that they're in back in Illustrator — not that they're higher on the page.

It's pretty common to have a page where the header of the page is modified last, making it the last element in the SVG.

Right now our planned solution will require server-side analysis of text size and placement.

More long-term, we will use HTML for text and SVG for everything else. But that will require an editing program that doesn't yet exist.
Reddit, ca. 2010, was a small community with mostly civil, but always adult discussion of topics, where people tended to try and understand each others. The term "circlejerk" was known, sure, but it was more a self-ironic observation of subcommunities (aka "subreddits") starting to diverge on a common viewpoint after a while. Bans were rare. We had side-wide charity activity (e.g. we bought some kid prosthetics his family could not afford). We had our little in-site activity (meet-a-redditor, around that time, secret santa started out). We had "important people" on the site as active redditors apparently out of their own drive, not being driven towards us in one-off events (prominently, Bill Gates and Arnold Schwarzenegger used to be somewhat active redditors).

Reddit took a first hit after the digg exodus, when it became a lot more about gaming - but we absorbed them, and eventually got to a somewhat acceptable place again.

Around 2014, "Chairman Pao" took over, and very soon, we had the influx of very left-wing, very college-liberal minded people, and stuff went downhill. Suddenly, it was all about politics, about Hillary vs. Trump, it was all about LBGT, it was all about what it meant to have free speech. People started getting banned for activity on other subreddits. ("You posted on /r/gunmaking? You are no longer welcome on /r/todayilearned"). Of course, that led to an immediate reaction from the "opposing" side, whoever was not college-liberal left moved to become increasingly right-wing (I've observed such an unconscious shift in myself, when on Reddit - and that has affected my thought in general), some extremely so. Which attracted ... more right-wing extremists to come in. Reddit reacted to that with force against most of these right-wing subreddits, banning and deleting whole communities (some are allowed to stay around, for the time being, most likely to act as honeytraps).

But the Overton window has moved radically to the left (to the point where fantasising about mass murder of the affluent part of society is not only tolerated, but sometimes encouraged). Discussion about "neutral" topics still exist, in niches - but often get poisoned by people trying to find fault in other people's browsing history.

Reddit is a cesspool, its golden age is over. If you wanted to salvage it, you probably should hide user comment history from the public, you should limit the number someone can moderate to maybe five to avoid "moderation cartels", and you should install a team that objectively enforce the reddiquette.

(I'm a redditor for 14 years now, but rarely go there anymore)
> You can, 99.9% of the time, emulate linear history with first parent history

Fully agreed, but that requires first of all to understand how this works and second requires you to run commands locally. If you're unfortunate enough to have to use e.g. bitbucket-server at work like I do, you'll always see the full graph, there which is A LOT easier to grok if it's linear. And since that's what's most devs look at (instead of git-log using some extra options) and also where CI-state happens to be reported (green/red build), that's worth a ton :)
And then they keep collecting them for research until there are no more to be found, and we can once again classify them as extinct. "Subsequent visits to the same locality did not yield any additional shells or living animals."
The right to free speech and association are not built upon 'consequences'. If you apply this logic neutrally, rather than solely to speech you find to be abhorrent, you get conclusions such as it's acceptable for people to 'face the consequences' of being fired and ostracized for supporting unions. Or that it's fine to lose your job for views on artificial insemination or abortion.

You don't want "freedom of consequences", you want opposing viewpoints to ostracized and silenced.
Bingo. The phone could send a mixed text and image message as a multipart MIME message. I made an email forward that piped to a Perl script. That Perl script read the text and image data using something like MIME::Parser, and saved that stuff in a database. Another script read that data and returned some HTML using Template Toolkit and CGI.pm. Really just something I threw together the night before I left.

I remember a few years later someone was showing me how you could text a message to a specific number, then it showed up on this "Twitter" site and that seemed quaint.

Anyways Perl was so easy and fun some Painting and Drawing undergrad could throw something together that was that useful to his 5 friends and his completely confused professor (and pay for art school hacking on other stuff too).
"meta" is a prefix to many words, e.g. metaphysics, meta-modelling, meta-data, meta-programming, etc.

So for me is "meta" is like an unfinished word/sentence. No context, no meaning.
I am making assumptions, but whether I'm patronizing is just mental gymnastics from your side. You posted an opinion that you don't want to justify. There's really no other action to take except what I wrote.
This is why we can’t have nice things. Copilot is the future
> I believe it would be comparable to Gmail in the foreseeable future

Story of every email provider ever: Soon to look like Gmail. At one point you have to admit that Gmail is the best (meanwhile designers at Gmail are trying to remove features from the UI).

Looking like Gmail doesn’t even guarantee success: Marissa Mayer made an exact copy of Gmail in Yahoo Mail in 2014. It didn’t take off.
One would have to do a careful analysis whether iOS 12.x really gets all the security love it requires. Last time I checked (probably 1-2 years ago) the iPhone 5s (a backup smartphone I used) missed security updates.
Here's what I don't quite understand about mocking in Javascript.

When I write a frontend application using components (React, Preact, web components — doesn't really matter), I will often find myself in a situation when I have a component tree like this:

A --> B --> C

In which I want to test component A; but one of its grand(-grand-etc.-)children down the tree (in this case, component C) is quite complex; and setting up a test for component A in such a way as to accommodate for the dependencies of component C would be cumbersome.

Normally, I would just mock component C out entirely, using Jest's module mocking ability. However, this comes at a cost. ES6 import statements are static; and thus, when Jest finally completes its transition to ES6 modules, it won't be able to just mock plain static imports. The likely solution is that the rules for mocking will change; and if one wants to mock modules, he would have to do so via dynamic imports. Which means I'll have to go through all my tests and rewrite them :-(

I have not yet seen a good and clean story for mocking Javascript modules. A more standards-compliant project, Web Test Runner, does module mocking via import maps [0]; but this looks both clunky and not quite suited for per-test mocking.

Which leaves me confused. If mocks are evil, how do I test my components? And if they are fine, what's the future-proof standards-compliant way of module mocking in Javascript?

0 - https://modern-web.dev/docs/dev-server/plugins/import-maps/
Yeah was wondering the same, wanted to see if a snapdragon 8 gen 1 would beat these numbers out of the park or not.
> Were such ugly hacks already a part of C89?

Yes.
The new SE (2nd and 3rd gen) have the form factor of the iPhone 8 and no longer the small form factor of the iPhone 5. They’re bigger than the iPhone 13 mini.
In fact, it turns out that it was already in K&R C ten years before C89:

https://github.com/dspinellis/unix-history-repo/blob/Researc...
Today you can use sponsored repos to still use GH as your distribution angle but also paywall certain content you create. Perhaps best of both worlds.
I am pretty sure IMAP can be configured to delete mail from server after sync, and anyway Google has all the time in the world to scan your emails before you delete them.
Focal distance is dependent on the lenses used. Most VR headsets have a fixed focal distance of 1.3m or 2m. Those interested in the literature can use the keyword "vergence-accomodation conflict" (VAC) for more information on this.

This is a well known problem, and there are quite a few potential solutions - Doug Lanman, the lead of Display Systems Research @ FRL made a bunch of nice presentations on a variety of different approaches a couple years ago (all on YouTube, well worth watching one [1] for anyone with a passing interest in the really cool developments going on).

While I think varifocal is going to be the near-term solution, I do have a soft spot for the various light field displays I've seen.

[1] EI 2020 Plenary: Quality Screen Time: Leveraging Computational Displays for Spatial Computing https://www.youtube.com/watch?v=LQwMAl9bGNY
There's a minimum level of complexity and creativity which constitutes a copyright violation. It's up to a legal professional to draw the line, but I believe it can be a single line of code (`i = 0x5f3759df - ( i >> 1 );`)

If I saw 100 LOC which was very similar to something which I wrote, AND contained a log statement copied verbatim, it's very easy to imply that the entire piece of code is a derivative work.

Let's say I write FizzBuzz:

// Copyright (c) 2022 David Allison. All rights reserved.

for num in range(100):
if num % 3 == 0 and num % 5 == 0:
print("DA: fizzbuzz")
elif num % 3 == 0:
print("DA: fizz")
elif num % 5 == 0:
print("DA: buzz")
else:
print(num)

If I found the modified FizzBuzz algorithm in the wild with one line containing the "DA" prefix, it may have been learned from a fraction of a fraction of my code but it still contains my 'unique' creativity, is that a copyright violation?

Aside: Due to some uniquely named code I've contributed to, I strongly suspect that Copilot would output my GitHub username. I don't really want to open Pandora's box here, but I'd be curious.
I moved to Zoho mail when Gmail threatened to kick us all off or pay money.

Honestly, I couldn't be happier. The spam filtering works as well or better, the email app is intuitive, and I no longer have to keep switching Google accounts. Previously it seemed every Google property just picked an account at random.
Ask HN: Do you use data lineage in your projects?
So here's a weird question. Are 0.1x developers getting paid the $400k, 500k salaries or is that just 10x'ers?
Yes: "What Docker changed was that it made containers "sexy", likely due to the git-like functionality.

Post cloud era and all those new markets to tap into. Jails etc: like a tool hammering nails. Why, when or how to build a city is something else entirely.

-but, probably git-like sexy functionality indeed. yeeha
For simple patches on my end, I'd port them forwards. For complex patches, I might hard-fork development and find like-minded people to send patches to me instead of the original upstream. Or if the codebase or changes are too complex to work effectively with, I'd abandon the project and treat it as radioactive and failing to satisfy my requirements (or even be correct).
I just use domain forwarding to have my inbound emails to my custom domain address land in my plain old Gmail account, and outbound ones to forward to my domain. All the benefits of Gmail at no cost.
> will make you appreciate even better how much you get for free

This is unironically the reason I come back to Python again and again. The language itself is not my favorite: it 'should' be different. But my productivity with it is frankly unmatched.

The "zip" example is an excellent case study. The actual "zip" is by default lazy, it accepts arbitrary iterators, etc. It's the "correct" solution, unlike the one presented in the article, and I have it at my fingertips, in the standard library.
Whoever wrote this is clearly intelligent, has a solid worldview, and a vocabulary too big for their own good. There is already a Federal social media and realID platform being discussed to address many of the issues the author brings up and they conflate what an interconnected network is with the World Wide Web.

It's hard to watch the scales fall from peoples eyes. Just make it more concise next time.
Just getting back to this as work has been busy. I think you're right that I should get professional treatment for alcohol use disorder. On the other hand, one of the things that is often recommended to begin tapering off alcohol is to switch to drinks with lower content or to alternate, as was suggested above. Rarely do they recommend stopping cold turkey. Both of your suggestions came from a place of wanting to be helpful toward another human, so I appreciate them.
Show HN: Konbini – One universal API for every ecommerce platform
Hi, HN! Konbini is a one-man project I've been working on for the better part of the year, and I think I've finally reached a point where it makes sense to put it out into the world and try to get some feedback on it.

Aside from the obvious value prop of giving people a single API they can use to instantly integrate with every* ecommerce platform, one of my main motivations for taking up this project was giving fellow developers an abstraction that papers over the often... subpar experience of working with many ecommerce platforms' APIs, so hopefully people find it useful from that angle, too.

*Konbini supports Shopify, WooCommerce and Magento (Adobe Commerce) right now.
I mean, the changes are clear improvement, the whole panel is basically "random stuff barely related to eachother" but I feel author is overstating how bad it actually is
Greater Fool Theory.

Why would anybody invest in a „security“ with no IRR.
Used in India's elections to mark a person hash already voted.
Yeah, but:

a) a lot of places block Russia and China wholesale against spam

b) they'e hosted in a genocidal regime without rule of law completely beholden to a dictator's whims.

Pass.
It's true that I didn't answer your main point.

Our objective is to create a format that is sufficiently stable that it won't need a fallback solution.

SVG is incredibly consistant from machine to machine, much more so than HTML. Can you give me an example of a case where fallback would be necessary (leaving aside questions of accessibility)?

Semantic markup is an issue for search engines, but we are building websites for people to read.

Visitors to a website never see the tags. They have no idea if something is <h1> or <div> or <strong>.

Are you suggesting that semantic markup is important for people, or for Google? Is this purely an accessibility issue (I don't mean to diminish the importance, it's just a question)?

Our plan is to automatically create parallel content for accessibility requirements, including semantic information. Sort of like the <noscript> tag, an imaginary <nosvg> tag.

If you feel like I am missing the point of semantic markup, I would love to know why, (or you can just post a link).
> But if I spend time grokking your code, fixing a bug and submitting a PR,

Wouldn't you first check the license and contributor agreement before doing such a thing, even on random FLOSS projects?

Unless they are not disclosing their policy in the contributor agreement or the license, I don't really see a problem here.
What device gave you watchable TV screens and still let you see your environment?
Already on some of the homegrown models (https://rentry.co/sdmodels) these things are fixed already. For the Stable Diffusion "enthusiasts" the tools and models have improved at least 100% since the original release.
Wait you’re entire point is that people don’t like or play FPS? What?