skysight-inc/HackerNews huggingface dataset:
I couldn't disagree more. Modern democracies only work if large parts of the population are educated enough to hold informed opinions on matters of public policy, at least in the topics they care about. A lot of the problems we see today can fundamentally be attributed to the failure of reaching that goal and leaving room for demagogues, misinformation and outright lies to manipulate people into voting against their own interest and the common good.
30 ago I worked at a place where we had a server room full of Sun boxes and a Symbolics Lisp Machine. The server room was a repurposed office to which some A/C had been retrofitted. On one occasion the machines started randomly glitching. The first clue that the A/C had failed was the Symbolics printing 'help I'm getting hot' (I paraphrase) to a console I was monitoring out in the main open plan.
Arch Linux with the yay helper.

Just typing `yay app-software-name` and hitting enter a few times to install any app, no matter how obscure, or proprietary it is (at least for me 99% of software I use is included in the arch packages or the AUR). Unfortunately the installation procedure for Arch is quite daunting at first, but the Arch wiki helps a lot and you can use Manjaro which is presumably user-friendly.
More magical, your object files reside on a network shared drive that has a clock slightly different than that of the compiler machine.
Yep, IMAP is a pretty stupid organizer. Some servers also support a feature: when you upload a message into outbox folder, the server picks it up and sends to the specified recipients.
Also probably a necessary evolutionary trait to spend the resources necessary to raise a child. If our brains didn’t reward us for child raising, our species would’ve ended 1 year after it started.
If all that went wrong with tools was that they broke, the rule of thumb could be: when you break a tool, replace it with one twice as expensive. When you lose a tool, replace it with one half as expensive.

Like the power-of-2 realloc trick, the amortized cost of finding the tool you need is at most 2x.

But cheap tools do something worse than break. They ruin work, they frustrate you, they can be dangerous.

(Perhaps in KK's youth, the cheapest tools were still acceptable. But today, the cheapest tools literally cannot do a single instance of the task they're ostensibly made for.)
Ya, anytime a site uses a contenteditable element, they usually need to listen for paste content and do things like stripping html tags and whatnot. Basically any wysywig style editor like a Facebook post.
If that metaprogramming is Turing complete then yes. The point of this article is to show that metaprogramming in C++ is Turing complete. It had already been widely known but this article presents an explicit demonstration of it.
A headers frame before content is just equivalent so „sending headers“, since Http/2 also only allows to send headers once per Stream unless those are informational headers. In the same fashion, sending a headers frame after content is equivalent to „sending trailing headers“ - which are allowed to be sent at most once after the body (which may be empty).

Therefore the fact that there is a frame involved doesn’t really matter.

HTTP/3 doesn’t change the HTTP semantics: Peers are sending 0-N informational headers, 1 set of request headers, a stream of body data, and 0-1 set of trailing headers. Therefore gRPC should run fine over it at long as the underlying HTTP library exposes all those necessary features.
Wow. That is indeed weird.

I also kind of started doing graphics with libreoffice, even though that did not exist back then. But ... I switched after I saw, what programs can do, that were designed for graphics ..

But if you are happy with it, why change.
I adapted the code from the original paper from https://github.com/bhatiasiddharth/MIDAS/ .

And from one of the issues(https://github.com/bhatiasiddharth/MIDAS/issues/7#issuecomme...), M can be any reasonable value because it's just used to compute the edge hash (https://github.com/steve0hh/midas/blob/master/edgehash.go#L4...).

Hope it clarifies.
That's already shifting the way you look at things. You'll still have to deal with the infection, but you aren't hating your finger.
Interesting essay. Not to pry, but how old are you? pg went to high school in the 80s, and as someone who attended more recently, most of his points read like artifacts of the time--something with more resemblance to a John Hughes movie than real life.
I’m a startup founder, and this is how I’m navigating a second economic crisis
Learn How to Lower Your Business Financial Risk During Covid-19 (Free eBook)
If you've got 7 people maintaining millions of lines of code, you're going to have a heavy burden no matter what you do. Extracting a service does not a priori simplify anything. It can encapsulate and enforce a more strict boundary, and optimize compile time or test suite throughput and operations for the extracted logic, but it always comes with overhead, and if the interface between the services is not well-defined and stable it can easily be a net-negative in terms of productivity as you are now giving up your in-language tools for distributed systems tools. Now if you have large swathes of code stable functionality, then it's easier, but at that point why not just isolate modules within the same codebase?
Also, the cost of mastery is probably too high for some markets and companies.
REITs are in the gutter. Look at ETFs like ARR, TWO, AGNC over the past year.

Indices like DIA, SPY, QQQ don't have much of this, though.
I had similar thoughts. Regardless of whether or not it's "good writing" in itself, it is definitely in need of a good edit.
I thought it was just me! Drives me absolutely MAD sometimes. It seems like it'll work sometimes, and not other times.
I love programmer stories like this. My favourite personal experience was on my first Ruby on Rails project after first moving to London. I was pretty green at the time, having had only a few years of PHP experience under my belt and little else.

We had to build a Rails app around a poker game. We didn't own the source to the poker game or its API, but we had to embed it nonetheless. We had this really strange issue where some people, under a certain circumstance, couldn't get into the game. It would just boot them out. Me and my team mate must have poured through the Ruby code dozens and dozens of times and found no evidence of this bug, no ability to reproduce it; bearing in mind I was still learning the ropes and jumping head first into an unfamiliar codebase is quite daunting.

Eventually I decide to get my hands dirty and I start poking into this game engine. We embedded it as s flash widget, but the server doing most of the work was written in a mix of C++ and Python. I didn't fully comprehend what I was looking at but, even though things looked suspicious, I couldn't put my finger on an actual problem until I looked at the API written in Flask and noticed that one line of code didn't look like any other.

some_value = params['some_key']

If the request didn't contain the parameter `some_key` then this would raise a KeyError.

After maybe three solid weeks of trying to debug this thing, I submitted a one line patch:

some_value = params.get('some_key')

It's not quite as weird or as fun as most examples but for me personally it was such a great lesson in debugging and being curious about unfamiliar stuff, rather than closed off or afraid.
Isn't covid-19 the #1 cause of death in NYC right now? And not, like, starvation?

Saying the cure is worse than the disease shows a frightening lack of both empathy and objective reasoning. I don't want to construct a strawman, but I worry that what "reopen" people are really saying is "I don't care if X% of the US population dies - as long as I'm not one of them - if it means I can try to go back to normal."

And try is the key word there. I would argue the main thing keeping people at home is not stay-at-home orders, but fear. Correctly-calibrated, sensible fear of getting a disease that has better odds of killing you than lots of other sources of risk in modern life.
Which makes putting an annual figure for candidates who all might be useful at solving some of the company's problems but not necessarily the same ones to the same extent even less of a logical starting point...

There are loads of jobs that post exactly how much they're willing to pay, it's just that they're the ones which consider workers with the minimum level of experience to be a cheap, undifferentiated commodity they won't in any circumstances pay more than the fixed rate, and the rates tend to be in the $12 per hour range
In many parts of the world, what the original comment describes is simply a normal day; the only reason Americans typically do better than that is our strong economy. We know what economies without strong quarterly profits and Ruby Tuesday look like, and they don't support the modern American standard of living.
Aristotle's conception of eudaimonia, happiness consisting in "activity of the rational soul, conducted in accordance with virtue or excellence"[1] helps here. Lack of such activity perhaps leads to ennui.

Not entirely in the individual's hands, as he goes on to say "Someone who is friendless, childless, powerless, weak, and ugly will simply not be able to find many opportunities for virtuous activity over a long period of time, and what little he can accomplish will not be of great merit. To some extent, then, living well requires good fortune"[2].

Surprised I didn't see this mentioned in the article. An adjacent, perhaps more controversial, formulation of this point: Meaninglessness can be countered by the voluntary adoption of responsibility. (e.g. having children)

[1] https://plato.stanford.edu/entries/aristotle/
[2] https://plato.stanford.edu/entries/aristotle-ethics/
Also watch for code that runs off the edge of the screen, to the right, while editing in an app with horizontal scroll bars.
There's a smarter attack...

Every node in the network 'owns' some of the keyspace.

Karen can simply keep reconnecting to the network (brute forcing her PeerID, which determines which bit of the keyspace her node will be responsible for) till she gets assigned that bit of keyspace. Then she can black hole requests to it.

You can defend against that by having multiple owners for a given bit of keyspace (known as quorum in the IPFS design), but evil Karen can simply pretend to be all of the machines hosting that bit of keyspace.

The brute forcing sounds hard, but in a million node IPFS network, on average you only need to do 1 million sha256 hashes, which takes under a second on modern hardware.
Yes, Treasuries Do Have Risk
My son's school started remote classes this week. More than a third are missing in action. Naturally it is the third that benefited the most from the structure and support of school.
> Chrome's memory management is abysmal.

This was true (I no longer use Chrome and don’t know if it’s improved in the last two years). Chrome needed enormous amounts of memory compared to Firefox. Using RAM is not an issue as such, but it makes other applications running at the same time miserable (and the user too).
The author rediscovered Newton's method. Next in line is the realisation that Hessian can be approximated and we will see the rediscovery of BFGS, L-BFGS, etc.
Twitter API in JavaScript – Twitter Monitoring Tutorial
Have been considering encrypting locally (which pCloud already does, but at the cost) using File Guard extension on Chrome, and Cryptomator on Android. All encryption passwords to be stored in BitWarden.
There’s a fair bit of debate about the impact of learning specific programming styles as your first language. Quite a few people would argue that learning functional programming first is a benefit to understanding the concept of state and how to write clean code, even if you end up using something less pure.

Certainly, speaking as someone brought up on imperative and later OO code, it took a fair bit of unlearning to understand functional programming, and I still have no clue about type theory.
This is a great idea!
It can be very useful for my digital agency.
Thanks -- this is precisely why I post to HN. Other thoughtful perspectives are really valuable.
Category Theory explained to a six year old, because Functional dropped the ball
> I recently got an email from a hedge-fund trader who said that though he was making millions every year, he felt trapped and empty, but couldn’t summon the courage to leave... Maybe we can form a group and confront our addiction together... Let’s create a fund, where everyone agrees to put, say, 25 percent of their annual bonuses into it, and we’ll use that to help some of the people who actually need the money.

On that thought, when I first stumbled upon it, I found real value in jefftk's [0] earning to give line of thinking [1].

Since it is Ramdan right now, most Muslims would voluntarily [2] and obligatorily [3] give away a portion of their wealth to the welfare of the others.

[0] https://news.ycombinator.com/item?id=20829330

[1] https://www.jefftk.com/p/the-privilege-of-earning-to-give

[2] https://en.wikipedia.org/wiki/Zakat

[3] https://en.wikipedia.org/wiki/Sadaqah
Interesting!

All their AWS costs are probably not ride related, but most probably are, one way or another.

The marginal cost for one more ride, is probably much smaller, but I don't know that that is the right way to think about this.
Another reason is that it gives you more agency to adjust your code. Want to refactor? Cool, I don't have to talk to 15 teams about how this might impact them. Same thing with changing a schema, changing scaling strategies, etc, etc. I can do things in 2 weeks that would take 2 weeks of just talking to people on a monolith. That might be more organizational than a technical limit, but I've never seen an agile monolith before.
If a failed businessman can decide he's a stable genius, surely a science fiction writer can decide he's an economist.
I strongly suspect that we’re already in a depression. And much like the last one, it’ll be a serious hammer blow to rural areas.
There has been a shift in the last few years where more "news" like content gets on HN that is not really hacker/startup focused. To me, the "Hacker" in HN is in the sense of engineering culture around making things, not just "technology".

In my opinion topics that are related to tech don't qualify as hacker news. Political topics certainly don't have anything really to do with hacker news.
React's marketing (such as it is) has pushed the "it's just a library" and "it's just the V in MVC" hard. I think folks can be forgiven for thinking those notions won't entirely fail to describe the real world experience and use of React in ~100% of actual projects (and even more so now that ditching legitimately-actually-quite-portable Redux for hook-centric logic is trendy) and being a more than a little surprised and perplexed when they do.
Excellent! Will have a look at both! Thanks!
> Startups

The problem with a lot of startups is that they aren't making a profit when everything is going fine, let alone during a world wide pandemic, sometimes for years.

I see it as a wake up call for tech. It will suck for many people but in the long run it might be positive for the industry.
Or you use suitcase to make a GUI for this tool ;-)
The number of people who say they're going to is vastly lower, certainly. But I don't think that people's attitudes during a mandatory stay at home order are reflective of what we'll actually do once it's clear the worst is behind us.
My guess is that the product managers know that dark mode does not move the needle for customer acquisition or attrition.

I'm surprised it is still in the backlog, so to speak.
I totally agree with you.

It seems like no one is understanding your point... yes, it's an absolutely terrible idea for people to go back to work right now, but if it's literally between that and going hungry (because you know your government won't do shit to help you), then it's no surprise that some people will want to go back to work out of sheer necessity. In fact I'd be shocked if most of these Silicon Valley tools would come to any different conclusion if they were actually in the same boat.
The whole market relies on consumer confidence and nothing else.

If the future is bleak, they won't have confidence, and cuts their spending, which reinforces the prophecy.

There's no way out of this loop except by massive government intervention. The great depression only ended because of WWII. Now, hopefully we don't go to war this time, maybe try going back to moon?
"Vol de mort" can also mean "Theft of death", as "vol" is both "flight" and "theft" in French. Now you have another problem.
In addition to the other problems GP describes, top-level literature classes should not include "less-verbal learners."
I bombed an interview before because I said microservices can be really bad.
Examples of central planning do not imply a centrally planned economy, just as examples of free markets do not imply a free market economy. Every nation on earth has a mixed economic system (except maybe North Korea?) so let's not waste any more time denying that fact.
Template expansion is not separate from parsing in C++. That's the very thing this article explicitly demonstrates. A program will end up being parsed in two different ways depending on the solution to an instance of Post's Correspondence Problem. In one solution a declaration of x parses into a variable, in another solution a declaration of x parses into a function. Which of those two parse trees is actually correct? That question is not decidable and hence C++'s grammar is undecidable.
It's because of the long term 72-84 month loans. People are trading in used cars for close to the loan payoff amounts - which is still pretty high.
if I rent for 10 years or I pay a mortgage for 10 years, then at the end of the 10 years I have likely paid less in mortgage payments than I would have paid in rent payments. further if I sell my property then it is likely that I could recoup some or all of my mortgage payments, I definitely can't do this with my rent payments.
Liftbridge 1.0
Thanks for the feedback! Sure, feel free to get in touch with us, we would be happy to show you how Knocker can best help your business
NBA Shot Visulation
Journal of Software Engineering Research and Development
Then again, maybe not. Reminds me of the rejection therapy[0] - a self-help game in which you try to get rejected every day. To play, you have to purposefully make requests for things others can provide you, that are outside your comfort zone. Like, asking for a discount at the market. Or asking that person you like out. Etc.

The point of that game is that it's surprisingly hard to get rejected (unless you ask for something completely silly and/or impossible). So if you need something, you may as well ask for it, and stop feeling so afraid and vulnerable about being rejected. Other people turn out to be happy to help or accommodate you (just like you are, if someone asks you for something). I've tried this in the past with some small things, I don't think I've managed to get one rejection. A surprisingly large number of people, myself included, are just more shy than it's optimal.

--

[0] - https://en.wikipedia.org/wiki/Rejection_Therapy
For me as a developer it makes perfect sense: top of the range is equal to company's budget for that position, and if they are not willing to give you top of the range salary then the changes are that some other, more skilled candidate will show up and take the job.

So, simply put: if they don't want to give you top of the range it means that they weren't impressed enough by you, and you should continue your job search until you find a company that is.
> That is, even if child components got -rerendered (in react terms), there might not be a DOM update at all (which is the slow, costly operation).

Crawling a large React tree's render stack is also a costly operation. Not as much as DOM manipulation but it is still costly, and React is created in such a way that it requires you to include everything in that stack, even if it never changes. Which is one reason we have Portals.
90% of my headache with it is that windows won't tell you which program(s) has it open
Maybe bring it up to him with constructive criticism? Tell him the wind tends to change direction and one shouldn't typecast themselves in this field.
Codeless GUI for Mac OS
This is probably the worst thing i read on HN ever. If you grew up with people saying stuff like this i feel sorry for you.
Me too but that would be back to almost normal very quickly if the spread of the virus stopped. The hard work of stopping the spread is taking too long and is wasting the pain that we are causing.
I've been using Firefox (I think it's quantum) for just under 2.5 years.

Firefox just feels like a solid browser and how it should be.

Whenever I need to switch to chrome to browser test, I notice it just feels like a less well made browser.

Hard to articulate.

Edit: not to mention that the logo itself is uber cool!
Hahaha... delay that process for a year...

Poster, you're so out of touch. So far. You have no idea of these kids home lives. Heads up: they give zero fucks about government mandated school education.
> I feel like there is constantly a them.

Sure. We're social primates that evolved in the context of lots of inter-troop and inter-tribe violence. As well as plenty of intra-troop violence, competition, and coalition-building. We are primed to see a "them", because our ancestors not always a little worried about "them" died out. It's like how we're hardwired to see snakes. [1] But as conscious beings, we can choose to indulge the wiring or work against it. Snakes freak a lot of people out, but if they calm down they can appreciate them as cool animals and fellow ecosystem participants.

But I think his point here is that beyond the continuous us-vs-them processing we're doing as social primates, there's a deeper truth. That we're all people. We're all connected. We're all, like it or not, in this together.

[1] https://en.wikipedia.org/wiki/Snake_detection_theory
Getting Started in Stock Photography – 2020
Every single bank in India offers the exact same free payment service (UPI based, which these big co apps are also using, identical in functionality), and that is free just like other bank based free payments. So even if all the bigcos leave India payment market, it won't make any difference at all.

>and instead of charging for the actual service they are providing they will be forced to push a bunch of debt onto the communities that they don't need

This is an absolutely ridiculous argument. Your argument boils down to "Government shouldn't stop bigco from doing anything bad, as then they will be forced to do even more shadier stuff".

>Destroying the most basic business model... Even before the companies get off the ground (article says the gov still only granted access to a million customers) sounds like a terrible idea.

This argument is wrong. First of all, WhatsApp was not granted access to all customers because they said they weren't ready to interoperate with others, i.e, whatsapp users couldn't pay google pay users. A fundamental requirement of UPI is interoperability, so regardless of which app you use, you can pay anyone on any app. This can be avoided if you are in testing stage, like WhatsApp was, but then your acesss is not to all customers.

> Who knows how much the fees could have declined from competition alone? Or whether anyone will even continue investing in it if no model exists.

The fees are zero via any bank app. I don't see how a bigco can ever offer lower fees than the providing bank.
It’ll also discriminate on educational and monetary lines. Highly educated households are better prepared to self educate, both in terms of experience and available resources. While they probably won’t do as well as teachers did, they’ll do better than less educated households, conferring a competitive advantage.