Hacker Newsnew | past | comments | ask | show | jobs | submit | kylebebak's commentslogin

> You think it’s a good idea for foreign countries to overturn domestic elections?

I certainly don't, and I don't speak for the person you replied to but I figure most people commenting here don't think that either

> The Bolivarian regime came to power in a free and fair election

Hugo Chavez was elected president legitimately in 1998, so it's true that the Bolivarian regime came to power fairly. But just about nobody that's paying attention thinks Maduro won the presidential election in 2024. Elections were held, Maduro lost (by a huge margin), and he continued being president anyway

https://en.wikipedia.org/wiki/2024_Venezuelan_presidential_e...


There are terms for the combined effects of drinking alcohol and smoking weed. Cross-faded in English, pachipedo in Spanish. I find these terms and the effects they refer to enjoyable.




A long time ago I wrote code to run a visual simulation that combines flocking behavior with Lotka-Volterra dynamics

https://www.youtube.com/watch?v=-_JWAh0lP8Q

It's a stochastic simulation (no differential equations), but it produces predator-prey population swings that are pretty close to the Lotka-Volterra model


What is the stochastic part? It looks like the predator/prey behavior is deterministic.

I'm guessing it's somewhat similar to the foxes/rabbits work you were doing a few months ago? https://github.com/kylebebak/foxes_and_rabbits/blob/main/fox...


In each frame of the simulation there's a small random chance that a fox dies (of starvation), and that a rabbit reproduces. The start positions and velocities of the rabbits and foxes are also random

The foxes and rabbits code is the same code in the simulation, I just recently put it on GitHub so I wouldn't lose it


Speed and stability, search, command palette, file navigation, Goto.

And the excellent Python plugin API, which has made the plugin ecosystem so vibrant. Here's one I wrote, https://github.com/kylebebak/Requester, an HTTP client that goes toe to toe with Paw and Postman on features and outdoes them on usability.

I couldn't have have written something like this for any other editor, or any other platform.


Sublime Text is among the best pieces of software I've used. I bought the license a couple of years ago, and would gladly pay the same amount again.

I love its core functionality: speed and stability, search, command palette, file navigation, Goto. I've used a number of editors over the years, and none have felt as fundamentally sound as Sublime Text.

The best feature of all is the Python plugin API. Sublime lacks some OOTB functionality of newer editors, but the plugin ecosystem makes this a non-issue if you're willing to invest in extending your editor. If you write code 6+ hours a day, you should be. Git integration (GitGutter and GitSavvy) is awesome, as is linting (SublimeLinter) and project management (ProjectManager).

I wrote an HTTP client plugin for Sublime called Requester (https://github.com/kylebebak/Requester) in a few thousand lines of code. It matches Postman, Insomnia, Paw et al. on features, and in my opinion handily beats them on usability. It's the plugin API that makes this possible.

Here's my guess on what Jon Skinner set out to do with Sublime Text: build a rock-solid text editor and make it as extensible as possible. Until someone does this better, Sublime is the best editor out there.


Sublime just makes editing fun for me. Especially with the ctrl+d multi-selection.

When it comes to editors, there's definitely a big spectrum of how much it does vs how lightweight/simple it is, and I think Sublime Text, for a majority of my usecases at least, is in the sweet spot.

Don't get me wrong, full fledged IDEs are useful sometimes too, but every time I go to use them, I always spend half my time searching and fighting the program instead of being productive. That's what I mean by Sublime making programming fun. Things don't get in your way and everything is very clean. Sure it may do less, but at least it doesn't drown you in features you don't use either.


I love Sublime for writing anything, not just code.

MarkdownEditing (https://github.com/SublimeText-Markdown/MarkdownEditing), optionally combined with Distraction Free mode, is my preferred setup for anything that's not code: docs, blog posts, prose, etc.


The plugin API seems powerful enough but last time I tried to play with it, I didn't get into the groove of things because docs were incomplete/not-up-to-speed/blog-posts-elsewhere-also-often-outdated, all this combined with Python-the-language it felt a bit too fickle/messy to me to get serious --- there was no comparison to the quite brilliant docs at https://code.visualstudio.com/docs/extensionAPI/overview when I weighed my options ---

But now that 3 is out of beta, I'll take another look and once again hope for an exhaustive, complete, up-to-date and comprehensive documentation of plugin development


I've found the docs to be complete but lacking in examples.

Examples often say more in 10 lines of code than a page of docs, but I didn't find this to be an issue. To write Requester, I cloned plugins with features I wanted to implement (e.g. GitSavvy) and used them to complement the docs.

I think the docs could be improved with examples of small useful plugins that touch on various areas of the API. This might be a good project for the community.


Just to clarify: the docs are rustic but complete. The API itself is immensely powerful.


Just checked out Requester today - what a fantastic plugin! We use Postman a lot but I can easily see this gaining traction in our office. Great job.


> I bought the license a couple of years ago, and would gladly pay the same amount again.

Same here... In fact, I just did plunk down my money again.


> and would gladly pay the same amount again.

Looks like I'm going to have to. Only free upgrades to people to bought after 2013...


Which is very generous. It's FOUR years ago!


That is when the BETA builds started, you effectively pre-ordered it if you bought a license at that point in time.


No, I bought a license for ST2. Also, the beta was opt-in.


Thanks!

I built Requester so that its syntax would be identical to Requests' syntax, so I wouldn't have to come up with my own syntax for the plugin. Requests' syntax is _extensively_ documented, and improving on it would be quite a tall order.

Are there any features you think would be nice that aren't here?


I read about this recently. It's hard to believe these cookies didn't exist until 2016.

The biggest problem solved by cookies has always been sessions. samesite is sufficient for most sessions. It seems like samesite should have been the default from the beginning.


I like to think web browsers take the worse is better approach to security.

Security takes a back seat to reproductive fitness of the web as a platform. JS made the web insecure, but it also made it the world's premier application platform.

I blogged about this: http://kylebebak.github.io/post/browser-security-worse-is-be...


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

Search: