skysight-inc/HackerNews huggingface dataset:
Right, I understand.

You do have a point. However, while automation might be presented as a benefit of smart contracts (as one of my paragraphs indeed mentions), I believe the greater benefit comes from the transparency and deterministic execution.

We are definitely not there yet when it comes to land registries, but DeFi now has billions locked away in contracts that are updating and reacting automatically to trades, loans, bets, purchases, etc, which is a good start.
A logical next step I would imagine is Facebook acquiring/partnering with existing manufacturers of prescription lenses (or sunglasses for outdoor use) to push this mainstream.

The applications for this are quite straightforward; a semi-intrusive HUD that can show you information FB already aggregates, such as:

- GPS application for locating businesses or events/meetups (when driving/walking)

- if any of my friends are currently in a café that I'm walking by

- ratings and promotional deals of a store in my viewport in 3D-space

- etc.
If you think longer term, what's the point of having a higher quality of life if we die because of pollution and irreversible climate change anyway?
But hundreds of years ago, the government wasn't logging everyone's communications. If they could read everything we transmit, then they could micro-target all opposing views, like they did on facebook.
> It called Facebook’s actions — including a recent decision by Mr. Zuckerberg not to pull down incendiary posts by Mr. Trump — a “significant setback for civil rights.”

Wow. Do these people even listen to themselves? How is a giant globalist corporation not exercising censorship & control a setback for civil rights?

Btw, if your “revolution” is corporate-sponsored, it’s not actually a revolution.
The Era of Precision Currency Has Arrived
Good question. If it's a US style political system with only two viable parties, you could award near-ties alternately to each party. After all, if 50.1% of people vote for for party A every time, it is nonsense that party B with 49.9% never spends one day in office.
I think this tour of Scala should interest rustaceans as many discover in rust their interest for advanced type system/functional features.
And Scala in this aspect represent what rust should be in the next decade!
http://dcapwell.github.io/scala-tour/Partial%20Function.html
The book 'Genius: The Life and Science of Richard Feynman' by James Gleick is very balanced. Anyone that has read Surely You're Joking should also read Genius before they start their career.
Best Machine Learning and Data Science Books 2020
Blackstone’s Ratio
It depends on your workload, but if you are wasting too much time with L3 misses, more cache (and more memory channels) is a good idea.
> Kulbit / Chakra at about 05:20

that was done at an extremely slow speed; if it'd be viable at mach, it'd be interesting, as it could throw off a missile target guidance's prediction, but I seriously doubt the wings could survive it at speed, and as such, it looks mostly like a cool party trick at best and a vestigial requirement from previous wars at worst.
They wouldn't notice AVX512 vanishing because they never had it in the first place, as Intel hasn't shipped it in CPU people actually use for those tasks--just servers and random laptops.

As for the rest, you are wrong, AVX/512 is not just floating point by any means, and floating point is used by more than just scientific workloads.

Games/simulations/modeling software etc all can make heavy use of floating point.
What? I very quickly switched to Youtube Music over GPM because its Android app was much more responsive. In the beginning the UX was also the most intuitive for me, but it seems that in recent updates they randomly add/remove some of my most used navigation options like "Go to Artist", which is annoying.
Twitter Retweet Bot (Python 3)
Why is this limitation? Do you think the algorithm can be improved if it was doing a copy to a new location?
The [op] tags are really helpful.
Feature parity with C++ is not a goal and neither should it be.
Here's a one liner:

ruby -r irb -e 'IRB.send(:easter_egg)'

And in Docker you get a static image, but sometimes, randomly you get the dynamic one...

docker run --rm -it ruby:2.7.1-alpine ruby -r irb -e 'IRB.send(:easter_egg)'
In 2000 the overall total deaths was actually higher then Corona this year.
That even though the population was smaller back then. And a few years earlier it also was a be ad flue year.

Actually the current death rate are lower for last month then the mean value of previous 5 years same month.
But I guess that doesn't fit the common view of how it should be in Sweden.
Nor that the total death rate are in pair with Denmark and lower then Finland, with much harder lockdown.
> The only remotely common case that still doesn't get handled well, in my experience, is the self-referential struct pattern --- when a value needs to contain references to other parts of the same value.

There's a basic reason for that, namely you can't memcpy a self-referential structure while keeping desired semantics. Rust now has a Pin<> feature to mark data that should not be moved in memory, but its use is still unintuitive and IIRC requires unsafe. In many cases one should perhaps avoid references to self-addresses entirely; often they can be replaced by indexes and/or offsets.
After an uncertain period for this project, I'm very happy Sophos decided to open source it and that the community is continuing its development. It's absolutely essential if you're running any untrusted applications on Windows, allowing an extensive level of control over the resources the app is allowed to access (registry, filesystem, network, etc.).

It's similar to containers on Linux in that sense, it has little to no overhead (sandboxing games works great in most cases), but in an even more user-friendly package than something like Docker. Highly recommended.
I seem to recall Ubisoft working with a number Sarkeesian-type consultants in the years following gamergate. Seems like a case of the guiltiest being the first to accuse if I remembered that right, but I don't recall where I got the idea. Does anyone here know where I might have got that impression?
Blockpartyapp
Probably 20-30 hours per week? I'm paid for full-time. Company is very happy with me. I wish I could give them more, but that's pretty much my maximum.
In terms of how you would abstractly model this type of engineering problem, I would start with state space representation:

https://en.wikipedia.org/wiki/State-space_representation
Ultra-sharp imaging with state-of-the-art electron microscopy systems
Not in Sweden. Only elderly people and people in risk groups, like me are offered vaccination against season flue.
I have a related web extension idea that might be relevant: https://github.com/captn3m0/ideas/#-communities-browser-exte...
Weirdly this person has reposted this almost ten times from my count, since 2007...

their reply back then gives more context to the reason why:

"over the past several weeks, the students have found more
creative ways to abuse the PC speaker (outside of the OS.) The Powers that Be are asking that the PC speakers be disabled completely. With the small number of techs we have, it would be very impractical to go around to all systems and remove the PC speaker from each and every
computer case.

So, the idea was raised about seeing if there was a way to blow the PC
speaker by loading a kernel module"

- https://lore.kernel.org/lkml/a800cda90706121325p18c85b00r7bc...
Hello, author here.

My bad for not giving a more appropriate title for the post. You re right this setup does not take the backend APIs into account. In our case we use Lambda for the backend APIs so that is also serverless but I failed to mention it in the post.
That’s still a lot to unpack.

Seasonal workers coming in for harvest have a tough job, but it has nothing to do with kids occupation.

For a comparison point, french wineyards use a flock of workers coming from everywhere around europe (including french students and unemployed) to harvest grapes for a few weeks and go back to whatever they were doing.

It doesn’t need to be some tangled mess of undocumented immigrants with no rights, no contracts etc., that part is more to me a reflection of US politics than anything.
Does anyone know how this compares to an intellivision?

Not sure if intellivisions were limited to Australia only or international.

Most people I knew owned Ataris though - never knew anyone else with an IV.
Oh wow, this looks interesting, I hope it gets some traction. As someone who migrated away from Github the moment Microsoft bought it, I will be watching it and keeping fingers crossed.
Business reason: When you're in the business of building software, people are your biggest expense. You want to waste their time as little as possible.

Dev reason: tight feedback loops are encouraging, and make it easier to build momentum. I hate being deep in a problem then having to "wait" for a compile.
From what I've heared, Go compiles much faster than Rust. But I'm only experienced in Go...

[Edit] I mean you could just install Rust, copy the samples and run them locally?
Hello, Author here.

Could you elaborate on what part of the maintenance would be messy? I was under the impression that maintaining this would be quite easy because there is no physical server present anywhere in this setup.
You want to see sadness, from a learning curve point of view?

How to read from stdin on Rust.

https://stackoverflow.com/questions/30186037/how-can-i-read-...

Naturally, `read_line` returns the number of bytes read, rather than... the line. If you want a function or macro that does simply return a string, the best way is to... download an external crate? Because nothing says "security" more than third-party dependencies for basic tasks.

Incidentally, use of said crates is different dependent on Rust 2015/2018. Half of the internet resources you will see are wrong. If you already understand the differences, you'll know which is which.

Oh, and if you see "type" unaware in a Rust codebase, you know the one thing it isn't... is a type. Generics are sometimes elided, sometimes not, and sometimes live in a separate namespace.

Oh, and if you test code on a static array of length < 32, and a similar array of length > 32, you will see completely different behaviour.

Oh, and no REPL. This has got to be my single favourite thing about Python - I am literally never surprised. Because any, single, line of code I'm not 100% on is tested in seconds. A browser-based substitute is just that, a very poor substitute.

Rust has good points, but some huge ergonomic difficulties for a beginner, that are nothing to do with "the core difficulty of programming" - you'll note I've not even mentioned how a reader is supposed to comprehend what a <&'a T> is. The best I can say is that it's good gatekeeping.
5M Uniques! 5.5M Daily Views.... This is much much bigger than I imagine.
Any issues with moisture? I find most things I freeze end up with condensation freezing inside the bag, which isn't going to be good for the coffee. I could imagine it going moldy within days of defrosting with the local humidity.
Efficiency is not the problem, because the term "efficient" by itself is meaningless. You have to define what you consider the "costs" to minimize or the "benefits" to maximize to even be talking about efficiency.

In many cases, the quantity that is being optimized is simply profit.
Hands down, Windows 10. Don't even have list the 100 reasons why, because we all know them.
Getting Things Done in the Scala REPL
Also part 2 is out:

https://www.leadedsolder.com/2020/07/10/colecovision-diy-par...
> So we have a natural experiment with older nurses in England. Some are qualified and registered, some are unqualified and registered. We see from research that the qualification helps with patient safety.

As described, you see from research that nurses with the qualification are better than nurses in the same cohort without. This is confounded all kinds of different ways; it doesn't come close to establishing that the qualification helped.

(The most obvious confound, though -- say, do nurses with a bachelor's degree outperform nurses with "some college"? -- does tend to suggest that, in the absence of immigration, overall quality levels will go down if the average quality of immigrants is higher than the average quality of natives.)

> I hope you can see that there are significant differences between learning a language and treating patients.

Of course, but I don't see that those differences are relevant here.
He has the history correct. Most of the CPUs that x86 beat in the market had superior FP performance; SPARCs, Alphas, PA-RISC, Itanium, etc.

This isn't a discussion about history, it's a discussion about SIMD FP instruction sets.

Maybe we should all be astronomers and thermodynamicists writing bespoke finite element simulations and have a deep appreciation for the wonders of floating point ISAs, but that's just not the real world.

Bullshit. Pure, unrefined organic bullshit. I can't begin to imagine why you, or Linus, or anyone even remotely conversant with computers would think this way. This attitude isn't just stupid, it's dangerously stupid. Influential people listen to Linus, and in this case, they shouldn't.

Ever play a modern computer or console game? You're soaking in floating-point math. Ever do anything with graphics at all, for that matter? Run Photoshop or GIMP? That's all floating-point math under the hood... any nontrivial image processing work would be nightmarish without it. People used to spend hundreds of dollars on math coprocessors just to run Photoshop and similar creativity apps in the days before modern CPUs became fast enough to (apparently) be taken for granted.

Ever play an MP3 on your PC, never mind a video? Do you think that any mainstream software implementations of those algorithms have been coded in fixed-point math at any time over the last twenty years?

Never mind ML applications, which often use low-precision floats to maximize both dynamic range and memory efficiency. If there's a single trend that defines modern computing, it's the drive to turn everything into one big linear algebra problem and throw parallel FP execution units at it.

It's grossly ignorant to say that floating point performance only matters to astronomers or physicists or engineers, and it's a genuine revelation to me -- and a disturbing one -- to realize that people still think this way.

No, this isn't an apology for the debacle that is AVX-512, but... get real, no pun intended. It's not 1992 anymore.
Thanks! I've borrowed this one, with very basic info.
Sentiment Analysis of restaurant reviews [Tutorial/Node.js]
> What the Brits should have done was to push reforms for democratic governance before they left.

> the British had no interest in having any type of self-governance

That is false. In the 1960s, the UK did want to introduce democratic reforms.

> China didn't like this idea of introducing democratic reforms in HK

That is the understatement of the year. The correct historic account is that the CCP threatened use of military force, so the UK reacted expediently by backing off.
Dealing with Insomnia
Other web apps probably aren't any better. It's just that other than some Wiki stuff, where network interactions aren't in the fast path, GitHub is the only web UI I'm forced to use with any frequency.
Thanks for that - I certainly agree that's simpler than Lambda@Edge, and option well worth considering.

I looked at that approach at the time but didn't go down that route because, as far as I understood (unless I missed something), that would involve having the S3 bucket directly publicly accessible over HTTP (not HTTPS) with the S3-style URLs, including public access. And my main motivation for adding CloudFront to the mix was to support/enforce TLS - I certainly didn't have traffic levels requiring it!

(But, pragmatically, the key risks of someone going to the effort of finding and using the unpublished S3 URL would seem to be be that (a) the site could stop working if I change the hosting and (b) they, through their own choice, aren't using TLS - which, for a static, low-traffic, personal blog, could be considered pretty low.)
That if you have two parties both of them are going to get a lot of votes.
this assume combat is 1v1

it almost never is. wwii ingrained the wing man concept into every air force and for a good reason, from the thatch wwave onward it allowed nation to rely on training, which can be as abundant as needed, instead of better airframes.

as such the whole pretend scenario is built on impossible foundations. you dodge one attack and the wingman scopes you up, while the attacker just accelerate away to safety.

"but what if the attacker is left alone" - then the attacker retreats. it'd be an exceedingly bad call to keep aggressing without a wingman.
There are algorithms for combining many imperfect models into something much closer to reality than the best model - 'wisdom of crowd' effects etc. There are definitely human organisations that come up with smarter plans than could be come up with by the smartest human in those particular organisations.

If you're talking about AI with 'smarter than us the way we're smarter than chickens' as the standard I suppose I'd have to agree, but it seems like there's a big, very vaguely defined stretch between 'very smart human' and 'makes a very smart human look like an imbecile'
I feel the same way! I don’t know how to get work done when there are so many meetings and random events, and yet my employer expects us to get it all done within 40 hours (and will be concerned if you can’t).
GPUs aren't really arrays of scalar cores. All threads in a warp run in lock step. If one takes a branch they all do, with operations being masked off as needed.

It's not all that different conceptually to AVX-512 with mask registers, except the vector size is even larger and of course the programming model differs.
Too bad mr crabs isn't the guide.
Please don’t comment like this. Snarky accusations like this are impossible to respond to and are against the HN guidelines.
(Not) to Add Deadlock to Your Critical Flow – 3 Simple Steps
1. Install rustup

2. create a new project with "cargo new foo"

3. add the code to the SRC/too.rs file

4. run with "cargo run"
Fully agreed - the amount of data openly available is astounding. I think many people would be surprised at the richness of the tagging information within OpenStreetMap. Without OpenStreetMap, this project and countless others would not be possible.

Mapping costs would be by far the biggest one. However, I'm very lucky that after the last big spike in traffic, Mapbox very generously admitted me to their community programme. You can read more about that here: https://trailrouter.com/blog/mapbox-community-programme/

The server costs are quite modest at the moment (under $200/mo), which I'm lucky enough to be able to self-fund through my other work. If usage were to massively increase then maybe I'd need to find a way recoup costs. But even all of the hits from HN have barely put a dent in the server utilisation, so there's plenty of headroom for the foreseeable future.
IBM looking for 12 years’ experience in Kubernetes administration
I suggest a different approach: we use Plan Analysis (Caspar/Grawe). This is a neuropsychotherapy instrument that can be used to actually map behavioural causality. These models here assume that you know causes for behaviour, and you only have to map them. BS. The biggest problem with an AI designed as such is that it doesn't have CONTEXT. Behaviour is never 'if A then B'.
But that's normal for all apps on OS X. Closing their window doesn't mean quitting them. I'm not sure why you'd fault Slack for following the OS's conventions here.

To quit it, choose that from it's menu or use the cmnd-q shortcut IIRC.
The dark side of eventual consistency and how to triumph over it
handling eventual consistency

https://medium.com/swlh/handling-eventual-consistency-11324324aec4
I do wonder whether the Amish would take converts. There are certainly communes around that would. And yet, here we all are.

Granted, here we'd still be if half the population was voluntarily leaving modern society.
Dang does a good job? He does a good job of shutting down discussion that strays from the leftist agenda. Deleting anything that doesn't conform to the SV brand of wokeness while leaving up comments from leftist extremeists.

It has become impossible to talk about anything slightly controversial that detractors don't even try since they'll just get downvoted and flagged into oblivion.
None of those are both portable and widely available on end user machines, which is needed for games

CUDA seems nice, but being Nvidia only makes it a total dead end.
First, economy was never a consideration for the Swedish Corona strategi.

Secondly, the flue has quite reason, like year 2000, taken more lifes in Sweden then what Corona has taken this year. And I would be surprised if that would be exceptional to Sweden.
That not even consider there are more people living in Sweden today then 20 years ago. A couple of years earlier, the death rate per 100 000 was higher then Corona this spring.

Source, Swedish statistical agency. http://SCB.se/

And yes, there are some strong indications that there was Corona in Sweden in December, in Svärdsjö, Dalecarlia. A woman that has not been outside of the region got Corona signs on X rays of her lungs.
And that I guess isn't exceptional either. So, we probably hade Covid-19 a lot earlier than we has thought. Which could explain the explosion of the spread.
Ego probably helps in cases where the investment of time and effort is irrational. Of course, for most people, that's not really 'helping' at all, since they end up investing too much time and effort in hopeless projects. But I guess a few egotistical people luck out and succeed at something which they had very little chance of succeeding at.
Yes, the article mentions the metrics movement that allows these efficiency calculations. Other variables need to be added to the equation to maximized (and minimized) such as employee well-being.
In the old issue view, you can type

{code:java}
... some java code
{code}

to mark off a code block, and to use Java syntax highlighting (for example).

That's when you are editing in "raw" mode, which, incidentally, I haven't been able to discover how to do in the New Issue View (which I finally discovered how to turn off, that is to say, switch back to Old Issue View, globally -- it's under account settings, yay! The "New Issue View" is a lab setting you can turn OFF.)

You can also change an issue from the new view to the old view by selecting "switch to old view" from the More menu (three dots).

I have to say, it's painful using Atlassian tools after having worked with GitLab for 5 years... I miss being able to use standard markdown in Issues, and editing the Wiki using Git/vi instead of in a text box in a Web browser, with strange markup.
The cartoon picture is that the first example will read everything into cache once, whereas the second example will read everything into cache twice.

Cache lines are typically 64-bytes, so to write a single character to main memory the following things happen (again, a cartoon picture): First read the 64-bytes area that contains the byte of interest so that it is owned by my cache (this is called a RFO, "read-for-ownership"). Second, update the byte of interest. Thirdly (at some point) write the cache-line back to main memory.

In the sequential case, we just read one 64-byte cache line at a time, update those 64 chars, then write the cache line back to main memory.

In the second example, we first update all the even-indexed characters, which still forces us to read in every cache line. Then we loop around and do the odd-indexed characters, at which point we have to read the cache lines all over again (assuming the array is big enough that the whole thing can't fit in cache at once).