skysight-inc/HackerNews huggingface dataset:
> If connecting to your DB is significantly increasing your page times, you've got seriously fast pages. Even back when I was working with a MySQL database regularly in 2010, connect + login was 5 ms at maximum (and I think it was much less, I just don't remember that far).

One of the major ways I helped Mastodon was improving their connection pooling situation. If you haven't encountered connection size issues with your database count yourself lucky.
I frequently use my phone one-handed. Easier with smaller phones, which is part of why I prefer them.
Nooo, don't need to apologize, I really appreciate the direct feedback - it's the kind of feedback that really helps you improve the user experience for your product after all! So yeah, thank you so much again for the feedback, and thanks for being so encouraging! :D
East Palo Alto is minimum $1mm homes now. Unaffordable to anyone not in tech.
That sounds like an argument for a button-centric device, not using the volume rocker on a touch-screen-centric device.
I think the embargo extends to other WTO members.
This explains so much. I'd always wondered why e.g. CERN's website was served from home.cern instead of just cern.
Gotcha! That's it then - the hyphenated sites are out! :D
> Yes splitting up source files is trivial.

It's not trivial. Have you ever had to maintain a project across multiple versions? .NET is even crazier, it supports multiple versions across multiple projects with a lot of shared code that lives in different repositories.

If you split the file you cannot apply patches to older versions or different projects anymore. Merging will be a nightmare and the change history will, while not technically lost, be very hard to follow.

Try it for yourself. Make a git repository, a large file, two or three LTS version branches, and then split the file up. Now try to apply a patch you made in master to the LTS branches.
I'd settle for IP-based video conferencing that actually works, 100% of the time. As far as I can tell the major issues with that now are more from WiFi - Bufferbloat is particularly bad there and interference causes small dropouts (run a ping to a local router in the background for a while, and you'll probably see jitter eventually).

It's pretty noticeable here in New Zealand where most people are now on fiber connections with easily enough bandwidth and low latency - but video calling is still way harder than it should be.
That wouldn't have helped anyway. The file was written in TypeScript. Node would have barfed immediately.
Both of those would seem to imply the virtual exclusion of anyone who is not a US-citizen
> network latency

I realize that's one of the first things that comes to mind. Either you beam power down or you beam compute down/"real time" communication... but I thought you could do something like "ML training" or anything else where the compute process does not need to be shared until it's done.

On a side note, are the underwater servers better? I suppose that's easier to get to than space. The communication is there(transatlantic cables perhaps).

Another side note, what if we could embed "servers" in an asteroid to hitch a ride... nvm the logistics of doing that. But another way to extend our existence/influence. RTG/solar for power.
One of the problems with the js community is the idea that it is a good idea to name just about anything that is js-ish in a file with a .js extension. I love Dan Abramov, but I think a large part of the blame for this can be placed on his feet for encouraging the use of js extensions for jsx. This sent a lot of people down a dark path. File extensions serve a purpose. Even more so if you don’t have a standardized header line disambiguating the contents of the file. When you rely on tribal knowledge and sophisticated build tools that rely on strange assumptions or the requirement to parse whole files with different syntaxes just to know what you are looking at you have a problem.

If the c++ community had a tendency to name their java files with cpp, would you be so forgiving?
Nobody seems to be acknowledging how schedules and in person classes are motivating. For instance I would not understand calculus to the degree I do if I didn't have some kind of irl accountability. And there have been many times when a good instructor has galvanized intense interest in something new.
Haha of course! Feel free to connect with me on Twitter too - would love to keep in touch with you and see how you progress with the idea!
The condition I placed on that is while people wear campaign buttons. The US has major elections every two years, that's almost certainly not enough time for a critical mass of disenfranchised voters to start something like that.

They key word being voters. This is contingent on people having ongoing faith in the electoral process. People will tell you they don't trust electoralism, but they still vote and campaign for Trump or Bernie or whoever they trust to represent their interests.

Trump and Bernie seem to be a part of this paradigm shift to politicians who serve as a sort of brand that people identify with. When people's whole political identity is wrapped around the "brand" of a public official, it certainly seems less likely now than ever that a "revolution" would occur.

The conditions that would give rise to a revolution would likely see more across the board distrust of the democratic process fundamentally. Election interference might have some effect, but I'm extremely skeptical that a revolution will happen anytime in the foreseeable future.
Online learning removes two major barriers, accessibility and classroom limitations.

Harvard has no limit on how many students it accepts in its online program. Once they realize that and offer it, why would I go to the local state school if I can go to Harvard instead?
Now that I think about it, it was probably a Flow[1] file, they look a lot like TypeScript but have a .js extension.

[1] flow.org
It's Maoni and she is great. GP is unreasonably personalizing a formatting preference.
Non-citizens are free to join the military for the record. It’s one of the more accessible ways of becoming a citizen on an accelerated timeframe.
There is nothing to purchase at all if you want to train your own realnet models on the CPU such as Pedestrian, Car, etc. Just follow the documentation at https://sod.pixlab.io/api.html#sod_realnet_trainer on how to do so.
The Next Coronavirus Nightmare Is What Happens After the ICU
smells like new.net
I'm not aware of any specific tutorials but here are search terms for the theory:

- supply chain management

- logistics

- graph theory (shortest path problem, node routing)

- network theory
Are there other languages that suffer from this? I think Python, Erlang, Ruby at least seem to have escaped the fate so far.

The upside of the JS transformation into just another compiler target is that there is little reason to use JS as the source language, IMO. These JSVM languages do suffer from the same problems to varying degrees.
You make it sound like an innocent mistake, but they must have discussed this issue and decided that violating their user‘s privacy is acceptable. It’s not like they made a typo, it shows malintent.
I doubt many VCs would see swapping out a founder as improving the outlook of the company, particularly when the issue is the general macroeconomic situation rather than an issue with the founder. Founders are a huge part of the valuation of a company - they've spent years learning their market and how to build/run their company. Once a company hits a certain size, you'll see professional CEOs brought on sometimes, but I would think Triplebyte is too small for that. At ~30 people would the company even survive founders being replaced by VCs?

VCs also like to be able to attract the best founders by being 'founder-friendly' and replacing a founder hurts that image. Starting a company is hard enough - you don't really want investors who add to the pressure.

From what I've heard, COVID seems to have stopped new investments (outside of companies that have gotten a boost from COVID) so that VCs can focus on their existing portfolios.
Thrilled to see this, and I already forked and am using it. This is exactly what I've been looking for.
It's an exclusive-or. You can trade with Cuba, and other companies that trade with Cuba, or you can trade with the US, and other companies that trade with the US.
Makes sense! I'll change it in the next version. Thanks!
The challenge of JS is and has always been finding a productive corner of all the possibilities of what you can do with it, and optimizing within that corner.

Usually that means picking up a subset of well supported frameworks that you like and find works well in the domain you’re in. It also means learning what language features not to use, or at least abstract away their use. People coming from highly opinionated languages with a large standard library tend to shoot themselves in the foot because they don’t understand this, and nobody really tells them. And inevitably a discussion turns into an argument with different sides becoming Balkanized because they use different parts of the possible language/library set.
I still don't get it. Why is there nothing for Womens
Already some great answers. Some color: A lot of B2B contracts require this sort of "isolation". So if you read 1 database per account and think that's crazy, it's not that rare. Now you know! I certainly didn't 2 years ago.
> … some library I've never heard of…

http://apr.apache.org/docs/apr/1.5/group__apr__pools.html

> The numbers on the Debian site look pretty outdated…

slow ?
The University of Texas System tried to do this in the late 90s/early 00s. They concluded Web-based distance education is not appropriate for every student. [0] (There also exists a long form narrative about the origins of this, but I can't seem to find it again)

The opinion columnist misses crucially what college is. It's not really about lectures. Rather, it's an incubator for young people to intellectually grow. Online courses don't give you the ability to drop in on a hundred different clubs, go to the library, party, date, drop in the office of some very smart people.

A college campus drops some thousands of young people in the same proximity, and gives them a collective experience. It situates them amongst a litany of highly intellectual adults and gives them a way to try news things. I just graduated from university, and I was leaving the core curriculum had become under conflict. I attended a Jesuit university, so there was a large philosophical/religious portion of curriculum. Opponents say this leads to no meaning job skills, and it's hard to disagree.

College isn't just about getting a job, at least it shouldn't be. We have culturally deemed the degree necessary for employment, and that's the bigger issue. I grew philosophically and theoretically in the classroom, but it was everything outside of the classroom that made me readily employable. Frankly, it was a privilege that I had four years to figure out who I was and what I enjoyed.

I recognize that not everyone is this fortunate. Some go to college just because they need to find jobs. That is where I think online learning has potential. We must acknowledge it will lead to a bifurcation in higher education. Online degrees are already less respected than degrees from high-ranking private universities or good public systems (UC/UT/UM). This bifurcation is not necessarily a bad thing. Those who want job skill training should be able to opt for online programs and be able to land jobs (Think like what Lambda aims to achieve).

The wealthy and high-achieving will still go to expensive private universities in person. For everyone else, there should be an accessible means for gainful employment at a fraction of the cost.

I see the fundamental issue in higher education being that colleges have become more expensive as they become more comprehensive experiences, but the market forces bachelors degree attainment for even basic employment. The result is that those who don't need, or don't want, all the luxuries have to subsidize the cost.

[0] http://www.irrodl.org/index.php/irrodl/article/view/53/110
> So, what happened? How did I screw this up?

Nobody fucking cares, you ridiculous egomaniac.
I actually really appreciate your comment. Thanks for letting me know!
The holiday weekends in the United States are MLK Day, Presidents' Day, Memorial Day, Labor Day, Columbus Day, and Veteran's Day.

This past weekend was Memorial Day for those in the United States.
> Triplebyte can’t function

Looking forward to that.
Ask HN: What is your favorite UI design system?
What’s your favorite UI/UX system and why?
I completely agree. I'm not even sure what that would look like. The article implies moving to a completely online experience, but how does that actually work? A student graduates high school and then what? Stays home for another 4 years, except now they are at home the entire day attending lecture and doing home work at night? How and where do you meet friends or dates? Even as an introvert that complete lack of socializing would be difficult. It's basically what people who worked from home pre-COVID would talk about. Needing to put extra effort to not be isolated, and have breaks from being in the same spot the whole day.

And I think there would be many types of classes that would suffer from being delivered online. I think most of us here are thinking in STEM terms, but what about others? The article mentions remote acting classes. Seriously? It's one thing to 'get by' with workarounds, but I'd imagine being in the same place as other people is an important part of acting. There's no way you can replace in-person teaching for instruments. And discussion heavy classes, would be a drag. Even a 10 person meeting at work is awkward with all the network glitches and delays etc.

Sure it might and does work for some, but I think a totally online experience would be a definite downgrade for most.
I should have probably phrased that better. At one end your skills might get commoditized and outsourced to somewhere for 1/10th of the cost.

But at the other end, think the person in charge of when Google search goes down in Europe. Or when Azure crashes for Disney. Or when AWS goes down for Netflix. How much do you think the people who are experts there get paid? I know two people who make 7 figures doing jobs like that. They are linchpins.
It's mostly a contractual decision, not because the engineering team wants to implement it for giggles.
Well, it's true for libraries that were using Node-style callbacks ('nodebacks') which had an upgrade path to promises[1] and from there to async/await. If some library was doing a completely different style of async, then unfortunately it won't get that easy migration path but it can probably still use the Promise constructor[2] to wrap the async operation in a promise.

[1] https://nodejs.org/dist/latest-v8.x/docs/api/util.html#util_...

[2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
The existence of quines is a nice proof that biology isn't magic. Consider an alternate history in which computer science develops before organic chemistry. Prior to the development of organic chemistry, some common beliefs about life were, for example, that living matter was fundamentally distinct from nonliving matter, and life could not arise from non-living components; and that obviously no mechanism could contain its own description, so the only way biological reproduction could work is if, say, sperm actually contained miniature complete organisms, which in turn contained even smaller complete organisms, in an infinite regress (see https://en.wikipedia.org/wiki/Preformationism).

If, however, you can construct a quine, those beliefs are no longer "obvious". If you can write a program that replicates itself, then you can build a machine that replicates itself--and living organisms might well be such machines.
You can usually promisify the functions that take a callback via util.promisify (although I've done it manually myself as well).
Puddinghead
Well, you're not a very experienced programmer I'll give you that. This list is trivial for the most part. Please, learn to set up a server.
The united states doesn't need to enforce a trade embargo. Cuba's government does not control the united states.
I think more of the population might know what Church of the Subgenius Slack is than Slack the application.
Pleroma does what mastodon't
There are some minor changes, but they are documented in detail [1]. The Idris2 repository maintains tests to detect any further divergence from the book [2].

I highly recommend the book. Typing in examples and getting experience collaborating with the compiler on edits is worthwhile. Even if you never use Idris(2) again after reading it, the demos on creating state machine DSLs with contextual invariants will leave a lasting impression.

[1] https://idris2.readthedocs.io/en/latest/typedd/typedd.html

[2] https://github.com/idris-lang/Idris2/tree/master/tests/typed...
I teach at a university. We aren't (completely) evil sith lords who have somehow tricked everyone with our big conspiracy. And students aren't irrational fools who love to waste their money. We'd love to do more online programs. Everyone has been trying to get them or two going, including us. The problem is most students can't handle them. It's like buying a home exercise device. They usually just gather dust if you aren't surrounded by peers and trainers pushing you to use them.

Over the years I'd say student self-motivation has gone down not up for a variety of reasons, requiring a lot more hand-holding. More people go to college than before, plus in STEM most of our students come from countries where school consists of watching lectures passively then cramming the night before exams.
How many nines is that?
Does Serverless Need DevOps? – Talking Serverless
Seems like you could start with containers to test the model out then move to hardware if the economics worked out. A couple SaaS applications I use right now seem like they are operating multi-tenant on raspberry pi.
The dictatorial regimes in Saudi Arabia, Uzbekistan are not facing the same problems.

Nor the hideous racist regime in Israel.

Castro and I would not get along, I am a dissident by nature, so I cannot bring myself to support his regime. But we cannot blame the economic failures on Castro, now dead, RIP.

The Cubans have done well to survive more or less intact for this long in the face of the sanctions.

It is my belief, some one here may know better, that it was the sanctions that pushed Fidel into the Soviet camp in the first place. He was a nationalist, not really a communist to begin with.

Whatever he would still have been a hideous dictator like most of the surrounding countries.
Which are the "9 ways to transpose"? In general there are 8 symmetries of a matrix, but you might also count reordering of rows/columns or blocks?

I agree that 1,5,9,4,8,3,7,2,6 pattern rotations is there somewhere, either in the columns or the rows of a solution, but that don't make all solutions the same.
My thoughts are its to make something boring and uninteresting into something complex and special - the process of complification I like to call it. Maybe its to charge more to, like the old lawyers charge by the word scam.
Literally my experience trying to use something to calculate distance between two points
For this architecture to work you'd likely have to be able to operate more than one release at a time and move customers along with their database. If you're able to do that then this becomes much less of an issue.
If you think it's confusing then add Angular to this tiny app

Ironically had they run ng new followed by npm install the import instructions would have worked out of the box.

In today’s javascript landscape you have to pick the template to start your project from, because starting from scratch is way more difficult.
I've been learning Vue this year (I'm new to anything JavaScript so that means I also had to learn JavaScript, Node, NPM, We pack, etc.). I'm getting a lot better, but it has been a pretty frustrating experience. There are so many different layers and they are constantly changing what they do and don't use in another layer.

I've been working in Python for the last several years. There's definitely a learning curve there, and I get frustrated with things all the time, but the whole JavaScript ecosystem seems like such a mess compared to Python.

One of the things I miss the most about Python when working in JavaScript is the documentation. And I mean the core documentation from Python.org. The Tutorial is amazing [0]. And you can download the entire documentation already in PDF. Maybe I'm one of the few, but when I'm learning something new it is such a better process if I can leave my computer and read through a tutorial and mark it up.

[0] https://docs.python.org/3/tutorial/index.html
So, in my industry, moving 10,000 tonne loads is routine(-ish).

https://www.youtube.com/watch?v=1Wp41alE8Mg
Poor people all over the Caribbean living in all the destitution described here and then some
Literally what I went through as well just trying to use a distance between two points module... I wish I was a cool front end kid.... but this type of experience is exactly what turns me off from front end dev
Open Letter by Maximilian Schrems to European Authorities [pdf]
Presumably they have a lot of California users? Likely goes against CCPA as well.
Last I checked Pleroma doesn't even have moderation tools, let alone message franking.
If you have 500 medium customers and you need to add sharding to a multitenant production behemoth, it's not trivial.
An import 500 modules in the process.
Curious, how is India Today generally regarded in India? I ask because to me the style and tone of this article sounds like something that came out of an elementary school newspaper. E.g. "It was still the talk of the town but for all the wrong reasons", "could be the result of Google removing user reviews so that the app could get some balance." The hackneyed cliches and oddly stating a presumption as fact just strike me as extremely juvenile.

I'm in no way saying US news is better, and it is often times much worse, but it's usually not worse in the way this article is.
Data Mining Can Help You Get a Competitive Edge
This is brilliant. How do you use this though? I am not from JS background. A video tutorial on how to use this on my own website would be great.
Given how much we now know about the history of the opioid epidemic, how much we now know about how cigarettes/alcohol have been advertised throughout recent history and what the motivations were behind those advertisements, I feel like this is a particularly naive comment.

Nobody gets up in the morning and says, "gee, I'd really like to introduce a high-cost, crippling dependency in my life." Understanding that and treating drug abuse like a physical/social disease has turned out to be a surprisingly effective social policy.

It's not clear to me why addicted people should be treated differently than anyone else in any other challenging situation. Certainly once someone is addicted to a drug, there are obvious biological forces preventing them from quitting cold-turkey.
> But at least I can just download a .py file (or a bunch of files) and just import them

Unless you have a Python version locally that doesn't support some features used in said .py file...
Haha the only comparable file I'm aware of is UIView.m, which I believe is 900kb
I wish that type of experience would be uncommon, rare, exceptions... But in my perspective is the real true state of front-end today. Everything is broken from a outside perspective, so much changes happened that for me learning the overall Common Lisp specification (from 1000+ pages) it's more easy to do JS dev stuff on browser.
Couldn't you just unplug the computer?
Upcoming Machine Learning Conferences of 2020
Compared to Haskell, it was slow indeed.