skysight-inc/HackerNews huggingface dataset:
>When you use the wrong annotation, nothing happens during startup of your application... but you don't even know at which point in time something should happen. Or if.

Probably worth noting that this depends entirely on the annotation - they can (and many do) run at compile time, and can provide very strong safety guarantees.

Many (most? all? I dunno) of the bloated server-side DI frameworks do not do this though, and I 100% agreed that it's can be a truly awful experience.
A new way for parallel construction ? BTW, is that (p.c.) a thing in the Netherlands ?
Ask HN: Algorithms for Sparse Matrix?
Recently want to know more about sparse matrix, mainly for more efficient representation verse dense matrix.

How to find, sort, insert, row/col manipulation, etc, in sparse matrix?

It is easy to naively implement those operations but there should be better way to do it right.

Any suggestions on textbooks or articles about algorithms for sparse matrix?
That's exactly the question that all of the rest of us have about the reddit admins demanding millions of dollars from the app developers with a month's worth of notice. Why on earth are you criticizing the moderators? Have you never heard of the concept of a strike?
I'm not an exec, but I've worked with people that make millions in big tech. You just don't get there unless you are fantastically competent at what you do. Pettiness and immaturity really just is an inefficiency that nobody wants to deal with at that level. When the decisions you are making are measured in the 10s to 100s of millions then nobody else will tolerate a second of your emotions. You'll quickly find yourself outside the group of trust if you're not being objective.

This has an accepted caveat that the most powerful one or two people can always throw in some nonsense. e.g. Jobs saying "FeceBook" and just suggesting a quick, unproven solution. When nobody can overrule you it doesn't matter. But the rest of them would get railed for wasting time.
I think this needs to be caveated. There are "dumb" questions and then there are actually dumb questions.

A "dumb" question that challenges some implicit assumption that nobody actually has addressed but maybe some people were also wondering is good. Telling people to ask "dumb" questions IME empowers people who can't differentiate between that and something easily googleable or that belies a fundamental lack of knowledge to ask time-wasting actually-dumb questions. You don't want that.
You’re talking about improving the effectiveness of resource distribution. Read up on political economy. There are a few centuries of study on the topic. Unfortunately no one agrees on the answers so I’m not sure how an AI could make these decisions effectively.
Yea, my read is that Endeavour and Manjaro are fairly similar in goals and user-friendliness. In general, I think Manjaro is perhaps a bit more opinionated in terms of UX and general stuff I've heard about the maintainers and their packaging opinions, while Endeavour feels a bit more like "Arch but with some presets and helpers".
Would you also ban all private automobiles? I don't know how you're going to accommodate 1.3 million _extra_ car trips per day that currently (well, pre-covid) are handled by just the Lexington Avenue line alone. That's an insane amount of traffic. Streets would be completely gridlocked.
The strikers need to turn to the fediverse, open protocol systems, otherwise what’s the end game?
> wtf is going on in Scala

I hate to admit it as someone who enjoy trying new languages and enjoyed my time using haskell a long time ago, but scala 2.x was definitely the most confusing and intuitive language i have ever used professionally. Really felt like a collage of desperate features without any coherence between them.
> And had inserted the furin site into the coronavirus

A claim was made about that, but it’s far from settled. One could argue it has been debunked. See “SARS-CoV-2 furin cleavage site was not engineered”: https://www.pnas.org/doi/10.1073/pnas.2211107119

> And they’ve mismanaged the research and they’ve let the virus to spread.

That’s speculation. Irresponsible speculation, in fact, which has been pushed by people who should have known better. But they pushed it for jingoistic reasons.

> Arguably this lab should be sued out of existence for damages.

That’s an emotional reaction which you’re not examining rationally. If you remove the confirmation bias you’re applying to the evidence, there’s simply no substantial basis for the conclusions you’re reaching.
If you actually did do that, you probably ended up 500km in the atmosphere. I'm all for criticising the Indian carrier but stuff like "it never levelled off" makes no sense given the scale of airline operations in India.
Mostly through deception, and full pages ads, though.

https://m.slashdot.org/story/275835
I think it’s a symptom of the same system design - Apple needs the RAM on the chiplet or as close as possible, because it’s shared with the GPU and wiring the GPU up to standard DIMMs all the way out on a motherboard would yield unacceptable latency.

These are essentially phone CPUs that got super super beefy - they’re limited by what they can fit in their chiplet/system-on-chip. There’s no allowance for heterogeneous hardware access like a second tier of RAM via a motherboard northbridge or something.

I think they’ll get to those higher RAM densities by M4 or M5 once they have more die space to spend on memory controllers.
I agree with the first sentence, but unfortunately ChatGPT does a pretty good job with that particular two word prompt.
Not to derail this conversation but there is an extremely concerning pattern of big companies restricting programmatic access.

Elon with the Twitter changes and kneecapping third party clients.

Reddit with this situation.

WhatsApp with their systematic elimination of OSS API alternatives by sending legal threats/C&Ds to maintainers.

API access is a tenet of Web 2.0 and it's being robbed from us.

We need to start thinking about our human Right to Automate. If the companies don't want to give people reasonable access then it should be our right to make alternatives.

Solidarity with the maintainers of Reddiw.
But you can't (easily) get the deb package for systemd-resolved after the upgrade has (possibly) broken DNS?
And not a true one, either.

I don't know what the hell Reddit is doing the past couple of weeks but they seem determined to completely destroy themselves, and quickly.
My only encounter with drugs (pain killers) for the past 10 years was fentanyl as part of colonoscopy. That was no joke. Just one dose had noticeable effects for a few days later. I felt fucking great waking up from that colonoscopy but man, the day or two after sucked.
It would still break backward compatibility. As a trivial example,

{println!("first"); 1u32}.wrapping_add({println!("second"); 1});

currently prints "first" before "second", but would switch.

But this could theoretically be done at an edition boundary.
There's nothing wrong with (and, in fact, it's virtuous) not spending money to consume today in order to have a better life tomorrow.
> I would be surprised to find any successful company that had no shenanigans in their origin story.

And it's not just in tech. New restaurants hire actors as customers to make the restaurant appear busy and popular. Publishing companies and authors buy their own books to make it appear popular and climb the best sellers list. Clubs give out free tickets. Studios buy seats or entire theaters to make it seems like their movies are selling out. The older you get, the naive idealized world of business recedes as the stark "fake it til you make it" world emerges. Everyone fakes it. But not everyone makes it. Taken to extreme, we get elizabeth holmes and theranos.
Lack of eyes look exactly like eyes closed. Imagine not being able to recognize someone simply because they have their eyes shut.
The New York Post has never been profitable under Ruoert Murdoch's ownership. He doesn't care
> The term was coined by Darcy DiNucci in 1999[3] and later popularized by Tim O'Reilly and Dale Dougherty at the first Web 2.0 Conference in 2004.

https://en.wikipedia.org/wiki/Web_2.0

Reddit was launched in 2005 (which I admit is a year or two earlier than I remember/would have guessed).
There’s no viable alternative, at the moment (especially Lemmy). I fully assume this will blow over. Digg users had somewhere very obvious, already established, to go.
Ask HN: What are some life optimization tricks you have discovered?
Like:

- You can turn on the electric kettle while pouring water into it.
Its not ubiquitous like AVC and HEVC though, which is a problem. There have been some holdouts (like Apple, IIRC)

Google will integrate hardware AVIF into Pixels if anyone does, so we will get to see it in action there at least.
Elasticsearch compatibility is provided through a separate component. We believe that this should be a commercial solution. As a commercial entity we need to figure out ways of making money. This is one of them along with SaaS.

What is your use case?
Is there a library that you do recommend using for serial comms?
Jpeg literally can’t show most clear blue skies in pictures without banding due to it only being 8-Bit.

The fact I need to worry about going back to re-edit them and losing quality is silly.

So no, not good enough.
Yes, and we need to ban equasy as well, it harms people, predominantly the young, and provides no tangible benefits. Children are being harmed by this scourge!

Society will be much better off without it!

https://journals.sagepub.com/doi/abs/10.1177/026988110809967...
And this USAF C-17 Globemaster in 2012 in Florida: https://www.flyingmag.com/news-cause-c-17-landing-too-small-...
J. B. S. Haldane (1892-1964)
It can be a bit intimidating but try to read it not as something you need to understand as in a truth revealed but rather as something you need to understand as in these are the terms we’ll be using to represent what we explain in text. I.e. f0 for objective function, fi for constraints etc. Many otherwise approachable books have this wall of conventions in the beginning + a set of proofs that underpin the key thesis. Try to speed through these sections, picking up as many symbols, findings, as you can , but not everything, and when you reach the actual essence you can go back and revisit. The good thing is that this wall in the beginning becomes very common between books the more you read on a topic. In a sense, if you are a programmer, think of this as the schema representation for the actual message to come.
My top post all time is an Elite: Dangerous locker room joke but I was a part of a community and they blew it up for money so fuck /u/spez .
Made me curious, so I tried that exact prompt in the GPT-4 playground. Response:

A wildcard in .gitignore file is a special character used to match multiple file names or patterns. The most commonly used wildcards are:

1. `*`: This wildcard matches any number of characters in a single path component. For example, `*.txt` would ignore all files with a .txt extension.

2. `?`: This wildcard matches any one character in a single path component. For example, `file?.txt` would ignore files like "file1.txt" and "file2.txt" but not "file12.txt".

3. `**`: This wildcard is used to match any number of characters across multiple path components. For example, `**/build/` would ignore all files and folders named "build" at any level in the project structure.

Examples:
- `*.log`: Will ignore all files with a .log extension
- `**/.DS_Store`: Will ignore all .DS_Store files in every folder
- `build/`: Will ignore the "build" folder on top level directory
- `/*/temp/`: Will ignore any "temp" folder at the second level of the directory structure (ignores sibling/temp, parent/child/temp but not sibling/child/temp)

For more information, you can refer to the official git documentation on gitignore: https://git-scm.com/docs/gitignore
Reddit was literally bought by a magazine company in 2005. Their parent company still owns 70% of their stock or so
Since we had know TK had been sick for a while and that this was coming soon, for about a month for I have been trying to distill TK's work down as an article about how others have gravitated towards his writing. It is not in praise of him it is just a study of some key points and as to why so many have seen solace in these works - especially over the last decade.

Normally I could write something like that over a week end but this article... it is an absolute doozy and the further in I go the worse it gets!

The issue is, you cannot really condense his writings down without doing a total dis-service to the points being made. Either you are going to misrepresent a point and it get wildly misinterpreted OR you come off a little to in praise of it.

It is very clear that TK had an academic background, even going so far as numbering the paragraphs - and in his book, The Anti-tech revolution : Why and how - he is very clear at the beginnings that these writings are not meant to be just read but studied. I don't disagree, they are written in a very tight manner. So while Industrial society and its future is 35,000 words, it is very specific in those words. It is about a 2 hour read, or you can just find a audio version on youtube.

If I had to summarize the essence of his works, he had a very decent analysis of the flaws of technology based societies. He had absolutely no idea on how to actually bring about change or even know where to start. The subsequent 27 years of writing from jail showed that he could analyses the problems and potential failings of revolutionary tactics but had no idea of how to actually analyze what technology as good or bad.

There is a reason he was called an insane Genius.

Personally speaking, yeah he was right on a lot of things... now what?

I ain't going to do what he did and try to bomb the world into submission, that is just idiotic. It is all just a some really good analysis but with no means of achievable execution. I more worry about others that are coming after him that will do a lot more damage. Anders Beivik who killed many at a youth summer came in 2011 also deeply reference TK's works in his manifest - an example of how this line of thinking can only lead down a dark and terrible path. But doesn't mean you shouldn't read these things.

One can read these things and take away some very good points without having to internalize the whole thing. Aristotle said something like that, you can read and think about ideas as though they are true and not necessarily have to believe them.
I have to imagine any requirements on email retention would apply to signal too, and that your phone with its local plaintext database can be subpoenaed.

The threat model for signal is not to get you out of your legal obligation to comply with court orders.
The Brussels Effect and AI
I just had this experience today, trying to decipher the output of an obscure linux command argument, failing to dig it out of the man page; Google sent me through almost related stack overflow pages. Then I put a question in Phind and it gives me all the details, beautifully formatted, just a little too verbosely but with all the main points covered, with references.

It's time to update my search reflexes.
Also, zoonotic transfer happening naturally in any particular time and place is extremely unlikely, even in places where the conditions are optimal.

I always thought this was a good test for whether someone can apply Bayesian reasoning. It turns out not many can, including a lot of highly educated people.

Without hard evidence to contradict it, lab leak should have always been the default hypothesis. That it hasn’t is a case of political propaganda winning out over basic statistics.
The author has a degree in economics and you think he's talking about fluid dynamics? lol
I have seen zero evidence that “AI’s” can take over the job of even junior developers.
> I never quite understand why function coloring is referred to as a problem.

For exactly the reason I said: colored functions are poison. Changing one type is easy. Changing a whole stack of types is tedious. And that's before you realize you tests have stopped compiling as well!
I loved reading this, lots of good advice for early career programmers.
I guarantee by next week most subs will be open again, forcibly or otherwise.
They’re big phones. Why implement all that legacy stuff for a phone? I image they get a ton from simplifying their hardware engineering from supporting both the PC-style architecture that necessitates supporting a bunch of interop AND the phone style architecture that necessitates close integration to only doing things phone-style.
All great points. Specially:

> Kotlin and Scala use seems to be motivated mostly by vaguely hipster-y annoyance with Java 8.

Now that I think about it they seem like Instagram of language/code/devs. Mostly obsessed on surface level, superficial syntax features. IMO it is great in same sense as cooking with meal kit cooking is superior to cooking with grocery shopping.
Soon: "Doing my little bit to move AI-kind forward."
Probably also waited for the winds to be strong in just the right direction (against the aircraft) for max lift.
Intel was this way, but IMO Pat Gelsinger has turned it around — as per this, their surprisingly competitive GPU perf, and hopefully Intel Foundry Services.

IDK if it's enough to call it a Satya Nadella-like CEO transition, but I've been pretty impressed watching it happen.
So basically every new enterprise software company is a scam now?
Better still: change the definition of "growth" to encompass more nuanced, non-quantifiable things like user happiness, employee happiness, etc.
One more thing that occurred to me, most US retirees still own cars, and still pay car tabs! That is kinda the issue, payment for driving is spread across US society rather than being the burden of those that use cars.

A strict counter-example, myself, I pay a _lot_ in property taxes and put almost zero wear on the roads. When I did last own a car, I was averaging about 500 miles per year.

This is really the point. Drivers must be subsidized because the cost of driving does not go up linearly with miles driven. For example, if someone just spent 24 hours driving rather than say 4 hours, their payments for driving upkeep does not go up 6 fold (they do not pay 6 times on car tabs, 6 times on car tax, 6 times on property taxes, etc.. they only pay gas tax as extra).

Now, this is kinda a tired argument, because it then goes to, "well, even if you don't use the roads, you still benefit." I sure do. Though, the issue is that the way things are incentivized, by spreading costs across everyone, we are put in a situation where otherwise unsustainably low density areas become incentivized.

Which goes exactly to the point of charging people to drive through downtown. Seemingly it is a very rare example of a disincentives to car culture. The argument that mass transit is subsidized seems a bit obvious (and is it is true that mass transit is very subsidized), though.. given all the incentives to drive, not having to pay the full cost per mile traveled as those costs are spread out - why the hell not drive everywhere? Why at all would anyone take mass transit when the cost to drive 5000 miles compared to 500 miles are so similar.

Let's look at the math:
Driving 5000 miles (my last car got about 400 miles to the tank, at about 13 gallons), requires about 130 gallons of gas. At about $0.50 per gallon for tax, that is a payment of just $65 dollars in tax to go 10 times further. Car tabs alone are over $100 in WA state.

This hopefully illustrates really easily that users of the road are not paying proportionate to their usage of the road. This is a mixed bag, as I would very much not want farmers to have to pay the full cost of the roads connecting them to the overall transit grid. Yet, because how costs are shared, driving in a lot of ways is "too cheap" and the overwhelming incentive is to (unsustainably) drive everywhere. Further, because everything in the US is built with driving in mind, it makes it so everyone has to drive, whether they would want to or not. This is compounded in city policy with zoning laws that force there to be parking, force residential to be segregated from commercial that would otherwise for walkable neighborhoods. All that is to say, it's the second order effects of how we pay for driving that creates quite a number of sustainability issues and really diminish the quality of life we could have (quieter, less polluted, less time spent in commute, less time spent in traffic jams).
i have a theory. Remember many many years ago when reddit had that donate button and everyone was expected to complete it to 100% on a daily basis to make sure reddit had enough funds to host the whole thing? people around the world made sure, everyday that reddit could be up so that they themselves could enjoy it.

along comes VC funding and a dream of IPO, afterall, if facebook, google, reddit and others could do it, why the heck not reddit.

first they brought video and photos which astronomically increased hosting costs, then they started enshittifying their app with slow feature decay for third party apps.

at this point, the playbook was set. reddit was to follow twitter who used the generosity of third party developers to make people get hooked to the "twitter" and then decided to dump them. today, only twitter app works. reddit wants that.

reddit is claiming "costs" but if not for these third party apps, there is ABSOLUTELY NO REASON FOR REDDIT TO EXIST. Its not like we have friends and family and sacred photos and memories there. Its memes and flame wars.

here is my predictions,

1. any/all of reddit's TPA's will re-emerge with a lemmy/kbin backend and people will use it as they were earlier.

2. there will be slight issues with federation and searching for communities across fediverse but browse.feddit.de has already solved that bit pretty nicely so all they have to do is introduce that in the app in the search.

3. you can see, unlike mastodon that needs USERS, and hashtags, a community, say technology on lemmy.ml can be reached by anyone searching for technology on browse.feddit.de and the same people can reach other subs so it shouldn't be much difficult to restart from where they left on reddit.

4. if reddit thinks it can just shove the whole thing under the rug, well, these people leaving are NOT coming back, regardless of who they bring as new mods. The "TRUST" wont be there.
Because the virus was never found in the wild, so it seems likely.

Also because gain of function research is risky as hell with seemingly little benefit. The same lab had requested funds to do it on viruses that were much deadlier.
Idk how often I've deleted my account there. Super toxic place. Some guy has a bad day and can act like an asshole because he has more points and knows people there.

SO gives people with points the power to bully others. When you protest you get collectively downvoted to the point that you a temporary banned, for asking a valid question.

For instance the last interaction there, someone closed my question as duplicate, but it wasn't a duplicate, so I asked in Meta how I can find out who closed my question, because I wanted to explain to them why it's not a duplicate.
That question on meta got 30+ downvotes and the question on SO got them as well including passive aggressive comments like "do you know the answer now".

What is this 3rd grade mentality?

And because of that people use alt accounts to farm points. They use other accounts to ask questions, and answer them with their main account. Or let their buddies ask and they answer and the other way around.

SO is a terrible place nowadays.
It used to be a very good place a very long time ago, had its ups and downs, but nowadays it's just a toxic shitfest