skysight-inc/HackerNews huggingface dataset:
The thing is I DO understand category theory and FP after going off the deep end in Scala land. It did not make me a better programmer or make writing code any easier or faster. In fact it makes me spend 50% of my brain power on juggling those concepts and how they are encoded into a language that does not and never will support them as well as say Haskell.

I learnt the basics of FP a long time ago and understood the data-centric view of computation, the benefits of immutability etc - those things actually do help me write better code. The advanced FP, not so much. The nightmarish encoding of advanced FP shoe-horned into a language not built to support it that compiles into Java definitely not built to support it actively hurts. There are so many dirty macro shenanigans and hacks in the guts of the FP-purist libraries to force the language to implement things it just isn't particularly well suited to implement, which makes reading or debugging library code a nightmare. Like if you want Haskell, just use Haskell FFS and let us code reasonable Scala in peace.

There are so many parts of math that are much more useful in various fields - basic optimization in solving sudoku puzzles[1], linear programming in Z3, gradient descent in ML, calculus & vectors in graphics programming etc.

[1] https://norvig.com/sudoku.html
Healing Developmental Trauma: How Early Trauma Affects Self-Regulation, Self-Image, and the Capacity for Relationship — By Laurence Heller and Aline Lapierre

The Courage to be Disliked — By Fumitake Koga and Ichiro Kishimi

Le monde sans fin, miracle énergétique et dérive climatique — An eye opening French comic book on energy and climate change, by Jean-Marc Jancovici and Christophe Blain
What you're saying is that the app is crap, everyone knows it is crap, but it's a faux pas for the new person to say it? If so, it seems it is not really about the crappy app but more about the in-group pecking order. Wish adults would be mature enough to forgo things like that.
Ask HN: Where are the properties of all cosmic objects stored?
Everyone talks about space and time when it comes to the universe - but what about memory/state? Where are the size, speed, position, composition etc of all cosmic objects and the universe as well as certain laws stored?
I'd also add that one of the big fallacies/deceits of blockchain is that it does not allow trustless transactions as the article author suggests, it simply shifts the trust. In the author's example of gathering funds to renovate a neighbourhood park, you'd still need to trust that the contract developers hadn't made a unfixable bug or deliberate backdoor, you'd still have to trust your neighbours to not screw up when interacting with the smart contract, you'd still need to trust the blockchain platform because if your funds are lost or stolen transactions are by design irreversable and you have no recourse to the law, etc. In pretty much every case, you would be better off without the additional complexity, risks and points of failure of a blockchain solution.

What this is really about is that the cryptocurrency enthusiasts distrust authority. They would rather put their trust in anonymous developers, shady mining cartels, exchanges which clearly engage in front running and wash trading, cryptocurrency scheme leaders who are convicted fraudsters, etc. If people genuinely want to put their trust in the less trustworthy, even if for no other reason than trying to get rich quickly, then we have a fundamental problem with our society.
The difficulty of parsing a 1500 page infrastructure bill isn't exactly reduceed by expressing each of its provisions and exceptions in a Turing complete programming language though...
I think it's important for anyone — developers especially — using a shell to understand basic shell principles.

Shell is a REPL that has some special filesystem-related helpers. Looking through $PATH for any +x file that matches the name of the first word entered. Performing glob expansion (*, ?, {foo,bar}...) on all but the first word. Backticks. Environment variable scoping (difference between `export FOO=bar` and `FOO=bar ./my_program`). Presence of "." and ".." in the FS. And so forth.

Once someone wraps their head around the execution model, they should be golden.
sure, nothing is perfect, but its a considerable improvement
I think no sane person would deny that, but culture is shaped by what you have available; monetarily, accessibility, safety and the list goes on.

A lot of these factors are dictated by wealth individually and wealth communally as a city.
To be sure, the Declaration of Independence has a litany of wrongs committed by the English king, but that is hardly what it is remembered for, and "blamed monarchy on the Jews" seems an unfair summary of Common Sense.

https://en.wikipedia.org/wiki/Common_Sense
CSS frameworks are a great tool for getting started, or building something where you have some flexibility in the design, but my experience has been that it's often harder to fight a framework to fit a particular design than it is to just write CSS.
> they will not change anything

they exist for over 35 years now. are you sure they haven't achieved anything? :)
Exactly. Ideally, only the street should have real street functionality (houses and shops directly accessible from the street). Maybe the collector too; it's meant to have many streets connecting to it, so access to car parks for shops makes a lot of sense there too. But anything arterial should just be about getting people from one end to the other as smoothly as possible.

There's one more category that's often ignored in this list: the rural road. There, the functions can mix without any problems, but only because of its very low density and low use; very little traffic means you can still cross the road easily, and have time to turn into drive ways and things like that without hindering anyone.
The last client is Loctite and he discusses the use of glue in that project as the first exception to “no glue”.
> It was never the point of Firefox to offer them. Firefox originally started to be the slim alternative to the fat Mozilla suite.

Not OP, and unlike him still use Firefox but:

I lost a lot of functionality/workflow that I depended on. It worked one day until Mozilla deliberately made it not work.

It pisses me even more because it made that decision to be more like Chrome. If I wanted to Chrome I would just use Chrome.

If you don't see why people like me are upset when thing like this happen, we will just have to agree to disagree.
I use journaling to take notes when I am doing undirected research. I also use it to log my thoughts on topics that I later need to write reports about.

My spouse is in journalism. She keeps voice recordings of everything instead of a journal. There aren’t really any good apps for this, but a transcription service and dedication to writing summaries can go a long way I hear. The transcription makes the voice recording searchable, and the summary ensures that you’ve gone back over everting at least once and pulled out the important information.
Now I'm a bit puzzled:
https://www.cnbc.com/2021/12/10/daimler-truck-unit-spinoff-s...
But I guess tech was still shared during development.
How Do I Scan from My Canon Printer to My Computer?
When you scan the images or documents, it can be sent to the computer, memory device, or email. If you are using a Canon printer user and don’t know how to scan, then don’t worry, as you can complete it by following the steps properly. In this section, know about how do I scan from my Canon printer to my computer!! Firstly, power on the computer and Canon printer. After that, check that the computer is properly connected with the USB cable. After that, you can lid the canner and place the image facing down on the scanner glass. It must be aligned with the arrows around the scanner frame. Now, click on the Windows start button and choose all programs and then select the Windows fax and scan option. After that, tap to scan button and choose the new scan option, which will appear at the top of the Window in the secondary blue menu. Now, you can click on the profile drop-down menu and choose the photo option to smoothly scan the image. Accordingly, adjust the scan settings like scan file type, color, brightness, resolution, and contract as per your desire. Lastly, tap to preview button to preview the image before scanning it. Choose the scan button to smoothly scan the image onto your computer from the Canon printer. It is essential to follow the steps to scan from Canon printer to computer easily.
The unannounced audio just woke my wife up as I was reading this at 2 am as an insomniac. Don’t do that.
In the Java world, maven works really well. It’s my personal gold standard, I haven’t found anything in another language which works better.
'Finally'

The start of the market crash is under way. No where to run this time; especially the US debt ceiling, inflation fears and Tether's printing and pumping schemes gaining more scrutiny for a possible US crackdown.

Is it time to run? [0]

[0] https://money.cnn.com/data/fear-and-greed/
It's like with eating meat. People don't like animals being held in terrible conditions and butchered, but they deal with it by not thinking about it so they can eat a burger in peace.
Cache keys are unique identifier names for a cache, as otherwise a global cache is used by all jobs, 'key: default'.

https://docs.gitlab.com/ee/ci/yaml/index.html#cache

https://docs.gitlab.com/ee/ci/yaml/index.html#cachekey

The key identifier can also be the job name, the branch as commit ref, or something else unique for this job, or project pipeline. The example in the blog post could also use

key: yarn-cache-$CI_COMMIT_REF_SLUG

to better reflect its purpose.

GitLab 13.11 added support for multiple cache keys per job: https://about.gitlab.com/releases/2021/04/22/gitlab-13-11-re...

If you are using a monorepo, or work with submodules and different package systems, you may have Python, Ruby, NodeJS in the same CI job. By default, a defined cache needed all 'path' entries as a list, using the same global cache.

Specifying multiple keys with different path locations allows to keep caches separated, and as such, better performance for each specific job. Some jobs may not need the NodeJS, and can only specify to use the Ruby cache key for example.

In case you like to invalidate the cache every time a specific file (yarn.lock, go.sum, etc) changes, you can explicitly configure this behavior using cache:keys:files https://docs.gitlab.com/ee/ci/yaml/index.html#cachekeyfiles

This can help prevent corrupted caches, e.g. having downloaded older packages which are stale and not used by current dependency trees. Your code still optionally imports them, and jobs fail because of the old dependency. You cannot reproduce that problem in your dev environment though, starting with a fresh container and no caches. I have been debugging these things before, it takes a while to identify local job caches as the culprit. That said, suggesting to go with a little less performance gain and invalidate caches when dependencies change - if it makes sense for the package manager with often changing recursive dependencies. I've seen it with Python.

Tip for failing jobs - by default, the caches are not saved, meaning to say, a large pip install command remains volatile, even if only the user defined unit test command failed afterwards.

To avoid a slow down in the pipeline, you can use cache:when:always to always save the cache. https://docs.gitlab.com/ee/ci/yaml/index.html#cachewhen

Exercises to learn with Python are at slide 109 https://docs.google.com/presentation/d/12ifd_w7G492FHRaS9CXA...
Feelings play a big role too. This is why some people will choose the sensitive mystical healer over the cold matter of factness of a stressed out hospital doctor.

Even if we assumed both would tell you the same facts (bold assumption, I know) the way they make feel during hearing these facts plays a role as well. If you met the same doctor semi drunk in his holiday outfit on a beach telling you the same thing, wouldn't it change the way you treat these facts?

If you trust science as an institution the white garment of the doctor standing in the hospital which is an achievement of science will play in favour of whatever the doctor says. What if you don't has that trust (or even active distrust)?
I have long since given up trying to convince people to switch to Linux as their Desktop OS. There are many reasons, but the most important one is:

I no longer care, and I have no reason to.

So what if they don't switch? Does that impact me? No. Linux Desktop is awesome, is only getting better, and this will remain true wheter or not the masses switch over. The question which OS "won" has been decided long ago...the world runs on Linux, everything from our internet backbones to our phones and everything in between.

If companies want to waste money on licences, who am I to say no? And if a company doesn't allow Linux to be used in the workplace, well, I'm an engineer, I have options, thanks for your time & offer, please don't call me.

If people want Linux, it's right there, ready and waiting, available for everyone.

And if they don't, I don't care.
When I see an abstract like that, I think that what's about to follow is going to be a highly ideological and partisan op-ed dressed up as "science". Rephrased, the abstract is saying

"Why isn't everyone a morally pure collectivist like me, and how can we fix that?"

And the answer is: because you're not morally pure, the "common causes" you want us to unite behind are exaggerated and collectivism has a track record of being far more deadly than the things it's trying to solve. But that answer wouldn't be ideologically acceptable to academia.
One thing I didn’t see in the article was that Scala is really god for refactoring code. It gives you a lot of great tools, that allow you to do things which would be impossible in other languages. Dependency injection is really natural in Scala, which can help a lot with refactoring code, both when it was being originally written and when it’s in the process of refactored later. Also, advanced features like implicits, can actually save your butt in certain situations, even though people hate them because they don’t understand them.

Also I agree with everyone that so many people write the worsttt Scala.
At this point the main thing I see missing to achieve more realism are better physics, global illumination and better facial animations. Models/textures are already there.
How does that apply to poor people?
lol Its funny how this thread just turned into a review of tailwind.

IMO Tailwind is awesome (and cant wait to try out v3). It took me a second to warm up to it but now it makes so much sense.

You deal with a lot of minutia writing your own classes and since css is designed to be put in classes, it looks ugly when you add it to elements.

Minifying the styles into structured classes makes life so much easier. Once you map out like 5% of the lingo, you can instantly play with it like lego blocks.

I literally get the same feeling I had when I was first messing around with frontend. That feeling of power/possibilities/excitement when you can tweak a few words and shit changes on the screen.
As a counterpoint, I used scala at my previous job and it was the best coding experience and environment I ever experienced.

Got rid of 1000s of lines of Java and SQL for 100s of lines of scala, scalding and Spark.

The codebase size on the first migration was 10% of the original Java+SQL. overall, a team of 6 worked for 4 years to produce 10K lines of high quality Scala code for a very complex app and platform after the first transition from 10K lines of java+sql to 1K lines of scala.

Never experienced something like this before or after.

At the next place I wrote 400 lines of C++ mapreduce over 3 days, which could have been 40 lines of sql or 10 lines of scalding/spark.

Jarring transition.
> You can configure exclusion paths for node_modules.

With all the viruses going 'round in node_modules these days, that might not be such a good idea.
That's a great overview, thanks!

The only thing missing for me here is having a permission model similar to WASI, where we could potentially have sandboxing per module/dependency. IIRC in Deno this is done on the application level. I wish it was a bit more granular.

I'm not too fussed about esbuild not supporting TS as well as SWC does, e.g. I don't care about enums. But your comment made me realise that I should probably give it another shot. Cheers
https://www.cheaperthandirt.com/thompsoncenter-encore-pro-hu...
At least at our university it is the default browser on every machine. All have ublock origin installed — I wonder how this would affect browser metrics.
Techno-Optimism for 2022
> we have to choose who to believe based on a complex web of tribalism, perceived history, social cues, emotional intelligence, and priors that have served us well

«Tribalism» vs «priors».

That family became rich when the curse placed on the husband had him always lose money at gambling: the wife bet double on the complementary option.

You do not have close friends you ask for advice in order to help decision - towards the opposite? Some people are more consistently right, some random, some wrong. This includes friends.
Do we really think everyone has money for collateral? Small businesses and individual people are already struggling with money, where will they get the collateral?
I assumed it was because they were using us, the Free users, as warning canaries for any viruses that might impact their paying customers, with their heuristic detection algorithms.
In complete agreement, not only the title but the entire article is cluttered with click-bait/hype wording. Simply refer to the paper instead [1], which is well written and should be accessible to even those with a modest understanding of the area if you stay away from the technical details. From my own scientific viewpoint, I think the finding is very neat and at least moderately surprising. So I did enjoy my quick read of the work and even wonder if the finding will be transferable to my own research area.

[1]: https://proceedings.neurips.cc/paper/2021/hash/14f2ebeab937c...

However, this is now the second time this week I have spotted shoddy writing coming from unite.ai – I am referring to the conspiracy-esque spin from [2] that we saw just a few days ago. Apparently they come from the same author even, that seems to put a great deal of emphasis on their articles reaching the Hacker News front page [3]. I am not sure how I feel about this, I would like to believe that “we” as a community are better than to fall for hype and click bait; I am also very uncomfortable with the idea of there being professional prestige in getting onto the front page.

[2]: https://www.unite.ai/a-cartel-of-influential-datasets-are-do...

[3]: https://martinanderson.ai
Out of curiosity: What do you need the MBP for? I.e. what couldn't you do with an iPad + keyboard?
Thats a bit like saying the gold standard for programming is formal verification. Sure in an ideal world maybe every piece of code would be formally verified, but its not realistic and (for the vast majority of use cases) wouldn't be overly useful. A much more realistic "gold standard" for maths is to be peer reviewed and read and understood by a sufficient number of working mathematicians.
They're saying that the institutions should care about it, not that they do.
PDM may also be a good fit for Blender, because of the per-project approach. Blender doesn't come with a package manager and has a varied relation to the system installed Python interpreters depending on platform and install choices.

Scripts, Plugins etc for Blender are currently distributed in a very ad-hoc way, and it is hard to get adoption with plugins that require more elaborate dependencies, especially binary modules.
Tell that to the iphone mini...
Culinary Diplomacy
The examples he gives don't work very well in practice:

>How do you prove you own a house?

The crypto idea of having a private key to a token goes wrong when you lose the key or get hacked, and then say to the court the house is still yours which it is in law

>you want to fix up your local neighborhood’s park. You have the time, but doing so will take a few thousand dollars in supplies. You could go to your neighbors ...

You might just get your neighbours to go on some fixmypark.com site and contribute normal dollars. Getting them all to buy crypto and transfer to smart contracts is not going to happen in the near future.

The whole interaction between crypto and the physical world is very clunky. It seems to work better for flipping virtual assets like jpegs and imaginary coins.

If web3 is a thing it'll probably be more stuff like funding websites by selling NFTs to have ape avatars by your account rather than interacting with parks and houses. But selling imaginary stuff and images and the like can be powerful. I mean US$ are largely imaginary things represented by 0s and 1s in some databases and they do a lot of stuff.
There's no autoplay audio for me. I just tried on Firefox for Windows (desktop) and Chrome on Android (mobile, obvs). Did you click on the video by accident maybe?
One of the authors of this project here—

We actually iterated a bit on the design since then and removed the dependencies on door hinges and paper plates. The revised^3 design involves scotch tape and a paperclip instead.

https://www.youtube.com/watch?v=h6tgFeBjhVg
> Yes, PGP is not a trustless encryption scheme. What does that have to do with anything?

It means you're criticizing something for the wrong reason. Criticizing PGP for not doing something it ever claimed to do is akin to criticizing NFTs for not doing something it ever claimed to do.

> Nobody--who is informed--has given me any coherent description of what value add NFTs provide, period.

Since I assume you're intelligent enough to understand, I can only assume that means you don't want to understand.

> What, exactly, did you mean when you said "the value-add of NFTs... is namely that there's a trustless, verifiable record of transfer"?

Meaning that so long as you can verify that the NFT was minted by who you think it was minted by, you don't have to trust any of the intermediaries that it passed through. It's like buying something that comes with a physical certificate of authenticity. In real life, you have to trust that the certificate itself was not forged by any of the people in the supply chain before it got to you. That's the part that an NFT solves.

The trust issues that an NFT does not solve (that also exists in real life):

1. Some rando Bob prints out their own certificate of authenticity and calls it "Bob's Certificate of Authenticity that This Painting is a Picasso." It's up to you to verify that Bob is someone whose opinion is worth respecting and trusting.

2. The physical product (if there is one) that the certificate of authenticity comes with is in fact the same physical product it originally came with. Not so much a problem with digital goods.

> You responded to my assertion that NFT ownership is not trustless by saying that wasn't the value-add, the value-add was that they were trustless.

Yes, because there are obviously multiple dimensions to the concept of trust, and for some reason you're conflating all of them.

I mean, it's really not a hard concept to wrap your mind around. Unless, of course, you'd prefer to keep looking down on NFTs as a form of status signaling, in which case do keep on pretending not to understand.
The strange thing is that it happened on Intel hardware about 10 years apart. From that I deduced it wouldn't be the driver (and it works flawlessly with Xorg), but maybe Intel's GPU change less over time than I assumed.