Hacker Newsnew | past | comments | ask | show | jobs | submit | dwmbt's commentslogin

i believe they're referring to the observable desktop[0] macos app, a gui client for notebook kit[1]. the cli works great, fwiw!

[0]: https://observablehq.com/notebook-kit/kit) [1]: https://observablehq.com/notebook-kit/desktop


The CLI works great for... what?

Isn't the idea to write notes? I think constantly running a script to generate a static webpage would drive me insane. Isn't the whole point of a computational notebook to have some kind of integrated GUI?


have you taken a look at what the CLI is for? like you mentioned, it's pretty much just a build step! but there are some runtime things basked that are interesting [0]. i just have a watcher listening to file changes to trigger a rebuild. i have no need for real-time queries so just having the current state at build works for my purposes.

if you must know, the product i work on is primarily a data lake. we have our own query language -> i have a fork of the CLI w added support for parsing custom cells. i don't know of any alternatives that give me a notebook so easily!

> running a script to generate a static webpage would drive me insane

possibly web-brained take but i don't mind it much. builds are instant for me, network latency is the only thing i find myself waiting around on.

> Isn't the whole point of a computational notebook to have some kind of integrated GUI

well yea, pretty sure the entire point of the desktop app is to show what you can build atop the new api! this preview is meant to expand the capability of observable within your own custom web app. the original framework was too close to some of the frustrations you mentioned, so they're trying to make it more amorphous :)

[0] https://github.com/observablehq/notebook-kit/tree/main/src/r...


I guess my point was that I don't really want my first interaction with a thing I'm casually curious about to be me building a custom web app on top of it. By making their GUI app Apple-only, they have lost my casual interest. I'm not sure what they gained by making that compromise.


edit: i will not be taking this comment in good faith, i had a look through parents comments and it looks like they simply do not agree with Slint's approach to GUI programming: https://news.ycombinator.com/item?id=39223499#39229382

> What does it have to do with Deno

can we at least try to give people the benefit of the doubt instead of pretending like everyone is out to get you? if you read the change-log, it spells it out well:

> Our goal is to provide a windowing solution for WebGPU without linking to native windowing systems like X11

> This is a low level API that can be used by FFI windowing libraries like sdl2, glfw, raylib, winit and more to create a WebGPU surface using native window and display handles.

do you get it yet?

> People doing hardware accelerated GUIs have been using openGL for almost as long. This doesn't need to be a science project or a rabbit hole, drawing a GUI quickly is well worn territory.

i suggest talking to other graphics professionals to get a better understanding of why opengl is not _the_ solution. for a tldr[0]:

> regular OpenGL on desktops had Problems. So the browser people eventually realized that if you wanted to ship an OpenGL compatibility layer on Windows, it was actually easier to write an OpenGL emulator in DirectX than it was to use OpenGL directly and have to negotiate the various incompatibilities between OpenGL implementations of different video card drivers. The browser people also realized that if slight compatibility differences between different OpenGL drivers was hell, slight incompatibility differences between four different browsers times three OSes times different graphics card drivers would be the worst thing ever. From what I can only assume was desperation, the most successful example I've ever seen of true cross-company open source collaboration emerged: ANGLE, a BSD-licensed OpenGL emulator originally written by Google but with honest-to-goodness contributions from both Firefox and Apple, which is used for WebGL support in literally every web browser.

also, openGL is deprecated on macOS.

[0]: https://cohost.org/mcc/post/1406157-i-want-to-talk-about-web...


it looks like they simply do not agree with Slint's approach to GUI programming

My comment here is explaining exactly why I don't agree, no digging required.

Your quote is also about browsers implementing the webGL API, it has nothing to do with using basic openGL for GUIs, which again, is not required, because CPUs have been rendering GUIs for decades.


this looks and reads great, repo here if anyone is interested: https://github.com/bdsqqq/psykip


`pandoc resume.md -o resume.pdf -V geometry:margin=1in`


Thank you, I hadn't heard of pandoc previously. Pretty cool way to store a resume.


> Something so basic as moving a file between two directories. Can you Command-X, Command-V it?

try Command-C, Command-Option-V. works for me :)

also, if you're in need of a launcher, Raycast is nice. i don't use any of their fancy AI stuff and opted out of data tracking. i have several window management functions there that are indispensable.


i know it's separate from the thread, but i thought i'd share another nice macos utility app. i have some bots and personal CLI tools running somewhat around the clock. amphetamine helps keep your mac alive through sessions, so you can run jobs or even just play music while 'sleeping'.


taken me a couple of years to figure this out. moved to a medium-large city post uni with a grand delusion that i'd simply make friends and find my wife due to the virtue of living in a denser environment.

after a while, it didn't work out like i thought it would. surely, it had nothing to do with me and my inability to socialize properly? nay! i came to the naive conclusion that the city was at fault, or that we were mismated: "it's not big enough and there's not enough to do, or places to meet people. it's really far from the things i like to do, like the ocean or hiking spots." so, i moved to one of the most dense, socially-active cities in the world.

been here a while and yeah, it sucks. i think you put it best, feels a bit like a cosmic joke. there's only a few places in the world where so many people are crammed into such a small place. yet, i have no one.

i had enough and dished out some $$$ to spend 2 months in a rural town. a real quiet place, one of those towns with a single coffee shop. no whole foods or any amazon shenanigans. i miss some things, but the only times i've felt this at home have been... at home, with my parents. i think i'll move back in with them and give up on the city dream.


In my experience moving from a tiny town to London after graduating, is big cities take way more effort on your part, but reward you more for it. Like yeah, in your hometown you'll probably run into people more and gradually get to know them better. In a big city that won't happen nearly as much.

But, a big city has _scale_. You wanna give D&D a go? There's probably a club within a mile or two of you. Fancy doing martial arts? You've got a choice of half a dozen with 20 minutes. You're a long-time hobbyist in an obscure type of Japanese figure painting? You might have to travel a bit, but your city has one of only three clubs for that hobby in the country so you win!

Basically, put in the effort. It could easily take a year or more. But get out there, be social, take initiative, and you'll find your people.


The people who are "naturally social" will be social anywhere, but in a small town you can be the most antisocial person ever made, and people will get to know you, simply because you're one of the only thousand people they ever see.


an heir to the Johnson & Johnson fortune filmed a documentary full of weird dynamics like this: https://www.youtube.com/watch?v=HmlX3fLQrEc


i used this to learn swift myself and wished there was a newsletter to send out a reminder for me. instead, i used this apple script to generate a reminder every day for me. you can open Script Editor on your mac and run this. it will start today and schedule a new alert with the appropriate link :)

```AppleScript

set baseURL to "https://www.hackingwithswift.com/100/swiftui/"

set numberOfDays to 100

tell application "Reminders"

set swiftList to make new list with properties {name:"100

Days of Swift"}

repeat with i from 0 to numberOfDays

  set dayNumber to "Day " & i

  set dayLink to baseURL & i

  set reminderDate to (current date) + (i \* days)


  tell swiftList to make new reminder with properties {name:dayNumber, body:dayLink, due date:reminderDate}

 end repeat
end tell

```


note that Swift != SwiftUI, and there are "100 days" courses for both of them.


The URL is correct for SwiftUI.


Yeah, I know, but the comment mentions Swift everywhere else, including in the name of the list being created in Reminders. The conflation of Swift and SwiftUI also shows up a few other times in the comments here.


This course includes Swift language tutorials and the author has said it replaces the original 100 days of Swift course in most cases, which was UIKit-centric.


ahhh yeah, wish i could update my comment to give that context. i learned swift via swiftui, as it seemed like the most accessible avenue (as far as quality resources go)!


interesting hypothesis, but my subjective rebuttal is that nearly all of my friends would readily admit that they'd be perfectly content with building a life similar to that of their parents. most kids just don't think it's possible.

i asked in the parent comment if this is a normal thing? my parents were immigrants, so they don't have the experience of growing up here. it's always been an uphill battle. perhaps i've inherited that mentality but i wonder if americans of previous generations were also 23 and cynical, never thinking it possible to afford building a comfortable life?


young adult here (23m) with a normal salary (not FAANG, definitely underpaid but still above the american average). sometimes, i'll find that i'm willing to save costs at the expense of sacrificing my health. among other doubts, i've reconciled with the idea that i'll likely never own property of my own. there's too much debt to take care of and over time, things continue to get more expensive.

i grew up in a modest home. when my parents bought it, it was worth ~100k. not much has changed, we added some stone to the porch and an outdoor kitchen. it's worth nearly a million now. anecdotal? possibly, but certainly not a rare case. on average, how am i supposed to afford a home if the trajectory for a normal suburban life is that prices more than 2x every 20 years? [0]

even so, i find that year after year, i'm losing trust in the future of this country. 23 and entirely jaded. i cannot find it in myself to invest any energy in building a future here. mostly, i'm cynical and scared. i find that most of my friends are the same. was it always like this? is losing faith in your country a rite of passage into adulthood? does it get better over time? will i ever make enough to feel safe? etc.

[0] https://fred.stlouisfed.org/series/ASPUS


It's not your imagination. Anyone who owned a house before the 2000s and held it simply won the lottery.

1950 Median home value (inflation-adjusted to 2020 dollars): $79,063

1960 Median home price (inflation-adjusted to 2020 dollars): $104,166

1970 Median home price (inflation-adjusted to 2020 dollars): $112,941

1980 Median home price (inflation-adjusted to 2020 dollars): $147,879

1990 Median home price (inflation-adjusted to 2020 dollars): $157,169

2000 Median home price (inflation-adjusted to 2020 dollars): $179,331

2010 Median home price (inflation-adjusted to 2020 dollars): $263,604

2020 Median home price (inflation-adjusted to 2020 dollars): $336,900

[0] https://better.com/content/how-much-home-prices-have-risen-s...



How do you know you're underpaid? I've literally never heard anyone say they are overpaid.

Is it just ego?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: