skysight-inc/HackerNews huggingface dataset:
> Any device or software outside the organization cannot be trusted

O_o

https://en.m.wikipedia.org/wiki/Zero_trust_security_model

"... sometimes known as perimeterless security, describes an approach to the design and implementation of IT systems. The main concept behind zero trust is “never trust, always verify,” which means that devices should not be trusted by default, even if they are connected to a managed corporate network such as the corporate LAN and even if they were previously verified."
You can do immutable data structures with OOP. The problem is that you can also do mutation.
Maybe it’s a wallway
This should be obvious to most people agreeing with the article, and I came here to say what you just said. I use async in a webserver environment only, where it does shine, and I use Celery + Rabbit for synchronous tasks (executed asynchronously via webserver).

As long as I keep my async code on the webserver end, and my sync code elsewhere, the project seems to stay organized well. Otherwise, I tend to lose sight of proper naming, etc.
That would be funny, and it would certainly feel good, but if you want to actually convey feedbback it's counterproductive
At this point I'm not sure what will happen when China eventually attacks Taiwan. It is a vital resource for the USA in terms of their sheer semiconductor industrial output. It doesn't really seem that the USA would get involved in such a fight though, or make more than a token effort. I think Taiwan missed their chance in the 80s to become a nuclear power when China was busy with other stuff, now it's too late and they are all but doomed to eventual takeover by China.
I though most of the point of vaxing children and other low-risk groups is to stop the spread, not for their own individual safety. Reducing the chance they'll infect grandma. And reducing the circulating pool of infections to prevent more virulent strains from developing. Have I got this wrong?
Yeah like being nagged on that you should async your fstat calls, which makes them four times slower.
The author was obviously aware of the possibility that "one of Pfizer's vendors did a bad thing" would likely be turned into "Pfizer bad/scary!" (with the implication that doubt should be cast on the vaccines/meds) as it is here.
> It forces you to stay low fidelity. Because everything is rendered with rough.js (I think...), objects look sloppy and hand-drawn

Um...what?

Frankly, stuff that looks like this just annoys me.
Sorry for late answer.

I can give my perspective only from C# OOP perspective, which is my primary language.

Dependency injection for me means, the constructor determines the dependency, and the injector will resolve what the constructor requires.

The advantages of this are:

1. Writing unit tests, I know exactly what I need to mock, enforced by the compiler. I don't ever run tests and get an error because I forget to setup a service.

2. (In my opinion) It provides hints that a class has too many responsibilities and should be broken up. I can run a linter based on amount of constructor parameters that it is probably doing too many things.

I strongly hold the opinion that the constructor defines everything needed by a class. At my company we use a mix of DI and service lookup because 'thats how its always been done', and it really makes testing unnecessarily harder. They decided when a constructor had over 3 services, to remove all the parameters and just pass a service locator because it 'looks nicer'.

So that is my experience.
It scales just fine in the 'up' direction.
I'd love to see what one of these would be like with a modern AMD APU or a modern arm chip. I'd love to have a laptop with days of battery life and decent performance
Thanks for the related links!
It just shows what an amazing job to whomever leads Excalidraw does. They should be the poster child of PLG GTM done right. Fast time to hello world / time to value, doing the small things that make you not just use the product, but love the product. The difference between an MVP and an MLP. It's interesting how it's so rare that it makes so many of us praise them for no apparent reason other than spread the joy. p.s. that issue with worrying about pixel perfect alignment and having them do it "sloppy" so you don't worry about it, I wonder if that was intentional, if it was, genius move, as I think it's a fair assumption that wasting time on making things pixel perfect is something a lot of us suffer from...
Math is racist because thinking is hard
I was halfway expecting to see a “This Baby Name Does Not Exist” generator.
On the other hand, "they would not have been a good fit" sounds suspiciously like a blanket, non-falsifiable denial of failure. I other words, bullshit.
How to Write a Privacy Policy
I'm getting a 404. Can you estimate total spending on monoclonal antibodies?

My back of the envelope math suggests less than a billion. Peanuts compared to the recovery bills
When I'm the interviewer, I don't do whiteboard/CoderPad exercises. As a candidate, they make me nervous.

But, I do think they can be a decent part of a larger interview process.

I've had some very reasonable whiteboard exercises where the interviewers were very clear that the problem was tricky and I wasn't necessarily expected to solve it - the emphasis was on conversation and hearing my thought process. I actually enjoyed some of them.

If you can start off on a contract, do that. It is
the best way to even out the power dynamic of the
interview process.

I agree in principle but in practicality, there are some difficulties such as needing healthcare coverage for my family. (Yes, the US system of employer-subsidized healthcare is utterly broken, but that's what I'm dealing with)

Counterpoint: why not just just take a fulltime job and quit / move on if it's not a good fit?
Fascinating article to a layman who has no idea what goes on in the bowels AdTech. The scamming and detection cat-and-mouse game seems like such a zero-sum waste of energy/talent/servers/everything, but I suppose while there's opportunity to play these games and shovel money towards oneself, it will keep attracting people. And nobody seems to be losing except ad buyers (monetarily) and end users (via a shittier web experience). I guess my question to the author would be: Once you found out what it really was that you were working on, what did your internal ethical dialog sound like, and how did you justify to yourself continuing to work on it?
Hey! Whats the use-case?
Why this is on HN? This isn't a modified Mavic or this news don't improve my knowledge and isn't any topic to talk about.
According to the article that's exactly what they did. Nominally in charge but actually completely ignored, she was quite literally hired as a figurehead due to her pedigree, not because of her capabilities.
> to transform async code into sync code

oh my goodness..

So now we have sync code, that we've made into async code, that we now have to turn back into sync code! It's just workarounds upon workarounds upon workarounds. This is beyond the pale.
I've killed those comments now.
I press the resume/suspensd button on my laptop. I explicitly disabled the suspend and resume on lid close. Maybe I suspend and don't close the lid (hot machine after something CPU intensive) or maybe I fail to fully close it? A button is safer.
Can you point me in the direction of studies comparing side effect risks for young children against COVID-19 risks for children? Presumably there's such a thing that you're basing your opinion on. I would find that useful, given that I have an 8 y/o who is now vaccine-eligible and her mother and I are discussing.
This website used to be clearer on correlations versus causation. I'm not going to die on this hill because food is likely a factor, but you do understand my fundamental point of correlation between factors when one of them is literally always happening, yes?

Interestingly enough, one of my original questions is answered in the Wiki page. Food did rise more in the Arab world than other parts of the world (remember this from my original question? Or was it just ignored?), therefore the correlation might imply causation. Despite this, notice how this specific thread is about World prices and not trends in specific countries. Meaning that this thread is still correlating a constantly ongoing effect with a new trend, and, again, you can do this with anything.

>Tip, if you think you're being naive, don't insist that others don't know what they're talking about.

Literally never claimed that _anyone_ didn't know what they are talking about. On occasion, people on this website may want to admit their own knowledge gaps -- it's called self-awareness.
When doing math at school I never quite enjoyed it because it didn't feel like it could "scale". You always had to do these clunky calculations which are so error prone, that the slightest mistake could mess up your whole work. Instead of focussing on the essence, my mind was occupied with not messing things up when applying the "instructions". I always wondered how the industry would actually use math to solve its problems.

With programming/mathematical software, it finally clicked and it gave me a powerful, practical tool to make mathematics work. Finally it was not so much about not messing up, but about actually building something. I enjoyed it a lot and in the end I obtained a PhD in theoretical particle physics and became a software developer.
I'd say that this will appeal to people who are covid vaccine skeptical. If you're skeptical of the mRNA vaccines, you'd probably be in favor of this treatment than the vaccines.
> You can't do atomic read-modify-write operations (like fetch_add) with volatile.

Are those operations so important? All I've ever done to be honest is implement some lock-free SRSW queues, and those can be easily implemented with just acquire/release semantics. No atomic read-modify-write needed. Could it be that those are only needed when more than 2 threads are involved?
Math isn't political. Math is Math.

All this abstraction is just excuses and bandages for why the USA is falling behind compared to China, Japan, Russia, Philippines and more.

It's just sad. 1+1=2. It shouldn't equal 11 or whatever political current events of the day are.
It may be a forgotten thing but the new federal mandates are coming that to work you must be vaccinated.
> I'd be careful to call that out as a negative; if the culture fit wasn't right, and the candidate would have been a net negative to the team, it shouldn't matter where they end up next

I'd be careful to presume you can know these things from an interview.

> unless (of course) the candidate that was actually hired ends up being an even worse fit (ergo the need to fix your hiring process).

Total lack of self awareness in the corporate world really is an amazing thing to behold. I suppose this is "iterating" (in HR speak, not code speak): taking a set of criteria which generates a wrong conclusion, and then applying all that to ancillary things to find more wrong answers.
Starting to... ? :)

I agree, though, about all the competition, even if we don't agree on power consumption. But I think it's a use-case/personal preference thing. These are tools or toys, depending on use, and if you use a system as a tool, and a high-end CPU saves you time by doing things faster, overlooking power consumption makes sense.

Personally, I like to cut costs where possible, while also avoiding high power usage and fan noise, so I like efficient systems that do enough. The i5-12600K is enough, though it doesn't make sense in my personal situation where I could upgrade to a Ryzen 5000 chip without any other changes.

I also dislike Microsoft putting their latest and greatest CPU software in Windows 11, as I currently have no wish to change my gaming PC over to that system.

But the main thing is just that Intel has been cramming high power and heat into CPUs for quite a few years now, and I'm eager to see the other end of it, where top chips can manage what they're doing without 200W or more. We know it's possible, because AMD and Apple have efficient, performant chips.
We would mark that as a success. Someone good enough to get into a top tier place, wouldn't last a year at our shop. :)
Waldo: Visually detecting hacking or cheating in videos from FPS games
Important question:

Did they die from COVID-19 or did they with COVID-19?

Italy just revised their numbers and it’s quite a significant difference.
I don't think anyone except a few hold outs in Taiwan see #2 as viable or practical. I'm a fan of 3.
Side note: I've seen these articles which blame Capitalism ("ad tech: capitalism refined to its purest?"), and while that may be true, they never address what solution they want. Communism? As if communist China isn't launching malware attacks. Socialism?

For that reason it feels like blaming something unrelated.
I currently run a dual boot with Arch and Windows 11 on an XPS 13. There are positives to each:

* Windows has much better support for handling the Hi/Multi DPI setup that is my laptop + 2 4K screens. Wayland gets there, but unfortunately the font rendering is annoying bad, and the fractional scaling doesn't quite look right. And of course it's a very "just works" experience if you stay on the happy path. The Windows OneDrive + Office integration is great, and I have some photo software I run that is Windows-only.

* Arch gives a much better "pure laptop" experience. Hotkeys make everything easy, tiling WMs are just infinitely superior if you're working off one small screen. Also I get BETTER battery life on Arch, the laptop runs totally cool (and fans never spin up), and closing the lid puts it into true S3 sleep. It's very snappy and I use less RAM.

Also, I think people have this idea that if you use Arch the only "right" way to do it is to spend a million hours setting up a whole universe of CLI apps and becoming a wizard with hotkeys. I only use the CLI if it's truly easier than a GUI or something I don't use often. I basically just install the regular google-chrome-stable binary from AUR and then do everything on the web. Email? I set up a desktop link to fastmail. Spotify? Don't bother with native linux app, just set up a desktop link to the web player. Need to use Excel and don't feel like switching to windows? Just go use the web version, etc...Seriously, the move to webapps is doing more for the linux desktop experience than anything else.
the i9 is a race car. nobody actually buys race cars to do real work unless your job is racing cars... or posting nice pictures of race cars. complaining that a race car is inefficient is missing the point.

focus on i5s and i7s.
Isn't that pretty much what Ministry of Freedom provide [1]? Or do you specifically refer to X220, and X220 only? Why don't they provide a X220?

[1] https://minifree.org/
aka pfizermectin
I'm super pleased with my Linux desktop. I'm now full time Linux on the desktop, having run Windows, dual booting Windows/Hackintosh, and then Windows/Linux for quite some time. I still have a Windows partition, but I haven't been in it in half a year at this point. The experience on my desktop hasn't been flawless, but it has been pretty nice on the whole. I can't say the same for my laptop, which has been a 2 year experiment at this point. When I was using it predominantly to do light work in the office, it worked out well, but I find it more and more difficult to use from a non-coding productivity standpoint.

When I do work, I generally remote into my desktop via VSCode anyway at this point (and I really like this workflow tbh), but because I don't daily drive the laptop, there's less time spent to improve the tooling, and the ratio of time spent working to time spent fixing a weird issue is much lower than on my desktop. With some of my work potentially benefiting from the new Apple SoCs, the reversal in direction back to good sane defaults in hardware layout, and the far greater likelihood that my ratio of work to fix ratio would significantly increase, I'm pretty sure that an Apple Silicon laptop is in my near future.
Related: https://techcrunch.com/2021/11/05/helion-series-e/
Very much this. I run prod workloads with async python and indeed when you have some external I/O that can take a long time to complete - async fixes that.

One of my systems does around 8 api calls to service a request. It serves 80,000 daily users generating close to 2,000,000 expensive api calls and typically thats served by a single node running on a 2 core cpu. Gunicorn/starlette/fastapi.

The real problem with async in python is how easy it is to break it by introducing code or dependency that hogs the cpu every now and then. This usually means debugging weird timeouts that only happen every few days and are super hard to trace. Not sure I'd like to do async python again but it sure is efficient for I/O heavy workloads.
Same, but I just dropped out and did my GED at 16. Worthless to waste my time in a place I did not want to be, had to wake up at 5AM and had to play along. Best decision I made.

I would never put my children to any USA public school, private or entirely outside the USA.
Oh no, I practically never package my "app" with docker. I use it to install stuff like postgresql, and ensure it's at the same version & configured the same everywhere, regardless of the underlying distro (or even OS), using the same tools no matter where it's running.
If an advertiser says "place this ad, but not on TPB", and a network says "sure, we'll run your ad, and not on TPB", and then through trickery runs the ad on TPB, but in a way that fools the advertisers auditor, that is clear fraud.
Most of my interviews are just very general tech questions, what is a class, what is an object, etc. I have had one where I had to implement a take home project once in react. I had never used react before so it was a challenge coming from vanilla JS but I did it in about 4 hours (it was a pretty easy project) and got the job. I have never had an interview of more than 3 steps.
1. Speak to the recruiter
2. Speak to the hiring manager.
3. speak to the team.

