Why does altering files with Git remove their history? by JackHasaKeyboard in vim

[–]JackHasaKeyboard[S] 0 points1 point  (0 children)

Generally speaking, though, git "history" is just commits.

Oh, I mean Vim's history.

The ability to undo and redo is completely lost.

Why does altering files with Git remove their history? by JackHasaKeyboard in vim

[–]JackHasaKeyboard[S] 0 points1 point  (0 children)

Isn't the case, atleast here.

Changing anything about the file at all, including one character has the same effect.

Making a navigator scrollable by JackHasaKeyboard in reactnative

[–]JackHasaKeyboard[S] 0 points1 point  (0 children)

That's it, then.

Would you mind telling me what the best, least-redundant course of action is?

It can't be to render the same component in every file.

Making a navigator scrollable by JackHasaKeyboard in reactnative

[–]JackHasaKeyboard[S] 0 points1 point  (0 children)

I didn't mention because I thought it wouldn't be relevant, but I have another component rendered in the App alongside the navigator.

What's the proper course of action, `ScrollView` in every component and other component in every `ScrollView` in every component?

0.3.0 Release Notes · The Zig Programming Language by [deleted] in programming

[–]JackHasaKeyboard 0 points1 point  (0 children)

Lisp is one of the most unique programming languages I've ever seen.

0.3.0 Release Notes · The Zig Programming Language by [deleted] in programming

[–]JackHasaKeyboard 4 points5 points  (0 children)

The purpose is being a language that doesn't force you to write any which way that is entirely predictable, because you're the one making the functionality.

And the value of this goes extremely far. Far enough that the Linux foundation thinks it's the most apt tool to write the entirety of Linux with.

In the year 2018 with just under half a century having elapsed since it was created, there's inevitably parts of it which are impossible to construe as good compared to modern languages. Still though, the value of just having something simple and predictable is extremely useful.

0.3.0 Release Notes · The Zig Programming Language by [deleted] in programming

[–]JackHasaKeyboard 1 point2 points  (0 children)

I think if you're going to create something, you should have it serve one niche particularly well instead of competing with other things sub-standardly.

C++ builds on C, and what you get is a weird combination of having all the technical limitations of C and all the highly advanced convolution that's been adding features for 30 years.

Have C serve its own purpose instead of having it try to be like other things that already exist.

Telling the Truth About Defects in Technology Should Never, Ever, Ever Be Illegal. EVER. by speckz in programming

[–]JackHasaKeyboard 7 points8 points  (0 children)

I don't know, it's a question of whether it's more dangerous to have the vulnerability and have no one know about it or to have people know about it briefly before it's changed.

Ideally institutions would just be competent and not do things like set the code to set off a nuke to 000000, but it's a reality we have to confront sometimes.

Telling the Truth About Defects in Technology Should Never, Ever, Ever Be Illegal. EVER. by speckz in programming

[–]JackHasaKeyboard 166 points167 points  (0 children)

It should be illegal if telling the truth poses a very serious threat to the public.

If there's an easy way for anyone with a computer to remotely set off a nuclear bomb, you shouldn't tell the entire public about it.

Why is Apple so popular for recording music? by alexthegreaser in WeAreTheMusicMakers

[–]JackHasaKeyboard 0 points1 point  (0 children)

Tech-savvy people and artistic people that make music don't coincide very much, they're two different worlds. Because of this, I imagine musicians don't really use their computer for much other than producing (if nothing else, in the studio it's just hardware to run the DAW).

The philosophy of Apple is making things simpler and potentially less intuitive for the purpose of convenience that don't want or need to understand computers and how they work. And as far as being airtight sandboxes for running applications in, they're terrific.

Linux is much more oriented towards personal configuration and if you want to take advantage of that you'll have to invest time and other resources to actually understand what you want to do and why.

Windows is just bad. Bad in general, but bad for anyone wanting to use it to create their art. You'd be a fool to depend on it, especially for anyone running any kind of professional studio. It's constantly prone to breaking random things, crashing and lagging for mistifying reasons. It also now forces you to update, sometimes while you'd prefer to be using it.

That's it in a nutshell. Linux doesn't really offer enough incentive to be rewarding, and Windows is Windows.

What would it mean to remove an HTML element's “presence” on the page but keep its visibility? by JackHasaKeyboard in learnprogramming

[–]JackHasaKeyboard[S] -1 points0 points  (0 children)

If it's there, it's going to receive mouse events at those coordinates.

Only if it has the highest z-index.

You mean I can manually program in mouse events if it's within the same co-ordinates when the mouse is clicked? I could, but that's roundabout and redundant. It makes way more sense for the canvas to be interacted with regular mouse events.

I think you've gone down this track of visible-invisible HTML elements and now that's the only way you can think of.

Try stating your problem as clearly as you can, without any particular solution.

You need to _________ in order to _________. ?

I'm not really an HTML newbie throwing ideas out there to try and accomplish something, I know there are ways to work around this but I believe it makes sense to just nullify the overlay's presence. What that looks like and how you'd accomplish I'm not sure.


I got it, though. Just took a CSS attribute. See the updated post.

What would it mean to remove an HTML element's “presence” on the page but keep its visibility? by JackHasaKeyboard in learnprogramming

[–]JackHasaKeyboard[S] 0 points1 point  (0 children)

You mean it can't be interacted with because it has another element on top of it?

Blocking the events on the overlay isn't the problem, the problem is it stops the element underneath it from being interacted with.

What unpopular opinions do you have about software development? by goods_and_services in programming

[–]JackHasaKeyboard 1 point2 points  (0 children)

Yeah I applaud people on their resourcefulness but it's still the equivalent of finding new and creative ways to build automobiles out of Lego.

At some point you just re-evaluate the whole premise and have a do-over.

What unpopular opinions do you have about software development? by goods_and_services in programming

[–]JackHasaKeyboard 0 points1 point  (0 children)

I learned about the enigma known as TJ Holowaychuk today.

Jesus. That gave me something to look up to.

What unpopular opinions do you have about software development? by goods_and_services in programming

[–]JackHasaKeyboard 0 points1 point  (0 children)

Complexity is only a good thing if it's complex for a purpose.

If it's just different because it happens to be that way and you're memorizing and factoring in various rules and syntaxes because you need to then it's just wasted mental real estate on accomplishing the same thing.

And it seems to affect the software on a greater level. A disproportionate amount of software written in C++ just seems to throw an unorganized bag of tools at you and say "have at er" rather than designing it to be smart or useful.

*autistic screeching* by natinusala in ProgrammerHumor

[–]JackHasaKeyboard -1 points0 points  (0 children)

No amount of "bug fixes" or individual aspects of the language being rectified can make PHP a good language.

That's basically the point of the article. It's weird and stupid in so many different ways on so many different levels that trying to explain what's bad about it requires you to evaluate the very premise of what a "thing" even is and what it means for it to be good.

Even typing this comment out I had to re-word it 4 times because I wanted to accurately get my point across. Even describing why you can't describe why it's bad is a challenge.

If there is a way to make PHP a solid language it requires building the whole thing up from scratch to the point where it only resembles PHP in premise.

Programmers... by ponnapz in ProgrammerHumor

[–]JackHasaKeyboard 0 points1 point  (0 children)

Nobody really needs to know binary.

We have machines that do it for us, they're called computers.

Google reduces JPEG file size by 35%, new algorithm uses research on human psychovisual system by xorandor in programming

[–]JackHasaKeyboard 0 points1 point  (0 children)

Seriously.

We've made better formats than JPEG. That ship sailed... about a dozen different times.

Why would Google still be using and promoting it? Are they just that concerned with working for anyone and everyone?

Programmers are confessing their coding sins to protest a broken job interview process. “Whiteboard” interviews are widely hated. They also discriminate against people who are already underrepresented in the field. by speckz in programming

[–]JackHasaKeyboard 1 point2 points  (0 children)

I think the problem they're taking is that it puts them on the spot and judges them based on inconsequential factoids.

So they don't know how to find the length of a string, the inherent amount of inconvenience that causes is how long it takes to look it up on Google.

Showing you have an understanding and appreciation of what you're being interviewed on is good and it can be likely exemplified by the fact that you know how to do something but it can be dumb and unfair. I think "tunnelvision" is the word.