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

$30 is “less than a dinner for two”?


For a grad student. It's about 2 burritos in Berkeley. :)


Just started using it and I really appreciate the simplicity and design! I would, however, appreciate if I could track more than 3 "habbits" (not much more, I actually want to add just one more) even if that might be a bit more tricky to implement while keeping everything as simple and sleek. I will continue using it, happy to share feedback when I have more!


…I still haven’t switched to lua, all I need still works fine


Oh that’s super interesting, where in the VFX industry is Lua common? I typically deal with Python and maybe Tcl (I do mostly Nuke and pipeline integrations), and I can’t think of a tool that is scripted in Lua. But I’ve never worked with Vega or Shake or what this is/was called


Katana uses LuaJIT quite extensively for user-side OpScripts, and previously both DNeg and MPC (they've largely moved on to newer tech now) had quite a lot of Lua code...


Oh, I had no idea! I don’t have much to do with Katana, I just assumed it was also all python


It used to in older (pre 2.0) versions, but due to Python's GIL lock (and the fact Python's quite a bit slower than lua anyway), it was pretty slow an inefficient using Python with AttributeScripts, so 2.0 moved to Lua with OpScripts...


How can I swap ^W and ^D in Firefox? For Chrome I found an extension that works (…worked?) fine, the only thing for Firefox I found would be compiling it myself, which I find a much worse experience than compiling Chromium myself (neither of which I like doing)


Patch localization/en-US/browser/browserSets.ftl in your browser/omni.ja (a .zip with a weird file extension), it contains stuff like: close-shortcut = .key = W

See: https://github.com/SebastianSimon/firefox-omni-tweaks how it can be done.

I do this myself as ctrl-n has to be new tab for me, forever, and firefox broke the old keyconfig extension years and years ago. (I had ctrl-n create tabs with an external window manager back in netscape 4 times and opera (pre-chrome-fork one) after that.)


Amazing, thank you!


What do those do?


^w is delete word in vim/bash/everywhere else. It’s terrible whenever I accidentally type this in the browser and the window closes. I typically close terminal windows with ctrl-d so I have this mapped in my browser as well. It’s really muscle memory and I do not want to change it


By that same logic, ^w is used as close window everywhere else


Not for me, I hardly use anything GUI apart from my browser. Can’t actually think of anything right now apart from some niche tools. Either way, the fact that I can customise it that easily in Chrome but not in Firefox is a huge factor why I don’t like using Firefox


Not in Windows (pun unintended) where it works only in Explorer.


I haven’t checked the website or who is behind it, I came to the same conclusion that donations to WMF do not actually benefit the operation of that website a couple years ago and stopped all my donations.

I feel it is dishonest to request donations this aggressively and painting it like the website might shut down otherwise, which is not true.

Finance whatever groups you want with that money, but don’t make it look it it would benefit the website - But please, explain to me, why should I start donating again, maybe there is a factual error in the article or my own research? Or is all you come up with really just “something something the right”?


Check out this deep learning stuff people talk about. Torch is written in C++ using plenty CUDA (which is arguably a dialect of C++), and deals with all the resource management and hardware interfacing. People use python then interfacing with it.

I don’t particular like how torch is designed and written, but that’s a different story. TensorFlow is c++ as well, in case you wondered.

But maybe that all does not match your requirements for system programming? Try Haiku, at least back when it was BeOS I really liked that the whole OS was written in C++. I have a colleague who wrote some microcontroller code in C++ because he likes it so much and I don’t think there’s anything wrong with that either.


Torch is as far removed from system programming as humanly possible... CUDA is a library for application development, not for system programming.

The whole OS was written in many languages. It's hard to think about a mainstream language that wasn't used to write an OS. I think, you can even find OS written in PDF, if you persist at your search. This doesn't mean that PDF is a good system programming language, or that it's worth considering in this domain...


I think the term “system programming” is not sharply defined. I consider e.g. torch and CUDA more towards it as it requires knowledge and understanding of hardware and resources and they are rather providing an interface for the next layer of developers. Is pthreads or openmp written by system programmers or application programmers?

PDFs are if I’m not mistake not turing complete, they omitted those PS features from the standard for various reasons, so you probably can’t write anything reasonable in “PDF” (unless you use embedded JS etc)


does this include vectorized code? I stopped using LUTs for anything “trivial” probably 20 years ago because I rarely see any improvements (in particular where it would benefit the overall runtime noticeably).


> The million euros for the TikTok & social media storm that got him elected

I just read that it was approximately 360000 Euros paid to TikTok influencers, not millions. Doesn’t change the fact that somebody paid them, yes, but apparently not Millions. Or my source was wrong, am I missing something?

EDIT Thanks for downvoting - I did not want to defend anything, I just read in an article about the court ruling that it was this number that appeared quite low to me, that’s all, I was wondering.


If you can buy presidency with 360k euros or even 1M euros on TinTok likes it reflects how bad the other candidates must be.


I think this is the wrong way to think about it.

I have no idea how much it costs to run a Russian or Chinese disinformation group, but let's suppose its 360k Euros. That's like the annual salary of 20 higher-income Romanians. If this was just a one-month campaign, that's like 240 TikTok users making more than double the median income in Romania. If they just worked full-time to push stuff out, maybe using a bunch of different accounts, yeah, that's conceivably enough to swamp Romanian TikTok. Keep in mind, there's only about 19 million people living in Romania. How many committed TikTokers are necessary to sway a Senate election in California?


Here is some analysis of the court documents:

https://news.ycombinator.com/item?id=42348942

"They document a social media campaign supporting Călin Georgescu that involved around 25,000 TikTok accounts coordinated through a Telegram channel, paid influencers, and coordinated messaging. "


or a single Romanian expat who “made it” in Silicon Valley (I think this would be also illegal though)


you're an expat only if you are an English native speaker, else you are an immigrant. Hence, no such thing as Romanian expat.


Is this a jab at (supposed) American racism/xenophobia? Because by definition I'm pretty sure being a native speaker is not a requirement for being an expat

>An expatriate (often shortened to expat) is a person who resides outside their country of citizenship


"Expat" is mostly an English (British) thing, much less US. I'd have called it by name, e.g. US exceptionalism/centrism, if that was the case. ("Expat" use rose during the British empire)

In the hypothetical case of a Romanian working in the US, "immigrant" would be a correct term (unless they obtain the green card and become a citizen)

Expat and immigrant are effectively the same thing under most jurisdictions... yet expat carries less stigma and people would prefer to call themselves that way.


or perhaps that sum is incorrect, or perhaps it was state actors with power to force algorithm changes on TikTok or to tiktok via other means without payment.

external state actors interfering with elections is a perfect reason to invalidate.


That’s why I was asking. I’ve got this number from a German article on the court ruling. I do not know if this is in fact the number specified in the ruling, or whether this was a “leak”, or “misinformation”. So I was hoping somebody could elaborate a bit more as I don’t speak Romanian and haven’t really followed the whole thing, and the OP I replied to mentioned “millions”

Edit: https://archive.fo/tAcG1 (nzz.ch paywalled) is the original source, I would argue NZZ is very trustworthy. They quote the intelligence report. You would need to translate to English. Maybe you have a different source that puts this all in question, which I would appreciate

Edit2: Here’s ABC as I just ran across it, mentioning the same number https://abcnews.go.com/International/wireStory/romanias-top-...


here's a first part of some good investigative journalism on this: https://snoop.ro/strategia-cu-bani-rusesti-cum-au-ajuns-recl...


the issue with downvoiting is a rather blatant attempt of playing a victim: "i just read... xxx moeny". It can be any number, mostly undisclosed.


I find articles like "if somebody argues with you, here is what you should say" always so weird

EDIT and as expected, very hilariously bad arguments

1. If people mention that charging EVs take too long, reply that they are impatient "curmudgeons" and they should anyways charge at night at home

2. If they can't charge at night at home, get a hybrid (WHAT?)

I guess family dinner with the inane "curmudgeons" saved!


> 2. If they can't charge at night at home, get a hybrid (WHAT?)

It's entirely possible a BEV doesn't fit someone's lifestyle. This is a well known issue of BEV's - that charging takes longer than filling up a tank at a gas station. In this case, the advice to get a HEV is perfectly fine if you want some of the benefits of a BEV without the inconvenient issue of wall charging.

Also, if the distances you drive are small, it won't make financial sense to get a BEV, which are more expensive than ICE vehicles of the same size.


Are they even in the market for a new vehicle to them? Maybe it’s better to learn to change the topic to something else.


These articles are a response to bad faith brigading of bad arguments.

Maybe you should focus on the behavior that makes articles like this necessary?


I'm lost, on what behavior do you want me to focus on now?


I think you can figure it out from context, if you aren't one of those bad faith actors.


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

Search: