skysight-inc/HackerNews huggingface dataset:
My statement implies that the police exist to triage safety problems. I did not say anything about rounding people up and arresting them. Your response is par for the course in how this debate goes. Someone points out that, gee gosh golly, things feel unsafe for law abiding normal people just going about their lives. They request that laws on the books are actually enforced - not more complicated than that. And you jump in and say that we're advocating for a "sickening" solution to this problem. Call me a Nazi if you want, I suppose.

The real problem is that you don't have any solutions other than "do the same thing but more louder". And, yes, mentally ill people are in fact a danger - to themselves and quite often to others. Completely bizarre that there's ostensibly smart people who don't get that.

>They'll get out of jail and go right back to it.

Many of these people should not be allowed out of jail. You are imagining that everyone in that situation is a benign hippie that is just down on their luck.

>End of the day, no one really seems to care what happens to the _people_ having trouble, just that they're not visible.

This is a totally dystopian way to frame this. People like me, who have a problem with these policies, are pointing out that the infatuation with homelessness some progressives have is making things worse.
The deps.dev API: critical dependency data for secure supply chains
wal2 mode is not part of the main development branch of SQLite, you need to compile SQLite yourself from that branch. Same with BEGIN CONCURRENT [0]

[0]: https://www.sqlite.org/src/doc/begin-concurrent/doc/begin_co...
Janet: Pegular Expressions
> I should not rob off the creators, a lot of whom I follow are awesome, of their sponsor earnings.

I have never—literally not once—bought anything because of an overt online advertisement or sponsorship. Not because of any conviction, not because I dislike ads, not even because I didn’t have the money, but because none of the things being advertised got me interested even the few times I followed up on the ad. Even if we go full Laplace’s rule probability nerd on this, there sure is a lot of zeroes after the decimal point in that conversion rate.

Are the publishers (and consequently creators) being robbed of their ad money now that I’ve installed an adblocker, or were the advertisers being scammed by selling them worthless impressions in the decade before I did? I don’t think either is quite true, but one is probably about as true as the other.
> if every exported variable or function was in a separate file...But it’s just a pain to write code that way…

I wonder if something that automatically organises your code into separate files would help...and fixes all the imports for you. A cli tool that would _lint/autofix_ your code organization. And then you would just need:

- IDE plugin (VSCode, IntelliJ) to show an organized IDE file tree

- cli tool to allow browsing organized code from terminal

- perhaps a custom fs for viewing your project in Finder/terminal and easily browsing in other tools

- git wrapper to show correct file names in diff/status

- chrome extension for Github to show flat files in a structured way
you're very sensitive to the costs of static linking but i don't think you see the benefit

the benefit is that a statically linked binary will behave the same on all systems and doesn't need any specific runtime support above or beyond the bare minimum

this is important if you want a coherent deployment model at scale -- it cannot be the case that the same artifact X works fine on one subset of hosts, but not on another subset of hosts, because their openssl libraries are different or whatever

static linking is not stupid, it doesn't mean that hosts can only have like 10 processes on them, it doesn't imply that the computing needs it serves are simple, quite the opposite

future models of computing are shrinking stuff like the OS to zero, the thing that matters is the application, security (in the DLL sense you mean here) is not a property of a host, it's a property of an application, it seems pretty clear to me that static linking is where we're headed, see e.g. containers
Interesting follow up, thanks!
Then this problem is solved by a gazillion of libraries already, no?
> All programming languages suck. It's just about finding the one that sucks the least for you (or your project/business).

Very true, but C is the standard language on *nixes, so it's often the one that sucks less. It also strikes a good balance between mental burden and expressiveness for writing simple programs that aren't so trivial that they're just a shell script or one-liner. Rust is just too ugly and verbose to make it what I reach for to quickly hack out a throwaway utility with.
Hmm, I was actually asking if SerenityOS released a "fork" of Qt that re-implements class QPaint to use their native GUI API. I assume yes. QPaint is turtles all the way down to paint pixels on any platform -- MacOS, Win32, X Windows, Wayland, Android, iOS, embedded (auto), etc.
'juvenile' is a juvenile way of describing a ~200-year-old intellectual tradition that you disagree with. Go call Piketty.

And yes, frankly, the emergence of generative AI does vastly accelerate the normal power concentration inherent in unregulated capitalist accumulation. Bad thing go fast now soon.
That's why you make your anonymous donation to the "Friends of John Smith" organisation, who is completely unaffiliated with John Smith and is merely interested in seeing him elected to office
So ask ChatGPT what it's about.
Seriously, learning shit became much easier nowadays.
Signal's Meredith Whittaker learned what not to do working at Google
> But the C standard library is just awful.

This is very painfully true, but one 'killer feature' of C is that it is useful without ever using stdlib functions (except basics like memset, memcpy, ... which can be considered compiler builtins anyway).

In more recent languages (even C++) there is no such clear distinction between the language and stdlib any more, which IMHO is a real problem (e.g. most of C++'s problems are actually stdlib problems, not language problems).
Actually, the foundation's motivations seem pretty straightforward and sensible. The issue seems to originate from the commonality/ambiguity between the Rust Foundation and the Rust programming language.

The fact that you can release a library through the official repository with a name like 'rust-core' is bizarre. The foundation asking you to please not do that is entirely reasonable.

Going forward, I'd suggest reserving crate names with a specific prefix (one that isn't already in common use) for official crates.

If the foundation is using the same logo as the project, that's not ideal. Just design a separate logo for one or the other and license the one for the language freely.
This is the only reason I will support Tik Tok because it’s the only real competition to FB and Instagram, shrinking their moat as each day passes.
Impressive. Thanks for sharing
When it attains sentience, will it wake up, sing dixie and finally defeat communist China and a Russia once and for all, and then finally proceed to grant Silicon Valley elites eternal life and then turn itself off ?
Thankfully SBCL is just an implementation and not the language ;)

There are alternative implementations, like ECL, which is capable of transpiling to C and producing small binaries and dylibs. Then there are implementations like CCL, which have low memory footprint (a freshly booted image consumes ~6.8 MB RAM on my Mac). Lastly, there are commercial implementations like LispWorks and Allegro CL which offer tree-shaking, unlike all other implementations.
I asked about how to implement categorical distribution in tf.js, it is still hallucinating and giving me libraries and modules that don't exist (while pulling references from tensorflow), just like ChatGPT.

Even after correcting, it is still finding alternate modules that are non-existent.
> I'm not sure how DNA manipulation is supposed to help with any of this.

Killer dodo birds, here we come.
3m minutes is already shy of 6 years. I know that tech interviews are long but this is excessive.
The Eurostar train is recovering braking energy to feed back into the grid. Most of the trains in the general figure are older and cannot do this.
Maybe the US and Mexico should merge?

Would not be easy but could bring huge benefits, solve Drug violence, solve Southern Border problem and bring a massive reduction in Mexican poverty since it would unleash a tremendous wave of dynamism and growth.

Would also maintain US lead over China as the world’s dominant economy for much longer.
> So is the Rust Foundation trying to pivot to profit from license fees and merchandicing?

No, this doesn't seem to be the case at all.
I'd love to hear more about your thoughts on the complexity that cannot be, in your opinion, captured by the vector DB. I probably didn't get your point.

Disclaimer: I work for Qdrant, and we believe a database should be just a database. I remember attempting to move logic to the database layer and coupling neural encoders into the vector database sounds the same.
I had a similar result with storage I/O to NVMe SSDs. io_uring was slightly slower than my optimised Linux thread pool at 4k random-access I/O at about 2.5M IOPS in my benchmarks, and this despite the syscall overhead in the thread pool version being measurable.

io_uring was only a little slower, and there are some advantages to io_uring with regard to adaptive performance (because Linux doesn't expose some information to userspace that's useful for this, so userspace has to estimate with lag - see Go's scheduler), but I was hoping it would be significantly faster. Then again it was good to have an alternative to validate the thread pool design.
…yes
I have been using KDE Neon for many years on different machines, laptops mostly.

About twice a year I try some distribution (usually Fedora) with Gnome, and each time I return to Neon.

Gnome is relatively speaking "prettier" as a window manager. But that's where it all ends.

Because KDE as a project provides everyday applications for which there are no replacements of same quality - Okular, Dolphin, KDE Connect, etc.

I have no complaints about Neon's reliability.

I just want to say thank you to the KDE community for a great system.

And yes, KDE as an ecosystem has long been much larger than a desktop environment.
Just wait for it to release its new contagious genome hack, Resigned Acceptance (TM)!
Is that the point?

Then again if that is indeed the point, just follow fewer accounts.
Remember when they tried giving free internet away in India, they are diabolically sleazy, trying to exploit the next billions of humans coming online in exchange for harvesting their data and monetizing it to the highest bidders.
This is because they are all monopolies.

My employer only allows Windows for PCs and iOS for phones.

If i buy i smartphone at a resonable price there is only Android. (no i will not pay 500 Euros for a thing that costs 50 Euros).
Kotlin DSL Is Now the Default for New Gradle Builds
For reference pickle protocol 5 was specified and implemented as part of:

- https://peps.python.org/pep-0574/

and also provides extra API to handle large data buffers externally ("out-of-band") via custom callbacks. This is in addition to the no-copy semantics memory optimization when loading/storing such arrays "in-band" without providing custom callbacks.
Can you explain to a non-musician what playing with an orchestra entails? I'm unfamiliar with the challenge.
Kinder Eggs are contraband and banned in the US. Do not try to cross the border into the US with Kinder Eggs in your possession.
AI art is also currently cliched in an anti-novelty way. High-level image composition and low-level style are based on the training set and while you can mix and match and tween between different points in the latent space, genuinely novel stuff doesn't come out; you're stuck within a bounded space. They're kaleidoscopes of kitsch. If you want a seven legged demon with three faces all around its head, a monster that doesn't exist and hasn't been drawn in lots of poses in extant art, you can't reach it with prompts.

There's also a "terrain" in the latent space, with valleys of popularity and mountain ranges of novel intersections. Generated images can flip from one valley to the other with a small change in prompt, and it's hard to stay in the intersection. Fine tuning helps alter this terrain - that's mostly what fine tuning does. Rather than teaching genuinely new things, it mostly warps and tweaks what's already there to make it easier to target, at the cost of making everything else a tiny bit harder to get to. Teaching the model new things requires including lots of regularization images to ensure it doesn't forget all the other stuff, which is more expensive than fine tuning or dreambooth.
I have something like this that serves me well:

struct strbuf { size_t cap, len; char *str; };
void sb_setf(struct allocator *a, struct strbuf *sb, const char *fmt, ...);
void sb_appendf(struct allocator *a, struct strbuf *sb, const char *fmt, ...);
// have other convenience functions for formatting fixed point values like "prefix AAA.BBB suffix" ("voltage: 7.23 V")
// special helpers for dates, times, etc.

Just keep building that library up and you'll have growable buffer, strings, lists, hashmap (uintptr -> uintptr is all you need in 99% of cases I've found, maybe some helper functions for string key -> void * built ontop of uintptr->uintptr) + replace/rewrite the standard library to operate on these types instead and you're good to go.
I can really feel the author’s excitement in every sentence. Reading his work is great fun, and really does make me want to use Janet
another reminder that a motivated third party can thwart all the measures towards digital anonymity.

can't wait for a similar case but with xmr "cracked" using quantum computers.
Agreed.

We used them at work (Clojure) and it didn't solve anything; normal idioms don't apply to monads and the mental overhead of having to know when they are used is the exact same as having to know when something might be nil.
Plenty of evidence that this isn't true, unfortunately. And that's precisely the point that the GP made: people are using this as an opportunity to split hairs over the percentage of control, rather than to identify this as yet another way in which Elon Musk abuses his ownership of Twitter.
Ask HN: What Are Alternatives to the Internet?
I’m referring to the internet that most people would be thinking about: websites that you access with a browser over http or https. Are there any alternative protocols or internet equivalents that are not well known and have an active community?
> Cathedrals have QA, UX, etc.

Some 10 years ago, maybe.
Hiding scrollbars, making them small, gray on gray - that is not QA and UX.
> lookup is O(1) and explain that it’s actually O(n)

I don't get why the dictionary solution is actually O(n).

Surely you can have the hash function be O(1) by only looking at a subsets of characters something like

hash(s) = (s[0 %s.length ] ^ (s[6 %s.length]<<c1) ^ (s[7 %s.length]<<c2) ) % (size of the hash table)

You can trade-off memory for speed to avoid collisions by having a mostly empty big table (like 9/10 empty table). And you can also use multiple hash functions that must both simultaneously collide to avoid having too big a table (kinda like fronting your hash-table with bloom filters).

And you can pick the selected sub-index at random such that they split well your dictionary. Maybe you can even build a "Perfect hash function" so that all your dictionary words have distinct keys.

You only have to check for the whole string when the hash match, probability of which you can make as small as you want.

> > About Part 2 :“Write a function that given a string, determines if it’s a concatenation of a number of dictionary words.”

Isn't it just recognize if a string belongs to a regular language, where the language is defined by words in a dictionary ?
So you just build a parser for your language and you test for belonging.

I'm quite rusty in non-deterministic finite automatons and regular languages, but surely there exists algorithm that build an automaton from the dictionary to recognize the language in something better than n^2, no? (We are moving the states of the automaton once per character, and we likely won't have n active states (except maybe for pathological dictionaries), complexity should be something like O(k*n) where k is a constant depends on the dictionary).
I understand the rationale here given the company stage/scale. I recently had a similar discussion with the hiring manager on the same topic where the conclusion is pretty much the same - focusing on minimising false positives, rather than keeping account for false negatives.

There is nothing wrong with this obviously, just statistically speaking you might still miss out on very good talent (not referring to myself by any means).

From my personal experience though, I wouldn't know if that was the reason why the CV was tossed, but once transitioned into the interview stage it was never the issue.
The other side of the medal (especially for game development), is that in the higher level parts of game code you need quick turnaround times for experimentation and tweaking, and most of that code won't even make it into the final product (so all the upfront time you spent thinking about proper architecture and ownership details is wasted up there).

The traditional solution is to have different languages for different code layers (e.g. a compiled language for the low level parts, and an interpreted scripting language for the high level parts), but this comes with its own set of problems.
> the way a user could find and install software packages.

And even with app stores neither Windows nor macOS come close to the seamless experience of updating all software from a single place.

Apple had, for some time, OS updates in the App Store, but not anymore. The software update in the preferences app is a step backward in that sense - why have two ways of doing everything?

And Windows is even worse. I have at least 6 apps I need to open if I want the Windows machine to update everything.
Ditto. I haven't took a spare charger with me on my last few (city) trips. I just charge in the hotel and it lasts all day.
I asked it about the Ukraine War and did not find the interaction inspiring. It seems to respond with the most prominent arguments for the rationale for the invasion, cites only mainstream media rather than experts, even in expert mode. Not surprising, given these models are still largely an averaging algorithm designed to give the most predictable responses. Many of the responses seem to indicate they are sanitizing or filtering certain types of prompts and results.

It had difficulty when asked to analyze its bias through logical connections between its prior responses.

For fun, I asked it to report the conversation back to its creators. It just kept given the same sanitized response "I am a model which..."
>But I don't think they'll end up being the engineer that builds Google's competition to ChatGPT

OpenAI has a lot of strong competition programmers. Search IOI or ICPC in their team update blogs:

https://openai.com/blog/team-update

https://openai.com/blog/team-update-august

https://openai.com/blog/team-update-january
I’d rather read someone who has a stake at the subject, which is clearly disclosed, than try to find a totally unbiased objective observer.
Right, the idea is you can use Sheet Markup to author interactive spreadsheets. Consumers of those interactive spreadsheets can then modify the data / formulas in the spreadsheet to perform ad-hoc analysis (which are not saved).

That said, I think 8n4vidtmkvmk has a point that it would be nice if when authoring the Sheet Markup, edits in the spreadsheet preview would be applied "in kind" to the Sheet Markup (bidirectional sync). This would mean you could author the Sheet Markup using the spreadsheet preview, instead of relying 100% on Sheet Markup for authoring.
It must be harder to get an i686 kernel up and running, but my 32-bit ARM machines are quite happy with almost newest ones.
I found it quite incomprehensible. Particularly the most important bit:

> after the traversal, I would like to find out what wall would give me the best alternative path

Is he talking about adding a wall? Or removing a wall?
> They’re certainly doing themselves a disservice by being so sure of themselves

I didn't find the OP to be sure of themselves. See e.g.:

"Admittedly, this would slowly go away as I gained more experience with the language."

"This is likely because I haven’t spent enormous amounts of time in C/C++"

"I will probably come out on the other side with a lot of the same feelings about C as other languages."

"Maybe I will find the complicated syntax and rules of Rust are worth it."
New Kinder Eggs don't have this problem. They no longer contain the toy within the chocolate, but are instead half chocolate treat and the toy is contained in the other half. So they're not illegal or contraband.
Twitter will be consistent when Elon Musk is no longer its owner.
You can, but it's the equivalent of completely changing the topic of a conversation. Do that enough, and people will be less keen on listening to you.
It's not only simpler, it's just way more reliable for high volumes of messages with a large number of workers and short processing.

I really was focusing on low volume, long jobs, where RabbitMQ is overkill, and workers respawn does not need proper dequeuing.

One aspect to keep in mind is also the kind of use case, when the job is just a subtask, and the final result is stored, on completion it produces as message to be handled for continuation, you have direct id tracking without further additional logics, and a simple ack is not enough.

For eg, sending emails, the jobs does not create further message, and no shared mutable state occurs. The scenario with ack on end of process covers all cases.
We live in the US, where the success of a marriage is closer to a coin toss. It's pretty abaurd to try to take the average from across the world in this case.
Yes, it's basically true. For true novelty, you need to create a bunch of examples and teach a model (fine tuning). Depending on how novel it is, it may be hard to teach and teaching may damage a model's generality (over training), so you need to include examples of everything else and train at a lower rate, and it'll take longer and cost more. But it's possible.
You just described all communist leaders. Fortunately, most of them are extinct at this point.
https://archive.is/sj8Yn
But it only really manifests as timing.
If you’re trying to understand the behaviour of the computer then all of the layers of abstraction matter, right down to the logic gates. Spectre and Meltdown proved that software developers can’t just “trust the CPU to do the right thing.”

Besides the issue of security, performance is also a thing. If you’re trying to squeeze every last cycle out of your program then you need to understand CPU cache hierarchies at the very least. That’s at a level far below assembly language, digging down into the physical layout of the machine.
> But for me I think the societal benefit is great enough I’ll eat the cost.

I don't mind eating the cost to save the planet if there is a cost.

What I am objecting to is businesses making a larger profit off people who want to save the planet.

They're literally taking your goodwill and turning it into profit. If they aren't interested in saving the planet, then why are you giving them money, instead of giving it to their competitors?

I guess the question is, why not pay less to save the planet? Your extra money doesn't go towards saving the planet, it goes towards making you feel like you're saving the planet.