News for hackers. Stuff that matters.

sjroot

Re: on Saturday October 01, 2022 @12:59PM (#33048057)
The fact that the organization name and this repository hasn't been updated to reflect the discussion in that thread is telling. The author must just want to be able to add "created standard Go project layout used by X developers and companies" to their resume.
Re: on Saturday October 01, 2022 @12:48PM (#33047972)
Why is this published in a GitHub org called "golang-standards"?

As someone who has worked with Go for years in a professional capacity, more than half of these folders are not necessary or convention in any sense. They usually introduce complexity into a language and ecosystem that tries very hard to prevent it.

Folks reading this without Go experience, really the only ones that are important are "internal" and "vendor" folders. The former cannot be imported into consuming packages, and the latter is the output of "go mod vendor" (commonly required in corporate environments). "pkg" is also mostly a convention because of projects like Kubernetes, but is not idiomatic either. (A Git repository itself represents a Go package or collection of packages based on the presence of a go.mod or go.work file)

Re:IMDB deleted all negative user reviews for The Rings of Power on Saturday September 03, 2022 @10:28AM (#32702185)
The first time I heard one of those “I can also” lines, I lost interest in ever purchasing an Alexa or frankly any Amazon home product.

Shame the amount of engineering effort that went into that system, only for it to be destroyed by absurd business strategy. I’m sure a couple PMs got a “level 2 to level 3” promotion out of it or something.

Re:Jetbrains Space on Saturday September 03, 2022 @10:20AM (#32702090)
https://support.atlassian.com/jira-cloud-administration/docs...

Why would you want to loop in a completely separate service when GitHub and Jira already have an integration available?

Yeah this is the deal breaker for me as well. This smells like an embrace-extend-extinguish campaign frankly?

1. Embrace gRPC and protobuf 2. Extend with Connect, get everyone using this in their APIs and web apps 3. Drift away from established gRPC and/or protobuf standards, build platforms/business around this and trap as many folks as possible

As silly as it may seem, one thing that really sends this signal for me is the nice trademark symbol on the Buf name. their intention for all of this stuff is to build a business.

Re:Introduction to Computer Vision on Sunday July 03, 2022 @04:48PM (#31970886)
When I see posts like these, I immediately go to the company’s homepage to see what they’re trying to sell.

One thing that stuck out to me was the “Our technology partners” section. Is Theos actually “partnering” with companies like Google, Meta, Nvidia, OpenAI, etc, on anything? Or is Theos just using technology from these companies? If it is the latter, this seems very misleading.

Re:If I cold emailed you, I apologize on Friday July 01, 2022 @12:59PM (#31949377)
The pessimist in me is pretty confident that was the true purpose of this writing.

Nonetheless, hope it pays off for them.

Re:System Font Stack on Saturday May 28, 2022 @06:28PM (#31544420)
Web dev for many years chiming in: please step awayyyyy from the ugly solution. As another reply stated, you cannot guarantee pixel-perfect decision without sacrificing other aspects. It’s not something you should strive for at all in {current year}.

If you want to align the text vertically with an image, use flexbox. If the specific font they want to use doesn’t look right in that context, have them either (1) deal with it or (2) pick another font.

I’ve never seen ads. I believe the difference (and potential explanation as to why GP hasn’t seen any either) is that my account is through google workspace.
Re:Ask HN: Is Heroku Being Sunset? on Monday May 09, 2022 @09:43AM (#31313893)
That post makes a ton of sense honestly. It is a shame but why wouldn’t Salesforce want their branding on it?

Check out Vercel, Fly.io, or DigitalOcean depending on the complexity of the project you’re hoping to deploy.

Re:Dutch digital identity system crisis on Monday May 09, 2022 @09:35AM (#31313808)
Based on Google’s documentation on supervised accounts [1], sounds like your child is/was under 13?

They don’t have these checks in place for the fun of it. They’re usually legally mandated, otherwise some parent will sue them because “Google exposed my child to X Y or Z”

[1] https://support.google.com/families/answer/7106787?hl=en

Another option people may want to consider is hosting a version of Code Server[1]. I do this with my iPad Pro and it has been incredibly convenient.

I even have it configured so that ports can be routed to via my domain, meaning I can do web development with a local server on port 3000 and view it live at 3000.my.domain.tld.

1: https://github.com/coder/code-server

Re:How Zillow's homebuying scheme lost $881M on Friday March 18, 2022 @06:53PM (#30728655)
Former C1 employee here with a personal opinion. C1 is walking the walk; everyone up to the CEO is very tech-forward (which quite surprised me initially)
Re:Yuzu: Nintendo Switch Emulator on Saturday January 22, 2022 @10:34PM (#30043371)
These sort of arguments are really tiresome.

I’m absolutely a fan of engineering feats like these being made more accessible for educational purposes. Even in college, I built a NES emulator on an FPGA.

But to argue that it’s primary motive is not to facilitate (and potentially profit from) piracy is not grounded in reality.

Re:YC’s $500k Standard Deal on Monday January 10, 2022 @01:02PM (#29878784)
I’ve been in this position myself. To be fair, you aren’t bootstrapping if you’re taking YC funds, right?

They are seeking returns on this investment in the magnitude seen in previous YC company IPOs, as mentioned in the article. Is a bootstrapped company likely to have that outcome? Possibly, but much less likely than those that have swelled with additional funding rounds and more rapid/predictable public interest.

Re:Framework Laptop with Ubuntu Review on Wednesday January 05, 2022 @09:29AM (#29809355)
I’ve owned macs for years and never once had any issue like that. I’d dig deeper than “it must be macOS”
Re:Apple’s new M1 Pro and M1 Max processors on Monday October 18, 2021 @03:25PM (#28910321)
I am a very satisfied Apple customer, but will gladly tell you that a Windows machine would make more sense for the use cases you’ve described.
Re:My Job Offer Was Rescinded After I’d Given Notice on Wednesday September 29, 2021 @08:54AM (#28692944)
Do not give notice to your current employer until you’ve passed all checks, signed all paperwork, and received your start date with the new employer.

Any employer that expects otherwise should be avoided at all costs. Admittedly, even this is not entirely full-proof, but it is the bare minimum.

Re:Insights from Adopting TypeScript at Scale on Wednesday November 11, 2020 @02:48PM (#25062145)
C++ is still very much used, along with Python. These languages are generally used for the overwhelming majority of our backend services.

JS/TS are used in the Terminal's view layer. You can make services in these languages as well, AFAIK, but I don't think it is very common.

Re:Go in Production – Lessons Learned on Saturday November 07, 2020 @07:57AM (#25014808)
Came in here to say this.

I helped many teams move from Java to Go, and came across this so many times. Everyone wanted to find the Spring equivalent for Go (or Django, Ruby on Rails, etc) when it doesn’t actually exist. That’s by design.

No ill feelings toward the developers of Echo, or other similar frameworks (Go Micro specifically). However, touting their framework as the way to build APIs in Go is disingenuous and leads to software that is difficult to maintain.

Just my two cents.

This...this was Do Not Track..
Behind Facebook lay an event bigger threat to our democracy: a population lacking the educational foundation necessary to build informed opinions on issues by seeking and critically evaluating available sources of information.
Re:Ask HN: Rust or Golang? on Wednesday September 16, 2020 @08:13AM (#24491835)
I use both frequently, in and out of work. And I can’t state enough that people need to stop asking this question.

These languages - I would throw Swift in there as well - are “apples and oranges” and shouldn’t really be compared. Depending on your use case, they all have different merits over each other.

To actually make a worthwhile recommendation, you’d have to elaborate on what you mean by backend service. RESTful? gRPC? Something else? When it comes to the first two scenarios, I think Go enables more rapid development and has a stronger library ecosystem.

Re:I lost €4k in a Facebook scam on Monday September 14, 2020 @09:54AM (#24470144)
As someone who also takes all the right account security precautions, I too have been fooled by a scam Facebook ad. It seems like this is an increasingly-common attack vector that FB needs to address.

Specifically, I think it would help for them to verify ads, as they do people / pages.

Re:Show HN: Mimestream, a native macOS email client for Gmail on Wednesday September 09, 2020 @01:04PM (#24423111)
SwiftUI will make the native application development experience much easier for Apple platforms. It still has a little ways to go, but once it's the "de-facto standard" for new apps, you will certainly see an explosion in innovative native development.

Hoping other platforms follow suit. Preferably using SwiftUI...hey, I can dream right?

Re:Show HN: Mimestream, a native macOS email client for Gmail on Wednesday September 09, 2020 @01:03PM (#24423092)
This looks amazing. I am so glad that you kept it as close to the native Mail experience as possible.

My only question relates to payment. This is an app that I would gladly pay a solid price to own (in the ballpark of $50?). I would _much_ prefer that over a subscription model.

Because the site mentions eventual payment, but doesn't specify a pricing model, would you be willing to elaborate on your intentions?

Re:Understanding OAuth2 and OpenID Connect on Sunday September 06, 2020 @01:41PM (#24393104)
Yeah, I gathered you knew what you were talking about after I had already posted my comment lol. Just left it up in case any others have that question. :D
Re:Understanding OAuth2 and OpenID Connect on Sunday September 06, 2020 @01:03PM (#24392788)
Somewhat. One key “feature” of OAuth is that it completely omits the authentication process.
Re:Understanding OAuth2 and OpenID Connect on Sunday September 06, 2020 @12:59PM (#24392750)
I’ve never heard of FusionAuth but after a quick glance it seems interesting. Generally, I think these standards are worth knowing even if you do decide to use a managed offering.

Also worth mentioning is ORY Hydra.

Older »