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

And they even made the C++ version more verbose than it should have been. Most people would write:

class Person { int age = 0; };

I wish rust would make default struct field values this easy to write.


It’s coming soonish! There’s an accepted RFC that’s getting close to being ready to stabilize https://github.com/rust-lang/rust/issues/132162


A company owning a web browser isn't the problem. A company owning a web browser, OS and search engine shouldn't be a problem either. I don't know why the remedy can't actually address the problem, and the DOJ can't move more quickly to address antitrust across the industry. This feels like randomly cutting a baby in half, while the rest of the thieves, even those in the same family, are not deterred.


The problem is an ads company owning a web browser, OS, and search engine, and using that control over how users interact with the internet to outcompete everyone else. You left out Google's raison d'etre from your statement.


MS and Apple have the same thing, they're just less successful. Just a browser and an OS was previously seen as antitrust (and it looks like MS is being anti-competitive in this space still). Just a browser and a search engine can allow anti-competitive behavior. Or just a search engine and an ads platform...

The problem is the anti-competitive behavior. Businesses are generally rational actors, so clearly our system isn't working. It's unclear what the boundaries are until years in court, and even then it only applies to a single company.


MS and Apple aren't companies who sell ads. MS and Apple are companies who sell tech products. Everyone analogizing the current situation with Google to Microsoft in 1999 is missing the core of the facts here. The Apple/Epic Games antitrust suits are much more similar to MS in 1999, but Google's antitrust issues are very different.

Google's product isn't its software, it's the attention of its users. Having this large and this dominant of a software/data platform attached to a company that sells attention is anti-competitive in the attention market.


MS does sell ads, they have an advertising platform.


Read MS's 10k and come back and seriously tell me they are an ad company. They don't have much ad infrastructure (that's outsourced), and they make very little of their money from ads. Microsoft is a software company, and some of that software is paid for with ads. Google is an advertising company.

Incidentally, this sort of proves the point that Google's ownership of platforms where ads are displayed puts them at an advantage compared to competitors, who have to go to people like MS for space.


So does Apple funnily enough so it’s a very strange post.


A few years ago, one of the bigger points from the apple earnings was that its first party ads platform 10x'ed (or wtv, can't remember the number) its revenue after apple implemented "do not track" app changes.


The US never did anything about Microsoft owning a browser. There was never a browser choice screen in the US and Microsoft was never forced to sell Windows without a browser.


That is not what is happening. I use Android, Chrome, and Google Search because the alternatives are quite poor. All of those things work better with alternatives than any competition. Android is the most open mobile OS, Chrome is the most open and non-coercive browser, Google Search works great with all other OS's and browsers.


It doesn't matter why you use any of this software. What matters is what it does to the ads market. This is not 1999 and this is not Microsoft. Google's product isn't software. It's the attention of its users.


Google's share of my attention is negligible to the point of barely existing when compared to HN, X, YouTube(yes I know, but I see no adds because I have premium), podcasts, audiobooks and many other things. Even Facebook probably takes more attention and I barely use it.


Google measures its share of your attention different than you do. You seem to think this is "attention paid to Google ads" but it's "attention paid to Google platforms," which correlates to their ability to target an ad directly to you. You see Google ads in many places around the web (even if you have an ad blocker), and their ability to serve you a good ad depends on how much attention you give to Google platforms, not just to Google's obvious ads. Google ads are 30% of ads on the web, not including the ads on its own platforms (search and youtube).


Isn't "monopolies suppress competition" one of the classic reasons people think they should be broken up? I'm not saying you have to agree with that theory, but just observing a current lack of competition doesn't by itself seem like an argument against breakup.


Google is not suppressing competition. There are plenty of competing browsers and search engines, they all suck. On the Mobile OS side there is less but substantially more robust competition, even though I, personally, hate iOS. So breaking Google up because of a theoretical problem that is refuted by reality is nonsensible.


> There are plenty of competing browsers and search engines, they all suck.

Maybe our difference in viewpoint is that I see this fact and wonder why it's seemingly impossible for anyone to build a financially viable alternative, and I'm at least open to the idea that it's very difficult to compete with Google when they can leverage their successful ads business to subsidize the investment into their browser.

Yes the alternatives are worse, but is that because Google is inherently smarter, or because the newcomers have a tiny fraction of the investment and usually fizzle out within a year or two? Google doesn't have to be actively trying to kill the competitors for it to have an anti-competitive effect in the market.


Also because Googles is part of the web committe because of Chrome, so it gets to dictate how much complexity is in a browser and stiffle competition like that.


And we are already seeing that people are moving to both ChatGPT and perplexity for search. No one is forced to download Chrome or use Google for search.

Why is an ads company owning a browser any different than a phone company (Apple) or an operating system vendor?


Bingo, time and time again people miss this.

It's already bad enough they are removing ad block functionality and then a day later rolling out new ad-free plans for YouTube, what a cawinky dink


> A company owning a web browser, OS and search engine shouldn't be a problem either

It is when Google compromises the privacy/security of Chrome because of their Ads/OS business.

For example, allowing first party cookies to be a maximum of 400 days versus Safari and Firefox where it is 7 days. These cookies are required by ads retargeting which is critical to effective ecommerce campaigns.

It also supports browser fingerprinting by advertisers which means that every random API Chrome adds (and they add a lot) directly improves their Ads revenue.


you didn't state what the actual problem is...


Can't store tabs or newlines, odd choice.


Reading quick, it's because the tab is used to indicate nested tabular data in a column. I wonder why not just have a zsv in the zsv?


yeah, this is a limitation from the TSV format this is based on - there is an extension to the format that supports storing binary blobs - ref: https://github.com/Hafthor/zsvutil?tab=readme-ov-file#nested...


(Offtopic, but just FYI) it's tenet (principle) not tenant (building resident).


doh. fixed. thanks!


Basically it's the same limitations as CSV.

At least you could use something less likely to appear in data as record sepator (like 0x1E)

Otherwise it's an interesting idea!


0x1E is the record separator, in ASCII precisely for this purpose. Too bad it’s not popular, here we’re stuck with inferior TSV/CSV


I can't easily type that out - and once the format can't be read / editing in a simple text editor, I'm starting to lean towards a nice binary format like protobuf.


Strings can contain 0x1E, so it has exactly the same issues as a tab character but with all the downsides of it not being an easy, “simple” character.


As far as I know, thanks to quoting it is possible to put basically any data you want in a CSV.


The problem is there is no uniform standard for quoting and escaping in CSV, and different software uses different variants.


There is a standard, and it is very simple and easy to use.

Different software uses different variants because we're not allowed to have nice things and devs are too lazy to use something slightly more complicated than .split(',')

Though if you're going to ban some common characters anyway like TSV, you might as well use CSV and ban commas, newlines, and quotation marks.


can't you just do quoting?


https://github.com/Hafthor/zsvutil?tab=readme-ov-file#what-a...

> Any escaping or encoding of these characters would make the format less human-readable, harder to parse and could introduce ambiguity and consistency problems.

Found the wording of "could introduce ambiguity and consistency problems" a bit odd, but guess they mean that even if things are specified precisely (so there's no ambiguity) not everyone would follow the rules or something? And they want to play nice with other tools following the TSV "standard"


Please. I wrote a csv parser a couple weeks ago in an hour or two. It's not that hard to handle the quoting and edge cases. Yes, maybe different parsers will handle them differently, but just document your choices and that's that. How is ambiguity better than completely disallowing certain chars? That's a non-starter


If you could pipe the ripgrep output into an editor, make changes, and have them applied, that would be great. Once you get all the text you want to change in one buffer, it should be easy to make repetitive changes quickly in your editor of choice.


I think you can. You pipe to `vim`, and it will open a buffer with the contents. I am not sure if it will pipe out, though.

Edit: I've now tried it myself with `rep`.

It's not automatic, unfortunately. You can use `vipe` (part of moreutils on my machine) to pipe into vim (or any `$EDITOR`) and to pipe the result out.

However, `rep` wants a pager. If you run `vim` with `rep` at the end of the pipeline, everything gets garbled because `rep` (well, the pager) is the one taking key presses.

To get around this, you can pipe `rep` to something else. I piped it to `cat -`, which forced it into outputting to `stdout`.

So my final command looked like this:

    rg --no-heading --with-filename --line-number "\bstatic inline\b" include/ src/ tests/ \
        | vipe | rep inline y_cinline | cat -
Make sure your `$EDITOR` variable is set correctly for `vipe`.

Anyway, I'm going to add a PR to `rep` to add a command-line flag to output to stdout without a pipe. If it is accepted, that should help.


The author talks as if this isn't documented... https://www.google.com/intl/en/chrome/privacy/whitepaper.htm...

> Additionally, a subset of low entropy variations are included in network requests sent to Google. The combined state of these variations is non-identifying, since it is based on a 13-bit low entropy value (see above).


Author doesn't actually know what this information is being used for. Sure there can be a discussion about whether this information should be recorded at all (say, to determine if your site doesn't work on certain hardware), but claiming it _is_ fingerprinting is baseless.


Thanks, the video link in the pdf doesn't work, but the one here does: https://drive.google.com/drive/folders/0B9SX5ANPyMzTNWgtMzdq...


Does it say they can't nag users relentlessly until they click 'accept'?


Lack of MRU tab switching and preview tabs are two reasons I haven't switched from sublime. Glad they are listening to requests.


Dude read the change log, this is explicitly added in the new 1.7 beta.


I believe he knows that, was acknowledging that those issues were blockers in the past, and complimented the devs for listening to requests like his.


> [](a,b){ ... }

Is valid if a and b are types.


Yeah, I guess that's where the committee is hesitant to deduce parameters without the auto qualifier.


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

Search: