Hacker News new | past | comments | ask | show | jobs | submit | bastijn's comments login

Everything has text search. Either through advanced search menu or through content:”text” - though not an indexed search. Or did you mean OCR text search on images?


Im there with you, my wife as well as myself are in fact like your girlfriend and I work an highly educated software engineering role. I simply don’t care, still on my iPhone 11 Pro Max which I got as a present from my parents at the time.

I think battery power drain is even not fast enough for phone companies to sustain the selling Model. My guess is sooner or later they realize the real control point is software updates and they forcefully shorten OS and specially OS security updates under a bullshit reason they still can get away with to get us all back in line of buying regular phone upgrades in fear of hacked internet banking.


> sooner or later they realize the real control point is software updates

That's why I'm in the market for an iphone (and a new service provider), my pixel 5a5g got its final "guaranteed" security update in August. Nothing wrong with the device. Time to de-google I guess..


For others searching (alternative) generic build caching tool supporting mono-repos:

Nx - https://nx.dev/.


In my experience NX is hot garbage.


I haven't used it, but I was interested in it for relatively straightforward task caching in a monorepo. What are the main issues with it?


All posts I read on VIM always compare to a barebone editor without proper refactoring plugins enabled it seems. Would love to see a proper comparison against state of the art refactoring and against a skilled user of those systems.

First one for instance with resharper plugin enabled or in any IntelliJ IDE: Ctrl R R, type new word. Bonus; replaces all instances of the variable and recognizes scope in the file so if you have two locals with the same name over two methods it would change only the one you want. You want all, multi-carrot expansion Ctrl D D until you hit what you want and replace. Multi Carret is so powerful, find a repeating pattern, can be anything and even if it occurs further down where you don’t want to change just stop hitting expansion. Sure, you can do the same with VIM but comparing VIM to modern refactoring plugins is way more fair.

Things like extract method, extract variable and replace all instances at once are also one keybind away.


I didn't get the impression that this post was trying to compare vim to anything (which is refreshing). Seems like this is simply demonstrating how to use vim, given a few real-world editing examples.


You can of course get plenty of "refactor" plugins for vim out there but I've never found a need for one. Even in more complex codebases with multiple instances of a local variable like you mention, I tend to do more "find-and-replace in selection": V to Visually select a block, then just :s/foo/bar/g


Generally with you

That said, many of these refactor systems are multi-file capable. Or even more fancy, they understand for example that an export is being renamed & update all consumers, leaving all other uses of that variable name as-is.

I'm a pretty mediocre but long time vim user. I don't intend to leave. But I remain interested in codemod tools that can help me reshape code at scale.


You do use LSP don't you? There's refactoring tools there, I really fail to see how Neo/Vim is lacking in this regard. Sure, it requires some deeper understanding and setup, but that is the Vim way. For people that do not want to deal with this there's IntelliJ or VSCode.


> All posts I read on VIM always compare to a barebone editor without proper refactoring plugins enabled it seems.

You get context aware search and replace with LSP in Vim too.


Vim has substitution:

%s/thingamabob/doodad/g

You can put regexes in there, so for 99% of cases you're fine. In neovim (but not in vim) this will also show you a "multicaret" UI.

This is also just one mode of sed, so if you need to do this across multiple files you can just run sed.


Semantic stuff like refactoring is done through LSP.


ast-grep is a fabulous tool imo. I'm generally happier doing a large change at the commandline anyhow.


"Say bug again. SAY BUG again! And I dare you, I double dare you motherfucker! Say bug one more time."


I giggled at "This extension does not contain any malicious or tracking code. No viruses. No ads. Only good software.". If only everybody added this statement we would not have malicious addons.


On point but C# is now widely available on any OS under .NET (core) iso .NET Framework. It should be included in the shortlist in my opinion.


It's available but not in common use, and where it is used it is used mostly as a portability option (though it is very well possible that is no longer the dominant use, I just haven't seen it used any other way outside of the Microsoft eco-system).


Main deployment platform for back-end workloads using .NET is Linux. There are GUI frameworks which support it (Avalonia and Uno), file and sockets I/O support is first-class. CLI tooling is platform-agnostic, paid and free tools for developing in C# are available under Linux and macOS. With some effort it can be also run on FreeBSD (not mentioning interesting but niche projects like BFlat which can target UEFI directly).

For example, getting the SDK on Fedora is just

    sudo dnf install dotnet-sdk-8.0
It is as cross-platform as it gets, far more easier to manage than installing JVM implementation and then dealing with a switcher or just the fact that Java needs Gradle to build projects over trivial dotnet new console; dotnet run/build/publish


In my experience, the only places pushing for C#/.NET in Linux are places that were already C#/.NET before the core started to support it.

It's still fairly popular but that popularity is waning as languages with more modern design principles are gaining momentum without relying on a heavy framework like .NET. This could make it a poorer choice for somebody just learning as there may be fewer opportunities for junior devs by the time they graduate.

Even Microsoft has started transitioning to Rust in some cases. I'd hesitate to recommend a language to somebody getting started if that language is under publicized risk of being replaced by its maintainer.

I would add that a purely OOP language also probably isn't ideal for a first language, though. Being able to start teaching with just functions is quicker to introduce than having to describe objects first.

An OOP centric language is definitely appropriate for a second language. But if we are talking "intro", the faster somebody can type hello world while still having more programming concepts in the file than just the print statement, the better. For that last statement, I'd also exclude Python.

I always recommend talking about goals first then recommending a path.

If they know web dev is their future, JS.

If they know IOT is their future, C.

If they know games, probably still C as C++ is still likely the path for a while.


What? None of this makes any sense, even if we go back a few years.


We are talking first language. Not people who are looking for a job right now. What about that doesn't make sense? These are people who are likely months to years away from getting a job.


I wonder how this would feel in hand, grip seems to have unbalanced weight when I mimic on my iPhone pro max 11. Like it wants to tip over but maybe if you really have something physical at the bottom it is not that bad.

Blackberry sacrificed screen for the keyboard so balance was all OK.

I also caught myself thinking these buttons were too round and too tiny as compared to my on-screen keyboard. Also not having the luxury of seeing all my special characters appear on the keys when pressing the 123/#+= etc to toggle keyboards would be something to get used to. E.g. Type a {} or ~.


Plus in the 70s I can imagine life was far more physical than today.


I sometimes ponder how quickly we are descending into Wall-E. I spend so much of my life in front of a screen, I have to force myself to get a baseline amount of daily physical activity.

Now it is entirely possible to spend the entire workday having barely taken any steps or physical exertion.


> Note: I’ll have to do some creative image sizing here because I don’t want to expose our bank account info. Images will all be supplemental and are not necessary for reading this piece.

I hope the author was running a self-hosted option, else it is already public waiting to be extracted.

The following passage doesn't inspire hope though:

> I am a moron. I am not technical, and I sling essays for a living. Despite that, I was able to automate a significant portion of the labor our auditors do.

Be warned. Everything you ask the public instance on openai is kept as input and returned when asked for. Recently Samsung learned that the hard way [0].

[0] https://www.techradar.com/news/samsung-workers-leaked-compan...


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: