Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions

Submissions

comment 5y ago · link · parent

I have to imagine any executive leadership team that agrees to an Apple acquisition is only looking at the exit package of stock they'll be counting in a couple years. They know what they're signing up for and know how the game works better than anyone. It's their setup for getting into venture capitol investing, retirement, etc. For a very small few they might stick around because they genuinely want to be part of the company's future.

comment 5y ago · link · parent

So ~15 companies a year? That doesn't sound outrageous for a company with billions and billions of dollars in the bank, and billions more coming in every quarter.

edit: If anything there's probably immense pressure on Cook to buy buy buy more stuff. I don't think anyone inside Apple wants to have a repeat of stuff like old Apple maps or other products that just languished and died internally while external companies innovated. Easier to just spray the money & acquisition cannon around indiscriminately.

comment 5y ago · link · parent

Everything has changed though, no longer do you have your beige-box 486 connected to a totally different brand mouse over a serial connection. You have your ARM SOC on a phone or tablet talking to the touchscreen physically glued to the front of said-device. The device manufacturers know exactly what hardware is on and connected to the SOC, and can optimize accordingly. There is very little physical device-interop anymore, and anything still left is talking over higher-level busses (USB) or wireless (BLE). Nothing an end-user has is directly driving interrupt pins to a CPU anymore.

comment 5y ago · link · parent

Most people get this kind of logic from their CMS or publishing platform. Jekyll, hugo, wordpress, 11ty, etc. all have various external state stores (yaml files, JSON, CSV, calling a graphql API, etc.) that you can query and interpolate or insert data into your document using a bevy of different template languages. Check out Gatsby or even Next.js for something that's really pushing the boundaries of static + data-driven content.

comment 5y ago · link · parent

Throw a CSS style tag in there pointing to a simple, semantic HTML & CSS library and you'd be amazed how slick and polished your page appears--try dropping in MVP.css for example: https://andybrewer.github.io/mvp/

comment 5y ago · link · parent

Give Doom emacs or Spacemacs a shot too--it's the power of emacs with an opionated vim style keybinding. They're really slick in my experience.

comment 5y ago · link · parent

They sit in the background and pop up alerts in your native OS notification center. They can start up automatically when you login. You can't accidentally close them when shutting down a browser. That's about it, honestly (Discord is a little more special since it needs native access to see and capture games being played).

comment 5y ago · link · parent

There is enormous pressure on web engines to improve efficiency and decrease battery/power spend. With browsers and JS sandbox VMs they are much better equipped to actively manage and spin down idle tasks. Folks get 20+ hours of battery now on M1 macs running tons of Electron apps like Slack, Discord, VSCode, etc. all at once.

The reality is it's far, far easier to write a bad Qt app that sits in busy wait loops locking up an entire core while refreshing UI and destroys your battery (this is a knock on complex native app development, not Qt).

comment 5y ago · link · parent

We're living in a world where my 2 year old phone has 8GB of DDR4 RAM. Even a $150 Chromebook has 4GB. RAM consumption just isn't a realistic concern anymore for office and communication work, much like hard drive space is basically infinite for most people.

comment 5y ago · link · parent

I'd put up Slack or Discord as the modern exemplars of Electron apps. As much as I loved Atom it has clearly been de-prioritized and on the verge of being shelved by GitHub & Microsoft. Yeah Slack and Discord take a few hundred MB of memory, but for thousands and thousands of people they sit there hanging out in their desktops all day every day with very little fuss. You don't need to install a JVM to use them, you don't need to worry about keeping it updated... it just works. Whether you're on linux, mac or windows... again, it just works. I can walk my parents through installing and using Slack over the phone--I cannot do that for nearly any other desktop app.

comment 5y ago · link · parent

Most dedicated markdown editors all end up using the same JS code editor components like Ace, CodeMirror or Monaco, and those editors have great vim keybindings usually as extensions or options. See if the tool you're using lets you flip those vim bindings on. For some editors they expose it as an option and for others you have to hack around with the source (for example enabling it with stackedit, a PWA markdown editor like ghostwriter, is possible with some hacking: https://github.com/benweet/stackedit/issues/254 ).

comment 5y ago · link · parent

This is why I like rich text editors like google docs instead of IDEs jammed with markdown extensions. Rich editors come from a lineage of word-processing tools that are first and foremost for writing paragraphs of text and content. They go out of their way to make the experience of reading and writing pleasant, not mechanical.

comment 5y ago · link · parent

It's a mindset change--make writing flow as freely and easily as typing up a reply in gmail. Think about how many paragraphs you can bang out quickly getting a point across in gmail's editor. It doesn't feel like you're authoring content in a CMS, but if you squint that's really what gmail kind of is--just a CMS for writing content directed to a small (or large) set of people through direct e-mail as opposed to published on a web page.

You're not in a fancy CMS editor with all these whiz-bang blocks and components--those are just noise that give you more anxiety (should I be making this paragraph a hero/lead element? wait no, what about a side-by-side with a graphic? oh, but what graphic? ... hrm, time to go waste 30 minutes looking at unsplash... oh wait, what was I writing again? oh nevermind, I guess I'll come back to finish this tomorrow when my head is clear).

You're not writing content in something that feels like a programming language filled with special characters, an IDE yelling at you for every little misplaced indent or space, etc.

You're just writing text with some light formatting to emphasize structure and key elements. Maybe some lists or bullet points thrown in. A graphic figure or two. It's just like composing an e-mail, something you've done thousands and thousands of times already in your life. There's no pomp and circumstance, no steep learning curve... just writing.

comment 5y ago · link · parent

There are always services like Notion to consider too. Cloud-based web-app, always available with zero need to install anything anywhere. Beautiful, mobile and tablet friendly writing. Move effortlessly between writing the same doc on your couch, desk, on the go, etc. Share and collaborate effortlessly with other people.

A self-hosted open source option here if you can do some basic web-app setup and maintenance is HedgeDoc.

comment 5y ago · link · parent

They cleared out all the maker stuff in the last year at the Seattle area location. It was a wasteland. Search around for local small electronics stores--there are a few still out there.

comment 5y ago · link · parent

I got the official PS2 Linux kit on launch and even with the hard drive and all the accessories, it was still slow as molasses. There just wasn't nearly enough RAM to make a usable desktop environment.

comment 5y ago · link · parent

Now you're just daring someone like Louis Rossmann to give it a go. :)

comment 5y ago · link · parent

Yeah I don't disagree--I have yet to see a Power BI dashboard that isn't a slow, horrible mess.

comment 5y ago · link · parent

It simplifies your code that depends on configuration. Instead of having to parse the config language you just read the JSON. Pretty much every programming langauge has a JSON parser built in to its standard library, while support for higher level config langauges is a lot less ubiquitous.

It also makes it easier for other tools to generate, validate, or output config that feeds into your system. They can do whatever processing they want and emit plain old JSON.

comment 5y ago · link · parent

Alternatively, just use JSON as a low-level data interchange much like a CSV file. Put all your human-managed content in a configuration language that emits JSON, like jsonnet, cue, dahl, etc. These languages add comments, function, variables, and much, much more (like fancy data cascades, validation, schemas, imports, etc.) to make managing configuration at scale easy.

comment 5y ago · link · parent

Most companies I've seen use Tableau: https://www.tableau.com/products/desktop

Microsoft is pushing Power BI as a general replacement for all of its old access, VB, etc. dashboard related tools: https://powerbi.microsoft.com/en-us/

For an open source solution the Jupyter ecosystem has some promising tools for turning analytical notebooks into interactive dashboards: https://blog.jupyter.org/dashboarding-with-jupyterlab-3-789f...

comment 5y ago · link · parent

What's the end goal? To remove the need for naval ships to carry a supply of freshwater? They still have to have enormous supply chain and logistics figured out to keep fuel, ammo, food, medicine, people, etc. at the front lines and out at sea. I'd bet, if anything, the navy would be way more interested in figuring out how to run their ships off of saltwater instead of their people.

comment 5y ago · link · parent

They were definitely out there, I remember playing some DS kiosks at Target. This circuitry is specifically for the later DS lite models that came out in the later days of the DS line: https://consolevariations.com/variation/kiosk/nintendo-ds-ki...

comment 5y ago · link · parent

I'd bet this was a feature to support their in-store kiosks where people could play a DS and see the output on a TV. It'd be a lot cheaper and easier to pull some DS machines off the production line and reflash the firmware than to engineer entirely new units just for the kiosks.

comment 5y ago · link · parent

Intel fumbled hard trying to go into mobile. It went so poorly it cost them billions of dollars, tens of thousands of jobs in layoffs, and quite a few executives (including the CEO): https://siliconangle.com/2016/05/01/intel-shuts-down-develop...

comment 5y ago · link · parent

Yes, hence the end to end encryption: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingC... Once enabled as far as amazon is concerned your bucket is an entirely random bag of bits, they have no idea what's inside or how to access it. Even if compelled by a state government amazon can't give up your data in any usable form without your encryption keys.

comment 5y ago · link · parent

OAuth2 provider config: https://docs.gitea.io/en-us/oauth2-provider/

For dex (k8s auth), specifically: https://dexidp.io/docs/connectors/gitea/

Hooking it up to do SSO for other OAuth/OIDC apps is pretty similar. For something that doesn't do OAuth you could use vouch proxy in front of it and get SSO: https://github.com/vouch/vouch-proxy/issues/203

It's really slick and fun to throw gitea on a cheap VPS, then a few apps like drone CI, a k3s kubernetes cluster, etc. and have it all just interoperate and auth together seamlessly. I won't lie though it's an enormous amount of annoying and badly documented work to get it all together.

comment 5y ago · link · parent

Early minidisc players/recorders will forever be a unique and coveted item for some folks. Sony made a curious 'mistake' in those early units where they added recording functionality AND a fully digital S/PDIF input with zero copy protection or restrictions. You could plug an early portable minidisc recorder straight into a digital audio output from a high end (at the time) CD player to make digitally bit-perfect rips of CDs, or plug it into the digital output of a mixer board to make great live music recordings. You could even get a minidisc drive for computers and copy off your bit-perfect music rips to upload and share on the internet. Very, very quickly Sony realized their mistake and later minidisc players removed S/PDIF inputs (but left the outputs). Nowadays HDMI, etc. have all baked in copy protection to the wire protocols. So for a very short period of time minidisc was this odd little thing that was an enormous threat to the future of the music industry.

comment 5y ago · link · parent

Gitea is a lot more than just a web UI. It's a whole multi-tenant platform if you need--it can act as an OAuth2 provider and drive SSO, login, etc. for all kinds of other apps or services. You could even have gitea used as a login/auth for a kubernetes cluster (with dex). It's like gitlab but way less documentation and slightly less polish.

comment 5y ago · link · parent

bare repo synced up to S3 is my vote, with end to end encryption enabled. Why give some third party access to your data if you don't need to?
1
8081828384