skysight-inc/HackerNews huggingface dataset:
Nested loops are obvious in most languages, including C++ -- unless you happen to work with people who don't indent their code properly, but then you have bigger problems than the choice of language.

The real problems tend to come from where the quadratic behaviour doesn't come from nested loops, but from library calls. The canonical example of this is building up a string with successive string concatenation in C.

As for cache behaviour, C++ allows you to control memory layout, which is really what's required there, while most managed languages don't give you that control at all.
Space Freighter – The Unwanted Blog
ainu wikipedia page took me to straight to an absolutely crazy life of a guy [0] who:

* was the elder brother of the polish national hero jozef pilsudski

* conspired to assasinate russian tsar together with the brother of vladimir lenin

* was sentenced to death, then sent to 15 years of hard labour on sakhalin island

* married ainu woman, they had 2 children

* studied the ainu language, culture, etc, created the dictionary and recorded 100 wax cylinder of the ainu native speakers

* fled to japan when russo-japanese war broke out, where he was trying to help ainu cause too

* returned to poland and studied ethnography of peoples of polish mountains

* fled to france at the beginning of ww1 and was found drowned in seine river

[0] https://en.wikipedia.org/wiki/Bronis%C5%82aw_Pi%C5%82sudski
Bitch about people who didn’t save for an emergency expense or for retirement. Bitch about people who spend frivolously. And now, miraculously, bitch about people who are saving.

This is not a complex problem. If you want people to spend money you must give them a proper safety net. That means pensions and health care.
People also wear high fashion for certain events.
> Chase has about 5 different ways / pages you can enter your login credentials

If they had 5 different ways, that'd be one thing. Lately, I've been seeing different domains. For example the marketing department registers a domain such as AcmeExclusives.com.
Isn't only 1 stick of RAM leaving a lot of perf on the table with these APU's not having dual channels?
I've come across a bunch. General there is a workaround, but I don't want to spend hours trying 3 different "jailbreak hiders" and finding a version of the app I can downgrade to using AppStore+ in order to use it normally.

And since these are all tethered jailbreaks, I don't want to completely re-install a banking app that locks itself up after I open it in unjailbroken mode (so the hider isn't working, but their jailbreak detection still does) after my phone dies and I forgot to re-jailbreak it.
You are asking the right questions.

In our particular case,

1, we did not have good libraries for file uploads to Azure and to handle the signing for securely displaying them.

This was solved by 2 very simple modules. In the end, both things are fairy simple unless you want them complicated (ActiveStorage can sure do "more" out-of-the box).

This also means the code it's super straight-forward and understandable.

2, we did not have a good library for SOAP.

We started to build a simple SOAP library. This I would consider a pain, but there is always option to avoid it (see no. 3).

3, we did not have good PDF libraries.

I happened to package my Ruby library (using Prawn) as a Docker container and simply call its API. This could also simply solve no. 2.

On the other hand hand,

1, we got one of the best GraphQL libraries out there (Absinthe)

2, we got a really fast test suite (once everything compiles, that is)

3, we are getting great tooling like Phoenix LiveDashboard for free

Also I want to note that deployment is now quite easy with "mix releases" (as compare to what it was). You even get a remote console that connects to your running cluster. No problem.

[0] https://nts.strzibny.name/phoenix-livedashboard-request-logg...
I would argue that it is your perspective that is narrow. Very few people are in danger of not seeing their loved ones for up 1.5 years. Even two more months stretches credibility.
Hot swapping support in Erlang is first class, but even with that, it is not an easy feat to accomplish in large systems. Which is why, in my experience, people tend to avoid it if they can do without it. Systems i have worked with either had scheduled downtime periods or one could easily take down a node for upgrades without impacting the general availability of the system. In such cases, there is no real incentive to invest time and energy in managing hot swapping. But if you absolutely need all parts of your system be up 24/7, Erlang has the best story I've heard so far.
SQLite is an in-process database, so it doesn't really have a wire format.
Towards the end, when the author tries to replace the inner branch with arithmetic ("Replacing the branch with arithmetic"), one thing I noticed is that the branchless code actually reduced branches by 5x the number of eliminated branch mispredictions (233k vs 43k).

That reads to me that the processor was actually doing a pretty good job predicting the branches for large inputs (toward the end of the sort, when values are close together?), not the lack of CMOV that the author asserts is at fault.

edit: that said, I don't think that's the full explanation why that's slower, given that the small inputs actually do okay compared to the overlined (although most of that is recouping a bit of the losses against the Jedi baseline).
That sounds great, and it's how think I'd like to try and introduce my site to others. But do you have any case studies to support this idea of your?
Willful misunderstanding?
Confusion redirect?
Defray to diffuse?

The technique seems super common now, and I’ve been expecting to run into it in some communications training, but haven’t yet.

I feel like there’s some crisis PR tactics this fits into that involves “Never disagree, redirect and ignore.” It diffuses criticism and makes it hard to argue.

It seems related to when I see a complaint on a review site that’s been responded to with “I’m the manager, please call me.” It doesn’t resolve the issue, but it shows that someone is doing something, so it diffuses pile on because it stops complaints of ignoring customers.
Sure, there are libraries for concurrency, but there are no language constructs like in other languages.
Banks are usually following the currently "supported" versions. At least the big ones that are all compliance based nowadays.

Windows XP and IE6 have been out of support for quite a while. They've long been dropped in favor of windows 7 (LTS support until 2023) and 10 more recently, which comes with internet explorer 10 or 11.

SSL would be quite easier to keep up-to-date if Microsoft actually upgraded their operating system and applications to support TLS 1.2 by default, which they don't for retro compatibility reasons.

For reference, working at JP Morgan, I can tell you that the company has dropped support for Internet Explorer entirely. Half of the existing internal apps don't even load on IE. Would be nice of vendors to stop wasting their time praising IE support as a feature.
It's not the same thing.

> allowing a virus with R0 > 2 to plough through a population

puts a very concrete time estimate on it. We know that the SARS-CoV-2 replicates every 4 days on average, so this scenario has a doubling of cases every 4 days. Starting from a single infected person, the US would become completely infected in roughly 120 days, i.e. they would roughly be done by this point or early next month, with all the consequences that entails. In contrast,

> the entire population to become infected (which will almost certainly happen anyway)

does not imply any specific timeline. It could happen in 30 days, it could happen in 30 weeks, it could happen in 30 years.
That was not the point that was made. The OP claimed that not being able to leave you house for a prolonged period of time is not a problem at all.

Keeping people locked up in their houses is bad. Even if it is the best decision is a certain situation, it is still bad.
That’s what I stick to. If a sentence begins and ends within a quote, the stop is also within the quote. If the sentence starts outside of quotes, I end it outside of quotes, regardless of whether it’s “correct”.
I just discovered the iOS app for NetNewsWire and I am blown away that it is only 7.5 MB in size! I did Xamarin development for a while; a blank hello world application is about 45 MB. Kudos to the team!
Rust can create dynamic libraries that import and export symbols using the C ABI, so it is not worse than C in such a comparisons, since it can do exactly the same thing as C.
Sure, here it is: https://www.ilrestodelcarlino.it/bologna/cronaca/muore-di-co... (this is the first result on Google, but it was all over the news).

Title of the article: "Muore di Covid a 30 anni: è la vittima più giovane", which translates into "30-year-old dies of Covid, he's the youngest victim yet".

Article starts with: "Dying younger than 30 for Coronavirus: a cruel fate, that of Michele Grauso, 29-year-old financier (he would have turned thirty in August)."

Second paragraph, finally mentions the small detail that he had also been shot in the head and had been in a coma for 2 years: "He was hospitalized in a vegetative state in a private facility here in the city. A coma from which he had never come out since a partner in 2017 shot him in the head by mistake..."

On TV, most news channels didn't even mention the coma. The family actually complained and it came out.

Not sure if news want to be sensationalistic for clicks, or because they directly get paid to keep the level of panic high by whoever makes money from the emergency (which is many, many people in Italy). Probably both.
Apple adds 192-room hotel to plans of Northwest Austin campus
I'm not in a bad situation but playing openworld games (non-VR) has, I think, helped my mental health. I normally walk 4 miles a day to work, now I work and sleep in the same room; I feel some days like I'm in prison except without the social spaces and exercise time.
Except that in the case of Ainu, they are not indigenous to Japan, the indigenous people of Japan is the Jomon and they were already in Hokkaido centuries before the Ainu existed.

The more common accepted theory according to recent DNA studies is that the Ainu are actually Siberians who mixed with Jomon and also mainland Japanese.

Saying that the Ainu are indigenous to Hokkaido is a common misconception of Western scholars, they somehow insist in this historical error.
Peer review is flawed, but I don't think it's broken. For context, I'm a late-year PhD student in machine learning theory, and I submit almost entirely to conferences, which is the norm in my field.

To me, the big problem is that there is little incentive for experts to review papers. I write a few papers every year, and I review 5x that number. Slightly more senior people -- postdocs and junior faculty -- may review more like 30-40 papers. Most papers I review are not good papers. This is especially true at the big machine learning conferences like NeurIPS, ICML, and ICLR, where a disconcertingly large fraction (1/3?) of submissions are outright bad. Most of them are at best "meh". So there's not much benefit to the reviewer beyond some notion of community service.

I think my ~colleagues (PhD students, postdocs, young faculty) have similar opinions. We've certainly discussed these issues in the past. One positive step NeurIPS has taken is giving "best reviewer" awards that come from with a free registration. That's a nice benefit, even if it won't on its own incentivize good reviews. Some people have suggested outright paying people for reviews at some quasi-competitive rate, maybe $100 per review (note that this is not great -- a good review takes at least several hours if the paper is not terrible). NeurIPS also added a requirement this year that all submitting authors must review, which is an interesting experiment.

My impractical wish is that we also have some kind of "worst reviewer" sticker for all the reviewers who just paraphrase the abstract, add some milquetoast feelings on novelty, and weak reject. Less facetiously, some kind of StackOverflow reputation system might be useful. As is there's so little external signal about being a good or bad reviewer that the incentives are pretty wrong. Some kind of points system might help.

But my overall point might be: reviewers by and large aren't malicious, jealous people who are only rejecting your work because they want to protect their own turf. They are more likely good faith actors who are trying to balance time spent on a pretty thankless but societally useful job (reviewing) with time spent on much more personally enjoyable and rewarding activities (research, family, hobbies, etc). There aren't really obvious solutions to tilt the balance toward better reviews that can still handle the volume of papers.
Japan, Sweden, Taiwan.
Great! They can block malware as soon as they find out. Love it!
If the problem you're solving can be easily split into many independent, low volume, maybe long running, communication oriented tasks, you owe it to yourself to look into the Erlang ecosystem. Think handling signaling for calls, chat connections, inputs from millions of IoT endpoints.
I'm in Germany. Most signs/posters say 1.5 meters.
WhatsApp Updates Today
I'm not sidestepping the DBA, because I'm the DBA :-)

Fully normalized databases are a nice academic idea, but the supposed benefits of going all the way don't materialize in the real world. That kind of approach is just old school cargo cult - just like full NoSQL is new school nonsense. Good developers know that the answer isn't to use whatever was the fad was when they were in school, be it fully relational databases or NoSQL or anything else, but rather to look at the available technologies and take the most appropriate bits and pieces in order to make a project successful.

After all, if JSON were nonsense, why would a serious relational database like PostgreSQL be adding full support for it? They know it has good use cases.

I know it has full use cases, so I use it, along with proper primary and foreign keys and a properly relational base data model. Yes, all my primary objects are tables with proper relations and foreign keys (and a few constraints for critical parts; not for everything because 100% database side consistency is also an impossible pipe dream, as not every business rule can be encoded sanely in SQL). Just don't expect me to add a user_attribute table to build a poor man's KVS just because people in the 90s thought that was the way to go and databases didn't support anything better. I'll have an attributes JSONB column instead.

And yes, JSON is just a trivial data serialization format that happens to have become de facto. It has an intuitive model and the concept isn't new. It just happens to have been what became popular and there is no reason not to use it. Keep in mind that PostgreSQL internally stores it in a more compact binary form anyway, and if clients for some programming languages don't yet support skipping the ASCII representation step that is an obvious feature that could be added later. At that point it ceases to be JSON and just becomes a generic data structure format following the JSON rules.
Cookiecutter for Flask API with Postgres DB
FYI: common cold != common flu
Russia seems to have an odd problem with window safety: https://edition.cnn.com/2020/05/04/europe/russia-medical-wor...
> MongoDB was that it used to be inconsistent and unreliable but they fixed most, if not all of those problems and they now have a stable product but bad word of mouth among developers.

This report is 9 days old, and tests the latest stable release of MongoDB. The problems it discusses are present on modern MongoDB.
'Taste Display' Brings Fake Flavors to Your Tongue
Restaurants rebel against delivery apps as cities crack down on fees
It's both. It's best used when it's being used as a message broker, but any sufficiently advanced message broker will need many of the features of a database – durability of messages, querying in various ways, etc. I think it's reasonable to think of it as a very specialised database.
Weird pricing trade offs though in there. 250 to 500GB m.2 drive is +25, adding a second 250GB drive is +95

Upping the wifi to 6 is only +10? Why bother even offering that.

I don't mind the display but not being USB-C Charging is really disappointing.
Nonsense, the first rewrite was famously as success (because anyone claimed it could not be done).

Have you contributed any code?
Mongo has been related to "perpetual irritation" up to "major production issue" at all three of my last companies.

For as easy as it is to use jsonb in Postgres, or Redis, or RocksDB/SQLite, or whatever else depending on your use case - I can't find any reason to advocate its use these days. In my anecdotal experience, the success stories never happen, and nearly developer I know has an unpleasant experience they can share.

Big thanks to aphyr and the Jepsen suite (and unrelated blog posts like Hexing the Interview) for inspiring me to do thorough engineering.
This is a rebranded laptop from an ODM [1]. It is also available from Schenker [2] and was reviewed by the Notebookcheck [3]. It looks really good, but I would love a few things to be fixed/updated: better 16:10 screen, Ryzen 4000, more USB-C ports, USB-C charging and dual-channel memory.

___________

[1] https://en.wikipedia.org/wiki/Original_design_manufacturer

[2] https://www.schenker-tech.de/en/schenker-via-15-en

[3] https://www.notebookcheck.net/Schenker-VIA-15-Laptop-Review-...
I’m going to go against my instinct that you are trolling and take you seriously. I suggest you read up on the various travel bans that are in place in much of the world.
Doctors often want to keep pneumonia patients "dry", that is, somewhat dehydrated. (That's maybe contributing to the kidney failure.) To what extent could this also be resulting in increased clotting?
Getting an Interview, and Interviewing Well
NASA SpaceX launch: Astronauts complete rehearsal for historic mission
This is not directly related to this report or Jepsen, but since you're here I've got to ask: Aphyr, are there any recent papers/research in the realm of distributed databases which you're excited about?
It's very context sensitive. "That's nice" (with at least an implied exclamation point) can be a literal reaction to something you like. "Yeah, that's nice" as a reaction to a statement/argument can also be the equivalent of "Whatever." i.e. it's stupid but I'm not even going to dignify it with an explanation of why it's stupid.
I find that using JSON for things you don't need to query/validate (like big blobs you just want to store) and breaking the rest out to columns works well enough. Plus, you can always migrate the data out to a field anyway.
The difference is similar to being put on a diet and being starved.

"House arrest" of dissidents usually entails much, much more. Threats, no entertainment, no internet, no social media etc pp.

Lock down (which, in most of the world, it isn't, it's just "don't go down town and party", you can still go for a walk) is very much different.

For all the mindfulness hype of the past years, I've expected people to take it better. It sucks, yes, of course, plenty of things suck. It will be over at some point (another thing that's very different form being put under house arrest as a dissident), and your life isn't in immediate danger. Acknowledge that it suck and move on. And turn off the news. Don't watch it. You'll hear when the lock down is over, and you don't need to know about the minutiae of potential horror, fear and the apocalypse.
Being able to create an anonymous access token, that in turn has certain restricted claims defined by default.

API keys kind of do the job, but they're basically deprecated through a lot of JWT providers, and you need to support two Auth systems if you're using JWT for logged in users.

Flow is:

* Arrive at website
* Generate an access token without any user input (anon user with default read only privileges)
* Use the same APIs as logged in users, with restricted access defined in the JWT / Auth provider.

The two sides of it, am I allowed to access this API, coupled with what can I do once accessed seem to be the basic use case for JWT.

I appreciate the response. My terminology is likely a bit off, it's been a while :)
Dunno about paying. Remember Amazon Turk? Folks just spammed it with zero-effort submissions and 'closed' thousands of contracts with bots. Instantly gamed, so some jerk could walk off with thousands, $1 at a time.

The shaming idea, that could work.
My former boss, a university professor, is a very good writer and leaning towards the anal side when it comes to things like punctuation, wording, spelling, etc. I remember we once worked on a journal article together that was edited somewhere in India. She sent in a pristine source file, and got back a print proof where literally tens of mistakes had been introduced. She corrected them meticulously, sent the corrected version back, and received another proof with another tens of errors introduced.

This went on for quite a while, you can only admire my boss's perseverance. However, what I don't understand is how these mistakes could have been introduced in the first place? It almost felt like someone on the other end was actually retyping all of her writing, or else how was it possible to get all of these mistakes in there?
I love this idea. It completely removes the downside risk for students. The example in the article was a pilot who used an ISA to fund $21,000. He has to pay it back with 7.5% of his salary with a cap at $42,000 repaid or 104 payments.

He might ultimately end up paying a bit more than if he had a typical student loan but he could also end up paying substantially less. He is an entry level pilot during Covid-19, after all.
I'll give you a heads up when my react project goes live. I can't help but feel like it's going to be useful to you in that role.
My comment has nothing to do with the content of the article. I meant that most of the headlines I see nowadays are clickbaity.

This trend started 5 years ago or so, and it hasn't stopped. I guess it's just me.
ooh! so it could replace Hamachi. I think this is one use case (without using the product name) that can be listed in a uses-cases page. Hope other Zerotier users would chime in with more use cases.
Yes something is off here. Corona is totally respiratory virus.
I agree, this seems like a great value. I’m in the market for a Linux first laptop, I will have to consider this company.
> It may work out for them because it's a lowly populated country but I wouldn't try that model anywhere with an higher density.

Sweden has a very low population density on average, but they also have some densely packed metro areas. Just the Stockholm and Gothenburg metro areas make up over a third of the total population.
Was there money involved? Perhaps it was a scam, or a failure to pay the right bribe.
It seems to me we are ending up roughly in agreement.

Small tuning: I was thinking more of microsoft/azure and amazon than google than facebook as oligopoly player.
>And have a million other features besides!

Yeah, but in spite of that their performance still sucks compared to writing directly to /dev/null, and that's where Mongo steals their thunder.
That seems untrue. Corona attacks almost every organ.
Give us a list of keywords to help you: languages you want to use, hobbies you have, stuff like that. We will try to come up with an idea
I'm surprised that many people automatically assume "you should cite this paper" means "you should cite my paper". I tell reviewers to cite papers all the time. They're almost never my own papers. They're just relevant papers.

I think there is some aspect here of just finding reasons to dislike the reviewer (though I've certainly had reviewers where those reasons were pretty easy to find).
Not the technology for self-hosting, the technology for a decentralized, federate Web. That hasn’t been feature-complete for very long at all. And of course it’s the prerequisite for good UX and services.