skysight-inc/HackerNews huggingface dataset:
in principle there is this low level convergence but differences quickly pile up at the user level. eg armadillo does not support ndarrays except in an indirect way via "field" objects. 2d and 3d fixed size arrays are in general better supported by all libraries as they have wider applications in viz and games but arbitrary size / dimension tensors are hit and miss (e.g. in eigen they are an "unsupported" extension)

it gets even more complicated if you expand into efficient random number generation, graph processing etc. then it becomes important that the library is extensible with some plugin mechanism etc. as, ideally, you don't want your project to be a potpourri of different libraries / API's / dependencies

all in all there are some amazing projects out there but sometimes more options means it is harder to decide without spending serious time. I think this is one advantage of the python scipy stack: at the expense of a (possibly small) performance penalty you have one choice only but it is fairly complete and consistent
I'm one of those Tweetbot users. If I'm honest its like ~1 USD a month (29 CZK), so for me at least the money isn't really a huge deal. It was just a bit confusing not knowing wtf was happening and whether it'd be reversed (clearly now we know it won't be)
Memory isn't the only resource that needs management. File handles, network sockets, locks, security codes and more, all need to have deterministic lifetimes. If you language doesn't support lifetime management via some mechanism then all of these things are the next part that will bite, even if you have GC for memory.
Instead of relying on settings in clients I would have required something more explicit in the url. For example https://csvbase.com/meripaterson/stock-exchanges for the html version and https://csvbase.com/meripaterson/stock-exchanges/csv for the csv version.

Generally speaking, implicit magic is cool but can also be frustrating if its not working as expected.

Very OT: Apple has this attitude of 'it just works'. Really great. Unless it is not working while there are no settings and no info whatsoever on what the requirements are to make it work.
"Song sucks": Nick Cave responds to ChatGPT song written in style of Nick Cave
Sorry but those signals aren't analog. Floating point numbers are still digital.
Microsoft announcement with some details: https://azure.microsoft.com/en-us/blog/general-availability-...
A bookmarklet is more or less just a JS expression that executes on command (the user's, that is). The execution model is approximately the same as for content-delivered scripts, and it's subject to the same constraints.

So, yes, if you just naively write a bookmarklet that navigates to a new page with e.g. assignment to window.location and then expect any result other than the next line of code not executing, then you're going to be disappointed. You solve this the same way you'd solve it if you were writing an ordinary Web app--implemented in JS delivered by the server with script elements on your own page. Two stupid easy solutions that immediately come to mind: use XHR/fetch instead of actual page navigation; alternatively, have the bookmarklet open up a ~postage stamp-sized window with window.open that you can use both to output visible diagnostics and to keep the crawler resident (by doing all the work in the diagnostic window's context, which uses window.opener to control the initial tab as its puppet)... etc.
Memory bugs! I mean mean memory bugs.

Every project should have exactly zero (0) memory bugs. That's nigh impossible to achieve with large codebases written in C/C++ or some other unsafe language.

Chromium and FireFox are still busily fixing memory bugs twenty years after the code was written. It's a God-awful mess!
Earth is the Texas of the Universe?
What if we just put all the RAM on the CPU die? Imagine the speedups for everyone!

I know, sounds crazy. Who’s gonna make such a drastic change to the industry?
No they haven't. They have all lifted millions out of poverty.
I don't really keep up with all the new features as it suits me fine. In combination with vue it is so powerfull.
Houses in US are made of wood because:

- wood is cheap in US (historically was 10x cheaper)

- there is a lot of land, plots are big, so you can fit everything in a single level

- wood is better for handling earthquakes, brick walls cracks

- cultural (wood has always been much better for construction in US)
My expectation is that the general contractor's attitude towards quality would be completely random. Some are gonna be great and some are gonna cut every corner they think they can hide from you. And then the buy side of the market isn't sophisticated enough for it to be easy to identify which is which.

And like for renovations, lots will bid the easy project and do it as fast as they can vs ensuring that anything that comes up is addressed well.
You'd still have radiative heat transfer, even if there is a vacuum between the panes. For a given budget, you're probably better off adding more regular panes.
Having more layers of actual glass helps with sound insulation also, probably more of a concern in Amsterdam than in Norway.
Midjourney and Stability AI are being sued for copyright infringement
A perfect anti-spam solution doesn't exist.

Even if you switch e-mail provider, as long as they're also using some sort of anti-spam system, false positives will always happen occasionally.

The obvious recommendation is to always add any trusted senders to your contacts or, as you've already done, create some filters.

Alternatively, switch to a provider that doesn't use any spam filtering at all. But that will open up a whole different can of worms.
It's common in basically the whole Arab world.

https://en.m.wikipedia.org/wiki/Cousin_marriage_in_the_Middl...
I was curious about the same thing. But turns out you can download (export) the video without paying anything for now. Maybe it will become paid in the future?
Not sure if you got my point that numbers on these platforms are a scam, it's pretty well known that they are unrealistic and posted to attract attention (aside from select few like Yandex maybe). You keep picking bad biased sources, and you have yet to clarify how to feed a family on 5600 per month
This non-javascript static site generator used by among others the A11Y project displays a countdown. Yesterday it displayed "7". Today is "6". My money is on a newer version.
"Nick Cave has dissected a song produced by the viral chatbot software ChatGPT "written in the style of Nick Cave", calling it "bullshit" and "a grotesque mockery of what it is to be human"."
> we are perhaps converging to a future where a FAANG L7 can just sketch out architectural details and the programmer equivalent of paralegals will simply query the latest LLM and clean up the output.

This is just proposing waterfall + outsourcing all over again. The author doesn't seem to understand that "sketching out architectural details" is the thing that developers do.
This is absolutely untrue. Beans, rice, corn, potatoes, cabbage and salad are cheaper than junk food.
This is exactly the kind of comment and discourse that is not HN worthy. You might want to do some introspecting
If you know algorithmically what will work sure, but if you don't, and you need to throw multiple approaches at a problem until one sticks, then a prototyping language is extremely helpful. The problem comes when management notices the prototype mostly works, they want you to ship it rather than make something sane now that you know which direction to head. I find using matlab is useful for this. Managers seem to understand that you don't ship matlab, where if I used numpy or julia...
I tried Node.js on the backend but it didn't have the expressiveness and ecosystem of Scala.

I run a few simple Node and Python apps behind the scenes of caption.me, but for the core code, I want the power of Scala, its functional style, rich type system, monadic composition, immutability-by-default, avoidance of nulls etc. As well as great libraries like http4s, Doobie etc, Scala also gives me access to the entire Java ecosystem.

The PHP->Scala/ReactJS rewrite is partly a learning and experimentation project for me. I use Scala in my day job, and when I make technical/architectural decisions, I benefit a lot from the stuff I've learnt in my side projects, particularly on the front end side.

PHP has had its day in the sun (as shown in the job market trends on https://www.itjobswatch.co.uk/jobs/uk/php.do ), so I think it's more valuable to get exposure to modern languages as I still have a few years of professional coding ahead of me :-)
No, it's completely possible. You go into the BIOS and turn it off. Any BIOS that you can't turn it off is either defective, or it is meant for high security enterprise stuff (you have to pay extra for corporate laptops that only allow secure operation).
Elon Musk’s “extremely hardcore” Twitter
I believe I remember reading about that in the book "The Emperor's New Mind" by Roger Penrose back in the late 90s. It was something that has stuck with me ever since, even though I didn't follow up on the AI route.
'Sir, have you heard of the word hipocrisy? If you want your neighbourhood to keep their houses white, maybe you should not have painted your house red. You also refused any consequences of painting your house red, but now you demand it for your neighbour?'
> we should be aware of "big hammer" solutions

Parser combinators have become my preferred "medium hammer" strategy:

Sometimes you get a more readable parser than if you use regex, even though your language is regular.

Sometimes you get corner cases where you have to think and an LR parser generator wouldn't require thinking.

On the other hand, you have one tool that almost always does the job well, is readable, and embeds nicely.
I'd just like to point out that the whole time travel thing was done in a Klingon bird of prey. The ships are beholden to the whims of the crew, no matter the level of inbuilt space magic.
Why are you touching 17 different dotfiles on a regular basis to require knowing their syntax/inputs ?

I've done a similar number of platform jumping but I honestly don't remember when I've used more than 3 or 4 at the same time. Like I was really into Clojure for ~1 year back around ~2010 - if you put me on a clojure project I'd be lost for a month. I wouldn't need to get over LISP and functional programming mindset again but the details are lost.

At this point I rarely see big paradigm shifts and it's just picking up the details + connecting with things I already know. I've outsourced remembering details to Google :)
These days - I use swoole/openswoole with any PHP project.
it brings connection pooling, async, concurrency, event loop, io parallelization and much much more.
You can just install PHP and use the built in dev server:

php -S localhost:8000 -t ~/my-php-files

https://www.php.net/manual/en/features.commandline.webserver...
This gets missed a lot. Rust isn't memory safe, it is resource safe.
A single meal at McDonald's is still pricier. What junk food is cheaper?
I very recently relied heavily on chatGPT to write a contract in solidity.

The tool gave me lots of example code I could use, helped debug some error messages & was much more efficient than google & stackoverflow.

I don't think I'll ever deploy the contract (It's a game that isn't very good), but I don't think it would have been this easy to do without a semi-literate ai dev to help me out.
I get it about Rust, because Rust really won't let you hide the fact that you're holding on to a temporary reference (GC is an abstraction over lifetime of objects). Borrow checking is also intentionally less flexible about getters (allowing library author to do anything in the getter, but that makes exclusive-mutable getters exclusive over the whole object not just one field). So Java programmers are in for a shock — public fields are encouraged, and APIs have to commit to a particular memory management strategy.

But OTOH not having to worry about defensive programming is so great. Nothing is NULL. Nothing will unexpectedly mutate. Thread-safety is explicit. It's always clear when vectors and objects are passed, copied, or only briefly inspected.
Why chocolate feels so good? It's down to lubrication
More addressing the parents reference to bad actors and major platforms.
To be fair around tumblr it is now run by the Wordpress Foundation -
https://wordpressfoundation.org/

“The WordPress Foundation is a charitable organization founded by Matt Mullenweg to further the mission of the WordPress open source project: to democratize publishing through Open Source, GPL software.”

So while definitely a larger platform this is not big for profit social media arriving.
"Rust has made the decision that safety is more important than developer productivity. This is the right tradeoff to make in many situations — like building code in an OS kernel, or for memory-constrained embedded systems — but I don’t think it’s the right tradeoff in all cases, especially not in startups where velocity is crucial."

I completely disagree with this statement. If a Rust developer takes longer to code some feature this time will eventually be saved fixing memory bugs later on. And don't forget the immaterial cost of losing customer confidence if the product crashes or glitches because of memory instability.

And then I'm even glossing over the enormous benefit of Rust when writing correct multi-threaded code, which is almost always a minefield in C/C++. Code that looks and seems to work OK might in production suddenly crash after a year or so. A complete nightmare!

Memory safety is ALWAYS a good thing to have.
Out of curiosity, which think tank?
Is there so much more? Unless using it for sports, it's basically an extension of your phone to serve notifications and that's it.
Looks good, but since there is no transparency on pricing, it doesn't motivate me to sign up. Not sure if there is pricing visible after signing up, but I can't be bothered to find out. Id be clear what is offered for free and where does/will paid plan start, if there is even anything for free at all, or it's jut premium pricing.
Why would a new project in 2023 choose PHP over anything else (modern Java, Kotlin, C#, etc.)?
> And in a case of self fulfilling prophecy, because they decided that initializing and owning your own keys was not going to be a normal part of the user experience, it is now hard(almost impossible) to do.

This is false.

The issue is that nobody has written user-friendly tooling to manage keys and sign stuff. Not that actually implementing this is hard.

https://github.com/Foxboron/sbctl
My Rust journey and how to learn Rust
Learn Rust through the learn-by-doing model
How old are you now? Have you tried PRP injections?
But aren’t average walls in Norway much more insulated? So the statement is still true?

What is the R-value of a Norwegian wall?
I'm a coder with 30 years of experience and I'm also excited about the potential of ChatGPT to help with my work. However, it's very important to remember to double-check the code it generates for accuracy.

Especially for anything that is not boilerplate or tutorial level, I've seen a lot of mechanically incorrect and unhelpful code generated.
There are many other possible directions the language could have evolved in since then. For example, an emphasis on its dynamism and statelessness rather than introducing a static Java-like OO model for building hierarchies of classes. Or a modular system that encourages the user to put “complex” code in C modules, making application development as simple as calling a few functions.
I used to work way back in the day on PHP too, but even though I'm sure this will be downvoted, it's really sad people still take it seriously as a language in 2023. There's nothing remotely elegant about it. It's not expressive or programmatically succinct in the way Ruby is. It's not beautifully well thought-out the way Python is. It's not fast and modern in the way Rust is. It's not elegant or composable or client-side renderable in the way React.*script is. It just brings nothing to the table. It's an ugly hodgepodge borne out of an over-engineered homepage from 28 years ago. Various business interests have kept it afloat, and people who don't know any better keep championing it. I think people do eventually catch up with what's going on though as soon as they personally experience writing anything remotely serious (5-10,000+ LOC) that isn't a simplistic web-app.
There’s been so many window manufacturer lawsuits over this issue that my guess is a manufacturing defect.
I disagree. It depends on the type of project you're working on. If you're writing a public facing high-performance application it MAY be more beneficial to use deterministic memory management.

Most tools, even very technical tools like assemblers, debuggers and compilers, don't need deterministic memory management. Only operating systems, device drivers and some time-critical applications (like video/audio encoding/decoding) need deterministic memory management.
Here is my story, which may provide some inspiration.

My co-founder was searching for an apartment to purchase and found that all the tools he was using had weaknesses and none of them met his needs. We decided to create an aggregator for real estate offers. Initially, we intended to target users looking to buy an apartment, but we later pivoted to focus on real estate agencies and added features around this. After more than two years of part-time work on the project, we gave up as it was not sustainable for various reasons.

However, while working on that project, we had to develop a web scraping infrastructure to collect data reliably for our system. We realized that we could create a separate product based on this, which led to the development of Scraping Fish API for web scraping: https://scrapingfish.com. We understood the market and our potential users/customers well, as we were the users of the system before. It makes it easier to sell a product when you understand the market and your target audience.

You can read more about our journey on Indie Hackers: https://www.indiehackers.com/product/scraping-fish.
This is the reason why SQLite will never be forked.

https://www.sqlite.org/qmplan.html
Both of those are currently hobbyist projects. They may develop further and become useful to the average PHP dev, but they're definitely not there yet.
https://github.com/dalek-cryptography/curve25519-dalek

25519, ristretto group.
I am yet to meet a single person with a max-size iPhone

Well, I agree there. It seems like they are mostly owned by people who carry purses because they are too big for pockets. But it is also true that you almost never see people with smaller SE iPhones or mini Android phones.

The overwhelming preference is not "the biggest screen possible" but is clearly "the biggest screen you can reasonably fit into a pants pocket."

Like yoga and meditation and other self-care this is
only on an upwards trend

That's a funny observation. What it really highlights to me is how personal peoples' preferences are here.

To me a smartwatch is way more intrusive than a smartphone. It's something that's always on my wrist, always on my body. Versus a smartphone which I can mute and leave in my pocket where it doesn't really tempt me.

But, I must stress, I realize this is personal and others might find the opposite to be true. Above all else I am glad that folks are considering what's best for their mental health.
PSR isn't generally accepted. It's a bunch of nobody know-it-alls that decided everyone needs to write java in PHP.

No thank you.
Slightly sarcastic a bit, but isn't the point of all that engineering schooling, certification, titles, social prestige etc some kind of assurance that those people don't make mistakes? Or if they do, very slight ones? In a sense you cannot have it both ways right?
Quadruple glazing is insane, but it’s also ridiculously expensive.
For me it’s about paying for a slightly smoother UX and for supporting the growth of the Mastodon ecosystem. I hope that good 3rd party apps will eventually also ease the onboarding of less techie audiences.

I hate subs, but I might make an exception here.
Medium haven’t announced ActivityPub but they have announced their own mastodon instance, indicating potential coming interest in ActivityPub.

https://blog.medium.com/medium-embraces-mastodon-19dcb873eb1...
Perhaps, but if they had a plan to monetize 3rd party clients, then the first people they'd want to sign up would be existing clients with developed products and an install base. Instead it seems they just silently killed them.
The rich ecosystem, the amount of developers experienced with it, ease of deployment and maintenance
Interesting (though clearly biased) article. I suppose we shouldn't be too surprised about the bias given the source.

My main issue with it is the focus on short term developer velocity. Fine if you are writing a game in a week and then stopping. Most people are not doing that.

It has a great list of interesting new languages to look at!
Queries to Find Patterns in Your Knowledge Graph
Hi, I am author of this blog post. If you have any questions, feel free to ask.

Main idea behind blog post is to explain what kind of questions you can ask when dealing with graphs to uncover hidden knowledge. Problem is often that although it seems at first easier to work with Relational databases due to the way people are used to think about databases and finding something in them, it turns out to be slow and nonperforming solution. And when you realize graph databases are more suitable when dealing with finding patterns due to lot's of node hopping and explorations, people don't know how to model such question or don't know what you can ask graph database. This blog post intends to help you with first steps and get some ideas.

Let me know what do you think.
This article is biased in more than one way and misses a lot of nuance and aspects of GC-based languages which are not limited to pure GC and employ a lot of techniques for deterministic and semi-deterministic memory management, and various trade-offs to optimize for single/many-core and throughput/latency scenarios. In fact, many modern garbage collectors are not dissimilar to arena allocators making most of the allocations very cheap and efficient.

In addition, Rust is difficult to use for iOS as it stands today but you can for sure make it support a variety of scenarios with delegates aka callbacks/function pointers/etc. Also RAII can be supported with .drop() and more. Half of the cons are incorrect and misrepresent current state of affairs.

It also recommends defaulting to Go over C# for making a web server which my religious views compel me to publicly object to :)
It is more typing than julia or numpy maybe, but probably not more than c#, maybe not more than go, and most certainly not more than java.

I think even within GC languages developer velocity varies a lot based on things like typing system, reflection, repl, and maybe interpreted vs compiled. My experience is that this variance is greater than what can be put at the feet of memory management
I believe Rust will ALWAYS be beneficial compared to MMM languages because it will save time in the long run.

Programs with Rust will always be rock-stable, unlike many C/C++ programs which are more like a house-of-cards.
They do exactly this: if enough people watch it, they continue, otherwise they cancel.
Good article, but this not a “trick”, it’s a core part of the HTTP protocol. Worthy of an article non the less, judging by how misunderstood the topic is among the commenters here.
Sirum (YC Nonprofit) Is Hiring Chief of Staff and Product Managers in Atlanta
there is nothing wrong with asking if provided object is more capable than it seems so we can perform more efficient logic on it. that has nothing to do with magic methods, numbers... no magic whatsoever. "magic" in code refers to usually hidden and/or fixed behavior. this is not even in the same ballpark.
...because they don't know any better
Palindromic Rolling Hash (2016)