I have never done one but I have to imagine a white board, FAANG style interview would be incredibly stressful and time consuming.

I had a job I was interviewing for once where I went in for the interview, everything went well and they asked me to come in for a second round which would consist of a paid full day of work in their office. I declined. I appreciate that they would have paid me, but I just could not see investing an entire day into an awkward shadowing process.
Company seemed good though, I wish them well.

Current job was speaking with a recruiter (who was very hard to understand), speaking with the vp, and then speaking with the owner. Each step of the process I raised my asking rate. Got the offer for what I wanted the day after the interview with the owner.
Charlie Munger on China being smarter than the US at handling economic booms
Agreed on the networking.

In terms of recruiters, I've only ever met a single good one, and I'd say generally recruiters, especially the third-party kind, are pretty useless and should be avoided at all costs. The only exception may be if the recruiter owns their own recruiting business as this is a sign they may know what they're talking about.

Recruiters can be pretty easily bypassed by either contacting the hiring manager directly or through networking. I don't plan on ever dealing with recruiters again.
It sounds like a lot of this could be prevented if Javascript had a way to disallow monkeypatching. Maybe there could be something like `const` that would prevent external code from modifying an attribute of an object. At least for objects provided by the engine itself. Is there any non malicious reason to allow everyone to replace `window.encodeURIComponent`?
https://archive.md/D5TgE
They still are with Venezuela and Cuba. Both are ridiculous and only hurting the people of the country. While we regularly cavort with countries like Saudi Arabia.
Thanks, I think I understand. You had completed three steps, thought there were two left, but out of the blue you were told that there were actually four more, because that's the new process they're moving to.

I've never interviewed for a FAANG, but I understand that they can and need to be very picky, and can typically get away with things like seven round hiring processes. I still think it's disrespectful of your time not to let you know the whole process up front, and then sticking to it.

Best of luck to you!
It’s not an either-or, she describes her female colleagues in other positions saying the same thing.

In this case, Rivian got to brag that they poached a well-respected executive with experience managing sales for a small but high-status brand. This assured investors, lenders, and the market for their IPO that they’re “growing up” and “scaling for success.” Meanwhile, they got to do whatever they felt like doing with the investment money, because they had zero intention of doing anything said executive proposed.

Given sufficiently sexist and misogynist executives, hiring a woman for a role they had no intention of empowering makes even more sense than hiring a man, because misogynists would respect a man and feel bad about marginalizing them.
Anecdote time!

I had a much harder time trying to get by as a white anglophone in Leipzig for about a month in 2018 than I had in Berlin, but much of that was admittedly my own anxiety around asking people for help in the wrong way, and travel-green-ness.

For example, I definitely can't pronounce entschuldigung correctly! As in well enough for people to know what I said. I then often perceived a palpable disdain or exasperation after not having been able to ask for simple things in German or understand simple German responses, compared to other places I've been where people seemed more excited to try to help someone who seemed lost than annoyed at the disturbance. I frankly shared the feeling, though: I found it very frustrating that my long duolingo practices had yielded almost no ability to ask for or understand things in the language of the country I was visiting.

I also found the in-town train terminal UIs to be incomprehensible as a foreigner: long lists of abbreviated names of places, with sub-menus holding more abbreviated names! A name like "Strasse Something Name" could end up "S. Sth. N." and without fluency it was very tough to pick apart. I ended up with a ticket to the wrong place once and the fare inspector, who I had to communicate with via Google translate, was very skeptical of my innocence (and absolutely incredulous that someone would not be able to grok the menus) but ultimately let me just pay the difference and go on, after initially threatening to levy a fine.

I still loved the city! It's beautiful and has very nice walks and libraries, but I personally often felt uncomfortable and out of place while visiting.
Well, going from a thinkpad x220 -> mbp is a big change. But I found that the dell xps 13" was very easy to migrate to, and wasn't agonizingly slow for compilation like the older thinkpads.

I still like my x201 and x220's, but I relegate those to less intensive tasks. I have openbsd on one that I pretty much just use for writing articles or emails, which is nice.

However for travel, the older thinkpads are just so incredibly bulky compared to the xps models or the new framework laptop.
“ reject the idea that some children are naturally gifted”

as a father of a gifted kid this make me angry!

Why is it ok to say some kid are one standard deviation below the curve and need special class and teacher.

But it’s not ok to say some student are also one standard deviation above the curve and also bold special class and teachers?