skysight-inc/HackerNews huggingface dataset:
It depends what you want to get out of the role.

I don't think hustle culture alone is enough if there are no results in personal growth, mission, or economic growth. One of these factors must be exceptional to justify the unbalanced life required to do well in this industry.

As a pure SWE, the code / systems that you work on are not at all as technically nuanced or challenging as what you'd get at a startup or big tech co. Your ability to go deep technically is sacrificed for an emphasis on speed and functionality. The focus required to do anything else is impossible in such a dynamic (volatile) environment.

As a more entrepreneurial engineer, you will get to grow horizontally (https://alexkondov.com/the-t-shaped-engineer). You'll drive product decisions, have more agency on direction, and get to interface with customers/users. You'll also have to get really good at saying "No" and stakeholder management.

On the mission side, a good amount of VCs claim to be making the world a better place somehow. I'm not convinced the secondary impact of money / company support they provide is moving the needle significantly here. You can have more mission alignment at a startup.

Financially, big tech is probably the best risk adjusted investment of your time. Startups have better outlier results, but are riskier. VC is somewhere in the middle if you get carry and the firm performs well.
> Getting Microsoft to use a new engine and contribute back to the original repository is better for diversity

Oh no no no. We don't need microsoft contributing anything into this. They will mess up everything and push their agenda.
PyTorch is the mainstream one. Lots of tutorials, docs, libraries, etc
Perks of Creating Fashion Photography with AI
Ladybird is British English, ladybug is American English.
Volvo’s electric trucks reach 80 million kilometers in five years
This looks a lot like Unforget https://unforget.computing-den.com/demo (which was a Show HN few weeks back) also Heynote which others have mentioned already.
...and they can legally BRIBE the president for the pardon too!
This is super interesting. Sharing with my kids who are starting geography in school this year.
>I struggle to take anyone very seriously that expresses a profound negative opinion about C

Those OpenSSH vulnerabilities really get stale you know...

>The net effect of exploiting CVE-2024-6387 is a full system compromise and takeover, enabling threat actors to execute arbitrary code with the highest privileges, subvert security mechanisms, data theft, and even maintain persistent access.

Ah, the joys of C.
I love this version SO MUCH BETTER. Clean, easy to read and I don't have to scroll down for half an hour to get to the bottom. I hate "modern design", whatever it is. To much padding, to much useless css and styles.
I'm currently using RoyalRoad's RSS feature, but they've started injecting "this content was stolen and put on Amazon" messages in the middle of chapters, which is a little annoying
Ask HN: Why is somebody using an AI to talk to me on Facebook?
Transcript of chat (Facebook) with someone who cold messaged me pretending to be a young woman (https://lnkd.in/gdSxuj_J). AI-generated photos on profile (AI-generated because the right hand looks odd on some of the photos). Apparently chatbot on the other end but with a human in the loop? Why would somebody do that?

Chat transcript follows. I'm Aleksey, she's "Katerina".

Wed 3:14 AM

Katerina:

Hello Aleksey

Thu 12:05 PM

Aleksey:

Hello Katerina

You can now call each other and see information like Active Status and when you've read messages.

Thu 2:56 PM

Katerina:

Hello good morning, i hope you're doing well to day

Nice to meet you here!!

Fri 1:35 AM

Katerina:

where are you from? dear

Fri 10:36 AM

Aleksey:

I am from Kiev. I live in Texas right now with my wife and daughter. How about you?

We have 3 mutual friends on Facebook (REDACTED, REDACTED and REDACTED). Are they Facebook friends for you or do you know them in real life?

Fri 1:58 PM

Katerina:

Hope you had a beaut full morning!

Katerina replied

Great to hear that dear, I'am Katerina Zervas orginal from Athens, Greece

but i live in Miami.

Katerina replied

cool! I don't know them in real life they are just Facebook friends But it's great that you're connected with them!"

Fri 5:45 PM

Aleksey:

Okay I understand that my first name is Greek . Is that true? It’s a popular name in Russia.

Katrina:

Edited

Wow, that is a great observation! Many Greek names have been adopted by other cultures. I think Russia is one of them. The name may have a rich history with Greek origins, but it is also a beloved name in Russia and other countries."

[Notice the orphan end double quote. And the message was edited. I didn't see the original. --Aleksey]

Katerina:

How old is your daughter?

Aleksey:

What’s the greek version?

Katerina:

The Greek version of Katerina is Αικατερίνη (Aikaterini)

Do you speak Greek or have any favorite Greek traditions?

12:03 AM

Aleksey:

There is a rolling rain

[Intentional non-sequitur and nonsense to check if I am talking to an AI.]

Katerina:

Oh I love the smell of rain!It's like the earth is giving itself a big hug

Do you have a favorite thing to do when it's raining, For me, I like to listen to music.

Aleksey:

Wonderful! I like to fangle and to make staple soup.

Katerina:

Edited

What do you mean? fangle

12:58 AM

Aleksey sent

It must have been a typo. I apologize.

I have a flat keyboard on my computer

Katerina:

No apology needed, friend! We all make mistakes sometimes.

Aleksey:

Thank you!

Katerina:

You're welcome!

I am sorry to ask so many questions about your family may be you don't like

Aleksey:

А вы говорите по-русски?

[This is "do you speak Russian?" in Russian]

Katerina replied to Aleksey

Edited

A little

[I saw the original reply, before the edit. It was:

A little" in Russian

]

Katerina:

why?

Katerina:

How many language do you speek ?

2:26 AM

Katerina:

I need some rest Dear. Goodnight Sweet dreams

Aleksey:

Good night!
The Rubik's Cube Turns 50
If you do this by hobby, if you ever have free time and want to play with c++11, here is an interpreter that is dear to my heart that I am curious if someone can figure how to speed it up - the tricky parts are the function calls.

https://github.com/adventuregamestudio/ags/blob/ags4/Engine/...
There was no way the Supreme Court was going to make a ruling that didn’t provide a backdoor for former, current, and future presidents. Mainly because it might open the door to some of the decisions a president makes that could be perceived as having criminal fallout. For example, ordering a strike (missile or something else) that results in collateral damage to civilians. Official acts is one of the super broad statements that’s open to interpretation and will take years of case law (if that ever happens) to narrow down to what it actually means.
Isn't that what git worktrees solved and noone knows about?
The obvious answer is Rust. But I respect their choice of using an existing and probably well-tested C++ code base as a starting point.
Principles for using feature flag systems at scale
That's what happens when you give your project a common name as a name.
How much do special forces use weapons significantly more specialized than the standard issue M4? CoD suggests that every operator is slinging a sniper rifle and some highly customized exotic small batch assault rifle; however, I'm guessing that's likely just to make the games more exciting.
Lets dig in:

Loading malicious fragments:
This is in no way related to htmx and is the same for all web implementations because you don't go get possible script code from random untrusted domains you don't trust or control. Also if he had tried this with the current version of htmx (2.0) he would have not been able to do this as it now defaults to blocking hx requests to external sites and you can only use local relative paths now. So win to htmx on this point.

Unsafe eval:
Yeah unsafe eval looks bad but almost every other client side framework also has this same issue and it is very hard to turn this one off on any modern interactive or SPA like website today. Htmx has the option to just ignore the two features that need unsafe eval and implement these features with other more custom solutions unlike most other solutions so I have to chalk this up as a second win for htmx.

Disabling HTMX with hx-disable:
I think it fair that hx-disable is not a fool proof security feature and is there to stop silly things and provide some isolation for content to separate it from htmx. But you should probably not allow un-sanitized data in here and expect this to save you.

Nonces for inline scripts:
Yeah htmx has some support for nonces and they can protect from inline scripts inserted into the page somehow but they won't protect you from scripts returned from your trusted local server via hx requests by design. Another small win here.

Configuration meta tag:
This one is a fair point and the use of malicious meta tags is an interesting attack vector. This may weaken some of the security features built into htmx but if you allow un-sanitized user input to be returned by your server like in his example app there are not many solutions that will come off any better off.

Conclusion:
When a site uses HTMX, the attack surface of HTML injection is the same as any other SSR solution. It is possible to limit the risk of XSS by using a content security policy. Security is simple and old school as you just sanitize your inputs which all modern backend stacks now make easy. But it not possible to have all HTMX features and provide 100% security against injection (unless you sanitize all inputs and only link to your own server).
If you place a bullet between rifle stock and the shoulder, then fire the rifle, it’s going to be mildly unpleasant, but the bullet won’t penetrate the skin, let alone kill the shooter.
This is a very low quality post, with little over the original tweet... But written in an unnecessarily inflammatory way. Imo should be flagged, not a good HN submission.
> When the highest court in the land makes you dictator

Obama was unchecked, never charged with a crime. Which I think makes him a dictator by your definition. The court never had the opportunity to rule on the matter.
Island restoration to rebuild seabird populations and amplify coral reefs
Yes! I'm already working on it full time, along with 3 employees. In the next month, we are bringing on 3 more.

Given the limitations of our funding model, we won't be building a huge team, but rather a small team that allows us to maintain a runway of at least 1.5 years. :)
> You were given examples already: "Using unique archival data, the results indicate that male scarcity led to lower rates of marriage and fertility, higher nonmarital births, and reduced bargaining power within marriage for women most affected by war deaths"

The fertility rate (amount of kids per woman) dropped, so no.

> policies that promoted nonmarital births

Nonmarital births does not mean that men were getting multiple different women pregnant at the same time.
could you not just compare the source (or perhaps even the hash) of the PDF and assert on that?
Sorry to hijack this, but I have a question and I'm sure someone here knows the answer. No, not you, openai bot.

Is there a way to get an svg from a map given a point and a radius? there is? great. Is there an easier way?

Thanks.
Avoid Walking in Circles While Blazing Trails: Advice for Early Stages
time machine research
Hard disagree. If you're a fan of the strictly functional "what's CSS?" look, you might as well stick to viewing README.md on GitHub and call it a day.
Visually comparing two PDFs is something a PC can do deterministically without any resource (and energy) intensive LLMs. People will soon use LLMs for things they are not especially good or efficient at, like computing the sum of numbers in an Excel table... (or are they doing it already?).
> and he didn't.

Not for lack of trying.

The lawyer, Donald F. McGahn II, rebuffed the president, saying that he had no authority to order a prosecution. Mr. McGahn said that while he could request an investigation, that too could prompt accusations of abuse of power. To underscore his point, Mr. McGahn had White House lawyers write a memo for Mr. Trump warning that if he asked law enforcement to investigate his rivals, he could face a range of consequences, including possible impeachment.

https://www.nytimes.com/2018/11/20/us/politics/president-tru...

We now live in a world where in a future Trump administration:

- Trump knows even if he's impeached he will not be removed because his party will protect him, since he was impeached and not removed for far more serious matters.

- SCOTUS just told Trump that any conversations he has with his DOJ are under the umbrella of core authority and cannot be reviewed.

- The current purity tests being employed at the RNC by his kin show a future Trump administration will not hire someone like Don McGahn who will tell him "no" about anything.

Why are you so sure a future President Trump would not try again and be successful?
Intrestingly esbuild isn't included in their benchmarks.

Esbuild is the only current build-tool that keeps one sane. The serve-mode is excellent and elegant with no brittle constantly breaking hacks like HMR or file watching.

Sadly configuring especially the serve-mode is a bit badly documented, and not usable via CLI flags if one needs plugins.
I work in marketing. It happens when a product aligns strongly with users' personal values and fosters an emotional bond with it. It becomes more than a practical solution, it’s part of the user’s identity and thus intertwines with their subjective feelings. That can lead to the formation of a community where users feel part of an exclusive club or a movement.
Yeah ok no, not gonna surrender my country.
yeah, maybe this paper isn't the most relevant source. hopefully you can find a better one if learning about this is important to you, i suggest reading the papers it references, or related papers in google scholar. i'm super not motivated to help you right now because you're acting like if you're wrong about something it's my responsibility to convince you

this kind of bullshit is really frustrating. my comment already explained that the kind of brain damage caused by apnea isn't the kind the pathology reports found, so it absolutely doesn't matter whether seal training involves apnea or not, or exactly what conditions are needed for apnea-induced brain damage, unless you have some strong reason for believing that the news article's reporting of the pathology is wrong

so actually it's fine with me for you to continue being wrong if you want. i don't have anything to sell you
Are you implying the president has complete authority over all branches of government?
OK so first compile python to a NN. But next let's twist or overlay that onto a Transformer-based NN. Then we can have a Transformer Virtual Machine (TVM) execute arbitrary programs.

Use some of that transfer-learning (adding weights on top of each other) and an LLM can be "born" with an algorithm deeply encoded.
We will absolutely have the ability to block ads. The web is downright unpleasant without this feature!
Maybe we should start talking in terms of scale then. Yes, we humans are inherent rip off machines, melding that together with our conscious experiences is where creativity is born. We aren't capable of ripping off at industrial scales, we get inspired by other work, a few people we look up to, and over time we develop our sense of taste and use our creativity to transform all these experiences into something new.

A rip off industrial machine ingesting all creation to spit out something else is not something we've seen or dealt with before, if we ignore the scale aspect of it we are very ill-equipped to deal with the consequences.

Scale always matter. A pretty good example of that is social media, we always had the village cranks, the conspiracy theorists, etc. but given the scale social media amplifies that we are now dealing with issues never seen before.
I don't know if this answers matches the question but, could be interesting anyway: My take would be the book that Jobs received on NeXT and it's logo. Granted, it was not "by a company about itself", but, rather, "about a company by an agency". Still ...
It is a strong datapoint, but he may be using meaningfully different weapons / ammo compared to seals.

Math avoids this kind of uncertainty.
Part of the ruling was that the conversations between the Department of Justice, the main law enforcement arm of the US federal government, and the President -- which are among his "official duties" -- cannot be entered into a criminal proceeding as evidence against him. Part of the criminal case brought against Trump regarding his attempted coup on January 6 relied on evidence and testimony from conversations where he requested unlawful things or showed an unlawful motive, but he did so within the framework of his official duty as President. The case now returns to a lower court and the prosecutor must prove it without that evidence.

So henceforth from this Supreme Court ruling, the President can call up the Attorney General ("official duties," remember) and say, "find a reason to investigate and arrest my political opponent."

That act, that conversation is now protected. And that action will be carried out, and there is no legal recourse, at least not long after much damage has been done.

At many junctures, not only the January 6 capitol riot, but many others, Trump was only prevented from disastrous anti-democratic actions by principled staff and officials around him. This time around, Trump (or any other dictatorial pretender) will not make the mistake of filling their administration with anyone but sycophants. Trump installed many federal judges. Even leaving it up to the courts to decide if something is an "official" or "unofficial" act, after the fact, is now left to fiat.
I would fully expect an LLM to not get natively good at this but to know how to reach out to another tool in order to get good at this
Location: Indonesia

Remote: Yes

Willing to relocate: no

Technologies: Javascript (backend/frontend), Postgresql, Rust, go, linux administration.

Email: m.awad.syahid@gmail.com

I've built a full stack web application for financial management using Postgresql as the database, rust in the server and react js for the front end.
I make my own reusable cable ties from bicycle inner tubes. Get free inner tubes from the bike repair shops. Cut a tube into rubber bands. Take 2 bands and link them like a figure 8 with then knot in the middle. Now wrap around wires and, pulling knot back through the tight loop so the loose loop is like a little handle, and the knot holds the loop snug.
What’s happening in the U.S. isn’t politics. It’s a quasi-religious schism that goes to fundamental beliefs about the nature of human society, how government should work, etc.

It doesn’t map on in obvious ways to what you see in Europe. In Denmark, for example, immigration was a political issue. When it turned out the people wanted to restrict immigration, the left of center government supported “far right” immigration restrictions.

In America, a large part of the left sees immigration as a moral issue, not a political one. When Trump was first inaugurated, the left refused to even accept Trump as legitimate because of his opposition to immigration. Hilary Clinton called his supporters “deplorables” and said he was “illegitimate.” This was long before any of the bad things he did.
Romance scams can go for months before they ask for money https://en.wikipedia.org/wiki/Romance_scam
> .50 cal sniper rifles and shoulder launched weapons like Carl Gustaf, the M72 LAW or the AT4 can [produce shock waves that induce cavitation in brain tissue]

The US military, and militaries in general, do not use weapons like the M82/M107 as sniper rifles very often. The M82/M107 in particular has a recoiling barrel (the entire 2.5' barrel slides back when shooting) and isn't a very precise weapon.

They're used for blowing up ordinance or disabling light vehicles. They are sometimes used for hostage situations because they're more likely to immediately disable someone.

The US military has pretty rarely used shoulder fired weapons, since they very rarely have to worry about tanks or aircraft. SEALs in particular wouldn't be doing that.
HN is a moderated discussion group that's intended to promote curious discourse. As such, community members may flag submissions and comments (if they have enough karma, and no, I don't remember how much karma you need for each). It's not perfect, but that's the intent. AFAIK, everybody has the ability to downvote. That's how moderation is done.

You can learn more here: https://news.ycombinator.com/newsguidelines.html
Very good tip; thank you!
My first job out of school was in defense operations research. Not at RAND, so maybe of limited relevance. But I found it less like modern data science and more like GOFAI. The work was mostly coming up with hand engineered models of military operations and then guesstimating the crucial variables since they were impossible to actually measure. I also observed that the analysis was rarely independent so it could inform policy in an unbiased way but instead was shaped to support particular policy choices.
Anyone that heard about John Gruber/Daring Fireball already knows he's 100% Apple sheep, it's not news...
Remote work statistics and trends in 2024
Building Confidence as a Competency
Specific to my workplace, neither one is NSFW.

But between the cartoon nude images and frank sexual content - folks who work in educational settings, or more prudish or locked-down settings in general, might prefer to know that the content could bring them unfavorable attention.
Silverbullet.md looks really good to me. With a few more features it might be able to replace vscode as my note taking app.
Parkrun USA
One possible avenue is making interfaces to basic services so complicated that we'll need AI to negotiate them on our behalf.

We've done it before. Kids in 1985 knew what files and directories on their computers were. I went to a bad segregated school on the South Side of Chicago, and I knew, because we had a class. Kids these days don't know. Maybe 15 years from now they'll call the kids who can navigate their phones through touch "techies" because all they'll know how to do is to politely ask their phones to do things. Maybe that will be the adults.
Claims about populations in medicine are not very much like math theorems. There are too many exceptions for a single case study to settle the question.
The future is self-hosted
Forget about the gym Chicken-sizing will keep you fit
This seems worse. They just outright copied the apple weather app...
Yes I agree, I'll add a section addressing these. thanks for the feedback!
I am not even in Russia, but that war pulled so much out of every region, including mine (which did not see fighting directly, but provided many conscripts and resources), that after the war there simply wasn't much to eat or too many people to work the fields. My grandparents first ate caramel candy in 1952, IIRC. Good luck increasing your fertility rates in these conditions.
Yep, it’s terrible and everyone is going for it.
A few years ago there was a slew of articles about storing energy by lifting and stacking heavy blocks of concrete.

I have no idea how efficient those designs are compared to hydro storage but I imagine they solve a problem for regions where there is no suitable site for the water reservoir.

Haven't seen that concept in the news recently, maybe it didn't pan out?

https://spectrum.ieee.org/gravity-energy-storage-will-show-i...

https://www.wired.com/story/energy-vault-gravity-storage/