krenel
The art was good, and I liked having it. I was disappointed that it was subscription-based. From now on the TV will be disconnected from the power supply, until I want to occasionally watch Netflix.
@brookst, let me know if you play with the firmware ;)
In any case, I believe the EU can accommodate Canada or other like-wise counties. One of the goals for the EU is to unify smaller sovereign regions to have a greater power and be able to sit on the table having leverage with the bigger states layers. Growing by anexing Canada would increase that power.
I’m suggesting you to check it out. Then incorporate anything that resonates with you :)
Good article, btw!
If it's a Core SEPA Direct Debit, there is not the concept of a "signed mandate" but according to the rulebook [1] you have up to 13 months [2] to ask for a Return.
[_sigh_] I've spend so much team reading those rulebooks
[1] https://www.europeanpaymentscouncil.eu/what-we-do/sepa-payme...
[2] "If the request for a Refund concerns an Unauthorised Transaction, a Debtor must present its claim to the Debtor PSP within 13 months of the debit date. [...]"
> I actually build minimal Redis clones in every new language or runtime, or when I want to explore threading models.
100% agree with your advice; I'll definitively try to implement other parts of the Redis service in Go (eg: pub/sub, replication, clustering...) and probably repeat the same exercise when learning any new language.
Of course, if the bank wished to do so, they could give information or unblock the funds. But the fines that the regulator can impose to the bank are disproportionate (hundreds of thousands, per individual case) to "convince" the bank to comply.
Thus, is not "the bank" who is doing that to you, it's the regulator, and the agreement between the bank and them. And this "agreement" is a requirement in order for the regulator to give a banking license, so...
Let's be clear, the bank is not gaining anything out of this, quite the opposite: they are at risk of bad reputation, having an angry customer at their offices or calling daily, etc...
It's a very frustrating situation, tho. I do understand that.
I find myself Control+F the name of the original commenter to see if he/she has replied, because I'm interested in _that_ response — not so much of the interpretation of others.
> Finding solid, dependable people with the right skills and attitude is really, really hard.
1. What are the soft skills of the candidates that you most value? 2. After 6 months, what the most important aspect that you value to decide if it was a good/great hire? 3. Offtopic: Do you have an all time favourite book for growth/self improvement you could recommend?
Thanks in advance!
I understand your point about "waste of his position" and that he could have a more balanced life, but as the books depicts him that's not the case. Nor it was when he was at PayPal or Zip2.
Good (audio) book, btw. I would recommend.
> The right technologies for a project are the ones you deem to be right, given appropriate consideration of many factors
It's _usually_ difficult to take into consideration all the factors of a new flashy thing. The unknown unknowns. Thus _maybe_ choosing a trendy set of technologies might indicate that the exercise of balance and consideration you were commenting and that I do agree with 100%, has not been as honest as possible.
I do agree. Although the point of the article is to _lean_ more on "boring technology" side of, and paying extra effort when considering adopting newest flashy things.
Having read the article 3-4 time in the last years, I don't think they say "don't use new things", just "not too many new things at the same time"
very interesting library. Keep it up.
Improvement suggestion: While reading the README, the JSON library comparison [1] it's confusing, at least to me. It uses symbols like: ○, and △ which are not obvious. I would rather use "yes/no" or the classic check/x (unicode chars, HN does not support them here) if you want to use symbols. I don't know what "△" even means, so I cannot suggest an alternative.
Just my 2 cents.
[1]: https://github.com/goccy/go-json#json-library-comparison
Edit: This 2021 I have the objective to contribute more to OS projects. Is it OKay if I submit a PR with the change? Thanks!
The only "tip" I would suggest to you is to open the app once a day. For that, I created a daily habit of "checking my habits". A little bit meta, but it holds myself accountable.
Some of my tracked habits: calling mom/grandma, reading, use Anki, gratitude journal, exercice, drink 1.5L or water a day, meditate, breathing exercices, no screen time after 20:00, etc.
Of course, not meant to disencourage you from doing your own app, just to show how I scratch my very same itch. May the code be with you ;)
[1] https://play.google.com/store/apps/details?id=org.isoron.uha...
[2] It's an OpenSource project! https://github.com/iSoron/uhabits
A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
Which is not really good because we have to calculate the time between now() and Saturday. If "wall time" changes, the scheduler will not be triggered when expected.In that case I would not rely on Timer to use it in a cron-like fashion, or trigger a Ticker every second, check the _current_ wall time, and decide if anything needs to be done.
You can read more about Timers, Tickers and Sleeps in this (pretty interesting) article[1]
import time
time.get_clock_info(name)
where name can be one of those: 'monotonic': time.monotonic()
'perf_counter': time.perf_counter()
'process_time': time.process_time()
'thread_time': time.thread_time()
'time': time.time()How Golang[1] implements monotonic clocks — basically it retrieves always both wall and monotonic clocks on "time.Now()" and when doing operations of subtraction it uses the monotonic. When printing, it uses the wall time. Pretty neat. Details on the proposal by Russ Cox [2].
[1] https://golang.org/pkg/time/#hdr-Monotonic_Clocks [2] https://go.googlesource.com/proposal/+/master/design/12914-m...
>>> [1,2,3] + [4,5,6]
[1, 2, 3, 4, 5, 6]
>>> [4,5,6] + [1,2,3]
[4, 5, 6, 1, 2, 3]
In dictionaries it would behave differently as well (duplicated keys, etc.)
Am I looking in the wrong place?
[1] https://www.comodoca.com/ssl-certificate-comparison?key5sk1=...
> Go is faster to iterate
holds true considering the total lifespan of the project. Golang is more explicit thus requiring more time to define every type but I've never refactored so fast and safe a codebase. In Python the fact that is dynamic makes it more difficult to safely iterate over it (is more statically-typed Vs dynamically typed). About error handling, it's not perfect, but the code is readable, easy to follow and easy to reason about.
> Iteration in go is simply harder as you have to be more explicit rather than sketching something out.
I will completely agree that prototyping in Python is way faster. Python is my preferred language for throwaway/prototype code.
> Where do you get this idea from?
It's solely based in my experience. I hope it contributes to the conversation.
The key to the success of the project was that the API was an exact match, and we could compare both implementations for exact requests. The deploy strategy of the new version:
- Reply the real traffic to the new Go service comparing the results with the old one - Then implement a toggle feature than enabled different traffic sources to use one backend or the other - Keep changing backends to the new system and ensure that metrics were unaffected
Having e2e and integration tests for the Golang project was of a huge help, since we could fix all differences using TDD.
Although we changed some of the implementations to take advantage of Go constructs, just a 1-to-1 replacement would have had a huge performance impact.
It's explicitly forbbiden by ICANN the use of .cat domain for pages about cats, unless are in catalan [language] or it has to do with catalan culture.
I work hard to improve things; most of it was worth it, some of it didn't went well but it was a constant fight with my boss. If I failed, he would bring it back for months.
What worked for me was to step back and get into super pasive mode. Give all the responsability to my manager. I didn't question any of his design decisions, gave support to all ideas even if seem plain wrong unless he wanted honest feedback (usually, he didn't because I would change the original idea). Never say or even insinuate "I told you this was not gonna work"; I just acted surprised and asking to him "ok, what do we do now?". It just took a few months for my manager to start reliying on me, more and more. Now I have even more space for improving things, with the full support of my manager because "he wants me to do it" not "because I push my ideas to him".
At the end of the day, it's not dumb if it works.
When to use assert – Python
Some studies says that on average a programmer writes a few lines per day. So OK.
> And if your editor is helping you write a lot of code really quickly, it’s encouraging you to write bad code.
Are you implying that being able to write faster results in more code produced ergo lower quality code? Usually being able to write/refactor/replace/etc faster means you have less friction between the code and your thoughts. You can more easily express what you have in your mind, in the code.
> Why? Because it puts pressure on me to refactor.
Make a refactoring without the right tools can be counter productive. Try to refactor a 400 lines of code of Python with Notepad. You will only detect the errors on run time, I promise.
> I don’t want my editor to refactor my code.
As far as I know, you editor does NOT refactor you code. YOU are the one who does it. The editor is just a tool that allows you to do it without pain, preventing common errors and helping you to do your jobs, no the other way round.
And not just that. Any good editor should do syntax highlight for you (you are more productive, but this does not imply to write more code). And automatically indenting. And maybe balancing the braces. And a long etc.
The editor is a tool. Any professional should use the right tools for doing its job. Is your best tool a pain-in-the-ass editor and you can do a good refactor as fast as your team mates? Good for you! :D
I'm from Spain. Are we being spyed? Since we have seen too many times that non-american people (even not being in the US) do not "enjoy" the most basic rights in the US... what can we expect?
As always you can not now if this exact photo, in its context, had a reasonable explanation. The thing is that the OP shows tens of photos of people highly injured and it cannot be "just coincidence" or bad faith from the photographer.
This photos remembered me the demonstrations here in Spain. Police brutality looks exactly the same. What a shame.
Universal Music Tells Gangnam Parody to pay $42K
And about the tech support, I've sent a few mails and they have answered me properly. Sometimes the mail was the tipically pre-made made one though. But it have detailed information about how to solve my problem, so that's cool.
[1] I'm using the 2 month trial. I haven't introduced the credit card yet. Even paying an account is sooo cheap.
And just right now I'm working on an alarm system, where you'll be able to launch any arbitrary commands or start/stop playing a radio. In a few days I'll release the new version.
BTW, for the ones who have a dynamic IP and want to use a Dynamic DNS service for being able to access to your RPi from the internet, you can check this out[3].
[1] Official site: http://raspctl.com/ [2] Repository: http://code.krenel.org/raspctl [3] http://ip.raspctl.com/