skysight-inc/HackerNews huggingface dataset:
It doesn't really matter what the standard is... What matters is that there aren't some companies who push the limits far harder than others. If there are, then those companies who push the limits of what is allowed harder will be at an advantage, to the detriment of the public and the american economy as a whole.
This is the power of teams of software developers. When it comes to maintenance, if each team member remembers the same 40% and a few team members each uniquely remember 5%, then the team has only forgotten a small percentage of the code and can work together to produce those "Oooh now I remember what this is" moments.
The fact that most people do it doesn't mean that _you_ as an individual have to do the same. Source: 40, 2 kids, single earner, could retire anytime I want.
Thanks for tool. Will there be GUIed version in future ? Like Suse had previously ?
Rub you wrong or more likely reduces money for the guy up the totem pole.
Nihlistic is wanting someone else to work harder for nothing while another makes money of them.
Except for the genders, which are completely arbitrary and very annoying to a learner.
This is hooking into the ChatGPT UI API, which is something OpenAI does not like to see and could result in banning of the account. Of course, since it's using playwright to simulate a browser, it might be hard to detect, but still, I'd be cautious.
the model laid out in the quote:

"The problem with defending the purity of the English language is that English is about as pure as a cribhouse whore. We don’t just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary." --James D. Nicoll

https://news.ycombinator.com/item?id=34960928
We also had same experience with cofeescript. It was a not a nice experience. Later we move with JS because of maintenance issues.
I don’t understand your question
Have you looked at CLIP? You can use that to create a vector embedding for an image that includes semantic information (what's actually in the image - animals, colours, etc) - those could then be used with pgvector to find similar images.

CLIP is how search engines like https://lexica.art/?q=6dc768e2-7a7c-494d-9a39-fd8f27e69248 work.
One can argue that simple code is both fast and clean.
However, you can only measure how fast (or slow) your code is, so make it simple, aim for fast and hope it's clean (:
Volkswagen wouldn’t help deputies find stolen car with toddler inside for 30 min
It's fairly obvious that he author adds elements of humor to his post that are quite easy to read through, for example...

"This was possibly the most pure and powerful Australian energy a human can possess, and explains how we elected our strongest as our leader. The raw energy did in fact travel through the phone speaker and directly into my brain, killing me instantly."

I don't think he's dead, do you?
Here is the link as an article for people like me who don’t like watching videos:
https://www.computerenhance.com/p/clean-code-horrible-perfor...
On-call schedule. Everyone goes on rotation, gets different days. If you miss your day, well, you knew in advance you would be on call that day.
Recreating the Matrix Rain Effect
I don't think there is a contradiction or surprising point here.

At least my understanding of the case for clean code is that developer time is a significantly more expensive resource than compute, therefore write code in a way which optimises for developers understanding and changing it, even at the expense of making it slower to run (within sensible limits etc etc).
Most employee in Western Europe have 5+ weeks vacation.

A 1 month sabbatical is just « take most of your vacation at once »

It’s great! But I would not call it a sabbatical
CodeSmash – A new way of doing No Code
I made this a while ago, but it's been so great for "live" demos that I think people would appreciate hearing about it.
TL;DR:

"Game developer optimizes code for execution as opposed to readability that 'clean-code' people suggest".

There are few considerations:

- most code is not CPU bound so his claims that you are eroding progress because you are not optimizing for CPU efficiency is baseless

- writing readable code is more important than writing super optimal code (few exceptions: gaming is one)

- using enums vs OOP is not changing the readability at least to me

I think we can have fast and readable code without following the 'clean-code' principles and at the end it does not matter how much gain we have CPU cycle-wise.
> water is a really, really good insulator against radiation.

Absolutely. There is this[1] horror story about a diver who was doing maintenance in a transfer pool next to two spent fuel pools. After he was done with the work he found an unidentified object at the bottom of the pool and was instructed to put it in his tool basket. The object was a broken piece of irradiated reactor component. They realised that something is very wrong when the diver was lifting the basket out of the water and the area radiation monitors started to alarm, so they lowered the basket back into the water.

On the 10th slide of the document there is a diagram showing the water's shielding as a function of distance. At 1.4 meters there is no dose they can measure while they measure extremely high doses at centimeter distances.

1: https://isoe-network.net/publications/pub-proceedings/sympos...
Is there a Linux version? It looks very handful
This is true - you may (possibly) end up in a scalability dead end, but you will likely have been far, far more efficient along the way.
Arguably, the soundness of the analysis is in its explanatory power. If you can't use your analysis to successfully predict the future, or even past events that weren't known to you when doing the analysis, then your analysis is a) useless, and b) impossible to tell apart from random bullshit of equal predictive power.

However, per GP, such useless analysis can still make the reader feel smarter, meaning you can monetize it - through paid or ad-funded publishing. In this sense, journalists are selling "analysis porn".
Plenty of other software can edit PDFs. https://knowtechie.com/firefox-now-lets-you-edit-sign-and-dr... https://www.techradar.com/news/google-chrome-finally-gives-u...
It is not only about visual similarity, but the semantics of the images as well (for example, all the dog photos should be close to each other, no matter the colours or the scene).

The simplest way to do that is probably to use one of the pretrained neural networks (like resnet), convert the images into embeddings, index them and use for search.

I'm sharing my article describing how to implement it: https://medium.com/p/5515270d27e3
Nines are not my nines
Many languages in Europe derive from Latin and ancient Greek, that does not mean that the english bicycle derives from the French word.

Also there were no bicycles in ancient Grece, that's why the word is different in modern Greek, but kyklos is still a greek word with the same meaning.
PDF was an proprietary format (of Adobe) until 2008. It is no longer the case. Right now there are multiple tools to edit PDF documents online or offline. Check this for example: https://www.pdfescape.com/
It’s also incredibly confortable to live there .
I miss it, and I don’t think I will miss my *3 salary once I’m back.
Yes. What I had in mind when I wrote my comment, was to stick the piece of paper in your wallet. But your suggestion also works.
Yes, that's very plausible that things could play out that way. But when the stakes are this high, and in an organization as highly staffed as Google, that's pure negligence. Someone designed these emails I'm getting, and designed the workflow.
The hard part of world building is not contradicting yourself too much. Right now, "remember all the little details and their implications" seems like it would be challenging for language models.
Show HN: Garph, a tRPC-like library for GraphQL
It’s interesting how Chartreuse is this normal thing in Europe but seems to be this cultish cocktail i ingredient in the US. I personally prefer drinking it straight or in a Chartreuse tonic (some restaurants in Lyon serve it like a gin and tonic and it’s fabulous)
Kindelia Manifesto
"And the reality is that there are no absolute guarantees. Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus."

Linus Torvalds - 2022

https://lkml.org/lkml/2022/9/19/1105
> the narrative that performance and efficiency don't matter

That was the case during the 90s and the first decade of the 2000. Just wait for Moore's Law to kick in and in 18 months your code will get faster by an order of magnitude for free.
For the more extreme option, lego bricks.
Hotel Safety Tips from a Former Intelligence Officer
I use caret mode, visual selection and P quite often to search for the text in visual selection in a new tab with the preferred search engine. I also like yf for yanking a link to clipboard.
There were two problems with Access - it looked too complicated and it looked ugly.

It is still available even in the 365 package but I can't remember when I used it last time. It was long time ago.
My wife and her friends are all middle-class, doctors, lawyers etc. The have a book club and get tax money to buy theater tickets and cheese for their meetings. It's not tax money well spent in my book. They would have had the book club anyway. And all of them can easily pay for cheese themselves.

There are endless examples of fraud too. You just write down a meeting schedule and put in names of people and get money.

Another problem is the Islamistic "studieförbund" Ibn Rush who is linked to the Muslim Brotherhood. They get a lot of tax money to promote their worldview.
Microphones Could Help Track Disease Risk in the Wild
The oxygen is the ultimate killer, it has absolute 100% mortality.

It causes your body to metabolize, age and die.

You could live forever if you would stop breathing oxygen.
It's not sexist. It's a statistical observation about human behavior.

Sure, there may be females that are just looking for a male who is nice. But in general they are looking for a male who is nice and good looking and has high societal status.

Just as males are looking for females that are good looking and fertile.

That's what all animals do. They try to maximize their reproductive success. Humans are animals. And even though we have contraceptives that negate the effect of the behavior, the underlying drive and mechanisms are still the same.
So how do I buy yellow chatreuse? Because I need to make more Death Flips

https://punchdrink.com/articles/death-flip-became-modern-cla...

'When the cocktail first appeared on the menu at the Black Pearl in Melbourne, Australia, in 2010, no ingredients were listed. And if you asked what was in the drink, the bartender would not tell you. The only thing offering the customer a hint as to what they were getting into was the ominous description: “You don’t wanna meet this cocktail in a dark alley.”'
Why not all thinking is thinking (ChatGPT Part 2)
Interesting to consider the unaugmented hotel latches can easily be opened from outside.
> The 1 to 2 year hiring period from 2020 to 2022? I bet that most of these programmers did not create any revenue by the firing times of Q4 2022

That's why we fire them! /s
Unihertz phones are sadly kluggy clunkers - long ago I had hope they'd be able to make a reasonable QWERTY phone but they've all been disappointing (ignoring the weird keyboard layouts due to BlackBerry's patent limbo)
Ask HN: How Do You Use Bluetooth in 2023?
Has everything stopped being better if just having Bluetooth? Haven't you noticed degradation of a list of possibilities achievable via Bluetooth nowadays? I mean that not every GSM phone supports Internet tethering, lots of backward accessibility problems, self-disconnecting and self-reconnecting to similar device is still here.
I had the most fantastic mezcal Last Word at Ginbo in Palma de Mallorca last week. Simply splendid.

(Strangely, ChatGPT suggested a mezcal Last Word variation, dubbing it "The First Word", with a slightly different composition than Ginbo did: https://www.youtube.com/watch?v=nPMEozP8vvY)
$6 for about 100 pages of world-building honestly sounds not that bad. And that's before implementing any cost-saving measures.

Queries with lots of context (like in this example) can quickly rack up the costs, but I've never felt that they are prohibitive for personal projects. The problems only start when you want to publish something other people can use, and at that point abusing ChatGPT sounds like a bad idea too.
on macOS I like https://pdfexpert.com/ a lot to edit .pdf files.
I wonder whether the next intern's project at g will be the eliminating leap days with speeding up the clock for a week :)
> Does anyone know what the name of the algorithm would be for unfolding arbitrary polyhedra?

AFAIK Shepard’s conjecture “every convex polyhedron has an unfolding without overlap” is still open, so I’m not sure that exists.

Links you may or may not have seen:

- https://en.wikipedia.org/wiki/Net_(polyhedron)

- https://mathworld.wolfram.com/Unfolding.html

- http://web.york.cuny.edu/~malk/unfolding.html
I’ve found two useful forks - one unmodified [0], the other one just with a README update [1].

Because those are actual GitHub forks (instead of just re-uploads of a local clone), they’re technically still connected to the original repository on GitHub, including the latest commit [2] of the original before it went down.

[0]: https://github.com/houbaiding/vim-Vundle.vim

[1]: https://github.com/mauricioms/Vundle.vim

[2]: https://github.com/mauricioms/Vundle.vim/commit/b255382
Reading of article on meritocracy being false and bad
Convert Case: Easily convert text between different letter cases
Interesting bunch of ideas.
Cui Bono?

The market doesn't care. And it makes sure to reward executives that don't care. As long as they can keep making money in short-term speculation transferring wealth from some naive Ohio teachers and fireman retirement fund to their pockets this is what will happen.

The line between capital and financial markets has been completely blurred a long time ago. Big finance calls all the cards, and big finance, like the House, always wins.

They are not naively copying each other behavior, they are doing what wall street expects of them if they want to keep their big fat bonuses.

The non-speculative shareholder is being robbed in daylight and labor is just collateral damage (not to mention that usually they are both the same person)
Another solution you can use to protect you from yourself here is using a relatively mature framework, and keep to its conventions.

To underline -- the older, more stable, and more boring, the better!

What you have then is at least some well understood, well documented foundation for others to immediately understand the basic structure and flows of the code.

The hardest thing here is being disciplined about sticking to the conventions, even when they seem suboptimal for your 'special' usecase.

Really try hard to not do things like pulling in 'community plugins' and the like, using language features the framework was not designed to work with, or in the worst case forking the framework or going off on your own path with custom code that reimplements some of its features! Stay as boring as possible!
I've had success using a multistage inference approach. Establish a set of rules, then have the LLM ask itself whether its current suggested world building complies with all the rules. Then have it tweak its own story.

Finally, after all that, present the output to the user. It means inference takes 4x as long because you are doing multiple rounds of inference before actually presenting output but the final output you get is way more stable/consistent/accurate
isn't this very similar to the, quite venerable, https://adam.harvey.studio/cvdazzle/ ?
Are any of the extensions big competitors with their managed services? For example Timescale on AWS - I might not bother with RedShift depending on scale and needs. I could be wrong but it seems like business pressure will prevent the spread of these most useful extensions on first class managed Postgres.
OpenAI Leaked Product Brief
Ah, English is not exclusive in that. It's the language acquisition model of all languages from what I can tell.

What English had and still has, and say, Romanian, doesn't, is the wide exposure.

Romanian was traditionally spoken in the region of Romania, so Eastern Europe, with some interaction with Central Europe, Southern Europe, Even-More-Eastern Europe, the Middle East. So those are the influences, plus some recent additions from international languages such as French or English.

English, on the other hand, was needed to describe and interact with Western Europeans, Eastern Europeans, Souther Europeans, Native North Americans, Pygmys, Indians, Native Australians, Chinese, Japanese, Incas, Ethiopians, etc and their associated environments and lifestyles.

If you saw curry, you needed to either come up with a word or adopt theirs. Or avocado. Avocado wasn't even a word in Romanian until 2000-something, I'm quite sure.
From my perspective, DNSSEC is very much alive, and moreso every year. At work, we only ever see requests for more DNSSEC from everybody; both customers and TLDs/registries. Nobody at conferences, both formally and in informal conversations, has said anything against DNSSEC in principle. I used to say that I ever only saw one person argue against DNSSEC; and it was here on HN. I guess that I can now say that it is two people, both here on HN.

If validation failures were that common, I would think I, working at a domain registrar and authoritative DNS provider, would hear about it. The last mile problem would be solved by DoT/DoH, no?

If anything is a “dead horse”, it’s dnscrypt. Are you claiming that DNSSEC is some sort of industry conspiracy?
Congrats and thanks. Not sure people interested in Debian want to contribute to the borg producing copilot and chatgpt based on their work on gh, among other things.
Funnily enough, cost-cutting rarely reaches the executive class.
I'm all in for VM based privilege separation, but that won't protect you from infected endpoint. Assuming this was a targeted attack, folks that achieved RCE on DevOp engineer's machine could have waited for her to authenticate and then inject keystrokes into VM, SSH, VNC, Remote Desktop, Citrix or whatever remote management system they're using.

Honestly, this HN thread is full of bad advice and factually incorrect patronizing. Okta-style system asking to accept every single permission would not have protected from an attack, because Okta caches and reuses authentication tokens. Clipboard snooping / keylogger detection wouldn't have worked because none of these solutions are robust against targeted attacks.

The only thing I can think of which would have (and should have) helped is alert SOC / incident reponse team. Good luck finding one though.
Understanding what you can tell gitgpt to do is extremely adjacent to knowing actual git commands.

It's adjacent but it's not the same. Knowing that you can get git to give you a bisect of two branches starting 3 commits ago with a short log description is quite different to knowing the command to do it.
Is that really practical? In the video it looks not very useful to me as it does not seem to be very efficient. The mouse is so integrated into MacOS it looks hard to efficiently replace it. Are you or is anyone else actually using this regularly?

Also, I think the other mentioned alternatives look quite similar to that regard.
They didn't care for any "usage policy" when scraping whole internet and whatever else available for the purpose of building their product
The real world is full of contradictions. If anything they would make your built world more lifelike.
everyone thinking about microservices should see this first and also read about zerodhas architecture.
Elon Musk overstated Tesla’s autopilot and self-driving tech, new lawsuit says
Why do you trust the descriptions of `ffmpeg -help`? What if some evil daemon [1] went into the binary and changed completely the behaviour of the flags? Do you read the source code and verify the checksums for every program you run? In the real world, good or bad, very few people care beyond a first level of trust: does it work for my current issue? great, no?, try something else.

Also, you disingenuously left out the parentheses from the quote: using a tool requires undertaking its downsides, if the downsides can be mitigated accordingly then the tool is useful. Millions of users put to good use imperfect tools daily.

[1] https://en.wikipedia.org/wiki/Evil_demon
Sometimes organizations that look less secure are actually more secure just because they degrade gracefully under attack and/or can more easily mitigate/revert the consequences of successful attacks.
and making wine is fun too
> Is wanting an Israel state gone different than wanting the Israeli inhabitants gone?

Not really imo no.
I'm not necessarily saying Iran wants to kill every last Israeli but the "solution" they are planning for the region is definitely a violent one. Why else would they invest so much in Hezbollah/Hamas etc.
Show HN: A simple Java library to efficiently manage and run LLM prompts
Hi HN,

I've been experimenting a lot with LLMs lately so I built a small library that would help me reuse the boilerplate code in my different Java projects while also solving some of my pain points when working with LLM prompts.

If there is any Java programmer out there I'll gladly hear any feedback (but keep in mind it is still a work in progress)!
In all companies, and conveniently only when layoffs are affected? I have some doubts.

Most people think their own contributions are invaluable, and when they or someone in a similar position get laid off, that challenges that self-image and the obvious explanation is: their perception is completely accurate, but the others are idiots and cannot see it, or they see it, but are ruled by perverse incentives that make them kill the company instead of doing The Right Thing (i.e. keeping and promoting the employee).

It's understandable, but I don't see much value in that line of thinking.
Where would you advise people should cut back on? Education? Vacation? Toys? House size?
If you optimize for readability performance would suffer. If you optimize for performance readability will suffer.

Casey prizes performance over everything else.
I've been using Vimium for years and while I don't use every feature that it has I feel completely lost on a machine that doesn't have it installed. Just the ability to scroll pages without having to take my hands off the keyboard is worth it for me.
What gives you the impression its my personality? Stop being a troll. Grow up.
"Yes, I bought all three bottles, sorry."

I think this sentence is worth pondering in a modern world.
Strangely enough, even in this video, everyone notice how you're taken to make tradeoffs between coherence and cleanliness vs performance-oriented code in langs like C++, while the Clean Code book was exemplified in Java (so most of performance is shoved in JVM code) and SICP was in Scheme (which is interpreted, or transpiled to C where you can optimize, or has a VM/JIT underneath).

I vaguely smell the language of choice has something to do with that, and C++ would benefit more from data-oriented design than from literate OOP or functional programming patterns took from very very different programming ethoses (the programming language is an interface to something else)
Of course the business owner will potentially benefit more from your increased productivity. And they should match your productivity increase by rewarding merit and compensating you for that.

If you're in a work environment that reward merit and pays for higher productivity, the problem is with the place and you should move if your conditions permit. It's not an excuse to do the bare minimum and not strive to improve.