skysight-inc/HackerNews huggingface dataset:
I'm in the "reuse over recycle" camp myself, and heard plenty of stories about milk bottles from my parents and grandparents, so I understand this point.

Instinctively, I'd wish we got back to reusable glass bottles for most things; as inconvenient as they are when shopping, maybe we could get that back in the era of increasing home delivery of groceries. That said, I recall someone on HN bringing up the following point: plastics are probably energetically cheaper to manufacture than their reusable equivalents. For plastic bags, I think the ratio was around 1000 uses before a reusable "eco" bag started to come ahead of disposable plastic bags, energy-wise. I suspect the calculation for glass bottles will be similar, once you account for the costs of cleaning.

Ecologically speaking, AFAIK the main problem with disposable plastics isn't their carbon footprint, but microplastics getting into the food chain. That means better garbage management is the crucial issue here.

I'm not saying this to defend the proliferation of disposable plastics - in fact, I have an instinctive and deep hate for single-use items where reusable alternatives could exist. I'm only saying this problem is nontrivial once you start accounting for energy use, or negative externalities. If there's some detailed analysis that tackles this issue thoroughly, I'd love to read one and update my views.
Cases like these makes me want to take extreme precautions when traveling.

I recently returned from a trip to the US, and prior to boarding (in any direction) i wiped my browser history, and logged out of iCloud, wiping all message history etc.
When i arrived at my destination i simply restored from the last iCloud backup, and things "magically" reappeared.

Reading the comments here made me realize that it's much more than just personal emails/notes, but also things like Uber history, frequent locations, frequent calls, etc. Basically anything you do that has a pattern to it, or matches a list of keywords.

As i don't see the need nor justification for any government to profile me in detail, I'm seriously considering doing a complete wipe of the phone for my next trip, setting it up as a basic _phone_ and restore a backup once i arrive. For a laptop i would probably set it up as new, and bring an installation media with me, reinstalling when i arrive.
i3d.net will give you a machine, with as hands-on support as you want up to even patching the OS.
A Denotational Engineering of Programming Languages
After the USSR
Can you ELI5 how a game can be Turing complete? I have only heard that in relation to programming languages.
You made a comment about my character/emotional/mental state (if you're offended), I asked what makes you the authority on a matter of fact.

Yours was snarky because it's personal, mine's a rebuttal in the form of a question. Quite different.

I believe it's best if we leave it there but feel free to respond, I will read it.
Do you really know there is a war in Israel? Did you see it?
Do you even consider firing of hundreds of rockets at Jews a war?
Cl-ana: Common Lisp library for data analysis
I remember using FullCalendar when it was a jQuery plugin about 8-9 years ago, it was slick and it worked very well.

Thank you for doing this.
Ever Wonder Why You're So Judgmental?
Same here! During or After (lasting for 2 or 3 days) a microdosis LSD, I do not like to drink any alcohol..
It is for me the most recognizable thing of microdosing
You realize this thread is about Israel?
95% of Nevada’s population lives 30 minutes from the California border where it would be one hour later. Super impractical
Not bad.
I was able to run 1080p trailer of the movie in the following link with CPU ranging between 32% to 39% on my old MacBook Pro from year 2012.

https://jsmpeg.com/perf.html
Morpheus: A Vulnerability-Tolerant Architecture Based on Moving Target Defenses
Even if some folks do not care about absolute monetary price, there can be other hurdles. For example, for corporate purchases, there are countries where you have per item limit, up until which you can expense your purchases into given year, or above which you must depreciate the item.

In my country, Apple computers moved into the must depreciate for 4 years territory, which is simply unacceptable to corporate buyers there (as depreciated asset, it the paperwork is more involved, and therefore needs additional time and expenses). Meanwhile, Lenovo or Dell sales know how to make the price right, so everybody is satisfied.

My 2015 rMBP was 1 EUR below this limit. I don't know what to replace it with, if needed.
Tell HN: AWS QuickSight Is Down
aws status page for QuickSight is all green, but the service seems 100% down.
No no no. Metric 10 hour clock!
Surely there must be a python interpreter written in Node we can use somehow.

Remember: We need full stack!
Loitering in space is near-free.

That said, I'm thinking pumped-laser-tipped missiles could be very effective as e.g. anti-ship weapons. You could launch one straight up from your territory, and have it snipe the enemy ship from far away. The enemy would have to monitor a large portion of the sky for relatively small objects and react instantly with lasers of their own to counter that.

EDIT: I suspect these could be made into pumped-laser shells; good luck countering one that's launched from beyond the horizon.
this makes sense as part of the problem. the more carbon actively stored in the form of living creatures the less there is in the sky cooking us
I don't like "merge" word because it implies how the problem is solved. "Synchronise" would be better, as there is no merging, actually.

We use Operational Transformation, so all the changes are stored as operations (with their most important property being path - the position where the operation happened).

When a user comes online, they try to re-send all the operations that are buffered and not yet sent to the server. Then it is a matter of transforming these operations by the new operations that happened in the meantime (when the user was offline). Of course, the user also has to accept the new operations.

This is a bigger / more complex version of the basic problem of the real-time collaboration. During real-time collaboration with all users online you might need to transform your operation by maybe several other operations at most. When you go offline, it might be tens or hundreds of operations but the problem is basically the same, just bigger.

The quality of the transformation algorithms will make a huge role in how well the user intentions will be preserved.

"Platform is ready" means that the theory behind our solution is correct and that we checked some moderately complex scenarios.

Edit: still, the base scenario is that the users write "online" and "offline" kicks in when you lose a connection (for hours, even). If we are talking about "everyone writes offline and then they magically merge" then I think this might be a totally different feature (and maybe even outside of the editor and inside the CMS).
I put all the 'Have I been Pwned' SHA1 hashes into a bloom filter: https://github.com/w8rbt/bp
> 10Gb ethernet is only about 10x slower than main memory

Server-class CPUs have much higher bandwidth nowadays:

> The total memory bandwidth available to a single CPU clocks in at 170 GB/s.

(i.e. ~136x slower than main memory)

https://www.anandtech.com/show/11183/amd-prepares-32-core-na...
> might degrade into ideologically-driven arguments.

The article you've posted is by Steve Bannon. It is ideologically-driven.

He claims as fact that "has been waging economic war against industrial democracies ever since China joined the World Trade Organization (WTO) in 2001", which is ideological and inflammatory in essence.

The rest of the claims are on par.
https://twitter.com/withoutboats/status/1027702531361857536
I've done a Go course a while ago; interestingly enough, at least the first day, it wasn't about Go at all. The trainer basically stated that if you know any curly braces language, you can write Go.

And I think that's the point. The language doesn't get in your way, and it's not any specific language feature that will make your code go fast or slow - unless you abuse it, or use it when you don't need to.

I mean if you're happy with C then by all means; Go isn't claiming to be faster than other languages, not this close to the metal. It's mainly aimed to take away some of the mental overhead you get with C and similar languages. And compile times.
Don't forget that UK Gallons are not the same as US Gallons 1 Imperial Gallon = 1.2 US Gallons
Human Rights Watch Reports on China's Xinjiang Surveillance App
You can choose your battles. There's no need or obligation to take on all targets, and the legal strategy of first pursuing a tractable, or even sympathetic (to your interests) target is well established.

The cyberstalking industry has many players. Most are small. A target-rich environment.

Shifting the investment or financing calculus, via increased investor risk, possibly including legal liability, would be huge.
Enterprise mostly uses Windows applications. The end users don't care about the OS only the shell and the applications.
Cppyy – Automatic Python-C++ bindings
> sync large offline edits, with the intentions preserved

How would that be possible if none of the users can see what the others are doing? If you have three users that start with version 1 and they all make their own version 2, even the users don't know what the "correct" version 2 should look like. Or to put it differently, I don't even know what is meant by "intentions" in this scenario.
Knit 1, Purl 2: Assembly Instructions for a Robot?
You can easily gain infinite amount of mana, life, creatures.
The point seems to be to take LSD at ground level with no sharp objects nearby.
Dynamic linking on Unixes (POSIX-ish, BSDs, Linux, you know what I mean...) has always been a pretty horrible mess (speaking as someone who has mostly worked in the Windows side of things, starting with DOS and Win16), but DllMain() is not really the way in which it's better on Windows.

On Windows, symbols (really just addresses) that you want accessible from other modules need to be explicitly declared "dllexport" in one, and imported (using the "dllimport" attribute) in others. The loader is part of the OS and resolves the imports at load time (although you can do it yourself if you really need/want to, as evidenced by things like packers and plugin modules.) On the nixes, it seems dynamic linking was more of an afterthought (the dynamic loader being its own executable whose path is hardcoded in the binary is one artifact of this) and they tried to reuse what they already had for static linking but at runtime. I suppose it's more "elegant" in some ways, but on the other hand having all the complexity of static linking reproduced at runtime just seems overly convoluted to me.
This is distasteful only if you think of Hamas as worthy of receiving sympathy. They cut the throats of eight year old children. They fire hundreds of rockets at civilian areas. They keep their own population in dire poverty. They choose extreme religious goals over a better life for their people.
I celebrate their destruction. The world is a better place without them.
But A small Gas station can refuel several cars in that 10 mins
It's not other people failing to understand. We just disagree. A world without timezones would not be simpler, it would just shift complexity around. Beyond that, it is tilting at windmills to suggest this sort of international coordination.

Theres no need for international "leadership" or guesswork here. China has already adopted a single clock for the whole nation. Maybe somebody living there can advise how a nation with such a wide longitudinal spread operates with a single time reference.
Changing user-agent is virtually always possible, though a vanishingly small fraction of users will do so.

Bundling into adblockers or browsers directly would help.
I remember them as bats! Haven't checked though.
The Microbots Are on Their Way
You should look at https://pysolfc.sourceforge.io/ . It is open source, and besides the classic Klondike solitaire, also has over 1000 other solitaire games. And it definitely will be a lot more energy efficient, too.
People being condescending about books needs to stop. I'll just say it: only reading certain non-fiction has any real intellectual or health value over meditation, a walk, reading an article, etc. The rest is just entertainment and relaxation, same as everything else.
There is no straight answer to this, so, it depends. I think it's really one of those problems that isn't important yet until you can actively measure a performance issue. Until then, focus on clarity and functionality; it's much easier to measure and optimize code if your code and its intent is clear. Until then, beware of premature optimization.
https://gobby.github.io/ ?

Not web-based though.
Since it does not treat technologies but rather concepts, it is very much up to date. Everybody in HPC does Monte Carlo and parallel processing, these concepts are still fundamental to working in scientific computing.
You get about 1 Newton per 300MW of photon flux, it's not dependent on wavelength. So here with 50kW of continuous photon flux, the magnitude is about 166mN, the gravitic force of about 50 grains of rice, less than a paperclip.
What, a whole country needs to be taken down a peg because a few idiots posed with imperial flags in a wartime srhine?
I used to joke that a candidate should drive the group to lunch. There was a correlation between someone’s coding style and the way they drove a car in heavy traffic with others in the car.

Totally unreasonable and probably illegal, but still something that crosses my mind in interviews.
No, the only have to release the source for the custom kernel that they will use in their subsystem.
The cost of a car will always be cheaper than the cost of car + driver.

Yes the drivers provides their own vehicle, but it's factored in the driver's revenue.
Be careful because psychedelics are all about letting go of control and that can be hard for control freaks.

I'm not saying you are a control freak but OCD leads me to believe you're not far removed.

I know that I am one, so speaking from personal experience psychedelics can be frightening to a person who must control everything. You just have to tell yourself that you've taken a drug and there is a halflife of every drug.

It can't make you do anything, it can only change your perspective of what you want to do.
My point was that for people that have never seen MtG Arena before, it's non-obvious that there's more going on off-screen. A more intuitive UI would make that situation more explicit and not require explanation.

As you've rightly pointed out, a better UI isn't going to solve the UX issue of ridiculous game state; but it could better depict the state itself.
Major new initiative to encourage girls into computing
For some reason I was under the impression that Expert Systems were in some way a sort of evolutionary dead end and weren't used any more.

Is this not the case?
That’s a nested if statement which stops being clear.

return a > b ? 1 : a < b ? -1 : 0;
return a < b ? -1 : a == b ? 0 : 1;
return a == b ? 0 : a < b ? 1 : -1;
return a > b ? 1 : a == b ? 0 : -1;
return a != b ? a > b ? -1 : 1 : 0;
return a != b ? a < b ? 1 : -1 : 0;

Are all equally valid ways of writing that code. You can get used to a convention that makes it seem more clear, but reading it they are all equally easy to decode.
Author of the linked blog post here.

The example cases for additional types / custom implementation are in this section: https://ckeditor.com/blog/Lessons-learned-from-creating-a-ri...

These content-preservation edge cases weren't possible to solve with what was available (at least at the time we started the project).

Even apart of that, ottypes/json0 was lacking some basic things, like moving objects. I see they came up with a new implementation recently (https://github.com/ottypes/json1) and it allows moving objects. Maybe the new implementation would solve some problems. However, it is in "preview" state, and the last update was 2 months ago, so I am not sure how well it will be maintained.

Also, there are some edge cases when transforming ranges (which CKE5 use to represent, for example, comments on text or content created in track changes mode). I don't want to bury you in difficult to understand examples but if you are interested you might want to check the examples listed in inline codes for this function: https://github.com/ckeditor/ckeditor5-engine/blob/master/src....

As far as Quill.js is concerned, it is based on the linear data model, which brings limitations when it comes to complex features. Transformation algorithms for linear data models are much simpler and there are more implementations and articles in this area. Everything depends on your needs. If Quill.js features set and functionality fit your needs then the solution you chose is correct.

With CKE5 however, we didn't want to go on any compromises. We needed complex structures for our features, and for having a powerful framework - to enable other developers to write whatever feature they want and have those features working in real-time collaboration. We wanted transformation algorithms which will handle all the edge cases. It is true, some of those cases are quite rare. And the old "10/90" mantra applies here, in this case "10% of use cases brings 90% of complexity". But those edge cases happen and we didn't want to disappoint our users.
Nowadays, the manga publisher Shuiesha (known for the Weekly Shōnen Jump) has an official website where can view the last few chapters of each of their manga, translated into English.
I very much doubt Rust is going to get much traction in embedded. C++ is barely being used and even when it is, it is usually "C with classes" being written by C programmers forced to switch.
Hi, here's Antti Rauhala, one of the co-founders, and the father of the concept.

It has been quite a journey so far for our incredibly team and our pretty amazing predictive database-product. With no doubt, the journey will be ever more interesting in the future with our quite unique piece of AI technology.

Please, feel free to ask questions about aito.ai. We are more than happy to answer. Especially Aito's non-narrow AI capabilities (ability to instantly predict anything based on anything) has been a source of wonder :-)
This is an interesting idea that may be combined with the article suggested idea.

In the article, if I understood correctly, what they propose is train your network once, remove the x% of smaller absolute magnitude weights, retrain your network fixing those smaller magnitude weights to 0 starting from the same initial starting point.

The idea behind is that your optimization process the first time is telling you that the solution is near a subspace where the weights are 0 but it can't really converge to it. So you project to this subspace by enforcing the weights to 0. Then you retrain again and the search will be easier because the space is smaller, but because you are starting from the same starting point you are kind of guaranteed that you will be able to reach the same optimum but projected.

The problem of the sparsity in the article is that while some weights are 0, they are 0 through masking, therefore you are still doing the computations, and you don't really benefit from the sparsity. If you have enough 0, you can benefit from the sparsity by using some sparse representation, but those are typically an order of magnitude slower than the dense representation.

Combining the idea of the article with the idea from OpenAI of block-sparse neural networks which reduce the operations done without suffering too much from the non-locality and indirection of a sparse representation.

After training normally (provided you have enough memory) (eventually with a sparse-block regularization term to help induce block-sparsity) you may try to prune in such a way that the least significant sparse-blocks are pruned, therefore you may expect both the boost in speed, and the better accuracy and convergence properties.

This is a kind of two phase search, first we look for a finer structure, then we restart to find the best weights for this finer structure.
I don't feel the same way. It wasn't just 1 person in the article saying that, and even quoted a scientist as saying it was largely a racial problem. They disagree with you that the racial component is incidental.
Hi this is imake from the Elk team. Our original plan was to actually have hardware security built-in, but we decided to drop it given that it would substantially increase the cost of development. Given the nascent nature of blockchain protocols currently, we felt we would put our resources to better use by focusing on the development experience, which is what we think is quite lacking in the blockchain space today.

We believe current blockchain development is subpar, let alone blockchain development for embedded devices. There's room to make a 10x improvement in its UX, and that's what we're set out to do with this product. With Elk, you won't have to fuss over setting up a node, tuning its parameters to run well on a low embedded device, handle crashes, etc. We are delivering the Arduino-like experience to blockchain development, with all the libraries that Arduino already supports.

Our true value is in our software and in our ease-of-use. The development experience we want to offer is a board that is plug-and-play just like an Arduino, offers over-the-air upgrades, and offers tools for seamlessly controlling your device from your phone through decentralized technologies.

As for why we chose to build our own hardware, it's because nothing exists that would allow us to give the developer experience we have in mind: breadboard compatible, 3.3v and 5v tolerant, integrated emmc preloaded with our OS, plug-and-play as a regular micro controller board not a single board computer, an RGB LED for indicating status, and no irrelevant and unneeded ports (HDMI, Audio, Ethernet, camera, etc).

We'll be adding more details and shedding more light into our development experience in upcoming blog posts. Please subscribe at https://elk.cc to learn more.

Happy to address any other concerns you might have.
Have there been any deaths from EV electrics?

Most of them operate around 400v, which isn't super dangerous (touch it, and it might kill you, but there's also a good chance you'll survive).

They also have far more protection subsystems than a typical house or factory. For example, if you cut into a high voltage wire in a car and touch it with wet fingers, the battery contactor will disconnect before you can touch the other wire to cause a fatal current.
Yes, but the jargon and language used is standardized

...so is the ternary operator.
Microsoft Word uses AI to improve your writing
Awesome been wanting to fix up my dad with a Linux desktop at some point and Solitaire and Ping Pong from XP were games he played too. Gotta find Ping Pong next.
Can We Truly Make Education Less Painful?
A significant amount of businesses worldwide are still run on Excel sheets and Access databases on SMB fileshares. Combine that with an insane amount of VBA code and you have something it is very hard to justify why you should spend time and money porting or virtualising when you can just keep it running on Windows. I work with very large banks and insurers and see this everywhere. Justify effort / cost / risk / benefits of that vs investing in new customer / ‘digital’ stuff that will actually sell more.
>But what even shocked me more than these stories was how people thought about them. Somewhere between pride and it-is-just-like-that. From all levels, workers, managers, chemists with PhDs, their families...

Other cultures have different priorities. I can't quite put my finger on it but there's something I really don't like about how your comment just takes for granted that their prioritization is wrong. Of course Germany has changed since the 80s but your comment may as well apply to the Ukraine or India.