HNHacker News
TopNewBestAskShowJobs

pull_my_finger

949 karma · joined July 4, 2017

submissionscomments
pull_my_finger··on How do you do, fellow web developers? A growing disconnect
2 neat libraries I've found to work like this are Surreal[1] and CSS-Scope-Inline[2] to get your Locality of Behavior (and Style) without a huge overhead.

That said, your markup can get unwieldy fairly quick, and you end up with a lot of similar and duplicated code/style blocks. My solution on a personal site, was to also use a backend-style templating library with partials[3], a file watcher[4] to build them automatically etc to kind of SSG a static site while maintaining reusable components. You can see where this is going, at what point does it make sense to just "reach for xyz framework" out of the gate? For as often as people (especially here) cry "ya aint gonna need it", there are at least as many times where people (less vocally) cry silently to themself, "I wish I'd just used a framework instead of unintentionally building a franken-framework".

This from a minimalist developer who has been doing it for a long time, with STRONG opinions about the modern state of the art. Honestly, it's very common for me to feel torn about ideals vs actual pragmatism.

[1]: https://github.com/gnat/surreal [2]: https://github.com/gnat/css-scope-inline [3]: https://github.com/leafo/lapis [4]: https://gittup.org/tup

pull_my_finger··on Mapping all 13.8 gigapixels of the Caves of Qud world map
Honestly I think you're doing Caves of Qud a disservice by comparing the two. Yes they are both very much heavy into procedural generation. But Caves of Qud is a roguelike/RPG. It's a game, where as Dwarf Fortress always felt more like a simulation. I've tried many times to get into DF to no avail. CoQ is quite hard but I think it's much more _fun_ to play.
pull_my_finger··on FDA proposes ending use of oral phenylephrine as OTC nasal decongestant
It's not a dependence like mental addiction. Your body becomes dependent on it. Your sinuses "rebound" and all but completely block in absence of the spray. I had a cold that blocked my nose up so bad I couldn't sleep because I was afraid of suffocating so I tried one of the sprays and it opens you up like magic, super effective. But about an hour after use if would completely block up again where you literally can't inhale through your nose at all. That's how it is even after you get over the cold/illness. You have to continue to use the spray to keep your airway open until you suffer through breaking the "addiction" by not using it for however long that takes. It really does immediately open your airway, but I won't EVER use it again because it's really scary to be completely blocked like that and have to get a dose in every 30mins-hour just to breath.
pull_my_finger··on Pony: High-Performance, Memory-Safe Actors
I absolutely love what Pony brings to the table. Unfortunately, while true, this video does nothing to sell the language.

In the video, and even on the website, it says essentially - if you don't have a hard concurrency problem, don't use Pony. Which is an absolute shame, because it's syntactically really nice, and has a lot of language features you'd desire in 202X, a really nice type system, the most sane OOP you're likely to see, a decent C FFI (WIP but usable).

Instead of scaring people away because of the learning curve of reference capabilities, they should either make the API more intuitive, or make them optional. Then you get a really nice language that can optionally benefit from the actor/model instead of a really nice language that has to carry it around like a ball and chain.

Syntactically, actors look just like classes except they have async "behaviors" instead of synchronous methods/functions. If you're not using any actors in your program, there's no reason you should have to even mess with all the reference caps because it would be essentially synchronous.

I get that that's currently it's whole identity, but it's also the biggest learning curve/burden to getting started.

EDIT: formatting

pull_my_finger··on [dead]
I think the intention of the Click-to-Cancel is in the right place, but I just imagine the actual implementations will be on par with the AdChoices[1] opt-out of affiliate advertising thing where they present this feature that is literally the buggiest software ever made and guaranteed to fail and put you back in the old robo-call hell.

[1]: https://optout.aboutads.info

pull_my_finger··on OOP is not that bad
Old school OO languages where they had to use classes and objects to patch missing language features probably did suck. OOP as an abstraction API on a modern, type annotated language is really nice and intuitive. Anyone in doubt, but open-minded should be encouraged to checkout a language like Pony[1]. Although it _would_ be nice to have first-class functions instead of the lambda objects they have it's otherwise really nice. No inheritance, real type interfaces and traits instead of "abstract classes". Combine a modern language like Pony with (mostly) sane modern OO advice like in Elegant Objects[2] and you're finally cooking with grease.

[1]: https://tutorial.ponylang.io/types/classes

[2]: https://www.elegantobjects.org/

pull_my_finger··on Sam Altman's Worldcoin startup is dropping the coin and doubling down on Orbs
More like a ploy to get people to voluntarily surrender their biometrics
pull_my_finger··on Tom Cruise is dangerous and irresponsible (2005)
The thing I noticed was how bloated and mask-like his face looked. Reminded me of Norm MacDonald near the end that in hindsight was proof he was obviously very sick. I'm no doctor or anything, but his appearance looked very "off" to me. Obviously he was still doing some pretty physically impressive stuff in the video though.
pull_my_finger··on Writing a C Compiler: Build a Real Programming Language from Scratch
Why though? It doesn't seem to be related at all to the OP other than both are tutorial books?
pull_my_finger··on OpenSnitch is a GNU/Linux interactive application firewall
OpenSnitch prompts you when there's network activity. So if random app makes a telemetry call or something, you get the option to white/greylist that connection with granularity, like OK to make a connection to that address from this executable etc, or always OK to this address, and with duration options like once/for 15 seconds, until reboot etc. Once you get over the hurdle of whitelisting the apps you use and trust, it's actually pretty nice and gives you good insight into what your apps/games are doing you otherwise wouldn't have known about.
pull_my_finger··on Zero calorie sweetener linked to blood clots and heart disease, study finds
I reserve the right to be spectacle about Big Sugar having something to do with funding this kind of research, BUT if it is true, this does kind of suck. Erythritol seems to be THE non-sugar sweetener atm. They put it in everything. So much so, that 90% of specifically otherwise labeled sweeteners, i.e. stevia, monk fruit, allulose etc, are usually "blends" that are mostly erythritol. Check your labels, even brands like Purevia/Truvia which heavily imply that they are "pure - (ste)via" or "true - (ste)via", have erythritol as their primary ingredient. The same is true for the bigger brands like equal/splenda etc. It's hard to find actual stevia or other sweeteners without erythritol.
pull_my_finger··on Ask HN: Help me understand paid software released under AGPL3
I don't think you should conflate free price and free source. [A]GPL is about availability of source code. It's end-user protection. End users should be able to know what's going on with their software and should be able to tinker as they see fit. You can sell your software for money and have stipulations that the source is always made available and that changes are made public. Non-paying entities simply do not have the legal right to use your software, they don't have license to use it. When you include a license with your software, you're allowing people to use it (under those terms). If you don't give/sell them a license, they don't have right to use it.

I think a high visibility usecase of AGPL would be Redis vs Amazon. Amazon took the, then more permissively, open-sourced Redis and basically "selfishly" tweaked and altered it without contributing back upstream, and then began selling that as a service. Basically taking someone elses thing and selling it as their own (which was well within their right with the MIT or whatever license Redis was using at the time). So Redis re-licensed as AGPL.

You could also release it under more than one license. Offer a FOSS license generally, but offer to sell proprietary licenses for those that don't want to disclose their source/otherwise follow the terms.

FSF actually mentions monetization in one of their articles, I think, How to Choose a License. Worth a read. [A/L]GPL are definitely not adverse to monetization, it's more for end-user protection.

pull_my_finger··on Deno: What we got wrong about HTTP imports
I don't know if you knew, but endo[1] is already a thing, and a pretty cool thing at that.

[1]: https://github.com/endojs/endo/

pull_my_finger··on Luakit: A fast, extensible, and customizable web browser
As a Lua user and a big fan of Qute et al browsers, I really want to like Luakit, but they've had a video bug[1] (they don't work at all) for a long time, and basically just ignore the issue as "not our bug" because it's apparently a webkit bug.

[1]: https://github.com/luakit/luakit/issues/882

pull_my_finger··on React Lua
I read tfa. If we sit here and quote all lines that say "Lua" we'll be in for a long list as well.. including the project NAME no less.
pull_my_finger··on React Lua
I'm reading the docs and it's very unclear if this project is for Lua or Luau (the Roblox derivative).
pull_my_finger··on Facebook will soon use your photos, posts and other info to train its AI
Honestly, this is the only reason I keep my account open. I'm waiting until they're forced to honor account close/deletion for ALL users, not just EU or California residents. I'm sure any data attached to the account will have been shared around more than the village bicycle by then, but it's my best bet I think to wait until I'm sure it's closed before I just kill my own access to it.
pull_my_finger··on SQL co-creator embraces NoSQL
Some important context..

> A long-time IBMer, Chamberlin is now semi-retired, but finds time to fulfill a role as a technical advisor for NoSQL company Couchbase.

pull_my_finger··on Are Unpaid Take-Home Interview Assignments Ethical?
Is there any other industry that does this? Acting/showbusiness maybe? Is it because the industry can't decide on a curriculum/certifications that attest to competence? Surely on-boarding at most small - medium sized tech companies is less expensive than other industries that require uniforms/equipment etc. And the positions generally require higher education/substantial relevant work history requirements, so that would assume general training is not necessary besides training in specific platforms/tools your company uses. Why is it so much more important to vet tech workers so intensely than any other industry? Honestly it seems a lot like employers abusing their positions. I've worked in offices with annoying people you just deal with it, assuming they can competently do their work. Trying to hard to get a "culture fit" or whatever other soft requirement at the applicants expense is not OK.
pull_my_finger··on I asked 100 devs why they aren't shipping faster. Here's what I learned
Which pattern did you find complicated? Most of them just come down to "wrap it/them with a new object to encapsulate the new/shared state or provide the new behavior". The rest are probably made obsolete by modern programming languages.
pull_my_finger··on Silicon Valley tech startup founder sentenced to 1½ years in prison for fraud
> In addition to the prison term, Lachwani was ordered to pay a $1 million fine and serve three years of supervised release, which will begin after his prison term is completed.
pull_my_finger··on Supabase Storage now supports the S3 protocol
Is there a formal s3 protocol spec or do these companies try to reverse engineer/feature match what AWS provides?
pull_my_finger··on Linus Torvalds adds arbitrary tabs to kernel code
Tab width of 3 is actually really nice in languages like Lua or Ruby that have `end` as a delimiter. It makes nested blocks "step" down very aesthetically.
pull_my_finger··on Where are the supply chain safe programming languages?
Pony has a concept of Object Capabilities[1]. Basically it lets you whitelist capabilities like network access or more granular access like specific protocol access. In the docs it states "If the library is asking for more authority than it needs, do not use the library."

This doesn't solve the problem of people pulling in huge dependencies that they can't reasonably scan, or so many dependencies that they can't scan, but surely it's a step in the right direction.

[1]: https://tutorial.ponylang.io/object-capabilities/object-capa...

pull_my_finger··on Linux Foundation launches an open source fork of Redis
Copied my comment from dupe thread - but note that "Linux Foundation" is run by a bunch of Big Tech corporate interest[1] and not some sort of altruistic FOSS organization.

[1]: https://www.linuxfoundation.org/about/leadership

pull_my_finger··on New Redis Clone, Valkey, Has Linux Foundation Support
Note that "Linux Foundation" is run by a bunch of Big Tech corporate interest[1] and not some kind of altruistic FOSS group.

[1]: https://www.linuxfoundation.org/about/leadership

pull_my_finger··on Vultr is now claiming full perpetual commercial rights over all hosted content
Everyone (maybe rightfully) up in arms, but I imagine you would need an agreement like this is they were finally getting on board with something like elastic compute. Everytime they spin up a new machine on your behalf they're essentially redistributing all the files on that machine. I understand everyones gun shy, but I've been using Vultr for years and I'm much less suspicious of them than the likes of google/amazon. I've personally never had an issue with them, but I definitely think it's a healthy response to go fight or flight when you're essentially signing all your rights away.
pull_my_finger··on Programmers are bad at managing state (2020)
> (This is a 5-second reaction, not a deeply considered opinion, don't take it too seriously)

If you have to put a disclaimer that basically invalidates your statement, why make the statement at all?

pull_my_finger··on The Bulma CSS framework reaches 1.0
Well apparently, among other things, it includes a complete rewrite to use Dart Sass, so I doubt they did all that to honor Toriyama, when the only link is the name being a random reference to one of his secondary characters.
pull_my_finger··on The Roguelike Rule of Thumb
The war is over. We lost. A rogue-like today means some procedural generation, and maybe perma-death. To be honest though, by the strict definition of the Berlin Interpretation, games don't leave much room for originality and are generally pretty not fun. Mostly reskins of old classics where the symbols are mapped to different genres monsters and items. Most of the stand-out entries in 7DRL were games that tried hard to break OUT of the box. Honestly weird to see the argument in 2024, but as a fellow (actual) rogue-like enjoyer, I once stood on that hill as well.
← PreviousPage 5 of 16Next →