skysight-inc/HackerNews huggingface dataset:
Can we just have two separate things? One is a browser that works well, and the other could be maybe some pretty pieces of paper that you can stick over the UI elements that don't spark joy for you.
Show HN: A VSCode extension that makes it a powerful Prompt Engineering IDE
Hi everyone!

When using LLMs in production, our prompts are often long and complex, involving multi-shot reasoning, ReAct, CoT and other prompting techniques. It’s really painful to experiment and evaluate these prompts, we either use the web interfaces like chatgpt (Really hard to edit long prompts, needs a lot of copy pasting), or write a python script to test each prompt (Too many scripts in the end).

So I developed a VSCode extension that makes it really easy to experiment with prompts. I also designed a file format (or programming language) called Prompt File that encapsules the common prompt operations like user inputs, import files, web browsing, multi role, etc. When executing prompt files, the extension will deal with all the tedious manual works for us.

It also supports prompt chaining, i.e. including the result of one prompt run in another prompt, so it’s actually possible to implement a complete AI Agent workflow purely with Prompt Files. There’s some examples in the git repo.

I also plan to add testing syntax like Rust’s [#cfg(tests)], so it’s possible to manage the whole lifecycle of prompt development using this file format alone.

The whole project is written over the weekend so many things are still missing. But I would love to hear your thoughts! Thanks!
They need to be well-rested in case those emergency situations occur; to me that 6 hour schedule feels like it's intended to keep people in a constant state of being stressed / tired. Weird sadism in the military. That said, that schedule looks like they only have the people (or the facilities) to run two shifts, instead of three (8 hours on, 16 hours off) or more shifts.
The problem is reliability. The cellphone is not constantly connected to a network, depending on its location, battery, age of electronics, software updates,... You would need a system that works with a mesh with holes. Not much better than today's situation i would guess.
Yeah, but if you're timing a speedrun using a real world clock, then the PAL version may actually be harder because it runs slower.

I wouldn't be surprised if there are games out there with a visible in game timer which has been adjusted for PAL while the rest of the game is still slow as well...

edit: Oh yeah, I also just recalled that the PAL version of the PlayStation port of Doom was PAL fixed in a funny way:

The game timer still ticks at the same rate as in the NTSC version (so it's slightly too slow now in PAL), but the player's movement speed has been increased, so you can sometimes make jumps which just aren't possible on NTSC or the original PC version.

Durations for frames (states) of monsters and the player's weapons which are counted in game timer ticks have been adjusted inconsistently as well, which results in at least the shotgun being more powerful since it's faster relative to everything else in the gameworld.

I don't remember whether projectile speeds were adjusted. Monster projectiles now being slightly faster (relatively) would tip the scale a bit the other way.

So even a supposedly PAL fixed game be easier than the NTSC original, or it can just be different as well.
> I prefer a visual design that brings me joy

This sounds like a marketing-speak. Joy is not an experience gained by staring at the visual design of a browser. You are confusing joy and another experience, perhaps appeal or attraction.

If you genuinely experience joy from browser visual design, you are probably that same guy who experiences “delight” when a customer support representative treats you well on a phone call.
I’do have to be able to afford a million plus dollar home first during a long running cost of living crisis before I could do any such thing.
While in the mainstream trigger warnings are hated by the righties and content warnings are hated by the lefties, once you get away from the culture war everybody loves content categorization. For example, before you read any piece of fanfiction you're greeted with a long list of tags describing it's content, particularly the content some readers might find distressing. It's a tool for readers, not a government conspiracy.
you should totally spend some time thinking and experimenting with the monty hall problem then. It might not be as tricky as you think.
Updating a PHP file didn't update the content in the browser without a page refresh.
That's how VW works as well, when the next lane is clear. But if you're on a collision course according to the blind spot monitoring system, a turn signal won't suppress anything and temporarily makes for what feels like extra-aggressive lane keep. This is great if you failed to notice the other vehicle, but it does maintain a bit more buffer than some practiced weavers would find necessary (like during a lane change that would be cutting someone off if not for sufficient acceleration to produce a reasonable gap albeit on the late side).
I mean, is anything actually stopping one from adding something like those tags today? Web components use custom tags all the time
Your actions are pipelined. The waiting happens in parallel with doing the next action. The 250ms delay causes a timeout exception and flushes the pipeline.
> And for blockchain... it was launched with the promise of decentralized currency.

Cryptocurrencies were launched with that promise.

They are but one use¹ of block-chains / merkle-trees, which existed long before them².

----

[1] https://en.wikipedia.org/wiki/Merkle_tree#Uses

[2] 1982 for blockchains/trees as part of a distributed protocol as people generally mean when they use the words now³, hash chains/trees themselves go back at least as far as 1979 when Ralph Merkle patented the idea

[3] https://en.wikipedia.org/wiki/Blockchain#History
> This cat is not going back in the bag. We might refine our tools a little bit, but things are unlikely to change significantly for a very long time - possibly ever.

Yes, agreed. This is called "addiction".
It makes "more money" in the sense that other businesses make less money. But it's not exactly a zero sum game in most industries.
Sometimes you want to hire for a potential, as opposed to just experience, sometimes, the reverse. It depends what you're optimizing for.
Is that American youth on average, or specifically American youth in active service? I mean don't get me wrong, I believe you on both counts, but it's an important distinction to make.
IEEE Introduces Digital Certificates Documenting Volunteer Roles
One party is fundamentally against making solutions, regardless of what the solution or problem actually is. They don't want it. Their solution to every problem is "do nothing". Something something free market
Imagine you have a system that ignores taps a substantial percentage of the time (either because it required more precise finger placement, or because that's life). Also most successful taps complete quickly, with only some having 250ms latency. Combine these two and most of time when nothing has happened after 250ms, it's because the tap failed to register and a new tap attempt is needed.

There's been plenty of research for decades showing that 250ms response time in UX is a noticeable slowdown.
This makes me curious, on Mac right now you can set one of their video screensaver things as your background. When you unlock this will slow down the video gracefully to a single frame, but will be playing briefly as your desktop background.

So does Mac already technically have a native way to play a video as your background, it just does not give the option? I am curious if anyone has looked at what the performance hit during those few seconds of video playing when unlocking. (Also curious how this works on the backend, is the video just "paused" or is it taking a frame and setting that as the background for better performance).

Is this using the built in method for this just removing the part where it slows down?
This is only an example of the type of thing a hacker would do- a hacker is willing to solve problems on their own on their own even if it requires methods that are illegal, dangerous, or complex.

A lot of people throw their hands up and give up when they need an expensive medication they can't get prescribed but in general you can often buy them overseas, grey market, make them yourself, etc.
"there’s a soft moratorium on showing scary new capability"

Yes. There is also the Hype of the "End of the Hype Cycle".
There is Hype that the Hype is ending.

When really, there is something amazing being released weekly.

People are so desensitized that just because we don't have androids walking the streets or suddenly have Blade Runner like space colonies staffed with robots, that somehow AI is over.
That just suggests the review process isn’t fit for purpose either
This comment doesn't deserve the downvotes its getting, the author is right, and I'm having the same experience.

LLM outputs aren't always perfect, but that doesn't stop them from being extremely helpful and massively increasing my productivity.

They help me to get things done with the tech I'm familiar with much faster, get things done with tech I'm unfamiliar with that I wouldn't be able to do before, and they are extremely helpful for learning as well.

Also, I've noticed that using them has made me much more curious. I'm asking so many new questions now, I've had no idea how many things I was casually curious about, but not curious enough to google.
Just what my car needs, a government mandated attack vector. As if the crap that car companies are already forcing on people isnt enough.
Some brief notes on 'numfmt' from GNU Coreutils
As long as people don't fool themselves that doing that for CUDA C, or even CUDA C++, without everything else in regards to programming languages, IDE tooling, graphical debuggers, compute and graphical libraries, is enough.
If you let a malicious user into your Slack instance, they don't need to do any fancy AI prompt injection. They can simply change their name and profile picture to impersonate the CEO/CTO and message every engineer "I urgently need to access AWS and can't find the right credentials. Could you send me the key?" I can guarantee that at least one of them will bite.
The barrier to entry is lack of an existential threat. The USA faces no real threats to the homeland and the military budget, while large, is still affordable. So cost effectiveness and efficiency isn't a major priority. Whereas Ukraine has had to get creative with cheap drones and improvised cruise missiles in order to survive.
Website getting hugged to death for a second day. Direct link to downloads from the GitHub releases: https://github.com/zen-browser/desktop/releases
You are correct. So, the statement should not be "if you win the lottery jackpot, then you win less than the average lottery winner", but "if you win the lottery jackpot, then you win less than lottery winners win on average"?
That's a good point. I adopted microformats in a static site generator, with a handful of custom shortcodes. It would be much harder to adopt in a WYSIWYG context
When I ride my bike on the street, I exercise an abundance of caution and assume all cars are out to kill me (through negligence if not outright malice.). But some cyclists seem to have another mentality, where if they merely do as they're supposed to while exercising their rights then they are personally in the clear. Why should I avoid that busy multi-lane road, I have as much right to it as the cars. They're the ones that suck. True in the legal sense, but being in the right won't unsquish me.
The cosine function itself is symmetrical around the Y-axis. Supposedly, the main advantage of the DCT is that it's better at representing symmetrical features in data sets, which is a good fit for both image and audio data.
Every time I've read up on semantic web it's been treated as more or less synonymous with schema.org. Are these other ontologies used by anything?
It's an important distinction to make tbh. However, "intuitive" doesn't necessarily mean "intuitive to a lay person", but it should be intuitive to someone in that domain. The "gang" checkbox is not intuitive to me, but to a sailor it probably has a lot of meaning, just like "commit no-verify and push force" is intuitive to me, but gobbledygook for a layperson.

But yes, a UI should be designed for the end-user, and power-user UI/UX design is a rare skill.
Veryl v0.12.0: A New Hardware Description Language
Sorry, can't recommend a good book. My opinions come from interacting with actual product people, and from watching "undercooked", "overpriced", "poorly made", "easy to replicate" things achieve enviable success and wide adoption very quickly: PHP, Docker, Heroku, Dropbox, etc. They all completely removed friction in some narrow but important areas, and this was more important than all their very real shortcomings.
that sounds awesome! what does the process of getting to one of those proofs look like? is there a lot of back and forth, or is it mostly autonomous?
The first sentence in the first paragraph on the website is "beautifully designed". Clearly the creator wants to bring to our attention that they spent a lot of time designing the visual aspects of this browser. And from the looks of things, this is indeed true. The browser does look very beautiful.

But... this is literally form over function.

Browsers should be like car tyres. Only after you have selected for your functional use case and requirements, do you filter for visual aesthetics.
I have experience using this back when I worked for a startup that did distribution grid optimization. The specs are unfortunately useless in practice because while the terminology is standardized the actual use of each object and how to relate them is not.

Thus, every tool makes CIM documents slightly differently and there are no guarantees that a document created in one tool will be usable in another
There is a payment here, it's reputation.

The hard part is getting people to do exhausting, boring, smelly mundane tasks that don't garner applause.

Those tasks are more numerous by orders of magnitude, until we achieve post-scarcity.
Good to see phrack finally supporting HTTPS.
Yes, this. I was skeptical and disgusted at a lot of what was being done or promised by using LLMs, but this was because I initially saw a lot of wholesale: "Make thing for me," being hyped or discussed.
In practice, I have found them to be good tools for getting going or un-stuck, and use them more like an inspiration engine, or brain kick-starter.
SpaceX make/made things affordable because everything they use is cheap, and have rather focused on an iterative approach. Whereas traditional starships have used expensive materials and astronomical R&D costs, to make sure everything is _perfect_ prior to launch - SpaceX did it the other way. Use good engineering and build the best you can with the cheapest material possible, and start launching stuff ASAP to see where things fail, and then iterate. They also built on existing tech, and saved a bunch there - compared to building something entirely from the scratch, and having to commit to something very early on (even though it might not be optimal in the long run).

With defense you'll have to build stuff that works flawlessly, spend a fortune on design and testing, build products which can be stored for decades (and used decades later), buy parts and materials which meet the specs to endure all that. Economy of scale doesn't really apply to cruise missiles.

But their (Ares) thesis is that they can bring down costs by making smaller but more cruise missiles, which will yield the same force as the fewer but larger cruise missiles.
> This is a constitutional position, not a partisan position

Every* previous court has disagreed. This is just your opinion. Chevron has been de-facto the way things are done since the early 1900s.

You can disagree with Chevron, but you'd have to be both blind and deaf to think that's not a politically motivated position. At which point, I'm wondering how Hellen Keller got on hacker news.

As a side-note: the constitution is, in fact, up to interpretation. The textualist's interpretation is just one. It is not more correct and, actually, is typically obviously obtuse. I mean, it's a position based on the action of playing dumb.
Not all irradiance translates into heat, but even if it's only a few W/m2, that's megawatts per sq km, and terawatts for a France sized area.
Someone want to explain what "based on the Firefox engine" means? Is it a fork of Firefox or do they think I'm too stupid to know what Gecko is?
More like a big-standard gdpr violation.

In GDPR users should be provided with a way to reject cookies.
The long term trend for the Fed is that it raises rates somewhat, and then lowers them even more. There is no reason to think this won't happen again this time, landing squarely in negative rates. It only stops when US dollars are worthless because any Tom, Dick and Harry can get a billion of them for free and even get paid for doing so.

So far, the Fed does a good job of gatekeeping normal people out of the negative rate market even when rates are negative - only rich people are allowed to benefit.
“Something has gone seriously wrong,” dual-boot systems warn after MS update
I have found, across several languages I've used, that types embedded into functions are generally a bad idea, and I think the general principle is that types generally end up needing to be exposed to any code that will also test that code. So, for instance, it's fine to confine types to some particular module, as long as those types are internal-only, but confining them within functions generally becomes a bad idea.

I know the complaints many of you are gearing up to type, but my statement is a bit more complicated than you may have realized on first read; the key is the word "becoming", that I'm looking at the lifetime of the code and not a snapshot. The problem with embedding types into those smaller scopes is that while it may work at first... of course it does, it compiles, right?... they become an impediment to a number of operations over time. First, as I mentioned, testing is very likely at some point over the evolution of the module to want to either provide input or examine output, intermediate or otherwise, that exists in those types. Second, as the code grows, you want to be able to refactor things freely, and types embedded in functions form a barrier to refactoring because to refactor you'll have to do something to expose that type now to multiple functions. You do not want barriers to refactoring. Barriers to refactoring are a bigger expense over the long term than any small local gain from putting a type here instead of there, especially when anyone should have "Jump to Definition" readily available in this post-LSP era.

Considered over time, over the evolution of the code base, I've just never had any super-local types like this "survive". Every time I think I've found an exception, I've either had my test code or the desire to refactor force me to lift it to the module level. So I just start there now.

To the extent there is an exception, testing-only code may be. Testing-only code has very different constraints than production code anyhow. Even then, though, I still find that refactoring problem arises, and test code needs to be refactorable too.

On the plus side, while I label them "a bad idea", they are not a "bad idea" that destroys your code base or anything. On the grand scale of "bad ideas" in code, this is down in the "inconvenience" part of the scale. It is almost self-evidently not some sort of disaster and I am not claiming it is. You can always lift it out and move on. But it is one of the many little hygiene habits that add up that helps keep code fluid and refactoring always available to me at a minimum activation-energy cost, because that is really important.

(This applies specifically to types that you explicitly define. You can in Haskell, for instance, bash a new type together anywhere simply by creating a tuple (x, y). But this doesn't trigger what I'm talking about because any other bit of the code can bash the exact same type together simply by creating another tuple of the same type, and they'll unify just fine without having to share a type definition in common. No impediment of any kind is created by a new tuple type in that language.)
Crypto is a travesty. Scourge.
>> It makes me really nervous to see people celebrating the fed talking about lowering rates.

One thing I've often thought true but not confirmed is that lowering interest rates has it's own effect on top of the lower rate itself. Lowering rates leads to refinancing for example which is not a thing in a steady state. I'm inclined to think most of the benefit of a rate lowering is in fact transient, while the effects of having low rates are permanent and there are similarly transient costs with raising rates. It's a trap.
I'd say queer/trans subcultures are hacker/DIY friendly, but not necessarily the other way around.

I'd say hacker culture tends to be accepting of individualism and diversity, but the vast majority of people in hacker culture have no affiliation with, or knowledge of queer/trans subcultures.
Modern computer science is dominated by men. But it hasn't always been this way.

A lot of computing pioneers — the people who programmed the first digital computers — were women. And for decades, the number of women studying computer science was growing faster than the number of men. But in 1984, something changed. The percentage of women in computer science flattened, and then plunged, even as the share of women in other technical and professional fields kept rising.

What happened?
Valid point, unless you consider that there are a lot of slack workspaces for open source projects and networking / peer groups where it isn't a company account. In which case you don't trust them with private credentials by default.

Although non-enterprise workspaces probably also aren't paying $20/mo per person for the AI add on.
Developers regularly make code changes that change behavior and insist that it’s refactoring.
FVDB – A Deep Learning Framework for Large-Scale Spatial Intelligence
I didn't give it much regard.
Toasts ensure nothing as there is no guarantee the user saw them.

They are redundant as in superfluous not as in a back up.
A couple of things on this...

If only an amateur would use the word beautiful, then was it an amateur who wrote the content for this site?

The core of my comment was that different professions use different language. In your example, I may find a similar level of skillful description of their work, but that's not going to cross over into different domains. The architect would likely write a more compelling pitch for a building design concept than an artist who is a painter. The artist may not use the word "beautiful" but still may use other language which is a similar miss in domain language used for a successful pitch.

In my field, I have to sell software development services to customers who may not be technical. I have to be careful to limit the depth of my technical explanations. But I'm still going to use just enough domain language that the customer will intuitively understand that I have a better grasp of the work to be done than the newly hired sales guy who is doing a pitch for the company he represents.

Here's a snippet from "above the fold."

> Beautifully designed, privacy-focused, and packed with features.

Packed with features? That's like creating a menu item in your site nav entitled "Stuff" or "Misc."

Maybe they were just in a hurry.
I see you have only met a narrow subset of hackers.
I’d argue that splitting what is essentially a four line check or default into something like three different functions makes it a lot harder to grasp.

I think my issue with clean code is primarily that it doesn’t actually make code more maintainable. As another poster mentioned, data or domain driven design does the same thing better.