skysight-inc/HackerNews huggingface dataset:
I do presuppose will to mean something nondeterministic, yes, or the term serves no purpose.

And what you describe empirically doesn't match my experiences. People tend to get strongly morally conflicted when faced with the prospect of determinism because they don't see eg punishment as compatible with a view of the world where people don't have agency over choices.

'Deterministic choice' is not a choice for the person - it is just cause and effect. There is nothing free about it, and no will involved.

The very idea gets people incredibly worked up when you drill down into it.
I'm sure that 'child predator' is not an annoying civil rights activist.
I have mixed feelings about this. I think it depends on the project you are working on. If your codebase can be packed into a few hundred lines of code, with nothing fancy or complicated and no code is being injected from elsewhere, then the author is absolutely right. Documenting what a function or a method does should be sufficient and imo you should do that in all cases, just for the sake of making it easier for new developers to jump into the project if they prefer using some fancy IDE. However if your codebase is composed of several million lines of code(like a lot of the ones I work on), things change. Using readable names is a perfect general advice but eventually you end up with complex logic, which is not necessarily the result of some developer who just wanted to get a task out of their way but could be as well a result of "business needs this by Monday, 3 weeks ago" or simply some mind boggling edge case which needs to be handled. In which case, adding some inline comment with an explanation as to why something is there and ideally a link to your ticketing system can be a life savior. I'm far not a fan of things like:

// Increment counter by 1.

counter++;

You should never do that unless you are studying programming and you have been required to explain every line of code along the way(though I don't know why a professor would ever want that, certainly no one ever asked me to do stuff like that).
I too spend more time reading code than writing, if you have to click through X layers of abstractions to understand something you’re doomed. Clarity must stem from the code, and comments are here to support it.
Visual Studio Code has a "peek" operation that does something like this. It is indeed quite handy.

https://code.visualstudio.com/docs/editor/editingevolved#_pe...
Identical to all the others. No difference whatsoever.

It would be funny if people on HN programmed computers in the same way they talk outside of shop conversations.
America isn’t going to transform their healthcare market in the next several months.

We can be ideological and let hospitals fail and doctors and nurses get laid off, or we can be pragmatic and focus on what creates the best outcome as we navigate the reality we are in.
That's interesting, thank you.

I do suspect for some media it's just that they expect me to listen to action scenes/intro jingles louder than I want to (maybe assuming a bigger room / TV further back?)

But I will keep that in mind - can't rule it out, my TV is pretty old, haha
Does Sarbanes Oxley apply to zero rating ML costs? Alpha go might have unfair kyu ranking, if Google don't have to "pay" to acquire rank. (95% joking)
I don’t know a more better designed BLE SoC than nRF51/52 though...
> Think of having to pay rent to live in your own house.

So land taxes?
> if there's any doubt whether they're being racist or not then it should be on the officer to demonstrate that they're not (using their record, bodycam evidence, etc).

He has no venue to respond. No one even accused him of being racist, besides you. How is he supposed to defend himself, come onto hacker news and write a reply?

The police dept released a statement said they'd review the video and take any action deemed necessary. What you would have them do?
I'm not sure what argument you are referring to here (if it was one above).

I think these organisations are criticising the tool builders for creating tools that are easily misused (or are created with unreasonable limitations, like only being valid for university students at one university, but are sold as widely applicable).

Supporting affirmative action initiatives like you list is trying to address the biases that exist in reality. I think this is often a bit backward (not addressing the root cause) but it can be expensive (in time, effort, money, politics) to address the actual root cause so these programs aim to address the bias at the place in manifests.

This is a similar (dare I say pragmatic?) argument to "it would be cheaper and more effective to just give everyone a no-strings attached payment each month then to provide means-tested payments to those who need help".

Detrmining if these arguments are correct is a different thing altogether, and I have no idea if these programs are cheaper and more effective then dealing with the root problem, or if it's even possible to define and address the root problem in the first place!

The two things you contrast above are fundamentally different - one is criticising tools and tool builders, the other trying to address perceived biases in the world.
Boris Johnson's patience wears thin over tracing app
The Mathematics of Music [pdf]
Program your teacher to make a Jam Sandwich
> I wonder if anyone has tried attacking that end of the problem? Faster lstat on macOS would benefit all applications not just git.

One major blocker is that the code for this is largely closed source and not accepting patches.
Metaphors, similes, idioms, etc are not the same thing as analogies. To make an argument by analogy the things you're analogizing have to be at least somewhat analogous. These plainly aren't. It's possible rayiner thought Siebel would become reddit's CEO. But other than that, it takes a great deal of weird intellectual contortion to compare 'captain' to 'board member'.
I am not against his hiring, he seems like a really smart and successful guy. Hopefully he didn't get hired because he is black, because that doesn't really indicate a diverse background.
Only our water filters are made to xyz magical standards with pure unicorn piss and rainbows.
They make nice tools. It's debatable whether a lot of them are worth the money.

Some of their stuff is nearly indispensable in a high volume or time constrained shop, though. The domino's only real competition comes from mafell, and it's similarly priced. Triton and some others have tried to compete with some dowel joiners, but they don't work nearly as well.
It was a bit hit and miss with me. Informative in many places. But I also found the arguments a bit weak at times.

1a. Unless there’s context I’m unaware of, this hardly makes her less of a victim.

1b. Good on the judge.

1c. Nice to have.

2a. Okay. Prepared to hear more.

2b. I thought gender dysphoria was more prevalent in the young?

2c. I mean, trans rights don’t infringe on JKR’s rights, but yet it clearly affects her.

3a. What was the transphobic content in the response?

3b. Good to know.

4a. I don’t blame Burns for being fed up.

4b. Ok.

5a. Why shouldn’t she mention the cancelations?

5b. I don’t think anyone denies this. The debate was whether a transphobic or ostensibly transphobic tweet causes suicide, no?

5c. JKR does not do any of these things, right?

5d. But dying lesbians are not allowed to express their anger?

6a. Okay.

6b. Yet another “okay“ from me.

6ca. Okay.

6cb. Citation needed.

6d. Sounds reasonable.

6e. Huh.

7a. Not sure how this reflects upon her.

7b. This comes out a bit like preaching to the choir. Am I the only one who does not know what constitutes the transphobia here?

7c. What of the apparent social spread of gender dysphoria, then? What about people wanting to have the treatment reversed?

7d. Granted.

7e. Makes sense.

7f. Interesting.

7g. Source, nice.

7h. That’s great news.

7h2. Again, source, nice.
I'm not totally against GraphQL in general. As an alternative to REST it can sometimes make sense. And let's be real, most REST APIs are absolute garbage. Anything would be better than a bad REST API.

And if, in fact, you are storing a graph in a graph database, the QL makes a bit of sense.

But nothing in the post makes any sense out of any of that. It's just Python bad; REST bad; I read too much hacker news, and I feel like it's time for a change.

Like, when I complain about other people's REST APIs, that's out of my control. This guy is saying that his API is garbage, and instead of fixing it to make it better, he's just going to redo everything with a worse result. I don't get it.
I work in any kind of position, but never on a chair/desk, I put my laptop on boxes and I move a few meters away during the day, depending on the sun. For me a laptop is perfect: movable, light, silent. I use only the touchpad, no more mouse
A religious view makes no difference - it just pushes the question back one step.

And yes there is every incentive to limit damage, to protect people even if there was no decision. But that also then extends to the perpetrators.

There is no logic at all to your assertions here.
Just because the marginal cost of a copy is zero does not mean there's no value in the information, and it's perfectly reasonable to gate access to that value.

Copying a video file is free too but I'm sure you wouldn't argue that anyone can watch a movie for free just because someone else made it. People have a right to own and control the distribution of their works that they invested in creating.
That would require modifying the plumbing system of the house, which would require to own the house or have the landlord's permission.
previous discussion 14 hours earlier: https://news.ycombinator.com/item?id=23479630
Having dealt with fragmentManager and supportFragmentManager a lot, I highly recommend using Navigation Component. It may be confusing to set it up initially, but once you do it, it makes navigation really easy to handle.
Yes, but why? It may be a valid reason, but I don't know what it is.
LMAO I feel physically hurt as a NixOS user.
A dark age for a small part of Europe. Italy sure took a hit. Spain maybe (can anybody from there confirm / refute?). France probably not (Charlemagne). Germany probably not (the Holy Roman Empire.) Anything south or east of western Europe kept going on unaffected or profited from the sudden weakness of the former powerful neighbor.

And in Italy that's not the Dark Age, it's Medioevo / Middle Age. No negative connotation in the name even if it's felt as a slump (I'm from Italy) compared to the Roman Empire period and the centuries from 1200 when Italy became again one of the centers of the world. Then the discovery of the Americas didn't play well with being in the center of the Mediterranean Sea.
Coronavirus are not a new type of disease though.
Appreciate the response, but didn't skim it. The "details" are inconsequential here. Im not bailing out the media, because their job has morphed into an attention megaphone in order to survive. The reason details dont matter is that the core problem is police acting with impunity. The problem becomes even worse when you look it relative to the victims accountability in all these cases.

Theres that video from two days ago of that (white) union chief screaming and spitting about "how deserve more respect and we are tearing them down" and it was accompanied by an array of tweets that said "He gets treated like a black guy for 2 weeks and he has a mental breakdown." I think this story even in it's detail loose state is an appropriate weapon to even the fight.
Alpha Go Zero inspired the development of an open source version, Leela Go Zero which Leela Chess Zero is forked from by the same guy who made Stock Fish.

Lots of people contribute what I imagine are amounts of CPU Power/money to the Leela Chess Zero project[1].

Would love to see Alpha Chess vs Leela Chess.

[1] https://training.lczero.org/

[edit] I've caused terrible confusion by melding Leela Go and Leela Chess when Leela Chess was originally forked from Leela Go and that's basically when similarities end.

Edited for a bit more clarity.
I gave up and got the app, but f* them seriously for all the shady ux forcing you to get the app, never experienced something that extreme
That’s a massive repository…I’ve worked in code with many hundreds of thousands of commits from many, many people and they’re a couple gigabytes at most. Are you storing assets in your tree?
Your illustration about activity vs fragment is awesome. I wish I knew this before. Thank you very much!
I think your point is in line with the article. Comment WHY you are doing something, rather than commenting HOW. And, if you are in a hurry and the logic/naming is somewhat unclear, leave a comment to clarify. In a future refactor, the logic might be made more clear and comments removed.
You would have an interest in doing what minimises harm to society rather than for punishment. That means focusing on rehabilitation rather than vengeance.

Consider that eg the US legal system has absolutely awful reoffending rates compared to eg Norway - it is geared for punishment rather than minimising harm.
As I stated in a different response, I don’t think there would be anything immoral about abolishing copyright in general (for newly created work at least). But if you did that then you would most certainly see much less people investing their time and money into creating it, I also imagine it would create a resurgence in draconian practices such as chained libraries. How does cinema-only releases sound to you? For both TV and movies, of course.

However, whatever you think of such an idea, the people who created the content in question did so under conditions where the state had offered them copyright protection. To remove that protection from people who have already invested their time and money into creating content under those conditions, is simply to defraud them of that time and money, which for a lot of people could amount to their lives work.
Are they using the on-demand price instead of the preemptible price? It seems like the sort of job that can run on preemptible machines, just because it's a batch job. Also, should the cost really be calculated using public market prices at all, as opposed to the running costs of the TPUs? It is not guaranteed at all that the opportunity cost to Google of using all those TPUs is equal to the price that you or I would pay Google to use them. I understand it cost a lot, but I'm not convinced by the headline figure of $36M.
Does this include doc blocks? I mean a lot of ide's have addon info they glean from those, as well as some api-generators use annotations to generate them, and same w/ phpunit.
Show HN: Hustlejet – Prospecting assistant that helps you grow your hustle
I found it a little bit naive. His examples from hosting situations are very interesting, but I think the generalizations too vague to be useful and the application of the discovered principles in business quite unrealistic.
> Giraffe, is a borrowed word from French

So is at least one third of the English language…
> A good chunk of haute couture from decades past would be seen as modern and appealing today.

But not at every given point in time. That fashion ebbs and flows is a given, but that's not the same thing as being timeless.
I've met a related issue in the field on shared dark fiber links managed by fairly clueless vendors who's switche's buffer configuration led to connections being basically blackholed after a certain number of megabytes of data was sent.
I truly question whether Zoom is a U.S. company at all if a large number of its developers and servers are located in China. Its founder is also ethnically Chinese (although he also holds American citizenship).

This company seems to be largely influenced by China, either through its founder or other means.
I wonder where they got those numbers.
VSCode effectively has this feature.
Apple Discontinuing iBooks Author, Encourages Writers to Transition to Pages
The bearded guy `deb_haaland.jpg` being matched with a non-bearded guy is interesting; shaving would totally fool me, but looking at the match, it definitely looks plausible. Good job, Facial Recognition AI!
4 in 10 Americans engaging in high-risk cleaning practices due to SARS-CoV-2
Yeah I know, I should have added a /s to my comment.
It's hard to tell from the article whether Facebook was an agent of the FBI or not in delivering the exploit, which has legal implications for this case.

What Facebook could have done to avoid that issue is to enforce their ToS to get his IP address, then contact and hand those logs to LEO. (A company can follow its own processes as far as possible before contacting LEO, but once they start working together, they become an agent and the process is changed into something with less independence.)

The idea of creating a new OS to trap an end-user is one of the weirdest things I've ever heard of, on several levels, frankly.

Source: previously the LEO contact at a large Silicon Valley company. Typically you meet with them quarterly or as necessary, but you don't casually "work together" on cases to avoid the appearance of being their agent instead of a company representative.
Concerning the example with the outstanding orders, I think the main problem in practice is not so much the poor naming of the variable, but the lack of documentation of the called function ("Process" in this case). I could live with the variable name "outstanding", but the IDE should better show me a good explanation of what the function "Process" is doing when I point with my mouse on it.

The example is also a good example why type declarations are so helpful. Just by looking at the lines "var outstanding = GetOutstandingOrders()" or "var allOutstandingOrders = GetOutstandingOrders()", I could not tell whether the function is returning a list of outstanding orders or whether it has a side effect (reading the outstanding orders into a buffer) and returning a boolean indicating that there are outstanding orders.
In javascript, `span.innerText == "sponsored"` ... I was surprised it was so easy, but it probably won't work for long though.
A library of pgf/tikz that requires lualatex can do graph drawing. It is called "graphdrawing" actually. It can do the layout automatically and so on. You can add new automatic layouts using lua.

It's described in part IV of the pgf manual.
I don't think you could unless you had a flagship customer using it in a huge data centre. You'd need to write a "reference design" filesystem for it anyway. Since volume is so important in electronics, you'd need to scale up a lot in order to make it cost-effective.

Amazon, Google, Microsoft and Apple are in a position to do this for their cloud offerings, but so far as I can tell they haven't. Which tells you it's probably not cost effective.

(I think there are benefits to be had from giving even local storage a "blob" interface, as you reduce the amount of random writes, but we're not there yet)
My laptop is almost 10 years old an works fine with Jitsi and Linux Mint on Firefox.
This isn't a good idea. And his functions, well... they're gross. You're going to replace

orderCost = orderCost - shipping;

with

ApplyFreeShipping();

Now you've violated referential transparency, introduced some unnecessary global and mutable state, and not really made anything clearer.

Let's take his other example:

var outstanding = GetOutstandingOrders();

Into

var allOutstandingOrders = GetOutstandingOrders();

Please for the love of god, no. Variable names should be short, and in my controversial opinion, as short as possible. Long variable names actually make code more difficult to understand, not easier. Rob Pike talks about it in the Practice of Programming, and it's a common tenant among APL/J/K programmers as well.

Here's how I wish programs were structured:

1) Make your code as terse and dense as possible so you can see as much of it at one time as possible (see code written by Arthur Whitney). 2) Make your variable names abbrevations or acronyms, like instead of 'convertInt', call it 'ci'. 3) Comment every function and keep each function to only a couple lines. 4) Because your functions are so small and dense, you'll never need to modify them, only throw them away. 5) Bam, your comments and never out of date because the functions you're writing never need to be modified, only deleted.

Unfortunately, most programming languages don't give you sufficient power to do anything in a couple lines. Which brings up the question, why don't we switch to those that do? Honestly, J or K would be totally usable for the vast majority of programming problems.
10 things I learnt growing a paid community (Weekend Club) to $500 MRR
I learned very quickly to run my bash prompt in a timeout wrapper after cloning WebKit once and having an absolutely miserable time doing anything while inside the repository.
I agree entirely.

As far as code that handles bizarre edge-cases, I tried to cover that in "Comments that explain why". Perhaps I missed the mark a little, but I think I was intending to agree with the point you made.

"Often, it’s because I’ve profiled it and found it to be significantly faster, or because it catches an edge-case that a more intuitive method of doing the same thing might not
..
Comments like this get to stay."

To your point about "business needs this by Monday, 3 weeks ago". Under those circumstances, I write comments to explain my rushed code all the time.

In my personal case though, I'd consider this to be "Comments as an excuse not to refactor". It might be a good excuse (maybe the business need trumps readability in the short-term), but I know it's still an excuse and not something I should be doing all the time.
I'm trying to get better at going back and refactoring those things later.
Interesting ! i didn't understand why they stopped the alphastar project. They pretended they reached their goal, but clearly haven't.
An interesting collection, but it would really benefit for an image for each tool. (Or even better, a code sample and image, side by side.)

Without a description, I have no idea, what is the input, outcome, are these popular, are these in active development, are these open source, etc.
Yes, it seems more like an open air blender than a fan.
What is Digital Asset Management (DAM) & why is it gaining in popularity?
No he doesn't because he already said that the mass media is directing the voters. Read his comment again.
>I'm saying that the state can't be trusted to manage the economy

Except the state has always managed the economy, you have been lied to, the upper class has never applied its free market principles to itself.

https://www.youtube.com/watch?v=WHj2GaPuEhY

Copyright and intellectual property are monopoly rights, aka things that need a state to enforce, they are entirely fictional and are government intervention in the economy.
Paul Sellers have moved back to the UK. In addition to his website [0] and blog there's plenty in his YouTube channel.

And my feeling is that Europeans in general don't insist on staining everything like Americans do. Or maybe it's just us in Scandinavia that actually think the bright natural color of birch, but even pine, is quite beautiful.

[0] https://paulsellers.com/
It’s incredibly true. We know coronavirus is only really dangerous to the elderly and those with weakened immunity systems.

So why aren’t we focusing all the attention and effort on protecting the most vulnerable, instead of spreading misinformation like “COVID doesn’t discriminate” (it does) and panicking over schools while sending confirmed positive patients back to nursing homes?
Another way of thinking about how efficient the brain is: By the article’s numbers, about 5.5 million TPU hours were required to train the machine to play as well as a Go champion.

A Go champion might have trained for 8 hours a day, for 15 years (age 5 to 20). That is about 40 000 hours.

In other words, machines required 137 times longer to learn the game, and at twice the power consumption! There is still a lot of room for improvement.