Better HN
topnewbestaskshowjobs
Log inSign up

stefs

1,535 karma · joined Apr 29, 2010 (16y ago) · 758 submissions

mostly kotlin
Submissions

comment 5d ago · link · parent

sorry, but i don't see the part of the article that discusses that. i was just arguing that you wouldn't have to technically lie in order to circumvent a ban. in my personal opinion: just don't ban AI for code, that's a losing battle. there's no going back.

comment 1w ago · link · parent

regarding having to declare AI code: it's pretty much impossible to determine whether 3rd party code (i.e. libraries, frameworks, etc) use AI - and they don't have to declare it either. so either you ban 3rd party code completely - which would probably the end of the whole thing, because writing everything from scratch would probably not be achievable for any game developer with the some exceptions.

if they don't ban AI code in 3rd party code, you could just circumvent the whole thing by outsourcing a few developers to be part-time 3rd party in name only and let them do the AI development, which would be against the spirit but not against the law.

comment 2w ago · link · parent

something like this was among the first programs i wrote when i was a kid; back then - in turbo pascal - for pranking my (~10 year old) cousin. the program created a fake dos that printed warning messages about finding a virus, attempting to delete said virus and failing, then - as a last measure - fake-formatting C and exiting. i then set the "dir" defaults to show only files with a name that didn't exist, so when he typed "dir", an empty harddisk was shown.

the trick was to name the exe non-breaking-space - alt+255 - which was a valid filename and then adding it to the end of the autoexec.bat.

ps: my cousin started to cry.

comment 2w ago · link · parent

but is it a winner takes all market? currently we have models that are close-but-not-quite SOTA which are still heavily used and very profitable because they are _good enough_ (i'm talking about deepseek, of course).

or is the "winner takes all" mentality based on the assumption of being the first to achieve the technological singularity?

comment 2w ago · link · parent

subversion was the _hot new thing_

comment 3w ago · link · parent

The Joel Test: 12 Steps to Better Code: https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-s...

Step 5: Do you fix bugs before writing new code?

(now i feel old)

comment 3w ago · link · parent

i'll have to recommend "practical doomsday" here - https://lcamtuf.coredump.cx/prep/ (edit: because it spends a lot of time on the topic on how to secure your wealth). or ask lcamtuf himself.

comment 3w ago · link · parent

there are areas where almost all options for pumped hydro are already developed and there's little room for expansion. additionally, the heat waves from the climate catastrophe affects pumped hydro negatively (evaporation and higher water temperature).

comment 3w ago · link · parent

that's a one time cost over many years that's quickly amortized. lets assume an upfront cost of ~100kg CO2 per kWh of battery storage and 250g of CO2 per kWh generated by a gas turbine. this means the carbon ROI is there after 400 kWh.

comment 1mo ago · link · parent

i'm also using a "type safe" templating engine (for kotlin, as a gradle plugin) of my own design that goes the other way - instead of embedding a model class into the template, a template class is generated that takes all the values as parameters.

i.e. MyTemplate.tpl.html

    {if $foo}hello world, {$myname}!{else}goodbye, world.{/if}
which creates a kotlin class that can be used like this:

    MyTemplate(
      foo = true,
      myname = "bar"
    ).toString()
the biggest upside for me is that this way there's full, free IDE support, i don't need to write extra view models if the mapping isn't 1:1 and performance is pretty good because in the end there's no runtime parsing/compiling/interpreting except for the baseline JDK stuff (though there are even faster engines).

https://codeberg.org/h34tnet/tempolin

warning: so far i'm the only user though, so don't use it in production. also, i'm working on some improvements right now which haven't been pushed yet.

comment 1mo ago · link · parent

i looked up what alternatives there'd be and openrouter also makes its search API available. it's exa too, but $4 per 1000 results.

comment 1mo ago · link · parent

iirc i'd say it's the latter, as it's not scientifically possible to prove the absence of god. as far as i remember, the books don't introduce anything that might suggest new proof for the existence and the "aggressive absence of god" is just the continuation of the current trajectory where no further proof can be found for another 55 years.

comment 1mo ago · link · parent

Open weight and -source models aren't without biases. Giving a model away for free would be a good way to distribute an agenda. With a sovereign model you can at least control the agenda and align it with your values.

comment 2mo ago · link · parent

the assassination of archduke franz ferdinand was just the trigger but not the reason. the war would have started anyway.

comment 2mo ago · link · parent

i agree with this. the kremlin sees this as a win-win strategy. there are two options:

1. either their actions are ignored by the victim states, which makes this very cheap and effective sabotage to weaken EU members.

2. or alternatively, if there's military retaliation, putin can finally do the mobilization he promised not to do for his war on ukraine, because he can now assert that the country is under attack by foreign nations.

the EU / the member states are now in a pickle: they know it's russia but can't say it out loud because then they'd have to take action. they also can't do nothing because then russian sabotage could wreak havoc with the population and economy. so what can they do?

1. military support of ukraine 2. further sanctions of the russian economy, which includes getting rid of dependencies on russian goods 3. re-arming and modernizing their own military (i.e. introducing modern drone warfare capability, launching their own satelite intelligence, ...) 4. start opposing/controlling russian influence by local malicious actors, i.e. russia friendly right wing political parties (which is somewhat complicated but not impossible in a democratic setting)

comment 2mo ago · link · parent

part of the answer is the peace time dividend. the decrease in european spending has mostly been used for lowering or abolishing taxes on the corporations and the wealthy. if this was to be reversed (because we're not in a peace time anymore), the added tax income could be used to finance the re-armament.

comment 2mo ago · link · parent

normal: https://share.gemini.google/DhWqDtE74ASX

boldly improved: https://share.gemini.google/cR72HXmY4UdH

comment 2mo ago · link · parent

i asked nano banana to imagine mrs regan from the source and final text:

initially https://share.gemini.google/eJ54qDXM1gzC

boldly and maximally improved tone, clarity and flow: https://share.gemini.google/RiqX4x6mLB82

comment 2mo ago · link · parent

> Congress to close the loophole

But i think one of the prediction markets more important uses is to enable insider trading for the current administration.

comment 2mo ago · link · parent

i don't think that's correct. SEO has been popular long before google. many websites were overloaded with long lists of unrelated keywords at the bottom.

google became the most popular search engine exactly because those SEO keyword spam lists didn't work anymore and, after a while, they vanished. blogs, on the other hand, worked exceptionally well, because they used to link to other blogs' entries a lot, and blogs also used to be (comparably) high quality content.

so the main SEO guideline for getting a good page rank used to be: have a blog/news and publish lots of high quality content that bloggers link to.

comment 2mo ago · link · parent

i feel like that's still a kind of security by obscurity. the LLM isn't guaranteed to trigger a booby trap.

in my opinion there's no _fundamental_ reason between an AI agent and a human adversary attacking your code, just a practical difference. in the long run the only way is to fix the bugs.

but i agree with you that in practice, it's also a question of cost effectiveness. booby-trapping your code is probably making attacks cost prohibitive for almost everyone (which is the same situation as before, when attackers had to employ security researchers/hackers or buy zero-days from 3rd party providers).

running SOTA models is expensive, so the attackers aren't going to do drive-by attacks. next generation cheap models might do the same, but they can also be used by the defenders.

comment 3mo ago · link · parent

that's not a solution, that's just an impediment - at least if the agent can keep persistent memory about its state between attempts.

comment 3mo ago · link · parent

this is addressed in "Solution #3: Allow marketplaces to represent and manage micro-enterprises collectively as if it were a single producer."

so apparently, what you are describing is not what's actually happening.

comment 3mo ago · link · parent

i'm a fan of fettes brot too. i didn't know that about schiffmeister!

ps: austrian here, i'm about as landlubber as possible.

comment 3mo ago · link · parent

same here, on my amiga 500 and later on the PC. i was a kid and barely able to understand what was going on (but that didn't matter that much anyway), my english was absolutely inadequate for the text. i remember pestering my father about the vocabulary: "what does 'squashbuckler' mean? what's 'swashbuckler'? what's 'merchantman' and 'the flying dutchman'?" (the last was actually a misreading of "she's flying dutch colors" when you looked at a dutch ship). the worst was when i got too far north-west and had to sail back into settled territory against the wind, which took ages. something else that stuck in my mind was the soundtrack - iirc mostly händel and bach.

ps: years later i found the "mount & blade" series (which i too love), which is roughly the same but medieval and on land.

comment 3mo ago · link · parent

the ibex install worked flawlessly on the first try while installing windows (on the same machine) failed due to driver issues.

comment 3mo ago · link · parent

years ago my father got a decomissioned, wiped clean notebook from work and asked me to set it up for him. i didn't want to shell out a hundred bucks for windows, so i suggested trying linux (ubuntu) and he agreed. "intrepid ibex" was installed without issues. a few weeks later i asked him if everything was ok and how he liked it, and he had no complaints, except one: he didn't like the edgy skull on the desktop wallpaper: https://en.wikipedia.org/wiki/Ubuntu_version_history#/media/...

comment 4mo ago · link · parent

> My hope is that in a couple of model generations, we'll trust AI to review MRIs the way we trust it to proofread our emails.

the doctors may have financial motives to suggest unnecessary treatments. but i fear, by the time we'll have models powerful enough we'd be _theoretically_ able to trust their expertise, the financial motives will have shifted to the model creators.

comment 5mo ago · link · parent

somewhat funny to the immature mind: "fut" - the name of the compiler binary - is austrian slang for vagina, but in the most obscene, vulgar way possible. a bit like "cunt", but worse.

comment 5mo ago · link · parent

i think what they're talking about is an attacker poisoning the data the agent is trained upon to include functionality/a backdoor that can later, after training and when the agent is deployed, be used to induce unwanted behaviour.
12345
26