Better HN
topnewbestaskshowjobs
Log inSign up

lentil

92 karma · joined Sep 14, 2011 (15y ago) · 33 submissions

Submissions

1.

Just a QR Code(justaqrcode.com ↗)

2 points · by lentil · 1y ago · discuss

2.

Rust 1.0, Ten Years Later(steveklabnik.com ↗)

3 points · by lentil · 1y ago · discuss

comment 1y ago · link · parent

67% is good enough for me. I am not using it as a medical device, and I am not an elite athlete. I just enjoy doing exercise, and every now and again I like to review the stats from my watch.

comment 1y ago · link · parent

CRA has been a maintenance burden for my team for the last couple of years due to security vulnerabilities and incompatibilities in old packages.

We have several React apps (created with CRA) to support, embedded deep inside ASP.NET Web Forms apps (its legacy all the way down).

We decided to switch from CRA to Vite. It has worked great so far.

I am happy to see these docs recommend Vite as an option for adding React to existing apps, because at the time this decision was made on my team, it wasn’t very clear what the correct path was for replacing CRA. I don’t think we could have as easily switched to a framework like Nextjs.

If you are in a similar situation, I would recommend Vite.

comment 1y ago · link · parent

Similar to wanting to start a blog, but instead of writing a post, spending significant effort building the platform. First post becomes ‘how I built my blog’.

comment 1y ago · link · parent

Are these types of repos trust worthy, or is it best to download straight from Signal’s site?

Similarly, I noticed Signal is on Flathub [1] for installing via Flatpak, but the developer account is ‘unverified’. It’s always put me off installing via this method.

[1] https://flathub.org/apps/org.signal.Signal

7.

The definitive guide to using Django with SQLite in production(alldjango.com ↗)

1 points · by lentil · 1y ago · discuss

comment 1y ago · link · parent

I struggle with reading speed, and concentration in general when reading. No idea why. However, I love listening to podcasts, audiobooks, videos etc. at 3x speed.

Using text to speech has also helped. No longer do I delay reading long messages from coworkers, or dread reading boring documentation. I just use text to speech. It works really well on Windows (my current work laptop), but unfortunately not so much on Linux (personal laptop) or mobile (too fiddly).

comment 1y ago · link · parent

It’s great that Google is extending the support, and that GrapheneOS can benefit from it.

I bought a Pixel 4a specifically for installing GrapheneOS. I used it happily for almost 3 years, until EOL firmware support. The phone worked fine, but I wanted the reassurance of firmware security updates.

I was going to get a Pixel 6/7 (I forget which was available at the time) to use GrapheneOS again, but I was so annoyed at Google for only supporting firmware for 3 years, that I decided to switch to an iPhone SE.

Shortly after this, I believe the next Pixel came out with 5+ years support. I had some regret, but the iPhone SE is OK, and I didn’t want to buy a new phone just for the sake of it.

I will probably switch back to GrapheneOS for my next phone, as it really is a great mobile OS. Hopefully the project is still going strong by then.

comment 1y ago · link · parent

True for the OS, but you won’t get firmware updates/security patches once the upstream vendor stops support.

comment 2y ago · link · parent

Smaller companies have less traffic, need less expensive servers, and have no need to spend money optimising the language. They can focus on that when they make billions of dollars, like Shopify does.

12.

Php.new – set up PHP in seconds(php.new ↗)

3 points · by lentil · 2y ago · 2 comments

comment 2y ago · link · parent

Very interesting! How this data was acquired?

comment 2y ago · link · parent

The resource to be deleted should be identified in the URL, so there is no need to pass a body. This is the same for `GET`.

comment 2y ago · link · parent

He admits the company will die if advertisers pull out, and his solution is to document it and let the world know that the advertisers were the reason the company died.

Curse you advertisers for ruining his company!

comment 3y ago · link · parent

I’ve been using NewPipe for years, and have not experienced issues as you described.

Make sure you are using their own f-droid feed.

comment 5y ago · link · parent

I've been an engineering manager for a couple of years. I'm still expected to do 50% engineering and 50% people management. As the article describes, it is a struggle to do both well. I don't see this responsibility split changing in my current role. I do often wonder what it would be like to be 100% people focused, and whether or not I would miss engineering too much.

When my role first changed, I was very intimidated by doing one-on-ones. I never felt satisfied with the one-on-ones/catch-ups I had with the managers throughout my career, and I wanted to make sure I was doing a good job with that aspect of my role.

I initially did lots of research on how to do one-on-ones, but it was only after getting experience talking to people that I finally felt comfortable. I started getting some nice feedback from my lines, so I wrote some thoughts about how I like to do one-on-ones:

[link redacted]

I think good one-on-ones are very important to keep people happy and productive. I'd recommend any new engineering managers to spend time learning how to do them.

comment 9y ago · link · parent

Nice timing for the French Tech Visa:

http://visa.lafrenchtech.com

Discussion:

https://news.ycombinator.com/item?id=13410510

comment 12y ago · link · parent

I agree that League of Legends would be a great game to be played with only a mouse. You would just need a mouse with lots of buttons!

Take the Razer Naga for example (http://www.razerzone.com/gaming-mice/razer-naga). It has 12 configurable buttons on the side of the mouse, as well as 5 on top.

In League of Legends, you only require the following default key bindings on the keyboard:

(The following are crucial)

1. Q [champion ability]

2. W [champion ability]

3. E [champion ability]

4. R [champion ability]

5. D [summoner ability]

6. F [summoner ability]

(The following are less crucial, but almost required)

7. 1 [activate item 1]

8. 2 [activate item 2]

9. 4 [activate trinket]

10. B [teleport back to base]

Pressing numbers 3 and 5 through to 7 on the keyboard, by default, are to activate additional items, but it is very rare that you would have the need to activate more than 1 or 2 items in the game. I would say they are not required to be bound at all (or at least, I never press them).

Other useful keys to use in the game are Ctrl, Alt and Shift. They are modifier keys, which when pressed with the other key bindings or mouse clicks, allow the player to perform different tasks.

Of course, not all of this functionality needs to be bound to a key. Everything can be clicked with the mouse on the game's UI if need be. However, clicking the UI is rather slow, and I think it would be safe to say that a mouse similar to the Razer Naga would allow you to play League of Legends at a rather competitive level, with only using the mouse.

comment 12y ago · link · parent

Thanks for the response. Ruby is the only tool I currently use in development on Windows which I have flagged as a potential problem to maintain in the future. Thankfully, Ruby is a rather small part of my workflow, so waiting on RubyInstaller is fine at the moment.

My question was more of a concern for the future of my current dev setup. I was hoping someone on HN would know of a better solution to install Ruby on Windows manually, without having to wait on RubyInstaller.

I will check out Vagrant as you suggested.

comment 12y ago · link · parent

I have used Ubuntu and Mac OS in the past, but I am currently favouring doing all of my work on Windows. All of the tools I need run perfectly fine on Windows (and many of them, not on Linux at all), and it would be a hindrance to switch to another operating system.

It is only Ruby which is difficult to keep up to date on Windows. My question was to try and find a solution.

I have tried using a VM (VirtualBox and VMWare), but it is not a desirable work flow. I currently use RubyInstaller.

comment 12y ago · link · parent

I have never used Cygwin before. Thanks for referring me to it. I am currently trying to find the simplest solution for keeping Ruby up to date with the current releases, but having a hard time doing so on Windows. I will experiment with Cygwin at some point.

comment 12y ago · link · parent

Without being told to use a VM, installing Linux, buying a Mac, and without settling for the 2.0.0-p481 release of RubyInstaller; is there any way for a user to install this version of Ruby on Windows?

comment 12y ago · link · parent

What are you showing, exactly? All I see is a sign up page for a book which may or may not be finished soon.

comment 13y ago · link · parent

I imagine this resulting in a mass amount of spyware/viruses/exploits appearing on Linux systems.

comment 13y ago · link · parent

Nice collection of stories.

The photos on the main feed are stretched on my phone, making everyone's head look extra wide.

comment 13y ago · link · parent

As someone who is moving from the UK to HK in 3 months, with no job or visa secured, and attempting to bootstrap my (first) startup; this scares the crap out of me!

comment 13y ago · link · parent

The US military had a big involvement in the Korean War (88% of the South Korean force [1]), and to this day are posted at the demilitarised zone in the Korean Peninsula.

http://en.wikipedia.org/wiki/Korean_War [1]

Here is an interesting read: http://en.wikipedia.org/wiki/Division_of_Korea

comment 13y ago · link · parent

>The keyboard has dedicated volume and brightness keys but lacks media player buttons.

A very minor point to take away from the article; but do people actually use the media player buttons on their keyboard? I use brightness and volume buttons all the time; but I do not ever recall using the media buttons on my laptops/desktops in the same way as I would on other media device (phone, mp3 player, etc).

If I wish to switch song on my laptop, I tend to open my media player and select one which I actually want to listen to, rather than be at the mercy of shuffle.

comment 13y ago · link · parent

Will there ever be time tracking? That's one feature I really wish Trello had by default.
12