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

Looks like 10GB in the README[0] for a 512x512 image - though the fork[1] from the repo in this PR claims to be able to work with as little as 4GB VRAM.

[0] https://github.com/CompVis/stable-diffusion#stable-diffusion [1] https://github.com/basujindal/stable-diffusion#txt2img


Noticed it was down for about 2 minutes, but up again. As with any big outage, I wonder how much money was lost in those 2 minutes...


OK, so in round numbers, Google makes roughly $65 billion in profit per quarter. Dividing by 90, is around $722 million per day, which is roughly $200,000 per second.

2 minutes is quite the expensive fuckup.


I'd use revenue instead of profit, since their expenses don't disappear just because the site is down.

If Google is walking down the street and stops to pick up a million dollar bill, it actually loses money.


But do they actually cough up 2 minutes worth of profit because they were down for 2 minutes?


I think you're looking at revenue. Year end 2021 was $257,637M, divide by 4 = $64.4B per quarter. Net income was $76B or about $19B per quarter.

https://abc.xyz/investor/static/pdf/2021Q4_alphabet_earnings...


I'm so confused. I honestly think we said the same thing. But I'll go with whatever. It wasn't really a serious point.


Expensive for you, but for Google it is nothing. A bug in their Ad placement stack would cost more.


Google ads outages often have positive revenue impact because with the quality systems down or impaired they may briefly serve tons of junk that pays a lot but users hate.


Slowly mix in 12oz of OKR obsession, some salt, and you have a recipe for low quality ads, fairly often.


Yeah, every time a typeface is shared on here it is met with some opposition since most cost money for individuals/personal use. I understand it's hard to take the time to design a nice typeface and that the creators should be compensated for their work, but sadly it means fonts like these are practically limited to commercial use. I wonder if there's a better way to turn a profit on typefaces - there's been a handful of really interesting ones posted on HN I've wanted to try.


There is a ton of entitlement nowadays, that's for sure.

One should be grateful to those who do release their hard work to the public domain or under a FOSS license, rather than being resentful toward those who don't.

People absolutely deserve to be compensated for their work, if they so choose, and they are absolutely permitted to release their work under any license they want.


I think the problem is more that the costs feel exorbitant with respect to both the perceived effort and utility. 75$ is half a year of Netflix - a product clearly born of extensive multi-disciplinary effort - which can't but feel excessive given that the marginal utility of a font is just so low.

I guess I could summarize as saying that an expensive[0] font just isn't, or more strongly, can't be interesting.[1]

[0]More than a cup of coffee, or so. [1]For personal use, marginal benefits scale differently on e.g. a billboard


Netflix is entertainment, typefaces have a LOT more utility in my life. Maybe I'm weird because I regularly purchase typefaces but $75 is a STEAL. Holy shit.

The commercial license for this is also a steal.

Seems like on here, free typefaces are desired but a lot of these free typefaces are released by multi-million dollar corporations...they have someone on payroll to work on them.

I welcome indie typographers.


I totally get why they charge, and for what they do - can't blame anyone for not working for free - I just genuinely can't picture a value proposition in the product commiserate with the effort.

At least personally, I find fonts are something that normalize very quickly. If I change the font on my text editor, I'd notice for a day or so but then it would cease to be 'a font' and go back to being 'words on screen'. I've only really noticed 'displeasure' at a working font[1] when I've got two machines and the settings wind up desynced so one doesn't look like 'how it's supposed to' according to my brain.

[0]e.g. if Hacker News changed its font I really might not notice.

[1]Exempting crap like Papyrus


> given that the marginal utility of a font is just so low.

Then... don't buy it? I mean, it's not like there aren't hundreds of other fonts to choose from, many of which are free.


You might be interested in futurefonts.xyz. Kind of like Kickstarter for fonts. You pay for typefaces in development. Price goes up as more features and components get added but you get everything that’s included when you buy it and then everything that’s added afterward for no additional cost.


One downside of futurefonts.xyz is that each font comes with a different license. Bit of a headache to keep track of the individual Terms & Conditions as a typical user who might want to use a couple of fonts in a project. Really wish that fonts were sold under more standardized commercial licenses.

At least with many open & free fonts, the SIL Open Font License is practically the standard.

https://en.wikipedia.org/wiki/SIL_Open_Font_License


I remember a while back someone posted an open source alternative [0], the biggest downside being that there are fewer features and must be run locally. Also some of the same problems exist as mentioned in the OP.

[0] https://github.com/konstantinmuenster/notion-clone


Another reference, but the /r/youtube reddit thread[0] for this issue has users reporting globally

[0]: https://old.reddit.com/r/youtube/comments/jsjwzq/youtube_dow...


Seems like just the video player is down - homepage loads with thumbnails, and when you click on a video, everything but the video player renders. What I find interesting is that scrolling through a video still displays closed captions and even the thumbnail preview of the timestamp you're hovering over. Curious if anyone know what causes something like this?


Captions and thumbnails come from a different part of the CDN. Same with Netflix. The videos come from devices dedicated to large files, the captions and thumbnails come from a CDN designed for small files.


How fun - same goes with the previews on hover over timestamps then, I guess?


Most likely. Any small file comes from a different CDN than the video.


Interesting, thank you! :)


thumbnails both static and animated are served from i.ytimg.com/vi/ thumbnail preview is also server from i.ytimg.com/sb/

videos however come from redirector.googlevideo.com/videoplayback


And they excluded Pluto! Guess it's just a faint memory now :(


All planets are aligned within a few degrees actually. Pluto’s orbit is angled quite a bit if i recall correctly (which maybe was one of the reason to kick it out?)


The main reason is that Pluto is an outlier by size, and then we've discovered many more similarly-sized objects...


Also, pluto hasn't cleared its orbit (yet)

https://en.wikipedia.org/wiki/Clearing_the_neighbourhood


    Location: Chicago & Indianapolis area
    Remote: Yes
    Willing to relocate: Yes
    Technologies: Python (Pandas, NumPy, Flask, Django), JavaScript (Node.js, React Native), .NET (MVC, EF Core, WPF), AWS, PostgreSQL, SQLite
    Résumé/CV: Available upon request
    Email: hejames98(at)gmail.com`
I just graduated from university and I am the technical project lead for a local startup producing a React Native mobile application. I have 2 years of professional experience, developing APIs with Django and .NET, web applications with Flask, and automating data entry and email processes with Python. I have also worked on 3 projects as a freelance software consultant (feel free to email me about those). I'd love a full-time opportunity where I can dedicate myself, provide value, and learn from technical mentors.


Location: Chicago, IL

Remote: Sure thing!

Willing to relocate: Yes

Technologies: JavaScript (Node.js, React Native), Python (Flask, Django), C# (.NET Core, WPF, and APIs), SQL (SQLite, Postgres, SQLAlchemy), AWS, Shell Script, Git, Figma, PM software (Jira, Trello)

Résumé/CV: Can send via email!

Email: heja@iu.edu

---

In my last year of university, current experience includes development of web applications & leading a React Native dev team for a local startup (current), as well as producing blogs (generally Flask but recently React) and Shopify sites for student organizations. Self-taught, but looking for opportunities where I can help make something awesome in a group of folks that I can learn from as well. :)


I use OBS Studio with OBS-VirtualCam [0] to attend virtual lectures & hold meetings for my team. I've found it to be incredibly convenient because you can control nearly everything with scenes and the audio controls.

Before meetings start, I can broadcast music and display announcements, and then without having to hit a jarring "End Screenshare" can switch to my webcam and start a meeting. Live demos and presentations are another scene with the desktop/window/browser and webcam. 100% would recommend.

[0] https://github.com/CatxFish/obs-virtual-cam


I'm doing something similar on Linux, although a bit more complicated.

I'm using v4l2loopback [0] to create a dummy video device, ffmpeg to create a stream endpoint that streams into the dummy video device, then setting up OBS to stream to localhost.

It is actually really nice to have the capability to fully control what is going in to the video input.

I haven't run into a need to also change the audio input yet but if it becomes necessary, it should be possible to set up loopback with ALSA.

[0] https://github.com/umlaeute/v4l2loopback


Are you using this with zoom, by any chance? I had no luck trying to capture my Webcam with ffmpeg, add text to it with ffmpeg, and output everything to a fake Webcam with video4linux. Actually, it works perfectly well, but this particular stream I can't open with zoom, even though zoom will accept it perfectly if instead of my Webcam, I add text to a video file.

I suppose zoom detects that my actual Webcam is in use, and therefore refuses to display... any webcam whatsoever, including the virtual one...? Makes little sense but maybe...


I have not tried it with Zoom but Chrome refused to recognize any loopback video devices unless they were capture-only. So the following worked:

    # modprobe -r v4l2loopback
    # modprobe v4l2loopback video_nr=7 exclusive_caps=1 card_label='Screenshare'
where exclusive_caps=1 is the work-around for Chrome (both video_nr for /dev/video7 and card_label should be able to be set to ~arbitrary values). You need to first start writing stream to the loopback device and then it would switch itself into a capture-only device and Chrome will recognize it.


I use it with Zoom as well and haven't had a problem with it. I haven't tried using pure ffmpeg to output to the dummy device though.


Could you detail on how you are creating the ffmpeg streaming endpoint? That would be very heplful!


Personally, the command I use is this:

  # Replace `/dev/video2` with the dummy video device added by `l4v2loopback`.
  ffmpeg -re -listen 1 -i rtmp://127.0.0.1:5050/ -c:v rawvideo -an -pix_fmt yuv420p -f v4l2 /dev/video2

After starting ffmpeg, you set up OBS to stream to a custom streaming server at`rtmp://127.0.0.1:5050` and start streaming.

It's not very efficient and there's a delay since OBS is encoding with h264 then ffmpeg is decoding that. It's not too bad for me because I can use the NVENC encoder but I'm sure there's a way to get OBS to stream raw video somehow.


I don't know exactly what you mean, but I would use something like this: https://github.com/arut/nginx-rtmp-module


how are you getting desktop audio (music or whatever) to get sent to your meetings? I didn't see how to expose the audio output from obs as a "microphone" or whatever to video conferencing software. I ended up hacking my setup together with voicemeeter but it's pretty sloppy and error prone.



Pipewire [0] (the successor to PulseAudio) attempts to streamline this process for Linux. I've been messing with wf-recorder [1] for my screen+audio recordings, and might try to get it to spoof a camera input so I can get any program attempting to connect to the webcam to instead turn into a screen-casting tool.

[0]: https://en.wikipedia.org/wiki/PipeWire

[1]: https://github.com/ammen99/wf-recorder


At least in my case, I haven't had to configure anything. Perhaps it's included in OBS VirtualCam? (see my original post)


JACK audio or ALSA monitor device


Tip: zoom doesn't list pulseaudio monitors in the available sources, and trying to set zoom's input to anything manually from pavucontrol fails silently (even if zoom is set to "use system default" or whatever it's called).

The only way I found to stream audio to zoom is to use a pulseaudio module that lets you use a named pipe as a source. You can then output your sound to said named pipe, and set it as the microphone in zoom. The sound is pretty bad of course.


Have you tried PulseAudio's module-virtual-source? https://news.ycombinator.com/item?id=22754216


Are there any "virtual usb" devices, something like a software usb gadgets to emulate a webcam so that software will have to special knowledge of these alternative sources?


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

Search: