skysight-inc/HackerNews huggingface dataset:
The size of batteries in cars is huge too.

I was looking at a home battery, and the tesla powerwall is one of the better ones for a relatively high power output (assuming you can get one somewhere). That's around £10k+ for 13.5kWh, while a volkswagen ID3 has a 58kWh battery and costs £33k. That's less per kWh, and it's also a brand new car. It'd power my entire house for days, and is capable of charging drastically faster (so my home power supply would easily be the limiting factor) and I assume capable of discharging faster too (?).
This is actually super bad practice. I really dislike scoped css.

When I see devs using scoped css the class names always end up like `.box` or `.name`.

Having to think about classnames and writing Sass makes me much more aware of the structure of the components I'm styling.

Also scoped CSS kinda makes you skip the steps of thinking about your component in the bigger picture of your site, since you don't care about having meaningful and unique classnames, then you're much less inclined to think about good guidelines like OP's conventions. What does it matter? Since we can just put a `.box` in the scoped <style> and call it a day.

Frankly I think only JS oriented devs like scoped CSS and frontend who love html/css and the challenges of architecturing good CSS don't egt any benefit out of styled components (since you're using atomic css like Tailwind and/or BEM-style which always "scopes" classnames with the component name.

In general any solid guidelines makes CSS instantly 10x better and that's all most projects needs, and it's often what most projects lack.

SuitCSS works great with Vue in my experience, and can even be linted with postcss-bem-linter :

https://github.com/suitcss/suit/blob/master/doc/naming-conve...
Your commercial VPN provider may collect data about you (and make larger profit from it, not from your fee). I don't mean using commercial VPN is bad, just keeping this in mind.
The article is very vague on the methodology anyway, but the claim that this is the top factor seems genuinely suspect.

Another factor is supposedly the failure to “recognize and reward strong performers“, which would seem to completely contradict the other claim.
Sure, some good points but ultimately, it’s all about proportionately.

One can still receive many financial rewards in not-for-profit organizations: a high wage, payments, etc. without those rewards being ‘unlimited’ in scope.

As an experiment, imagine if the FAANGS and the BATs of this world were not for profit organizations; appreciating the role that venture capital played for all of them so maybe the experiment is that they wouldn’t exist!

What I struggle to understand is the relationship between the financial interests of humans (extending between the two extremes of billionaires on one hand and absolute poverty on the other) and organizational design in the west.

In other words, revenue is not profit and wages are still income, so why does the current system benefit capital (owners, investors) to such an extent.

Could we live in an alternate economic reality - maybe one that is ‘fairer’ if more of our for-profit organizations were not for profits. Or is that a fallacy?
That's just it, also in my neck of the woods. I don't get it. Aren't there companies that just hire one of their own, internal recruiters? That way, they can directly approach people going "Hi, I'm a recruiter for company X, I'm looking for an Y developer and you match our profile. This position's pay range is A - B. Would you like to have a quick chat with one of our engineers to see if this is a match for you?"

Instead I get wordy yet vague e-mails or dodgy calls where they don't dare drop the actual name of the companies until you've agreed to go on an interview. And of course, being recruiters instead of actual engineers, they don't actually know what they're talking about.

I just don't get it. I've only been approached by a 'first party' recruiter once, for Google Docs in Germany. I didn't want to relocate or work on Docs though so that was a pass for me, and that was after the 'shine' of Google had passed as well.
The most important thing to know about making pizza dough, or really any bread dough, is you want stir in water just enough to get it all wet, and then let it soak for at least 40 minutes before you work it. Second is, refrigerate for at least a day if you care about flavor.
Wear OS will work better for lefties eventually
That's a really valid criticism. I'll update it. Thanks!
Companies nowadays seem to have a fixed expectation that if they're not rejecting 99 candidates for every candidate they hire, they are somehow not doing it right.

Looking at it from the candidate's point of view: Being rejected is actually something that psychologically kind of sucks a lot. Even if at the level of higher cognition you are perfectly aware that it's just a numbers game, and that you shouldn't let rejection get to you in a psychological way, we are not vulcans but humans. Rejection means cognitive dissonance in a big way: You applied for the job, so that means you wanted it. But they rejected you, so that means that you're not getting it. It's also a threat to your identity, because you think of yourself as being pretty good, and now there's someone who thinks you're not good enough for them. It just sucks.

So what do you do? You engage in cognitive dissonance reduction. You look at that recruiter spam, and you immediately start looking for reasons not to apply. Because if you find any reason not to want the job, then they can't hurt you by not giving it to you.

Recruiting is broken in a big way: We need to find ways of doing it that causes much less psychological friction.
I am kind of glad there are so many folks on hacker news using Firefox.

I "fixed" it by refreshing Firefox. You can refresh Firefox from [Help] menu item, and choose [Trouble shooting Mode...]
I have a few questions about this!

1. Why? To control where the source code is stored? Restricted access to API's or data? Special compute (e.g. GPU/FPGA's) needs?

2. You have managed to make this workable for yourself. How do your colleagues deal with this?

3. Could you share what kind of industry your employer is in?
> (I know, first world diva problems, sigh... it's still grating though)

The fact that there seem to be more recruiters than competent developers sometimes tells me a diva status is deserved.

The thing is, a recruiter's pay can easily be 10K per placed candidate. Looking at my current pay, that means they only need to place a handful of people a year to earn as much as I do.
The comment was about the way the Chinese government (mis)handled the information sharing, etc., and hence about the possibility of a lab leak, not about the actual disease, which (IMO) is even different, as covid-19 is much, much more contagious. And if the lab leak hypothesis is true, then the first outbreak didn't serve "as a dress rehearsal", but rather as the inspiration for the current one.
Looks like a great tool!
Questions: I think you might be based in the Netherlands(?), how does UXWizz conform to European laws of privacy? I see that it tracks IP addresses, is that legal? How does it handle cases where people don't respond or opt out of eu cookie consent?

Thanks!
So they would propose dark matter+MOND? I will just throw out MOND then because it's superfluous.
New study discovers how communication gaps between doctors/patients can be cured
pgrep -f and pkill -f probably do the trick.
I did this in college, but with personal contacts because I couldn't afford a data plan at the time or a smart phone. I'd carry my laptop around the mall or connect to random open wi-fis from hotels to email people's phones. All to save a few bucks.
Cars are incredibly useful because we spent trillions building our cities to be friendly to cars.
Allow me to share another perspective.

Author at some level would like to blog ("I would love to follow the steps of my idols") but then finds reasons to rationalize a priori why it's not worth it.

These reasons might be valid and it's perfectly fine to drop this arbitrary goal and to go pursue something else. But I think that's not necessarily easier to do, it's difficult to control what we are drawn to. And deciding what to do based on a self-assessment about your chances of success is just one heuristic from many others. Welcoming serendipity and knowing you'll get better at it should be considered too. As Steve Job said, "You can't connect the dots looking forward; you can only connect them looking backwards."

This blog post also reads like wanting the benefits of the outcome without the risk of "failing" or the efforts of the process. I'd argue there are only upsides to trying: so little to lose VS. so much to gain. You get to choose when to stop trying, worst-case scenario is having wasted time exploring some things that were interesting to you anyway.
For the first time for a long time, today, I had to force kill and restart it on MacOS. It just suddenly couldn't connect to anything, and the process wouldn't exit on normal close.
Ah I think you're mistaken. We're talking about when you open a new tab in Firefox the default landing page has a little grid showing commonly accessed sites as well as an additional search/address bar which says "Search with google or enter address"

We have the same feelings on this - I also would prefer an explicitly separate search bar and address bar.

Edit: or maybe I'm understanding Ekaros' comment incorrectly? Either way the thing I'm talking about is that there's a combined search/address bar always visible in FF, and when you open a fresh window or tab there's a landing page which has an additional combined search/address bar.
It's such a common capitalist concept that a word was invented for it: Monetize.
"Facebook could be a force for good".
Bleep
There is a minimal setup of Posthog with postgres and redis, if I'm not mistaken. The default setup is geared towards large scale deployments.

Edit: The base docker compose is: https://github.com/PostHog/posthog/blob/master/docker-compos...
Why? Would you rather hide the problem?
Any excuse to not pay more.
I'm the original author.... and what I can say is that my area of specialization is content management; creating the CMS and the websites that consume from the CMS. So I'm not doing "app development"; I'm doing traditional website development and scoped CMS is not on the table. This little guide for naming things is something I used with teams for YEARS as we were building very large websites for very large companies.

Suffice to say, the SuitCSS convention is extremely close to what we've put into use over the years.
RevPi has a very substantial problem. The IO Module Drivers are made the way, that in order to read I/O, you need to be constantly polling the file descriptor. This causes the load to be very high.

I would liked to see the I/O modules using the standard IIO driver approach (https://wiki.analog.com/software/linux/docs/iio/iio). This would make integration into industry-standard software much more comfortable.
You “always” have HomeKit disabled because of an undisclosed security hole in iOS?
I agree. We don't design cities around my needs. We don't design cities around anyone's needs. We design cities around cars.

There is an alternative type of city design talked about in detail in these videos (the style is a bit like Thunderf00t's, if you don't like him you probably won't like these either):

https://www.youtube.com/watch?v=oafm733nI6U

https://www.youtube.com/watch?v=CLjqGwo5QaA
How do you know the code was unaudited?
why do you feel entitled to good public transportation? If everyone in the US preferred/valued high quality public transportation, that is what we would have. Its clearly not what most people want, and honestly, I don't see that changing much in the next 20-50 years.

Huge swaths of the US population don't live in dense urban areas, and don't have access to public transportation at all.

Try living in the country or even in most suburbs without a car; nearly impossible, and it is impossibly expensive to extend public transportation to every part of the US
Automatic updates are a good default, you can always disable them if you don't want them.
Max Schrems is just incredible. Just look at his Wikipedia page [1] and see how many EU-US data transfers he's challenged successfully.

[1] https://en.wikipedia.org/wiki/Max_Schrems

At this point, I wonder why the EU doesn't consult him personally prior to enacting some law. It's not as if they don't consult with others as well.
German court jails former Syrian intelligence officer for life
This is nice to hear. I've favorited your comment on HN. I do something similar where I try to write what happened to me every day, it makes it interesting to look back over the years.
> What was the total excess mortality during that period?

If you calculate this way, you’ll lump the damage done by lockdowns with the damage done by the disease and use it as an argument for more lockdowns.
> One thing Firefox does make trickier is that it doesn't make clear you're searching your custom search engine

That's true, and an extension helps actually making those behave like real search engines: https://addons.mozilla.org/en-GB/firefox/addon/add-custom-se...
Haha, PTSD from the Gameboy suddenly dying on you isn't easy to shake :P
Isn’t it just as simple as the Faang’s are sucking up as many people as they can and every other company is expanding their tech teams so a) there are fewer people and b) there are more jobs?

This is the first time in my career that I’m happy to finish a contract without having another with paperwork all signed as I know I can get another one with the minimum of effort.

This makes life a lot less stressful and less likely to put up with nonsense, I am alot less stressed tbh.
TSMC to make 3nm chips for Intel at new site in northern Taiwan
It's not a question of avoiding updates altogether, but the sad reality that it always seems to choose the most inconvenient and/or expensive time to do it. If they'd just do as Thunderbird does -- notify me that there's an update and ask me what action I'd like to take -- there'd be no problem. As it is, being unable to choose when the update happens is unacceptable.

FWIW I've tried every documented setting, "enterprise" policies, etc. to prevent automatic updates in FF, but nothing seems to stick.
Every job related thread on HN devolves into a bitch fest about interview questions. I don't know how it works at non-FAANGS, but Google gets literally millions of applications per year, and even the maligned FB gets a few hundred thousands. I have yet to hear any workable alternative hiring process that can cope with such volumes. At these companies, the hiring probability for most individuals must by necessity be very low, no matter what kind of interview/hiring process you'd suggest.
"Out of Stock" is the Authentic Trader Joe's Experience.

It goes along with everything being a long, long way from its "sell-by" date. (Except walnuts, oddly: only ever buy organic walnuts from TJ.)
I'm using Ackee (https://github.com/electerious/Ackee) - it doest everything I need it to, you can self-host it and it's quite fast
Just be careful with -D, as it is relatively easy to accidentally make it possible for other computers to use your computer as a proxy too. By default, GatewayPorts in the sshd config is set to 'no', which will prevent this from happening. However, you or someone else may have set this to 'yes' at some point for some purpose. To be safe even in that case, you may want to use 'ssh -D127.0.0.1:4444' instead of just '-D4444'.

I have accidentally opened an internal network to the public this way. (Nothing bad happened.)
I'm not saying software devs have it necessarily bad in Europe, but a talented individual in Europe is better off doing something in finance (accountant, tax advisor), medicine or law. The salaries will be better, the work more appreciated, and probably better job security.
The fact that giving options is so rare in Europe is mind blowing for such a so called socialist continent. It's actually the U.S who is socialist for its tech workers.
Futex2: Add wait on multiple futexes syscall
So you propose we should lockdown every year to prevent the deleterious long term effects of the yearly flu?
related: https://torrent-paradise.ml/ Also based on IPFS with this HTTP gateway. I find a lot of torrents in there.
Aha, very possibly I'm mistaken.

I wondered why anyone still saw the search bar without explicitly enabling it.
Everyone should be using uBlock Origin anyways. I don't remember the last time I saw search ads, or any online ads for that matter.
Does any other language than Java has the throws keyword to declare exceptions?
In Java you can do something like this:

public boolean DoSomething() throws CustomEdgeCase {
....
}

The compile tells me what exceptions I need to handle and so makes sure I do not forget about some edge cases.

This is not possible in e.g. C# or TypeScript.
I wonder why? I find it very helpful to ensure software quality??

Am I wrong or why is this not adapted elsewhere?

Best Regards,

Oliver
working on https://www.monsterwriter.app/
Aren't large portions of stock compensation at most large companies paid out in years 3 and 4? Assuming you survive past the 2 year mark, you may as well stay for another two years
Wow. With a title like that, why bother reading the whole book! :)
What if the scraping occurs as part of web crawling?

Suppose I point a scraper at site S1, which has terms of service that say scraping them is OK, and my scraper finds a link on S1 to S2 and follows that, and follows a link from S2 to S3, and so on.

At some site Sn far enough down that chain is it really possible to use the scraper accessing that site to infer my intent to accept Sn's contract? The connection between me and Sn seems tenuous enough that it might be hard to even argue that I intended to visit Sn, let alone use that to infer acceptance of their contract.
I use Countly for all my websites and mobile apps, self hosted: https://github.com/Countly
DBA friend asked for help with a critical performance problem, let me in the building as guest. I identified the (network) problem in minutes, his manager walked by and ask how the issue was going.

When my friend explained I spotted the solution in minutes, he offered me a job on the spot.

Applied for a job in another country. Was invited within days. I landed the job instantly since I helped a guy with a big zombie network problem years ago via a mailing list. He was now the hiring party and recognised me by my background.

Re-met a school buddy while bringing my kids to school, where he brought his. Needed help with a large, multiple year, consulting job. We rocked it.

Met some googlies at a conf I attended while on holidays. Had a couple of great conversations. Was "interviewed" on the spot and accepted the job offer 2 hours later. Wife not so happy since we had to move countries again :)

Coming to think of it, most of my jobs I landed "unusually" compared to how that process seems to go for many people.

Edit: not all went well, BTW. Once I was interviewed and some HR person wanted to explain the results of a "test" I had done before the interview. Told her no, I have no interest in what looks like an astrology drawing. She instantly left the room and after 10 minuted I figured I was not the ideal candidate and left the building unattended.
I thought that was Amazon specific?
I refused a 30k increase due to a bad commute.
More information on how txtai builds SQL statements can be found here: https://neuml.github.io/txtai/embeddings/query/#sql

There is also an example notebook: https://colab.research.google.com/github/neuml/txtai/blob/ma...

At a high level, txtai uses a similar clause embedded in SQL statements. For example, "SELECT id, text, score FROM txtai WHERE similar('feel good story') AND text LIKE '%good%'". This statement is parsed and the similar clause runs against the approximate nearest neighbor index. The result ids are then loaded into a temporary table and the SQL statement is dynamically rewritten to change the similar clause into "id IN <temporary table>".
This is supposed to be a side show for Google, they are not getting paid neither are they using your data behind your back.

Now if that was really true, it shouldn't really matter for them to drop this service. Instead, I think we will see them investing millions to overrule this.
You know, I kind of agree with you. When using Laravel I felt a lot of the time I was fighting against PHP rather than leveraging it. Back in the 'old' days when I was using PHP4 in the way you describe, PHP made sense as a choice compared to, say Python, for certain use cases. Today, I have a hard time coming up with an argument why using modern PHP and Laravel makes more sense than Rails or Django. Maybe we need a post-modern PHP movement focusing on bringing PHP back to its roots.
Probably a lot cooler gear... But perhaps not feel as incredible as the 8-bit stuff felt back in the day. Kids nowadays were born with tablets, LCD TVs, mobile phones and photorealistic games, so the changes they observe during their childhood are largely incremental. VR glasses are cool, but with more primitive graphics than regular games.

The videogame experience that started in the 80s was a revolution in electronics, not an incremental change. That felt like Aliens had come to Earth to give us something coming from the future, it was a paradigm shift. My kid looks at his Playstation with excitement, but I've never seen the absolute awe that struck me back in the 80s when I first saw, for instance, Dragon's Lair... Or even, somewhat later, the NES, which the brought Arcades home.
I Think you can put this into single local HTML file and instead of polluting your bookmarks with thousands items make just single keyword bookmark pointing to the HTML and let it handle all the functionality in embedded JavaScript.

The only difference would be one extra space needed for invocation, i.e. instead of `!github test` you'd need to type `! github test`.

I tried this about ten years ago and it seemed to work.

From https://gist.github.com/myfonj/36a2a72a8ac6b6172ee32aae271e7... :

/*
howto:
# place this file somewhere on your disk
# open it in Firefox
# bookmark it, so it's address is like
# file:///c:/web-root/utils/firefox-shell.html
# edit new bookmark: append '?%s' to its URL, so it becomes
# file:///c:/web-root/utils/firefox-shell.html?%s
# set some handy Keyword, eg. '>', '#' or '!' for it
# try it. you should see a list of defined 'bookmarks' (testing only)
# extend, tweak.
# remember that you must use space after the main Keyword: "> command argument1 argument2"
*/
Is yubnub not working anymore? Looks operational at first glance.
As a productivity tool, i don't see the need to self host email.

I used to self host email about a decade ago, but considering how complicated it can get with blocklists, residential IP blocks and just functional spam filtering, it seems to be much better to just leave it to dedicated people. I'm aware that people self host email for privacy, but email is not a private communication form, at least not in 2022. Any email will have at least 2 parties, and if you don't control the remote end, your privacy is non existing.

Up to 30% of all emails will go to Gmail alone (https://emailanalytics.com/gmail-statistics/), and then you can add all the Google Workspace users, Outlook (personal or business users), and you'll easily end up with 60-70% of all emails at some point ending up with one of the cloud email providers.
If every vehicle could charge and return to the grid, the grid would need major improvements or else it will fail. The electric grid was not designed to have distributed power generation at a scale like this.
Hmm a modicum of talent? It's pretty hard to get in. Doesn't necessarily take talent but it sure helps. Either that or the willingness and ability to grind out so many interviews you actually become good at it. Whatever the case not everyone is capable or event want to go through with it.
And its not as if FAANG are a good representation of the industry, maybe 5% of devs work there?