Better HN
topnewbestaskshowjobs
Log inSign up

iCarrot

123 karma · joined Dec 17, 2017 (8y ago) · 97 submissions

Submissions

comment 1w ago · link · parent

Isn't this pretty much backward? If the thing spit out codes so fast, you'd have to babysit it. Slower throughput let you do something else while you wait.

Also throughput pretty much depends on compute capabilities and active weight. So if someone build a A0.1B then maybe you can look at 1500t/s of pure uselessness.

comment 1w ago · link · parent

Does `dotnet new <template>` not count?

You could also `dotnet run script.cs` to run a single file without setting up project.

comment 2mo ago · link · parent

Using LLMs for automated security audit looks like it could fall under the definition of "vibe coding" or "agent mode", which is strictly forbidden

>6. It is not allowed to use AI in an autonomous-looking way to contribute in Forgejo. This also applies when someone engages in 'vibe coding' or uses so-called 'agent mode'.

comment 2mo ago · link · parent

Is this not it? https://pagescms.org/

comment 4mo ago · link · parent

Dota 2 runs natively in Linux, and it's one of the biggest competitive online multiplayer games. It worked in Wine (along with Steam), too, last I tried 10 years ago when I was dual-booting and did not have disk space for two copies.

comment 9mo ago · link · parent

You can turn off thinking in Gemini pro models by using completion mode.

Essentially, append a message with role=model and minimal text part, such as a simple "A", at the end of the "contents" array. The model will try to complete the message without using any thought tokens.

You can also set the model message to start with "think" or something along that line and watch it thinks out loud (or melts down with over-thinking and stop due to reaching maximum output token)

``` [ { "parts": [{"text": "hello"}], "role": "user" }, { "parts": [{"text": "*think"}], "role": "model" } ] ```

comment 2y ago · link · parent

The common wisdom (this is back when I was still fiddling with an Elegoo Mars 2-3 years ago) was to print the model at an angle and elevated from build plate. There should always be rafts and supports under the model.

comment 2y ago · link · parent

Is this not it? Built and distributed by F-Droid https://f-droid.org/en/packages/com.shatteredpixel.shattered...

comment 2y ago · link · parent

I always found the game becoming easier with more mechanics/weapons/potions added (in other variants). Is this the case with SPD?

comment 2y ago · link · parent

Kinda weird to start talking FOSS when the website itself never ever claimed to have anything to do with FOSS.

What does search engines indexability have to do with FOSS? There's no shortage of old school forums locked behind membership system, not indexable by any search engines.

Also Discord is an instant messaging software and not "web". It just happens to have a web frontend. It's OK to be nostalgic of the old web but not the old instant messaging softwares.

comment 2y ago · link · parent

Vending machines take ¥10 coins, there's a huge issue if they don't.

comment 2y ago · link · parent

It's built with Electron so not entirely opaque.

Car manufacturers don't release their source code either, yet people trust something as important as their life to it daily.

comment 2y ago · link · parent

Try telling GPT-4 that the translation is bad, and ask it to proofread the result for a more natural French

comment 2y ago · link · parent

It is a Docker's term: https://docs.docker.com/build/guide/layers/

comment 3y ago · link · parent

There are post codes in Vietnam, believe it or not. Though I doubt any local delivery service actually look at it.

Hanoi post code is in the 100000 range (used to be 10000), Saigon's 700000

comment 3y ago · link · parent

Is it because of tracking protection/fingerprinting protection being on by default?

comment 4y ago · link · parent

Animated collapsible div can be done with 0 line of JS.

https://code-boxx.com/expand-collapse-div-css-only/

comment 4y ago · link · parent

Give high contrast mode a try, when enabled it will force native UI and websites to look nearly the same.

Should be available under Setting app -> Accessibility -> Vision -> Contrast theme

comment 4y ago · link · parent

I'm using Vite for a small greenfield project. Perhaps it's the selection of packages I use, but setting up was rather painful.

Vite Vue + Typescript template run fine in dev mode but could not be built for production, thanks to a combination of an Vue issue and a tsconfig flag.

Node polyfills work on `yarn dev`, but throw "kn.nextTick is not a function" for production build. Apparently I have to use package `rollup-plugin-polyfill-node` instead of `rollup-plugin-node-polyfills`.

Now with all the setting up out of the way, it does feels good to have a dev server starting almost instantly, hot reload and full page reload stay constantly fast. Sometime though hot reload just fails and I had to manually reload the page, or manually remount the component I'm working on (by navigating back and forth) to see the changes.

It also feels like I'm not even using typescript but plain javascript. Vite would happily serve broken code and some errors will only be shown on `yarn build`. I lost a watch compiler essentially.

comment 4y ago · link · parent

A few years back at $DAY_JOB I was trying to optimize the cost for a serverless stack. To my surprise, small RAM lambda instances had extra latency of up to 100ms for DynamoDB queries!

comment 4y ago · link · parent

Yeah it read like he was competent in his job, but elsewhere in the company people were struggling so he was reassigned to help out.

He should not have treated his employer's asset (the product) as his child and sacrifice things for it.

comment 4y ago · link · parent

Have been using Victor Mono for a year now, that Victor Mono demo on programmingfonts.org definitely does not look like what I'm used to. Looks like the medium weighted Victor Mono.

comment 4y ago · link · parent

>a model that is customizable

That's what parametric modeling do: you have a history of what you did, and traveling back in time to change something like a diameter is trivial.

comment 4y ago · link · parent

Not a PhD just a MSc, but the presentation skill I picked up along the way was definitely the most important thing I got out of it.

To paraphrase the words of my professor: if I really understand something, I must be able to explain it to any audience in 2 seconds, 2 minutes, or 2 hours.

comment 4y ago · link · parent

A decade ago we have this niche vBulletin forum where members would self-publish news article regarding the hobby. vBulletin BBCode is pretty limited, but then the admin started to add more and more styling support via custom BBCode.

At one point we were able to create "interactive" content entirely in our heavily customized BBCode without a single line of JS, and this #target is one of the more used tricks.

comment 4y ago · link · parent

Looks like it places itself a little above VSCode, thanks to its Intellij code engine. Also remote coding means you could have a much beefier machine elsewhere and code on a notebook on the go, for example.

comment 5y ago · link · parent

Not for my withered eyes, I need to zoom 130% for it to be readable.

comment 5y ago · link · parent

There's a Sony Walkman model running on Android, NW-A105 I think.

comment 5y ago · link · parent

>Due to RSI I tried dozens of keyboards over the years. When I see these new keyboards being sold at these prices, especially the mechanical ones marketed with "improved layouts" and ergonomics, I have to laugh.

If you haven't got to the opensource crowd of the mechanical keyboard world yet, you should. Ergonomic is one of the problems that people are trying to solve, and their solutions are opensource.

comment 5y ago · link · parent

>That said, the annoying thing here is that it's expensive to try keys

You can get switch tester kits off Aliexpress, I see there are $15-ish options that let you test 16-30 types of switches.

1234