skysight-inc/HackerNews huggingface dataset:
They can tell weather a CPF number is valid or not. But I have tried giving them 123.456.789-09 which is mathematically valid, but it wasn't accepted. Maybe they have a verification for the actual existence of the number.
Beta of what? This links tell me nothing, and / just redirects to /join which still tells me nothing.
It would be interesting to see these three data points along with broadband price.

- Per capita income/GDP of the country. This should highly influence the cost of laying new lines and manpower costs. From the map it looks like broadband is cheaper in lower income countries mostly.

- Normalized for speed. It seems pointless to compare connections otherwise. I checked the 1 Gbps fibre plans in India as that is shown cheaper. It seems like the cost of 1 Gbps plans there as well is around $60-80, some of them seem to have FUP as well.

- What qualifies as "broadband" is consistent throughout.
Common Lisp was doing all the "high level" stuff. No CL code was on the actual critical path but it still was responsible for some critical things that would be difficult otherwise.

For example, I had piece of Common Lisp code optimize and compile decision trees to machine code. These were used, for example, to check whether the trade is allowed to go to market. This had to be very optimized as it was running in parallel to constructing the message and had to deliver verdict before the message was actually created to have a chance at actually stopping anything from reaching exchange. This was my solution to have order verification in essentially zero time (the cost was single branch instruction that would only be mispredicted if the verdict was to stop the order).

Another piece of Common Lisp generated machine code to parse XDP messages coming from exchange. The spec for these was in XML, Common Lisp macros created extremely optimized machine code that used absolute minimum instructions to parse out the information we were interested in without having to write all that code manually. I actually used concept from Practical Common Lisp book for this (http://www.gigamonkeys.com/book/practical-parsing-binary-fil...). Thanks, Peter Seibel.

The entire application was essentially a Common Lisp application that used FFI to call a library with optimized ANSI C code. Some Common Lisp code was running in parallel to constantly update things like decision trees that required regular recompiling based on market situation but most was really just to setup everything and give control to the C part.

The application did not talk to operating system (Linux) after it started (no syscalls at all) and used full kernel bypass to talk to NIC.
Haha hey Azib! Hope things are going well for you, looking forward to the next update on MedAngle :D
What is an arena based architecture? A quick google didn't show any results. My assumption is that you mean pre-allocating all the memory you want to use at once, but I'm not sure and I'm curious.
'Productivity' is a measure of surplus to the business sector, it doesn't measure consumer surplus.

Literally, the more we pay out of pocket for whatever good, the higher the productivity numbers.

Producers forced to compete and reduce prices ... productivity numbers go down because we measure the lower prices as implying lower value when that's not the case.
Ardour is riddled with bugs. The GUI is incredibly ugly. MIDI workflow is terrible. The developers seem slow, old, and very opposed to new ideas. You can't run Windows plugins in it, so goodbye productive work. No professional anywhere uses it. You have to use C++ (!!) to write support for control surfaces instead of scripting in a real language. Setting up your audio/MIDI hardware settings has its own window instead of being part of Preferences like any real DAW. And of course, no proper DAW workflow like Live or FL Studio. You can't make beats with Ardour, you need actual musicians which is just stupid.

I would definitely stick to Audacity.
I agree with the premise, but disagree with the conclusion.

For a little background, my first computer was a Mac Plus around 1985, and I remember doing file copy tests on my first hard drive (an 80 MB) at over 1 MB/sec. If I remember correctly, SCSI could do 5 MB/sec copies clear back in the mid-80s. So until we got SSD, hard drive speed stayed within the same order of magnitude for like 30 years (as most of you remember):

http://chrislawson.net/writing/macdaniel/2k1120cl.shtml

So the time to take our predictable deterministic synchronous blocking business logic into the maze of asynchronous promise spaghetti was a generation ago when hard drive speeds were two orders of magnitude slower than today.

In other words, fix the bad APIs. Please don't make us shift paradigms.

Now if we want to talk about some kind of compiled or graph-oriented way of processing large numbers of files performantly with some kind of async processing internally, then that's fine. Note that this solution will mirror whatever we come up with for network processing as well. That was the whole point of UNIX in the first place, to treat file access and network access as the same stream-oriented protocol. Which I think is the motive behind taking file access into the same problematic async domain that web development is having to deal with now.

But really we should get the web back to the proven UNIX/Actor model way of doing things with synchronous blocking I/O.
Thanks. Will take a look.
There are patents on large portions of the human genome as it exists in nature
At least on Foxed News :-)
For that code snippet specifically, you're actually better off pre-declaring the vars since the loop repeatedly calls `count($array)` but hopefully(!) its size doesn't change over time.

Is there such a function in php like "enumerate" in python, that yields a tuple of (counter, item) for each item in the first argument to enumerate? That is to say: is it possible to do what you're asking with composition rather than a language change?
Welcome, Elliot! Stoked to have you :D
This is a really interesting point. I wonder if there is another route though. If we assume that Intel (for process reasons) are out of it, then could AMD produce an 'x86 version' of the M1 on TSMC 5nm using Zen3 and successors which would help other firms compete with Apple.

I guess the extent to which M1 is great because its ARM isn't clear - there are some advantages in instruction decoding, having bigLITTLE etc - but the impact of all these together hasn't been quantified. Plus there is the deeper integration with Apple's software.
Maybe the best art experience I've had this year; amazing!
Wish it shed more insight how it deemed one title better than the other.

I tested with:
Title A: Google pledging to spend 2 billion by 2022 to get rid of php on the web.

Title B: I stopped using php and here’s how it saved my marriage.

Title B won.

Note: nothing against php, just wanted to test some typical cringey, hyperbolic tech article titles I constantly see LOL.
I have 8 SATA SSDs in my workstation; are there motherboards that could run a similar NVMe setup?
Spaceflight affects the human body in two major, peculiar ways
Sure, I'm still pretty fuzzy on these things, but queueing delay is Little's law: https://en.wikipedia.org/wiki/Little's_law

It means if a system can only do X of something per second, then if you push the system past that, new arriving stuff has to wait on existing work in the queue, and things take longer than if the queue was empty. You can think of it like a traffic jam and it applies to most systems.

For example, our local radio station here in Cape Town loves to talk about "queuing traffic" when they do the 8am traffic report, and I always think of Little's law.

Bufferbloat is another example of queueing delay, e.g. where you fill the buffer of your network router say with a large Gmail attachment upload and spike the network ping times for everyone else sharing the same WiFi.

Here is where I got the per-core bandwidth calculation from: https://www.eidos.ic.i.u-tokyo.ac.jp/~tau/lecture/parallel_d...
Here in my... Garage.

Seriously this feels like tai lopez.
I don't think that the people buying property in Van are at all interested in manipulating anything - they just want to get their money out and into a safe harbour.

It's a 'mistake' because of how it affects property prices.

There is a war between the middle class and the working class that nobody wants to talk about because it's ultra-unpopulist.

The middle class are the most likely to vote, but the working class deserve are sympathy?

Not at the cost of my massively increasing home!
What Is a Serverless Database? (Intro, Providers, Pros and Cons)
This is the Correct answer. Being able to detect controversial topics should be much simpler than “having the correct answer”.
Intuitively one should be able to approach the max speed for sequential reads via some tuning (queue/read_ahead_kb) even with the traditional, blocking posix interface. This would require a large enough read-ahead and large enough buffer size. Not poisoning the page cache/manually managing the page cache is an orthogonal issue and only relevant for some applications (and the additional memory copy barely makes a difference in OPs post).

One advantage of using high level (Linux) kernel interfaces is that this "automatically" gets faster with newer Linux versions without a need of large application level changes. Maybe in a few years we'll have an extra cache layer, or it stores to persistent memory now. Linux will (slowly) improve and your application with it. This won't happen if it is specifically tuned for Direct I/O with Intel Optane in 2020.

But yeah, random IO is (currently) another issue, and as said the usual advice is to avoid them. And with the old API this still holds. If one currently wants fast random IO one needs to use io_uring/aio (with Direct-IO) or just live with the performance not being optimal and hope that the page cache does more good than bad (like Postgresql).
Java code can be written to run without any garbage collection. The code is not much faster, but there are no GC pauses whatsoever.

The app creates pools of the required objects and reuses them as needed. Certain java constructs create objects and they can be avoided. For example;

for (final String myString : myStrings) {...}

... creates an iterator over myStrings. It can be recoded as

final int myStrings_size() = myStrings.size();
for (int i=0;i < myStrings.size(); i++) {
final String myString = myStrings.get(i);
...
}

A java profiler will show where objects are created and that code can be rewritten.
Works for me. Are you gonna post the source code for it? Sharing is caring ;)
> This is exactly how online political campaigning works these days.

Not just online propaganda. All propaganda.

> That's why billions of Facebook ads spreading 'fear and uncertainty' over things like immigration and borders etc.

It isn't "billions" of facebook ads. It's human nature. Fear of the other is why we have borders in the first place. Do you have a home? Lock the doors? Etc?

> did so well to get so many people to vote for things that were against their interests, without them realising it. Like Brexit.

Ever consider what ads provoked your reaction?
It's a pretty common pattern to have a fleet of big beefy VM hosts all backed by a single giant SAN on a 10gbe switch. This lets you do things like seamlessly migrate a VM from one host to another, or do a high availability thing with multiple synchronized instances and automatic failover (VMWare called this all "vMotion"). In any case, lots of bandwidth to the storage, but also high latency, at least relative to a locally-connected SATA or PCIe SSD.

So yeah, if that's your setup, you don't have much of an option in between your SAN and allocating an in-machine ramdisk, which will be super fast and low latency, but also extremely high cost.
Interplanetary Storm Botnet Shows Signs of Proxy-for-Hire Infrastructure
> About 20 years ago I was coming across a website called something like filthyrichguy.com (I can't remember the exact name).

Possibly the Rich Jerk. I don't know how much money they had, but they certainly lived up to at least half the name.

(Edit: It occurred to me that there were probably loads of these things; I always just assumed, maybe wrongly, TRJ was the original/worst/best.)
Thanks for taking the time to give feedback. Some good advice there. The feeds idea is a great suggestion.
AFAIK there is a ketch.yaml that can be defined for customisation. This is a pre alpha version so there will lot of things coming up in future like editing the fields that you mentioned and deploy. Some level exists via the ketch.yaml.
The Bridge analogy is often applied with flaws. Bridges are not free to build. Software essentially is.

Here is a 1992 truth bomb rewind about it:

https://www.developerdotstar.com/printable/mag/articles/reev...

Basically engineers care about the quality of the code because they know that is the design. As soon as caring about codebase quality leaves the building, so will the quality of the product.
I can't believe nobody has pointed out (yet) that PHP is the quintessential lambda :)

That said, it's been many (many, many!) years since I moved away from it, but I'm intrigued by the state of the JIT and the current coding style (last time I checked, around 6.x, it was growing to be verbose and full of backslash-adorned-namespacing).
Here is a live discussion(recording) on it https://youtu.be/39O9s1JpSxg
China’s Memory Manipulators
A group of people that already understand and take great advantage of locked down platforms and services. And we're talking about a product (Mac) that was specifically much more locked down than its predecessor when it was launched.
I don't believe it's cultural, in as far as we're not conflating culture with shared misery (poverty, struggle for daily survival, food for self and family, roof over head, etc). For context: I emigrated from Eastern Europe in the mid 90s.

I've worked restaurants and blue collar jobs much longer than white collar ones, and it was easily the most formative period of my life. The heart that those of lesser means have, sharing whatever they can, is truly enlightening. It's an expression of care and comradery that seems to come out almost involuntarily and it's incredible to witness. Can almost categorically say it's not the case with upper middle and upper classes (in terms of my anecdotal experience, at least).

Obviously those with means can (AND DO) make a much greater impact in terms of charitable contributions and investments fighting poverty and homelessness, not dismissing that at all.
There are tons of applications that are built upon higher-level APIs that can be updated to take advantage of this automatically. Furthermore you don't need to have every single application updated to revolutionize something. The apps that need this will be quite happy to make the jump.
There is a place where they fit, medieval layout, European cities. They get stuck. As in really stuck. Its beautiful.
The big challenge for spatial computing is that there is no spatial computer science, and casual observers overlook this fact. As in, there is a dearth of computer science -- basic data structures and algorithms -- for efficiently reasoning about spatiotemporal relationships of the type common to multimodal sensor data models at scale. Neither Amazon nor Microsoft, companies mentioned in the article, are addressing this technology gap in a meaningful way (I have some contact with their programs). They are solving very narrow cases that don't generalize or scale usefully.

A question I ask when doing due diligence on "spatial computing" technology is what computer science problems did you solve to create the technology? The common answer is "none" and most people dabbling in the space aren't even aware hard computer science problems exist as prerequisites to building such technology unless they've been banging their head against it for a while. That's the state of the spatial computing market today. We also know that it is (currently) impossible to build such a thing by sprinkling some magic spatial computing dust on open source technology stacks -- they can't express the necessary mechanics. You'll be writing a lot of code from first principles, it isn't a business execution problem.

We've had petabytes of this type of sensor data for decades, and the vision and desire to build digital twins with that data, that part isn't new. There are hardcore technical reasons this doesn't exist as a real thing, it isn't that no one has ever thought of spatial computing before. To make matters worse, most of the companies with the expertise and desire to use such a platform lack the expertise and execution to create it. Creating such a platform has to come from somewhere else.

It is possible to build a spatial computing platform today that actually works, the computer science challenges have solutions, but the combination of domain expertise and computer science skillset to execute it is extremely rare at the moment. That said, spatial computing will be a trillion dollar platform business once someone pulls it off.
The easiest way to replace petrol tax would be to simply charge with the MOT. Road taxes in general raise about 10p per mile driven (including petrol, VAT on petrol, and VED, but excluding VAT on new cars, which is a significant amount - about £10b a year based on 3 million cars a year at £20k a year)

It would work as "You've done 10,000 miles since your last MOT, you have to pay your £1k tax bill". Travel abroad and you could register the mileage when you leave and when you get back easily enough. Final bill on scrapping or on SORN.

That wouldn't allow the differential road pricing that tracking fans want, and wouldn't work in Ireland, but would work in GB right now.
Performance, a teensie bit of insulation from long-dead software rot, and the warm fuzzies you can only get from running a free software stack.
> Upload speeds aren't that bad, they're usually around 1/4 of download speeds. I had 125mbps Comcast for years and the upload speed was around 30mbps.

I don’t believe this. I have never been able to find any upload specs from any cable coaxial internet provider. In addition, the multitude of homes with Comcast I’ve been in crap out after a couple simultaneous FaceTime calls.

If Comcast is capable of giving you 30mbps upload consistently throughout the day, you must be super lucky. If they actually budgeted for this for everyone, they would advertise it. But since they don’t, the only conclusion is they massively oversubscribe the upload.
That's pretty interesting. I wonder if sitting for the PE exam were a legal requirement for calling oneself a "software engineer" in the United States, they'd raise the bar for admittance to those programs. (and honestly, improve the SE curriculum somewhat) As it stands, the trend towards licensing software engineers seems to have reversed itself recently. [1]

https://www.nspe.org/resources/pe-magazine/may-2018/ncees-en...
All (two) of the astronomers I know became fat, lazy, well paid engineers with a wife, house and garden, picket fence, doing programming and engineering at a multinational company. Sigh, I had such high hopes.
My recommendation is to become familiar with the package manager composer

https://getcomposer.org/

Almost all community code today is distributed with composer, anything from libraries to frameworks. Regardless if you write almost everything yourself or use a full featured framework, composer is always good to learn.

And even when you are a follower of KISS there always things that you don't care enough about to write yourself, boring things like logging frameworks (Monolog https://seldaek.github.io/monolog/) or testing frameworks (PHPUnit https://phpunit.de/). And composer can also help you set up class autoloading, a must for modern PHP.

Here you can find packages to download with composer
https://packagist.org/

Next I would look into different frameworks, not necessary to use them but to learn about them and from them. The 2 biggest today is Symfony ( (https://symfony.com/) and Laravel (https://laravel.com/). But there are others like Slim (https://www.slimframework.com/), CakePHP (https://cakephp.org/), Zend (https://framework.zend.com/) and many more. Try a few and get the feeling how they do things and if you like them.

For view rendering you can do that with PHP out of the box (just remember to escape output!) or you can use a template engine like the more advanced Twig (https://twig.symfony.com/) or the simpler Mustache (https://github.com/bobthecow/mustache.php). Plates (http://platesphp.com/) uses native PHP templates but helps you create reusable layouts. Some frameworks include a template engine, e.g. Laravel uses Blade https://laravel.com/docs/8.x/blade.

For database queries I recommend reading this excellent article

https://phpdelusions.net/pdo

Many frameworks include their own query builders and sometimes a database layer (ORM).

Some semi famous people within the PHP community just released a PHP 8 book, I have not read it though.

https://front-line-php.com/

They also have free videos about PHP 8

https://spatie.be/videos/front-line-php

Ask for help
https://www.reddit.com/r/PHPhelp/

Discussions about PHP
https://www.reddit.com/r/PHP/

Online PHP shell
https://3v4l.org/

Good luck!
Or names of individual stars in the sky.
If people want to believe lies there's no cure for them.

Like many people surely want to believe that Covid-19 is a hoax, because they 1. Want it to be so 2. Want to believe the president they love so much. But reality will catch up, when a loved one is in ICU
It's pretty much directly a result of the traditional regulatory/structural preferences of the US. Works well for some things, but not so great for telcom/infrastructure.
I expect these technologies to be integrated into language runtimes and webservers such that most developers won't even know it being used similar to EPOLL today. While revolutionary is an extreme characterization the performance and improved API changes are at least non trivial.
i'm not sure it's a good thing readability wise. I would have liked to see struct definitions + adhoc struct definitions and destructuring instead of that.

Some frameworks like Symfony relied too much on shoving unstructured array options as arguments though, so if it helps making API strictier...
I didn't see the parent doing that. The parent was theorizing that the reason why US/Western tech is in some kind of stagnation is because the world is more stable and so the stability advantage is reduced.

Also, it is an undeniable fact that the US and the Western world in general were in no small part the causes, or certainly exacerbating factors, of these disruptions.
The page cache is not reliable, and actually does more bad than good, especially in the case of PostgreSQL:

https://www.usenix.org/conference/atc20/presentation/rebello
There's just somethings that will never be able to properly simulate real-world situations. Real-life ordinance going off around you is definitely one of them. However, if you can do anything to get visitors into a museum to have more of an experience rather than just some reading of text and looking at a thing, then the visitor is much more likely to actually retain some of that information.
I thought it was quantum computing? It's crazy how quickly the hype switches.

What ever happened to graphene? I remember reading a bunch of articles in 2015 that it would revolutionize society by 2020.
I find the same when I write about technical topics for a non-technical audience. I write sentences that aren't quite true, because the truth is more complex than the reader cares about or would understand without additional background.

I've learned to live with it, because the alternatives are to i) write a book instead of a memo or article or ii) weigh sentences down with hedges, caveats, and qualifications that don't help the reader anyway.
https://openproject.com/
Most people I know simply conflate which drug does what. Even formal education against drug [ab]use is filled with anecdotes that are often no more than urban legends.

The super human PCP user. The window-jumping LSD user.