Better HN
topnewbestaskshowjobs
Log inSign up

uberswe

488 karma · joined Jun 30, 2017 (9y ago) · 133 submissions

Submissions

comment 1y ago · link · parent

For quick prototyping I really like https://pocketbase.io/

I am actually using this for a production site that gets 1 million requests per day.

comment 2y ago · link · parent

From experience no AI solution is consistently making fault free code of any kind when you need more than a snippet.

Personally I have been making Velocity Proxy plugins for Minecraft where ChatGPT generates the bulk of the plugin and I fix all the incorrect imports, this is Java. My latest project was a whitelist plugin that uses Discord roles to allow/deny players to join.

comment 2y ago · link · parent

> Everything pre-2022 is definitely written by humans

I'm not sure if methods like article spinning counts as written by humans. This is something you could automate before AI and it would take a human written article and randomly swap words with similar meaning throughout to make it seem original.

comment 2y ago · link · parent

I'm not sure how much of the built in JFR a mod for Minecraft called Spark uses but it is a fairly common tool for debugging and visualising lag on modded servers https://spark.lucko.me/

comment 4y ago · link · parent

The article mentions that you can get the best gear for free but it will take you about 10 years. So I'm sure you can play it and have fun. If you try PVP however then you would be at a great advantage if you pay money for upgrades.

comment 4y ago · link · parent

I disagree with your statement about cryptos biggest use case. However I also want to point out that legal can vary a lot between countries. There is at least one third world country where a woman can't even get an abortion without risking life in prison. If cryptocurrencies can help people who don't have equal rights with more privacy in such situations then I am all for it.

7.

A simple web app template with user authentication written in Go(github.com ↗)

5 points · by uberswe · 4y ago · discuss

comment 5y ago · link · parent

I did something similar on accident. I used to keep all my development work synced with Dropbox and I had a work and a personal account. So any of my own projects would have /Dropbox (Personal)/ in the path which did catch some bugs. Dropbox renamed my folder to "Dropbox (Personal)" automatically when connecting a work account.

comment 5y ago · link · parent

It would have taken a little over an hour to walk home and I would have had walking/biking paths and sidewalks most of the way. Close to where I live I would have had to walk on the side of the road but it was very low traffic

comment 5y ago · link · parent

I live in a smaller city called Västerås in Sweden and although you will always find problems if you look hard enough. Don’t compare Europe vs US. Compare cities instead and see what they do differently.

In Västerås i lived in the rural outskirts when I was younger and missing the 2am bus meant I had to wait until 6am but I think it only happened once to me.

I also lived in Houston, Texas. I never took the bus because it would take 45 min to walk to the nearest stop. Biking was fun though because I lived near a large reserve but there was always the fear of getting hit by a boar or bit by something poisonous.

In Västerås walking or biking was always easy and felt integrated to the planning of the city. In Houston you had to seek out special areas where it would be nice to walk or ride your bike.

comment 5y ago · link · parent

Small to medium Enterprise (business)

12.

Go and JSON: tags, empty strings and nil values(gophp.io ↗)

2 points · by uberswe · 5y ago · discuss

comment 5y ago · link · parent

RAF = Royal Air Force? I'm neither British or American and RAF stands for Recruit-a-Friend to me.

comment 5y ago · link · parent

So the point of the article is that chrome users should abandon chrome because it's not getting rid of third party cookies when they said they would?

comment 5y ago · link · parent

I think the point is that the text makes it seem like you have something consuming the same amount of power as 3 refrigerators in your pocket.

comment 5y ago · link · parent

I used to own cheeseonthemoon.com, it was one of my first websites back in high school and I just goofed off trying to be funny. It's still on archive.org where you can read about my theory (misinformation?) that there is cheese on the moon. There was a forum where me and a few friends would discuss random topics.

comment 5y ago · link · parent

I always like to look back at the "Show HN: Dropbox" thread (https://news.ycombinator.com/item?id=8863) and look at the comments like "For a Linux user, you can already build such a system yourself quite trivially by getting an FTP account" :)

I think most engineers try to think more critically than the general population.

comment 5y ago · link · parent

Copilot is a fancy autocomplete tool for code. I think the controversy comes from it being trained on public repos without adhering to licensing. I used copilot and thought the best part was when it would autocomplete based on other code I was writing. Sometimes the Copilot would help me see places where I had repetitive code which could be turned into a function.

19.

Is GitHub Copilot useful for developers?(gophp.io ↗)

1 points · by uberswe · 5y ago · discuss

comment 5y ago · link · parent

So the article mentions an issue reported by dtjm annd the maintainer answers the issue explainig that the keys are fictional. I don't see any statement by the github CEO about this being an issue as the article says.

If you have access, link to the maintainers answer: https://github.com/github/copilot-preview/discussions/45#dis...

The answer references the FAQ which is what I referred to: http://copilot.github.com/#faq-does-github-copilot-ever-outp...

comment 5y ago · link · parent

I have access and hints for entire functions have only appeared from code already in the same file. It uses the file you are in for context.

It also says on their website that the AI may generate api keys that look real but it’s actually just a “fake” key that the AI generated as placeholder.

I have had access for one day, spent my entire Saturday playing with while working on an addon for a game. I find it useful and most of the hints come from other code I have in the same files which saves me time or let’s me know when I’m too repetitive :)

comment 5y ago · link · parent

This is more of a US problem. In the EU much of higher education is very cheap or free. Some students even get paid a small amount of money and have access to loans with low interested and great terms so that it's easier to focus on school and everyone is on a more even playing field.

comment 5y ago · link · parent

I see the point. I guess our team just puts the barrier for "useful comment" a bit lower than most other teams. I work with software as a medical device products which has requirements for documentation. Some of this documentation is autogenerated from doc blocks and it is therefore part of the review to also review comments.

I understand that my situation will not reflect the average developer. But it is good to see both points of view.

comment 5y ago · link · parent

I spend a lot of time reviewing code, I currently review every line of code for 16 other developers.

Obvious comments are great for code reviews because it's a validation that what you intended to do is what your code actually does.

From the article, the comment about adding a vertical scroll bar allows me to review the code and to check that it does indeed add a vertical scroll bar and not something else.

Did the developer intend to require password lengths of at least 8 characters? A simple comment would tell me what the developer wanted to do and then I can verify that it was done correctly.

comment 5y ago · link · parent

Yea, I stopped trying to read and understand the data after I got annoyed by the scrolling.

comment 5y ago · link · parent

I thought this would be critical of Zoom and not video calls themselves. Video can be nice at times but in moderation.

comment 5y ago · link · parent

Dogecoin, which was made as a joke, has the 6th largest market cap of cryptocurrencies. It’s incredibly hard to predict how it would affect the market.

comment 5y ago · link · parent

This is one of the many reasons I like Universal Basic Income. Having UBI would let researchers take risks and have something to fall back on if needed and could reduce some of the pressure

comment 5y ago · link · parent

Given enough time he is saying a single bad actor could amass 51% and attack the chain. It would also be a very expensive attack as they would risk the value of their stake. A PoW attack doesn’t require the same amount of investment.

comment 5y ago · link · parent

There is always a balance between convenience and security. Marketing tends to hate forcing 2FA as it hurts conversions for example.

I think we can do a lot by thinking about only storing the data that is needed and for only the time that is needed. I think GDPR has been a first step in the right direction and it also adds fines for abusers.

12345