skysight-inc/HackerNews huggingface dataset:
Authorian state is going to do what authorian states always did, but better and bigger - thanks to the technology. And the western politicians along with olympic committee will shut their mouths and pretend that nothing is happening.

Even the “progressive” EU politicians can’t be bothered to boycott the olympics. Really disappointing and pathetic behavior of our spineless leaders.
>Apple has not (in my recollection) sought to exert control over content of what is being said or shared among users. In fact, they seem to keep quite a distance from wanting to know or be responsible for that.

You may want to search for Telegram and Apple.
Here's a brazilian interpretation of the paper results and its findings if anyone is interested:

https://filiperafaeli.substack.com/p/ivermectina-preventiva-...
You already got your answer somewhere else.
I think how clearly you write and comment can matter just as much. I'm proud to say I've had situations where people with near zero programing experience were able to make some quick changes to get programs I'd written in perl working again following sudden changes. I think the more you know the easier it gets, but a reasonably capable end user with little to no experience in programing can surprise you if you take the time to try keeping things as easy to follow as possible. I do it because I can't trust myself to remember what I was doing even with projects completed only a few months ago.
Words don't have any meaning anymore if react (and the HTML DOM) is considered anything close to "immediate mode".

For starters the DOM is a declarative thing - immediate mode means that you have a function called for each frame with imperative function calls written by the user of the immediate mode GUI toolkit for rendering each element of the GUI every time (unlike retained mode where a framework hides that behind some object model). It's not really possible to be more opposite to a declarative approach.
This is just pure speculation, but maybe it's because of same reason the Nigerian scammer emails have fishy wording and poor spelling. [1] It works as some kind of a filter, the scammers don't want to waste time on anyone but the most credulous targets.

Similarly, maybe some shady LinkedIn recruiters are looking for people who don't ask many questions. Or maybe they want to filter for people who aren't so "shameless" to expect the salary to be openly discussed for a job. /s

[1]: https://archive.ph/20200531034340/https://www.businessinside...
Firefox has stronger extension support on Android, since Brave doesn't support any extensions on Android at all. On the desktop, Firefox's container tabs feature allows you to log into the same site with multiple accounts without needing to open a new window for each account.* Firefox's Gecko engine gives me no issues on the web.

Brave is a better choice than Chrome and Safari, in my opinion. But Firefox still has some advantages.

* https://support.mozilla.org/en-US/kb/containers
wait wait. You're saying they do this thankless job for the pure joy of civic duty? They get nothing out of their position? And so... because they're so pure and selfless, it's fine if they never seat a duly elected auditor? What?
Yeah, people who read Heinlein and try to sort him into some political camp or other usually latch in to some surface level aspect they think make him side with their opposition. But in doing so must ignore huge conflicts the ideas presented would have with their opposition, even more so, when the books contradict each other. Heinelein writes the public motivations for the people of the societies he presents, and while overly verbose at times, I find it facinating, culture is a crucial aspect of society, and scifi without it often becomes dull.

The moon is a harsh mistress is as much a book about strong friendly AI, as one about alternative ways society could be structured to provide continuity and safety if governments fail to provide. The AI aspect is facinating and much deeper than it seems at first. But if you look closely, there are hints all throughout its quite clever, it just does not care about what its doing, it cares about its friend. It reminds me of the treehouse my neighbours kids once made. The kids tried to make it out of ductape, sticks and plank, and their dad helped them, but also snuck out and nailed a few things and support blocks to make it work.
We don’t appreciate person attacks here on HN.

Democracy allows regular people, not in the in-crowd, to put themselves up for election.

As far as I understand these roles are not full time, minimally compensated or even completely voluntary. If a volunteer comes in on their first day, I would assume that the people there would help them settle in and show them around. At least that’s how I’ve been treated and have treated others.

Why are you fighting this so hard? Do you disagree that this position should exists? (Then maybe redirect your anger towards that legislation) Or do you have something to hide in the books?
The consolidated $100B industry [1] for lenses/frames may not be incentivized to fund studies which endanger their market. There are precedents [2] in other industries.

[1] https://www.theguardian.com/news/2018/may/10/the-invisible-p...

[2] https://www.ucsusa.org/resources/disinformation-playbook
But there is agreed-upon tasty food, so there is some kind of intrinsic, shared meaning of the word, which is also true of code.

It's not objective, but there is a consensus among peers.

Honestly, it is like art, but these analogies kind of fall flat since we're not all "artists" in the traditional sense, usually. The reality is, for a painter, there are things that come close to objectively "good" works, a lot more so than for the layperson, and an experienced painter can walk you through all the different "types" of "good" art, just like an experienced coder can walk you through all the different "types" of "good" code.

Just because we can't write down in a few pithy words what "clean code" is doesn't mean it doesn't exist, it just further confirms something we've all known for a long time now; code is art.
That is like saying Microsoft Windows is not a monopoly in the 90s because they have a choice to choose Mac or Linux.
I think I might be in a similar boat. I've an interest in Type Theory, but rarely get to really connect day to day work with the fun bits.

Interestingly I have never heard of Robert Harper, so I will be looking at those lectures with great interest.

Instead, I have Benjamin C. Pierce's fantastic "Types and Programming Languages" book (still working my way through it bit by bit), and I happened to get one of the most impactful talks of my life from Derek Dreyer: How to Give Talks that People Can Follow. I still use those 20 minutes of advice to this day.

I'm strangely excited to see both their names as authors on this article, and I believe that tells me a lot about what kind of passionate speaking I can expect from Robert Harper!
Since others are reflecting on the merits of the article in ways I agree with, here's some articles I've collected from recent discussions on "clean code". Some even try to ditch the term or argue against it, others give context to the meaning. Would love to see others if anyone has any!

https://bitfieldconsulting.com/golang/crisp-code

https://overreacted.io/goodbye-clean-code/

https://www.cyclic.sh/posts/write-shitty-code

https://qntm.org/clean
Former Dev that did Web -> Ionic -> RN -> Native iOS over the course of 6 years speaking here.

- Web devs typically don’t have strong instincts for mobile apps, they require more mentorship & onboarding time.

- Animation and interactivity is strongly limited in RN
- You’re always so many levels removed from the actual APIs being used. For example, using UIKit and CoreAnimation are absolutely amazing and super lightweight on CPU/GPU in comparison. UICollectionView is a modern miracle that offers so much more control than FlatList.

- JS/Babel/node_modules is hell, no I won’t elaborate.

- Multi-threading, priority/concurrent queues etc for maintaining good all-around perf while doing intense operations is very strong with native platforms. RN just has sophisticated band-aids.

Honestly it mostly depends on the type of work the app will be doing, the dev resources available to you, and the level of quality you want to attain. I strive to create the best of the best user experience, and native is the best way to attain that.

The app I work on still uses RN for some features, but the results historically have been disappointing on average.

Happy coding!
And this is why char should have been byte from the start.
Your conclusion doesn't follow. People can be against fast fashions urge for people to constantly be cycling out their wardrobes with short-lived clothing while still supporting everything have what they need. I think that is the main argument - use what we need and no more, or at least reduce waste.
Is that view not subjective though? Might someone think that if/else is simpler?
iOS 15.4 will bring support for adding EU Digital Covid Certificates in Wallet
This implies the intent is to be usable by people who aren't proficient in JS. Yet, it requires proficiency in Hibiki's DSL.
There's a good take on this by Casey Muratori - https://www.youtube.com/watch?v=7YpFGkG-u1w

And I agree with him. Things like SOLID and "Clean Code" really are just buzzwords nowadays that don't mean anything.
It seems to "just" be a compiler optimizer's version of "git bisect" to find where exactly the bug occurs in a binary search (to find the bug faster). You could in theory just linearly try enabling more and more optimization steps but that would take a very long time. Basically O(n) vs O(log n).

In laymans terms, say you've inspecting several years worth of surveillance footage to find when exactly (down to the second) when an item went missing. Starting a binary search in the video (where you answer the question at each step in the search "is the item still there") you can very quickly determine exactly when the event happened.

Same goes with optimization steps. Start compiling an app with somewhere between no or full optimization steps and continue the binary search.
I’ve had success bundling pyQT GUI apps with pyInstaller so it can definitely be done with python.
I don’t think providing anecdotes is something to be “guilty” of. I just think your anecdotes don’t support your claims. I would be very interested in them if they did.

Every car made today uses computer chips, not just ones with screens. https://m.motor.com.co/revista-motor/actualidad/industria/es...

I don’t know why you think I haven’t been to any of these countries. I recently spent two years living in Colombia, Mexico and Peru.

That’s an odd definition of unstable and none of these currencies meet it. All of them have periods where they go up against USD.

I’d say ten years with less than 10% inflation is stable.

I don’t care if hyperinflation hasn’t “technically” happened. I have a source that told me how much worse it is than what’s reported.

I don’t seem to be able to convince you about anything, but at least anyone who reads this thread will be inclined to doubt what you’re saying.
There's no hard evidence for this, but we know that this was a science mission first. Get the big hunkin' mirror into cold space. It was already extraorbitantly expensive.

No budget to try wildly new things. (The folding was already new enough.)

Also the constant scolding by Congress about the budget overrun has the very predictable outcome of fucking up the overall efficiency of the project. It got assessed and reassessed and committee oversighted, and costcutted...

but of course there was nothing to cut, and everyone knew. It was already risky as fuck and debating how much the sunk cost fallacy applied basically became a pastime.
After reading the brief I think it's important to point out that even if the appeals court fully agreed with the arguments made by the states, that does not automatically mean Epic would win their case.

This is because the arguments made in this brief are fairly limited in scope to specific procedural details for how antitrust analysis should be conducted in cases like these, and in essence can be summarized as: "the district court needs to go back and analyze this in more detail".

To elaborate further, the two arguments made are:

> 1. The district court erred in holding that Section 1 of the Sherman Act does not apply to “unilateral contracts.”

A section 1 claim requires the plaintiff to prove (1) the existence of an agreement and (2) that the agreement was an unreasonable restraint of trade. The district court ruled that Epic had not satisfied (1) because the agreement was a "unilateral contract". The states disagree. Even if they are right, Epic still faces the uphill burden of moving to the next step and actually proving (2).

> 2. The district court’s rule-of-reason analysis failed to balance the overall competitive effects of Apple’s restraints.

Under the rule of reason the district court applied a "three-part burden-shifting" test to the question of whether Apple's contractual restraints of trade were unreasonable. First, the burden was on Epic to prove that the restraints had an anti-competitive effect. The court agreed. Second, the burden shifted to Apple to prove there was a pro-competitive justification for the restraints. The court agreed. Third, the burden shifted back to Epic to prove that those pro-competitive justifications could have been achieved through less restrictive means. Here, the court did not agree with Epic and thus the three-part test failed.

The states argue that, after having failed that test, the district court needs to take the additional step of analyzing the anti-competitive effects vs the pro-competitive justifications to determine whether the net result is pro or anti-competitive. In other words, they are asking for the appeals court to remand the case back to the district court for further analysis. Again, there is no guarantee that this analysis would come out in Epic's favor.

Of course, all this is predicated on the appeals court agreeing with the arguments made in the brief. They may very well disagree, in which case this whole argument is moot. Overall I believe Epic is still fighting a huge uphill battle here and the current antitrust laws (not to mention the current makeup of the Supreme Court) are not likely to be on their side.
I've seen this happening a lot:

- you have the same if-then-else in 3 places in code with 3 different effects

- you refactor it to polimorphism (Enum with a few overloaded methods works well in java)

- now one of these places need additional condition so you make it a little more complex

- year passes

- you have eldritch abomination of OOP instead of 3 if-then-elses with slightly different conditions because at no point someone was brave enough to refactor back into if-then-elses as the special cases piled up
It’s a capability problem. Once they scan files that are due to be uploaded it’s not very difficult to just.. scan all files.

It’s the motte and bailey.
Texas lawmaker wants to know what books on race, sexuality are in schools
The notion that quantum mechanics is associated with inherent chance in the universe thus explaining free will is itself problematic.

There is no chance in the equations of quantum mechanics as the equations are fully deterministic. The probabilities appear only when we try to explain interaction of classical systems with quantum ones. Traditional explanation is that those probabilities are inherent to the world. But this rise the question how this can be as there is no in reality classical systems, everything is quantum with deterministic equations. So more natural interpretation is that at classical level the system looses access to some information about global properties of the system and probabilities are just a natural consequence of this.
Ivermectin and other anthelmintics (mebendazole, febendazole) are showing quite a bit of promise in cancer therapy. It’s been a while since I looked at it but if I recall correctly at least one mechanism of action is to promote (well, unsuppress) autophagy in diseased cells.
I'm not sure I understand you here. How is Python more ad-hoc than any other language? It strikes me as less ad hoc than, say, Bash. At least Python has a proper standard library.

What do you mean by Python's mistakes? I'm no Python zealot but I'd say the Python language broadly achieves its aims. It's not a platform for cleverness with type theory or monads, and it's not a sensible choice for proving the correctness of programs. Those aren't its aims.
page seems down. But I'm nostalgic for computers and I'm eager to see what's there.
Very good article. I very much agree with all said.

Consistency is a tool not a goal, don't let it become one.
Usability/user experience is (or should be) the goal.
The parties to the protocol (in this early form, with a web focus) are:
1) an application which is generating a web page, and
2) a block of functionality which is part of that page.

Or the authors of each.

Where is state?: blocks can have their own local state, but to persist data beyond the session should make use of the operations defined in the spec to pass data back to the application (the standardisation of what these operations are and what they do is a key part of the spec).

Where is the UI code?: I might've misunderstood this question, but - a block should have a package which contains code for rendering its UI and dealing with data to/from the application embedding it. The application can then either pull that code at runtime (e.g. from a CDN) when a user requests to use a certain block, or include it as a library and ship it with the application.
Can confirm this lib is very good. I use it to simplify my status app, it allows me to keep everything in Rust so that I don't need to know too much about react and other web tech.

There's demo apps that you can just grab and edit to your liking, and the docs explain what you need to build the WASM app and run it.
>Ehhhh. There is absolutely such a thing as clean code. But yes; what there isn't a way to measure code cleanliness

Well, in several epistemologies the second admission means there's no such a thing (or that, it might as well not exist).
Computers Can Finally Detect Sarcasm
> Report this crime to the police. If they decline to cite/arrest, look up the process for filing a private criminal complaint.

Or pick up the phone and call the local FBI and/or DoJ, who investigate color of law, which is exactly what this is.

https://www.justice.gov/crt/deprivation-rights-under-color-l...
You seem to be asserting the anthropic principal, but in doing so you're assuming that quantum mechanics is required for consciousness. But that's not really an answer to this post -- he explicitly calls that out as a possible answer, but why is QM required for consciousness?
"Ultrapop" was one of my favourite records last year. Great band, very exciting and worth a listen. Although if you're not a fan of hardcore in general I suspect it won't make your regular play list!
We do close all the pools and lakes to children who can't swim, or who swim unsupervised. We literally do not let children swim freely in random bodies of water. It's a huge deal; we hire lifeguards, teach them methods of operating safely in bodies of water, there's all kinds of equipment a child can wear while in the water to prevent drowning...

This isn't a great analogy for you, because it pretty thoroughly proves my point that masking is a very reasonable thing to do, compared to the litany of structure we put around children swimming in pools.

I was a lifeguard at a summer camp for christsake, what a terrible analogy. I literally worked to implement the many systems we use to keep kids safe in bodies of water.
Polymorphism is more complex than a switch/case in a single instance. Across a large codebase using polymorphism instead of hundreds of different switch/cases is simpler, especially when you need to change something. Encapsulating what a class should do within the class instead of in an external code block is much simpler when you're working on something big.
I agree, what seem like small design decisions can have great impact. I wonder if studies are being done on this. Something like About Face on interaction design, but then specifically on effective communication and discourse.
MASSOLIT (www.massolit.io) might be up your street. Short video lectures from university academics on a whole range of topics.

Disclaimer: I run it.
You missed the part where they did exactly the same thing to someone 6 years prior, including sending the same email, and so on.
Polymorphism can replace multiple if/else/switch/case with a single one.

It has benefits, if you do not apply it dogmatically everywhere
natural resources are getting scarcer
N=2. Similar here - even a bit of improvement after a year of using weaker glasses for computer work.
Wait, did Wordle start counting from 0?
Yes. I will add Steve's Apple made new product and services, and "hopes" the market will buy it.

Tim's Apple look at which market has potential profits and tries to enter it.

It is a product based strategy vs a market based strategy.
Yup, this sort of thing likely falls under the FBI's color of law investigations.
JsonCpp – A C++ library for interacting with JSON
This goes against the idea of strong emergence (mainly the bottom up causation part). I’m not arguing for or against it, but the SEP has an entry about it https://plato.stanford.edu/entries/properties-emergent/

“This often takes the form of rejecting physical realization, affirming fundamental higher-level causal powers, or both.”

I find it fascinating to wonder about causal powers in multiple directions. Does it even make sense? Does it conflict with physicalism? What is the physical anymore? Chomsky says there is no physical for the past few hundred years. It’s worth reading about at least.
I use it on web/AppleTV/FireTV & IMO it doesn't have a great user experience on any platform. Generally it's a bit jerky/laggy & also often gets glitchy (on FireTV at least) post very long running videos. I'm not saying it sucks, but the apps for Disney & Netlix feel so much better to use. My comment wasn't directed at WebAssembly.
> I don't know how you can call most of the world a functioning democracy.

At lest where I live the (sometimes silent) majority supports such actions.
We are having elections in few months and its not a big issue because most but few fringe parties and people support such actions.

That's the democracy for you. And most of the time it works, except when it doesn't :) (As far as I know nobody came with a better system jet.)
I really like "Clean Code", it's because other people/programmers could easily navigate the code, while not knowing everything that happens in the code.

But in some rare cases, that's not what you want. Some functionality may need to require to know exactly what it does, because everything affects each other.

And then i create a "class of mud" that does everything since everything is connected, where the naming conventions of Clean Code still applies.

In my case, it was proxying json request bodies from an api to a 3rd party internal secure network where I had 1 dedicated pc running, where it could fulfill the request over a message broker (Service Bus in this case, to the internet network), execute the request that should work in the internal network and then send the response back through the message broker and give a response in the original API.

That class was shared (and exactly the same) for the server and client. Only one was implementing it as a subscriber and the other one as a listener.

The class was also commented à la SQLite, but no other classes in that code needed any comments - clean code wise.

( fyi, it was an internal secure api, that needed a 3rd part y ( our clients ) network)
Sure there is, because there's a metric for it: "WTF"s per minute. Or, more seriously, cyclomatic complexity. I'm sure there are others.