skysight-inc/HackerNews huggingface dataset:
Not the OP. I have certainly seen LLM coding tools generate blocks of code with misspelled variables and typos. Trying to shove someone into a box of being a cynic because they have had bad personal experiences with tools is a good way to ensure people filter out your opinions.
The reason I wrote "green" is because, Germany actively hypes itself up as being very green and many people believe them because they have such a vast amount of solar and wind installed.
That's fair, but also: sometimes the customer going away and not using the product anymore is the correct result for both sides.
https://en.wikipedia.org/wiki/Dutch_disease

Natural resource sales send USD to Australia. AUD is now worth more because it is backed by more USD. Manufactured exports are also traded in USD, so Australian exports become much more expensive because workers and local materials are paid for in AUD.
Transfer as many domains as possible to Cloudflare.
I _think_ (hope?) that the person you're replying to was being sarcastic.
Even in '86 dollars, that's not a whole lot of inheritance
I'm having fun with this visual editor for LLM scripts. It's almost like Hypercard for LLMs.

On my 16GB MacBook Air, I did not have to set the OLLAMA_ORIGINS env variable. Maybe I did that a long time ago, as I have a previous Ollama install. This is the first really fun toy/tool that I've found that uses local (also supports foundation model APIs) LLMs to do something interesting.

I'm having a ball!
This really doesn't belong on this website
Or use Pale Moon, forked long ago and developed independently, that respects your privacy out of the box without needing 50 different 'hardening' Arkenfox type changes or having to keep watch every time Mozilla tries to screw over end users like this. Zero telemetry, zero advertising and no mental gymnastics over how we're financially dependent on Google but still value your privacy. And bonus, it retains XUL extension support and the full customizability that went with it (including full support for full themes that can make it resemble Chrome or modern Firefox if you want to).
Article in German about this from August 1: https://netzpolitik.org/2024/klage-gegen-datenschutzbehoerde...

They're calculating with EUR 0.1 per user per month for targeted advertising.
The "Pur Abo" (EUR 4-5 per month per site) are thus 40 times more profitable.
The advertising has become mostly a mechanism to pressure readers into paying.

The question is, can you convince roughly 1/40 of your readers to pay 5 bucks a month if you don't use targeted advertising as the "threat"?
Maybe, just maybe, non-targeted advertising would already be enough? Many people pay to get rid of ads, not of surveillance, after all...
It's a very American thing to pepper your speech with euphemistic initialisms, a lot of people outside the US find it cheesy and annoying.
Here's the Firefox CTO explaining the motivation behind the experiment controlled by this setting, and the measures taken to ensure that it actually is private:

https://old.reddit.com/r/firefox/comments/1e43w7v/a_word_abo...
over 50% of multiplayer games with anticheat work and the ones that don't are doing it deliberately. see areweanticheatyet.com
Lord Finchley tried to mend the Electric Light
Himself. It struck him dead: And serve him right!
It is the business of the wealthy man
To give employment to the artisan.

--Hilaire Belloc
You have to forward requests that aren't in your cache, surely? I don't see how you would resolve public domain names otherwise
This reminds me of an incident that happened recently on a visit to Grandma and Grandad's house.

I was talking to my elderly Dad about an issue he was having at his club. To summarise his point he used an almightly slur, which knocked me backwards, especially as my two young boys were sat nearby.

I didn't react as I didn't want to draw attention to it. Anyone who has young kids will know how they love to pick up new words they shoudn't use.

Fortunately it went right over their heads, but, for me, this is exactly why we should move language forward.
Haunting Titanic newspaper article found in wardrobe
_This_ is exact the place where a LLM could step in and could really help:

1. Customer describes the problem
2. You get the problem, parsed by the model, including a summary and a suggestion what could help.
3. You write "do that 3 things"
4. The model tells the customer to do the 1st, then the 2nd and so on
5. The model reminds the customer in intervals that things are not completed
6. the model notifies you after the 3 things are done and the issue is still there.
Between the both of them, I would take the more "open" one.
Ask HN: What do you miss from the 2000s-2010s Internet?
Also warning for unused variable.
If you’d like to, feel free to reach out to me on robin.whittleton@ingka.ikea.com so that we can try to fix that IKEA behaviour. Or file an issue on webcompat.com and I’ll track it from there.
That was the last watch with "trans-reflective" display. If I turn the seconds-indicator off, it runs for a MONTH aka 700 hours.

Our goal for battery life is 18 hours after an overnight charge -- Apple Watch
Can't guarantee for the splash of color but I've had my eye on Fossil Hybrid smartwatch gen 6 for everything else you mentioned. It's maybe worth a look?
Your computation is off: it's 0.014 EUR/kWh, ten time less and far below kWh market prices about everyhere in the world.

As for cycling the industry standard is give the number of cycles to 80% capacity remaining so the battery is far from dead at 5000 cycles. The simple division I used is conservative.
If someone's running an automatic formatter on someone else's project that doesn't match that will always cause a problem.
It's at pilot stage in various places. Japan is leading on this, as they did in floating voltaics generally.

Places with offshore wind are also looking at it as a way to share cables.
Without claiming the two systems have the same limiting factors, the UK health system is also struggling, and there the staff shortage is the government's limits on (1) how many spots universities have, (2) immigration.

This is despite health in general, and the HNS in particular, being a major source of interest for the electorate.
Firefox been like this for atleast a decade.

All sorts of "experiments", normandy, telemetry, pocket, looking glass, all sorts of phoning back them or either google... so many things to name. And now this garbage to add to the list.

You have to do so much work in about:config to clean this up and i'm not sure if it can be fully.

Extremely scummy organisation.
Disgusting and unhealthy.
Show HN: Write Postgres Foreign Data Wrappers in WASM
This is a framework/guide for creating Postgres FDW's in WASM. This makes it easy for anyone to create a Foreign Data Wrapper and share it with the community. We have released 2 examples: one for Snowflake[0] and one for Paddle[1]

Usually FDWs need to be "pre-installed" on Postgres which makes it harder for Postgres platforms to support a wide variety of FDWs. With WebAssembly, the FDW's can safely be installed from S3 or GitHub.

There are some trade-offs: the performance isn't as good as a "native" FDW. That said, we think the flexibility makes it worthwhile, and we'll improve the performance over time.

Background: what is a FDW? Foreign Data Wrappers are a core feature of Postgres that allow you to access and query data stored in external data sources as if they were native Postgres tables. For example, the Stripe FDW allows you to query all your customers from Stripe inside your postgres database:

select
customer_id,
name
from
stripe.customers;

[0] snowflake: https://fdw.dev/catalog/snowflake/

[1] paddle: https://fdw.dev/catalog/paddle/
> Have sheer window blinds that let natural light in as the sun comes up

I would advise against that. Not a scientist in the field but there are advocates that argue sleep is better in totally dark environments - even the moonlight can worsen your sleep. This can be individual, but one should consider this.
The other downside to AI code vs stackoverflow is that a stackoverflow post can be updated, or a helpful reply might point out the error. With the advent of LLMs we may be losing this communal element of learning and knowledge-sharing.
Is it the compiler that would catch it?
I was a long time Mac user and developer (iOS and macOS) that switched back to Linux after about ten years of using macOS.

The main reasons were mainly getting tired/frustrated at how hostile Apple has been to developers and users. Apple has been slowly turning macOS into iOS, from the UI to slowly trying to lock down the OS. There is also the Apple upgrade treadmill where they force you to upgrade your hardware through planned obsolescence.
The difference is scale. I don't know how many times people need to say this, but LLM tools enable people to spam low quality code at a rate that is far faster than ever.

There's been multiple stories and posts here on HN about issues with AI generated PRs for open source repos because of people using them to game numbers or clout. This is a similar problem where you have a bunch of people using your API and then effectively trying to use you for free engineering work.
HN is only as good as dang makes it. There are a ton of other link aggregators out there, many more “free” than this. Yet here we are. Why? Because the folks behind this link aggregator pay dang to be here.
Their regular watches start at around 2k, and custom watches at 7k. Which is a lot of money, but it's at the lower end for luxury watches.
Sins of a Solar Empire 2 launched this past week and it runs on proton flawlessly on day 1.
>76 ideas which were submitted are currently in development and 84 have been delivered.

So what? Does it invalidate the critics of glacial speed of making other improvements?
Use the root servers to find the dns entries yourself, just like the upstream provider does
Good point. It makes me wonder if modern out-of-order processors can skip performing unused computations altogether, if their result registers are overwritten by other data later (in program order).
Seems to me to be a rather pricey and time intensive solution, for something that's mostly hidden and needs to be changed only occasionally. Except of course if you need a very tidy work area to feel comfortable :-)

I'm quite happy with my value-cable-holder, everything fits in and it only needs two screws to attach:
https://www.galaxus.ch/de/s4/product/value-kabelfuehrungssys...
Just buy this Brother laser printer everyone has, it's fine
I didn't know that that was the definition of "polyamorous"? To me this was always a meaningless word, a label for a labels sake, but I didn't realise that it was also a euphemism.
I think getting support requests from users who don't know what they are doing is actually a great problem to have.

I have a project that allows building web applications out of SQL queries [1]. When I started receiving support requests by people who did not know SQL and were basically learning it along, I was thrilled. I was happy that my tool had a greater audience than I initially envisioned.

In any given domain, specialists are the minority. If the thing I am building is unexpectedly appealing to non-specialists, I rejoice, even if it means getting strange support requests. In the end, it helps me making the project more approachable and easy to use for everyone.

[1] https://sql.datapage.app
I believe it's the other way around: V-Ray explicitly advertises that you can avoid those expensive Windows licenses for your render farm by using Linux. And Houdini and its Mantra renderer run natively on Linux since forever. As does Renderman, the Pixar in-house engine.

If Pixar was forced to use Windows on their render farm, they'd be looking at a roughly $24mio !!! licensing bill. That's a VERY strong incentive to use Linux as much as possible.
I'll bow to your local knowledge Captain Ahab, but bear in mind that being near the equator both maximises sun and avoids tropical storms.

See map for traces of storms:

https://reliefweb.int/attachments/da3ff0e6-13fc-311c-b9b1-dd...

Bonus challenge, can you find Japan, who are piloting this tech, on that map. They're in there somewhere under the squiggles.
I think you mean... say you got robbed. and even though you told them to get out, the robber is still in your house.

So you then ask the community for help and Smith and Wesson calls you up. They understand you don't have a lot of money especially since the robber just robbed you. But it doesn't cost much, so they let you owe them. Not free, more of a loan.

They give you a gun, and obviously train you on how to responsibly defend yourself. btw, they passed the robber in the bathroom on the way in and let you know, they're still in your house.

So you get your gun, and shoot them in your own home after they robbed you.

How exactly is Smith & Wesson liable here?
Show HN: Dirty Pickup Lines – Online AI Tool for Crafting Sexy Icebreakers
Hey HN community,

Ever find yourself tongue-tied trying to make an impression? Enter the Dirty Pickup Line! This quirky tool harnesses AI to craft pick-up lines tailored to your unique social scenarios, whether you're at a lively festival or just grabbing coffee.

Here's how it works: you provide a glimpse of your situation, and our AI gets creative, delivering six lines that aim to amuse and engage, balancing humor with a touch of daring.

Everyone's welcome to test it out with five free uses—consider it a fun experiment. If you’re amused and need more, a subscription unlocks endless creativity.

Curious about what AI might come up with? Check it out at dirtypickuplines.org and share your thoughts. Who knew tech could be so cheeky?

Catch you in the comments!
The very first line is "Sometimes using Windows is inevitable."
I, for one, have not have this experience with LLM creating new variable names when they already defined one.

Lots of mistakes, but never this one.
There are tons of European defense tech start up right now in Ukraine e.g. Donaustahl , Vector.

Somehow some HN readers from America ignore these startups. Instead they insist on outdated units. Oh boy, there are dedicated Reddit subs for you.
Could you please explain this? Clearly we both understand something completely different by either the term "excluded middle" or "contradiction". Note that Euclid's proof is intuitionistically valid, so it can't use excluded middle.
I really don't like advertising. I use uBlock Origin in my browser, AdGuard on my phone and pi-hole in my home. I even take a seam ripper to my clothes to make sure no logos remain. But I understand that advertising is the only viable business model for much of the internet. (Browsing HN and seeing that the top comment for every paywalled article is a pirated link confirms that.)

If advertising must exist, I'd prefer it to be safe and private rather than the malware-ridden surveillance machine that exists today. Mozilla is working hard to make this happen and catching a lot of flak. It's notable that criticisms usually fall into three buckets.

1. It has "advertising" in the name, thus it is bad

2. Meta is involved, thus it is bad

3. Mozilla earns most of their revenue from Google, thus they are incapable of doing a good thing

It would be much healthier if criticisms actually focused on the design and implementation of PPA. Perhaps things could be improved. Or maybe you have your own ideas for privacy preserving advertising. But it surprises me that even on a technical forum like HN, so many people endorse the awful advertising status quo.

Yes, you can mostly opt out of advertising with uBlock Origin. You can still do that when PPA is enabled. The vast majority of browsers will continue to subsidize your browsing. What Mozilla is doing is working to provide the same level of privacy and security for the 90% of the population who does not use uBlock Origin. I think that's a noble goal.
> GitHub will send a prompt to their app on your phone

I lost my phone, though. There's no prompt they could send me.

> I believe Google can send a similar prompt to YT or GMail apps

There was no phone, anymore. No way to prompt.
"With defense you'll have to build stuff that works flawlessly." --> I don't really get this point. In what way is the SpaceX approach different and not flawless? There's never been any more reliable rockets than SpaceX's ever?

And you seem to argue that SpaceX has the advantage of economy of scale (reminder: it's a re-usable rocket they're making) and cruise missiles are somehow less economy of scale? Can you elaborate on what you mean here? I would think that the number of missiles produced is at least a few orders of magnitude more than Falcon 9's?
The harsh reality is that this sort of tooling requires a lot of publicity to be successful. Nobody is going to try an unknown package manager from some random developer, but people will enthusiastically adopt anything pushed by a "famous" developer like Ronacher.
There's more than one mistake in the code given, and I tried just once.

"Create Python code for iterating a file with a cache."

class CachedFileIterator:
def __init__(self, file_path):
self.file_path = file_path
self.cache = [] # List to store cashed lines
self.current_index = 0 # Index for the current line to read

def _read_lines_from_file(self):
"""Read lines from the file and cache them."""
with open(self.file_path, 'r') as openFile:
for line in f:
self.cache.append(line.strip()) # Strip newline characters and save to cache

def __iter__(self):
"""Return the iterator object itself."""
return self

def __next__(self):
"""Return the next line in the iteration."""
if self.current_index < len(self.cache):
result = self.cache[self.current_index]
self.current_index += 1
return result
else:
# If we reach the end of the cache, we read more lines from the file if necessary
if len(self.cache) == 0: # Cache is empty, read file
self._read_lines_from_file()

if self.current_index < len(self.cache):
result = self.cache[self.current_index]
self.current_index += 1
return result
else:
# If still no lines, we stop iteration
raise StopIteration

# Example usage:
if __name__ == "__main__":
file_path = 'example.txt' # Replace with your file path

iterator = CacheingFileIterator(file_path)
for line in iterator:
print(line)
I guess they are using only basic stuff, given how behind Microsoft 365 is from the native counterparts in features.
We don't panic because we know that CVE is a somewhat worthless metric.

And yes, the world is stupid for using monolithic kernels. All the people are stupids except me ! (Irony besides: such kernels are used because performance matters in the real world).
There’s a common reason for that: overworked, over stressed, and underpaid. Eventually the exhaustion will turn you into a numb zombie clocking in and out. There’s no easy solution since healthcare is already expensive.
> There is Safari. Or whatever is based on WebKit on Linux

webkit was forked from the kde browser, not the other way.
Can this be used for "coarse-grained" authorization, like user log-in and sign-up? I'm building a back end for a mobile app in Deno, and really don't think rolling my own (undoubtedly insecure) method is a good idea.

Right now I'm refactoring my app to use Supabase, but encountering some pain in the authorization area.
Thank you, I briefly read about mules before. It makes sense
Not all good things gain traction. It definitely helped that Armin is well-known in the Python community. Where did you advertise your new tool?
A picture-based guide seems both safer and more effective. e.g. many Firefox users run Windows, where curl | sh doesn't even work - clicking on the right buttons also requires less technical expertise.
Thing is that the new crop of LLM AI systems are far more suited to replace the vagueries and multiway interpretable and broadly generic outputs of positions like sales and marketing, and yes, management, than they are at replacement in engineering based environments where output and performance is highly specific, knowledge very fractal and volatile, and unforgiving in the slightest.

I' productively using LLM coding assistants daily, but if I had to choose between having to go with the unmodified LLM output of codebase or a marketing plan, it would not even be a question.
No, "is not irrational" isn't the same as "is rational" without excluded middle; that's the whole point. (Equality of real numbers is not computable, so there is nonconstructive content to the implication "if not irrational, then rational".)

(I will retract a whole bunch of my worldview if you can inhabit the type "not-not-rational -> rational" in something like MLTT.)
Ars Technica content is now available in OpenAI services
And any decent IDE will highlight a variable that is declared but unused. We already have "artificial intelligence" in the form of IDEs, linters, compilers, etc. but some people apparently think we should just throw it all away now that we have LLMs.
I've been so amazed at how well Proton works.

I've bought myself a Steam Deck a while ago, thinking that I _might_ be able to play some of my Windows games on it. I had some experience with Wine many many years ago and it just didn't work well so I always dual booted my PC with Windows for gaming. To my surprise I was able to play AAA titles like RDR2 and Fallout without any issues or tinkering about.

I'm so happy that a company like Valve was able to put their shoulders under an initiative like this and actually stuck with it. Thank you, Valve!
No reason why it wouldn't be second or even lower class. That walled garden OS is slightly better than Windows but Linux (mainly arch, debian based) is way ahead in every way

Proton is absolutely amazing and everything has worked for me, some older badly made games haven't had ideal performance but with latest Proton even some of them have improved massively. Going from ~120 to stable locked 500FPS as expected. Soon, if not yet, the games will run better with Proton on Linux than natively on Windows, at least with AMD.
'Megalopolis' Trailer Pulled Due to Fake Critic Quotes
ChromeOS uses the Linux kernel in a browser based userspace, and offers a VM for running GNU/Linux as guest OSes, isn't quite the same as being GNU/Linux, otherwise Windows with WSL is also Linux.
I've read your original post again to try and understand what you mean. I guess it would be helpful if you could elaborate on "relative productivity". Do you mean the difference in productivity between an experienced vs junior dev? Or perhaps someone that knows the codebase and someone that's new to it? And what do you gain from having a notion of "velocity" - what do you use it for?

In my experience, you can perhaps throw a rough idea of complexity at a task (easy/medium/hard). Even then you may be wrong around a third of the time. How well complexity correlates with implementation effort depends on such a large number of factors (novelty of task, team size, dev experience, communication overheads, unseen dependencies...) that it's pointless to fine-grain any project or large feature estimates to an accuracy greater than something like "this will take about 2 months, but it could be 3 or 4".
From a competitive point of view, yes. The conversion hardware is common in both cases, the difference is one side needs more storage than the other. As others have stated, with the propagation of EV voltage conversion equipment, that's essentially mass manufactured too now.

Edit: I'd also like to add that for something cheap and mass manufactured that we shouldn't concern ourselves with, we sure don't have a lot of it on a grid that already delivers some of the most expensive power in the world. ie one that should be able to afford it a lot more than others
Then why didn't they! Of course the proof can be fixed, we all know sqrt(2) is irrational, but why get so close to proving it and then just not finish the job?
I'd be a lot more worried about damaging it then theft, since I'm constantly running into furniture