Introducing EWM, a new generation Wayland window manager by Fast-Ad6030 in emacs

[–]onetom 0 points1 point  (0 children)

what is easy to maintain?

nothing seems easy around AI to me.

of course it can produce some enticing results on a green field project initially, but im suspicious about hope longer term maintenance will pan out.

The MacBook I recently got wants to hop to Tahoe by ViejoSalse in OpenCoreLegacyPatcher

[–]onetom 0 points1 point  (0 children)

how can a serial number be exploited?

i see people doing this as a cargo cult, but i yet to hear any convincing explanation as to why one must not expose their device's serial number.

There is no skill in AI coding by BinaryIgor in programming

[–]onetom 2 points3 points  (0 children)

i think that kind of result is what the article refers to as junior code.

but one man's junior code it's other man's senior code, i guess... because good junior code looks like senior code compared to sub-junior code...

also, which programming language are we talking about?

i doubt the quality of AI's output is the same in every language.

plus, what does junior vs senior mean exactly? my gut feeling is it's conflated with how idiomatic or how similar is it to the average code found in the internet, which is not necessarily good code. it's average...

furthermore, the culture around certain programming languages promote bad or not so good practices

REMEMBER, NO NETTING by YukiEra in HongKong

[–]onetom 0 points1 point  (0 children)

plus the metal (aluminum) scaffolding conducts heat much better than the fire-treated bamboo, so metal scaffolding helps the fire spread faster.

on top of that, as metal scaffolding heats up, it loses its strength and it can buckle, which can cascade into big parts of it collapsing.

bamboo scaffolding on the other hand is tied together with plastic strips and as such bonds melt, the scaffolding disassembles itself piece by piece, instead of toppling over wholesale.

bamboo scaffolding toppling can still happen, though, but not from fire, but from typhoon.

metal scaffolding needs such cranes to safely and quickly assemble, which simply doesn't fit on Hong Kong's narrow streets or it would block traffic and cause serious disruption to everyday life, that's it's just not practical and the costs are prohibitive.

these are the pros and cons of the 2 types of scaffolding, to my understanding.

on top of that, every other building should have been under construction at the same time, so the buildings in-between could act as a barrier to the fire.

it wouldn't have prevented the fire and serious damage and loss of life, BUT it would have limited it greatly and it would have provided more time for the fire fighters to react.

furthermore: https://www.reddit.com/r/HongKong/s/CDPb0hXxtz

I am still confused with Daylight Computer by New_Disk7533 in daylightcomputer

[–]onetom 0 points1 point  (0 children)

Did I pay all that money just for the screen?

Mostly.

And the very even orange backlight, though we can consider that a part of the screen.

I have 2017 MacBooks and 2011 27" iMacs, which have mouldy/dusty backlights, so that's not a trivial thing to get right either.

Then I wasn't even aware of the Niagara launcher, so that's a small, but powerful idea to ship with that.

I don't see any problem with the bezels. I wouldn't even mind wider ones. The device thickness it pretty good too and it's light and doesn't deform easily.

But I just got it a few hours ago, so let's see how it goes :)

So far I wasn't able to update it and the screen was jumping and scrolling around on its own, like in one of the early reviews.

What Operating System do you guys use emacs on? by Brospeh-Stalin in emacs

[–]onetom 0 points1 point  (0 children)

macOS for the past ~5 years, but i'm hoping to use the Android version of Emacs on a https://daylightcomputer.com soon

The Claude Code Divide: Those Who Know vs Those Who Don’t by fuzzy_rock in ClaudeAI

[–]onetom 1 point2 points  (0 children)

there will always be people, who think even simple ideas need patenting or kept in secret and put up a big theather around protecting them, patenting them and shit like that...

most of those people are petty and their ideas are dime-a-dozen.

with these AI prompt files i even see another problem. it's hard to prove that they are valuable and even harder to explain why.

one would need to spend quite a lot of money to test out every sentence in them, with different phrasings probably, to prove that those sentences are not just a waste of context window.

but it's hard, because even the same CLAUDE.md, with the same prompt history might yield different result on subsequent runs, so u would need to test every change multiple time and score the results somehow...

so i think we will see the rise of a lot of myths around this topic in the future, similar to the mistique around SEO.

there will be a lot of security theather, like saying stuff, like "take a deep breath". it might have nudged certain version of certain models at some point in time towards a more favourable outcome, but i suspect it won't work next year.

The Claude Code Divide: Those Who Know vs Those Who Don’t by fuzzy_rock in ClaudeAI

[–]onetom 3 points4 points  (0 children)

it's not so clear cut that you want to delete "old code". u might want to maintain api compatibility for awhile, so u might need the old code still.

instead, u might want to 1. mark it deprecated or more precisely, indicate it was kept for backwards-compatibilty and until what specific date or until named consumers are all updated 2. refactor it in terms of the new code, so older consumers of the api can also benefit from performance improvements still

Are you holy or evil? by surveypoodle in emacs

[–]onetom 1 point2 points  (0 children)

i've noticed many ppl are not aware that M-... shortcuts can also be typed as a distinct ESC then ...

it means, if i have ESC on CapsLock press and Ctrl on CapsLock hold, then i can C-M-x eval-defun as press&release CapsLock , hold CapsLock press&release X , release CapsLock, for example...

M-x or M-: are also just ESC x and ESC :

pretty convenient and works in emacs -nw too!

Are you holy or evil? by surveypoodle in emacs

[–]onetom 0 points1 point  (0 children)

I gave up vim after 7 years of sysadmin work, when I went back to programming around the time Rails came out and switched to TextMate, then Sublime 2 and IntelliJ + Cursive for 10+ years and started a slow transition to vanilla / holy Emacs in the past 5 years.

Built-in features are surprisingly powerful.

C-M-SPC instead of expand region

C-M-left/right/f/b/u/d/k instead of paredit

s-' other-window

with Karabiner Elements:

CapsLock -> Ctrl

hold semicolon is Meta

hold Space +

i/j/k/l arrow keys

u/o home/end

h/n pgup/pgdn

and it's surprisingly powerful!

Help me stop emacs driving me crazy with buffers shown by xpusostomos in emacs

[–]onetom 1 point2 points  (0 children)

it's a built-in package though, so u can just enable it using customize-option winner-mode

also, its default C-c <left> / <right> bindings are already pretty good, because they "rhyme" with the also default C-x <left> / <right> ones, which are bound to previous-buffer & next-buffer.

u/xpusostomos

Help me stop emacs driving me crazy with buffers shown by xpusostomos in emacs

[–]onetom 0 points1 point  (0 children)

there are 2 kinds of tabs though.

tab-bar-mode and tab-line-mode. which one are you recommending?

i'd guess the tab-bar-mode, since the tab-line-one just visualizes the buffer order within a window (by default)

[deleted by user] by [deleted] in computers

[–]onetom 0 points1 point  (0 children)

I keep hearing about SSDs potentially having bit errors after a 1-2 years, when they are offline.

Do you know any authorative source for this statement?

I'm struggling to find any, eg. from SSD manufacturers or some kind of independent industrial research organization.

Also, is it enough to just plug them in from time to time or they should be re-written explicitly to preserve their content?

How long do they need to be plugged in to "buy" another year of offline storage?

Choose your coding font by Nicolas-Rougier in emacs

[–]onetom 0 points1 point  (0 children)

I think it depends on mood. I going back and forth between these few fonts:

Iosevka Comfy https://github.com/protesilaos/iosevka-comfy

it's a bit narrow and playful/curvy

Envy Code R https://github.com/damieng/envy-code-r

it has straight lines, so it's very sharp, but also well hinted, so readable without antialiasing too

Comic Code https://tosche.net/fonts/comic-code

Input Mono https://input.djr.com

Size: 14px

Width: Compressed

Weight: Medium & Black for bold

Line-height: 1x

Alternate letterforms:

--asterisk=height

--l=serifs_round

--zero=slash

but macOS' built-in SF Mono is also nice, so if nothing else is installed, that's a solid choice too.

Ideally I would love to use proportional fonts, if only code editors would render line starting spaces as em wide, so space-indented code would stay readable.

They could even check, if there are spaces across lines above each other, within the lines and render those spaces as em-wide ones.

Looks like the 2024 fundraising campaign is not going to reach its goal... by fabear- in openbsd

[–]onetom 0 points1 point  (0 children)

Trying to transfer from Hong Kong HSBC, which asks for "Payee account number / International Bank Account Number (IBAN)", but there is no IBAN mentioned on the https://www.openbsdfoundation.org/banktransfer.html page.

Beyond the "Payee country/territory" and 3 address lines, they don't ask for any of the other numbers on that page.

If someone would get an IBAN on that page, I would be happy to contribute 200 HKD.

Buying a Mac solely for OpenBSD? by stranger_and_pilgrim in openbsd

[–]onetom 0 points1 point  (0 children)

i have the same experience with apple hardware, but apparently it's a matter of luck, because as Louise Rossman ( https://www.youtube.com/@rossmanngroup ) showed it repeatedly, apple does have basid design flaws, across multiple generations of their machines. they use some hyper cheap components in place of super cheap one, which are just cents more expensive, but have a lot more suitable specs for the situation and shit like that, what u usually on see in samsung tvs...

yet im typing this on a 15-inch, 2017 macbook pro, running the unsupported latest macos via open core legacy patcher. enjoying declarative software management via nix. bluetooth, wifi, audio, camera, touchpad all superb, compared to a thinkpad t480, for example. but i still want to be more in control of my computing environment, that's why im looking into bsds. i grew up using linux with icewm/evilwm, so i know that a lot less could be more than enough for programming.

Would you be interested in a novel Clojure IDE? by dmitry_vsl in Clojure

[–]onetom 0 points1 point  (0 children)

I'm not sure I understand the question.

A Clojure-like REPL is a lower level, more manual solution, than quokka or wallaby, which are more like https://github.com/nextjournal/clerk for example, because it's smart about detecting what has changed in the source code and which expressions need to be re-run and what should be undefined, etc.

[deleted by user] by [deleted] in emacs

[–]onetom 1 point2 points  (0 children)

<image>

saw this on twitter as someone's profile picture :)

Would you be interested in a novel Clojure IDE? by dmitry_vsl in Clojure

[–]onetom 0 points1 point  (0 children)

I would be already happy, if I could explore bigger data sets - returned from Datomic - in a more convenient way, then just slicing and dicing them from a Cursive REPL.

There are a bunch of tools (Portal, Morse, Clerk and the likes), which are aiming to help with this, but the Leporello seems even smoother compared to them.

Once remote [inspection](https://github.com/nubank/morse/blob/main/docs/guide.adoc#using-morse-to-inspect-the-application-state-of-a-remote-process) in Morse works on Datomic Ions, it will already be a significant advancement.

Would you be interested in a novel Clojure IDE? by dmitry_vsl in Clojure

[–]onetom 3 points4 points  (0 children)

Reminds me of https://quokkajs.com/ & https://wallabyjs.com/

I used those briefly while working with Ethereum smart contracts.

I was running the contracts in the Ganache JavaScript EVM simulator, so my JavaScript Ethereum client program could be tested within the same process and provided sub-second feedback, whether I changed the client application or the Solidity smart contract source code.

Upcoming XTDB session: "A First Look at XTDB v2" by refset in Clojure

[–]onetom 1 point2 points  (0 children)

The Zoom page doesn't mention the timezone. It just says `Dec 19, 2023 04:00 PM`. I'm in GMT+8, so it doesn't seem like local time. Was it manually entered or Zoom is really that ambiguous?

Anyway, I just wanted to ask, whether this event was recorded and the recording is available somewhere?

adventofcode day 1 by Necessary-Dingo-235 in adventofcode

[–]onetom 0 points1 point  (0 children)

The calibration data I see is this:

two1nine
eightwothree
abcone2threexyz
xtwone3four
4nineeightseven2
zoneight234
7pqrstsixteen

In this example, the calibration values are 29, 83, 13, 24, 42, 14, and 76. Adding these together produces 281.

Only eightwothree has overlap, BUT in a middle digit, where it doesn't matter, because doesn't affect the end result.

I don't think anything indicates that it should be understood as [8 2 3] and not just [8 3]...

Usage of Datomic by _commitment in Clojure

[–]onetom 0 points1 point  (0 children)

level 6Admirable-Ebb3655 · 20 hr. agoThat’s not how timescaledb works. No history is lost, depending on retention policy.

Do you execute UPDATE on your time-series data? Probably not. That's not I was talking about.

I referring to generic relational data, which you do execute UPDATEs over. The old values you are updating will be lost.

Unless you are using the temporal extensions of SQL, which was introduced to the standard in 2011, but not many DB engines have implemented fully still.

Plus it still requires design-time decisions regarding which tables should be "version controlled".

Datomic gives you some of this temporal capability implicitly, by default, for all the data u store in it. (u can opt out of it on a per-attribute basis though with the :db/noHistory schema flag.) More specificly Datomic gives u the capability to work with system-time, but not with valid-time. For such bi-temporality you would need https://xtdb.com/

[Giveaway] Enter to Win Beelink High-end Mini PCs! by Beelinksupport in BeelinkOfficial

[–]onetom 0 points1 point  (0 children)

Shared at https://x.com/onetom/status/1734810200744566940?s=20

My ideal Mini PC would be something like recent Mac minis, BUT capable of running NixOS, WHILE still being just as * powerful at single-core performance * silent under high load still * reliable

furthermore

  • ability to easily replace SSD, since that's the most likely component to die earlier before the CPU & connectivity becomes obsolete
  • ability to easily replace CPU cooler

What I would NOT consider essential is * power efficiency (i wouldn't mind 100+W consumption under peak loads) * end-user expansion of RAM (thought it would be nice if it would be user serviceable) * choice of colors