skysight-inc/HackerNews huggingface dataset:
Knowing the solution is the easy part. The hard part is how to get there, and how to keep the solution working.

"All governments taking responsibility simultaneously" is not something that ever happens. And even if it did, in a moment of selfless reflection of all global leaders, weaker economies will still have a powerful incentive to relax the standards to compete better with stronger economies. I don't have a solution, I'm just saying how things are. Restricting the ability of multinationals to play countries against each other would help in this matter, but it would probably gum up the economy too hard to be worth the attempt (not to mention, it would have to be another thing most governments would have to agree on simultaneously, otherwise the ones to attempt it immediately lose).

The overall point is: it is a tragedy of the commons, just not a local one - an international one. The solution to tragedy of the commons is to have a higher authority unilaterally force participants to limit their use of the commons. But we don't have any higher authority above nation states, so we're ill-equipped to solve tragedies of the commons at international level.
Anti-trust enforcement can take many forms -- breaking companies up is just one of the most extreme and obvious ones -- but often just the threat of action was enough since for a while the US government backed it up.

A big reason Bell Labs was created and perpetuated was because AT&T feared being broken up. Bell Labs was effectively a PR vehicle they used to show the US government that they were giving back to the community, and an excuse to continue operating as a de-facto state-sanctioned monopoly. Today's toothless FTC and DoJ don't really inspire that kind of fear.

Source (sort of, paraphrased) - This is a big theme of The Idea Factory which describes the heyday of Bell Labs.

(Edited to further develop my thought)
And tkdu, which is abandoned, but still works great. You can pipe the output of du into it, which is useful if you want to visualize a remote server.

https://github.com/daniel-beck/tkdu
Non-signupwall: https://archive.is/GfOUF

Aside: Companies, please stop using Medium for your corporate blogs. It’s super unprofessional.
It's a sensible and valid answer that wouldn't raise any eyebrows on my part.
A related question came up in Andrew Przybylski's 2019 GDC talk about the science of gaming addiction.
https://www.youtube.com/watch?v=vVwu4RDChsY

Q&A from 49:30 and at 59:30 are relevant. Someone asked about the responsibility of those who looked into these kinds of things; and about "if we have facts about addiction the bad people will use them".

Przybylski argued that it's better to have the facts about how people behave, rather than act based on opinion.
For things like docker simply parsing the help isn't enough. Docker's environment can get pretty complex, pretty quick. There are a thousand different arguments that require different kinds of inputs (think ports, mounts, images id, container I'd and much more). You cannot figure out what the argument type is from just the help or manpages. This is the case for many, many applications.
Huh, weird. I would have assumed deficiency would be inversely proportional to amount of sunshine. Do people in northern europe really experience so much more “sun on skin” time or is it wholly diet driven?
I think in some ways spreadsheets are visual programming tools. You have data, functions and layout / presentation, all working together in one space.

I think this is one of the draws of spreadsheets for simple "programs" and non-programmers. And of course, spreadsheets are ubiquitous.
Is it, or are you confusing population growth with immigration?
So, what do you make of the fact that most electronic / avant-garde music composition students learn Max/MSP and are in general quite succesful at it without even a computer science background
> I'm not sure where "Disk space is the only variable that people even know to complain about" did come from, but games use 100-150 GBs nowadays, so things like 17 MB are basically irrelevant unless you do verrrrrrrrry specific stuff

If you have a phone with 8G of space like I do, obviously games which require 150G are beyond my means. How does this work towards disk space being irrelevant?
I have been working from home for the past 2 years.

Pros: I save an insane amount of time due to not having to waste my time commuting. Even a 10 min bike ride takes much longer in reality since you have to properly dress, come in, out, settle down, prepare etc... So I have much more free time.
Also no distrations is 10/10. We have an open office and the distractions cause a severe drop in my productivity.

Cons: connections, and I'm not talking about "nice to see a human face" or that kind of mundane-waste-of-my-time-BS-water-cooler-conversionation.
I'm talking practical things: business connections for example can only be done face-to-face, there is no denying that "many businesses/connections get done during the smoking break"
It seems like you can set PublishSingleFile true with self-contained false, isn't that what you want?
Could you go into detail why you think that a hypergraph is needed? I think every program can be represented by a directed graph of basic blocks.
I always feel that Automattic don't get enough credit in these articles. Over 1000 employees in 70 countries and no central office...
If the goal ever reached (personally I'm confident in the long run, but not sure about the time frame), it must be the present government.
Why, because CCP represents the majority of the people, not the capitalists.
You would be surprised as to how creative the repo man can get ;)
I like going to the office because it offers a very nice solid separation between "home" and "work" life.
I have been working from home for the past 2 years.

Pros: I save an insane amount of time due to not having to waste my time commuting. Even a 10 min bike ride takes much longer in reality since you have to properly dress, come in, out, settle down, prepare etc... So I have much more free time. Also no distrations is 10/10. We have an open office and the distractions cause a severe drop in my productivity. All talks can easily be had through Slack. In fact I much prefer Slack since there is not BS time wasting: you have a talk with a VERY SPECIFIC agenda, nothing else.

Cons: connections, and I'm not talking about "nice to see a human face" or that kind of mundane-waste-of-my-time-BS-water-cooler-conversionation. I'm talking practical things: new business connections by meeting random people for example can be easily done face-to-face without sending any cold emails, there is no denying that "many businesses/connections get done during the smoking break"
hi wrnr,

can you explain your graphic? what is the difference.between (2) and [2]?
Only if you assume what shore he's referring to.
What is usually measured is the calcifediol - aka 25(OH)D - in the blood. It is the liver that produces calcifediol from cholecalciferol - aka vitamin-D3. The kidneys (mostly) then turn that in calcitriol, the actual hormon.

Vitamin-D2 aka ergocalciferol works similar in that is is eventually converted by liver and kidneys into calcitriol.

Ergocalciferol, calcifediol and it's various precursors can indeed be stored in fat tissue.

It is unclear however how severe covid-19 can affect the kidney and liver functions relating to this and release of substances from fat tissue.

Right now a lot of research seems to point in the direction that vitamin-D deficiency can indeed lead to more severe covid-19. At the same time there is different research suggesting that covid-19 itself messes with vitamin-D levels as well.
> Text-based programming is limited in dimensionality. This can become very constraining

In contrast, I've often thought that visual programming tools are much more limited dimensionally, and that's why they can become difficult to manage beyond a low level of complexity: you only have two dimensions to work with.

With the visual programming tools, the connections between components need very careful management to prevent them becoming a tangled and overlapping web. In a 2D tool (e.g. LabVIEW), you could make a lot of layouts simpler by introducing a third dimension and lifting some components higher or lower to detangle connections - but then you'd face similar hard restrictions in 3D.

Text based programs suffer from no such restrictions; the conceptual space your abstractions can make use of is effectively unlimited, and you can manage connections and information flow between pieces of code to maximize readability and simplicity, rather than artificially minimizing the number of dimensions.
you know what always grinds my gears... the fact that everyone stops short of reminding the normals that litigation in private aviation lead to the fact that the final Cessna 152 was produced in 1985
I recommend this talk about depression and software developers: https://www.youtube.com/watch?v=yFIa-Mc2KSk

There are newer versions of this talk, but I think this one has the most powerful storytelling.
Open-Source, Support for Markdown format, Seamless integration with TravisCI/Wercker, Free hosting for static content. GitHub checks all the boxes. BTW I don't know about askalmanac. WYSIWYG is inbuilt in GitHub for Markdown.
Have they ever been alive, though? They seem more of a PR stunt, to show shareholders that the company is invested in the future.

In my country, if you land a job in such a lab, you know you can bullshit around and play with with some stuff. But nothing will ever come out of it. For profit, the corporation will acquire some product or startup.

If you really want to innovate freely, found your own startup. With the additional benefit of reaping the money yourself.
I really don't understand the discussion around the first bug. Either something is over simplified, or is it just an issue of a bad abstraction?

This issue (other side closes connection) is so fundamental to all networking code, I don't see how the use specific use case (MySQL idle timeout) is special. The connection pool also doesn't sound relevant - the same would happen if the caller is keeping the same connection (socket) and using it.

For this class of issues - this is the easiest case to deal with - the other side sent a FIN and we got it! Our kernel knows that this socket is closed (doesn't matter if fully closed or only half for this case).

So if you would do a select (or equivalent) call for the socket it will not return as writable (and will probably return in the exception case), and you'll reconnect.

If you don't use select - the write will fail immediately, and I would guess that at the worst case, you can see that 0 bytes were written?

So the problem here was just that the wrong error was returned through the multiple layers of abstractions? Why not propagate the error correctly? Or handle the re connection in a lower level? Trying to "Ping" on the application level is such an overkill and misuse of resources. Do we really want to have an extra round trip for every action we do on a DB?

Of course, as someone else pointed out, there are much harder issues to consider - silent disconnects, proxied connections where the proxy didn't propagate the error, failures on the DB level, and so on.

EDIT: I see now that another comment mentions that there is a specific error code in MySQL clients for lost server.
Just about everything in the article doesn’t pass a sniff test to me.

Aside from the issue you mentioned, the article seems to be making the claim that we have less innovation today. Which just seems like a ridiculous claim to me.

It also mentions “pervasive short-termism” as an obstacle. It might be in large public companies, but it’s certainly not in the private equity markets. Innovative companies have access to huge amounts of capital, and can stay unprofitable for such a long period of time that many people think we’re in a bubble. Multi-billion dollar valuation and “may never be profitable” is perfectly ordinary these days, and certainly doesn’t lend any credibility to the authors argument.
I think a lot of this recent remote trend (Twitter, Square, Coinbase) will eventually reverse itself in most roles outside of IC engineering.

The reason is that while remote/WFH works well for people who are largely executing already formed plans, it's the planning of new work that requires the most interpersonal work/subtle communication/high bandwidth communication. So companies are finding that they are executing well right now because they're just working on shipping. But when it comes to making decisions for upcoming iterations, the technology won't support the communication types needed. Yes, fully remote companies can exist, but they're limited in size to those companies where the product vision can come directly from the CEO, so that the strategy, roadmap, and funding allocations just sprout fully realized.

I have no doubt that Apple engineers can (and will) design the next generation of Apple Watch while remote. I have a lot of doubt that they could invent the next multibillion dollar technology category, and get the internal political work to physically realize it, while remote.
A problem with the emphasis on CBT over the past couple of decades is that it cannot work for a fair percentage of chronically depressed people because it emphasizes challenging negative thoughts on the assumption that they are untrue.

The problem is, what if you have depressing thoughts that are totally rooted in reality? CBT doesn't have a very good answer for that.

There are other strategies and models. IPT. Psycho-dynamic. ACT (which does address the gap I refer to above).

So, a patient may well have to shop different practitioners, clinics, and models to find one that addresses your needs. After all, the response to a bad haircut is to find a different stylist, not to give up on haircuts forever.

Out of pocket costs can get excessive. If price is a major factor, consider university teaching clinics, which can often provide talk therapy (generally with student therapists, and quality/interest can vary a lot) on a sliding scale based on ability to pay. In SV, for example, there is the Gronowski clinic staffed from Palo Alto University).
I strongly dislike working at home but love the flexibility of a remote job. In fact I wish the remote working community would adopt a different philosophy, less focused on work from anywhere and more on create an office anywhere. As in, you can make any space into a work space, but every space doesn’t become a workspace automatically. Without a change of location, the day seems become an amorphous unorganized mess.

My ideal set up is a small private office about 5-10 minutes walk from home, preferably with a cafe and gym on the way.
Yes it does, I'm using it right now. Safari 13.1; macOS 10.15.4; 2014 MBP. Nothing special here, it just works (though I normally use Brave).
The domain name made me click on it but it has nothing to do with Elliott computers, who were based in Borehamwood, England: https://en.wikipedia.org/wiki/Elliott_Brothers_(computer_com...

Their best known computer was the Elliott 803: https://en.wikipedia.org/wiki/Elliott_803

Tony Hoare used to work at Elliott and wrote an Algol 60 compiler for the 803.
You don't need a round-trip, you can push a ping request into the pipe immediately followed by your actual query. You don't care about the actual result of the ping unless your query fails - "if the ping also failed, this was a dead connection so I can retry the query, but if the ping was OK and the query was not, the query failed"
But isn't the experience pretty much the identical? Google, Bing and DDG look essentially the same; the two main differences are the colour of the lipstick, and the search index. The main experience - type in words, get suggestions while typing, confirm and have it show relevant webpages + various info/image/videoboxes - it's universal now.
That's another good reason.

I know of coworkers who are single and really looking back to get back to the office because they are sick of being alone in their small apartments for days at a time.

I also know of coworkers who are married with family and can't wait to get back to the office because they need to take breaks from their spouses/kids from time to time.
Well, what should the code do there?

At that point, the status is uncertain, there's potentially a problem but IMHO there's nothing the code can do to reliably recover from it.
There is Prometheus [1]. It has bindings for pretty much all languages and integrates nicely with Grafana [2], which is used to plot Prometheus queries onto nice-looking dashboards. I have been using Prometheus for many projects and couldn't be happier with it. It's incredibly small, fast, reliable, and memory-efficient. On one of my clusters, it has been 2 years without any prometheus downtime.

Most commonly used infra services, e.g. databases like postgres, Minio, Kafka, Docker, or k8s, ship with Prometheus metrics out of the box, so you don't need to setup anything to monitor these. Just enable the metrics endpoint. It also integrates with long-term storage (like timescaledb) for more advanced queries on historical data.

Alternatively, there is InfluxDB. I haven't used it, so I can't speak to the differences. These seem to be the two big ones, I'm sure there is a whole range of smaller "startup-ish" competitors/projects as well. Splunk or other log analysis systems are another option I see commonly used. They are not a metrics store, but many companies seem to "abuse" their logs extract metrics. IMO not a good idea.

[1] https://prometheus.io/

[2] https://grafana.com/
Is there any demo to look at ?
Not everyone, let's say me, plays games. I find it insane that I am installing software packages that take up 10s of mbs or multiple gigs in some cases. It's just plain lazy in most cases that I saw. Maybe for games it's different, but I have a 256gb ssd in my macbook and it's complaining all the time it's full, without games; I don't find anything like this irrelevant. There is almost never a need for huge packages (maybe outside games, I don't know about that, again).
Ask HN: AI and Philosophy
It is hard to ask a question one doesnt know how to ask. Pardon the vagueness.

On thisXdoesnotexist

X can come in different encodings

- a song as sound input, images of score sheet

- a poem as text, or images of the text

- a face as image or some other representation

- etc

This sounds strongly related to Plato's theory of forms
https://en.wikipedia.org/wiki/Theory_of_forms

Is this ultimately a change of basis in linear algebra terms?

As opposed to the technology side of AI, how much is the philosophical (but practical) side developed? What is good reading on the subject?
I used to think monopolies were inherently progress limiting, but as you point out it's a mixed bag. Bell labs was an amazing center of innovation even as AT&T stifled the telephone market. Not sure corporate labs could exist today with the self-defeating (and legally incorrect notion) that the primary duty of a public company is to make money for shareholders. That philosophy today would/will prevent large companies from investing in their own future via plush corporate labs. There's a great quote from Alan Kay that Xerox did actually make enormous profits from their Xerox Park labs, as the labs invented laser printing, but Xerox decided not to make trillions by pursuing their invention of graphical personal computers and ethernet.
What an ill informed comment - Google, Microsoft, Facebook are among the largest producers of original research in CS, especially for machine learning these days. You can look at any major conference in the last few years, and it will not be surprising to see one or two of these names being at the top in terms of papers contributed.

You're partially right if the argument is "basic research" = less applied fields / "purer" math, but even there Microsoft research has been a significant player in the TCS and optimization community.

A lot of the current research done at universities is also funded by these organizations, either via grants (monetary or equipment like from Nvidia) to research labs, or scholarships and financial support to students. A large part of AI advancement in the past few years have been precisely because of the amount of effort these firms have put in (along with a lot of others, they are just the most public).
Because complex programs ramp up in difficulty of reading and consumption (i.e "looking at") way faster than text does.
I noticed this a lot more on signs and posters when I moved to Singapore earlier this year. Back in Melbourne, design seemed a lot more varied, but everything here is the same style. My guess is that a lot of the signage is from government agencies here who hire the same design teams?

Anyway, design trends come and go. We have seen this in the last couple of decades with the heavy skeuomorphic designs found in earlier Apple products and then later the “flat design” trend.

I’m curious what the next trend will be?
Show HN: Python package to collect normalized news from almost any website
🧙the Dark Art of A/B Testing (Part 1)
> I know bookmarklets basics. What I wanted to know is which API calls you used inside of the < 2000 character bookmarklet to achieve the functionality you described.

To create the archive data, I used an Uint8Array where I wrote the bytes into.

To download the images, I used XMLHttpRequest.

> I also believed that the bookmarklets are limited to the security context of the web page

That seems to be true unfortunately. However, besides the images on the same domain, it should also be possible to download some more images from other domains by allowing cross origin requests if the remote server cooperates and sets the respective header. but I have not looked into that yet.

The bookmarklet is here if you have more questions: https://github.com/983/FileDownloader

It is a bit larger than 2500 characters now since previously the code was optimized for size. Now it is slightly more readable.
And Warzone 2100 http://wz2100.net/
If we can do that (and don't pay a sluggish start up time as some mentioned we currently do) then yes, absolutely.

It doesn't bloat the executable with binaries that are already installed on the machine, and the executable benefits from future updates to the framework.
I've been using Google sheets to curate the remote jobs from many job sources. It's a really an easy database for me since I have limited database skills.

Also, Airtable for some cases and when it's relevant.
Just curious - are any of the these bugs possible in Rust?
Thanks for your response.

Agree with your first point - all my friends are in tech with decent incomes.

Disagree about people claiming there are no downsides - people I've seen generally accept the "cost" of kids (monetary, physical, personal etc). But the benefits of kids seem to be outweighing these costs. I agree with you that it is not socially acceptable to regret having kids, so some of them might be lying. Only speaking for myself, I am pretty happy.

And lastly, there is another factor to add to your analysis - the culture. Almost all my friends are immigrants to the US, coming from countries with much higher birth rates and very different attitudes about family or having kids.
Yes, What is difference between ie. CO2 and other thrash we already producing (as society). So far we didn't accepted that we need 'pay' or handle CO2 as rubbish (while PPM constantly growing). But take your dog poo in park or pay fine (Plastic anyone?). Again, What is difference ?
Yes. Store the document on OneDrive. Give people a link to the document and you can all collaborate on the same document in real time. Onedrive also has version history so you can revert / see / compare previous versions
How often does the average programmer come up with a new sorting algorithm?
The Joy of Anarchy
CompletableFuture is the closest concept in Java, to my knowledge.

java.util.concurrent has a ton of great classes. If you need to do shared memory concurrency, it probably has something there to help you.