Preferences

formula1
Joined 367 karma

  1. One issue with package naming is competition. One of the great things about OSS or software in general is people can take inspiration from other projects that do the same thing. Personally I've ran into deciding which casting library to use

    - runtypes - https://github.com/runtypes/runtypes

    - zod - https://zod.dev/

    - ajv - https://ajv.js.org/

    AJV and runtypes use the naming convention that the article suggestions. It's named is derived from how it's used. Zod on the other hand seems to come from left field.

    Personally, I built a simple caster called "ShallowCaster" before choosing to move to a library as things got move complex but I think a problem is that as competition increases the "generic" naming becomes more difficult to find.

    I suppose an option is to include the author name for each package such as "json casting from google" or "@google/json-casting" this way all packages can use the descriptive naming while not conflicting

  2. This is pretty neat

    I'm wondering if it can be used alongside strudal https://strudel.cc/ Either mtxt => strudal or strudal => mtxt

    Heres strudal in action https://www.youtube.com/shorts/YFQm8Hk73ug

  3. I think magic the gathering set a pretty good standard.
  4. Do you have a link/information supporting this? This sounds on the crazy side but considering Dubai and China are reported doing similar things I could believe it.
  5. A native version would be nice but this seems interesting https://html2canvas.hertzen.com/
  6. I really liked the math problems, Little bit of edutainment
  7. I think a major thing with viruses is access to filesystem.

    If programs asked for permission to access folders or we gave the program their own volume to work within then they couldn't access, run or modify sensitive/important files.

  8. Why is Ladybird getting so much attention. Has anyone herd of servo? They're trying to offload css rendering to the gpu. That could be a big deal in the long run.

    https://servo.org/

  9. Personally, im interested in seeing flyweb developed. Devices easily locally connected sounds good to me

    https://flyweb.github.io/

  10. It would be nice if it allowed custom inputs. This could allow on screen controls or other customized inputs.
  11. Personally, I figure everything "await"ed by default seems to make more sense. Then add a keyword like "delay"ed to a function call to make the function return a promise that can be "await"ed later.

    This way beginners don't have to understand things like the event loop or difference between a function that returns a promise and one that doesn't while more advanced users can still manually handle promises

  12. Can someone explain to me why AI (which is boosting Nvidias stock) is picking up so much? Why didn't Alexa/Siri and googles original AI cause the same thing? I doubt that openai is buying all these GPUs, who is?
  13. I deleted my account when they removed my 2 factor auth. Ive been hacked before on Twitter and don't really use twitter anyway.

    Maybe this is good for business. I'm not coming up with better ways to make money out of it besides increasing the amount ads.

  14. Starcraft 1 and Warcraft 3 had a nice GUI for programming, starcraft 2 was a bit harder for me to deal with. Arguably something like magic the gathering that is written in a programming language instead of english would be helpful for programming literacy.
  15. Sickness, risk reward regarding prey, accidents and poachers will probably not be taken care of by vets

    Granted, peta and humane society have exposed some zoos mistreat many animals which may swing the statistics in favor of the wild. Nonetheless, we have laws and those laws are meant to protect the animals even if they dont succeed 100% atm

  16. Important to keep in mind, while tigers may have statistics showing a better life than in the wild, reproduction in the zoo has been a problem. There is still more thay can be done but I agree that there is valid arguments for zoos
  17. - The ability to short (bet on loss)

    - Unregulated system for whales

    - already being considered a dirty currency by multiple Govs

    A whale can short, influence laws and create fud. The futures market made it so people can have interest in it falling not just hope for more rising. Theres a very legitimate reason why futures market changed the dynamic

  18. Jeet kune do teaches speed and improvision. If you can react to your opponent, your at an advantage. If your opponent cannot react to you, you are at an advantage. Simple and true.

    While knockout/stamina/appearence of futility/tap out may be a path to a win condition, there is nuance to when you have multiple opponents, are in grab/hold positions, when you want to be in a location and/or keep your opponent(s) in a location.

    Aikido offers a way to use momentum and joints against your opponents allowing you to have more control over space and situation you normally would. This is also helpful for transitioning into submissions or broken limbs more elligently than punch, tackle and look for an opportunity.

    My experience is that aikido is often taught with a delicateness and with less importance on competition/hunger. While I certainly enjoy adrenaline, winning i believe favors the adaptable which aikido seems to provide

  19. This seems to a problem with the spec then. Its about the customer. Amoung the customers are

    - the consumer - who buys the product - the product - who buys from the manufacturer - the manufacturer

    If the manufacturer wants to only implement a subsect of the full spec, they should be allowed to do that. This has additional be benefits with regard to minimizing the resources used.

    Granted, its a cool spec with great potential and i enjoy seeing it in action with regard to sbcs. But the manufacturer is also a customer. If it doesn't work for them then there probably needs to be some changes

  20. I like your mindset:)
  21. for a decentralized web - a way for people to be compensated for their time - mesh network - decentralized dns market - reservation system that supports known brands keeping their name - allows enough fluctuations that a name can be rereserved - opensource browser - keeping it simple enough for newbies to figure it out - a way to associate a public key to an IP address, reverify it and legitimize it - p2p shared files - trackers/dht torrent - decentralized hueristics - timelimit, algorithm fn, score fn, prize for heighest score
  22. I appreciate your sharing awareness of iuch systems. Are you talking about something like iota? Reaching consensus to avoid double spending is a very real problem. Additionally, if we are talking about smart contracts, the order of the transactions can often be very important. Additionally what happens if a contract is interacted with by two parties with neither transactions being aware of the other?
  23. My first reaction is to not let the threat of a foolish group of leaders to become more foolish override ones place to voice their opinion.

    Second thought is that these foolish leaders stay in power as long as they can point a finger and or claim superiority

    I don't think silence helps but it's important to stay principaled and not turn protests into riots which gets difficult at high volume and where people are instigating it

  24. I'm not that surprised. Nodejs has coorperate and investor interest. Rvagg seemed to more of a doer than a talker in general while it certain involved didn't offer too much.

    I'm hoping this eventually leads to a fork but it probably won't. I imagine there needs to be enough concentrated power to fork and I doubt there is enough developers interested to do it.

  25. Cute story!

    - a guy on first and third - guy on first walks far into the outfield to make chasing him awkward - defending team doesn't know what to do, pitcher is scared to give it to second base because he doesn't think he can throw home - eventually pitcher does and everything goes back to normal

    There was also an opportunity where the pitcher and second basemen could have huddled so that nobody knew who had the ball, then walk toward each player.

    This seems to be a story about game theory and playing with imperfection

  26. I remember reading/hearing somewhere that Ghengis Kahn used to catipult dead bodies into cities which would then spread desiese.

    In addition, it's my understanding he killed most of the men then slept with as many women as he wanted.

    One could say a crater from a nuclear bomb was quite peaceful.

  27. That's partly true because many don't know about it.

    When they realize that middle machines are inserting their tracking software and/or modifying their content people will start to ask questions.

    But it's a situation where people don't know they are being protected so theyay not care as much

  28. The developer shouldn't have executed arbitrary text. Hopefully we can just fork, blacklist the stolen transactions and pretend this didn't happen.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal