Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
daemin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
511.
▲
by
daemin
7y ago
I'm wondering from a theoretical perspective how large does a company need to be to effectively challenge the government? I know the USA government is a huge employer and holds vast quantities of stuff, but how large does a company hav
512.
▲
by
daemin
7y ago
Supporting only 64 processors in a group on a 64bit operating system seems like a reasonable and sane technical solution. It means you can use a single 64bit variable as a bitmask for various processor related functions in a process. I woul
513.
▲
by
daemin
7y ago
The fact that just enabling exceptions adds a non-zero cost to the runtime of your program, even if the code itself does not use them, means that they are slower than just checking the return values. I've seen values from 5% to 15% slo
514.
▲
by
daemin
7y ago
There was a movie which featured autonomously driving trucks, they were held up and stolen from by the bandits putting a cow in front of them, then just taking the cargo while it was stopped. You can certainly have all the cameras that you
515.
▲
by
daemin
7y ago
Why crack the hardware when the soft squishy things are so much easier to compromise.
516.
▲
by
daemin
7y ago
That's actually a good piece of advice, thanks for posting it.
517.
▲
by
daemin
7y ago
Throwing during destructors will generally result in a std::terminate, since you have good odds of throwing during destruction of an object that is being cleaned up as a result of an existing in progress exception. So it is not forbidden bu
518.
▲
by
daemin
7y ago
But in that case the equivalent would be manually writing out return codes (or return objects like Expected) and checking errors everywhere. Which at the moment is quite a lot faster than using exceptions. It may not be faster to write but
519.
▲
by
daemin
7y ago
Yeah, but in that case you would use your own allocator fit for this purpose and not just new or malloc.
520.
▲
by
daemin
7y ago
The one technical reason I see for doing this is to help in dealing with customer bugs and complaints. So strictly in a diagnostic capacity.
521.
▲
by
daemin
7y ago
Not necessarily, because: They can already see what the other major platforms in this space are doing, and learn from it. They are already a large company that has other income with which to support this service through its initial growth.
522.
▲
by
daemin
7y ago
And in this case you only get to keep the hardware you bought, not the games since they are not physical. Though I don't think the hardware would be all that usable if the service was shut down.
523.
▲
by
daemin
7y ago
Sanitation in terms of removing faecal matter and washing hands before dealing with food or wounds. The rest is probably overkill for most people.
524.
▲
by
daemin
7y ago
Maybe Firefox should change the default screen from containing search to containing the address bar instead. That way if you type in a proper URL there it should go directly to it rather than doing a search.
525.
▲
by
daemin
7y ago
Because web browsers default "home screen" has a large text box by default. People think that's where the address goes, but not really, that's actually a web page which does search. Shame on us for designing it that way.
526.
▲
by
daemin
7y ago
It would still be more now than if the reactors had not been shut down right? I guess I should not throw stones since both countries I live in are worse than this. Specifically they dig out more and more coal every year without stopping.
527.
▲
by
daemin
7y ago
They [Germany] got rid of their environmentally friendly nuclear reactors in favour of burning more coal after Fukishima. They're doing a bit of solar but are burning ever more and more coal.
528.
▲
by
daemin
7y ago
You can rewrite the git history when you squash commits for example. One case I've heard is that some people no longer have their names on git commits they made to various Google open source projects because their commit went inside, w
529.
▲
by
daemin
7y ago
Yep, that one and another less colourful model.
530.
▲
by
daemin
7y ago
My dad had a digitiser tablet for doing CAD, this big slab in front of the keyboard with a mouse like thing but instead of a ball or optics it had a crosshair made out of copper on it to precisely pin point where you were on the surface. Th
531.
▲
by
daemin
7y ago
I think the point was that the product was so minimal and cheap that you would throw it away and get a new one like a phone.
532.
▲
by
daemin
7y ago
I think software broke economics in a way, since that was one of the only products which you could produce once and sell infinitely. No other thing on the planet you could do that with. All other things you need to transform something physi
533.
▲
by
daemin
7y ago
The other question to ask yourself is if you want the dependency as a visible external thing, or do you want it cut & pasted into your code? Just saying that "Dependencies are bad" means people are more likely to cut and paste
534.
▲
by
daemin
7y ago
I've had a few Indians drive me here, but it's mostly people from Ukraine, Georgia, and some of the other *stans. The one thing that I've encountered is that multiple drivers sharing the same car.
535.
▲
by
daemin
7y ago
Yeah, this header sorting is only meant to be a tool to help craft header files which are independent. If that's not your project structure then you can use whatever sorting you want. In the end though you'll have to make a decisi
536.
▲
by
daemin
7y ago
One other ordering I've encountered which helps remove errors is to list the headers in reverse generic order. Meaning that you go from the most specific header files to the least specific. So <algorithm> and <windows.h> wo
537.
▲
by
daemin
7y ago
If you want to just get things done then this sort of complexity wouldn't impact you in the slightest using C++. You could just write code without needing to know this information. This is something for people really needing to squeeze
538.
▲
by
daemin
7y ago
Another reason not to have work email, chat, or any other work system on your personal phone/pc/etc. I think it is a good incentive to disconnect from the workplace.
539.
▲
by
daemin
7y ago
As other people have mentioned, Safari doesn't load/run tabs in the background. What happens when you switch to each of those tabs so you can use the site?
540.
▲
by
daemin
7y ago
One thing I'm thankful of when living and growing up in Australia, you could clearly see the night sky and all the stars there if you went to the beach or the hills. Far less ambient light pollution, such a beautiful night sky. I just
More ›