Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blaisio
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
blaisio
10y ago
Wow, I like my Google Home, but if I heard something like this, I think I would return it immediately. And a lot of other people would too. It's supposed to be a neat tool, not an advertising platform. This would basically be the equiv
182.
▲
by
blaisio
10y ago
The pricing is complicated, but not necessarily more complicated than the economics of managing a datacenter. And if you don't actually own the infrastructure, then it's also much easier to fix any mistakes you made while planning
183.
▲
by
blaisio
10y ago
This was copied out of the book "The Start-up of You" by Reid Hoffman. They point this out on their website, but they should really point it out on this Google Doc as well since it's pretty much entirely unoriginal.
184.
▲
by
blaisio
10y ago
So I get and agree with what he's saying about how GitHub duplicated email, but as a millennial who uses Vim, I find GitHub much more intuitive and useful than sending patches via email. In general, I disagree with the issues he has wi
185.
▲
by
blaisio
10y ago
If you use a service like netlify, you can host a static site for free on a CDN. It's actually really convenient because it can build the site automatically whenever you push to a Github repo, and it can automatically setup HTTPS for y
186.
▲
by
blaisio
10y ago
Yeah you usually need to warm it up if you're about to expect a lot of traffic because it can't really deal with that. That really shouldn't be an issue for a site like this though, because you can just host it on a CDN...
187.
▲
by
blaisio
10y ago
1. Well obviously it's different in many ways. For example, it's easier to setup integrations, especially for non-developers. Even if everything is self hosted and internal it's nice to not need to modify a services code for
188.
▲
by
blaisio
10y ago
This is cool. I feel like it's more interesting and practical to apply Redux to game development instead of React though. Redux's "Time Travel" idea is really neat - I want to see something like React that acts as a vi
189.
▲
by
blaisio
10y ago
This makes me wish I could downvote things on HN. This is not new, nor is there any significant evidence that it's "fastest" (a term that doesn't really mean much without context anyway).
190.
▲
by
blaisio
10y ago
Yeah that seems like exactly what it is. I kinda feel bad because it seems like this person came up with the data structure and thought they were super smart for "inventing" it even though most people (should) already know about i
191.
▲
by
blaisio
10y ago
I hate to well actually but... well actually basically any language that allows interop with C will have this feature since it's basically the only way to guarantee that the struct layouts will be compatible.
192.
▲
by
blaisio
10y ago
Can you give an example of a compiler and platform where this isn't true? I thought it was part of the standard, and I've never seen C code that didn't make the assumption that this is true.
193.
▲
by
blaisio
10y ago
What they mean is put the largest fields at the top and the smallest fields at the bottom.
194.
▲
by
blaisio
10y ago
Is this really a lost art? I feel like this is one of the main reasons people who use C still use C: you have a lot more control over how memory is handled. Honestly, if someone doesn't know about this, then they really just don't
195.
▲
by
blaisio
10y ago
Rust will reorder struct members in the most efficient way possible unless you explicitly tell it not to. This is also how most other low level languages (like C++) do it. The main reason to have an option at all is it makes it easier to wo
196.
▲
by
blaisio
10y ago
Yeah, I'm surprised they mentioned using longjmp for "exceptions". I think that just shows the age of the nethack codebase - maybe when it was being written people were trying to find ways of incorporating those error handlin
197.
▲
by
blaisio
10y ago
Again, I recommend reading up on what cap and trade systems are. The goal isn't to produce biofuel, it's to reduce the amount of oil being used. Using biofuel instead of oil results in the production of less pollution.
198.
▲
by
blaisio
10y ago
I mean, in the end it's impossible to completely prevent any scams from occurring. Even if we used a tax based system people could still lie, and we will wouldn't be able to see if they're telling the truth. It's not fea
199.
▲
by
blaisio
10y ago
Ah, they should really have put that in the description because otherwise this doesn't seem like that great of an achievement.
200.
▲
by
blaisio
10y ago
People do verify it (that's how this guy was caught). They just can't watch every facility all the time; there are too many.
201.
▲
by
blaisio
10y ago
I think you just don't understand how a cap and trade system works. You should try doing a google search to read up on it. It's confusing at first, but there's nothing inherently uncontrollable about it. The only reason these
202.
▲
by
blaisio
10y ago
I'm not sure I agree with that. Basic income is much easier for the government to setup than basic housing. And people could just use their basic income to get housing.
203.
▲
by
blaisio
10y ago
Maybe you should be more specific about where you're from, because much of Europe is definitely not more "left-leaning" than SF.
204.
▲
by
blaisio
10y ago
I don't really have a problem with this on its own. Many games have similar mechanisms that are usually seen as a way for gamers to give back to the developers for making a great game. The problem occurs when it's possible to trad
205.
▲
by
blaisio
10y ago
It's not all video games, just the ones that have become competitive, like CS:GO. Any time something becomes "like a sport" people start using these tried and true ways of tricking people into giving them money.
206.
▲
by
blaisio
10y ago
No, most people in the US would expect a decent car to last at least 150,000 miles.
207.
▲
by
blaisio
10y ago
Your example doesn't make sense. Keep in mind that an out of bounds array access can cause a lot of problems; in the best case, it would cause a segfault, and in the worst it would allow for code injection. So there isn't really a
208.
▲
by
blaisio
10y ago
I agree that the rust docs need work, but I disagree with your example. cycle is just a method defined as part of the Iterator implementation - it's just like a method you might define to implement an interface in Java. JavaDocs actual
209.
▲
by
blaisio
10y ago
I'm surprised you keep encountering these problems. I've written a few significant (>1000 LOC) Rust programs and never encountered them.
210.
▲
by
blaisio
10y ago
Reference counting is a form of garbage collection.
More ›