skysight-inc/HackerNews huggingface dataset:
What happens if you save the xpath of an element as the tag trigger, but then the website changes so the xpath now points to a different element?
I believe that some recent Python version has added (optional) type annotation support. I haven't ever used it though.
Sustainable energy without the hot air (2015)
It isn't just worker safety that has improved in the last century, it's the safety of people in the building throughout its life. Building codes have expanded in scope and complexity over the years. Part of their scope includes installation method restricts and worker training and qualifications.

The other aspect of it is general workplace safety regulations which have expanded over the years as well. When budgeting a project, you need to consider both, however. And workers also benefit from both. For example, the restriction on the use of asbestos in building insulation was brought in to reduce the health hazards of living or working in such a building but the construction workers handling the asbestos are clearly the most at-risk group which benefits from the regulation.
Yeah but who do I get to look at their EULA?

EULAs all the way down...
We really appreciate people like you, thank you. And on a personal level, I respect your "BREAKING THROUGH TWO PARTY POLITICS" tagline.
Yes, significantly so.

~18 workers died and hundreds were injured building the HK bridge to Macau and the Mainland which opened in 2018.
A Critique of ANSI SQL Isolation Levels (1995) [pdf]
Ghost looks great and very polished! For me though, it provides much less out of the box (no built-in comments etc). It's also harder to self host and manage and the hosted service costs 30$/month which is extremely pricey for an indie blog. 3rd party ecosystem for wordpress (plugins/themes) is huge. I can easily extend my blog to an e-commerce store, an online community etc.
Hash: A free, online platform for modeling the world
The video assumes that viewers already have a lot of knowledge in the subject.
I’ve heard somewhere that Warren Buffett never signs a contract that’s more than a page or two.

If the authors where interested in having their users read and understand their agreements, policies, and such. Then why not create a very simple, readable, one. Then present the content of it, and have the user accept the terms, in part, spread out over time. Such that the user only have to read a sentence, or paragraph, or so.
If they did it like that, I would probably read the ToS of the apps that I use.
Better late than never!

https://cryptome.org/2012/07/gent-forum-spies.htm
Here in Florianópolis PicPay is absolutely unheard of. I know it by name but have never used or heard about anyone using it.
Visual Basic (6 at least) had none of these issues. It formatted your code as soon as you pressed <enter>. Im don't recall ever having control over the formatter, which was great because everyone's code ended up looking the same and there was nothing they could do about it.
Serious question: if the business just needs a static site, why are they paying tons of money for bespoke software engineering? Just use one of the millions of good-enough and free site builders out there.
And most importantly:

0) Get your own domain and set up MX record to fastmail servers

This way if you ever migrate again, you will not need to do it all over again. One word of advice - keep your registrar login and emails associated with the domains _not_ on your domain, otherwise it is going to present a problem should you ever need to fix anything related to domains.
Source: https://github.com/tpkahlon/javascript/tree/master/m3u8playe...
Australian Government and businesses hit by state-based cyber attack, PM says
This is really insightful and powerful feedback. I'm going to spend time, a lot of time, reflecting on this.

If you'd like to keep an ongoing dialogue on this, or help in any way, drop a line to staff@everytwoyears.org <3
Hello! I didn't realise this post received any attention, I thought it had faded away!

With a sufficient population size, taking advantage of better sampling techniques for initial population generation can make a significant difference. I've used LHS and modified LHS approaches before, but I wanted to keep things simple, at least in the earlier parts of the book!

Something I've worked on with a colleague recently is using a more data science with pre-optimisation exploration (https://link.springer.com/chapter/10.1007/978-3-030-43722-0_...), hoping to do more work on this soon. With regards to high dimensionality in the search space, this kind of approach could be useful.

Previously I've been more interested in high-dimensional objective space and how to deal with them, primarily using progressive preference articulation.

If you have any requests for additional sections in the book I would love to hear them! Something high up on my list is doing a section or two on my neuroevolution algorithm, but keeping it at the right level is tricky.
That's not idiomatic python, just use the type annotation system.
Getting Started in NLP/ML
You started a wretched flamewar with this post. That was vandalism.

Nationalistic and ethnic flamewar will get you banned here. So will personal attacks and insinuated slurs.

People have been hounded off this site in the past by comments along these lines. That's shameful, and we want no more of it.

No, we're not defending communism or the communist party. We're trying to defend Hacker News against (a) mob behaviors and (b) self-immolation. Here are some recent comments about this, which include other links to plenty of past explanations.

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
I stumbled on this paper very early on in my career and it significantly shifted my attitudes toward work, politics, and society. In short: people follow incentives.

Of course, the suggestion of "altering the reward system" breaks down a bit in the presence of Goodhart's law, but it's still very common to see (especially in large or unusually bureaucratic organizations) policies which create incentives completely at odds with the stated goal or metric. One of my favorite examples is the "budget game" many companies play, where each department/division/etc. puts forward a proposed set of projects and budget; the corporate planners then allocate the overall corporate budget. Departments obviously "sand-bag" and ask for more than they think they need (knowing they won't get everything they ask for); there's often a "use it or lose it" policy too, which leads to what I can only describe as an orgy of spending at the end of the fiscal year. This can be great fun for vendors, consultants, and so on!
I have long believed that the human mind is just a massive machine extremely capable of finding patterns, even when no pattern exists.

It only takes a few stars in the sky for us to see a polygon of a greek hunter or a lion or a scorpion. We quickly forget all of the plethora of times we look at clouds and see no distinct shapes, but the second we see a human face or a dog in the tufts of cloud, we get excited and forget the likelihood of an oasis or mirage.

As soon as we get some hint of signal, our brain insists that it try to rationalize it as a pattern and we must go through a painful process to let our ego down gently if we are not to believe we have found a real "signal in the noise".
SEO with Google was about gaming PageRank. A lot of work happened in the 00s trying to prevent that, but it requires an army of moderators and others to identify good/bad links and link sources. Is HN a good source? Sure. Are HN comments a good source? Not once spammers realized they could drop links in comments to boost their site's results. How do you tell the difference? Plain PageRank is weak against this, and that's what motivated a lot of changes to the ranking system.
I am a researcher working in the the field of charge transport, electric current, material conductivity etc. I am happy to help you understand concepts and answer any of your questions as much as I can. Please don't hesitate to contact me.
which ironically, is the 5yrs it take for gmail/yahoo to not threat your domain outgoing email as spam.
It's super-easy to use! More flexible than Java, but (so far as I can tell) just as powerful in terms of catching errors.
1) Nobody has any idea what they're doing 2) If you think you know more than your manager – you are absolutely right 3) HN is 3 years ahead of mainstream, but 10 years behind the edge 4) React was made by an OCaml programmer 5) if you want to be that good, learn emerging languages (all of them) 5) don't optimize for money too soon, if you follow these instructions you will quadruple soon enough 6) Whatever your problem is that is holding you back – drinking, eating, whatever – fix it today 7) Learn Clojure
Its funny to see all the subtle racism come pouring back as soon as the west feels threatened.
"the best China can do is make their garbage rip-offs and steal the hard-won intellectual property" - typical western superiority bullshit. Why don't you go to a country and live there for a year before regurgitating uninformed cliches like this? I doubt you have any real understanding at all about what daily life is like in China.

Somehow its inconceivable that any other country besides the mighty and noble 'Murca can innovate lol. Believe me, there are plenty of countries with far far more innovative public infrastructure like transport. Many countries with more "innovative" health systems in that you don't die or go bankrupt without insurance.

When all the xenophobia and fear stops the trickle of immigrants into the US, they will understand what drove innovation was not some magical freedom that 90% of democracies have, it was talented people from all over the globe.
The problem being, of course, that you can then potentially be blackmailed by the foreign intelligence agencies...
Worked perfectly for me (Firefox).
Um.. yes? Construction work may be back-breaking and hard but it often pays well, or at least can serve as a path towards a trade or higher earning.
We do most of our sales of physical goods we manufacture through a distributor. The distributor marks up the price they pay by 80%. Effectively the distributor takes over 50% of the profit. We think we’re getting a great deal. Eventually the goods make their way to retail where the retail outlet takes 80% of the money of the entire supply chain. This is a pretty normal situation for most businesses.

To me having Apple take only 30% sounds like a fantastic deal.
I had posted this to my own blog at http://beesbuzz.biz/blog/2934-Advice-to-young-web-developers and it looks like it was the Tumblr auto-crossposted version that got submitted here. That's unfortunate.

EDIT: I've updated the Tumblr version to make this a bit more clear.
I am aggressively pursuing a universal 100% server-side UI framework (not just targeting the web). If AMD has demonstrated anything to me, it's that the server is the place to do as much work as you can. Offloading work to client devices feels like stealing to me at this point. Websites are very abusive with your resources.
This is talking about antibodies, but mammalian immune systems have multiple layers. One of the reasons that corona virus antibodies are so rare is that mucus membranes, the innate immune system, and cell mediated immunity tend to succeed before antibodies are made. That population wide infection rates stop well short of 20% infected indicates that some form of immunity must be in play.
One idea I’ve been thinking about building is sort of a hybrid SSR where you make use of server sent events to continually render more on the page based on the users interaction (most obvious would be scroller).

Of course I have yet to investigate how modern browsers render a never ending index.html, how I wouldnsend the client events and correspond them to the existing open original request, how this would scale to multiple hosts behind a load balacer (but maybe that’s getting ahead of my self haha).
I find that the more we learn about intelligence and consciousness, the more we realize how little we really know about it.

I also think that once we truly understand what intelligence and consciousness is, we'll be able to actually create it.
Previous post on the matter: https://news.ycombinator.com/item?id=22497391
Block all plaintext traffic. Only allow TLS. Be transparent about what you log and what you don't. Publish results of third party audits.
google-java-format has been imposed from outside our team. It's not configurable, makes poor choices a lot more than 1% of the time, forces diffs to cover many more lines than needed, and vandalizes blocks that were already well-formatted by a professional for human readers.

I think there are few subjective style choices that are so egregious that a robot would have done a better job. Where I want enforcement is likely correctness and safety mistakes.
Safety is waaaay more about worksite practices and culture than how much you spent on safety equipment.

Source: I worked on a deployed aircraft carrier, one of the most dangerous workplaces in the world.
This is particularly impactful since macOS won’t support CUDA drivers anymore.
We're also rapidly hurtling towards the end of transistor scaling, full stop. When "start of the art" stops being a moving target, how long before everybody has it?

We're still several years from that, but probably not several decades from it.
As an FYI, any number that is grounded in counting the occurrences of any event across the entire universe and until the end of time won't even come close to Graham's Number and any other "immense numbers" in math.
you're right. i remembered the numbers wrong. i think it just proves my point even further though.
I think the argument is that the landing was broadcast televised (streamed, not filmed).

The linked video seems to compare the "instant replay" drive (rather than a traditional film camera) for the orders of magnitude. The similar comparison of film-to-film seems to have ore to do with splicing and the switchover from one reel to another.

Anyway you look at it, conspiracy theorists will always say "they had 2% of US GDP for a decade... they could have invented any number of technologies to assist with the filming".
It is more like "Fordmart" is the only store you can go to in a Ford car, I think.
Good point! We've actually relegated the xpath tracking in our latest version of the chrome extension.

At the moment we have two experiences on our chrome extension to grab the appropriate selector. Manual mode and analyse my site mode.

1. Our manual mode allows you to select any element with your mouse and it will grab the CSS selector.
2. Our analyse mode runs through the site dom and will classify your trackable elements by Class, ID or CSS-Selector.
Spectrum is a joke. They constantly call me and expect me to provide them my address and payment details like it is a sane thing to ask.

Which is sad because their pricing model is less stupid than most of the competition.
It's quite fascinating that as we are making AIs which are smarter than humans in 'narrow' applications, we are also becoming more aware of existing lifeforms that are already smarter than us in 'narrow' fields of their own, e.g. a squirrel's memory for food stashes.

I wonder whether our society will integrate interactions with AIs and nonhuman animals as part of the same process.
I believe they meant PC as in PC (Windows) vs Mac. I've encountered a lot of people who use PC <-> Windows Machine interchangeably.
It can’t be more of a monopoly because neither is a monopoly.

https://www.investopedia.com/terms/m/monopoly.asp

I believe Apple has roughly about 15% of the global smartphone market.
Thank you so much for the through explanation.
Looks neat, going to give it a try, thanks for posting it.
E: are you the creator? Outside of this would be nice to be able to monitor live ticks / candles on specified ticker.
It'd be so easy for Google (or others) to add that capability in their search, using the pagespeed insights they're now using to rank. Like, "squirrel -amp cumulative_layout_shift:0 total_blocking_time:0"
Good luck boycotting the credit card companies, if you want to participate meaningfully in the modern economy.
Very unfortunate username on an iPhone (8).
So... your idea to punish rich assholes is to implement a system where you can pay money to make people miserable. Do you see the glaring flaw in this plan?
Certainly possible. Just for fun, let's do some quick math. Imagine that we had 100 billion processes running constantly at 10 GHz since ~1970. This would result in ~10^30 clock ticks (10^9 sec * 10^10 ticks/sec * 10^11 processors).

That number is child's play compared to numbers like Graham's number. The exponent of Graham's number is so large that it can't be written down. 30 is pretty easy to write down. For comparison there are about 10^80 atoms in the universe. That's still a tiny number compared to Graham's number.
The Engineering Mindset has lots of good videos with nice examples - https://theengineeringmindset.com
Exactly - when you remove all PII, you are left only with data that cannot be linked to the individual, even indirectly.
> But I still say that using the word "thinking" for non-macro-scale biomechanical processes is charlatanism.

This is some pretty strong language.

We all use words to abstract concepts. It's not clear what "thinking" even means from a scientific standpoint. We can be pretty broad on the definition if this is a philosophical discussion.

> suddenly an automatic door is thinking

It is certainly performing an action in response to stimuli. And, given that more electronics are shifting to microcontrollers, a modern automatic door might as well have the machinery required to 'think', or at least, it will have a computer.

There's no evidence that our brain is any different from an automatic door – or more specifically, from an enormous collection of automatic doors.
It’s not enforced at all, and only serves to provide development feedback.
No, this is too fundamental of a science.

Reverse engineering is just working backwards, until you get to parity. Certainly, this will get you far, but you’ll always be a step behind the leader. But what you really need, is to advance and take the lead.

In order to achieve that, you need the scientific process here to understand the fundamental basics. Then you can build on that and expand.

But, what we know is that the Dutch company, ASML, has a tool that can achieve 5nm.

To China, this means that the engineering is possible. They just have to throw more time, money, and people at it. They don’t even need to follow the same techniques as ASML, they just have to get at the same end result, the 5nm. Solve the basic science, and it will allow you to achieve the engineering. Then, they can expand, and target 3nm, or whatever the next technology is. Carbon nanotubes based CPUs?
Ahem. Chroot has lots of ways to escape.
And his mac
I do electronics repair on an offshore oil rig, so not quite the same as construction.
When I'm working, using a harness usually doubles to quadruples the time it takes. There is extra paperwork, you need to verify that what you are tying-off to can support the dynamic shock load of a person falling, they tell us 5000 lbfs. We have to put together a plan for if we do fall how the person going to rescue us is going to retrieve us. Also, we can't work alone because if you fall someone needs to be able to notify the rescue team.
A 30 second job for one person on the ground may take 2 people an hour when the job is at heights.
If you aren't working from scaffolding, you may be working from an unstable work position. There is also intolerance for dropping anything, even if the area under the work area is barricaded off, so each move and fastener removed requires much more concentration. We use special no-drop-tools that are all on lanyards that no matter what sort of organizational strategy frequently end up in a knot.
Brytiago, Rauw Alejandro – Cositas (Official Video) [Orgánico]
You can even benefit from it without bothering with the type annotations (though they make it more effective).

https://google.github.io/pytype/
Sideloading on Android is a PITA by default, but it's enough of a backstop that some developers like Tinder and Epic have been able to give Google the middle finger.

There are cases where 30% of revenue makes sense. For cheap, purchased apps it's a good deal because the cost of running that infrastructure is comparatively high. However, once you hit a certain volume of sales or move into subscriptions, the value of the services being provided by Google and Apple don't make sense and it would be better to run your own infrastructure.

Seeing what Epic was willing to do to get out of the Play store is a really good indicator of how bad of a deal it is at scale.

And I thought traditional retailers chose their own markup, didn't they?
Maybe your IDE experience is different than mine, but a typed function will gladly accepted an untyped var without complaining, and during runtime could care less.
I'm not a Go user, but is the important idea here that it can be run from a scriptingish environment like Jupyter or something?
Brilliant but Cruel: Perceptions of Negative Evaluators (1981) [pdf]
I feel where they are trying to go with this, I wrote https://github.com/aunum/gold in Go because of all the nice parts of Go.

This solves some of the pain points but is still fatally flawed as any other Go ML tool in that it can’t accelerate due to the Go<->C FFI.

Until that issue is resolved Go simply won’t be broadly accepted in data science.
The only reason I mentioned copyright is, the classic thing all software ToS’s traditionally say is that you cannot create unauthorized copies of media.

What else is in ToS’s that tech companies absolutely must be able to enforce?
Hi, if possible, could the link please be updated to point to the original post at https://beesbuzz.biz/blog/2934-Advice-to-young-web-developer... ? The Tumblr automatic crosspost isn't really intended to be the canonical version, and I wouldn't mind getting a server load test while we're here.

Thanks!
Thanks to the author for sharing it in this open manner, I look forward to working with it.

I am sure it has been mentioned before on HN, but seems like a good place to share https://github.com/tuvtran/project-based-learning#python

Not so much about practicality, but I've been getting into puzzles and mazes lately https://www.jamisbuck.org/mazes/ (not yet bought his book, but will)

Happy coding to all :)
Building an AI-Powered Searchable Video Archive
China has already been doing that at scale. Look up the Thousand Talents Program [0]

0:https://en.wikipedia.org/wiki/Thousand_Talents_Plan
It's not incumbent upon me to spend money to protect against the crimes of others. The reason I questioned your answer is that a potential practical solution doesn't answer the moral framework I proposed: property represents part of one's life and therefore can be defended as such.
I think the problem was that you editorialized the title, and it sounded like marketing ("Glassomer – glass structuring is becoming as easy and fast as plastic processing"). A better approach would be to make the title reflect what the page actually says, and then to post a first comment explaining what you find interesting and what sort of discussion you were hoping for.
Continuing to operate their existing reactors would certainly have been cheaper for Japan. So the decision to replace them with fossil fuels (now LNG + CC, not the fossil fuels of decades ago) wasn't driven by economics.
> And would the rest of the world not say: Well, we can't start a world war, because it's an extinction level event, so let's just condemn China in a very strongly worded letter?

There are repercussions within the spectrum between hand wringing and nuclear war. Severe economic sanctions come to mind.

And from a realist perspective, the rest of the world is more likely to care about Taiwan than Crimea.
To Get a Job in SpaceX
Dense populations with small cross sections, either at their stations or in bunks/cells. Mostly aerosolized transmission vs direct contact.