HN user

raphaelrk

53 karma

http://raphaelrk.com

Posts11
Comments36
View on HN

According to my App Store history, on May 30, 2010, I downloaded the app "Ian's Laces — How to tie and lace shoes (Lite)". Since then, I've very rarely had to tie my shoes :)

I’m wondering if anything in their setup is worth incorporating into the “status quo”

The most immediately relevant thing is equity-based comp that doesn’t have a tax hit.

Another thing I find interesting is whether this comp might be more “mission-aligned”:

- It’s likely this is all just to accomodate their “non-profit with limited profit subsidiary” structure

- But there's still a deeper question there: do current specifics of how startups do comp / investment / exits somehow result in societally suboptimal outcomes?

- If so, how exactly, and is it fixable, or are those inherent properties of an ecosystem of competitive, high-growth startups?

- One way that might be the case is if there’s a pressure for “growth at all costs”, which is something OpenAI would want to avoid.

- The pressure for that could come from a lot of sources — intrinsic desire for growth; financial expectations from shareholders (employees, VCs, public market investors, even customers); regulatory requirements around fiduciary duty; existential risk of going under or competition, or needing to hit a certain size to achieve whatever it is you want to achieve

- Another way this could be the case would be limited exit opportunities, or limited creativity around them / sticking to well-trodden paths, ultimately resulting in control of the company being handed over to either poor management or groups prioritizing growth at the expense of good product

- Thinking about twitter and reddit’s API shutdowns here — how much do unpopular product decisions like that come from legal specifics? Or perhaps those would have happened no matter what, to keep the companies from going under or to have enough profits to fund further innovation.

- It’s not obvious that this setup avoids a motivation for “growth at all costs” — employees’ pay is still based on increasing profit, and if it doesn’t grow as fast as competitors it may just become irrelevant. But it’s possible it affects other strings around company control. Not sure — IANAL :)

I wonder whether AT Proto, the protocol used in bluesky, might make for a good base for a decentralized reddit alternative.

- public

- extensible

- bring your own client

- domains as usernames

- federated but with escape hatches so you're never tied to a single host

- considerations for twitter-scale from the start, eg with "big graph servers"

Still under a waitlist / closed for now / under very active development, but seems very promising.

John C Lilly 3 years ago

"In the province of the mind, there are no limits."

I do wonder to what degree this is true

There are claims that other animals see more colors than us. But what if that's not actually the case? Maybe conscious minds are only capable of seeing the same rainbow that we do

The mapping could be quite different, and even if you can't add more letters to "RGB" you can add more letters to "HSL", making things look neon, stereoscopic, brushed, iridescent, hyperbolic, etc. But perhaps what we see is already all the possible "base" colors?

Apple wants the iPad OS developer experience to be bad

Their #1 focus is lock-in, preventing being commodified, and extracting value

No apps that run operating systems, no apps with windowed environments, no app-store-like apps / third party app stores, no browser engines, no Flash, terrible mobile safari experience, no OS mods / jailbreaks, no desktop-style cursors, physical iPad keyboards lacking escape keys. Wanting 30% of all payments for digital goods that occur on an iPhone.

Being able to eg "run Docker on your iPad" would go against all that. I think it's also a big part of why they charge $99/yr for being a developer - otherwise people would be able to sideload apps much more easily

Nice article related to this: https://subconscious.substack.com/p/aggregators-arent-open-e...

Hard to imagine just how different things might be right now if things were more open. iPhones are always on and connected to the internet - you could run servers from them! maybe mesh networking could actually be a thing?

The mother of all demos would not be allowed on the app store. Squeak/smalltalk would not be allowed. Feels disrespectful to humanity that the most popular platform in the US is so locked down. Idk how things would change here without government intervention -- this all seems to be in shareholders' interests.

Seems like a good time to be running a competitor. iOS being so locked down means they'll have lackluster support for the long tail of desired AI use cases. And cross platform development via react native is really good now, imo.

Bun 0.6 3 years ago

Congrats on the launch!!

Any plans on adding "in-memory" / "virtual" file support to Bun.build? I'd be interested in using it for notebook-style use cases

--

Also, ways to do "on-the-fly" "mixed client/server" components (ala hyperfiddle/electric) + sandboxing (ala Deno) would be extremely exciting

Some projects in this vein - https://github.com/jhmaster2000/bun-repl and https://www.val.town/

Also, bun macros are very cool -- they let you write code that writes over itself with GPT-4. Just mentioning as a thing to keep on your radar as you keep pushing the boundaries of what's possible in javascript :) making it more lispy and preserving eval-ability is great

Had a homeless guy sit behind me on the bart repeatedly saying he'd slice my neck if I turned around or moved at all. It was a mostly-empty car, and it seemed like he was serious and that nobody else was going to do anything. Wound up sitting still and bolting out at the next stop. Tried calling the cops after and they didn't care in the slightest. Just one of many incidents.

I live in Cambridge, MA now, and it's a million times better. Only thing remotely close that I've seen was one time biking past the Woods-Mullen Shelter in Boston (saw two other comments here call it "Mass and Cass"), except it's just one block and extremely tame compared to what you find all over the Mission, SOMA, and Tenderloin.

What I meant was I expected numpy to be faster than the js libraries I was testing, simply because people use it so much more, for real "scientific computing" work. And indeed it is very fast given it only uses the CPU, but that still leaves its matrix multiplication as ~100x slower than what my mac is capable of.

You're right, it's not a fair comparison -- I think it's still interesting though, since numpy is the standard people would reach for, which made me think it would be the fastest / use the GPU. I expect a python library that uses the GPU would be just as fast as the others.

Speaking of python performance, I recently benchmarked "numpy vs js" matrix multiplication performance, and was surprised to find js significantly outperforming numpy. For multiplying two 512x512 matrices:

    python
      numpy:               ~3.30ms
      numpy with numba:    ~2.90ms

    node
      tfjs:                ~1.00ms
      gpu.js:              ~4.00ms
      ndarray:           ~118.00ms
      vanilla loop:      ~138.00ms
      mathjs:           ~1876.00ms

    browser
      tfjs webgpu:          ~.16ms
      tfjs webgl:           ~.76ms
      tfjs wasm:           ~2.51ms
      gpu.js:              ~6.00ms
      tfjs cpu:          ~244.65ms
      mathjs:           ~3469.00ms

    c
      accelerate.h:         ~.06ms

Source here: https://github.com/raphaelrk/matrix-mul-test

I find building react native apps much faster than building native apps. You don't need to recompile if you're just changing the javascript, and only a couple weeks out of the year have I actually needed to change any native code.

Interesting! As a quick test on Chrome ("Version 95.0.4638.69 (Official Build) (x86_64)")

  t0 = new Date();
  a = Array(100000000).fill(0);
  console.log("time elapsed: ", new Date() - t0); // 22912
  a[100000] = 1;
  a[10000000] = 1;
  a.forEach(e => e == 1 && console.log(e));
  console.log("time elapsed: ", new Date() - t0); // 28371
  
  t1 = new Date();
  a = Array(100000000);
  a[100000] = 1;
  a[10000000] = 1;
  a.forEach(e => e == 1 && console.log(e));
  console.log("time elapsed: ", new Date() - t1); // 2787
Upon doing a couple not-so-scientific runs of this, it looks like the latter isn't really faster than the former.

This is such a wonderful initiative and could bring so many kids into programming! So many people start programming in order to make games and I could see this developing into the new standard for it & it being supported first class in replit makes it super simple to create and share your game.

I got a chance to try out kaboom last weekend and while it's already great for games, I'd love for it to also have more support for visualizations, something I used to spend a ton of time on in high school in khanacademy's processing.js editor[1]. Kaboom's support for ES6 and WebGL, focus on gaming, and integration with replit would make it a much better tool than KA for this. Some things in particular I'd like to see from kaboom for viz - it's missing basic raw functions like drawEllipse, the docs were difficult to read (I wish it would say what params something takes instead of "[conf]"), and in the end I failed to port over my voronoi viz[2][3]. If they decide this would be a good focus for them, I'd suggest having one of the built-in kaboom examples on replit to be a visualization.

[1] https://www.khanacademy.org/profile/raphaelrk/projects

[2] https://www.khanacademy.org/computer-programming/quick-voron...

[3] https://replit.com/@raphaelrk/CumbersomeAdmiredStrategies

I like the way @wongmjane put it, "Basically margin is like side-effect"

https://twitter.com/wongmjane/status/1242370883320049664?s=2...

I remember @jpochtar and @gablg1 had a similar take in "Technical lessons from building a compiler startup for 3 years". Under "Don’t trust standards", they wrote "We had no issue w/ using invisible spacer divs instead of the more “semantic” margins or paddings."

https://medium.com/@gabriel_20625/technical-lessons-from-bui...

I don't have much experience in the market, but "invest in index funds" seems like a way to inflate the values of all the companies in the index fund, deserved or not, and I find it worrying that it's touted as an easy/simple way to make money. If there's a lot more index fund money than hedge fund / active money it would probably mess with prices, right? Is there any good analysis of when it would stop making sense to invest in an index fund? Or ways to weight certain companies higher or lower in a 'personal' index fund?

Hey all!

Just tossed up https://unread.chat

It's a chrome extension that blocks read receipts and typing indicators on messenger

The goal is to make it less stressful to check messages. I find myself not reading threads at all because of the read bubbles, and think this'll help improve my response rate.

It was a quick project, only ~40 lines of code. The security-conscious can install it from source! https://github.com/raphaelrk/messenger-lowkey

Hey everyone!

My friend Luke and I made friend flights to help you find cheap tickets to meet up with friends.

For example, if you're in SF and your friend is in NYC, you'll get cheap fare alerts for flights to Guatemala, China, etc.

We do this by finding cheap flight deals across the web, and are working on integrating more standard flight price data sources as well.

This is definitely a v1, with a lot of the work right now being us emailing out flight deals to people. Let me know if there's anything you'd like to see from this, if you have any questions, or if you have any feedback -- especially if you happen to know a lot about flight prices :)

This IDE was one of my favorite parts of the class.

You open it in a tab and immediately have an ubuntu instance + file system + terminal + text editor running. It has an excellent GUI, it's fast, if you mess up horribly you can just close your tab and restart the instance, and it's a standard environment for all the students which makes teaching assistants' jobs easier. It's so convenient I've used it instead of my own computer at times.

For more context, the class almost immediately dives into C and later gets into web programming, and being able to open up a tab, create `hello.c`, `CTRL-s`, `make hello`, `./hello`, or quickly run a publically-facing webserver is a great combo of convenient, simple, and realistic. The class used to use a VM which was much more of a hassle to set up, a lot slower, and overall not as nice of an experience. When being taken by 800 students a year at Harvard and hundreds of thousands a year online, that change alone has probably introduced a lot of people to programming.

I'm always surprised to find no mention of React Native in discussions around CSS in JavaScript.

They've got it figured out. Stick your styles at the bottom of your component. Vertical flexbox by default. And... that's about it. It just works beyond that point.

We liked it so much we ported our webapp from react to react-native-web. It's an amazing library. You can freely mix in regular react, but the styling story is so good with react-native-web that you'd never want to. It powers mobile.twitter.com and the author (same person who made normalize.css) recently joined Facebook, which hopefully means more development to come.

You'd have to pay me to go back to styling the web with css. It really is a hair-pulling experience.

Re: your last sentence, Pagedraw (YC W18) is a good choice for going from design to UI components and features great Sketch and Figma integration.

I just tried spoofing my user-agent with Firefox, editor and preview worked but the designer was pretty broken. It seems Firefox and Chrome still have slightly different ideas about how layout is supposed to work, would be curious to hear what the differences are.

Super excited for the Figma + React-native support, I think ~20% of my time this past month was converting our designer's figma sketches into react native!