Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
winstonewert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
winstonewert
3y ago
Why? If you are using a crate, its code will be running in your application. Its not really any more of a concern if it can run code while building.
32.
▲
by
winstonewert
3y ago
When I referred to build.rs - I merely meant that the build script made it possible to build code written in other languages - not that it solved all the problems. It very much doesn't solve all the problems involved.
33.
▲
by
winstonewert
3y ago
Many rust crates actually do package code written in other languages. There are plenty of useful C/C++/Fortran libraries that nobody has rewritten into Rust but for which wrappers have been created that call into C. It works in Ru
34.
▲
by
winstonewert
3y ago
That's exactly my perspective. Tailwind tries to make inline CSS workable, but there are so much better options in available in a frontend frameworks.
35.
▲
by
winstonewert
3y ago
Its hard keeping track of different usernames on here. From my perspective, "almost never" and "won't actually happen" aren't that different. Both indicate that the probability of success is very low. It seems
36.
▲
by
winstonewert
3y ago
Ok, sure. But that's not what you were saying in the comment I responded to.
37.
▲
by
winstonewert
3y ago
Tailwind done correctly would have you use another system like react/templates so that you still only have to modify one place. In practice however I see a lot of copy paste in tailwind html so it doesn't work quite as well in rea
38.
▲
by
winstonewert
3y ago
Can you explain something about why you prefer the separation of style and content? From my perspective all that it accomplished is making me modify two files (html template and CSS) instead of one.
39.
▲
by
winstonewert
3y ago
Let's not spend extra effort supporting a theoretical feature that won't actually happen.
40.
▲
by
winstonewert
3y ago
How would either approach be different? In both cases you would have to rewrite the code that directly interacts with your Excel library.
41.
▲
by
winstonewert
3y ago
This doesn't track for me. Lots of people forecast, rightly or wrongly, events much worse then we've ever experienced: catastrophic climate change, apocalyptic nuclear war, immentiment economic collapse, etc. So no, I don't t
42.
▲
by
winstonewert
3y ago
Yes. The same way that review sites are good because they help people buy products without doing work. Or Hacker News is good is because it finds news stories that interest us without us doing the work.
43.
▲
by
winstonewert
3y ago
Except that without parties, its really hard to tell who stands for what. In the local elections where I live, there aren't parties. Voting requires researching each candidate carefully to determine what they stand for. Now, I'm n
44.
▲
by
winstonewert
3y ago
That's an imagined and unrealistic scenario. Most countries with proportional systems have a threshold that requires something like 5% of the vote to earn seats. So nobody with 2% of the vote is going to be part of the coalition. Furth
45.
▲
by
winstonewert
3y ago
I can make two observations that explain some of it. Other aspects of a language can matter more than the types. Python, for example, was a well constructed language in many ways that make up for much of its disadvantage on the typing side.
46.
▲
by
winstonewert
3y ago
I used to do this sort of thing in Python. But then I realized that if I wrote my code in something like C++, I had fast code without running through all these hoops. Then I learned Rust which has many of advantages of Python in terms of hi
47.
▲
by
winstonewert
3y ago
Speaking as someone who despises Tailwind, my impression is certainly that HN generally likes it. It is amusing that somebody else gets quite a different impression. Shows how biased human memory can be.
48.
▲
by
winstonewert
3y ago
Many people on this site seem in favor of these age-based government restrictions on working. But at the same time, it seems they also opposed age-based government restrictions in many other areas like access to particular kinds of online c
49.
▲
by
winstonewert
3y ago
Rust's large file sizes are due to relying on static linking, not particularly the extra bounds checking.
50.
▲
by
winstonewert
3y ago
Because even though typescript improves on Javascript and even golang, it still is much less nice than Rust.
51.
▲
by
winstonewert
3y ago
From a Rustacean's perspective: Golang is a no go because it lacks enum types, sensible error handling, generics (I think it has some version of this now), non-nullable types, or macros. Once you've gotten used to using these kind
52.
▲
by
winstonewert
4y ago
Are you sandboxing your applications when you run them on your dev machine?
53.
▲
by
winstonewert
4y ago
So... if I'm using a third party crate, I'm already trusting it not to do bad things in my running application. Why is it such a big deal that it could do bad things during build time just before I run it? If I'm using a thir
54.
▲
by
winstonewert
4y ago
They run Rust compiled to WebAssembly.
55.
▲
by
winstonewert
4y ago
I've found success in such cases by splitting the struct in question. This example is a bit contrived, but you could do something like: self.counter.inc(); Where `self.counter` is a new struct that holds `x`. Because `counter`
56.
▲
by
winstonewert
4y ago
Well, I'd say having the option to watch is a win because options are good. But maybe you don't see it that way. Fine. Perhaps the availability of these other channels is neutral. I think they key point is that it's not a los
57.
▲
by
winstonewert
4y ago
Essentially, you are paying for the few channels that you actually want and the hundred of other channels are being provided for free. It's a win because you get free channels even if you don't watch them. The thing is that there
58.
▲
by
winstonewert
4y ago
The post you are responding to is probably referring to the Gramm–Leach–Bliley Act. According to some, that act (signed by Clinton) was (somewhat) responsible for the financial crash. But this is certainly a matter of dispute.
59.
▲
by
winstonewert
4y ago
Check again, its wonkier then that. E.g. C (#2) shows a description for Java (#5)
60.
▲
by
winstonewert
4y ago
> when the file system became hierarchical (it had a very different structure early on). This leaves me to wonder, what was the structure early on?
More ›