skysight-inc/HackerNews huggingface dataset:
Whoa, that reminds me of the 2011 Obama speech in Alabama where it was misreported that Alabamans thought Obama drank Honest Tea (see video for better context)

https://m.youtube.com/watch?v=dQw4w9WgXcQ
Two keys to readable C declarations:

1. Just read the clumps in a given decl backwards.

2. Keep the decls of individual concepts in code small enough to grok without breaking your brain. While decls can be mechanically complex, ability to reason about and maintain code is a paramount factor. For C, typedef, struct, nomenclature are friends.

You know, returning an array of triplets of function pointers each of which accept more gloop can be made to be understandable with judicious application of the above. I'm given to understand that this overall approach is all the rage in the Go community ...
I totally agree it all depends on the person and the mental state of health
UX Ref a free app for learning about user experience
I might be uninformed but it seems to be "everything is a file" was more or less true when UNIX was created, and then it evolved outside of the academic garden, especially Linux which was a hobbyist project and never strove to have a cleanly designed, rigorous architecture.

Plan 9 does fix this, and I wish so much it managed to be a dominant OS. So many things seem correct. Maybe it's exactly because it isn't used for real use cases that it can maintain its appearance of good design
if you let people like the user above you have their way without offering strong condemnation and resistance, it will eventually happen, yes
Is that not reasonable?
Hi, here are a few things I wrote in here that could be useful. They are designed to improve remembering to do things, doing things, learn from doing things, make sure everyone knows what they should be doing, remember why we're/if we ought to be doing things in the first place, and doing the right things:

- https://news.ycombinator.com/item?id=19924100 (understanding codebases, etc.)

- https://news.ycombinator.com/item?id=22873103 (making the most out of meetings, leveraging your presence)

- https://news.ycombinator.com/item?id=22827841 (product development)

- https://news.ycombinator.com/item?id=20356222 (giving a damn)

- https://news.ycombinator.com/item?id=25008223 (If I disappear, what will happen)

- https://news.ycombinator.com/item?id=24972611 (about consulting and clients, but you can abstract that as "stakeholders", and understanding the problem your "client", who can be your manager, has.)

- https://news.ycombinator.com/item?id=24209518 (on taking notes. When you're told something, or receive a remark, make sure to make a note and learn from it whether it's a mistake, or a colleague showing you something useful, or a task you must accomplish.. don't be told things twice or worse. Be on the ball and reliable).

- https://news.ycombinator.com/item?id=24503365 (product, architecture, and impact on the team)

- https://news.ycombinator.com/item?id=22860716 (onboarding new hires to a codebase, what if it were you, improve code)

- https://news.ycombinator.com/item?id=22710623 (being efficient learning from video, hacks. Subsequent reply: https://news.ycombinator.com/item?id=22723586)

- https://news.ycombinator.com/item?id=21598632 (communication with the team, and subsequent reply: https://news.ycombinator.com/item?id=21614372)

- https://news.ycombinator.com/item?id=21427886 (template for taking minutes of meetings to dispatch to the team. Notes are in GitHub/GitLab so the team can access them, especially if they haven't attended).

- https://news.ycombinator.com/item?id=24177646 (communication, alignment)

- https://news.ycombinator.com/item?id=21808439 (useful things for the team and product that add leverage)

- https://news.ycombinator.com/item?id=20323660 (more meeting notes. Reply to a person who had trouble talking in corporate meetings)

- https://news.ycombinator.com/item?id=22715971 (management involvement as a spectrum)
Analyzing Hacker News, This suggest some books

https://ramiro.org/vis/hn-most-linked-books/
This sounds stressful and complex to track and charge for..

Also, I usually listens to books/podcasts while I sleep, and when not sleeping I usually relisten large parts of them since I often wander away with my thoughts. This sounds horrible from my perspective.
I fear for more olx scams, whatsapp and upi payment will be heaven for scammer.
This was happening long before social media became a thing. As i keep saying, the best thing to do would be to re-instate the Fairness Doctrine.
I did. It didn't get me anywhere. Let me explain why:

Most of the people in my extended family are right-wing Republican Mormons.

They believe that anything that could be labeled "socialism" is literally evil, and will literally lead to the "destruction" of our country, because Eisenhower's Secretary of Agriculture said so, and they literally believe that man was a prophet of God.

I'm not exaggerating here.

A significant portion of these people get their news from Rush Limbaugh, Tucker Carlson, and Glen Beck. They might be a little wrong once in a while, but for the most part, these are "smart men" who "know what's going on behind the curtain".

A significant portion of those people actually believe QAnon. Hell, we have congresspeople who believe that conspiracy theory.

So how did they get there?

They are in a cult. I'm not going to pull any punches: Mormonism is thoroughly falsifiable. It insulates its members from the faith-destroying facts about its history.

Cults work. The belief these people have is so deeply heartfelt that they refuse to even consider the possibility they might be wrong.

Cult members have a lot of practice. If they can ignore reality to preserve their religious faith, they can reject reality to defend their political ideology.

Cult members are vulnerable. Anyone who convinces a cult member that they promote the cult can manipulate most cult members into supporting them.

I know my perspective is only a small part of America, but everything I know about Trump's political base has the same hallmarks. Cults are not a small or isolated problem in America.

I have tried to appeal to them with the overtly socialist agenda of New Testament Jesus. That simply isn't the deity they worship. Most American Christians worship Supply Side Jesus. Conservatism has become a deep-rooted part of their personal ideology.

There are no underlying facts. There is instead underlying fiction. There is no reasoning these people out of their delusion.
Which can be worked around by the user being able to set their default and preferred screenshot app.
Yeah I'm not sure what the point of this thread is.. Is it too little or too much?
Anyone who uses one will probably be wondering why your preferred method of taking screenshots always works whereas theirs is sometimes blocked. The problem hasn't really been fixed for everyone that way.
Clojure: Going Faster Than TensorFlow on the GPU (GTX 1080Ti)
You don’t really need a license use Windows if you don’t care about the watermark.
It's a weird problem. Some application running on the device must accept some user event, such as a key press, mouse click or touch event and turn that in to a request for a screenshot. This is true regardless of operating system. I agree that it should always be possible for a physically present user to take a screenshot and save it, but how can the OS really know if its really the user initiating the action and not a malicious application?
https://www.niklasroy.com/project/31/pongmechanik (2004)

> Pongmechanik is an electromechanical version of the early digital tennis game Pong. It uses computer technology of the 1940's to implement a computer application of the 1970's. The control logic of the game is entirely built out of telephone relays, the same parts that the first digital computers used, which were built by pioneers like Konrad Zuse.
I'm a straight white man (of a certain age) and support for people of colour doesn't make me feel denigrated... Two points we are not all the same... and really we aren't a we at all!
And, importantly, discharge it. Keeping a battery healthy is a moderately involved task, and the circuitry to do it is another-thing-to-go-wrong that's avoidable complexity with just about any other option. Besides which, no matter what you do the batteries will fail out within a single-digit number of years, even under low usage. It's a good option if you need portability, and pretty terrible by almost any other metric.
Something I don't really understand coming from arch, how am I supposed to handle the system installation?

Why is partitioning not part of a config file, but done at installation?
> They still have access to the transaction data, right? So they can build financial profiles on their users, as well as communications profiles (even if only metadata is available) since they dominate that market at well. Seems like a gold mine for intelligence operations.

Definitely. That's what they're all in for.

> Are there laws mandating that the data has to stay on Indian servers and be insulated from the outside?

GOI have started enforcing these requirements but I'm not sure where exactly the situation is right now.

> Or maybe government/public sector employees can’t use these foreign services (seems unlikely)?

Only recently these things have picked up and are considered a serious threat to the nation's security and sovereignty. The defense forces are more serious about it right now but maybe with time it'll change for other government employees too.
Keep trying out new things, new things don't work as I want so I wanna go back to how things were and have to manually "rollback" stuff (see deleting files, changing configs). Also managed to screw up the bootloader and partitions on more than one time. I'm not gonna pretend I'm an expert, I just want a simple system, which Arch really is. But sometimes too simple, requires a lot of reading and understanding, which is usually not a problem, but sometimes it is.

One recent example was me trying out KDE Plasma. Usually I use AwesomeVM but the HN thread about the new Plasma version made me try it out in Arch. After the install and trying to use it for a while, I wanted to go back.

Uninstalling the package(s) is not enough, as it already has been overwriting bunch of stuff and changed configs that are not being rolled back after uninstalling.

Still to this day KRunner launches (via some d-bus command or something like that) when I do my Super+R shortcut, which usually runs the AwesomeVM launcher, not KRunner. Haven't figured out how to get rid of it yet, but got other stuff to do right now, so simply living with it for now.

With NixOS, I'd just reboot and select the previous version where KDE Plasma was never installed.
They may mean that it stops 99% of people.
Then people would get self-conscious about their usage and won't use it as much. Artists might get a better rate but the paycheck would end up smaller.

Also something something credit card processing fees.
> I do also appreciate the so-called experiments by the Chrome team, but my gripe is that they are implemented directly instead of hiding it in flags

IIRC all of them start as flags, and there are tons of them available, most disabled by default. Most move up to stable and enabled by default after some time and testing and feedback though.
For this to make complete sense, we'd have to have statistics that proves that free users and premium users have the same listening patterns on average, and I don't think they do. Otherwise the fact remains that we who pay subsidize artists that are preferred by the non-paying users.

For this reason, the following is the important difference: Other people's money goes there because they listened to it (Rebuttal: Many other people use free spotify, and didn't pay any money).
It's an impossible pricetag only because we don't tax the rich.

Billionaires have taken $50 trillion from the poor and middle class. The poor and middle class are afraid of taxes because they have nothing left to give.
You can use scrcpy (https://github.com/Genymobile/scrcpy) to bypass the policy if you really need to have a screenshot. All you need is to have a Linux laptop at hand, debug mode enabled, and a USB cable plugged in. Super simple stuff right? (this is satire!)

Now, I'm as frustrated as anybody else here that I'm forbidden to use whatever feature I want from MY phone, for which I paid, with MY MOENY (and nobody else's apart from mine). But then again, what choice do I have? Not buy a phone? Switch to what? There are no viable and practical alternatives. It's a "take it or leave it" situation.
> How is a single endpoint for all queries a good idea from both front and back end perspectives

Trying to project complex queries into a list of flat strings (path) is just not good. Having a standardized query language is much better.

> How is writing queries in the front end and exposing those queries a good idea

It's better than making x technical requests for one semantic requests because it's easier to keep track of what is requested and what is just correlated by time.

> How is exposing the back end data structures a good idea?

If you do that with either REST or GraphQL you are either doing it wrong or you care about speed a lot and generate your graphQL from your backend structures.

GraphQL is especially nice if you have one backend and one or two frontends that you control.
His actions in the middle east have been far from universally positive (not that any American president in 50 years has done any good there).

He has supported Saudi Arabia with weapons to help their slaughter in Yemen.

He has reneged on the Iran nuclear deal, proving for the second and probably last time that making deals with the USA is a fools errand (it's the second time the US has reneged on a deal with Iran; I doubt there will be a third).

He has publicly assassinated a high dignitary of Iran, during an official visit to a different country, an act of war by any measure.

He has moved the US embassy to Jerusalem, an extremely inflammatory decision that further stops any remaining chance that the USA can ever be seen as a negotiator in the Israeli-Palestinian conflict.

Overall, while maybe not as bad as Bush and Obama in direct deaths, his legacy has shut down any hope of peace in the region with America's involvement. So I wouldn't rank him too highly on this area.

Let's also not forget that he has unilaterally cancelled the USA's nuclear disarmament deal with Russia, another extremely anti-peace move, one that will have far-reaching consequences.

The only truly decent external policy that he has shown is his handling of the North Korea crisis - that was a true diplomatic success by any measure, which I gladly admit.

And of course, we shouldn't forget that all of his other horrible decisions pale in the face of his anti-climate moves, which have likely helped push the world over the brink.
If it does it by aggregated listens and not by artist, then other people listening to some other artist diverts their funds to that artist.

If they did it per user, that wouldn't happen.
Are third party programs allowed to save screenshots unbeknown to the user in the first place??
@db48x
> but how can the OS really know if its really the user initiating the action and not a malicious application?

Isn't it sort of a responsibility of an "operating system" to know that stuff?
>how would we feel if someone said at the end of each week...

I'd laugh at him because my work cannot be downloaded and copied freely.
Considering the whole reason whatsapp pay got delayed in launching due to data storing requirements (all data to be stored strictly in India). I think we are ok on that front for now
> As our election systems come to depend on electronic solutions the attack surface increases significantly.

Totally! You should see this 30 second clip on election fraud attack vectors:
https://m.youtube.com/watch?v=dQw4w9WgXcQ
Alfred Marshall, Principles of Economics (London: Macmillan and Co. 8th ed. 1920).
https://en.wikipedia.org/wiki/Principles_of_Economics_(Marsh...

---8<---

The relative fall in the incomes to be earned by moderate ability, however carefully trained, is accentuated by the rise in those that are obtained by many men of extraordinary ability. There never was a time at which moderately good oil paintings sold more cheaply than now, and there never was a time at which first-rate paintings sold so dearly. A business man of average ability and average good fortune gets now a lower rate of profits on his capital than at any previous time; while yet the operations, in which a man exceptionally favoured by genius and good luck can take part, are so extensive as to enable him to amass a huge fortune with a rapidity hitherto unknown.

The causes of this change are chiefly two; firstly, the general growth of wealth; and secondly, the development of new facilities for communication, by which men, who have once attained a commanding position, are enabled to apply their constructive or speculative genius to undertakings vaster, and extending over a wider area, than ever before.

It is the first cause, almost alone, that enables some barristers to command very high fees; for a rich client whose reputation, or fortune, or both, are at stake will scarcely count any price too high to secure the services of the best man he can get: and it is this again that enables jockeys and painters and musicians of exceptional ability to get very high prices. In all these occupations the highest incomes earned in our own generation are the highest that the world has yet seen. But so long as the number of persons who can be reached by a human voice is strictly limited, it is not very likely that any singer will make an advance on the £10,000, said to have been earned in a season by Mrs Billington at the beginning of last century, nearly as great as that which the business leaders of the present generation have made on those of the last.

---8<---

"But so long as" holds no more.
That's a bit reductive. Surely there could exist a model where work on data doesn't have to be mediated through "apps", and this is what the article refers to.
That is one of the reasons I hesitate to pay for spotify premium (I only use their free add-based service).
I listen mostly to small bands that don't get much money out of spotify. But still, spotify is great for discovering new and interesting music. I use the Daly Mix feature heavily.

But the real way to support musicians that are important to you is to buy their merch and visit their concerts. That's where my money goes instead of spotify.
How about offering, say, three effort options, reflected in the size of the circle in the matrix?
I've long noted this.

Seems to affect both Incognito and standard mode.

The screenshot disabling is an absolutely massive strike against Android and Google.
not a fan of foxes, I see :)
This is incredibly insulting.
No you can't. You can only use iCloud which is not 100% secure AFAIK.
Out of curiosity what do you think of how Arch and NixOS compare to Debian or Ubuntu? (I'm asking to help me calibrate against what you're saying since I've used all of these except NixOS.)
> perl -MList::Util=uniq -e 'print uniq <>'

This one is interesting, because I've come across this issue many times where "uniq" will not work the way you perhaps expect it to (if you, like me, don't read "man" first), and will give back unique values from lines later in the file multiple times. Normally I've found that the way to work around this is to sort the output first before passing it to uniq, so I was curious if the perl way was faster or not.

I wrote 10M random numbers between 1-3 to a text file and tried this benchmark:

> time cat hn.txt | sort -n | uniq

real 0m3,929s

> time cat hn.txt | perl -MList::Util=uniq -e 'print uniq <>'

real 0m2,205s

Almost twice as fast. Lesson learned I guess, don't knock on Perl for CLI wrangling :)

I can share one of my frequently used ones as well: if you have a log file with an initial timestamp that is UNIX epoch, you can pipe the text to this perl command to convert it to localtime:

> cat logfile | perl -pe 's/(\d+)/localtime($1)/e'

(I'm sure you could do this with something other than Perl as well, but it does the job well)
So why buy Herman Miller design, or Ive design. Implementation can include lot of stakeholders, and again this is not sport in any meaning. Definition of sport: An activity involving physical exertion and skill that is governed by a set of rules or customs and often undertaken competitively.
people actually read the articles?
As far as I was told, it is not the strains are mild or not, there are in total 4 strains, you get immune with each one you get, but each it will be worse.
Any users of Guix here, and what is your experience?

From what I understand it’s inspired by NixOS, but instead of the DSL for configuring packages Guix uses Guile.
Go-GitHub-PR-commenter v0.0.5
PR commenting library with simple interface to add comments to commits in Github PRs

https://github.com/owenrumney/go-github-pr-commenter/releases/tag/v0.0.5
The point is that there is too little connection between what you pay, what you listen to, and who gets paid for that. If we had more control here, the "market" would work better. Artists that make people pay for spotify and listen to their songs, would see benefits.

Paying for music should be a positive feedback loop between buyer and producer of music, and spotify users and artists don't feel like they are in the loop.
I have used NixOS only for a year so I'm no expert but I try to answer.

The config file has this line:

imports = [ ./hardware-configuration.nix ];

This file hardware-configuration.nix is typically generated semi-automatically during the installation. It has stuff like

fileSystems."/" =
{ device = "/dev/disk/by-uuid/14b5b22f-6cd2-4da5-a9a5-6ee74b76509d";
fsType = "ext4";
};

fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/7D69-81E5";
fsType = "vfat";
};

AFAIK you can include these details in configuration.nix if you happen to know them. But most of the time these are so hardware-specific details that you don't want to write them manually. Does it make sense?
I had a similar problem when I updated to Android 10 and the MediaStore content provider decided to get stuck in an infinite loop trying to upgrade its database. I couldn't take screenshots, use the camera, or use any functionality in any apps that would rely on the photo gallery. Now, that's me, a long time Android app developer, and it took me an hour to figure out what the hell happened (wiping the data for said content provider fixed everything, obviously). Imagine what would a regular user do if they encountered this issue? I had a fully-stock installation too, didn't even unlock the bootloader.

I don't understand why modern software has to suck so much. If you can't perform some operation for some reason, for the love of god, at least show a sensible error message so people who haven't spent ridiculous amounts of time reading the source code of your product as part of their job can troubleshoot their systems. Not "something failed, go read logcat, maybe it helps, good luck".
Being able to predict how your customers use your API has a strong impact on how you deliver the data behind the API.

If we're talking about highly interconnected objects in an API, it would be expensive (from a DB point of view) to arbitrarily add indexes in the long shot case that someone may use a selector on that property.

Equally, when data is highly interconnected, by designing an API that focuses on particular consumption patterns, I'm able to add custom functionality, pre-processing, or highly customised queries/indexes to ensure the data is read as fast as possible.

Poor performing API's are bad for the consumer, bad for the database, and bad for the art of data.

There's a balance between centralization and independence in software models that is so hard to balance right.

MicroServices, GraphQL, and Docker Swarms are examples of technologies that, if done right, can be enabling, and if done wrong, will pull the ship to the bottom of the ocean.
scrcpy works with mac os too, iirc