HNHacker News
TopNewBestAskShowJobs

larme

216 karma · joined January 16, 2012

submissionscomments
larme··on EU tells Apple to open everything up to its rivals
Agree, most web developers now are just in the opposite campaign of web "users" and trying every possible way to make their jobs (squeezing every penny out of their "users") simpler without any other considerations
larme··on Apple iPhone 15 Pro and iPhone 15 Pro Max
I use blink[0] with a 40% keyboard to develop linux program on a vps.

If you want to do programming without wireless interenet, another option is to connect a raspberry pi zero 2w (with usb gadget mode enabled) to the usb c port using a single usb cable. Then the rpi zero will share a ethernet network with iOS device. Then you can use blink (again) to mosh to raspberrypi.local to do the development on the pi.

The reason that I don't do it on android with termux is that there's no high quality terminal emulator like blink on android.

[0]: https://blink.sh

larme··on Vietnam to make Apple Watch and MacBook
Western ideals like abortions should be illegal?
larme··on Epic, Spotify, and Tinder form advocacy group to push for app store changes
"Developers" nowadays (except some indie shop) are just the enemy of user. They try to squeeze money out of users as much as possible.

On the other hand Apple try to squeeze money by asking consumer to pay the apple tax, but at least they try to be reasonable on the privacy issue.

Choose which side you like, or just use open source software.

larme··on Synthetic Data for Deep Learning (2019)
Never thought this way, great perspective.
larme··on Synthetic Data for Deep Learning (2019)
Synthetic data always reminds me the practice of feeding cattle with the meat and bone of other cattle. Will this make our generation's mad cow disease?
larme··on Web Dark Ages
try firefix addons singlefile[1]

[1]: https://addons.mozilla.org/en-US/firefox/addon/single-file/

larme··on Apple declined to implement 16 Web APIs in Safari due to privacy concerns
I’m very glad a web page cannot store 50mb data and send notification to me.

You only think from a developer’s perspective. What if you are the user receiving 50 notification requirement a day from a web browser?

larme··on Apple declined to implement 16 Web APIs in Safari due to privacy concerns
So many web developers keep pushing to give web the same power as native apps. "What's the difference between a PWA and native app? Why web cannot access the same api?"

So I want to ask another question: "What's the difference among knives, guns and missiles. Why almost everyone can buy a knife, but need a license to buy a gun, and may never able to buy a missile (even with enough funds)". One possible (and obvious )answer is because guns and missiles are more powerful than knives, we want to give them more restrictions.

Now can we reverse the logic and say, if we are able to decide the power of items, we should give items with less restriction less power? Let's limit our discussion on a mobile device, it's very easy to visit a website. But if you want to use a native app, you need to go to the app store, tap the download button, confirm, wait until the download is finished and the app is installed, and then finally open it. The app was also reviewed by the app store beforehand. This makes a difference. In fact, I think the ubiquity of web means we should never allow it to have the same power of what an native app can have.

And people are talking about the monopoly of apple. But if web become THE operating system one day, google will be a more dominant monopoly. They control both the implementation of the os (chrome) and the entry (search engine).

larme··on Apple declined to implement 16 Web APIs in Safari due to privacy concerns
hn miss the old internet where content is the king

hn also ask for more apis that make the internet such a shithole today, so we can make more useless web "apps".

larme··on No to .io, Yes to .xyz
which can be part of the "fun"
larme··on Remembering Windows 2000
Windows 2000 is my favorite windows version. I like the color scheme and how lightweight (from today's perspective) it is. A vm of win2000 and office 2003 is a good option for old office file comparability.
larme··on Way to keep your cool running a Raspberry Pi 4 (2019)
What if I want to use pi 4 as a building farm? Especially now with the 8gb version out, it seems to be suitable for building haskell programms
larme··on Apple Plans to Announce Move to Its Own Mac Chips at WWDC
aarch64 is not only chosen by apple. There are so many linux arm64 sbc floating around. MS also has their own plan on arm platform
larme··on Prologue: Full-Stack Web Framework Written in Nim
there's an article[0] addressing this topic though I'm not fully convinced

[0] https://narimiran.github.io/2019/07/01/nim-import.html

larme··on Workman Keyboard Layout (2010)
On normal keyboard layout you press so many keys with your pinky. I think it's ridiculous.

I design my 40% keyboard (vortex core) layout[0] according to 3 principles:

1. do not assign pinky to any key need you press and hold (ctrl, shift, alt, etc.)

2. do not assign pinky to any key you press frequently

3. try to assign these keys to you thumb or bottom part of the palm (hypothenar?)

So I assign space to the left palm, ctrl to the right palm, alt, cmd and shift to the left thumb, pn (modifier to enter numbers/symbols) to the right thumb.

Enter is assigned to pn+n, esc is assigend to right pinky because I'm not a vim user.

[0]: https://imgz.org/ih6XktnR/

larme··on A-Shell: Terminal for iOS
I actually use iphone with blink as my full time working device.
larme··on Pocket Popcorn Computer: Linux in Your Pocket
Not as portable as you might like, but I carry a vortex core[0] with me to program on my phone. It weights around 440g and is very programmable.

[0]: http://www.vortexgear.tw/vortex2_2.asp?kind=47&kind2=224&kin...

larme··on GitHub for Mobile
I regularly programming on my iphone using the blink shell[0] with an external keyboard. I'm actually more focus when programming on the phone instead of a desktop/laptop. However when any kinds of visualization are involved I immediately go to desktop

[0]: https://github.com/blinksh/blink

larme··on OpenBSD: Why and How (2016)
for me OpenBSD is just like (old) macOS for hackers. Everything supposed to work just works consistently.
larme··on OpenBSD 6.6
ghc bumped to 8.6.4 and sbcl with threading support!
larme··on NSTouchBar API Reference
A solution is use keychord[1] to map "`1" to ESC

[1]: https://www.emacswiki.org/emacs/KeyChord

larme··on Mathematicians are chronically lost and confused (2014)
Just out of curiosity, do you remember the title of the PCA paper?
larme··on Welcome to Magenta – Google music AI project
If their view of music is a sequence of notes (in midi) then the product won't be very interesting. In a lot of modern music genre sound design is as important as composing the note sequence.
larme··on Show HN: Luastatic – Build an executable from a Lua program
For multiple lua files, you can first bundle them into a single lua file using squish.[0]

[0]: https://github.com/LuaDist/squish

larme··on The story of .io
If I had the money I will buy the jupiter.io domain.
larme··on John Carmack working on Scheme as a VR scripting language
There're lisp to lua solutions like l2l[1] or moonlisp[2]

(Shameless plug: I also have a WIP hy[3] inspired lisp->lua compiler hua[4])

[1]: https://github.com/meric/l2l [2]: https://github.com/leafo/moonlisp [3]: http://hylang.org [4]: https://github.com/larme/hua

larme··on Why Lisp?
Macros are great.

I'm writing a hy-like lisp language that compiles to lua. A lot of features (Simple OO, list/dict comprehensive etc.) are written in macros.

https://github.com/larme/hua/tree/master/hua/core

On the other hand, they may be difficult to debug.

larme··on Web MIDI API
I suggest you build the sequencer in Max[1] or Pure Data[2]. Their advantages are:

1. You don't need to write any codes for UI objects

2. Simple things are faster to accomplish in these software.

3. For common complex tasks (fft etc.), Max or pd have built-in solutions that are likely better than the ones you build on your own.

4. You can script Max using js/lua/java. Hence if you want to build something complex and unusual, you can still fall back to programming.

5. You don't need to worry about timing in general. For example you can generate complex rhythm patterns in advance using lua/js/java and trigger them using Max/pd in real time. It will definitely perform better than some random web technology.

[1]: https://cycling74.com/ [2]: http://puredata.info/

larme··on Node-os
It has its good part (though only 176 pages), it has its bad part, just like every other language. But let's be honest, the primary reason that javascript succeeds is that it's a major part of web. I'm not against using it for web, but using it everywhere where other (possibly superior) solutions exist is a waste IMHO.
← PreviousPage 3 of 4Next →