364 karma · joined Jan 15, 2011 (15y ago) · 101 submissions
savil.in
comment 2y ago · link · parent
2.
Upgrade Your Development Environments with Devbox(alan.norbauer.com ↗)
6 points · by pushtheenvelope · 3y ago · 2 comments
comment 3y ago · link · parent
Devbox will give you the same project environment (packages, env-vars) on your work and home laptop. It leverages nix, and uses your native file-system avoiding the overhead and complexity of using Docker.
comment 3y ago · link · parent
To explain what's happening:
- The example above is running `nix run <flake output attribute> -- <arguments to pass to the flake output's binary>`.
- The `<flake output attribute>` here is `.#cowsay`, which is to be read as: `<flake reference>#<attribute path>`. The # is a separator here.
- The `<flake reference>` being `.` implies its a local flake at the current directory. The `<attribute path>` in this case is the output from the flake i.e. the `cowsay` program.
further fun to be found at: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix....
As a meta-comment, yeah, this is kinda non-trivial for most of us. This is why we build devbox which provides a more familiar UX like `devbox add cowsay && devbox run -- cowsay "flakes are neat"`
comment 3y ago · link · parent
I think this is a great strength of flakes. Packaging an application can sometimes have nuances that external folks may not be fully aware of and so having the packaging instructions (i.e. flake.nix) defined in the core repository can narrow that knowledge gap.
comment 3y ago · link · parent
https://github.com/jetpack-io/devbox/blob/main/internal/impl...
10.
Why did Nix adopt Flakes?(jetpack.io ↗)
121 points · by pushtheenvelope · 3y ago · 67 comments
comment 7y ago · link · parent
https://www.youtube.com/watch?v=wmXDJpYF46E&fbclid=IwAR3tBKD...
comment 7y ago · link · parent
In the parlance of company finances, GDP is like revenue and wealth is the valuation representing the present value of all future profits. So, it seems fine to me that the present value of future profits of the US is 5x the current revenue.
I'm seeking to understand where this analogy may break down. Thanks :)
16.
Why Work on Private Crypto Finance(savil.in ↗)
2 points · by pushtheenvelope · 7y ago · discuss
comment 7y ago · link · parent
1. I did a google search of "site:news.ycombinator.com Foxconn in Wisconsin", and opened the top 3 links.
2. first link: https://news.ycombinator.com/item?id=19037625. The top comment (https://news.ycombinator.com/item?id=19038615) seems to be about cronyism and corruption in the terms offered to Foxconn by the Wisconsis government? I could be a bit off, i haven't followed that story closely. But, and this is important, its not about generalized corruption, its about corruption on this Foxconn deal!
3. second link: https://news.ycombinator.com/item?id=18328772. here the top comment (https://news.ycombinator.com/item?id=18329445) is directly quoting the article about Foxconn getting exemptions from the environmental laws in Wisconsin. This is directly relevant to the article posted, again not about generic environmental concerns.
4. third link https://news.ycombinator.com/item?id=19630358. This one doesn't have much commentary, but here we see irrelevant comments which are not directly tied to the article, which are much in the vein of the original comment above.
Does that help clarify my position, and why comments of this nature are not helpful? Its totally fine to bring up environmental/social/political concerns, if they are relevant. They are not in this case.
comment 7y ago · link · parent
Instead of directly discussing the merit (or not) of this move by Apple, you chose to bring up an unrelated topic of general environmental problems in India.
Lets imagine the article was about Apple opening a new manufacturing facility in Texas. Would you have brought up other social/political/environmental challenges that Texas faces (oh i don't know, like racial equity, or floods)? My guess is that would be unlikely, since its kinda off-topic and would be clear you are trying to express some other gratuitous concern you may have about that region.
comment 7y ago · link · parent
Lets say SF to Chicago, then? Its about 2000 miles.
I was trying to illustrate a more general point that speed isn't necessarily the best or most optimal criteria even for long distances. My choice of example could have been better.
comment 7y ago · link · parent
Every year that goes by where India doesn't raise its standard of living, results in millions of stunted childhoods and lives. India needs all the manufacturing growth it can get.
The equivalent to your comment would be Indians on this forum leaving gratuitious remarks about the West ruining the planet with its excessively polluting ways. Just because you cannot see it around you, doesn't mean its not happening.
comment 7y ago · link · parent
This would be far superior to the 5-hour red eye flights.
comment 7y ago · link · parent
I used to have a 7, but was always too awkwardly big to hold or to put in my pocket. SE is the perfect size. It also has the benefit of helping me manage screen time -- i don't really wanna get sucked into long content on this screen-size, and can save it to consume later on the laptop (or never, which is most often just fine).
comment 7y ago · link · parent
hmm -- the collateral in this case is ether. So, unless you feel the US govt can step in and seize all ether in the world, this statement seems unlikely to be true.
comment 7y ago · link · parent
At a larger societal level, we should definitely be worried about tackling emissions for climate change. For this, very few people are advocating getting rid of energy consumption in our societies. Yes, in the short term, people recommend being mindful of the emissions impact of your lifestyle (e.g. a flight has a large carbon footprint) but in the longer scheme of humanity's development we'll always have greater and increasing energy needs.
With that in mind, a lot of focus has been on using non-emissions producing energy (solar, wind, nuclear, etc.) to mitigate climate change. Seen in this context, bitcoin is agnostic to the source of the energy, and its Proof-Of-Work protocol is fine.