skysight-inc/HackerNews huggingface dataset:
ChatGPT's opinion on the matter is completely worthless, unless it was also trained on an accurate description of its training process (it wasn't). Language models do not even have access to their own "thought process" - if you ask it "why" it said something, you will get a post-hoc rationalization 100 percent of the time because the next-word prediction only has access to the same text that you see. The rationalization might be incidentally correct, or it might not - either way it contributes no real information about the model's internal state.
Author's note: If you click "click here" and follow the prompts, docs.rs will be rendered unusable for you. Clear cookies to restore access.
If you start hitting performance issues with Rails, switch to using Arel for queries and pump the data into lightweight classes. ActiveRecord optimization magic is a foot bazooka.

If you want to reuse the code between these objects and the corresponding ActiveRecord model, do it with a module.

The biggest problem with Rails is that people get so glued to the conventions that everything gets shoehorned into a model or controller instead of using a better abstraction.
Is a cup of 30% vinegar poisonous? That would surprise me.
I honestly do not understand ActiveRecord and ORMs in general. There is the obvious advantage of mapping, for which one merely needs microORMs. Even by reading this article one realizes that for anything complex, it is much simpler to directly write SQL queries rather than use byzantine techniques whose only raison d'etre is to coerce the ORM into writing those SQL queries. I mean -- why not write SQL directly? :-)

There's the not-so-common case of needing database independence as well, but at that point DB perf becomes a really hard problem to solve generally...
...and accidentally discover the next biggest prime number!
If I were the students in the OP's story, the lesson I've learnt would not be "I have to be a better English writer". It would be "I have to cheat better next time so I won't get caught".
That is an interesting idea. Learn to love the bomb: mark the prompt not the essay?

"Your assignment class is to write a comprehensive 250 word prompt that covers the main topics we've been discussing about the causes for WW1. You should assess the resulting essay to ensure that it covers X, Y, and Z in it's output, being sure to discuss foo and bar. Write a brief 500 word analysis of what you tried and your prompt's effectiveness and be prepared to discuss in class what worked well and what you needed to change in your prompt."
The cynic in me finds this quite naive - there are territories of the Earth where if you are a male of a certain age and you are killed in a drone strike you are automatically classified as a "military-aged male", i.e. a non-civilian, regardless of the existence of any other evidence.

So what will happen if AI suggests someone is a terrorist when they are not? Well, in the worst scenario they'll be killed, and it'll be very close to what we have today, except somewhere in a private military database there might be an automatically generated record from an LLM ok-ing the target.
Money was never the end goal – mrdoob – threejs creator
Jails are fine and nice but always come in your way when you expect to do things as you would on a desktoo and you want a computer and not a software appliance like an iOS.

Just look at how many flatpaks are distributed with broad insecure access, how many workarounds have to be made with apps to work when reasonnably jailed, the presence of tools like flatseal.
Ahh, I hadn't seen this before posting. Thank you for providing a dose of reality, excellent link
> It being a one-pass compiler bugs me (there is no excuse for a modern language to require forward declarations).

He refers to the need for forward declarations as "one-pass compiler". Historically at least, Ada compilers were infamous for requiring many passes and being consequently slow.

Whether it is still acceptable for a programming language to require forward declaration seems to me rather a matter of personal taste. Sure, compilers improved and there's plenty of memory for them to use, but human programmers' capacity increased little, if any, I'd think. I think of those forward declarations as form of double-entry bookkeeping.
> Imho raw sql is always best, build your own query generator which you understand its logic fully and is tailored for your project.

This comes with the caveat that someone will have to work with bespoke-sql-codegen:0.0.1 when you go work in another company, with StackOverflow being of no help, as well as an unknown amount of vulnerabilities.

I once worked on a Java project that put like 90% of the logic in the DB and the application mostly called prepared statements and parsed the results with a bunch of low level logic. There was some dynamic SQL generation but the end result was the whole thing feeling like code archaeology because of course there was basically no documentation or good examples on how to do things, decoupled from the already complex codebase.

It was blazing fast but also an absolute nightmare to work with. I would be similarly guarded towards using anything bespoke without a community and knowledge base, regardless of the stack.

As for ORMs, there’s nothing preventing you from making an efficient DB view and mapping that into an entity.
the problem with salt is it is difficult to get rid of, and non-specific. For driveway cracks it might be ok, but boiling water is still much safer and harder to fuck up.

Boiling water is really useful too, since the boiling damages the plant in a way that pathogens can enter the plant, which then eat/destroy the roots which usually result in regrowth.
Well you could use the information that you just accepted is collected to identify which phones are in custody by the police, which phones have been stolen, lost or left without a user - that's all very easy actually considering the apple network and the number of their devices.

Having a few lines of code to dictate what happens once a phone has been identified as any of the above is pretty simple stuff.

I think this restart is for Apple - an easy attempt to restore the devices network connection (and the data stream from it) and has little or nothing to do with law enforcement originally but now Apple will say that's the whole entire reason this exists bc privacy.

Anyways, it was absolutely relevant info to the article and considering it and more - it's obvious that Apple could have done this, or something like it, to thwart cops but is very unlikely.
Sorry. For me a set is just going to your limit. A full squat is where your butt touches your ankles but don't "bounce" - pause momentarily before you come back up.
Ask HN: What hacks/tips do you use to make AI work better for you?
I’ve found that breaking down a task into smaller parts before asking Cursor to help with each one makes a huge difference. Instead of tackling a big task all at once, guiding it step-by-step leads to much better results.

I also use ChatGPT to break the task into smaller tasks.

What’s a workflow tip or strategy you’ve picked up that others might benefit from?
RISC-V Vector Extension for Integer Workloads: An Informal Gap Analysis
The Chinese have the right to complain about their leaders.
We don't because we choose them willingly.

Crime goes down, the poors don't riot and that's all that matters.
They have street names, but the areas are quite massive so you would have street names that would repeat and the areas are in constant development and more streets and flyovers gets added or removed every 2-3 years.

Address in India follows a block approach and the address is usually longer than a comparable western address, example;

B1803 xyz apartment

Sub block name

Block name

City division name

City name with pincode

State name

B108 stands for B wing 18th floor and house 3 in that floor in an apartment complex named xyz.

Street names don't scale well when you have a billion people with lot of vertical buildings in places like India or china.
Anytime I've had an issue with an OpenBSD man page (rarely) I take 5 minutes to go play in Linux to remember just how terrible it could be

I dread Linux man pages
Super cool project! I don't have any answers but really appreciate learning how these things work.
Not understanding how LLMs work.
They are trying to recruit about 1,500 per year out of 300,000 new 18-yos per year. Meaning they need a 0.5% conversion rate. I think just slightly raising awareness by including a neat flyer with the questionnaire might do the trick.
i might be wrong but corporations/institutions never sponsor R&D in all directions so framing/phrasing is vital. but, from a philosophical pov, I agree with you.
This "aliveness" debate reminds me of the "11.000 years old dog". Basically a tumour that has been spreading from one dog to another for thousands of years.

https://www.cam.ac.uk/research/news/11000-year-old-living-do...
Command line:
https://github.com/XcodesOrg/xcodes

GUI:
https://github.com/XcodesOrg/XcodesApp
There is not a corporation on earth that has data collected on you that will voluntarily or automatically delete it - even just from a device disconnected from the network (especially so actually, bc there is new data still on the device not synced to the network) - not a single corp with data will ever delete it, even if they say they do.
Please make similar in SDL
Many times. What debugger are you using? I haven’t run into problems yet with the MS one.
Why not just give the html to the llm?
This Week in KDE Plasma: Everything You Wanted and More
Tool Generator project for build Node-RED Nodes lib
> It can be just a few Hz, I don't need 500 Hz.

Tldr: understood that you think you don’t need 500 Hz, but there is a technological limitation why you need that frequency for these systems to work.

The reason these measurements need to be so fast is because the measurement is not absolute but periodic. Meaning that when you measure something it can’t tell you how large it is in absolute terms just how much larger it is than the closest integer period. In mathematical notation you can measure x where the whole distance is k*period+x, where k is an unknown integer, and period is a design parameter. It can’t natively tell you what is the value of k.

So to figure out the whole measurement you need to calculate k. And you can do that by keeping track of it. You know it is zero when they zero out the caliper, and you know that it just increased by one every time there was a falling discontinuity of x. (Meaning that every time x approaches the period and then suddenly drops to a low number it just crossed over one of these period boundaries.) Similarly you decrease k every time x had a positive discontinuity.

And you can only do that trick if the sampling rate is much higher than the speed the caliper is moved. If you sample too slow suddenly the caliper might move multiple whole periods between two samples and the code would loose track of the value of k.
- Java's latest addition of green threads is 100% lifted from Go.

- Rust and Zig's built-in language tooling, including dependency management and an opinionated autoformatter.

- Java's ZGC was an obvious response to Go's GC. There's also the realization that the fewer GC knobs there are to tune the better.

- Possibly Java's quest to add value types as well, not 100% sure on the timeline.

- Broad industry trend towards providing easy cross compilation into static binaries.
> written in 0-sizes font

You're... evil.

I love it.
> are left unsupervised as “iPad children” by modern day unserious parents

They were left unsupervised on the street before, I’m not sure if there’s significant difference in what the people then and now thought.
Yeah all these seem hyper focused on "voice cloning" so on replicate VoiceCraft doesn't even let you try normal TTS unless you provide a reference voice so I noped out.
Gemini Now Compatible with OpenAI
I just tried it and got "Liora" instead of "Elara".
There's an interesting theory that this is all that consciousness is: one part of the brain trying to explain the decisions of another part, a part into which it has no special insight.
Yes but not very long, otherwise it gets dry. But it allows to keep it for a couple of weeks instead of a single day.
Probably referring to twitter switching from Rails a long time ago, because it didn't scale for them. I can't think of anything else
Nothing, probably just not a fan…
Somewhat ironically, it's to make architects' jobs easier when they're drawing things to <architectural> scale.

If you're making a floor plan drawing at 1:100, a 240 inch wall becomes 2.4 inches on the drawing. The scales [of the drawings] and the scales [the tools] evolved together. (Similar to "why do computer people work in base 2 or base 16 so often?")
> I’m guessing that supply chain is pretty locked down.

School districts and the like have them, it's not at all locked down. Independent "researchers" can obtain them (and have.)
The current equivalent is the "just copy the Wiki article".

I've started to notice the low-effort YouTube videos where the arguments / points / facts are presented in the same sequence as the matching articled on Wikipedia.
"unserious parents" looks to me like we are attempting to optimise for maximum productive potential in a competitive, zero sum human labour market.

If we're lucky, AI may also disrupt some core assumptions about what a childhood should be.

I'd love to not be forced to enlist my child in the state sponsored training program for the white collar meat grinder, competing against ritalin packing tiger moms, just for the chance to potentially avoid resource scarcity later in life.
I'm reminded of one of my Maths lecturers.

He argued that most proofs really only involve one insightful step. Really difficult ones might require two.

The rest is just 'turning the wheel'; each step is just doing the only thing you can do. The point of practice is to make those steps obvious; to learn to turn the wheel.

I guess when it comes to looking at core dumps, I don't even know where the wheel is, let alone how to turn it because it's something I have never done. It maintains that air of magic to me.
> then they won't be compelled away from what actually matters – the engineering.

Maybe it is, to the extend that playing with lego blocks authorised by the lego corporation is considered engineering. That, of course, is a silly line to draw for defining the discipline.

> we all have way more fun diving deep into crafting the perfect type in Haskell

What Haskell allows you to do in practice is defining required and missing control flows (for solving your problems) as types[0], and constraining those types with rules that define your business domains the control flows must operate in. That is the actual engineering, as opposed to joining plastic bricks.

[0] https://hackage.haskell.org/package/foldl-1.4.17/docs/Contro...
Great work. I thank you for it. I've used your library for a few years in a Lambda function which takes a URL and converts it to Markdown for storage in S3. I hooked it into every "bookmark" app I use as a webhook so I save a Markdown copy of everything I bookmark, which makes it very handy for importing into Obsidian.
So better than human performance? If you put me on the spot to tell a joke I can recall maybe 10 good ones, 2 of which are ok for work
Wouldn’t that be a Distinguished Engineer?
This seems like an excellent reason to run a "reboot after 12h of no signal" program - this would snuff these Faraday bags right out completely.

Cellebrite doesn't have BFU unlocks for any recent iPhone, allegedly.
Quantum Simulation for Protein Dynamics
It's pretty well documented the connection between JD Vance and Curtis Yarvin.

"There's this guy, Curtis Yarvin. Who's written about some of these things. A lot of concerns that said we should deconstruct the administrative state. We should basically eliminate the administrative state. And I'm sympathetic to that project. But another option is that we should just seize the administrative state for our own purposes." - JD Vance in 2021
Somebody moved the UK's oldest satellite in the mid 1970s, but no one knows who
I remember there was a paper which found that LLMs understand HTML pretty well, you don't need additional preprocessing.
The downside is that HTML produces more tokens than Markdown.
Hey, sorry, I didn't initially see this comment. It looks like Jodel could be similar if you were to set up a Habitat instance that exclusively didn't allow for locations to be attached to any post, but that's not what I have in mind, and it's not how my instance will be set-up, because the location attached to the post is what I'm seeing as one of the main purposes of Habitat. In most cases, I envision a post representing an exact location. Perhaps a building, a country park, or a monument or something. Jodel looks like generic discussions that are filtered by proximity, which Habitat would have also by nature of federation, but the posts will be about places, and focused around a map-location of those places.
> In a Yarvinist world, there are no nation states, there is no liberalism, no conservatism, no democracy, no representative forms of government, only corporate fiefdoms.

Isn't that what we already have now? One could argue that it's structurally the case since neoliberalism got going in the 80s, but it seems much more obviously and viscerally true the last couple of decades (2008 financial crash, Obama saves banks, Trump 1.0, generalised trade wars, COVID, Ukraine, Gaza, Trump 2.0, climate chaos, nuclear treaties being revoked, etc).

I mean, if there's a revolving open door between these three entities:

1. government
2. business
3. media

Then what we get seems to amount to corporate fiefdom, at least in its effects. In the words of Walter in The Big Lebowski: "Am I wrong?"

Put differently: if you look at the larger threats we face as a species, and then if you look at the larger trends of how nation states ("democracies") actually act, the actions don't seem to track whatsoever with the desires of populations, and they do seem to track very accurately with the desires of big business. At what point do we say - hold on a minute, are we living in a corporate fiefdom of some kind?
Very cool! It would be fun with some kind of performance comparison against the "traditional" textured method.

As usual with modern gpu stuff for (semi-, not knocking the OP) simple stuff like this I guess the answer to "how does it perform?" is "yes". :/
I last read that story nearly a decade ago, I think. This time around, it feels more real. The engineers follow silly instructions from people with money, and then...
Piper seems roughly equivalent to old-school TTS outputs that sound flat, jumpy with the concatenative approach. Listen to this first example I tried:

https://rhasspy.github.io/piper-samples/samples/en/en_GB/ala...

Of all the TTS APIs I have tried, I like OpenAI voices the best. Haven't considered things like elevenlabs because I find them ridiculously expensive.

I love voice to voice interfaces, but only when they sound natural to my ears, and the current pricing for good ones is prohibitive for a huge number of use cases.
140x cheaper than Datadog: why storing observability data on-prem makes sense
looks awesome.
But I do not vibe too much with turn based games.
Anything similar but "realtime" ?
Probably due to the American fixation on race and cultural identities.

The modern reality is that the arrival of dozens of semi-homeless people with no visible means of employment, sanitation and waste disposal is generally unwelcome (and certainly isn't romantic).
LLMs and dQw4w9WgXcQ
Adding red tape to processes is a decision, not a consequence of digitalization.

We don't live in the same world as the 1990s, we live in a world that's faster than ever before.

We can't achieve what's possible by sending in handwritten forms, it's just not gonna do it. and while governments are anything but efficient they are more efficient with digital workflows.
> There is some probability that a random star has intelligent life on orbiting planets, but we have no idea what that probability is.

100%. The evolutionary pattern of our solar systems formation and earth ending up, temporarily, in just the right spot isn't rare but (was) a matter of time/timing.

Now one could argue that the stellar objects carrying specific components necessary for life did not hit every or many solar systems but every single simulation (in my head) of the big bang's aftermath reveals that it's at least multiple hundreds of thousands, given how much the observable universe has revealed so far in the places that we looked.
I’ve been happy with an insulated mug
Agree, the play store isn't secure one bit.

We hear enough story how Google removes legit app without reason, using automated process, to know that there is at least as much malicious app that goes through being undetected.
Regular Restarts Are Good, Actually
Show HN: I made a minimalistic logo generator
I don't understand this definition of "alive". Isn't every cell in my body alive? There are definitely differences between an alive cell and a dead one.
You mind your own projects, I code in what I like.
The police in other countries manage without doing this.
> Java's latest addition of green threads is 100% lifted from Go.

or gevent, or many other greenlet implementations across languages, 100%
> Usually the middleman validates what the stuff does

That's what they say for their defense yeah but personally I don't buy it. I've published an app myself and I've also seen the countless app scams which are allowed to advertise on YouTube.

The value we get from the store is dubious.
What if they use AI but the right way to get the correct answer? What then? Maybe asking candidates something an AI can also answer is not the right way to screen people.
Writing an emulator for the Z80 also has no practical uses but we all do things for fun don't we?
So one eye-friendly way to observe the sun (at least in summer) is to stand under a deciduous tree canopy and look down: under suitable candidates there will be several foliage-diffracted circles in evidence among the general shadow.

Do these reflect the solar disk, or are they circular due to a different process? If the former, would it be possible (with enough magnification) to get similar images during a Venusian transit?

> "At the time we were all making astronomical observations at a dollar per figure, I realised that for centuries we had only one model for this scientific discipline..." — not AAJARENyC, "Transit of Venus" (1977)
Yeah but there probably aren't billions of dollars riding on your ability to replace the entire entertainment industry with a infinite spout of "original" content. We already have a perfectly good machine for rehashing the same few stories and jokes forever, it's called a dad.
Neural spell-checker: Beyond words with synthetic data generation
One problem (at least in Postgres) is that you can't partially refresh the view, so it inevitably takes more time as your database grows. There's pg_ivm extension but it limits what can be put in the view definition. Otherwise you'll have to be smart about composing it of smaller, independent views.
I am also curious.
If they use it the right way, then you wouldn't be able to tell.
Living in a Post-Truth World
Memory?

We take 1GB for granted. In the old time is 4kB was expensive achievement.

And you need a lot of memory to store g code for useful 3d model.
The answer I look for in "how does it perform?" is "VSCode stops eating hundreds to thousands of MB of my VRAM".
>> Our classrooms have already been ruined, not just in america but worldwide.

Hmm ..citation?