skysight-inc/HackerNews huggingface dataset:
Of course context matters but _generally_, end to end tests should be mostly avoided:

- the execution time of end to end tests are orders of magnitude larger than unit tests. In a medium ish application your end to end tests will take several seconds to spin up, for example by spinning up fresh databases (even with rollback in gets slow) and other detachable services. A unit test is usually a malloc away and thousands can be run in parallel on your local box in a second. End to end tests easily take hours of compute time time to run in the real world. Good luck running the suite on your laptop. Nothing kills productivity quicker than a test suite that runs slowly

- unit tests are also independent of other code so it’s easy to get some confidence that your code does the right thing by only testing the touched files in your diff before running the entire suite on CI.

- unit tests encourage good code quality since it’s easier to test injectable code. E2E instead incentivises copy pasted test suites that are thousands of lines of code long.

- in the general case end to end tests are asynchronous and require orders of magnitude more effort to run. Asynchronous tests are flaky. Flaky builds slow down your velocity.

- E2E tests rot really fast. One change leads to thousands of broken E2E tests.

- E2E is not a replacement for monitoring your application. The class of bugs you will catch in your E2E suite is a strict subset of the class of bugs you will catch with monitoring and metrics. Build the latter instead and roll out your code incrementally to your users.

- E2E tests are complicated to set up and maintain in ops. Unit tests not so much. Somewhat unexpectedly your development velocity scales pretty much linearly with stack complexity.

In summary (and again context matters and there aren’t any absolutes, but …):

- Don’t do automated E2E tests.

- Do unit tests

- Do metrics and monitoring

You have a limited budget, spend it where you get a good bang for your buck.
I get that, but reading up on Pol Pot or just narco states etc and you really appreciate what so many people want(ed) to go to the US.

It’s ok to want things to be better even if you don’t think America is horrible. Improvement doesn’t need justification, it is literally it’s own reward.
Unless you care about packages from lang package managers like pip...
I'm pretty sure iOS also doesn't support GCM as the group cipher, so these downgrades are not all that uncommon with iOS unfortunately. Hopefully they'll improve it in the future though.
Happy opseccy new year Grug :)
>The result is a shortage of housing. That is the reason the rent is too damn high, the reason so many people who grow up here cannot stay, the reason the city is struggling to accommodate an influx of immigrants that once would have seemed like a drop in the melting pot.

No it isn't. That's just looking for something easily spotted to pin the blame on, to appear smart during dinner table discussions.

The author seems to have a laser focus on this one specific point without having done any research into housing issues, which is a broad spectrum of subjects.

Attacking these "museum pieces" won't solve the problems being mentioned. Increasing population in an area also comes with its own set of issues but no mention has been made of those.

This is a pretty poor quality submission even for HN and NYT.
To be clear this is really a post about Amazon and RTO policies, and written by an ex-Amazon employee. Because:

> When the company stops growing, when the founder moves on

are certainly signs of changes — the former that either the economics around the company have slowed or they company's matured, the latter too variable to be meaningful — but they aren't necessarily signs that you should quit. And they're are presented here mostly as jabs at Jassy ("I was happy to be leaving as Andy Jassy took over from Jeff Bezos and Adam Selipsky took over AWS"), HR-led corporate culture ("HR processes take up far too much of everyone’s time" at Amazon), and RTO ("we now have the situation that Amazon management care more about real estate than product").
>> Only if you run pure server side applications that’s simple.

End to End testing is less about "making the front end do all the work" and more about being free of mocks and synthetics.

Just because the front end exercises my server, does not mean server devs get a pass on testing API down. The tests I write should inform the data your sending and receiving, they should function as an example of inputs and outputs of what to expect in the system. Those timing issues are either a real front end problem, or a server problem (and my own tests should have noted that I did not meet the SLA).
There are two primary purposes. Fundamentally .mobileconfig profiles are a standardized XML format that are an officially blessed way to bundle up a lot of various macOS, iOS, or tvOS configuration options into an easy standard format that can then be installed on various devices to apply a whole bunch of stuff all at once with no additional work. There are various GUIs to work with them, including Apple's free Apple Configurator, or iMazing does a nice one as well, they're the backbone of a lot of MDM usage for iDevices now, and they can also be created programmaticly. As well as closed there are lots of open source solutions for this and it's not particularly hard to roll your own or customize (though you probably want to save yourself the pain of dealing directly with the ancient format as much as you can).

So first, even for completely bog standard config it can be an easy timesaver, as well as way to make a change in a single place in a deterministic fashion and then apply it uniformly. I use it a great deal just purely for my own personal and family devices for example. I've got lots of email accounts, WiFi networks, and so on, that aren't special but sizable in number. I've made a few profiles for those, which I can then take and install on each Mac, iPhone, or iPad to have all the accounts loaded saving some manual config work. If I need to change a password, add or remove, I can do it in one single place, and then push it out to do the config. No need to jump back and forth to a password manager doing lots of copypaste of passwords on the phone. It's not a huge deal but it's a pretty simple time saver.

Secondly, .mobileconfig will let you do stuff that you can't (officially) do at all otherwise, particularly on iDevices, so in that case it's simply the only easy way to get at certain functionality. Some functionality is only available to "supervised" devices you setup fresh under supervision now, and can give you a much deeper level control. For HN types, it can be useful to load your own private root CA and cert chains, cert using WPA Enterprise networks, etc. It's another way to make it harder to do certain activities with a stolen device.

I think a lot of people with Apple devices who don't "need" profiles could still find them handy honestly. It's not exposed very well but it's also no some horribly complex thing to get some value out of. There are a lot more people with iDevices then Macs (so that rules out Apple Configurator), and typical serious MDM offerings are all subscription based sadly. So in turn free tools for other platforms are nice to see.
Sony is a Japanese company but it's also a multinational company consisting of hundreds of companies they aquired over the years all over the globe. It's therefore a relatively small chance is has something to do with Japan specifically.
It is not. The main reason why you don't think these cities have this problem is because you don't know anyone who lives there.

I left Singapore in 2003 because it was getting ridiculously dense. Since then it's only gotten worse. The last time I went back it wasn't the city I knew but a doppelganger with a suspiciously main land Chinese accent.
Sex offender registries are not limited to rapists and pedophiles. Jurisdictions without death penalties have sex offender registries. And some other crimes receive longer prison sentences.
Who are these people? I don't think most people even know the difference between a matte vs glossy screen much less even care.
> One way to prevent this kind of cheating would be to require essays to be hand-written, or typed on a mechanical typewriter.

That's useless, I'm afraid. Students will generate an LLM text, and then copy it out. If you lock down their machines, or university networks, then they'll access the LLMs another way. It's cat and mouse games all the way down, and we'll never win.

I mean, I get where you're coming from. I'm a humanities guy, through and through. I love writing essays - or, well, really dig having written a good one; the writing process is invariably a slog - and I'm good at it. The writing process catalyzes my learning and crystallizes my thoughts, etc etc. I believe all that stuff, preached it without irony, and spent countless hours in tutorials coaching students.

The trouble is, it doesn't really work. Writing a lot of essays makes only marginal improvements to students' writing, no matter how many tutorials and "writing labs" they go to. Reading complex texts, and learning and imitating good writing, teaches people how to write. And, you know, that only works when they want to a) read complex texts, and b) learn how to write well.

For the students who intrinsically neither a), nor b) - which is the vast, vast, vast majority - we could force them a bit, with grades. Now, however, there are LLMs, which break both halves of that method. Our whole approach to a system of study will have to change. I would rather find something new and useful than cling to a useless paradigm because I was once comfortable and successful within it.
> Competent managers can distinguish between those

How do you do this without deep knowledge of what your reports are doing?
Managers, especially if they have a large span of control (but even if they don't), aren't all uniformly disciplined at recording every instance of impact. To help your manager and reduce variability (i.e. their perception of your performance should be based on data, not vibes), it's to your advantage to keep your own list.

I've had good managers that I keep in the loop with weekly 1:1's but come promo time, even they need help figuring out what I did over the span of a year. (to be honest, if I hadn't written it down, I don't even remember myself)
I couldn’t disagree more. In healthy organizations your manager and your peers can observe your impact and and calibrate correctly.

It’s only on teams and organizations that are disfunctional that such artifacts are useful. If I have to keep a document for this I’m already looking for a new job.
I think there is a convergence in our views.

To work for our personal interests, and only us (i.e. no third party), we need to pay for the resources directly, whether its hardware or a cloud service. Whether we contribute to an open algorithm or pay others to work on the algorithm.

We can certainly provide our own hardware and innovation.

But most people don't want to manage these things themselves, they want a service.

Another reason for the cloud/provider solution, is that a lot of these services have functions that are amortizable across users: i.e. crawling, indexing, correlation analysis, etc., that precede making individual recommendations.

Either way, if people don't contribute in proportion to their demand for service quality, scale and innovation, the system is going to either die, or get subsidized by third parties who find the resources to be highly competitive by using us.
If you don't genuinely love tech, don't work in tech
how can we recognize a competent manager? serious question. (Will all the incompetent managers please raise their hand)
Amelius’ 5 laws to Asimov’s 3.

Make them a bit terser, and maybe “Right to repair” will heave them out of the science fiction tarpit.
9,999 people out of 10,000 telling you "don't do this, if your manager doesn't know what you did 10 months ago, the manager isn't doing their job" would have difficulty telling me what they had for breakfast last Tuesday.

Keep a log of your work. In fact, keep a log of everything you do. It gives you a sense of accomplishment, it gives you an idea of where your year went, and it lets you refer back to key highlights during your negotiations for a raise or promotion.

You think your memory is bad? There is not an organization out there that will ever recognize anything you ever did beyond the last sprint planning session or Jira ticket you closed. I've yet to work for a manager, ever, that hasn't required a hard push to hit a deadline for months on end, only to then forget that effort and opine that you took off early on Friday. They'll remember the extended lunch you took yesterday, they'll forget you worked 19 days straight without a day off, whether it is a large tech organization or a small start-up of six people.

I am sure many of you will no doubt attempt to regale me with tales of awesome managers who made sure to give you "atta boy" pats and remembered that thing you did when it came to year-end review, but those stellar managers are few and far between, and most of us will never get to encounter such a rare shiny creature.

So don't be like all those times in college when you thought to yourself "I don't need to write this down, I'll remember it", because you won't.
You can shut down HDD's when you don't use them.

sudo hdparm -Y /dev/sdX
Related:

Get your work recognized: write a brag document (2019) - https://news.ycombinator.com/item?id=32236407 - July 2022 (1 comment)

Get your work recognized: write a brag document (2019) - https://news.ycombinator.com/item?id=28612015 - Sept 2021 (3 comments)

Get your work recognized: write a brag document - https://news.ycombinator.com/item?id=25727976 - Jan 2021 (1 comment)

Get your work recognized: write a brag document - https://news.ycombinator.com/item?id=20665225 - Aug 2019 (78 comments)
I know its a different era but I always felt like taking two years to work before going to college would of been very helpful at least for me and I assume some types of people.
The Centered Div
happy New Year
It is not the world's job to empower a dictator, nor is it in its interest.
Make your own Mickey Mouse comic and SELL it.
This isn't true.

I can think of many examples off the top of my head.

Tax brackets, accredited investors, professional regulation, varying classes of drivers licenses, voting ages, retirement age and pension eligibility... the list goes on and on.
> I'd hope we were more enlightened now

That would carry more weight if, for example, loot stolen from other nations were being returned, rather than sitting in your museums. England also still comes off as profoundly arrogant in its diplomacy and other international dealings. The English accent is sometimes used in American movies as a shortcut for "pretentious" or "smug."

Perhaps this worked okay when there was something to back it up, but there's less and less there.

See also: Post-imperial Spain a few hundred years ago (same problem). Current Russia (same problem). France had a bit of that too, although not nearly as bad as Spain / Russia / UK.

> Most (all?) nations would have done the same thing if they'd got to that point of power first.

This is absolutely not true. There are plenty of non-imperial nations both now and throughout history.

It also absolutely doesn't matter. For my argument, what matters are impressions.

Mao Mao Rebellion in Kenya was 1952-1960. Most of the people who participated are alive today, and it's such a major part of the national identity. Opium Wars are ancient history, but again, it's the narrative that counts.

There are few nations whose name carries as much baggage as the UK. Even Germany -- post Nazi -- made an effort to dump all that baggage by in the form of anti-Nazi laws, apologies, and in some cases, even reparations.

> Only by going all in could we ever truly be a part of the EU.

I agree. I think the key thing, though, is that unless the England does something like this (or something analogous), I think it will eventually be in a pretty bad place.

I'm not optimistic for England coming to the same conclusion.

Good luck!
IPTraf-ng – TUI based traffic monitor for Linux
I see your text. But your points do not seem to be that of someone that wants Tesla to make a better vehicle. This seems more ideological to me.
Surprised by the responses here.

Unit tests and smoke/E2E are like peanut butter and jelly, they're better together. And yeah they're expensive to build but it's almost always cheaper than deploying crap and hurting your customers.

Why all the drama?
In a context where you have thousands of entities, it's very rare that you'll loop all over them from 0 to N.
In such context entities are always partitioned in space. You interact with one entity and you update the entities around it. For which you'll query the spatial partition to get list of entities around, and they won't be contigious in memory.

You may have one loop to update all entities but that's it. And will you even update all of them ? What about the ones that are not visible ? Maybe you want to update only the visible ones .. in that case you query the partition to get the ones visible around your camera

So practically you never query the ecs registry to loop over all of them
TIL: SteamOS is based on Arch Linux. This is so cool!
Background Material Identification Using a Soft Robot
People are always fretting over the low availability and high cost of housing, yet here's a building with 2200 rooms and all the infrastructure needed to service them. It's all so tiresome.
It's a few percent of the million dollars or more that a good education is worth.

Very little indeed.
That makes sense, something like `grep $USER /etc/passwd` would shuffle the whole passwd file over the wire, etc; for a lot of post-exploitation stuff I could see it causing more trouble than it's worth.
Take a look at fyne - https://fyne.io/ cross platform using go.
I've been building something that could be described as a "professional social network SaaS" [1]. Most of the users are VC funds that connect founders in a network.

I think the thing that is most under-appreciated is keeping people engaged over time. Facebook kept people coming back because it was the universal network. As social media fragments, people assume that others will just stick around in a Discord/Slack/Circle/etc. But, the reality is that ~75% of people stop returning after a month. And, most social networks see that 90% of members read instead of engage - so the format needs to work for people who prefer to just read.

I solve this in my product by sending a email summary every day to keep people informed. My opinion is that the defining characteristic of any social network software is how it keeps people engaged over time - whether it's email newsletter, SMS, push notifications, or desktop pop-ups. The time and place people see notifications is closely related to the network audience, and how notifications work as audience size scales matters. A software that assumes that people will just remember to come back without reminders is going to taper off slowly in engagement.

We'll never have another universal social network like Facebook in 2010. So, as networks splinter - think about when and how often people need to engage, and work backwards on the software from those needs.

[1] https://booklet.group
> Management that is not deeply aware of what their reports are doing is either unnecessary or incompetent.

I am biased as a manager, but, for context, I was a senior IC for a long time before management though. I also transitioned first being a TL/manager "deeply aware" (reviewing most PRs, coding large parts myself, etc) and then eventually as a more traditional manager.

Sometimes management can be unnecessary or incompetent, but also you're excluding the possibility of companies trying to find a reasonable organizational balance of management costs. A manager that is deeply aware or involved, is also a manager that cannot manage more than maybe 5-6 people. If you want a manager to manage more people and focus in coaching, cross-team dependencies, unclogging stuck projects, roadmap building, etc; you rarely can have a manager doing IC work still and that means they cannot be involved in every PR or conversation their team is involved. If you give autonomy to the team members to make decisions and progress, by definition you won't be involved nor "deeply aware" all the time. Your 1:1s are an opportunity to address this divergence and a brag document helps feed your 1:1 with your manager to bring them up to date.
like-new restoration of various old objects:
- https://www.youtube.com/@mymechanics

annotated reviews of high-level chess games:
- https://www.youtube.com/@ChessNetwork

blender tutorials:
- https://www.youtube.com/@blenderguru
When I went to RIT it was 14k a year. It has to be quite a bit more now.

Overall a great school and worth the money at the time.
once had the pleasure of learning a bunch about these machines from the operator of the pacific pinball museum (then called the lucky juju) in alameda, ca about 20 years ago at a class at an early proto-makerspace in west oakland called the crucible.

the scoring motors and relay logic were fascinating, but if you want to see even more interesting electromechanical logic check out the turing bombe and collosus rebuilds at bletchley park. that em logic was credited with shaving years off of wwii and came many decades before.
Even more relevant is that you can "fork" Bazzite relatively simply and add any missing packages or configuration you need to your own custom image and let GitHub actions do most of the infra work for you

https://universal-blue.org/guide/fork-your-own/

And yes, you can roll back to previous images as its an "immutable" OS as well should issues arise
What do you see people doing while working in that time? What sorts of jobs?
Thanks for sharing that, my trust is Sony’s software is now lower than before.
Perhaps it had been built up by Third Plate and also the expectation that comes with Anson’s rather fussy recommended preparation but I failed to have my doors blown off by it. With that said, I regularly buy in bulk Anson’s rice waffle mix (incredible), graham flour (for biscuits), and oats (the best oatmeal).
But there will be nobody to realize that at that point. And besides, of the countless living human beings that _do_ wake up there must be some with very similar circumstances and a similar state of mind. How is it really different to be them?
It likely depends on where the programmer who has the original cert issued was... so quite likely Japan, given the evidence
I often wonder why we don't provide free university education in the US.

It would benefit society and employers as a whole.
Sounds like a good idea. What you want fits right in the 'private group chat' category, it seems. As opposed to 'public group chat' (like HN) and also opposed to 'private one-to-one chat'.

I'm struggling with the following question and I also want to ask you the same question: Would you want anything other than the functionality Whatsapp has to offer? Why didn't you already use Whatsapp or an equal solution?
I’m not quite following…this would be equivalent to a manager asking a dev what work needs to be done (I think). Which is good and healthy - and requires the manager to understand the report (as well as have a record of it, so no need for a brag doc). If they’re unable to understand it, they’re not suited to evaluate that report.

Nearly every time I’ve needed work done on a car different mechanics give me different lists. It’s pretty expensive when I’m unable to evaluate those reports because I don’t understand cars.
Will try out but I appreciate the heck out of you doing the check mark (No Data Collected), it needs to become industry standard haha
Seconded; I’ve used MNIST with more classic algos and it’s very easy to reach 99% without any modern techniques.
It's on Vercel ... I'm not even going to look!