Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scardine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
391.
▲
by
scardine
11y ago
Government makes no money, all the money the government distributes as benefits is taken from the productive slice of society in the form of taxes. There is no magic way you can raise benefits for an aging population without also raising ta
392.
▲
by
scardine
11y ago
I agree, but it is not fair to compare D3 and highcharts because they are not in the same league. There are many higher level libraries leveraging on D3 that could be compared to highcharts. There are also many lower level libraries that ha
393.
▲
by
scardine
11y ago
In order to spare some of you a click: this lady was the talent behind the voice interfaces in Star Trek. Majel Barrett-Roddenberry (first name pronounced /ˈmeɪdʒəl/; born Majel Leigh Hudec;[1] February 23, 1932 – December 18, 200
394.
▲
by
scardine
11y ago
> How do you sign something first and then complain when it gets enforced? Reminds me of the plot from "The Merchant of Venice". Suppose you are in a desperate situation where you absolutely needs work: would you start to compl
395.
▲
by
scardine
11y ago
SQLAlchemy is a Python ORM that matches SQL almost 1:1. The main reasons I like this approach are: * it makes way easier (and safer) to reuse query parts compared to string composition/interpolation * the ORM takes care of differences
396.
▲
by
scardine
11y ago
I think GOW (GNU on Windows) is a better alternative to cygwin.
397.
▲
by
scardine
11y ago
It is more like 7% inflation in the local currency plus a 7% premium for the risk of default. The exchange rate is much more volatile than the inflation rate alone, but it is relatively easy to hedge.
398.
▲
by
scardine
11y ago
Populism is the best regime until the money runs out and no one is left to shake down. A lot of damage was done in Argentina, Brazil, Bolivia and Venezuela.
399.
▲
by
scardine
11y ago
You can do pretty well as a Google for Work reseller. I can make 1 USD per account per month, at 10k accounts it is a pretty good source of passive income.
400.
▲
by
scardine
11y ago
Depends on how much risk you are willing to accept. For example, the baseline interest rate of Brazilian Government Bonds are paying 14.25%/year.
401.
▲
by
scardine
11y ago
Unfortunatelly the trade is full magpie developers. > I've often thought that software developers were akin to Magpies, birds notorious for stealing shiny items to decorate their complex nests. Like Magpies, software developers are
402.
▲
by
scardine
11y ago
You are technically correct - the best kind of correct. I agree, but my concern is not correctness, it is aesthetics. Why? Reading a computer program is often harder than writing it from scratch, so I like when languages enforce (or at leas
403.
▲
by
scardine
11y ago
I guess you are not a great fan of Python. C was my first language, so I had the "significant white space" prejudice. The first time I tried it, I was hooked - because I hate code improperly indented. Yes, you can go the gofmt rou
404.
▲
by
scardine
11y ago
Excelent resource! I could not put it better than Gavin Bong in this talk "Functional Programming in Python for the Uninitiated". Thanks!
405.
▲
by
scardine
11y ago
Python lacks the tail recursion optimizations common in functional languages like lisp. Seems like the language designers favor iteration instead of recursion, because recursion is limited to a depth of ~1000 on the default implementation (
406.
▲
by
scardine
11y ago
It is a bit off-topic, but last time I checked the unicode support in Lua was less than stellar. Since that was a long time ago, can anyone chime in about the state of unicode support in Lua?
407.
▲
by
scardine
11y ago
The deal breaker for me is the variable name normalization: userName == user_name == username == uS_eR_aN_mE It used to be totally case insensitive now it is case sensitive for the first letter. Underscores are ignored: two identifiers are
408.
▲
by
scardine
11y ago
> Just last month, at the age of thirty-three, I was officially diagnosed as autistic by the NHS. Could some things in my life have been easier if I had been diagnosed earlier? Certainly. I'm glad your case is in the good side of th
409.
▲
by
scardine
11y ago
I agree, specialized psychologists are best for ABA and other therapies, but I maintain neurologists are better for diagnosis. There are quite a few diseases that have the same symptoms, like epilepsy or fragile X syndrome - and those may b
410.
▲
by
scardine
11y ago
My ~2 years old son was diagnosed with autism last October. Looks like it is on the good side of the spectrum, but it almost ruined my marriage - my wife didn't take it well, and we probably lost precious months arguing about his sympt
411.
▲
by
scardine
11y ago
You are right. Nim is not case insensitive anymore, it is case sensitive for the first letter. But in my defense, the last time I checked it used to be! Quoting from the wayback machine: > Nimrod is a style-insensitive language. This mea
412.
▲
by
scardine
11y ago
Two identifiers are considered equal if the following algorithm returns true: proc sameIdentifier(a, b: string): bool = a[0] == b[0] and a.replace(re"_|–", "").toLower == b.replace(re"_|–",
413.
▲
by
scardine
11y ago
I've been programming Python for a living for the last 8 years or so. In Python there is a convention for naming classes with `CamelCase` and instances with `snake_case`. I could do that in a case insensitive language, but I can't
414.
▲
by
scardine
11y ago
I agree, it should be mandatory - one of the things I like about Nim is static typing. Oddly enough, the "we are all consenting adults" attitude works in Python. Most patterns and interfaces are by convention instead of being enfo
415.
▲
by
scardine
11y ago
Yeah, I feel your pain. This is a deal breaker for me. My OS of choice for the last 25 years has a case sensitive filesystem, all the programming languages I learned (well, except PHP) are case sensitive, it is too hard to unlearn. BTW, PHP
416.
▲
by
scardine
11y ago
In Python there is a convention for naming classes with `CamelCase` and instances with `snake_case`. It works very well, you can always tell if you are dealing with a class or an instance. Personally I believe code is harder to read than to
417.
▲
by
scardine
11y ago
I like everything Andreas did differently from Python, except the unusual normalization rules for variable names. This is crazy: VariableName == variable_name == VaRiAbLe_NaMe
418.
▲
by
scardine
11y ago
In Brazil the industry is forbidden from giving money directly to physicians, so the bribe comes in the form of expenses paid to a cardiology congress at some tropical paradise. They also sponsor talks and things like that. Orthopedists of
419.
▲
by
scardine
11y ago
If an enemy takes control of just one of the hosts you ssh into, he will get your private key and can use it to ssh into any other box where you use RSAAuthentication.
420.
▲
by
scardine
11y ago
It is a numbers game and the problem with dining is that you can only make one try per night. Try the old school method: take ballroom dancing classes. Ballroom dancing is not only funny, it is a very clever algorithm to select a long term
More ›