skysight-inc/HackerNews huggingface dataset:
I'm so confused.

from functools import wraps
from threading import Lock

def my_decorator(f):
# Do whatever you want to set up the lock.
lock = Lock()

@wraps(f)
def wrapper(self, *args, **kwargs):
# Do whatever with the lock.
lock.acquire()

# Do whatever you want with the instance.
print(self.greeting)
return f(self, *args, **kwargs)
return wrapper

class MyClass:
def __init__(self):
self.greeting = "Hello World!"

@my_decorator
def my_method(self):
print("And all who inhabit it.")

>>> MyClass().my_method()
Hello World!
And all who inhabit it.

Edit: Wait do you want the decorator, before it ever runs, to add a property self.lock? Are you sure you don't want this to be a class decorator that messes with __init__? Because you can 100% wrap init to do that kind of set up.
Interesting. That's pretty good chunk of time to be car free. Are the rents expensive in South Beach? My mental image of it is a wealthy place.
There's been some research on this! https://insecure.design/
Idk about its security, but proxies' security is much low that owner of the proxy (Domain of the proxy) can see your messages sending while using his proxy, and it backups your messages.
For me, I usually use telegram, it's better and more comfortable than whatsapp.
I dont judge about its general security, but the proxies security is shit as possible.
btw I live in Iran and I have only two ways to connect to telegram, VPNs or Proxies.
But with these conditions, I rather using telegram instead of shitty whatsapp
My reading is that a formal code review is still focused on a single change, but with a more explicit/required process for review. This sentence in the article backs that up:

> Before any code at Google gets checked in, one owner of the code base must review and approve the change (formal code review and design inspection)

That's clearly referring to a specific change, not a review of the whole codebase.

I used to work for a large company. They have homegrown review software with extensive checklists of criteria the code must meet before it can pass review. The software won't let the code progress unless two reviewers go through and explicitly check off every box to certify it meets their standards. I'd call that formal code review.

I work on a smaller team now. We do consistently perform code reviews, but there's nothing actually preventing someone from merging without a review. We also have a list of things to look for when performing a code review, but nothing forces reviewers to look at the document regularly. That process is closer to an informal code review.

I still find bugs regularly when reviewing code. That's both true of other people's PRs as well as my own. I imagine there's a lot more variability with an informal process than a formal one, but IMO informal review is still useful. Code review of course also provides benefits other than bug detection.

I always review my own PR before passing it to someone else. Another commenter recommended that practice, and I heartily endorse it.
I submitted this article because I find it interesting how quickly Asus is launching new product lines while, in my personal experience and in the reviews of others [1], these flagship models are quite buggy. In late 2019 I purchased their high-end GT-AX11000 router having done research and anticipating the support for mesh networks was optimal for my large house. In early 2021 I again purchased their brand new high-end GT-AXE11000 router thinking it would resolve the bugginess I had long experienced with the first router. I was sadly mistaken, and less than a year after its purchase, fighting with crashing and disconnects on wifi and LAN, I sent the AXE for repair (under warranty but I'm paying for shipping), swapping back in the AX during its absence, and already I'm back to experiencing disconnects (I plan to send that one in for repair once the AXE is sent back to me).

I look at this submitted article announcing the new current flagship and I am completely put off. I have trawled the relevant Asus forums [2] for months and seen report after report of people experiencing the same issues I have with their last two flagships, and there is no reason to suspect any difference with this upcoming one.

[1] https://dongknows.com/asus-rog-rapture-gt-axe11000-wi-fi-6e-...
[2] https://rog.asus.com/forum/forumdisplay.php?301-ROG-Routers
Does BJB have some additives so the PU is non flamable? (ul 94 v2 comes into mind)
Sonic 3D Blast has a special place in my heart. one summer in elementary school my buddy and I were in the basement taking turns playing this game, and we'd just got the furthest we'd ever gotten, to some stage we hadn't ever seen before. my younger siblings were running around the basement and my sister tripped on the controller cord, yanking the Genesis forward, causing the game to crash. we were stunned—Sonic 3D Blast is pretty difficult, especially for a couple of kids, and it had taken meticulous effort to get as far as we did. we were about to lambast my sister for her carelessness, causing us to lose hours of progress (the original game has no save system), when suddenly the TV flickered and a blue screen exclaimed:

C O N G R A T U L A T I O N S
YOU HAVE FOUND THE SECRET LEVEL SELECT
SCREEN

there was much rejoicing, and we proceeded to check out all the levels we had never been able to get to, including the final boss. I never knew how it happened until years later I read something about how jiggling the cartridge can cause that to happen, which still seemed like black magic. it wasn't until even later that I found out, from the youtube channel of the guy who worked on the game and later this romhack, it was because the error interrupts (exception handlers) restart the game and jump to this congratulations message and level select screen: https://www.youtube.com/watch?v=i9bkKw32dGw
Yeah, it borked paramount plus and I think hbo max on my apple tv. I just exempted that device and it's fine.

Why'd I exempt my apple tv from the pi-hole? I don't want to screw things up when my wife or visitors are watching tv :)
Whoaaaaaa. It's reactive?? Not sure I'd want that in all situations, but what an incredibly powerful feature.
This is an interesting reading, but it's hardly the generally accepted interpretation. Typically, this is read to reflect the flagrant indifference or ignorance of the ruling class for the plight of the French people.

And ultimately, that common reading is what is being referred to in the comment that spurred this thread. Regardless of the historical minutiae regarding the quote, it's making reference to the anger of a country's people when the cost of living rises and is perceived to be met with indifference.
InfinyOn | Remote (The Americas) | senior and mid level engineering roles | Rust| infinyon.com

InfinyOn, a real-time data streaming company, has architected a programmable platform for data in motion built on Rust and enables continuous intelligence for connected apps. SmartModules enable enterprises to intelligently program their data pipelines as they flow between producers and consumers for real-time services. With InfinyOn Cloud, enterprises can quickly correlate events, apply business intelligence, and derive value from their data.

We're looking for:

- Software Engineer (Cloud Services)
- Sr Rust Software Engineer (Infrastructure)
- Sr Software Engineer (Connectors)
- Developer Advocate

Learn more about these open positions in https://www.infinyon.com/careers/

You could also apply to some of these positions through LinkedIn in https://www.linkedin.com/company/infinyon/jobs/
Roughly speaking they help non-collision injuries (wheel failure, thrown by a pothole, slipped on an icy turn), but don't do much if the cyclist is struck by a car.
Æsthetics do play a rôle here
> Exercise is good for feeling better and burning some calories, but it's probably easier to not eat 1000 extra calories than it is to consistently burn that many calories without giving up

This isn't really true. When you exercise daily, your muscles will be able to store and burn more calories every day (like 10-20% more a day), it is the meaning of being active, not sedentary. The body have pathways that will only activate when you are active yourself.

Also, Lowering the amount of calories ingested lower the metabolism, especially if you are inactive, making it even. The best route is to do both: eat more nutrient dense food,less caloric and use the energy your body already have stocked.
Hey Ben, we think your re-deploy solved the problem, but the old content is still being served from Cloudflare's cache for many people. Can you do a cache purge in the Cloudflare dashboard?

(It just updated for me, looks much better. But the old version might still be cached in some locations.)

The root cause was actually something we fixed last month, but it seems problems can stick around if the site was originally deployed before that fix... we're working on that.
The Github is still getting updates, at least as of November.

I think part of the problem is that most software that you would want to run on Linux from MacOS are also on Windows, and Wine/Proton already exists. As a result, I think people don't really feel the urge to contribute to Darling when they could just contribute to Wine.
Remote attestation has been hypothesized about for decades, and its implications have been thoroughly pondered. The entirety of its functionality is to allow remote parties you're interacting with to know exactly what software you're running. This totally destroys the idea of independent parties each running software that represents their own interests, with neutral protocols mediating between them. So yes, it is perfectly reasonable to indict the technology based on its straightforward implication of further exacerbating existing power imbalances.
I use the same. I'm not sure it will technically fit into the baggage check thingy at the gate if it's packed full but I've never had to check it unless the overhead bins were already full or on a short hop flight with smaller overhead bins where most bags get gate checked.
> Having Linux run iOS, macOS, Android, and Windows applications running would be nothing less than mind-boggling, and would finally get people to stop yelling that nothing runs on Linux

Nothing will stop those people from yelling that, because it hasn't been true in a very long time and that doesn't stop them. These are the same people who say they don't want to run Linux because they don't want to compile their sound card drivers. They are already way outside of rational territory and deep into religious territory. In their minds Linux hasn't changed a bit since 1999, even though if you were to compare mac os from that time period against modern linux, they would become enraged at the unfairness and injustice.
This is not efficient. Each iteration creates a new array instance due to the spread operator.
You would be hard pressed I think to produce someone who truly wanted to do nothing all day. People just want to do something they enjoy, not the meaningless drivel of most jobs. Just my anecdata.
Honestly reading the article Taiwan might have MORE labor protection laws.
> I was rounding in the ICU when COVID hit, we knew this 2 weeks in - so not new information at all.

Sorry, what? You’re telling us that you were treating long COVID patients in the ICU when the pandemic started?

I don’t know if you misspoke or misread the headline or what, but in no way is it possibly true that you were treating long COVID with anything in the ICU at the beginning of the pandemic, or any time for that matter.
I have a windows PC but eSpeak does have a CLI for windows. I'll try it out to see if it sounds familiar. Thank you!
The existence of a pure-consumer class (makes nothing, takes what they want/need) doesn't prevent a "productive society" from existing. If anything, is presupposes the existence of production (otherwise, where the hell are you finding things to consume while sitting in your comfy chair and slurping down nutrients)

From your previous post:

>>There's some argument about the definition of "work", since many of them might wish to do something that would be defined as work if they were paid for it by an employer.

So let's start asking questions about your perception: How many people who want to opt out of work fall into your 2 categories of "doing 'work'" vs "Wall-E Characters" and how many fall into the 3rd category (which you seem to be) of people who want "jobs"? Further, how many innovations do you believe only exist because people were forced to partake the a system that involves jobs and work? My best guess is that there are enough people who have the ego to believe themselves capable of creating and innovating to take care of the rest by doing so, even everyone had all their basic needs met and people could opt out.

I'm not arguing that everyone plug into the Matrix and let "big alien brother" keep us as pets. But if it's an option and people want to take it (while still allowing people like you to produce things), why is that bad? And why is innovation itself a moral good? Improvement =/= innovation.
Really glad it came across that way (that was definitely my intent).
Do you have a separate partition for /home and other for / ?

I do, and this enables me to delete and reinstall any Linux version without changing my home directory.

It seems reinstalling the operating system is the first thing you should try.
Jumpstart is incredibly productive and well tested. You get full access to the codebase, so anything can be changed/customized.

The scaffolds are already updated to utilize the latest Rails 7/Hotwire patterns .

I'm currently developing with it on a personal project.
>None of that will help you pass an interview though!

I submit that you may be interviewing in the wrong places.

Obviously, it doesn't suffice to just point the decision-makers to your repos. You need to pick companies who would benefit from the expertise you acquired, and effectively pitch yourself to them.
Ah ok. I was trying to figure out how you would fix say abc.xyz is announced by someone name squatting. Then the real abc.xyz comes along and says 'hey wait'.
First come first serve fixes someone else coming along and stealing but not squatting. In all of the systems I come up with I always end up with some sort of central trusted authority/machine saying 'this is ok, that is not'.
It is fun to think about how you could build something to last for 10 generations or 1000 years.

I personal would look to the subsurface. In the right location unground dwellings could last longer that human civilization the earth. https://www.atlassurvivalshelters.com/
What if the backdoor is designed by Intel instead of Microsoft?

Spoiler alert, if you have any Intel CPU released after 2006-2008, you have one.

https://libreboot.org/faq.html#intel
Ask HN: Unflag
I just fat finger flagged something on the front page. I didn’t notice fast enough to catch which poor story I had falsely accused of being codswallop.

I’d love to be able to undo this action. It would help me sleep better at night!
It never took off because the lab was a PR whitewash for the patent troll firm Intellectual Ventures, which wanted to appear less criminal and parasitic. They never had any intention of bringing it to market as a product. They've never brought any product to market, only extorted money from people who do.

IV has not, as far as I know, broken any laws, a fact which deeply undermines the legitimacy of the US legal system.
Is fail2ban still a good idea? Any reason it's not mentioned here?
Except that your history is wrong in this case. It's more about politics and Intel's failure, and Taiwan and TSMC's capitalization on that than it is about salaries.

A lot of manufacturing did move to Taiwan in the 70s and 80s because labor costs were lower there then, and because the US was investing a lot in Taiwan because of its strategic role vis-a-vis mainland China. But that wasn't especially high tech, and was decades before TSMC became relevant on the global market for anything but very low-end chips.

The way that TSMC ended up on top was by beating Intel at its own game. It did that at a time where Taiwan was already rich, and the US wasn't actively subsidizing the semi-conductor industry, whereas Taiwan's government was. It seems naive to assume that Intel wouldn't have had a decade of missed deadlines if it'd just thrown more money at the problem. In that this article started off about corporate culture, it's not hard to argue that much of what killed US chip fabrication dominance was Intel's corporate culture (as opposed to cheap Asian labor).

Basically there was a lot of consolidation in fabrication in the US, then with all of the eggs in a couple of baskets, the US-based fabs dropped the ball, and TSMC and Samsung smelled blood and stepped up their game.
I run it with Wine. It is slow and buggy but it works.
With Covid I just need sidewalks they don’t need to Lead anywhere just give me somewhere to walk. All the restaurants are take out and all the city services are shut down so might as well just go for the bigger house.
The bigger house is needed for the Au-pair now, as child care is failing Everywhere too.
Seeing this right now also in the "bikepacking"/"gravel" community. Sure, custom bike bags and nice performance wear are comfort-increasing costs, but very quickly things skyrocket away from functional/utilitarian toward things like brand fealty, collective hype, etc. If you drill down, you will usually not be able to justify an expensive part vs a cheaper alternative (esp. used!), except for things like electronic derailleurs, etc.
In many places in Europe it's 1 month for regular roles and 2 months for leadership.

And it's 3 or 6 months for being fired.
Assuming we wanted to get rid of the Senate but could not do it technically, we could strip it of all meaningful power and responsibility. We could make it an advisory panel for appointments, and an approval committee for war and intelligence operations, and nothing else in terms of legislation.

But yes, there are other things in my incomplete list which need addressed as well - I think the one most critical thing I would do above all others is switch every Single-Member District election from first-past-the-post to ranked choice voting or approval voting.
It looks like your speakers have Bluetooth and pairing doesn’t require anything special, probably someone connected with Bluetooth.
If the gaming PC wasn't on, it's hard to imagine that it was producing the audio signal (e.g. someone accessing the computer remotely, causing it to run a program and play the audio). I'd guess something more like an excessively-powerful AM radio transmission. It's not too hard to find similar anecdotes online: https://forums.tomsguide.com/threads/picking-up-radio-statio...
If you are looking for really general and powerful, then there is the mighty reduce:

[1, 2, 3, 4, 5].reduce((x, y) => y % 2 === 1 ? [...x, y * 2] : x, [])
Do we have data regarding reduced transmission of Omicron based on vaccination status? I ask because (given how dominant that strain is now) that could be the only rational justification for this requirement on the basis of "protecting others." I mean this in good faith. If there is data, please point me to it .
I host a small Discord for devs hacking on cool tech through my company (for an invite go to https://discord.multiprocess.io). Folks here interested in compilers/databases/emulators/big data/ML are welcome to join, introduce yourself and hang out.
Calculus and algebra were easy. I know you haven't written worthwhile software (yet), since you say writing software is easy. Write something worthwhile and then come back and let me know how easy it was.

Although, to be fair, some worthwhile software is easy to write, it's just figuring out what to write is really hard ... but that's one of the reasons why the discipline is hard!
Dev plan?
You can go to Somalia, it is not the place I want to be in but you seem to be obsessed about Somalia.

I will give you some clues: Taiwan, Singapore, Cyprus (Greek part, of course), Estonia, Georgia, South Korea, Switzerland: and probably also many of the places you call a tax haven.

You can go to Somalia if you feel like.
I also use Pi-hole[1] and unbound[2]. You can even use tailscale[3] as a quick and easy way to use Pi-hole on all other networks through a WireGuard VPN tunnel.

[1]: https://pi-hole.net

[2]: https://docs.pi-hole.net/guides/dns/unbound/

[3]: https://tailscale.com/kb/1114/pi-hole/
I agree. Thank you for a pleasant discussion.
Just thought it may be worth mentioning if there are devs from the project here, but Darling is one of the efforts that I would sponsor/donate to (just small amounts for now as I haven't made my millions yet ;-) if there were a more defined road map with milestones/goals.

This is an amazing and important goal! Thank you so much for dedicating your time and efforts to this!
I actually loved the "Day 1" philosophy but you are 100% right, it is no longer Day 1.
If a doctor tells me that I'm allergic to a bunch of foods, and I avoid them for years, I don't turn around and say "you know what, it's been 2+ years. I need to just live my best life. I'm just going to ignore the doctors now and eat those foods".

It sounds like everyone is just desperately trying to make excuses to ignore the experts here.
A good portion of people are all-in on deploying everything to a single cloud. We're not really targeting those people/orgs. But there's also a large number of people who, for whatever reason, need to deploy stuff in multiple places.

The existing subscription isn't really what we're looking to sell. We started offering it because some users asked us for extra support, so we created it for them, but really the main product will be the enterprise version in a couple months.
Actually the situation is bad. See

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

When you add up all the ways that a scientific paper could be "wrong" it's clear that the median scientific paper is wrong.

In middle school they tell you a lot of things about the "Scientific Method" which are rarely practiced by real scientists. For instance there is the idea that you compare a "control" with an "experiment" condition but in the average scientific paper there is no "control". (e.g. even though they control background when they build a neutrino observatory, for instance, they can't run the detector in a neutrino-free environment)
> How much crypto is traded to avoid corrupt regimes and hyperinflation? 1%? 0.1%?

You can't know, and that's the point.

You can leave a country carrying nothing but a seed phrase in your brain and with it all your wealth, if you need to.
Just the fact that governments know that this can happen can change things.
I found lunchclub.com useful for this.
Yeah, that’s true. Dataclass support is severely lacking. Is there a pep on the horizon for this?
Check the type of `type` in Python ;-)
No, they should not force everyone's smartphones to be like a different smartphone.

Instead they should allow users to do what they want with their own device.

That way everyone gets what they want, with the device that they own.
Hypothetically if some scary evil person were to register a domain with some accredited registrar - say GoDaddy or Tucows - could they arbitrarily seize it for "content policy" reasons? Like "your site has Dave Chapelle jokes which we don't like" so we took your domain.

Or do they stand to lose something in a major way if they do this?
so... Mars?
I can tell you with absolute certainty that there are circles of of the web which knew incredible amounts of very accurate and precise details about COVID in Feb/March of 2020. The early mistreatments accounted for vast amounts of preventable deaths while people proposing the eventual correct solutions were deplatformed
This is a pretty cool site. do you happen to know why this is classified under "retail" roadshow?