Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
takeda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
481.
▲
by
takeda
5y ago
Both of them were implemented as plugins.
482.
▲
by
takeda
5y ago
> Python also checks during runtime, but Haskell doesn't have that feature. Right? I don't know Haskell so can't answer that, but typically a statically typed language doesn't need that. Sometimes languages still prov
483.
▲
by
takeda
5y ago
What Haskell does and other statically compiled languages is figuring the type before program runs. Once it does it is impossible to have a different type in the code. Python is dynamically typed. That means everything including things like
484.
▲
by
takeda
5y ago
I actually don't understand Optional in that mix. "Optional" basically means the value can be "None". You typically use it like this "Optional[str]" which means the value is a string or "None".
485.
▲
by
takeda
5y ago
I believe GP means that they are not checked at runtime. But I don't think that matters much in case of finding bugs, because you run mypy and it will scream that you are assigning wrong type. I use it whenever I can and it helped me f
486.
▲
by
takeda
5y ago
But then that would be considered hacking only if you used an axe.
487.
▲
by
takeda
5y ago
I don't think it is. The talk was a year ago and it still isn't available. I created my own version, based on (I think they did that too) on NixOS modules system. But I'm wondering how it compares. Actually looking at https:
488.
▲
by
takeda
5y ago
When they do a valuation of a company they also take into account future profits. So all of it should be included in the price.
489.
▲
by
takeda
5y ago
> For the developer tools side I like what Shopify did but I would never recommend that to my employer. Too many moving parts and not enough people using it that I would feel safe about it. I'm not sure I understand you. In their ca
490.
▲
by
takeda
5y ago
I hate that they mentioned about ru.nix, published it on github for short time and then unpublished it[1]. [1] https://github.com/Shopify/runix/
491.
▲
by
takeda
5y ago
There tools like direnv, that "enter" your env environment as soon as you cd to the directory. This is implemented by changing environment variables like PATH. Because shellHook allows on executing any code, there's no standa
492.
▲
by
takeda
5y ago
Would it be possible to add a minimalistic image that contains app, kernel and essential packages? Like what you would get when building a docker container or using the not-os repo that I mentioned earlier. I think having mini images would
493.
▲
by
takeda
5y ago
It's like an OS that has builtin salt/ansible/chef/puppet. Because Nix language describe the OS instead of what to change/configure it's superior to these tools, and solves the problem that supposedly same mach
494.
▲
by
takeda
5y ago
So I haven't used mach-nix, but from what I see it provides its own way of specifying dependencies. While in case of poetry2nix you are using poetry for dependency management and poetry2nix just translates it to Nix. The biggest benefi
495.
▲
by
takeda
5y ago
Nix kind of expects to be always connected. It is possible though, if you have the same config and use channels at the same revision (or use flakes) nix will know all packages it needs. You could fetch them and then either provide that mach
496.
▲
by
takeda
5y ago
I haven't used Ruby, but Python also was a huge pain and there were many attempts at fixing it, but all had some issues for me. That is until I found poetry2nix.
497.
▲
by
takeda
5y ago
I don't think removing it is a good idea. Nix is a paradigm shift and things are done completely different, nix-env though is still one piece that might be somewhat similar to what people are used to.
498.
▲
by
takeda
5y ago
Yes, it's extremely powerful once you truly understand Nix. There are efforts to improve documentation, but it still is lacking (I think the biggest problem is that Nix is so big, not just the OS but it can be utilized as a build syste
499.
▲
by
takeda
5y ago
I hope this won't be similar to decriminalizing weed where people assumed it's also fine to drive while high :/
500.
▲
by
takeda
5y ago
If you're happy, all power to you, not everyone else is. Amazon is essentially doing the same thing credit card companies did in the past. To hide their cost they are increasing everyone else's cost. Their approach primarily hurts
501.
▲
by
takeda
5y ago
Maybe yes, maybe no. The more information you leak the more opportunities to find easier ways.
502.
▲
by
takeda
5y ago
Protonmail goal is to preserve privacy, while Google's goal is to collect your private data.
503.
▲
by
takeda
5y ago
Seems like it is the other way, at least according to his paper[1]: > Previously infected individuals developed higher Ab titers to the vaccine than those who have not been previously exposed. These results indicate that mRNA vaccination
504.
▲
by
takeda
5y ago
The thing is that wallet is digital. If I hand you an USB stick with the wallet, that doesn't mean I no longer have it. The USB could be a copy of it and I could still withdraw the money. To be sure that doesn't happen the new own
505.
▲
by
takeda
5y ago
The site mentioned in the article also has a series that goes more in depth how to read and understand explain output: https://www.depesz.com/tag/unexplainable/
506.
▲
by
takeda
5y ago
You've been drinking kool aid, because right now self driving cars are much worse than humans. Maybe in future, but we are not there yet. We are discussing about he change happening right now.
507.
▲
by
takeda
5y ago
I believe those are two different things. Tesla says that software update will be provided in the future that will enable these features using vision cameras (previously radar was used). NHTSA certified the radar solution and it didn't
508.
▲
by
takeda
5y ago
From what I understand they are transitioning from radar do vision only. The problem was that software engineers missed the deadline. They will provide that in a software update, it will be just a period of time for new Teslas where the fea
509.
▲
by
takeda
5y ago
Each package does use the same amount of space as with other packaging methods, but when you upgrade things, Nix won't garbage collect it you can run it manually, from schedule, there's also an option to have nix run it on every i
510.
▲
by
takeda
5y ago
I use it, it's quite cool, I did need to patch it to fit my needs, but it makes it easy package anything. I wish though that it would expose the mechanism as nix derivation instead of CLI command (I eventually figured how to do it, but
More ›