skysight-inc/HackerNews huggingface dataset:
Are any of the recent open source games automatable / easy to script bots for?

I've been looking to get into game bot development and I'm very curious what's the easiest way for me to automate an RTS, ideally am open source one -- but the StarCratt 1 OpenBW + SSCAIT project would be fine as well.

Does anybody have experience?
I'm not doubting that the windows API has remained stable. I'd like to try if the tooling (e.g. IDE config format or makefile equivalent) has also received the same amount of attention to backward compat
detaro makes some good points, and you’re right it’s totally possible for some things to be designed for selling merch. I agree that it’s really up to the game makers.

At this point, I think it’s more about IP and who your target is. If your target is general audience/kids, you could probably sell a whole variety of merch, even if it’s not directly tied to the game.
But if the target is hardcore gamers (collectibles, exclusive t-shirts, memorabilia, etc), the market seems smaller.
Hate speech is free speech.
Show HN: Imba – I have spent 7 years creating a programming language for the web
Hey all

My name is Sindre, and I am the CTO of Scrimba (YC S20). For the last 7 years, I have written all my web apps in a full-stack programming language called Imba. It compiles to JavaScript and its main goal is to make web developers more productive.

I just launched a major overhaul of Imba, so I wanted to share it here on HN, in case anyone are interested in learning more about it. It is very opinionated, so some of you might not like it, but I would love to hear anyones feedback regardless. Constructive criticism appreciated!

The backstory:

Imba initially started in 2012 as an effort to bring the elegance and conciseness of Ruby into the browser, and also because I felt that JavaScript and the DOM should be more tightly coupled together. Over the years, I have taken inspiration from React/JSX, and also Tailwind.

Since 2013, I have built several business-critical apps in Imba, so this is not a toy project or an academic exercise, it is extracted from a real project trying to solve real problems. Today, we are currently a small but passionate community of devs who use Imba all over the world.

The nitty-gritty details:

As mentioned, Imba compiles to JavaScript, and it works on both the frontend and backend. The quickest way to get a feeling of how it works is by checking out this video: https://www.youtube.com/watch?v=8XS5q9xhaMc

Alternatively, here is a list of the main benefits of the language:

* Clean syntax with built-in tags and inline styles

* Imba's Memoized DOM approach is *an order of magnitude* faster than Virtual DOMs (Vue, React). Learn more here: https://www.freecodecamp.org/news/the-virtual-dom-is-slow-me...

* Imba works with Node and the npm ecosystem, and integrates tightly with both JS and TypeScript

* Blazing-fast dev/build tools based on esbuild

Each of the benefits above are explained more thoroughly in our docs here, so please check it out if any of the above points spark your interest: https://imba.io

With this version I feel that I am very close to my vision for what Imba should be. In other words; it is finally ready for public consumption. I'd wholeheartedly advice you to look into it and give it a whirl if you are interested in web development :)

Hope you like it, and please share any feedback you might have in the comments!

PS! We're also hiring Imba developers at Scrimba - see https://jobs.scrimba.com/. We don't expect you to be a seasoned Imba developer, but we expect you to pick it up fast :)
A 'decent controlled study' suggests that 'decent controlled studies' measuring 'charitable impulses' are not all that decent or controlled.
The UK has privately managed prisons, which is quite a lot different to privately owned prisons in terms of incentives.

I think it's a bad idea too, but I don't think it's quite the same as the prison industrial complex in the US.
I have nothing against storing and sharing lossless images. But do it efficiently if you're gonna do it. Showing 10+ images that each weight a lot is not efficient. Instead, show the compressed image on the website (as it's limited to 720 width anyways), and add a link to the original. Now everyone is pleased.

I downloaded the 1.png file and converted it to a JPG and also diffed the origianl PNG with the JPGs I generated (90% in quality and 80%).

- Original PNG: 51M

- 95% JPG: 13M

- 90% JPG: 9.4M

- 80% JPG + interlace + strip Plane: 4.7M

Comparing the new versions with the original via the PSNR metric (closer to 1 is better [more similar]):

- Original PNG vs Original PNG: 1 (obviously)

- Original PNG vs 95% JPG: 0.999465

- Original PNG vs 80% JPG: 0.998611

With other (shorter) words: There is no difference for the consumer (a website visitor) between the two, except one uses more resources (RAM + network) and takes longer to download and the other one doesn't.

For the archiver (which you seem to consider more than the website user) there is clearly a difference between lossless and lossy files. But those can be linked instead of rendered directly inline.
What gives you the impression that "maximized free speech" is the goal of Mastodon?
Elastic amends Elasticsearch: now won't work with forks then blocks comments
"T-Mobile has been hacked yet again—but still doesn’t know what was taken"

https://arstechnica.com/gadgets/2021/08/t-mobile-has-been-ha...
'Mindfulness' is nothing but egotism. I don't want to throw around things like privilege and bored housewife, but it's just a self-help cult that taps into the same basic infrastructure as any other religion, then encourages people to feel proud of themselves for accessing relatively easy-to-access parts of their brains and gives itself credit for helping them overcome the psychological trauma and hurdles to getting there.

To me, the saddest thing about "mindfulness" is that it is to existentialism what the Taliban is to statues of Buddha. A very blunt tool for people without enough time or patience to examine reality or actually ask, "why is this thing here? Might it mean something?" This is pop-cultural garbage taken to cult level to overwhelm fragile peoples' minds, without giving them a chance to understand the historical context of their place and time or what reason they might actually have to be going through the things they're going through.

So mindfulness leading to egoism is a foregone conclusion, because it's a degenerated version of existential or Buddhist thought, intentionally turned into trifling horseshit for people who were born, live, and will die without any notion or care of anything that happened before them. And they were already egoists; and having a problem you can't frame in broader terms than your own ability to pay attention to it for a few minutes is having a pretty pathetic problem indeed.
My first and last employers damn near killed my passion too. It was just specific employers though. Consider switching jobs before switching careers. London is also its own thing. There are far more relaxing places to earn a living.
Equanimity and balance is key. Anything in excess is bad for you, even mindfulness.
Oh, me too. But unless we get a couple dozen million Americans to share the sentiment, we won't get what we want. And that doesn't seem like a battle worth fighting.
Your reply might be below the wrong comment? Grandparent post raised the topic.
Manufacturing consent : https://en.wikipedia.org/wiki/Manufacturing_Consent

The media does not need to be told explicitly what to and not to publish : they toe the line voluntary.
Good point. I also imagine just altogether less hardware to replace overall given the much smaller population.
This article doesn't really go into details about what the solution is. It basically sounds like they're saying they can control traffic when they control enough of the variables. Traffic engineers have been using digital models for decades. The bigger problem is that the real world has too many pesky autonomous drivers. I'm not convinced that many drivers really want a solution that takes their autonomy away. If they did, they'd just use public transport, which, incidentally, is capable of moving far more people with far less congestion issues.
It's not good, but it's not the worst. Of course i prefer applications which feel instantaneous, but these are hard to come by nowadays. I don't have strong opinions for 140Hz refresh rate, because i don't think i ever had monitors with more than 60Hz.

Many modern JS/Electron apps are in fact network bound for UI updates which is the worst possible thing you can do... just try to use element.io in a Tor Browser on a normal xDSL connection and you'll see what i mean (unless it's improved recently). So on this scale of the absurdity of modern software engineering, 100ms latency for user interaction is not all that bad... although my GUI/CLI tools in the 90s were much snappier than that and we have in fact greatly regressed as a field.
So you are not calling to suppress all political calls. You are calling for reasoning. I agree here.
Is it possible to compile and run existing unix programs ?
We find Electron lacking on performance compared to native.

Try out the product, tell us how to improve it, and we will :)
Absolutely, same here. Additionally there seems to be very little consistency with GPU instance start up times, I’ve had 30 seconds one moment and 5 minutes another. Can’t say I’ve experienced 10 minutes luckily.
The original Windows and Mac clients didn't use Qt, it appears the Linux version released after did. Here's what I found scouting quora:

> Qt is only used on Linux. The native parts is built with our own custom toolkit on top of a canvas- and window-abstraction layer. The canvas/window stuff is implemented with Qt on Linux, but with native stuff on win/mac. Then we have the HTML5 views, which use Chromium Embedded Framework.

https://www.quora.com/What-is-spotify-Windows-Mac-GUI-app-bu...

> Proprietary technology written in C++, C and a tad of assembler. A list of third party technology used can be read by going to Help → Show Licenses in Spotify, or by opening file://localhost/Applications/Spotify.app/Contents/Resources/licenses.xhtml (if you're on Mac OS).

https://www.quora.com/How-did-Spotify-make-a-multiplatform-l...

The list of deps is insightful looks like they used WTL for their Windows UI, no idea how they made it work on Mac as well:

Boost, Expat, FastDelegate, giflib, libjpeg, libogg, libvorbis, Mersenne Twister, zlib, NSIS (Windows only), Windows Template Library (Windows only), Growl (Max OS X only), Lua
I can just imagine the technical and political difficulties in adding proper unit tests to the kernel now. The C model is "everything just imports and calls whatever it wants". It's great for speed, but for good unit testing you actually want some of that "AbstractFactoryFactory" stuff we make fun of in Java. For instance, take any module of the Linux kernel and try to see what it would take to test it without importing any other kernel code. Then, if you have a plan for that, now you need to stub out the rest of the kernel. Since every module imports dozens of files from other modules, and calls dozens of functions from said modules, it's not very pretty.
Perhaps but I did find Six Thinking hats useful when I was working. The main advantage was to nip prospective "devils advocates" too early in the process.
All of my cards have the tap to pay symbol, so all I do is tap the card and it works pretty much every time. If it does not, then I insert it into the chip reader.

Since cards can have tap to pay, chip, and stripe all on the same card, I do not see the uncertainty in merchants supporting it to be an Achilles heel since you will have the card anyway. It might be an Achilles heel for Apple Pay/Google Pay, but not contactless/tap to pay in general.
> RAII isn't triggered on heap allocated objects unless smart pointers are used everywhere.

It's triggered unless you have memory leaks.
Healthcare workers are victims of government overreach? That's an interesting thesis, would you like to elaborate?
Meanwhile my Italian bank recently moved from hardware to SMS 2FA "in an effort to modernize [their] systems".

I changed bank.
>It’s like they’re punishing you for not going for the packet of 6 Granny Smith apples all wrapped in plastic and cardboard.

I've always run on the gut assumption that they must be putting the worst apples that still look appealing into those packages.
Things like Napster have a long tradition dating back to the 1960s, in the UK the response to the paternalistic and stuffy state monopoly on music broadcasting was for people to put studios and transmitters on ships parked just outside of British territorial waters. That’s really what fuelled the explosion in British music!
Yes. That gets to a marketing concept that many businesses ignore at their peril:

Sell what people want to people who want it. (Vs what you want to make to who you want to sell it to.)
Hi, the author here. Keyboard navigation is definitely something I'd like to focus on soon, the app should be 100% usable without a mouse. And accessibility is definitely on the Druid roadmap! <3
CIA’s turn to admit to its fiasco
Fwiw IPv6 for Google cloud instances is finally GA (https://cloud.google.com/compute/docs/ip-addresses/configure...)
Step by step guide tell you how to build a website like apkmirror
Certainly! We have a growing library of ports [1] that you can build with a single command to add 3rd party software to the system.

Note that unlike many other operating systems, SerenityOS aims to be completely free of 3rd party software in the default install. So we build everything ourselves, all the way from the kernel to the web browser. It's great fun!

1. https://github.com/SerenityOS/serenity/tree/master/Ports
- Can my users become customers of mine? Fruit company: No
Fair enough. If you're fixed on that, we're not trying to change your mind (yet :p).
It's a different business model for browsers, we know, but we do think it will be best for the development of the product in the short-term and the long-term.

Hopefully eventually, you'll reconsider when it looks even more awesome :)
Cloud VDI provides virtual desktop OS to the end user with all the necessary applications required for use like browser software & others. Hosted virtual desktop have many benefits such as working from anywhere, lower costs than traditional ways of computing & have subscription pricing model.
Resource - https://bit.ly/37MELuL
Obviously you can't but the point people don't realize is that if you use that same card in store the merchant can link it back to online purchases you made and all your information which they can then package and sell to data brokers.
Since it generalizes ECS, I believe it should be possible to keep any ECS optimizations by having special empty components, in cases where those optimizations still apply.
It would be a terrible business decision on their part to NOT to have any influence on git...
Flights resume in Kabul; US aims to extract 22k Afghans who helped military
For linux there is a snap of the app available, which is a lot easier than building it from source: https://snapcraft.io/psst-gui
Yeah that's what i mean, that for a sort of append-only cache where a garbage collector kicks in to remove old entries (<-- the part i forgot to mention), the directory size will in fact grow forever.

I must say that came as a surprise to me (i've used this pattern more than once, but never with millions of files), so thanks for telling me!
I think mindfulness is garbage, but equanimity is not an ethos or a framework. Empathy - the ability to momentarily put yourself in someone else's shoes, and to think and dwell on that, is the basis for a social contract. Personal mindfulness is not and never has been the basis for anything other than self-aggrandizement.
I am in the US and I have been using tap to pay for a few years now with consistent success. And as you wrote, if it does not, you just insert the chip. But that seems rare.
This has been the case in the US for two years. Lots of merchants including some very large one don't really care. Fraud is relatively small in comparison to technology and maintenance costs.
Look up Zen Pencils: there're two books based off the website. It's illustrated inspirational sayings, really great stuff to talk with kids.
https://github.com/vimwiki/vimwiki
Any takers for Quebec?
That depends on:

- Buyers clicking on the ad, rather than just stashing the product name, and later buying it offline, or through another channel

- People not using ad-blockers

- The "statistically significant" evidence being statistically significant

The vast majority of ad views have no effect on the viewer at all.

Suppose 100,000 viewers are shown the ad (that's your group A); and 0.01% of viewers click on the ad, and complete a purchase. That's 10 actions - much too small for statistical significance. I have no idea whether these are typical numbers; but if that completion rate is in the ballpark, then I guess you need to show the ad to at least a million people.

But what about everyone else (group B)? That's the rest of the population of the planet. How many of them bought the product because they saw the ad? Zero, because they weren't shown the ad. You have no statistic for group B at all.

It makes more sense if you're comparing ad A with ad B. Which one produces more completions? That would be a more convincing statistic. But it still doesn't tell you that internet advertising "works", in any quantifiable sense. It tells you which style of ad works best, without telling you how much better it works than simply not bothering.

And it doesn't tell you how many people were sufficiently annoyed by the ad to vow never to buy that brand.
On a switch you could probably trust UDP no?
That's pretty cool (and also pretty ridiculous that it took 8 months). I'm kinda confused by the last part:

> Since both Patreon and our custom sponsorship platform are based around rewards to patrons/sponsors, they cannot be classified as donations, so there are no changes to how those are taxed.

So when German non-profits want to hand out merch in exchange for a specific donation amount, non-profit has to pay for-profit taxes on that?
So I'm not the only one thinking that this was the time when desktop UI's peaked and most things since then are fluff and featuritis driven by the marketing departments needs to constantly have something new and exciting and usability going out of the window.

Nice work!
I could follow a far more secure development process than I currently do, but I'd get fired for not producing features quickly enough. Maybe it's impossibly hard to write perfect software, but we'd only find that out if we started actually trying to.
I'd you mean "question that sounds basic, but which many professional programmers wouldn't be able to answer at gunpoint": How do prefix and suffix increment operators (++x vs x++) differ in functionality?
> I want Mastodon to have more resources for things like hiring extra developers, UX designers, developing official apps and so on, and I want there to be a clear boundary between fundraising for that cause and my personal income.

This is an important step, and one that I'd love to see more FOSS projects take
Hi, I'm glad you like it! The performance is not _that_ good at the moment, mostly because of superfluous paints, but it's something I'd like to focus on (as it's one of the primary objectives).
Back when Autodesk crippled Fusion360 it spawned a similar wave of posts about open source parametric CAD software. I don’t mind these either.
Oh, I love a computer voice screaming into my ear "BATTERY! LOW! " every minute when my headphones reach 30%. Yeah, hearing loss is only a small price to pay for not dealing with tangled cables.
It's a HTTP API client. There are other things than HTTP out there :-)

Also, don't shell out to curl, that's weak sauce. Use libcurl, it has Go bindings.
Bell's palsy following vaccination with mRNA (BNT162b2) and inactivated vaccines
"...Between February 23 and May 4, 2021, 451 939 individuals received the first dose of CoronaVac and 537 205 individuals received the first dose of BNT162b2. 28 clinically confirmed cases of Bell's palsy were reported following CoronaVac and 16 cases were reported following BNT162b2. The age-standardised incidence of clinically confirmed Bell's palsy was 66·9 cases per 100 000 person-years (95% CI 37·2 to 96·6) following CoronaVac vaccination and 42·8 per 100 000 person-years (19·4 to 66·1) for BNT162b2 vaccination. The age-standardised difference for the incidence compared with the background population was 41·5 (95% CI 11·7 to 71·4) for CoronaVac and 17·0 (−6·6 to 40·6) for BNT162b2, equivalent to an additional 4·8 cases per 100 000 people vaccinated for CoronaVac and 2·0 cases per 100 000 people vaccinated for BNT162b2. In the nested case-control analysis, 298 cases were matched to 1181 controls, and the adjusted ORs were 2·385 (95% CI 1·415 to 4·022) for CoronaVac and 1·755 (0·886 to 3·477) for BNT162b2.

Interpretation:

Our findings suggest an overall increased risk of Bell's palsy after CoronaVac vaccination. However, the beneficial and protective effects of the inactivated COVID-19 vaccine far outweigh the risk of this generally self-limiting adverse event. Additional studies are needed in other regions to confirm our findings..."

PDF:
https://www.thelancet.com/action/showPdf?pii=S1473-3099%2821...
There are a few tools that will "tile" an image for you. libvips dzsave works well, even for really big images: https://libvips.github.io/libvips/API/current/Making-image-p...

There are commercial products in this space too (like Maptiler).
I set it up for this comment:)

Thanks.
This is not really the case, you need a Premium account for Psst to work.
Weak signal alert: Keystroke biometrics
That's also my understanding, but your initial comment suggested that turning off case-sensitivity sped things up. Sorry for the misunderstanding!
The fact that you're talking about probabilities sort of proves my point. You're instead saying it could be worse, and I'm saying random execution times in your critical paths is generally undesirable. It depends on your application of course, but if you have anything realtime or near realtime, I would definitely take consistent execution times.

There is a related e-mail from IdSoft's John Carmack about this at [1] which I found very interesting.

[1] http://number-none.com/blow/blog/programming/2014/09/26/carm...
https://archlinux.org/

I love the fact that I can customize absolutely everything. The AUR (Arch User Repository) is also amazing and has probably every installable package on earth.
You come across as pretty whiny and entitled.
Ha! Good catch! My comment above won't do? Research funded by the University of Life.
This already happened in the US a few years ago.
Hands-On Guide to Rock Clustering Algorithm
Thank you so much for sharing such a useful information. I will definitely share this with others.

https://www.paycheckrecords.win/
What is it with people believing RSS is dead? It's not dead, it's stable. It works, it does its job, it doesn't need to be changed.

When something like this "just works" it's easy to fall victim to the belief that it's irrelevant, but that's just because it exists in the background.

I sincerely hope you will not remove RSS support because it's an easy way to monitor publicly visible updates from all kinds of sites without needing to implement their APIs. I've got a bot that monitors Youtube accounts via RSS and posts updates to a Discord. Writing the code took only about a half hour because parsing RSS feeds is literally a single call to a library.

To me, RSS/Atom is one of the original promises of the web: a freely accessible network of information from all over the world in a standardized open format that anyone can use. Takes practically zero time to implement because libraries will do the work for you. @intenttoship is already lamenting the fact they're going to have to write a screen scraper now.
What is love query?