HN user

dwmbt

181 karma
Posts2
Comments69
View on HN

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...

Deno in 2023 2 years ago

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...

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'.

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.

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.

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)!

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

```

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

that's also not entirely true either. it's prone to make illegal moves. one could argue abiding by the rules of the game is a requisite for understanding!

slight nit: this is true amongst all chess players. amongst professionals and amateurs, 1400 is technically Class C - which is on the lower end of amateurs.

nonetheless, it's cool to see a model 'generally intelligent' enough to beat most players. what's more interesting to me is that according to OP's analysis, GPT4 is worse at Chess than GPT3.5...

source: https://en.wikipedia.org/wiki/Chess_rating_system

this was my '1984'. i was 15, had it in my head that i was destined to become a revolutionary.

i gave it to a friend and they came away feeling like they needed to become a teacher; i came away wanting to be a novelist, or a father. in any case, it definitely changed my world view. not sure how i'd feel about it nearly a decade later, but i'll take this a sign to re-read. cheers!

perhaps anecdotal but gh's newer features have actually noticeably increased my productivity. i don't particularly enjoy slack, so i have all but mentioned notifs off - i maintain several of our open source libraries and we've created a project on gh to track issues across all of these repos:

    - the kanban board is alright, but i just like having everything in one place. ideally, i'll never have to log into atlassian anything, ever again.

    - having the mobile app means i can also turn my desktop notifications off and use the 'focus' mode (with github being able to notify me).

    - discussions have recently been revisited and they made a lot of improvements. the next team from vercel is extremely responsive on there and i think many open source projects could move from mailing lists to something like that. it's not for everyone, but worth considering.

    - wiki's are relatively useless, in my experience.
aside from my own experience, i also support many open source wizards through github sponsors. it's pretty much plug and play, so there's that too.

politics aside, there is a lot wrong with gh - but i'm also strongly convinced that post-acquisition, things could have been much, much worse. i'll continue to support projects and maintainers based on the merit of their projects. whether they choose to use sourcehut, gitlab, or github, i think it's safe to say that creating software and distributing it has never been easier.

Dream Song #14, John Berryman

Life, friends, is boring. We must not say so.

After all, the sky flashes, the great sea yearns,

we ourselves flash and yearn,

and moreover my mother told me as a boy

(repeatingly) ‘Ever to confess you’re bored

means you have no

Inner Resources.’ I conclude now I have no

inner resources, because I am heavy bored.

Peoples bore me,

literature bores me, especially great literature,

Henry bores me, with his plights & gripes

as bad as achilles,

who loves people and valiant art, which bores me.

And the tranquil hills, & gin, look like a drag

and somehow a dog

has taken itself & its tail considerably away

into mountains or sea or sky, leaving

behind: me, wag.

  Location: Boston, MA
  Remote: Yes
  Willing to relocate: Yes
  Technologies: Go, JavaScript, Rust, TypeScript. Axum, Deno, Next, React, Svelte, SvelteKit. 
  Résumé/CV: Upon request. Can also email for my LinkedIn, if that's your thing.
  Email: ollvr@protonmail.com
  Website: https://flbn.sh/
recently graduated. multiple years of freelance and internship experience during uni and one year of a full-time position as a Full-Stack Engineer. at the point in life where i'm free and looking forward to see more of the world, so relocation is indeed preferred. also in need of fulfilling work to fill the vacancies that research and daily student ennui occupied.

willing to pick up anything, but some technologies that i would love to work with are WASM and/or WebGPU.

same. it's also interesting that many of the folks commenting are not likely to be in the most vulnerable group at risk of developing myocarditis from the vaccine [0] -- that unfortunate category is one that i belong to. as a young man, i spoke about this risk nearly a year ago to the tee [1]. since then, i've also found out i am particularly vulnerable, as i had a history of heart issues as a young child (heart murmer -> arrhythmia). it will be nice to see more data available, but i don't regret any of the vaccines in the slightest.

there are plenty of comments here that speak to the general age recommendation other countries have provided, but i have yet to see people connect the other MAJOR group of people that should, by all means, totally, 100% consider getting their nth vaccination -> anyone with a comorbidity! if you are a young man with diabetes, the risks you face from the vaccine vs a covid infection are no longer as murky.

[0] https://news.ycombinator.com/item?id=33480849 [1] https://news.ycombinator.com/item?id=29221924#29223881

ahh yea, i'm not sure why the rest of my comment didn't upload. i was going to say that i thought the common use case for protobufs was to more ergonomically communicate between microservices?

in any case, that's the only time i've ever seen it used in production. the first link is a go benchmark that i felt represented why someone would use it for those purposes, the second was linked to show that despite numerous (successful!) attempts to make deserializing/serializing data faster and smaller, JSON is still the most heavily used and i would wager it's mostly due to how easy it is to use as far as browsers are concerned. the third was a link to justify that claim and show that js-land is much, much different than go-land as far as proto's and JSON encoding/decoding are concerned!

How I make my rugs 4 years ago

don't be an arse, she's very clearly talented and her work is politically motivated, making it ripe for the picking at an exhibit in the future.

anywho, i was at a farmers market // flea market the other day and walked past this old looking gown. i noticed the price tag was set at nearly $1,000, so i went up to the lady and asked her if she'd made it, why else would it priced so? she laughed and explained to me that she could never dream of being so talented, she was simply invited to an estate sale the previous week in rural Vermont (is there any other kind of Vermont? lol). it happens that the family farm is hundreds of years old and the dress i'd been so captivated by was older than my home state. for being so old, it was in pretty good condition. i learned that it was handmade by one of the daughters of the original homeowner. i asked her why she was selling it here and not hoarding it herself or donating it to a museum. apparently, the daughter was indeed skilled at dressmaking and it was one of a dozen or so such gowns, this being the one in worst condition. a couple were kept by the family, several were sold to collectors, and the rest donated to museums. so, the way i see it, it would not be so strange to see works like this in a museum some day.

[0] https://jacobin.com/2022/07/tabitha-arnold-interview-textile... [1] https://hyperallergic.com/678743/spirited-textiles-capture-t... [2] https://www.disobedientmagazine.com/disobedientonline/2021/0... [3] https://www.carnegiecenter.org/exhibitions/form-not-function...

deno has been around for a little while, i think some commentators may have taken your responses as satirical because of how often deno shows up in conversations surrounding the web platform. think of deno as a node.js successor, it's a separate javascript runtime; with that, it'll need to compete with node's ecosystem (vast and diverse tooling). the deno company is spearheading that movement by creating things like Deno Deploy and now Fresh. i believe the gist of it is that people were excited about the concepts Deno had been brewing up, and now they're building things that will allow people to actually make use of deno.

so, many people will look at this and say 'how is this different from ___?' and the reality is that for the most part, it's not. that's the point. you're making use of deno to do the same thing you did with node, and hopefully it's a little bit easier and/or more developer friendly.

also fwiw, deno is not really yc-affiliated; the company is backed by Sequoia, Four Rivers Ventures, Rauch Capital, Long Journey Ventures, the Mozilla Corporation, Shasta Ventures, and i think some other angel investors like Nat Friedman (former GitHub CEO).

now that you mention it, i would love to see a long-form conversation between a coop engineer and a DAO engineer! granted, they likely work in different arenas, but i'd mostly be interested in hearing about the work dynamics and how they manage each other, not so much the clients/products they take on.