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

Yep. 3 generations of dell for me, every time a different problem. I miss my samsung ativ book.

Next one will be a framework laptop.


Very useful, especially since CBV have terrible ergonomics. They have hidden code path, state and flow everywhere in their thousands methods, MRO to follow, they are verbose and hard to debug (good luck putting a breakpoint in the right place).

I miss generic function views, but you can almost use CBV like them: in your view fuction, do "return YourCBV.as_view(params)" and you are good to go. Much easier than subclassing.

Of course, with FastAPI, we know that there an even better API for that: DI. It's more composable, easier to follow, to test and with less side effects.

django-ninja (https://github.com/vitalik/django-ninja/) already offers a lot of that for Django, and I hope it will become a huge success. It is however, currently thinking of using classes somewhere to reuse init view code, so I made a proposal to extend the API design around more flexible approacheshttps://github.com/vitalik/django-ninja/issues/15#issuecomme...

I'm against OOP, I use it myself, but you should use it for what it's good at: multiple operations around a central state, crafting an api with __dunder__ methods, and namespacing related data and operations.


I wonder if it listen to audio or use the video feed to record noises you make, or your pupils dilatation and evaluation the autonomous nervous system arousal that emerges from the reaction to the content.

Because time spent, scrolling rhythm and likes seem like too weak of a signal.


I don't understand how it works for people.

I tried for what felt an eternity, and it kept showing me terrible content.

So I removed it.

Is there something that is not made to turn your brain into a sponge on tik tok ?


You have to actively like content you like and follow people you want to see more of. Have a motive and plan of what type of content you want to consume and you get that kind of stuff.. I like and followed people who are nearby and visit beautiful places close by... This is like 80% of my feed and I like it...


My experience exactly, and my friend's experience too. I'm inclined to think every "tiktok is soo great after you put time into it" comment I see is some form of Stockholm syndrome..


The content you like might not be very available on tik tok. From personal experience, it’s able to hone down on niches you like pretty quickly.

Most impressively, without having an account or liking specific videos, it can narrow down the information. Especially since they have to use some kind of algo to contextually understand videos without hashtags or subtitles.


> Most impressively, without having an account or liking specific videos, it can narrow down the information. Especially since they have to use some kind of algo to contextually understand videos without hashtags or subtitles.

I think they use some kind of object recognition to sort videos . Like if you watch videos with one particular object, you are more likely to see videos with that object.


You have to actively engage and be focused or you'll get lost..


Your experience, while worth noting, is clearly atypical.


I understand that I probably have a niche taste, been a nerd and all, but still.

Maybe I'm not the target?

Do they have a lot of millennial users or is it mostly for the younger generation?


I found that my initial foryou feed was pretty terrible and I ended up in political content pretty quickly. Once I nudged the algorithm by searching for my own hobbies, my foryou feed has been pretty great. I think probably every now and then it gets stuck in some local optimum, but it's pretty responsive to when you search for a specific niche going forward IME. Ultimately though like other commenters have mentioned, the content can be pretty shallow compared to other media


> Ultimately though like other commenters have mentioned, the content can be pretty shallow compared to other media

My one time experience felt like browsing the youtube trending page continuously. Which I know must be something a lot of people like, because the videos in there have hundred of millions of views.

But this kind of content is the opposite of everything I enjoy. Does tik tok show a different face deep inside the algo tree?


TikTok has lots of content for nerds (though I think they prefer the term neurodivergent). But there is certainly a trend that TikTok content is comparatively shallow. For example Hank [1] and John Green [2] have quite nerdy content, but it's much shorter less developed thoughts than their youtube channel [3]. Or NileRed: his most recent TikTok[4] (eating capsaicin) is in no way comparable to his most recent YouTube[5] (synthesizing cotton candy from cotton balls). In terms of nerdy content it probably shines more with life advice than with science facts, simply because of the short video format.

Not sure about the age group, most of TikTok is probably targeted at ages 12-40.

1: https://www.tiktok.com/@hankgreen1?lang=en

2: https://www.tiktok.com/@literallyjohngreen?lang=en

3: https://www.youtube.com/c/vlogbrothers

4: https://www.tiktok.com/@nilered/video/7063145462794145030

5: https://www.youtube.com/watch?v=vHuFizITMdA


Speaking as a tiktok-using millennial nerd, it only took about a week or so for my feed to exclusively send me content on D&D, tech advice, science fiction skits, history lessons, and the occasional book review.

The content is there, but sometimes you do have to help the algorithm a little by using the search feature and liking the sort of videos that you actually want to see.


I think it's just broken in some cases for whatever reason. Like 9 months ago I mentioned trying out Tik Tok for some weeks and despite lots of "not interested", likes etc, I got swamped by 99% garbage, including videos I specifically said I don't want to see.


There were already a lot of features like that:

- context manager

- decorators

- inline conditions

- else keywords in loops, which nobody knows even exist.

- raise from (empty, or with params).

- yield from (espacially with send())

- comprehension lists

- advanced unpacking. This is valid: (a, (b, *c)) = [1, {*range(4)}]

- advanced slicing. This is valid: foo[2:8:2] = bar[:4]

Most of which existed in Python 2 already !

But it has never been a problem before. Why ?

Because the community doesn't abuse features, it's part of the creed. But also because half of the python coders don't even know they exist (they are just trying to solve their problem, but dev is not their job), and are productive without it, so they just don't use it.

In fact, a lot of tutorials on the internet never even mention those.

Since the walrus came out, I used it once, and never saw it on a client code base.

But when the community do use the features, they usually make things better: decorators made flask/click what it is, slicing made numpy/pandas what it is, type hints made fastapi/pydantic what they are.

Those worries are mostly that: worries. They don't reflect what happens in practice.


You are right. Let's be real, if you're teaching Python to kids and bootcampers, you're going to only cover a little bit of what's in Python 2, and that's fine.

The other stuff is mostly designed by framework authors to by used by framework authors. And having nice libraries and frameworks is what really makes this language so useful for everyone.

It's trendy to claim Python is meant to be some kind of "pure environment" where the source code of Flask or SQLAlchemy or NumPy should just like a tutorial, but Python has never been that in the 10+ years I've been getting paid to use it.

I thought that was the aspiration of Go. As far as I could tell, Hacker News commenters hated Go and now it's mostly ignored and forgotten here.


I wanted to joke about still waiting for COME FROM to be added to Python, then I found it that someone already did that...


As a freelancer, for me, it's very nice.

But it's definitely more advantageous if you have cash to spare, and freedom in your work.


- you can work anywhere in the house with your big screen. In the bed, then on the thread mill, then on the desk, then standing. No need to change the setup.

- you can use it in any luminosity. No reflection if you code, no big light to wake up people sleeping if you watch a movie.

- you can code in any posture, including on your back.

- you can go in nature and code, read, get into a meeting. I really want that. I miss the sun on my skin at the office.

- you can go in full immersion, with no visual distraction what so ever.

- you can have your big screen when traveling. Want to work near the beach in the south of France ? Sure your can, why wait for the holidays ? You can be productive in the hotel room with your full setup, and then enjoy a dip in the water then a lunch at the local cafe.

I wouldn't make it my only setup. It kills social interaction. I like my pen and paper. But the options are nice, if you can afford it.

It's definitely something to improve some aspects of work, not a shift. And you will enjoy it more if you are already fortunate to have money, and freedom in your work.

But there is a place for it.


I miss the sun too but I can't imagine being outdoors with those and enjoying being outside. What about the sweat on my face because of having a heating device strapped onto my head ?

I'd rather have an long battery life arm pc with an e-ink screen.


> No reflection if you code

You may be overestimating the state of vr lenses.


Consumer lenses, definitely. But with higher end lenses like in our headset or Varjo, XTAL, etc. there are very little image errors.


Yes, the video is a total cringe, I don't understand how they could imagine it would help them sell the thing.

But I could totally see myself going into the forest or the mountain in a remote area, and enjoy working remotely in nature. As long as I know there will be no humans around.

First, as you said, it's very awkward. It can already create social tensions to have hearphones on in public, so a whole mask...

But it's also dangerous. People are idiots, sometimes means, sometimes just clumsy. And I am an idiot. With my eyes free, I manage to do plenty of damage, breaking glasses, hitting people by mistake, pouring liquids in the wrong places. I know with a certainty I would cause trouble with a helmet on.


That's the total opposite for me.

The linux desktop is the killer feature. Why recode 30 years of a rich ecosystem when you can benefit from it now ?

You can use a web browser with all your extensions, code with a real local vs code, issue git commands in a terminal, watch any video with vlc / download them with youtube-dl / torrent them, get your emails with thunderbird, in a huuuuuge screen, open all my 1000 of different chats, play on steam while voicing on discord, query a postgres db, render a scene in blender, ssh to my work server and enjoy my ebook collection using calibre.

Why would I want a limited, badly supported, barely developed system?


> You can use a web browser with all your extensions

Since WebXR is not supported yet, this breaks the value proposition for me currently, as all VR content delivered via browser will not yet work. As I said, once this issue is solved (I think they are working on it), I'd reconsider.


Yeah, we're working on it. Supporting embedded XR content is a major target.


No, but you can wait a few days and reserve judgement until it's confirmed by several sources. It's not like it something you need or could act on.

Today, the news arrive fast, and the reaction to the news is instant.

On the other hand, after several years of covid crisis, my opinion on the whole thing is very much in flux, and when I discuss it with people, I don't give definitive statements, nor raise an outrage.

So yes, the reaction here seems it could be a problem... if confirmed :)


Where's the sources confirming this post? Shouldn't you wait a few days and reserve judgement? I (and I assume you) still don't have any astronomer credentials, for all we know this post is a load of bullshit and the anti-Elon posters were right!

Of course, these questions are rhetorical and to make a point. But I really dislike how when a mistake like this happens people roll out the "oh you should have just waited for fact checking" when it takes me 30 seconds to click their profile and see them commenting on news articles with no sources hours after release.


Hence the "if confirmed :)".


Yeah, I saw that, it was a funny joke. But I hope you aren't seriously implying suffixing your comment with a joke about confirmation changes the fact that you're doing the exact same thing as the anti-Elon comments you're complaining about - attacking someone based on news with little/no additional evidence.


> Today, the news arrive fast, and the reaction to the news is instant.

The reaction? Some people yapped in the general direction of Elon and SpaceX. They are grownups, they can take it.

Even with the original information it is and was a a big nothing-burger. Even if it were true nothing would, should or did come to adversely affect Elon or SpaceX out of it.

Maybe just don't worry about it?


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

Search: