HNHacker News
TopNewBestAskShowJobs

simplotek

1,581 karma · joined October 22, 2022

submissionscomments
simplotek··on Coming Home to Vim (2010)
> Does vscode use vim syntax and script files to try and match that or something?

Vs code supports language server protocol [1] and also includes support for syntax highlighting [2]

If I recall correctly, vim supports syntax highlighting through less-than-elegant regex searches.

[1] https://code.visualstudio.com/api/language-extensions/langua...

[2] https://code.visualstudio.com/api/language-extensions/syntax...

simplotek··on Coming Home to Vim (2010)
> an option to have vim use a url for the vimrc?

Is copying .vimrc whenever logging in for the first time too much work?

simplotek··on How Rust 1.64 became faster on Windows
Since when is the likes of electron more viable than Qt?
simplotek··on How Rust 1.64 became faster on Windows
> There is no viable alternative to Electron that is truly multi-platform.

Qt?

simplotek··on How Rust 1.64 became faster on Windows
> On the other hand there are guys who don't waste much time and pick Electron for their app, for a 1000% performance degradation.

Do hypothetical 1000% performance gains matter if perceived performance is already within acceptable limits?

Wasting time gold plating solutions with no meaningful tradeoff is a negative trait, not a positive one.

simplotek··on Kiwifarms Dropped by Their ISP
> No, I'm merely making the argument that spam control tools are not censorship because the user decides.

You stated no point.

You're trying to ignore the fact that businesse relationships require all parts to participate voluntarily.

If one part tries to abuse the terms of those services then service providers are free to not continue with the business arrangement.

Not continuing a business arrangement is not censorship.

Are we supposed to feign ignorance and claim terms of service don't exist anymore?

simplotek··on Kiwifarms Dropped by Their ISP
> Two wrongs don't make a right. If Kiwifarms is acting illegally, sue them in court. If there are no laws, lobby to make them.

No ISP is compelled to provide services to the likes of kiwi farms. If there are no laws, lobby to make them.

You have no right to force others to cater to your personal whims, specially if they are objectionable.

simplotek··on Kiwifarms Dropped by Their ISP
> No, but only in situations where it is user controlled. In other words, tools that empower a user to control what they read is not censorship.

That makes no sense. A paper supplier is not censoring anyone if they can't or won't provide printing paper.

You're somehow conflating not actively supporting a cause with censoring someone. It's ok if you feel yo have something to say to the world, but that does not give you the right to coerce everyone around you to support your personal project.

simplotek··on Kiwifarms Dropped by Their ISP
> This is why arguments justifying censorship by saying "just host it yourself then" are wrong.

That was never the argument.

The argument is that private companies have the right to provide their services in their terms, and if your intended use violates those terms then you also have the right to pick a services that tolerates you and your intended use. Aka gay wedding cakes.

simplotek··on Curl doesn't add libproxy due to its quality issues
> I've written a library with zero production dependencies. Of course I have Jest as a development dependency which pulls in all sorts of stuff. It would be difficult to make a zero-dependency library.

That really depends on what your expectations and goals are. You mention Jest but as it's a test dependency then security is not a major concern, and thus it's ok to just vend the source code into your project trees.

simplotek··on Leaving the Cloud
> AWS has never gone down across all regions at once.

I still recall last year's AWS LSE when AWS went down globally, due to us-east-1

https://www.datacenterdynamics.com/en/news/aws-us-east-1-out...

simplotek··on Leaving the Cloud
> Security, compliance, flexibility...

AWS's shared responsibility model is quite clear in stating that end users are ultimately the ones responsible for security and compliance. So your points are moot.

"Flexibility" in this case is so vague that it's meaningless. I mean, is there anything more flexible than owning the entire infrastructure and software stack you chose all by yourself?

simplotek··on A new paper claims SARS-CoV-2 bears signs of genetic engineering
> May be because of the "trust me bro, im a scientist" stance.

Could you please show a single example you feel demonstrates this thing you describe as "trust me bro, im a scientist" stance?

simplotek··on Leaving the Cloud
> You don’t pay the cloud providers (just) for their computing power.

I feel that your comment is a red herring. Using someone else's computer does not mean taking advantage of computing power alone, and nothing more. In fact, the point of paying someone else to use their system was never computing power, specially nowadays.

simplotek··on Ask HN: What Happens to Older Designers?
> I don't know the official job requirements, but I'd assume 7-10+ years of real actual digital product design work.

I'm not sure your point stands any scrutiny. Titles such as principal engineer or staff+ levels are not granted by seniority or at an anniversary. They are granted if an individual meets all the technical and organizational requirements, as well as career accomplishments, that make a case for a promotion. You don't get that just by sitting at your desk.

Also, principal engineers at Amazon, a company renowned for the average SDE career spanning only around 2-3 years, tend to have been in the company for over a decade and comprise a very small fraction of the whole engineering community.

simplotek··on Ask HN: What Happens to Older Designers?
> iOS app?

I'm sure you understand that iOS's problem is not technical but business constrains.

> An OS kernel?

https://en.m.wikipedia.org/wiki/JX_(operating_system)

> Anything real-time?

https://en.m.wikipedia.org/wiki/Real_time_Java

simplotek··on San Francisco is spending $1.7M on one public toilet
> Can you crap in it? Does it get crap on you? Anything that meets the description will do (doo) .

Not quite. You can spread portable toilets for pennies, or even a shipping container with toilets, but that will make any city look terrible.

If you care about making things nice then it becomes necessary to invest resources making things nice which you would otherwise not have to spend if you just drop a portable toilet off the back of a pickup truck.

simplotek··on A new paper claims SARS-CoV-2 bears signs of genetic engineering
> This is a matter that affects every citizen in this country, and the experts lost their credibility a couple of years ago at least.

I don't agree. What we did see is ignorance and completely absurd conspiracy theories taking the center stage while experts were being sidelined or even completely removed from the discussion.

simplotek··on Leaving the Cloud
> Can’t wait for their post in 3 or so years about moving their workloads back to the cloud.

What leads you to believe that paying a premium to someone else to use their computers is a solution that fits each and every single case?

Even AWS is clear in how their present their offering as something that allows projects to grow and scale quickly while avoiding upfront costs buying and hosting their own hardware.

simplotek··on Princeton lab simulates nuclear war (2019)
> The few warmongers often have the support of the majority, e.g. in Russia right now, where polls consistently show 70% support or more for Putin's attack on Ukraine.

We should take a step back and think about Russia's problem.

Not only did Russia's dictatorship made it illegal and a punishable offense to express any negative feeling regarding Russia's invasion of Ukraine, they manipulate all their media with pro-Putin and pro-war propaganda.

Keep in mind that Russia's regime response to anti-mobilization protesta was to arrest protesters and force them to the war front.

No wonder a big chunk of Russians, when faced with any war-related question, they make it their point to promptly give a canned response on how they are apolitical. Self-preservation in a totalitarian state kicks in almost as a Darwinian response.

If you found yourself living in that sort of castrating society, what would you answer if state posters asked you what you thought of the ongoing war?

simplotek··on Apparently you cannot have the Kanye interview on Google Drive now
> not a single person called out that oxymoron,

Not an oxymoron. It's your own service subscription which you use to store your own files, even if it's running on someone else's computer.

simplotek··on Designing Logic Systems Using State Machines by Christopher R. Clare
> What I don't like about state machines in code is that transitions become less obvious the bigger the state machine gets.

There are techniques to keep those large state machines manageable, such as structuring them with sub-state machines.

simplotek··on Designing Logic Systems Using State Machines by Christopher R. Clare
> If you're into web apps check out XState and https://stately.ai ...

For desktop applications, Qt has been offering for ages support for state machines driving GUI states, including using SCXML to generate it's state machine code.

https://doc.qt.io/qt-6/qtstatemachine-overview.html

https://doc.qt.io/qt-6/qtscxml-overview.html

https://doc.qt.io/qt-6/examples-qtscxml.html

← PreviousPage 26 of 26