Better HN
topnewbestaskshowjobs
Log inSign up

ledgerdev

366 karma · joined Jul 21, 2016 (10y ago) · 239 submissions

Submissions

comment 3y ago · link · parent

I quit aeropress for precisely this a couple years ago. Having tried many different methods, I've settled on using a stainless filter and brew into a measuring cup and let it settle out for a minute or 2. It's easy, and not worried about putting so much pressure on the rim of a mug with boiling liquid. Also have moved to smaller insulated glass cups rather than larger mugs, which would never work with aeropress, helps cut down on caffeine intake.

comment 3y ago · link · parent

Reminds me of the wise words of Steve Jobs, the sales and marketing people are running things now. The product Genius has been rotted out, by people who have no conception of good product, no feeling in their heart about wanting to help customers.

https://www.youtube.com/watch?v=P4VBqTViEx4

comment 3y ago · link · parent

If you use longer named enums(eg. my_enum_xyz) in my_enum, does this store a full copy of the enum text bytes of 'my_enum_xyz' into table foo?

comment 3y ago · link · parent

I recall Anders saying on some podcast they did that so they could provide auto-complete. Funny thing is that I used it for a couple years, but almost never use the linq syntax any more, and not sure why.

comment 3y ago · link · parent

Seeing this, and the use of zig for https://github.com/tigerbeetledb/tigerbeetle I wonder if zig might become a good tradeoff vs rust for servers if in long term it's more readable and maintainable and with a different approach to quality.

I would also be interested to hear the compile time, binary size and memory usage of those example apps.

Looks like the underlying facil.io library hasn't seen any commits since 2021, so that's a bit of a red flag. https://github.com/boazsegev/facil.io

comment 3y ago · link · parent

A good discussion on open source in latter part of this podcast. https://www.se-radio.net/2023/05/se-radio-563-david-cramer-o...

comment 3y ago · link · parent

I also feel strongly we need some sort of semi-local payment system that connects merchants, local banks and customers. Sending a payment to my local municipality should not involve wall street.

comment 3y ago · link · parent

I was able to use aot and System.Text.Json in a test app. You only need to put an attribute on a class to specifying the type info, and then pass a type enum when you serialize/deserialize. I was surprised how easy it was because I had been really concerned about reflection based stuff like json.

comment 3y ago · link · parent

Interesting, how does QUIC help with 'arbitrary censorship'?

comment 3y ago · link · parent

Any possibility for some regional/local/state payment system in the US that's not a 3% tax on every purchase?

comment 3y ago · link · parent

So, I noticed this past week that u-block is blocking browser error reporting on their hosted product. I tested a custom subdomain using their relay container, as well as just a sub-path on primary domain and both were also blocked. This seems like an Achilles heel for sentry.

Any thoughts on how to get info on front end problems for people with ad-blockers which would appear to be in use by ~40% of users? I almost feel like we need some web framework level error reporting that isn't as obvious that it get's picked up by ad-blockers.

comment 3y ago · link · parent

Maybe embed wasmtime? I'm familiar with https://github.com/bytecodealliance/wasmtime-dotnet but perhaps this for jvm? https://github.com/kawamuray/wasmtime-java/blob/master/examp...

I too love the idea of embedding wasm modules to be used across platforms.

comment 3y ago · link · parent

I was just looking at this case again, and apparently the T1 V2 does have a front power button, so excellent.

comment 3y ago · link · parent

Are there any solutions for a power button on the front of the machine?

comment 3y ago · link · parent

I would like to just put a warning out to others to avoid nvidia+laptop+linux. I got an X1E several years ago with the idea it would be my daily driver and thought problems would eventually get ironed out, but that was wrong.

Issues include lack of nightlight on wayland, random boot/cpu lockups where OS won't load probably 30% of the time, obsidian(electron?) has weird issues typing where keystrokes undo and then re-do, lack of thunderbolt dock support for wired ether-net. That's all I can recall for the moment, there are others.

comment 4y ago · link · parent

Are they data sensitive in terms of trusting your saas to survive and wanting export/backups? Or data sensitive in terms of not trusting the security of your saas to secure certain pieces of sensitive data?

If it's the second, one idea I have considered building is a proxy operated by customer that replaces sensitive data with a token and then passes it onto your systems. Any responses that need to display/reveal the data can then have the sensitive data swapped back in based on the permissions of the user making the request. This puts the sensitive data fully in control of the proxy and it never touches the saas app.

comment 4y ago · link · parent

My initial impression is NOPE, and the fact this cloud architect is pushing you towards azure functions says a lot. The run on windows, take forever to cold start but do work ok for background processes. Given you mention user facing endpoints, prepare yourself for 15+ second cold start times while they boot a windows VM for your function, and no private subnet for the functions either. The answer to this is a super expensive "Premium Plan" which basically just rebranded app service which runs the VM's for you full time at double the price. I have used them and am not an azure functions fan myself.

In the azure world, a more modern option going forward is azure container apps which just run docker containers, but you still will have 8+ second cold starts and will need to run at least a single instance full time, but it's cheaper than functions premium. Also would suggest looking at an evented architecture using dapr which is built into ACA. In the GCP world cloud run is frankly amazing.

comment 4y ago · link · parent

I greatly miss the virtual desktop switching animation. Any word on virtual desktop switching slide animation being part of this update?

comment 4y ago · link · parent

> This business unit has a pretty aggressive roadmap as management and HQ has no real understanding of these blockers.

> Resistance to change is huge.

These 2 quotes tell me they haven't yet recognized the grave danger and pain of their complexity. They will eventually, but for now neither management nor the team seem open to the radical change which they desperately need. Eventually collapse will come, but for now it's a no-win situation for you. Unless the money is insanely good and worth the stress, best path is to get the heck out.

What industry and type of business is this?

comment 4y ago · link · parent

I like the tiny devops guy, lots of practical talk. https://www.youtube.com/channel/UC5UfX0EgUWlcdQ2RDsq_fcA https://jhall.io/media/

comment 4y ago · link · parent

Guess what, my Lenovo TB4 dock isn't compatible with lenovo TB3 laptops.. go figure, better yet just buy a framework!

comment 4y ago · link · parent

I've been thinking about a clone of amazon marketplace that can be run/operated by small cities/towns to support local commerce. Anyone have any thoughts on this or seen any other similar projects?

comment 4y ago · link · parent

If it's good enough for avionics and nuclear subs, it's probably good enough for most web apps.

comment 4y ago · link · parent

Here's sqlite doing 100 million inserts in 33 seconds which should fit into nearly every workload, though it is batched. https://avi.im/blag/2021/fast-sqlite-inserts/

So write contention from multiple connections is what you're talking about, versus a single process using sqlite?

comment 4y ago · link · parent

The good news is that .net7 aot supports console apps so lamdas can already be native aot. Json serialization was a concern of mine, but it was surprising easy to get working with very minor changes in the call. If I were building lambdas would move it asap.

comment 4y ago · link · parent

I would like to host .net based api on google cloud run and azure container apps, which often will go to sleep after about 10 minutes without a request, so cold start time do matter quite a bit. I've done pretty extensive testing and see ~4-7 second cold starts with classic non aot mvc versus ~500ms with natively compiled golang/.net.

The reality of the cloud is that sleep & cold starts are very common and in fact necessary to run efficient systems. Half a second is acceptable but 4+ seconds is not and so aot is very important for future apps.

comment 4y ago · link · parent

It definitely will eventually, probably .net8 timeframe. It will be hard to support so many dynamic features and no doubt will make extensive use of Source Generators. https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/so...

Anyone have any interest in a small c# aot micro web framework that cold starts up fast (~500ms, vs ~4s for non aot mvc) on serverless containers like google cloud run?

comment 4y ago · link · parent

This is a good video on the transfer of knowledge and fragility of technology. https://youtu.be/ZSRHeXYDLko
12345
8