Hacker Newsnew | past | comments | ask | show | jobs | submit | ferminaut's commentslogin

secrets, too.

Org's already knee deep in vault / vault-agent for PKI and secrets wont be eager to switch.


But vault was already a pretty enterprise offering. I'd imagine most people running it had an existing contract.


vscode + cline extension + gemini2.0 is pretty awesome. Highly recommend checking out cline. it quickly became one of my favorite coding tools.


Gemini 2.0 isn't particularly great at coding. The Gemini 1206 preview that was released just before 2.0 is quite good, though. Still, it hasn't taken the crown from Claude 3.5 Sonnet (which appears to now be tied with o1). Very much agree about Cline + VSCode, BTW. My preferred models with Cline are 3.5 Sonnet and 3.5 Haiku. I can throw the more complex problems at Sonnet and use Haiku for everything else.

https://aider.chat/docs/leaderboards/edit.html


In the wake of the o1 release, and with the old aider benchmark saturating, Paul from aider has created a new, much harder benchmark. o1 dominates by a substantial margin.

https://aider.chat/docs/leaderboards/ https://aider.chat/2024/12/21/polyglot.html


the context limits on google are nuts! Being able to pump 2 million tokens in and having it cost $0 is pretty crazy rn. Cline makes it seamless to switch between APIs and isnt trying to shoehorn their SAAS AI into a custom vscode (looking at you cursor)


>the context limits on google are nuts! Being able to pump 2 million tokens in and having it cost $0 is pretty crazy rn.

What's the catch though? I was looking at Gemini recently and it seemed too good to be true.


Your code becomes training data[0]:

> When you use Unpaid Services, including, for example, Google AI Studio and the unpaid quota on Gemini API, Google uses the content you submit to the Services and any generated responses to provide, improve, and develop Google products and services and machine learning technologies, including Google's enterprise features, products, and services, consistent with our Privacy Policy.

[0] https://ai.google.dev/gemini-api/terms


Google inference is a lot cheaper since they have their own hardware so they don't have to pay licensing to NVIDIA, thus their free tier can give you much more than others.

Other than that the catch is like all other free tiers, it is marketing and can be withdrawn at any moment to get you to pay after you are used to their product.


I will check it out. The number of new tools is staggering.

I enjoy image and video generation and I have a 4090 and ComfyUI; I can't keep up with everything coming out anymore.


If you're interested in the latest tools for coding, join this subreddit and you'll always be on top of it:

https://www.reddit.com/r/ChatGPTCoding/

There are a lot of tools, but only a small pool of tools that are worth checking out. Cline, Continue, Windsurf, CoPilot, Cursor, and Aider are the ones that come to mind.


"ChatGPT" Coding... is it impartial? the name sorta sounds biased.


ChatGPT was the first to come along, so the subreddit was given a perhaps short-sighted name. It's now about coding with LLMs in general.


If you're a offline kind of guy, try LM Studio + Cline :)

/not affiliated with cline, just a happy user


Hopefully the weather holds out in Dallas. I'll also be in town for the eclipse...but may wind up heading out east if cloud cover predictions hold.

https://www.pivotalweather.com/eclipse2024/?m=cmceens&p=clou...

Is not looking so great right now.


I personally write myself a letter once a year around new years. Covers what happened over the last year, my 3-5-10 year plans, goals, family/friends/health, photo of myself, etc.

Then the next year rolls around and I compare the current year to the previous year, see if I am hitting my goals & trending in the right direction. Helps me hold myself accountable.


Do yourself a favor and integrate GPT4 into your workflow.

I use it probably 20 times a day at this point.

example: "I ran performance tests on two systems, here's the results of system 1, and heres the results of system 2. Summarize the results, and build a markdown table containing x,y,z rows."

"extract the reusable functions out of this bash script"

"write me a cfssl command to generate a intermediate CA"

"What is the regex for _____"

"Here are my accomplishments over the last 6 months, summarize them into a 1 page performance report."

etc etc etc

If you're not using GPT4 or some LLM as part of your daily flow you're working too hard.

Get GPT4All (https://gpt4all.io), log into OpenAI, drop $20 on your account, get a API key, and start using GPT4.


I had a subscription but found it useless for any actual difficult problem that you can't just find elsewhere online with a bit more effort, and I don't tend to struggle with trivial shit. Also not interested in being a "prompt engineer".

But still, irrelevant, I didn't comment on whether it's good or bad, I just said it's overhyped, and comments like these never fail to come up when someone says anything even slightly negative about the tech.


I have to ask, why use 3rd party booking sites at all? From what I can tell, the prices are usually the same as the hotel... needlessly adding middlemen into the booking process.


Because there are hundreds of hotels with a hundred different websites or no website at all in any given city, and hotel rooms are largely fungible. I want to sleep somewhere and I have a budget. Searching hotel by hotel is infeasible even if you can find them, and you often can't.

A "middleman", or search engine, or discovery system, or price comparison site, is worth a lot to me and to most travellers.

Edit: it's worth a lot when you... don't speak the language in the country the hotel is in... when you want the consumer protections of the country you or the middleman is based in... these sorts of concerns are much more of an issue in some parts of the world, and this might be reflected in the fact that Booking.com grew up in Europe.


Yes, but you don't have to book with the search engine. I search with hotels.com and then book by calling the hotel. Every other time I used hotels.com or booking.com the booking didn't exist when I arrived at the hotel...


I would generally rather book with a bigger company, especially when travelling abroad where I may not be knowledgeable of local language, customs, or consumer protections. If I buy from Booking UK I get UK consumer protections, even if that hotel does not provide those. In some parts that's worth a fair bit. Calling the hotel only works if you speak the language. I've also only ever seen identical pricing when I've checked hotel websites.

Perhaps perspectives are based on whether you're booking domestically or not. Domestically you get the same protections, same language, not much benefit. In the US most of the market is domestic.


> Perhaps perspectives are based on whether you're booking domestically or not.

I've had the best success when traveling abroad booking directly. Anyone in the hospitality industry is going to have someone on staff with enough English to assist you, and most of the nicest places are smaller hotels that often don't work well with big booking companies.

> If I buy from Booking UK I get UK consumer protections

I worked in a travel startup (not Booking), there's a lot of fine print to all those "protections" that will leave you high and dry in most cases.

Only use 3rd party apps for search, never book directly through them especially, in my experience, for International travel.


I'll take letter-of-the-law fine print consumer protections over "eh, sorry" any day.

You're right that we're lucky as English speakers, there's often someone to help, but that's not true of most other languages. Small places can provide some of the best experiences I agree, but finding them and getting in contact can be difficult.


Do you find you get a better deal by calling the hotel directly?


Booking get 15% of the transaction so it makes sense to ask for 10% off when calling the hotel directly (which increases the profit of the hotel by and saves you some).


Eccept that is breach of contract with the booking service and can cost them the contract[1]. Since everyone is using booking.com or hotels.com, they will quickly shut down due to no customers. Hostage situation.

[1] At least last time I looked into it. Haven't had a change to travel since a few years.


I just tell them that I saw a better deal on gestures broadly the Internet and they give me some discounted rate.

This happens all the time with every single type of service provider, why would some shitty service like Booking.com get to mandate no one can offer any other discounts?

What, just because there's some sort of aggregator service out there that you've partnered with you are not allowed to offer coupons, discounts, or your own booking services yourself? I would find that VERY difficult to believe.

Plus, based on what we're hearing everywhere, potentially losing your contract w/Booking.com seems like a blessing.


The hotels are required to have the same price on direct contact as they post on hotels.com so no. But I can be certain that there is actually a room waiting for me when I arrive. I have been standing there enough times with a booking confirmation in hand but the hotel not finding any booking and out of rooms. So far they managed to get me somewhere to sleep even though they have had to pay to house me at another hotel a couple of times.


They have to have the same price for “non members”. You can sign up for free to the hotels loyalty program and book a lower price.

You also get points if it is a chain hotel that can be used for future stays. The points can be worth from 7% to 20% of the cost based on what combination of base points, credit cards, and status you have.


If I'm not remembering wrong, since a while back, in EU the hotels are free to set their prices lower even if they are on Booking.com.


I'm very happy to hear that


I get worse deals calling the hotel, usually, as Booking gives better discounts and they buy room inventory at bulk prices to resell.


This varies, some inventory is bought "wholesale", other inventory is on-demand reselling. Booking has a range of terms and systems for different regions, types, volumes, etc.


I guess that’s why grubhub faked restaurants’ websites. https://news.ycombinator.com/item?id=20321260


And heavily implied they were the restaurant with fake phone numbers too.

You'd call a number, "I can take your order for XYZ whenever you're ready!"

"Is this XYZ restaurant?"

No yes or no answer, just "What's your order for XYZ restaurant?"


I guess I've been using booking.com for a decade or so and this has literally never happened to me.


Now I'm curious, what countries were those hotels in? Never happened to me in Europe (from the top of my head: Germany, Austria, Switzerland, France, Italy, England, Scotland, Czech Republic, Croatia) - just over 50 bookings/different hotels.


It was all in Stockholm for work. Sometimes I had a co-worker along that booked his own room and that one was lost too.


Google Maps shows hotels and prices now. That's what I've been using lately. I book on the actual hotel website. Always choosing the cancellable booking option in case plans change. Often it's the only option, but not always.


The problem is that hotel rooms only appear fungible: a space that is a rectangular solid, with a bed. Sounds easy.

However, in reality, people want more than a place to lay immobile for roughly eight hours. These are not commodities. Check-in time. Check-out time. Type of bed. Bathroom? Bathroom with tub? Bathroom with waterjet tub? Pets? Dogs? View. Floor. Proximity to whatever. Bedbugs. Television, microwave, refrigerator, coffee pot, hair dryer. Free wifi? Breakfast? "Continental" breakfast?

If "hotel room" were some kind of spec, it might take years to hammer it out. And then hotels may or may not be honest about their rooms, or even understand the spec. Then there's the periodic keeping the listings up to date. "We had to take the TV out last week, it was on the fritz." "This room was upgraded." When was the last bedbug check? Finally, who is the system of record for any given room? And then the discount policies, wowza.

Looks fungible, really isn't. These aren't pork bellies.


I really don’t care about any of the things you mention. I literally only want a room with a bed and a bathroom. And maybe I’ll sort my three stars and up or something.

There’s a lot of variability, but it’s also pretty impossible to know at a non-commodity level unless I’ve stayed there before or do a ton of research.

I’m not going to trust anything online for the latest bedbug check. Id like to know, but let me know how they factors into your decision making process.


That’s the great thing about booking directly especially with a chain hotel. If you don’t like it, you can cancel the rest of your reservation and only pay for the time you are there. With travel portals it’s much harder.

Even if you’re not happy with the response from the hotel - and I’ve never had a problem with a chain hotel making things right, I can call corporate customer service.


These are all the reasons I said "largely" fungible.

You're right there's certainly no formal spec here and everyone is going to have the things they care about that others may not, but for any given person there are going to be many places that satisfy their needs, basically interchangeably.


I've been using Booking.com, and then booking via the Hotel's site after I find the one I want to stay at. I suppose you could Google to find their number if they don't a website.


You can still search and then book directly. Enough of that would perhaps make booking fix their issues.


I search and then call/email the hotel directly to see if they want to give me a lower price for buying directly so they avoid 15%+ commissions to the travel agent.


How successful are you? I assume that the person picking up the phone does not care about the extra booking, nor do they have the authority to offer spot deals.

Maybe I am wrong and this is a common tactic?


Not the op, but it's the opposite, at least in the UK. I worked in hospitality as a yoof, was manager of a small hotel and a receptionist in big (independent) 5 stars. I absolutely did care about extra bookings because I got a big commission on walk-ins and a smaller commission on phone bookings. I also had leeway to discount rooms on a sliding scale down to "barely covers the cleaning costs" levels on the night. As a booker if I have the time I still call places up and can usually get a decent discount if they have availability, especially off season or last minute.


I estimate 50% success. I find it more successful when emailing the sales person, or the manager directly.


I have tried this but most of the time its the same price, sometimes it is more. Even standing in person at hotel the person at the desk cant even match the online price. Not empowered to.


> Even standing in person at hotel the person at the desk cant even match the online price. Not empowered to.

True, but not uncommon! Captive market.


In many countries, the majority of hotels do not have a way to book directly. The just use Booking/Agoda.


I stay loyal to two hotel brands - Hilton and Hyatt for the most part.

The very reason I don’t use third party portals is because it’s always a hassle when you need to make any changes.

Last year I booked a week at the Hilton San Francisco Financial District for a hybrid work/personal trip.

We arrived late that night and we were not impressed. We went downstairs the next morning, shortened our stay to that one night. Paid it and moved over to another hotel - the Hilton Parc 55. This would have been much more of a headache if not impossible going through a third party portal.

I’ve also increased my stay by a day before arriving and the published price had changed. I called the hotel and asked them to extend my stay by one day at the original price - no problem.

I was a customer of the hotel, not the third party portal.

In my specific case, I am Diamond with Hilton and Globalist with Hyatt. I would get no status benefits or points for going through the portal.

That incident in S.F. I mentioned? When I changed hotels I got an upgrade for free to the “fitness room” with a gym inside the room.


That sounds cool but I'm not sure how realistic that would be for most people, esp. international. There are about 2-3 hotel chains I can think about here in Europe where I have had more than one stay, i.e. where I used the same chain in a different city.

JFTR, my last stay in Prague I paid 80 EUR for a perfectly fine Hotel room, the cheapest room in the Prague Hilton I can find (being flexible for whole Oct+Nov) is 130EUR, usually more like 140+, close to double.

So I suppose if I had to just take a different room in a different hotel every fifth time (and that never happened to me) I'd still be about equal with the price.


Availability: Often, booking sites like booking.com have reserved bunches of rooms at hotels that you can only book through their site. So the hotel's own website might show "no rooms available", while on booking.com you can still book. Many hotels even have given up on their own website and only offer rooms through booking.com.

Price: The hotel website often is no cheaper than booking.com (I guess thanks to very one-sided contracts), and sometimes only gives you a better price if you join a "club" and give them permission to spam you, sell your data, etc.

Payments: booking.com is shady, but less shady and far less broken than a random hotel website where some credit cards might not be working, your CC data turns up in some data dump "found" somewhere, or payment is held by the CC company because you are the first person in months to directly pay to that hotel's website.

Language: booking.com offers an interface and descriptions at least in English. Many hotel websites are only in the local language plus maybe some awkward machine translation that leaves lots of important points to guesswork, especially in the payment flow.

Convenience: booking.com at least offers some kind of searchable database of hotels so I can easily compare them. The hotels themselves make this rather impossible.

I do make a point to try to book via a hotels website after having found it on booking.com. However, in more than half of the cases, for the aforementioned reasons, I end up going through booking.com after all. So while lazy users might be a large part of the reason for the existence of booking middlemen, the hotels do have to bear their fair share of blame here.


As far as payments go, I have been surprised, when booking through booking.com (especially in foreign countries) to see my full credit card details printed in plain text on the Booking.com reservation email that the proprietor printed out and referred to when I checked in. This even when I indicate in the reservation that I intend to pay in cash or with contactless on-site.

While it makes sense to take a card to guarantee against a no-show, it’s always felt a little slimy to me that they make it feel like they, rather than a random property someplace far-flung, are the ones who would collect the fee if I didn’t make good on the reservation—and only if I actually didn’t show up.

It looks like they still pre-emptively give out your full credit card details directly to every property in plaintext, but that they might now make a notional effort to record when the property accesses the CVC?

https://partner.booking.com/en-us/help/policies-payments/gue...


That sounds shockingly non-PCI compliant.


At least it says:

"Never take a screenshot of your guest’s credit card details, and never write them down."

That's a bit like instructions for an eBike.

"This bike is limited to 20 MPH. Do not go to the third option on the settings menu and remove this limitation with a long press of the plus button".


I agree, this is why I book through Booking as well, it's usually cheaper than calling rhe hotel directly. Plus, I get discounts in the Booking app with repeat bookings, just like a hotel chain club.


Prices are very often not even remotely the same.

I've regularly scored things like 70% off regular price when booking the day before.

They continue to advertise their regular full price on their official site and other mainstream sites that business travelers use.

But they advertise at a massive discount on certain discount sites that attract budget travelers.

They want to fill the rooms, often in response to last-minute cancellations, and they hope they get lucky with somebody at full price first, but they advertise budget prices on budget sites because a deeply discounted rate is better than no money at all.


Can you list some of these discount sites?


Hotwire and Priceline.


Hilton at least has a price match guarantee. I don’t know about the others.


If you're traveling to an unfamiliar area, and especially if it's last-minute, and you aren't wedded to one particular hotel brand (or they have no availability), then finding a decent room is currently a big pain in the butt and there's no good centralized way to do it.

booking.com frequently appears at the top of searches for "hotels near..." and other third-party travel sites, like tripadvisor, link to it.

They've done a good job of getting their site in front of eyeballs. Like others, I've tried them, and like others, found them to be awful and now actively avoid them.


> I have to ask, why use 3rd party booking sites at all? From what I can tell, the prices are usually the same as the hotel... needlessly adding middlemen into the booking process.

It can be worse. I once called the hotel and didnt realize I was calling Hotels.com (which used a tricky website to make it seem like I was calling the hotel.)

Worse, the [Hotels.com] agent pretended to be a the hotel reservation desk. I gave him several discount codes (my consulting company code, my AAA code) and each time he said it wasnt reducing the price. That got me suspicious...because my consulting company Accenture always had discounts.

So I asked the person outright, "do you work for the hotel, which company do you work for, etc" and learned he was a Hotels.com employee.

Based on this, i'd note that Hotels.com might not be the same price but might actually even be more expensive that booking direct with the hotel.


I want a middleman to hold my money, if the host fucks up, he will not get the money. That’s why you use escrows, but Booking.com doesn’t act like an escrow, so don’t use it.


Credit cards perform that function.


Not in the whole world, my guess is that it's usually credit card companies in USA that protect you.


One data point, but it was only 2 days ago. I needed a place to quarantine while I was the only one in my family who caught covid on a trip, so I went to the hotel a few blocks away and asked about their rates. They told me that the lowest they could go was $183. I asked why Google showed 6 third-party sites advertising their rooms at $135 and they said those sites reserve rooms in bulk and they aren't normally refundable. So I booked the room with credit card rewards points for about $120/night and everyone was happy.

I always thought that booking direct got the best rates also, but that seems to be incorrect, at least in this case.


Convenience mostly, and I've sometimes gotten better prices that way.

They make it easy to see available options in a city and compare prices. And making the reservation through them is often easier than getting in contact with the hotel.

Assuming it works, that is.

Never again.


I have never ever found a hotel to have the same or cheaper prices when booking directly on the hotel website. I travel in Europe.

For my last booking the difference was almost 20% (340€ at Hotels.com, 420€ direct booking). I don't know if they enforce some most favourable pricing rules or what, but one of the booking sites is always the cheaper option.

I would prefer to book directly so that the accommodation gets all the money, but I'm obviously not going to pay that much more just out of generosity.


For me booking.com has always been cheaper than booking directly with hotels.

I do a lot of motorcycle travelling without a plan. I often do not know where I’ll be at the end of the day, just a general direction.

Late afternoon when I have a better idea where I’ll end up before it goes dark I’ll look at booking.com, find some hotels/motels that match my criteria and head to them without booking.

Countless times I’ve turned up and said “I found you on booking.com and it says you have vacancies, I want a room” only to be given a price higher than booking.com. Some reluctantly negotiate down to match it, some look confused how booking com can offer the price they are while I book through booking.com at the hotel desk as the hotel won’t match the price booking.com are charging.


If you just walk in off the street, hotels will quote you the "rack rate," which is going to be higher than anything you can find online, even on the hotel's own website.


I just got back from a trip to Japan where I stayed at a lot of non-western brand hotels. But when I went to their sites directly, they were obviously all in Japanese which I don't speak. I could've relied on Google translate to book directly but I'd rather book through a 3rd party site in native English. Which I did.


What service did you use, and anythings to stay away from / definitely try?


A mix of Expedia, Agoda, and Priceline! As far as what I looked for in a hotel? Mainly just good reviews and pictures that looked simple and clean. I figured that I wouldn't spend a ton of time in the room! I liked the Tokyu chain of hotels. Stayed in a couple and they were very clean


Inertia. You used to be able to get some good deals on those sites, now they're coasting on that reputation.


The middlemen argument isn't valid anymore. Hotels have for the most part forfeited their right to sell directly. Which means whatever they do, they still pay full commission to whomever they are under contract with, unless said booking concerns 10 rooms or more.


What hotels don’t allow you to book directly?


Like with everything... convenience.


I doubt reddit itself runs the bot farms that enable modifying public perception.


I suppose it's more about the power mods, sometimes with help from the admins, aggressively suppressing certain ideas while allowing others to flourish. So maybe they don't need all those 2000 people...


> As a cultural critic, I have always been wary of the impact of technology on human communication and understanding. While AI and ChatGPT are impressive technological innovations with many potential benefits, they also carry significant risks. One of the main concerns is the potential for AI to further erode human-to-human communication and understanding, as people rely more on technology to communicate with each other. Additionally, there is a risk that AI could be used to manipulate public opinion or reinforce existing biases and prejudices. It is important that we carefully consider these risks and work to mitigate them as we continue to develop and implement AI technologies.

I asked chatGPT what it thought Neil would have thought.


Facebook (and much of social media) is the modern day Philip Morris peddling addictive experiences...except the harm is way less obvious. Folks arent getting cancer, but they are wrecking their mental health. The difference is social media falls under the first amendment and is much harder to regulate.

It's a borderline national security issue, too.


I think it’s a plausible argument. But shouldn’t we regulate the whole industry then instead of going after a single company?

Also there are clearly some benefits from social media so I wouldn’t want to get rid of all of it. For example messaging doesn’t seem so bad in terms of harm vs value. Or things like Facebook Groups that are more like discussion forums (even HN itself falls under this!)


Yeah I agree. Singling out the largest player is silly. We've basically given different nations the ability to control the thoughts of society. Social media hasnt been organic for a long time. Organic social media grows until it is consumed by bots and bad actors.

I dont think removing social media is a solution. I do think some sort of realID for social media that could identify every user is real & a certain age would be beneficial (think Worldcoin but not done by a private entity). I think this alone would solve a large issue around social media. The other requirement that should exist is some balanced discussion to remove the echo chamber effects. Amplifying only certain thought patterns is dangerous.

Take reddit for example. A single bot farm with 100 or so accounts can effectively manipulate entire communities.


> (think Worldcoin but not done by a private entity)

The problem with what Worldcoin was doing wasn't that they were a private entity.


yeah -- the concept of world ID if it worked is actually pretty interesting. I just dont trust Sam Altman/crypto/private industry to do it safely.


I can't think of any entity that I'd trust to do it safely. I'm far from convinced that it's even possible to do it safely.


> But shouldn’t we regulate the whole industry then instead of going after a single company?

Yes. The only problem I have with the government going after TikTok is that they should be going after the entire industry.


I keep waiting for someone to scream this out in one of the committee hearings. Going after one company and attempting to ban them from the country is pretty clearly Constitutionally dubious. But passing strict data privacy laws isn't. They must know this.


But shouldn’t we regulate the whole industry then instead of going after a single company?

You go after one company to establish legal precedent. Then you go after the whole industry.


It also helps that the company they started with is the largest in the industry, and that any regulations targeted at them will affect a couple billions people.


For sure. I sincerely hope we look back in 5-15 years (sooner the better) and are aghast at letting children and teens having unrestricted total access to social media. Hell, even adults I hope it is frowned upon - at least social media in its current state. It feels like it will be looking back at smoking and being like what the hell "you just LET people receive push notifications from the worlds largest companies who have teams of PhD data scientists optimizing the content delivery tho maximize your engagement (ie addiction) !?!? Fucking irresponsible!"


The content of social media is protected by the first amendment. Any specific business model isn't. You're not entitled to make money off of other people's speech... or data.


it's more secure on the back end. The DB will store a hashed unique pass phrase that isnt shared with anyone else.

You enter a pin, the web server sees a public key that only your side has the private key to.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: