News for hackers. Stuff that matters.

tomlagier

Re:Google's ChatGPT Competitor Will Have to Wait on Friday November 17, 2023 @05:15PM (#38311221)
> Why is it catching on? In the best light because it actually is a tremendous productivity accelerator. In the worst light, because we live in a world that incentivizes "fake it til you make it".

It's great at a few things and pretty good at a lot of things. In my view, the thing that it's the absolute best at is churning out low value, rarely-read communication. There is a massive amount of that type of communication - spam, student essays, procedural documents for compliance. There are loads of jobs that need to do that sort of thing regularly and it's a godsend for them.

Re:Next.js 14 on Thursday October 26, 2023 @05:29PM (#38031931)
Honestly, I've had a great experience because I've read a lot of experiences like yours and stuck with pages router & Next 12, which works nicely for everything I've needed it to do.

There might be a point where app router is stable & smooth but it's pretty clearly not right now, so havn't really seen the need to upgrade. I think there was a pretty decent comms issue with the stability of it from both the Next and React teams, but I have a hard time faulting an otherwise fairly stable and useful framework for adding features when they're not breaking the existing stable path.

Hooks was a bit of a bumpy transition as well, but I do think that I prefer the code written with them to the code before them. I think it's OK to wait a year or two to let the rough edges get filed down when these types of frameworks release big new feature sets.

Edit: I'll note that we don't use next/image or API routes either, both of which I've seen some churn / pain with. Possible I just hit on the framework when it was in a pretty happy place and most of the new features or suggested defaults have had pain points that I havn't experienced.

My counterpoint to this is just that DDB is not a super usable piece of software (it's slow, buggy, and expensive). It's got the massive advantage of having the rights to sell D&D content, but there's definitely room for disruption in that market.
Nit: Foundry uses Pixi.js for rendering, so it's using more or less standard JS gamedev tools to draw on a WebGL context in a canvas.

Edit: See https://foundryvtt.wiki/en/development/guides/pixi

Edit2: For an example of why gamedev toolkits don't necessarily produce performant, highly usable software, check out Dungeondraft (https://dungeondraft.net/). It's built with Godot and gets the job done, but as an application it's a total mess. I'm working on an alternative but (surprise!) it's a challenge.

For me, the reason I prefer Google to GPT is that it's much easier for me to assess the credibility of a Google answer vs a GPT one. There are so many signals in any primary source. Some obvious ones are things like number of upvotes, site reputability, presence of (working) examples, when was the answer written? More intangible things are like how closely does this solution match my problem statement, does the author write in a trustworthy manner are also easy for me to pick up at a glance.

With GPT, I don't have any of that (or maybe I just need to re-learn it?)

Also, I get a useful answer from most Google queries. GPT performs at a significantly lower bar (at least right now) - it works well for some stuff but not others, and the time it takes to figure out whether it's going to do a good job (and maybe do a couple of rounds of prompt refinement) is much more than just Googling.

Re:Best D&D map makers for dungeons, cities and worlds on Thursday March 16, 2023 @12:36PM (#35184389)
I wonder if there's something that you can do as you're nearing the end of the context window to summarize the "state" of the world so far and put it into context so that the model always has context on the most important details. I'd imagine that you'd lose some of the minor stuff by compressing context this way, but, hey, humans forget minor details too.
Re:Bing: “I will not harm you unless you harm me first” on Thursday February 16, 2023 @03:29AM (#34816366)
It doesn't even "understand" basic math - trivial to test if you give it a sufficiently unique expression (e.g. 43829583 * 5373271).
Re:Free Open Source Tailwind CSS Components on Monday April 25, 2022 @06:36PM (#31161703)
Not a dumb question!

They cover different needs - Tailwind is a low-level CSS library that provides a different (and some claim better) way of styling HTML. It doesn't provide markup, interactivity, etc.

AntD is a high-level component library that provides components with pre-built markup, JS interactivity, accessibility, etc. Any of the component libraries in this thread are a good point of comparison.

You might use Tailwind if you're building out your own components, or styling a page that doesn't need much interactivity. It is fast, lightweight, and easy to integrate. You can compare it to any CSS-in-JS tool, SASS, and other styling solutions.

You'd typically turn towards a component library (like MaterialUI, Ant Design, or Tailwind UI) if you're looking to quickly build a webapp that needs a lot of interactivity out of the gate. These solutions are larger and heavier, but provide a lot more functionality (interactivity, accessibility).

Re:Tell HN: AWS appears to be down again on Wednesday December 15, 2021 @12:27PM (#29568956)
I wonder if AWS will make more or less money from these outages?

Will large players flee because of excessive instability? Or will smaller players go from single-AZ to more expensive multi-AZ?

My guess is that no-one will leave and lots of single-AZ tenants who should be multi-AZ will use this as the impetus to do it.

Honestly, having events like this is probably good for the overall resilience of distributed systems. It's like an immune system, you don't usually fail in the same way repeatedly.

Re:Opposition to High Density Development on Tuesday December 07, 2021 @01:39PM (#29476440)
Morally, I'm very pro-high density housing. Just like I'm pro-public transit. But in reality, my expressed preference is a single-family house with a yard and the convenience a car brings. I'm not sure how to square these things.
Re:PostgREST 9.0 on Tuesday November 30, 2021 @04:01PM (#29397400)
The issue I have with these automatic "backend from your DB" service is:

* For the simple case, they seem like they are as good as a simple backend service, albeit easier to set up.

* For more complex cases (e.g. external dependencies, complex business logic), they seem so much more difficult to make work that I can't imagine anyone _not_ setting up a separate service to handle those scenarios. Maybe you can do everything with stored procedures, but Hasura, Postgraphile, et al. all seem to suggest that you should stand up a separate service for this.

* Once you've got a separate service where your complexity lives, that's going to be the meat of your project.

* Is it really worth it to introduce a separate dependency & pattern just to scaffold the easy parts more quickly? The consistency of having a single data access pattern between the client and all parts of your service seems like it would outweigh not needing to write a little code to proxy queries through your backend by far.

I guess it really depends on the app - if it's really just a view layer, or if the RUD* has very little logic to it and it's expected that the complexity of the backend logic really won't grow over time (never seen this...) then sure, it could be a fit.

Until then it seems like yet another MVP optimization that gets thrown away as soon as the app needs to grow up.

Maybe not quite the answer you're looking for, but I'll throw it in anyway.

- I planned on quitting my FAANG job in February 2020 to go travel the world for 9 months (midlife crisis, sabbatical, whatever you want to call it).

- COVID hit, we came back March 2020.

- Decided to take the opportunity to leave the Bay Area and try our hand at freelance / contracting for time flexibility so we could go travel again once lockdown ended and international travel became a possibility.

- We thought we might come back to the Bay Area once "it was over" and we'd travelled.

- Lockdown stretched on, borders stayed closed.

- Contracting picked up, was able to negotiate part-time hours making enough to live on.

- My partner switched careers successfully, starting a new business.

- Fast forward to now, I'm still contracting. We've put down roots in the small town we moved to. My partner's business is thriving. We're saving up for a house.

Overall life is good. We've traded the stresses of the Bay Area for a different set of stresses - it's equally difficult finding housing here, starting a new business has been hard, and figuring out what I want out of a freelance career has been a struggle as well. We've got a lot more free time, and the flexible hours have been a huge blessing.

The US seems to struggle with a balance between security of property and police violence against minorities. I can't believe that we can't have a save and secure society without extreme police violence. It seems like many other countries manage this, why can't we?

Ask HN: Best resources on learning to be a better teacher or mentor?

I'm a ~senior engineer, worked for a handful of startups and larger companies. Mentorship and training is an area of work that I really want to explore, but I don't think it's my strongest skill right now. How can I improve?Some people seem to have a natural ability to break complex topics down into comprehensible pieces. That's something I'd love to learn more thoroughly.

( Read More... | no comments | 2 points | on HN )
Re:Show HN: New way to test APIs with OpenAPI and Postman on Thursday July 15, 2021 @12:31PM (#27846598)
Very cool! We use Postman collections extensively to internally document our APIs and make handoff between frontend and backend easier. We're waffling a bit on backend schema (currently using Yup & Typescript to export request/response types, but no formal definition), but seeing this makes me think it might be worth investing in a migration to OpenAPI, just to ease documentation.
I'd guess that a lot of the WSB crowd has some exposure to crypto, which isn't doing so hot recently.
Re:Why bugs might feel “impossible” on Tuesday June 15, 2021 @12:37PM (#27517867)
Is there any downside to writing deterministic games? It seems like the only sane way to do it, but I guess it adds some complexity overhead for the initial write otherwise everyone would do it by default?
Re:Drunk as a Lord: the Regency Bottle Men on Tuesday May 25, 2021 @01:03PM (#27279377)
Just listened to a Revisionist History episode that called out the harms of over-consumption of linoleic acid. Apparently the shift away from animal and towards vegetable oils in the '70s and '80s caused a lot of adverse health effects because we now consume multiples of the amount of linoleic acid that we did in previous generations.

Podcast: https://blog.simonsays.ai/the-basement-tapes-with-malcolm-gl...

(Somewhat biased, but still a good summary of the research) article on linoleic acid: https://theecologist.org/2014/feb/24/linoleic-acid-overwhelm...

Re:Ask HN: Favorite purchases of last two years? on Thursday May 20, 2021 @05:43PM (#27227731)
Huh, TIL. I had assumed the thickness of the iron would have lead to better heating, but it looks like both aluminum and steel heat much more evenly.

I still argue that the care regimen is overblown, you can scrub with soap and a sponge and as long as you're not just grinding at the surface it will be fine. You can soak it, it's fine. We treat our cast iron like any other pan and it's really not a big deal - we just add appropriate oil if we took off too much of the bonded oil the last time we cooked.

That's just not accurate. See https://chiacalculator.com/ for more.

3-4 months is currently around 18 TB.

EDIT: 100 TB would get a coin every ~ 18 days on average.

Re:Ask HN: Favorite purchases of last two years? on Thursday May 20, 2021 @11:30AM (#27222451)
You can just use it like a normal, heavy duty pan. The difference in use and flavor between seasoned and unseasoned is pretty minor, IMO.

The real advantage is that they're so cheap relative to their utility. They heat evenly and stand up to incredible abuse at a fraction of the cost of a normal pan.

Re:Selling Tiny Internet Projects for Fun and Profit on Wednesday May 19, 2021 @04:50PM (#27214304)
Seems like a pretty low ROI to me.

Generously, we're talking about ~$100/hour, my guess is it was actually a lot less than that, maybe as low as half or a third, and this is for an idea that got some traction.

That could be a good wage for some groups of people, but my guess is you'd find a much better one either a) growing something to a larger size or b) working for someone else.

If you're really interested in building these tiny products though, then it could be a way to support yourself doing what you're interested in. I just wouldn't generalize this strategy to "this is a good way to make a living".

On the flip side, I bet doing this sort of thing really sharpens the entrepreneurs skillset - identifying good ideas, quickly bootstrapping a product, and negotiating for funding, so I bet you're getting some pretty big personal levelups as you go.

These cards are marketed at kids, and kids also buy junk food and soda which are high-markup items.
To add to this, cooks are often more economically precarious than front of house & so less likely to stay at home if they are sick.
Re:The Animal Is Tired on Monday May 10, 2021 @02:44AM (#27103345)
I just worked through them so it's a bit of a fresh wound. I wanted so badly for there to be a big satisfying payoff!
This is a great idea and caused me to go down a rabbit hole of learning what it would take to actually register a new gTLD.

Short version: The ICANN would need to do a new round of gTLD registrations. This is unannounced but rumored to begin some time this year.

Then, a corporation would need to apply for the gTLD string. This application cost $185,000, non-refundable, in 2012 [1]. Smart money is a steeper fee.

Next, they would actually need to be approved for the gTLD. This requires a company with enough funding to pass the ICANN's audit, and enough technical chops to maintain name servers with enough bandwidth and availability to serve the traffic generated by the new gTLD [2]. There is also a criminal background check and anti-cybersquatting check [3].

Finally, they would have to win in a contention process that involves any other registrar applying for the same string. This may be settled by an auction [4].

The buzz around the 2012 process is that it was generally a waste of time and money - many of the gTLDs far underperformed expectations by the registrars. Further, many of the corporate-owned gTLDs are unused (such as the 76! owned by Amazon)[5].

There were a few winners - the ICANN themselves made a hefty sum of money - some $212 million left over in 2020 [6]. Some other companies figured out the right way to "game" the contention process and intentionally lose the auction for the string [7]. Finally, a company named "Donuts, Inc", won some 270 gTLDs under various subsidiary companies. With such a massive portfolio, they were able to capture a few big winners (such as .guru) [8].

[1] https://newgtlds.icann.org/en/applicants/global-support/faqs... point 2.2

[2] https://www.icann.org/en/system/files/files/gtld-drd-ui-10se...

[3] https://newgtlds.icann.org/en/applicants/agb/guidebook-full-... module 2

[4] https://newgtlds.icann.org/en/applicants/agb/guidebook-full-... module 1.1.2.10

[5] https://domainnamewire.com/2019/02/28/new-tlds-five-years-in...

[6] https://www.icann.org/en/system/files/files/annual-report-20... page 33

[7] https://www.circleid.com/posts/20130603_icann_auctions_or_pr...

[8] https://en.wikipedia.org/wiki/Donuts_(company)

Older »