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

Recently installed windows 11 on a new pc, after many years of linux and mac. Question after question asking for consent to tracking and personalized ads. Why are personalized ads an install step of an operating system?

And am I sure I don't want to buy an Office 365 and OneDrive subscription? Yes, yes, definitely yes, can I please use my computer now? Sure, I'll sign up for a Microsoft account (why?) but please let me use it.

Oh a new start menu, it's in the middle now rather than to the left, sure. Click to open... Spotify, Linkedin, and Grammarly pre installed... Why? And why is a news feed of click bait tabloid articles a built in feature of my taskbar?

Oh, look, solitaire is still available, haven't played it since the days of Microsoft xp, let me check it out. Ah but I can't just play it... First, do I consent to Microsoft and it's 805 partners tracking me for personalized ads? EIGHT HUNDRED AND FIVE?

I swear the adware toolbars of old were less terrible than the windows operating system of now.


> LinkedIn

Press Shift + Ctrl + Win + Alt + L for a surprise


I was actually extra annoyed with that Linkedin icon in that it reappeared after my first uninstall, and only permanently disappeared after a second uninstall. I was half joking that I would return the PC if it appears a third time. Guess the joke's on me...


They just stole your data rather than pestering you and doing it anyway.


I appreciate the no bs hn submission title, it made me click the link just so I can read and laugh at the PR approved title.

I was not disappointed: “Updating dbt Cloud pricing to support long-term community growth” - though I reckon they could have gotten “journey” in there as well.


This made me laugh..

“We actually get community members reaching out to us concerned that we are under-charging them because they want our business to be successful! “

May be it’s true but it’s beyond me that people are asking for a price increase??


I'd be sympathetic to that pitch if it was a one-person passion project, and the increase was from $5 to $10, but a whole company going up that much? No.


lol, they actually put it as a zinger at the end of the announcement:

> Thanks, as always, for being a part of this journey.

I have to say, the tone and execution of this announcement has killed all interest I had in dbt. I don't want to have to explain company behavior like this to my boss when proposing the use of a new tool.


This is my 103 lines python version: https://github.com/cristiandima/scribe. I wrote it about four years ago for my own blog and I still use it to this day.

It does however depend on a few libs and comes with separate html template files for a theme so I am not exactly sure where I stand on the golf course.


Mine is 60 lines of js; the markdown library does most of the work.

https://roadtolarissa.com/literate-blogging/


The most minimal I can muster is 3 lines of Bash:

    for filename in ./posts/*.md; do
        pandoc -s -c style.css $filename -o outputs/$(basename $filename md)html
    done


This can get pretty pedantic. Where do you draw the line between what is the blog generator and the tools required to do it when counting the number of lines of code? One could easily argue in this case you might want to be counting the lines of code in pandoc, not this bash script.

That said, I do think this is the way to go, using a popular and generic tool (notably that you do not have to maintain) to accomplish a specific task. And more importantly, composing utilities together in a succinct and efficient way.

Also, if you used semicolons, or xargs with a pipe, you could make this one line :) newlines can be pretty arbitrary, I wonder if there's a better measurement for simplicity, like branches or statements/expressions.


In that case, here it is in one line, producing byte-for-byte identical output to the snippet above:

    pangeadoc -c style.css ./ -O ./_site
(pangeadoc, of course, is a fork of pandoc that when invoked as above behaves exactly the same as those "3 lines of Bash".)


damn, that's not a bad effort, I like it. But it does sort of feel like cheating ;)

Mine is about 140 lines of bash, and I don't /think/ i'm using anything that isn't part of coreutils.


The real story here is not the 60 lines, but the literate programming style used for it.

Aside from that, this approach is very similar to Marijn Haverbeke's (the CodeMirror author) generator, although your 60 lines does lean more heavily on third-party packages.

https://marijnhaverbeke.nl/blog/heckle.html


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

Search: