skysight-inc/HackerNews huggingface dataset:
Most "officers on the beat" don't carry guns, but perhaps as a sorry sign of the times it is not uncommon to see officers packing what appear to be quite heavy weapons (at least to my eyes) - e.g.:

https://i.dailymail.co.uk/i/pix/2015/04/26/11/22FFD9CC000005...
https://qph.fs.quoracdn.net/main-qimg-0fe4637f8d1b1f981c7786...

You'll see them at busy places like stations, shopping centres, airports, busy public squares etc. At least in London - perhaps not so much elsewhere. I guess half of it is deterrent & reassurance, and the other half if to stop any "active shooter" type things before they happen.

There is also SO15 which are the sort of para-military dedicated anti-terror type people who don't patrol but are stationed around the place and use motorbikes to cut through traffic and down pedestrian areas, e.g.:

https://i.dailymail.co.uk/i/pix/2017/09/28/10/44C62468000005...

I think the main difference in the UK is, when the situation deteriorates enough to require police with guns turn up, the guns aren't there for show to try and subdue/persuade you. They'll usually shoot to kill from what I've seen/read/heard.
urllib3 gets installed while installing boto3 and requests, whose dependencies makes up most of the top list
> in Europe my bank is legally obligated to provide me a basic service and they treated me very nicely

Most likely you're not the kind of customer they'd rather not be doing business with.

> they treat everyone like garbage precisely because they can arbitrarily shut down anyone

Do you expect them to treat people they'd prefer to shut down better than garbage if they weren't allowed to shut them down?

> Parler will either have to become just a second Twitter or they will be kicked off their new hosting too.

Is there nobody among Parler's millions of users who'd be able and willing to host them so they don't have to worry about alignment of interests anymore?
Misdirect, misdirect, misdirect
And there's also Notcurses[0][1], which facilitates the creation of modern TUI programs, making full use of Unicode and 24-bit TrueColor. It presents an API similar to that of Curses, riding atop Terminfo. It's made in C, with C++, Python & Rust wrappers.

[0] https://notcurses.com/

[1] https://github.com/dankamongmen/notcurses
I use Soundwire for the same purpose.
Non-isolated? That's grounds for reporting to the authorities and an immediate recall.
PTP at this point is ubiquitous and cheap. It is hard to source a PHY that has no support for it in 2021.

> If they had the same support for NTP, it would perform as well.

Unless you'd extend NTP to become PTP, it absolutely wouldn't.
I've grown a strong dislike for annotations. One here or there is not the problem, but they will be used (I'm looking at you Spring) to add magic to my programs. I want to know what goes on; annotation hide what goes on. Debugging problems with annotations is a real pain. I like that in Kotlin the community seems to fight overuse of annotations (also they fight overuse of Exceptions which I really like: Exceptions are not a way to do multiple return values, sumtypes are).
LoRA could have a nice synergy with Matrix P2P.
It could be very neat, but there are very few projects that would interested in it. localStorage is persistent enough for small hobby projects like this, and for something more serious you'd like to have some kind of backend DB anyway.
> If you look at the white rabbit FPGA PTP updates, its in the ns range

As I recall, I had even better performance than that. Around the tens of picoseconds. But I guess the advertised 1 ns is a conservative estimate. The precison is incredible but its not magic, they squeeze the maximum amount of determinism out of custom hardware and fiber optic links. It is a bit of pain too set up, as you need to calibrate each link individually every time you change the fiber or the SFP.
Satirical magazine: Titanic app in Google Play Store blocked
> Are you really "of the opinion", or you were just made to write that as an automaton, due to a deterministic causual chain of events?

I don’t think it deterministic, at the lowest levels the physics is probabilistic. But I’m sure you can imagine how to express “opinion” as a subjective experience of a brain state that is wholly determined by deterministic factors.

> In which case, you don't really have an opinion, any more than the way a dead frog jerks his legs when we apply electricity.

You’re right, I’m convinced that belief in “free will” is the default naive psychological reaction to awareness of one’s own nature as a physical system, but I try to be mindful that one day someone could express “free will” as a concept that is both meaningful and coherent.
na, it a Balkan thing :)

Pretty sure texans would not like to be caled balkans, even though balkan culture is somewhat similar to texan
I think parent means that for some careful selection of N (where N > 1) insertions per bulk transaction you can scale up to hundreds of thousands of insertions per second, rather than putting hundreds of thousands of insertions in a single transaction.
How to start a podcast even if you're a nobody
The only fake-resistant review system is one read by critical people.

The problem the star average is used as the only proxy for quality. Even without fake reviews it's completely meaningless since different people like different things (relevant XKCD: https://xkcd.com/937/).

When I buy things I look at what people complain about when they dislike the product. Is this electronic badly grounded and gave you an electric shock? I'll look somewhere else. Did you give this gay bar a 1-star review because they didn't let you in with the rest of your hen party? Awesome!
Apartments in Pyongyang, at least in certain areas, are required to keep lights on for showing any visitors/tourists an image of a lively and prosperous city.

That was the lightest touch of theatre some friends saw when they visited. The whole trip was basically full of pre-arranged sceneries and events -- say, before you enter a park, your western guide could tell you're going to see happy newlyweds there.
And yet they fail so spectacularly at software. All their devices are limited by software, they can't swing their weight to develop software across all platforms, and they can't deal with software bugs in a scalable way.

It's intriguing: they managed to scale their hardware in an impressive way, but software lags so far behind it's not even funny.
That's relying on a unikernel and static linking I think.
I've been doing this while optimizing leetcode problems recently. I just force myself to step through the same logic that the computer is doing to solve the problem. Not the code, but the same logical manipulations to calculate the answer the same way the code is.

Very often I'll find myself thinking "This is a waste of time, I could easily shortcut this by... X" and when I find the shortcuts that make the "by hand" process more manageable, I can apply that same logic to the code and make it faster as well.
On what basis can you claim that other companies can leverage engineers to make as much profit as Google/Facebook/Apple? Those are some of the most profitable companies in the world.

It's true that companies might have to adapt or fold, but many business models will not be able to adapt to produce the kind of leverage a global advertising duopoly can.
On sum types in C#:

https://www.reddit.com/r/csharp/comments/7b8mvn/have_sum_typ...
Ah, Lemmings... one of my favourite games of all time! It's rare that you get to play a game that defines a whole new genre.

One interesting tidbit I didn't read about before was that the music that made it into the game was actually a last-minute stopgap after they noticed that the original tracks could get them into legal trouble. For that, the music was amazingly good (at least on the Amiga)! Makes you realise there were some really talented people working on this game...
I behave exactly the same way (fasting then keto for 6 month, not practicing keto long term but still lowering my sugar/alcohol intake). I still have occasional acid reflux, though less than before.

I thing that when you start something like IF or keto, you already care enough for most of diet-related issues to tone done, like a placebo effect somehow.
Yes, our lifestyles are the problem. Nothing to see here in North Korea.

One could even argue that we can learn a lot from them about how to save the Great Reefs
Scale still has something to do with it. If you are small scale, spending an engineer month to think about and make informed decisions and implement it may be more expensive than just accepting whatever downtime happens along the road.

I think premature optimization in uptime is common. Yes, being down a bit is costly, but may still be cheaper than a development team being obsessed about adding 9-s to the service level %.

OTOH, obviously for Google, downtime must be minimized at almost any cost.

It is all about scale; but scale of budget, not traffic.
FWIW, I've only used Anker chargers and USB power blocks for the past several years (including as my main MBP power sources) and have had absolutely zero problems. No methodology but their brand now stands for reliability in my mind, at least.
As a bicoastal American, there is a strong East-West schism in that. West Coast techies, largely disconnected from D.C., being (rightfully albeit overconfidently) sceptical. East Coasters being (almost always overconfidently) confident in their friend at such and such (almost always unrelated) agency vouching for the story.
What platform to choose for streaming audio?
What kind of application are you developing where there is so little middleware between the database storage layer and the user that converting to/from kilos adds significant additional complexity, but your users aren't technical enough to just deal with having weights in grams?
Optuna Guide: How to Monitor Hyper-Parameter Optimization Runs
Thanks for this. I had never even heard of it, and it looks very high quality!
He also very explicitly says to not blindly trust everything he says, because he does make mistakes. While he does try to correct mistakes when he becomes aware of them, nobody's perfect.

I wish more people would be so aware of their own flaws and foibles.
As pointed out by another comment it looks like this is a joke from GitHub itself, as they own this domain.
> dedicating a core for your NTP

Heh as soon as I read this I thought "algo trader?". If you don't mind me asking outside of trading how often do you see systems seriously manage jitter (specifically I'm thinking about interrupt management). I'm in HPC and whilst some such management is present it seems seldom thought about.
I agree, that makes a lot more sense. Not so sure about India though, that's just to avoid punitive Indian import taxes. It would make little sense for export.
They've also always charged enough of a premium to afford to do things (mostly) properly. Apple's brand value isn't just in name recognition but in being able to command this premium which in turn improves their brand image more.. a virtuous cycle.
ruby is one of my favourite languages, but there are two things I wish it had done python's way - inline type annotations, and imports acting as namespaces. I wouldn't have thought to miss the latter before I got a day job working in python, but it really does make code in larger projects a lot easier to read and maintain when you can tell at a glance where every symbol is defined.
Coming from operations perspective Ruby is only scalable because it is great for protyping. It as a deliverable can be challenging due to size and complexity involved with compiling gems. I'm sure it has gotten easier to deliver with Kubernetes but Java and Go are much easier to ship and deploy.
Thanks! I eliminated that it was my machine -- I observed the same phenomenon on two machines.

I launched my own EC2 web instance in us-east-1 and hosted one of the slow files, and repeatedly downloaded it using a `python -m SimpleHTTPServer`. I similarly observed a slow download speed (128Kbps) without my NordVPN connection.

Oddly enough, I also observed a slow download speed to my us-east-1 server WITH my NordVPN connection, so that let me to believe it's a broader issue, however I did observe a fast download speed from an AWS server located in eu-central-1.

I'm generally confused. Connecting to NordVPN eliminates my issue, but the tests I am conducting are providing inconclusive evidence as to why this is the case!
> Laying out icons on a grid should be an inherently linear operation, but somehow it was written as quadratic and was executed even when the icons were not being displayed.

I could sort of understand this sloppiness if it was some random app from a hot startup, but this is a Windows issue affecting, presumably, all Windows users... Somehow this gets past code review and QA and into production, where it remains broken and nobody has fixed it. Depressing.

I would argue part of the problem is that the majority of developers are computer science illiterate. They just hack things together, gluing libraries on top of frameworks, with very little understanding about what goes on underneath. Even when you point out a problem like this, people seem to be unwilling or incapable of understanding it.

I have a personal experience where I raised doubts about an unoptimized algorithm (the time complexity was something like O(n^2 log n) where typical case n was supposed to be 10^6). I'm paraphrasing, but the response I got was roughly "don't worry, we can just run it on a powerful VM" and also the classic "developer time is more valuable than CPU time". When people realized this problem can't be solved by throwing money at it, the next suggestion was to artificially constrain n to be small enough that the program completes. Again I was raising doubts that this doesn't make sense, but everybody else thought it's fine. So I spent time running a series of experiments to demonstrate that the results we're getting are nonsense. It was at this point that I optimized the algorithm so it ran in O(n log n) or something similar. Something that we should have done from the start.
> Would I have faster browser experience if I deleted some bookmarks, or if I deleted my browsing history?

In some ways, probably.

Using the "Forget about this site" command in Firefox will generally be quite slow and cause high CPU usage for ten seconds or more.
Ok, so in this example the cuda code is only used when you're short on GPU memory. This means if Apple makes a chip with enough memory cuda compatibility won't be necessary, right?

Are there any examples where custom cuda code implements some op that can't be written in Pytorch/TF/Jax/etc? That would have provided a better support to your claim that M1 needs to be able to run cuda.
I wouldn't say that counts as a service.
Also check the original website for extra contents

http://www.venicebackstage.org/en/
Imho indistinguishable, at least outside of gaming.
5k-year-old Mass Brewery uncovered in Egypt may be Oldest in the World
Crazy to realize the long path we did, from being unable to buy any laptop at all without a Windows license to being able to buy computers directly shipped with Linux, and even open hardware.

I guess that for younger people, it might be hard to remember the "good old time" when we were fighting for reimbursement of the license.

One time, I did the process to try to get reimbursed for one laptop in France.

At that time, there was a lot of uncertainty and no clearly defined process, but it was clear that the French law was on our side.

In the doubt, I did it all: registered letters to HP and to the retailer.
I think that in theory it was supposed to be HP that should reimbursed me, but I think that they never replied to me.

On the other side, I received a reimbursement from the retailer in a kind of "nice unofficial way":

<< We think that we are not responsible to do that, but here is a 100 francs reimbursement so that you will stop annoying us>>

(So it was not really needed that I burned/shred my Windows license or anything else)
It's even more absurd because Apple discontinued OpenCL and replaced it with their own proprietary solution too.
I don’t think you can atomically append more than one byte to files in unixes (the write call can return after having written some but not all requested bytes)

(Haven’t googled, but if that’s possible, I don’t see why write would have that limitation)
That's a good point, but a bad example since 'x < 0 ? 1 : 0' is just the same as 'x < 0', which is also be implemented (on x86) as a CMP followed by SETcc.
Wide-Format Printing Products That Can Hit the Headlines in 2021
Printed products are in fashion for a very long time now. In this blog, look at the top 5 wide-format printing products that we believe is so much in demand that they

will surely make it to the headlines in 2021 as well.

Future of wide-format printed products
1. Sign Boards
2. Banner and Posters
3. Wall and Building Graphics
4. Window Graphics
5. POS displays

Read more: https://www.designer-daily.com/5-wide-format-printing-products-that-can-hit-the-headlines-in-2021-113727
I've had good experience using Nest.JS [1] for the backend and next.js for the frontend. Nest has defaults for ORM, validation, task scheduling, authentication, etc, I find it a lot easier to work with when compared to plain express projects with tons of glue.

Disclaimer: I have never tried Rails

[1] https://nestjs.com/
Platforms like Tru64 did it first.
Interestingly, the History Channel just aired an episode of "The Food that Built America" that featured pizza recently, how Pizza got "reinvented" in America

https://play.history.com/shows/the-food-that-built-america/s...
They're only an end point because Apple stopped innovating. Tim Cook is great as a process leader but he doesn't have an innovative vision.

For all his personal flaws Steve Jobs was all about innovation and didn't mind risking the company to achieve it.

Now Apple is in a stronger position than ever financially but it must the drive to innovate right now at any cost. It was really what made Apple great IMO.
You don't have to write interfaces to have dependency injection. You can and should declare all your dependencies as constructor parameters. If you create them inside a class you'll permanently lock the two together, thus making it a testability nightmare.
> or roughly 16 years to 100%

That is two big assumptions: assuming linear degradation and assuming the mac is usable until it reaches 0%.

I would think that it starts degrades faster as it wears, and that by the time it is at least 90% on a 256gb or even 512gb SSD it will be effectivly unusable.
India should not buy Bitcoin
Microsoft's revelatory quantum computing theory disproved by new evidence
Corporate Values as Memes
It was, at the time of the Unix wars, a rather childish way of 'protesting' the use of trademarks on the name 'UNIX' by AT&T, Novell, SCO etc. in their fights against other Unixy OS vendors. There were urban legends going around on IRC and Usenet that those companies would sue everybody using the word 'Unix' but not using the full name would absolve you of that responsibility. Legally this in the class of 'cops can't lie to you when you ask them if they're a cop' and 'free men doctrine' and such but it was wide spread at the time.

The irony is of course that Unix-like OS vendors spend so much time fighting each other that it was basically mutually assured destruction, and proprietary Unix systems went the way of the dinosaur after the dot com crash.
The ultimate unikernel. :)
No, the opposite. In SQLite, starting and ending transactions that write things to the db is a relatively expensive operation, and running queries outside transaction is effectively the same as running each of them in an independent transaction.

If you need to do a lot of inserts (or updates, etc), the slowest possible way to do them is to do them outside of a transaction. The fastest way to do them is to wrap them all into a single transaction.
More like the Time Cube (see footer)
> Of course SQLite imposes a file format... That format is a SQLite database

Well this is in a context that rejects zip as being a format. Do you do that? If the answer is no then skip the rest of my post and just note that they're talking about a different definition of 'format'.

-

But in that context:

The amount of structure imposed on you by the sqlite database format is not much more than the structure imposed on you by a zip. I think it's fair to rate them similarly as formats. A zip file is basically a key-value store.

"Zip full of csvs", while awful to use, would impose about the same amount of structure as sqlite does: not much. And zip+csv is not much more elaborate than zip on its own.
Sounds like what the people owning 95% of wealth are currently doing.
> You're trying to prove that no optimal solution can exist, not that it's impossible to find one. Which is fine, because it's a stronger claim.

I did not prove no optimal solution can exist. I gave an example of a subset of programs which would resist optimal optimisation. For a lot of programs an optimal version will exist. E.g. "return false" is obviously trivial to generate an optimal version of.

[I'll also note hvidgaard provided a far simpler proof this problem is equivalent to the halting problem that invokes the halting problem directly as part of the solution by forcing the optimiser itself to solve the halting problem to determine the valid resolution, but my example shows that the optimiser can not solve the general case even if the program being optimised is guaranteed to halt]

> But it heavily depends on your definition of optimal. If you define optimal as "lowest average number of instruction across all possible inputs", then there exist optimal sorting algorithms.

The commenter you replied to gave a definition: "finding the fastest way a program can be executed".

However, I believe your definition won't help (even if I ignore the "lowest average number of instructions" - nobody cares about the number of instructions executed, but at about wall-clock time or space complexity, or possibly the size of the generated code), because the input to the program and the input to the sorting routine here are not necessarily the same. You can extend the sort problem to a more complex program that can incorporate the element that reads back in its own binary and perturbs the inputs fed to the sort component. Indeed to "borrow" from hvidgaard, you have no guarantee that the program in totality will halt at all, but even if you disregard not halting, as long as the program can read its own code, the problem remains.

> I would argue that in practice only the first definition is useful.

In practice that definition is very often totally useless, because we very often have knowledge about the expected input data for which the way we express an algorithm and the specific choice of algorithm is the only way most programming languages allow us to express the necessary expectations.

Effectively most optimisers aren't advanced enough anyway that this is a consideration, because we're hitting space-time complexity tradeoffs for the cost of running the optimisers already when trying to do unambiguously beneficial optimisations.

> What optimizations was hvidgaard allowing to be me made when he claimed an optimal solution is incomputable.

Given the claim was stated without any constraints, it is natural to assume the claim was general. That is, that a valid output of the optimiser is a program that given the same input produces the same output. The point of the claim was to point out the sheer complexity of aiming for auto-parallelisation beyond smaller transformations.