Better HN
topnewbestaskshowjobs
Log inSign up

linspace

822 karma · joined Sep 5, 2020 (6y ago) · 267 submissions

Submissions

comment 4y ago · link · parent

I think there are two points of views:

1. This is unnecessary regulation between private parties

2. This is power balancing between individuals and big corporations

Obviously legislators are aligned with case 2. I think they have realized that the problem is so complex that is better to regulate at the end of the pipeline and let the companies figure out how to achieve it. Otherwise you may forbid gathering data X only to incentivize gathering data Y to circumvent it and make things even worse

comment 4y ago · link · parent

I know nothing about distributed programming, but Leslie Lamport's paper [1] from 1978 about distributed systems already reads very close to the typical intro in special relativity about clock synchronization. I would be surprised if there is not already a body of research about whether:

1) Relativity in the physical world arises if we consider some distributed model of computation

2) Physical laws, in particular speed of light, affecting algorithm complexity limits

[1] http://lamport.azurewebsites.net/pubs/time-clocks.pdf

comment 4y ago · link · parent

We right now use astrology so it will be an improvement

comment 4y ago · link · parent

I have no idea, I'm no doctor. I find it surprising that a doctor would advise him to play at a competitive level nevertheless if he has some cardiac problem but who knows.

Anyway I want to say that as a matter of fact if a court allows him to enter and play he should be allowed. Not interfering with court decisions is much more important than whether or not a player plays tennis, I don't care if it's an important player on an important tournament, because for me it's not important. I think also he should not enter if he is not vaccinated but for me the "why" is much more important than the "what". We always ask politicians "what" are they going to do, not "why" and "how" and so we keep rewarding luck. So the thing is not if politicians did this or that when the pandemic started, the question is if they were motivated by political interest or followed doctors advice. In this case politicians should follow courts decisions.

comment 4y ago · link · parent

Anyone who thinks Djokovic is at fault. I don't support executive power bypassing courts but I think this doesn't diminish the merit of the winner. He was more intelligent.

comment 4y ago · link · parent

Well, it would be the opposite to what we want: R inside vscode. Anyway, we have yet to try R inside jupyter notebooks

comment 4y ago · link · parent

My wife has been learning Python (not a programmer) and now is looking at R. I thought she was going to like it as I personally think RStudio is nice. I was surprised she didn't like Rmarkdown after being exposed to Python notebooks, in particular she loved vscode + notebooks and immediate feedback and didn't like at all not having the markdown in RStudio interactively rendered and the R REPL. I have used very little R and I'm a heavy Python user so maybe I didn't know how to help her more effectively. I think I helped solving the main Python pain points: installing anaconda, vscode, the python extension and some additional auto completion. I don't use vscode (use Emacs) but it's great it's available for newbie users :p. Also, having Colab was nice for simple things.

To summarize: I think notebooks are great for newcomers. It requires more maturity to appreciate more principled programming.

comment 4y ago · link · parent

I have apologized to new hires I knew were going to work on my code

comment 4y ago · link · parent

I'm a Python dev. The python devs I know are average on average. I have never met a Ruby dev. But I'm sure I'm first rate!

comment 4y ago · link · parent

I'm going to quote (I think) Jesús Gil [1]: "it's easier to quit jail than poverty"

[1] https://en.m.wikipedia.org/wiki/Jes%C3%BAs_Gil

Completely off topic: It's fun showing to young people YouTube videos of Jesús Gil. That was Spain in the 90's. https://youtu.be/HB7H0a4X-b8

comment 4y ago · link · parent

I see my children not giving a crap about graphics. Their favorite games being Roblox and Minecraft. And Fortnite lately because they play with school friends over discord. I think I'm from another age, of Doom and Quake, when changing computers every 4 years was mandatory. Maybe one day videogames will even be more than just a time sink, who knows.

comment 4y ago · link · parent

Tex being Turing complete is what allowed LaTeX in the first place. HTML not being Turing complete requires Javascript and CSS separately. Do you find them easier? Maybe, I'm not sure, but you cannot escape your language being Turing complete because the range of possible documents is so vast.

comment 4y ago · link · parent

Scientific calculator were there before NFTs

comment 4y ago · link · parent

Corruption is rampant in non democratic countries, which is completely unsurprising. It's unsurprising also that there is silence around it.

comment 4y ago · link · parent

> Compilation errors are really non-helpful. In programming, if I omit one side of a bracket or parentheses somewhere, I'll almost certainly get an error with a reference to the line number right at or below the issue. GOOD LUCK finding a missing bracket in a LaTeX document based on the error messages when compilation fails.

You are right but I think is not trivial to solve because contrary to programming languages LaTeX is interleaved with natural language and so almost everything is possible. Maybe the best approximation is to have heuristics. For example start with a valid document, introduce errors and train a neural network to identify the problem. Overkill?

comment 4y ago · link · parent

“The word for all this is ‘mature programming environment.’ Basically, when hardware performance has been pushed to its final limit, and programmers have had several centuries to code, you reach a point where there is far more signicant code than can be rationalized..."

The heat death of programming

comment 4y ago · link · parent

The interesting part is putting a number to this: 4 vs 12 hours. Just the direction of the inequality is of course unsurprising.

I have looked superficially at Rust since I have no use case for me right now and it's truly complex but people downplay the importance of not having GC. There are plenty of languages with GC, for a reason. People use C, C++ or similar for a reason too, not out of masochism.

comment 4y ago · link · parent

I think management simply has way more variance, and maybe, I'm not sure, more expected returns.

comment 4y ago · link · parent

> innate intelligence: something that does not change over time or by learning

Isn't it a contradictory definition? If someone is intelligent then it will learn to improve on a test, otherwise, it's not intelligent. Maybe we should take the gradient of the IQ scores.

comment 4y ago · link · parent

It depends on your objectives but for most people it would be better something with support for array programming like numpy, Julia or Matlab since the ecosystem is better. Otherwise I would try J.

comment 4y ago · link · parent

Insightful comment.

And I will add that we constantly complain about how there are just a few hours daily of truly useful work. Adding more money will not change anything. Paid overtime also can give people the wrong incentives.

Edit: what I mean is that we should not plan for overtime. Of course it should always be paid.

comment 4y ago · link · parent

There are two interpretations: in one you put a metric and when you find people is cheating you move the metric. In the other interpretation you really don't have any idea what you want and when people give you concrete results you change your mind (this rings so close to any job...)

comment 4y ago · link · parent

For most tasks programming it's more an engineering discipline than an intellectual pursuit. In that context complexity must always be justified.

I know, and have been told, to have written hard to read code. In my case it's usually vectorized code in numpy or a C or cython extension for really hot code. But I always have a good reason, usually performance when it matters.

It's usually said that premature optimization is the root of all evil, but it's nothing compared against premature abstraction. Optimization at least is local in its nature while abstraction tends to expand all over a code base, and when the assumptions made for the abstraction no longer hold people is still forced to keep dancing for a music that no longer plays.

"Educate yourself" assumes that your interests are everyone's interests but this is a vast field and not everyone has interest nor time to learn about category theory. Most probably your coworkers are quite intelligent. If they are not interested in your idea it may be that it's not appropriate or maybe not correctly framed, or not mature.

comment 4y ago · link · parent

> the researchers find that a 10 percent rise in average Amazon wages is associated with an increase of 2.3 percent in the average advertised wage at non-Amazon firms in the same labor market.

> When large retailers raise minimum wages, there are also small drops in employment. The estimates range from a 0.4 percent to a 1.3 percent decline in employment

If I read correctly then it's a net gain for employees even with worst case drop in employment. I think it's interesting because drop of employment is a usual complaint against raising the minimum wage

comment 5y ago · link · parent

We are totally under the obligation to justify funds. To start with, because taxes, but also there are a lot of legislation put in place to prevent money laundering under threat of very high fines for non compliance, even if no laundering happened

comment 5y ago · link · parent

> Surprisingly, git seems quite humane, even when you screw things up it gives you a lot of safety mechanisms to recover.

You have to earn it. I admit that when I started using git sometimes I made a copy of the repo just in case I ended in a state that made it easier to nuke it and start again

comment 5y ago · link · parent

I can do that with Emacs. What other tools make it easy to branch in history?

comment 5y ago · link · parent

Congratulations, you have completed the game. Now you are asking for easter eggs, hidden maps and how to unlock the next difficulty level.

My advice as someone in a similar life phase is to play something different. I understand you want money but all that chatter about roles, levels,... It bores me to death, which by the way is not that far. Pick something you actually like because most probably you are not going to get much further.

comment 5y ago · link · parent

Some day I will burn a day of my life to learn it inside out and be done with it. Meanwhile I use magit.

Mercurial was much better IMO but people argued about performance, because, you know, the CPU is the bottleneck when I merge code. How much time has been wasted navigating Stack Overflow?

comment 5y ago · link · parent

> The whole reason for mogrify's existence is that it overwrites the original image file.

Then it should not exist. To save one "rm", doesn't look like a good idea to me.

12345
9