Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jheriko
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
571.
▲
by
jheriko
11y ago
any law is unreasonable to enforce if the vast majority would break it unknowningly. this is the point of making the distinction between 'by the letter of the law' and 'in reality'.
572.
▲
by
jheriko
11y ago
that is a good point. i was thinking more that very many people learn and hear the song without ever learning that it is copyrighted... i'd expect big legal teams for big companies to at least do their job well some of the time... desp
573.
▲
by
jheriko
11y ago
not really, this is the difference between 'de jure' - by the letter of the law, and 'de facto' - which is what actually happens. the fact that millions of people unwittingly breach this copyright has made it unenforceab
574.
▲
by
jheriko
11y ago
i appreciate this downvote, but millions of people have violated this copyright unknowningly... afaik this makes it invalide 'de facto' if not 'de jure'.
575.
▲
by
jheriko
11y ago
wasn't this already 'de facto' invalid?
576.
▲
by
jheriko
11y ago
nothing, and in fact the idea behind auto is sound if you take it out of the context of C++. in the context of adding to such a powerful and already overloaded with features language it creates subtle gotchas... i've hit them and seen
577.
▲
by
jheriko
11y ago
its also a death trap in winrt when combined with templates in the way they do. debugging that typoing a callback signature results in nothing happening in asynchronous code controlled by the ppl task library is a massive pain for even an e
578.
▲
by
jheriko
11y ago
> On stealing "ideas," do you have some advice here? IANAL, and esp. I am not from the US so I don't really have a good grasp of the spirit of the law there (except that from the outside it is constantly surprising and sca
579.
▲
by
jheriko
11y ago
this guy needs to be careful. 1.) people reading this won't pay attention or understand the fine detail 2.) non-compete clauses etc. are there because learning on the job gives an advantage to starting up after leaving. should have res
580.
▲
by
jheriko
11y ago
started losing me at exceptions. the philosophy bit is quite nice, but seeing auto in the example... not for me. not even close. its a shame we are ruining C++. can't we just have something better... :/
581.
▲
by
jheriko
11y ago
i'll add this to the very long list of reasons to never even consider using a GPL license...
582.
▲
by
jheriko
11y ago
and when was code signing any real kind of security anyway? its always felt more like a protection racket to me... especially when you can takes someone's codesigned stuff and resign it. getting the ability to code sign requires just m
583.
▲
by
jheriko
11y ago
maybe i am missing something, but isn't a 'good ol' interface' and a traditional OO approach also able to solve this problem, and with much less machinery? there is an advantage of knowing things at compile time with the
584.
▲
by
jheriko
11y ago
nope. use them every day, but not as a pro expert because its rarely necessary. i don't know what \b is off the top of my head but i'd guess at word boundary so its only checking for functions starting with test, which is equally
585.
▲
by
jheriko
11y ago
its nothing to do with the regex. its the algorithm and its suitability 'any function containing test in its name' being a test is a stinky practice. using something well defined is what i would expect from any programmer at any l
586.
▲
by
jheriko
11y ago
you don't seem to understand the very low requirements for all of the practical use cases in games. having dedicated hardware for that is going to require more work for games developers for no detectable benefit.
587.
▲
by
jheriko
11y ago
yeah, thats kind of my point. you just don't need that level of strength in a random number generator for anything realistic in games at all...
588.
▲
by
jheriko
11y ago
i actually assumed it was a gay man until later for some reason. no idea why... these kinds of first impressions are always hit and miss. it goes to show what terrible judges of character we all are. :)
589.
▲
by
jheriko
11y ago
that code stinks on many levels. matching test in a string with a regex is so far away from being part of a good solution to this problem on any level imo... its a recipe for pain. i'm sorry anyone has to work in that codebase.
590.
▲
by
jheriko
11y ago
i wonder if this was a man how the story would go. much worse i'd imagine :/
591.
▲
by
jheriko
11y ago
the sudden fullscreen on pressing the button can be a bit terrifying for entry level users... neat though.
592.
▲
by
jheriko
11y ago
this seems like a lot of work compared to an LCG, which is blindingly fast and more than good enough for game purposes.
593.
▲
by
jheriko
11y ago
quick. stop. look. its some sensationalism!!!!
594.
▲
by
jheriko
11y ago
its like injecting heroin instead of chasing the dragon then... hmm. that kind of invalidates the point. XD
595.
▲
by
jheriko
11y ago
> instead the clerk will just tell you that you lost at the risk of being cliché this made me laugh out loud (lol).
596.
▲
by
jheriko
11y ago
its always amazed me that gambling on lotteries goes so unregulated. i can get gambling on a lot of things like sports, rare events or whether your mate can do x in y seconds... this has some element of fun. lotteries though, they distil ga
597.
▲
by
jheriko
11y ago
i do think there is a lot to be had from p2p technologies. the centralised server is just the obvious and easy solution in most cases... its a shame webrtc is such a disaster of a project though. it could be truly reusable and powerful... i
598.
▲
by
jheriko
11y ago
i think you have conflated some political rhetoric with reality there. free means free. its an abstract ideal... you do not live in a country where people are free, 'free country' and 'liberty' are politically charged te
599.
▲
by
jheriko
11y ago
this is sad. for all the misguided hate against the US there is a lot of very justified hate that comes from these sorts of attitudes coming from its government and enforcement agencies. they should have more respect for the laws of other c
600.
▲
by
jheriko
11y ago
this looks very cool but it is a shame about the license and a shame about the code style. STL is a poor exemplar to follow - its a real wasteland of a library and very deficient compared to libraries for other modern languages. however i w
More ›