Better HN
topnewbestaskshowjobs
Log inSign up

gitgud

5,433 karma · joined Aug 23, 2017 (9y ago) · 2,457 submissions

Complex solutions create complex bugs...

https://github.com/benwinding

https://benwinding.com

[ my public key: https://keybase.io/benwinding; my proof: https://keybase.io/benwinding/sigs/bVV_JyagfOPTVOiqOf50YZB4rhM0EIDgUvumlGAA6mY ]

Submissions

comment 4y ago · link · parent

They're so "Open", that you're required to fill out 60 detailed questions of the precise usage of their API...

Maybe they're planning on making all the applications that are using the api Open public knowledge too! /s

comment 4y ago · link · parent

> “it takes too darn long to test these changes, is there a better way?” This is a question we should be asking ourselves every day.

Agree, continuously re-evaluate your systems, they can always be better

comment 4y ago · link · parent

Whenever I see a codesandbox embedded viewer, I know it's going to take 20s+ to load... so I don't click it...

Why not just render the 3D example and show sandboxes a bit lower?

comment 4y ago · link · parent

> That assumes karma alone decides how comments and stories sort

Karma is one of the easiest things to implement that signals that something is important, I didn't mean that it's the only thing used.

Comment sorting is most often a combination of recency, votes and user reputation...

comment 4y ago · link · parent

Well I don't think I'm an outlier, and I upvote good comments, regardless of my position...

comment 4y ago · link · parent

> "I cannot stress enough how toxic the karma system is. I believe online bullying is real, flag systems, and moderators are necessary. But Karma systems are often abused by punishing users for expressing opposing views."

Without karma/points you are relying on the platform and their definition of quality. Voting with points, is the easiest way to allow the community to decide what is important...

comment 4y ago · link · parent

[1] Dotfiles are a way to speed up your workflow. Basically just saving your system scripts to a Git repo, which allows you to manage & iterate on them easily. Also makes it easy to move environments and sync between machines etc..

[1] https://github.com/holman/dotfiles

comment 4y ago · link · parent

> Why so much fake enthusiasm ?

Lack of anonymity. Profiles on LinkedIn have more real information on them then any other platform, meaning that what you say might have real consequences to you.

Basically saying anything negative or critical might be used against you in the future of your career. (see Miranda rights)

Other platforms like reddit and Twitter don't mind anonymous accounts, which ironically invites more honest criticism and discussion, as it doesn't directly link profiles to professional careers.

549.

America Is Running Out of New Ideas(theatlantic.com ↗)

13 points · by gitgud · 4y ago · 6 comments

comment 5y ago · link · parent

Feedback:

- Probably shouldn't claim "The missing tool to work with icons" before even explaining what it is...

- It's got "Try one of these icons" but it's not clear what that has to do with uploading an icon?

- I think the second line, "Just drag and drop your icon, and we will find it for you! Or use our Icon Gallery to find it visually or by the icon name." describes this much better than the vague first sentence...

Anyway, looks very polished and is nice and snappy, good work!

comment 5y ago · link · parent

I don't know what Web3 will be represented by, but Web4 will be operated with sticks and stones...

comment 5y ago · link · parent

That's better than nothing, but code commits and changelogs have different use cases.

Commit logs are for all changes, regardless of size or context. Whereas changelogs are for consumer-facing changes.

comment 5y ago · link · parent

I recommend "next-rpc" [1] which is a small library allows the nextjs client-side pages to call the API function using a type-checked function interface.

[1] https://github.com/Janpot/next-rpc

comment 5y ago · link · parent

> I'm writing this as a reply to you and it's not my intention to disrespect you or sound knowledgeable.

Totally understand, no offence taken.

> As a cybersecurity nerd, I have to say it. Your and my projects aren't exactly privacy friendly.

I see you're looking at my claim that there's "no tracking" in the YComments project. Well, there's actually no way to make it more private, and having a proxy server is just another risk of malicious code creeping in.

You can verify that my code doesn't do anything nefarious without trusting me, and you can verify that the algolia API doesn't do anything nefarious from their reputation.

Conversely, if I were to create a privacy focused back-end API (proxy or whatever), you would need to trust that my server is not serving malicious code or tracking requests. It's much more risky to trust individuals with no reputation (like me or you), rather than a large company that has built a reputation with a large community.

Like you said "Our relationship with the Internet is based on mutual trust".

> It's possible, so it's not paranoia

Well, I don't follow this logic, a lot of things are "possible", that doesn't mean they're practical or sensible. It's possible that nuclear war will break out at any moment, but I'm not going to live in a bunker my whole life.

Anyway, not intended to disrespect you, these are a just stream of my thoughts just like yours. Take care.

comment 5y ago · link · parent

Some good points, though giving a platform for people to upload and view "beheading videos", is implicitly condoning it.

Should the the platform condone such things?... To me no they shouldn't condone some things, even if they are true.

The dark web is the indescriminant place that you're looking for that contains the dark unaltered truth's of the world...

comment 5y ago · link · parent

Nice one! I made something just like this a while back [1] (github link within). But I like the way that you have the matrix theme with the comment.

[1] https://ycomments.benwinding.com/

comment 5y ago · link · parent

> Gone are the days when you might stumble across an ISIS beheading video on youtube

The way this is worded makes it seem like you miss these videos... Is this really something you personally think is worth keeping on Youtube?

comment 5y ago · link · parent

Depends what you're displaying, js frameworks can struggle to show 1000's of rows smoothly, especially if a row is displaying computed data.

So, a lot of the time, developers will just limit the page size, in order to guarantee performance on majority of devices...

559.

PiBox: A Modular Raspberry Pi Storage Server by Dan Pastusek(kickstarter.com ↗)

2 points · by gitgud · 5y ago · discuss

comment 5y ago · link · parent

It's not a huge deal in my opinion, it's the same decision Hacker News arrived at right?

comment 5y ago · link · parent

As I understand it, the webserver at twitter-unfurl-faker.herokuapp.com just dynamically redirects based on the user-agent.

The attacker doesn't need control over uniswap.org or harrydenly.com to make this work.

They only need control of harrydenly if they want to serve a phishing page. But as I said above this is redundant and they could just use this domain to also serve the redirection. Example below:

* (Twitter bot) phishing.com -> redirects -> fishtanks.com

Twitter bot makes shortened link t.co/aaa (but the preview shows fishtanks.com)

* (User) t.co/aaa -> phishing.com

comment 5y ago · link · parent

Not really a logical phishing strategy, if the first domain looks safe and the attacker controls it, why wouldn't they just use that to serve a phishing page? Instead of needlessly redirecting...

A better example would be to show "google.com" and somehow redirect to "phishing.com"... but that's not really possible without control of "google.com"

comment 5y ago · link · parent

Devil's advocate; each class in the array has a consistent interface, making it easier to do common things every step like measurements and logging during iteration etc.

But I agree with you, it's simpler to just call the functions only giving them what they need. This prevents them from implicitly depending on context and makes reasoning about the code much easier....

comment 5y ago · link · parent

> I wonder, what will replace traditional devices.

Looking back through history you can see that the average home has slowly become automated via; washing machines, dish washers, and more recently robotic vacuum cleaners.

Using this trend I believe there will be more home automation devices which will be affordable. Trash robots (deal with taking out the trash), gardening robots (tend to the garden), delivery robots (fetch deliveries from the front door).

The future is unknowable, but we do know that robotic devices are becoming much cheaper and applications of them within the home are limitless.

comment 5y ago · link · parent

Correlation does not imply causation...

566.

Darkness – A text adventure game based on a dream(ben.lol ↗)

3 points · by gitgud · 5y ago · 3 comments

comment 5y ago · link · parent

True, yes I meant instead of purely gyro orientation.

comment 5y ago · link · parent

Woah that's cool, I stand corrected. It's interesting they would demonstrate that as cutting edge research in the metaverse keynote then.

comment 5y ago · link · parent

> "You can make a low end VR headset out of a $100 smartphone and a $5 plastic box"

Have you ever tried that? Smart phones as VR are extremely disorientating and the latency of the gyro makes it unusable.

I've got an Oculus Quest and it's amazing how well it works using the 4 camera vision-system instead of a gyro.

What they were demonstrating in the meta-verse was facial-tracking attached to VR headsets, which is super expensive experimental technology which is not going to be commercially available for quite some time.

comment 5y ago · link · parent

> "The metaverse is bullshit because it already exists, and it's called the internet

> Being 'inside' a virtual world was never really the important part"

Well, the facebook keynote presents a compelling argument how social interaction with VR can be more meaningful than through a 2D screen in many situations.

However, what IS bullshit, is the display of obviously fake demonstrations with highly experimental and expensive technology.

The reality is, most of the tech, won't be accessible or even productised for a long time, as they didn't even announce any planned dates...

1
181920
82