Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
daemin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
541.
▲
by
daemin
7y ago
I don't think it's the land owning class that is keeping people in big cities. I think people tend to naturally congregate in bigger and bigger cities, easier transportation is bringing more people in rather than distributing them
542.
▲
by
daemin
7y ago
He also controls Foxtel, pretty much the only Pay TV operator in Australia. Also by now I don't know if Australia has any cross media ownership rules anymore, so we could own a lot more.
543.
▲
by
daemin
7y ago
Then they will be "removed from the premises" for "causing a disturbance", with their further entry forfeited. I'm sure there's some language in the legalese of the ticket already where they can do this "a
544.
▲
by
daemin
7y ago
They will search all persons and bags on entry and confiscate any material that is deemed "political". They will do this on the grounds of safety and security so "people won't throw dangerous objects at competitors"
545.
▲
by
daemin
7y ago
I think the right thing is to go back and forth between the two systems. Wait until people are fed up with one, then switch to another to clean up and optimise. Once that stops working well switch to the other model. Rinse and repeat.
546.
▲
by
daemin
7y ago
The best thing about seeing the codebase for a long lived product is seeing the layers of when something was written by the types of patterns found in the code.
547.
▲
by
daemin
7y ago
I would gather though that the best way to learn new things is to apply them and use them in the code. That's the only way to get seasoned and find out when and where to use these things (like design patterns, recursive functions, etc)
548.
▲
by
daemin
7y ago
Not that much less, and the cost of living is geared towards someone making a tenth of what you make. I find I'm saving more than when I was living in a western country.
549.
▲
by
daemin
7y ago
Or you actually work as a software engineer or for foreign companies as an expat.
550.
▲
by
daemin
7y ago
Yeah, and all it takes for the business people to figure it out is for everyone to stop buying those games and those items within the game. Unfortunately these sorts of things are put into games because they work and because the games are a
551.
▲
by
daemin
7y ago
Depending on the game they kind of do. There's trading and gambling on CS-GO skins, places where you can get real world money for them. For games like EA sport games in their online competition thing, you need to have the best player
552.
▲
by
daemin
7y ago
To be able to have point #2 you have to have point #1. Someone has to take the risk to open the booster packs and get those cards out onto the market. Sometimes business oriented people do that, other times a group of friends buy a booster
553.
▲
by
daemin
7y ago
Gambling is already banned for people under the age of 18 in nearly the whole world. Why should digital gambling be exempted from this and instead we would need to "educate" children about its dangers? If it's gambling it sho
554.
▲
by
daemin
7y ago
The problem is that for a lot of games you can't just directly purchase the cosmetic items, you have to open many loot boxes in order to try and "win" the cosmetic item that you desire.
555.
▲
by
daemin
7y ago
To me banning virtual loot boxes is the right way to go. There is no real reason for them to be there except to trigger that random reinforcement mechanic that gambling also triggers. They also make the gameplay of the game worse in order t
556.
▲
by
daemin
7y ago
The reason Magic is different is for 2 major reasons: 1) You can sell your cards and get money from them (could be less, could be more) and they have some tangible value to other people. 2) You don't have to acquire magic cards through
557.
▲
by
daemin
7y ago
As far as I'm aware they also have flexibility in when they sell or buy stocks, so they don't need to buy them the second you move money in etc.
558.
▲
by
daemin
7y ago
Except for those applications which have a "free period" of some days then charge $10/week and uninstalling the application does not stop the subscription.
559.
▲
by
daemin
7y ago
I'm not sure if C++14 or C++17 has fixed this but if the object was not copy-constructible then the compiler would emit an error if it was returned by value even if RVO/NRVO was meant to be used. I figure because semantically you
560.
▲
by
daemin
7y ago
The warning that I would want would trigger when someone changes the function and prevents or suppresses copy elision from happening. Like for example adding a check at the start of the function and returning a default container.
561.
▲
by
daemin
7y ago
I was talking about __forceinline for MSVC and things like it for other compilers. One's which for better or worse will make your function inlined. One thing that I did find out what that even if you inline or force inline a function,
562.
▲
by
daemin
7y ago
This sounds like you want to use ranges, which were introduced in C++20 and quite a few game developers found them too complicated. The way I see it to store your data in whatever is the most efficient form for your computations to use, and
563.
▲
by
daemin
7y ago
That's an interesting point the tip makes. Is there guidance on how to use the emplace_back() added to c++17 which returns a reference to the constructed element? The reference returning emplace_back() is used frequently in the code to
564.
▲
by
daemin
7y ago
One problem with using different debug macros in your debug build is that any libraries you link in must also be using the same flags. This is not necessarily possible for binary releases as they will assume certain standard library flags t
565.
▲
by
daemin
7y ago
The best way to tell is to try it the modern way and then look at the assembly code generated on something like godbolt.org. If it ends up being less efficient then you change it to accept a non-const reference to store the result in as a p
566.
▲
by
daemin
7y ago
Not necessarily a fan of this sort of re-blogging so here's the original link: https://ourmachinery.com/post/data-structures-part-1-bulk-da...
567.
▲
by
daemin
7y ago
Force inlining code is actually quite a useful optimisation still. We have found many instances that after a few inline functions the compiler gives up and just calls the function instead. Force inlining certain low level functions has actu
568.
▲
by
daemin
7y ago
I've seen 6 characters and 16.
569.
▲
by
daemin
7y ago
You mean only allow people to "thumbs up" or "thumbs down" a place, and then aggregate the results to form a sort of star rating? I mean because you've either had a good experience or a bad one, and if you've h
570.
▲
by
daemin
7y ago
To me taxing revenue rather than profits seems like a better idea more and more now. Instead of taxing profits which makes it easy to do accounting tricks and export IP to other countries, a revenue tax would be applied wherever a company t
More ›