skysight-inc/HackerNews huggingface dataset:
> 2022: "If/else considered dangerous."

I never thought this would happen, does this mean I should quit programming? I feel like you can't get much done in a computer without branching in a CPU, but maybe I misunderstand modern CPU architecture.
> This is why I demand to see the goods up front.

...because you want to steer the conversation to predetermined conclusions and are incensed that other people won't play along?

The era of the proletariat blindly believing whatever the petit bourgeoisie tell them is dead and gone, and attempts to silence the proletariat when petit bourgeoisie are caught doing unethical things doubly so. Information wants to be free.
They only cling to it when their tribe is perceived to be in power

Twitter is a prime example of this, before Elon the mantra was "meh private company can do what it wants" the second the people that followed that mantra perceived their tribe as losing power over the platform that changed so fast that people got whiplash now twitter is a threat to everything from the foundation of democracy to national security.
As with everything, you need to use the tool for use-cases that it was designed for.

A downside of RAII is the hidden cost of unwinding, and predictability over CPU usage. If you have a resource that supports complicated internal transformations, and memory states, then you need an equally complicated destructor that can handle all those different states. If you're not careful with this you can get CPU spikes at scope-exits.
Ask HN: What will motivate you to apply for a job at a pre-funded startup?
How would you evaluate an early-startup in the first place to build that motivation?

And also, what would repel you from applying at an early-stage startup?
This link discusses how many cycles you have for your game per frame at 30fps and 60fps, and specifies how many cycles different functions, variable accesses, etc take, and methods of optimisation.

Very interesting, I’ve been reading up on/reminding myself about 6502 opcodes and their cycles recently. It’s kinda cool that Pico-8 is documented to a similar level, even if it seems like those limitations seem artificial (you get a set number of cycles regardless of the speed of the host computer.)
Again with the caveat that this is specific to dom0 virtualization taking advantage of full hardware acceleration VT-d/VT-x, etc, what you say isn’t even necessarily the case.

With modern virtualization tech, the hypervisor mainly sets things up then steps out of the way. It doesn’t have to involve itself at all in the servicing of memory requests (or mapped memory requests) because the cpu does the mapping and knows what accesses are allowed or aren’t. The overhead you’re talking about is basically traversing one extra level in a page table noticeable only on micro benchmarks when filling the tlb or similar - this is a change in performance you might encounter a micro-regression in (without any virtualization to speak of) even when going from one generation of cpu architecture to the next.

Theoretically, the only time you’ll have any overhead is on faults (and even then, not all of them).

Of course I guess you could design a game to fault on every memory request or whatever, but that would be a very intentionally contrived scenario (vs just plain “bad” code).
Don’t keep anything behind that password that the government doesn’t already have access to!

Government already has access to banking and phone records, most online accounts and data from Apple, MS and Google.
The comments on the bug are quite rude and condescending, as happens often when HN links to a "surprise" decision in chromium. Would hate to be on the other side of this, though perhaps being more transparent could make their argument sound better.
Spirit Halloween, small churches, etc all rent at far below market rates for various reasons, one of which would be "avoiding vacancy taxes". The key is they're always month-to-month and can be booted quickly if a "real" client shows up. I was with a smallish business that rented the other half of our building this way as temporary warehouse space, for something like 10% what we were paying for the warehouse space on "our side of the fence".

I think they could be structured in such a way as to at least help the situation, but they'd for certain be gamed.
> Well, presumably the US government's argument would be that China can influence content to harm the United States, whereas the US government would only influence content to help the United States (pinky swear!).

Correct.

But that's from the view point of the US only.

The US isn't going against Tiktok only locally, it wants to remove it world wide because of Chinese influence.

The US can influence local content how it likes, they have their own rules and its totally fine IMO.

The issue is controlling global content, which is what they are accusing China of, and what they really want to do if not already have been doing.

> I do agree with you that the ability of a government to censor at a large scale is likely to be bad for the people under that government's jurisdiction and the people of the world, even if that government is acting competently in its own self-interest.

I think this is obvious.

My point is that the US is mad at Tiktok because the CCP can do it, yet now the US wants to also control all content on its platforms and wants the world to see it as something totally different to what China can do.

Its basically, "it's OK for us, we are good, but not for them, they are the Baddies!!!"
If you want something new, you have to do something you’ve never done
Oh, I've surfed there as a kid.
You are going to need a wet suit...
Luther posted his Ninety-five Theses, but they were removed by the Roman Catholic Church because they determined it violated their community guidelines.
Shared key.

You have a key, which encrypts a shared key.

Your spouse has a key, which encrypts the same shared key.

Vault is encrypted with the shared key.

Access is controlled separately. But upon successful share, their existing key can decrypt the shared key which decrypts the vault.
The article focuses on the drop of productivity measured in 2022. Personally 2022 was the first out of 2 years I could take a meaningful vacation. Perhaps the reduction of restrictions allowed people to improve their work-life balance in favor of more "life".
I didn't know what KYC meant until I worked in fintech.
> This notion that you can own land without occupying it (or paying somebody to occupy it) is an absurdly backwards idea that is responsible for a lot of suffering and exploitation in modern society.

That's called an occupancy tax and it stops most of the idiocy in the commercial renting sector really quickly.
I tried reading that part of the changelog a bunch of times but my brain is having a difficult time parsing it... Could someone please give us an example of what's that problem with the grouped targets?
I'm being pedantic just for clarification but not everyone that has revenue has salespeople. Correct me if I'm wrong, but you're implying a lot of companies you might think wouldn't have salespeople do in fact have them.
Makes sense. Ruby dev over at Meta who uses Vue, TS, Rust WASM, and Rust backend at home. No Go (anymore) or Rails, but I love Rails, DRY-rb, trailblazer, haml for their expressiveness and software engineering.
Brave is looking for an experienced server side engineer who can help us keep our Brave Rewards backend infrastructure in great shape. We are looking to continuously improve the Brave Rewards antifraud systems to make sure our Basic Attention Token flows quickly and reliably to creators, end users and vendors alike. We are looking for somebody who always prefers a simple solution over a complex one and who can take whole solutions from end to end. Please contact mdiller@brave.com if you have any questions!
Because the responsibilities of the government stay exactly the same.
The weather is not perfect in the Bay Area. The perfect weather is 300 miles south in Santa Barbara.
Go read about the Franklin scandal, or the Dutroux scandal before you spout things you are sure aren't happening (in particular the X-witness reports). Elm house, Kinkora in UK. Epstein-Maxwell-Wexner-Mossad, etc, need I go on?

I propose many people pretending to be arbiters of truth refuse to acklowledge facts and citations before them.

The mainstream media inspires wars... they don't get held to account do they? Why the sudden focus on arbitrary standards and funny how they always get applied to those that vary outside the approved overton window.
> Investment in cellular infrastructure increases reach which increases the number of customers they can reach which increases profit.

I could make this exact same argument about distributed networks. Along with the added selling point of safety, privacy, and security. Chat and share pictures with your friends while camping. Trying to contact your neighbors during a power outage?! There's a lot of angles to sell this.

> Investment in distributed networks, reduces their own access to data about their customers because it would no longer go through their servers

I have some serious doubts. If Google can still collect data you've collected while on airplane mode by just sending it once you reconnect to the network then they can do the same with this. If anything, I think it would increase the amount of data they can gather because it extends the capabilities of how one is able to communicate.
I presume this tactic will soon be ruled illegal by Nascar, especially if it's going to start happening regularly in future races.
I still see the annoying sign up/login pop up if I scroll down while viewing someone's twitter feed on the web.
C++'s "Curiously Recurring Template Pattern"

template <typename T>
class Foo {};

class Bar : public Foo<Bar> { ... };

https://en.cppreference.com/w/cpp/language/crtp
Both a tux and an undershirt are unlikely to meet the same requirements. If you ask for 10 years experience in a field (tuxes), you’re likely to get people with similar qualifications or you can filter out the bad matches (undershirts) ahead of time.

I’ve had overqualified people apply for a position, what happens is I don’t hire them in that position, I open up a new “named hire” for a higher salary.
To bring PLG to cybersecurity, let’s change our hiring habits
I have logs on my server but I choose not to check them because I'm afraid I'll have to debug something and I don't feel like doing that
Mars Orbiter Laser Altimeter
Yes that seems a reasonable concern. Indeed it's hard to censor something without censoring complaints about censoring that thing, unless these complaints are entirely on free speech grounds. But if we already don't believe in free speech anymore, then we would have to interpret a complaint about censoring something as an endorsement of that thing, and hence censor the complaint as well.
Based on some of your comments, you’re kind of gunning for the CTO role and trying to manage upwards.

The best approach is to stop doing this, and quickly! Deal with the problems that are facing you and your team, and leave the leadership to deal with the CTO. “Not my monkey, not my circus” - as I understand they say in Poland.

If you need more resources, work with your leadership to get that help in-place. If you need a specific bit of assistance from the CTO, then make a clear request for it and follow it up if you don’t get it. You’ve mentioned that you feel there are areas where he could be helping, and you haven’t communicated that. At your level, you have the responsibility for seeking out the support you need from management. Focus on getting the things that you need, and avoid a fuzzy and unmeasurable metric of “my boss seems too checked-out”.
BTW: if anyone wants to jump into Zig, for me the most efficient way was reading the stdlib and also using github codesearch - just type a function name with suffix lang:zig and you get a real-world usage.
I prefer reading proto files with services over OpenAPI yaml. Here's the pet store example to compare.

- https://github.com/project-flogo/grpc/blob/master/proto/grpc...

- https://github.com/OAI/OpenAPI-Specification/blob/main/examp...
There's an old joke about an "economic hero" being a wealthy man going through an ugly divorce while dying of cancer.
Also the cries for returning to the office
The article focuses on a productivity drop observed in 2022 as compared with the past two decades. Anecdotally, this is the first year I've been able to take a meaningful vacation since the pandemic started. Perhaps, the reduction of covid restrictions allowed individuals to improve their work-life balance in favor of more "life".
> But you could probably reduce the paperwork that doctors do these days by a factor of 4 and not loose anything of value.

Maybe, but this sounds like some vague hunch based on ???. I very highly doubt the healthcare industry would tolerate doctors wasting ~37.5% of their time (75% of paperwork time is wasteful * 50% of doctors' time spent on paperwork = minimum 37.5% of doctors time wasted). Doctors are expensive, so recouping anywhere near 40% of their time would be a priority.

It seems more likely that the paperwork is actually pretty useful (but the utility is not obvious to the lay observer), or at least useful enough that the wasted time isn't significant to the healthcare industry (which is already struggling with margins and personnel).
My guess is it's related to inflation. Changing costs can cause people and companies to adjust to different economic conditions, and that adjustment can hurt productivity.

Something similar happened in the mid-seventies.

https://fred.stlouisfed.org/series/OPHNFB
What you're saying does not make any sense relative to the question asked.
Some places good, some places returned to MSFT after it was made financially worth-while.

Linux and Libre Office works for me. YMMV.

Not everybody can or wants to drive a Mercedes. Their choice is their choice. It doesn't change my life at all.
Most complaints I hear about C-level pay boil down to claims that the roles themselves are overvalued, not that individuals are overpaid for the role. I think the value of an extremely highly-performing engineer is likely to be more apparent to the "rank and file" than that of an executive, especially at a company where employee morale is a serious concern.
At a previous job I had a few months where I managed approximately minus‐1 instruction per week — and it was the best money the company ever spent. Hard constraints are hard.
I use it for Rails, and the most use I get out of it is with RSpec testing - tests with already descriptive spec names, it guesses correctly like 95% of the time what I was going to write anyway.

It's less useful around view code, but controllers/models it can be somewhat useful too. But to be honest, I'm happy to pay the price to let it write some specs for me
DHS is trying to justify their existence. It's the old "self licking ice cream cone" situation.
As a secondary tip: I believe you need to make sure that one of width or height is set to “auto” (in CSS). There was a good post on this on either CSS Tricks or SmashingMagazine. If I get some time I’ll try to find it and link it.
This sounds like an AD, but i'll still reply

The question about Copilot is not how good/bad it works, it is the fact that it trained on everyone's public code without taking into account the license, raising multiple concerns, including privacy ones

https://githubcopilotinvestigation.com/

https://twitter.com/docsparse/status/1581461734665367554

https://sfconservancy.org/GiveUpGitHub/

https://www.sdxcentral.com/articles/news/github-copilot-rais...
(Replying to my own comment because I can't reply to the one below)

If right and wrong are not matters of opinion, then what objective test does one use to discern which is which? For example, is contraception right or wrong — and why? How about same-sex marriage? How about interracial marriage?

As to rape: You and I certainly agree that it's wrong, but that hasn't been true in all times and circumstances (are you familiar with droit du seigneur and its variations?). And the Russian soldiers who raped their way through Eastern and Central Europe in 1944-45 were told by many of their superiors that it was their right to do so.
So, Vijaya wasn’t the CEO. She was general council and head of policy.

Here’s her Wikipedia page, if you’d like to brush up on any other basic demographic details: https://en.wikipedia.org/wiki/Vijaya_Gadde
I am in a completely opposite situation as yours. I joined as VP Engineering at a startup and my CTO refuses to pass any responsibilities. I tried to communicate him multiple times to let me take care of day-to-day management stuff which he agrees to but jumps back right in. I think part of the reason is his passion about the product and expertise but that is definitely getting in way of me doing my job.

I wish I was in your place as you are getting more autonomy and that will definitely help you get to the next level.
That Matt Levine article in archive.ph: https://archive.ph/JrNdE
30 years ago was late 1992.
The solution to junk mail is aliases as SimpleLogin does. What Google does is rent seeking.
Backus' paper had a specification. TIL.

Must be a weird award speech to give.

Thanks for the explanation. It's now very clear
> It's not as if the business walks away because their AE isn't there anymore.

I mean, not all of the business -- but businesses can and will sever contracts because they lose their favorite point-of-contact.

> They're spending money on twitter for the benefits it brings them

What if those benefits are already pretty slim, and they've been thinking of dropping Twitter entirely, but for the efforts of their Twitter AE?

I don't understand this mindset that all salespeople are fungible drones.
Jeffrey Kingston’s Lout is pretty good, though it’s only lightweight if LateX is.
https://src.fedoraproject.org/lookaside/pkgs/lout/user-guide...
Developer strength matters more than most other factors. A strong developer will run circles around a weak one even if the former is programming in assembler and the latter in Python. Thus studying variables such as programming language is difficult and costly because the variance is enormous. Therefore it is not done and a result like web developers are on average more productive in Python than in assembly is probably not that interesting anyway. Thus we are left with "truths" there is no scientific basis for.
(Note: I don't think an aversion to `if` statements is the motivation behind the blog post here. Seems more an exploration into the minimum feature set needed in Python)

If people are removing if statements at the cost of readability, I think they're probably bad candidates for replacement. The reason for removing if statements is (especially when deeply nested), they're very hard to reason about and test. Untangling these things (e.g., polymorphism) is intended to improve readability / understandability / ability to be changed. Everything in software engineering is a compromise—sometimes a simple if statement is a lot clearer than introducing polymorphism unnecessarily. Each case will vary.
The minimum outcome (after deaths) should have been that Crescent and N Highland bar districts closed to through traffic weekend nights after 9 (and after sporting events), and all public transit buses get 360 degree cameras.

Instead, we have bars (RiRa and Hand In Hand were unable to afford leases pre pandemic) shutting down, street drifters, crime, and significant amounts of drunk driving.
If I'm not mistaken, protection of delicate environment. https://en.wikipedia.org/wiki/Protocol_on_Environmental_Prot...
Hmm. I found myself nodding along with what this has to say about syntax design and the responsibilities of well-abstracted markup languages/converters, but I was also a little surprised by some apparent contradictions.

> Great markup format unambiguously interprets an input string as an abstract tree model of a document. It doesn’t ascribe semantics to particular tag names or attributes.

>

Yes!

> Markup language which nails this perfectly is HTML. It directly expresses this tree structure. Various viewers for HTML can then render the document in a particular fashion. HTML’s syntax itself doesn’t really care about tag names and semantics: you can imagine authoring HTML documents using an alternative set of tag names.

But it's a bit weird to uphold HTML when it seems to really be valuing the underlying syntax and not the big heckin' standard that details the valid elements, attributes, and their semantics. :)

> Great markup language defines the semantics of converting text to a document tree

This seems to conflict with the first one I quoted. Maybe I'm missing something? Maybe the author is using semantic in different ways, here? Markup languages tend to mix different kinds of elements, and it can make thinking and communicating in this space tricky! I started trying to untangle this knot recently in https://t-ravis.com/post/doc/what_color_is_your_markup/.

(I also found banning "semantic" from my writing helped me untangle by making it easier to notice when I was letting it do too much work. https://t-ravis.com/post/doc/semantic_the_8_letter_s-word/)
That's an interesting theorey. If it's correct that could explain it.

But, I just checked the demographics in Massachusets in the 1800s and it shows that there were 0 slaves. And it looks like minorities were in very very small numbers:
https://en.wikipedia.org/wiki/1800_United_States_census

I don't think the labor supply of oppressed minorities was influential enough to drive down the cost of labor. Yes, for railroads sure but not for construction of buildings.
And the employment payments increase by close to $10B/yr from this expansion alone plus the number of employees (and therefore families prone to vote for expansion of federal employees and/or pay/benefits also increases).

The federal government gets larger as a result of this. That might be OK, but we shouldn’t pretend it’s not the case.
I'm not really sure why you'd post documentation from 2008. http://docs.haproxy.org/2.6/intro.html is the equivalent documentation for the current release of HAProxy.
There should be a car body optimized for that, with some rubber-treaded rollers sticking out from the side.