skysight-inc/HackerNews huggingface dataset:
Took a slightly different approach for my gate, about a decade ago. Took apart one of the RF controller fobs, and wired it using a cheap relay from Aliexpress, and hooked it up to a Rpi's GPIO pins. Wrote a simple python code to control the open/close using the WiringPi library, with Alexa control achieved via the HA Bridge open source Philips HUE bridge software. Added Siri/Homekit control using HomeBridge.

Recently added two cheap outdoor cameras from Aliexpress with HLS streaming capabilities (and PoE) and wrote a simple iOS app that offers two different views (inside and outside gate), with a simple toggle button to open/close the gate. Backend hosted on a cheap $8 per month OVH instance with secure Tailscale access to the Rpi at home. This way, I can monitor my gate remotely from anywhere and open/close as required.
If there was a code editor that _actually_ supported the HTML language as it's specified, and allowed you to select by element in the editor as well - that would be amazing.

Right now the problem I have is that text that's been marked up as HTML suddenly then becomes harder to wrangle around than it was to put it into HTML in the first place.

I want an editor where I can "select all <p>" or "search and replace all <h2> tag names with <h1> tag names while leaving attributes intact" and other ways of reasoning about HTML as HTML in my editor.
SEEKING WORK | Generative AI Expert

GenAI Expertise: I build OpenAI bots and prototypes. LangChain, OpenAI, HuggingFace, Python. So far, I have built 6 PoCs and MVPs. Most of these projects were 4 to 6 weeks long.

Recent Projects:

- UpView AI: LangChain, OpenAI, Google Trends, Youtube Studio, Chroma Plugin

- Basis AI: NextJS, Clerk.dev, OpenAI, LangChain, PDF Parser

- Law Chatbots: Python, DocAssemble, LangChain, Huggingface

- Tax Buddy: NextJS, Clerk.dev, OpenAI, LangChain, PDF Parser, Chroma API, Pinecone, Llama2

Contact: rupal.mobilefirst@gmail.com
Calendly - https://calendly.com/mobilefirst-intro
> least two decades the US maternal mortality rate has been terrible for a supposedly advanced country.

You are making the assumption that other countries previously measured maternal mortality the way the US currently does. Given US hospitals are actually good, despite costing a lot, I find it more likely that other developed countries also underestimate maternal mortality.

And if you read the article, it actually states that

> Maternal mortality is underreported in national statistics in many countries
The court remanded that part back to the lower courts, to determine if Trumps Tweets were in his official capacity or not. There is a good chance that whatever the lower courts decide will be appealed back to the Supreme Court again.
Learning to Live with AI
> The drama around AI is bit ridiculous. It's going to revolutionize every business, cure disease, make us 8000% more productive, save the world. Also: it's going to steal every knowledge-worker's job, destroy the economy, and enslave civilization! The fact that everyone feels these things simultaneously makes it clear that it's not just a fad. It's also clear that it doesn't matter whether I like AI or not; any future job I ever have is going to expect me -- as a leader -- to make decisions about it. I don't have to like it, but I'm going to have to know when to use it, or perhaps when to defend against its abuse. I was joking with a friend that it's a bit like nuclear energy: it can create abundant power, and it can also be turned into a bomb. And now companies like OpenAI and Google have been passing out little bits of plutonium from street-carts to every person on the street. It's time for me to take some home and study it.
I mean, when things go bump on our farm my wife won’t hesitate to grab the rifle and haze a black bear or coyote. I’ll lay down my life for my wife and kids but I assure you she can be as dangerous as the next guy; in general much more.

It usually comes down to proximity and appetite.
It tracks with other current 20-something device trends, like early 2000s-era digital cameras and dumbphones.

Like those, Kindles (and e-Readers more generally) tend to be single purpose devices that are not at all conducive to social media distractions.
> this is the exact moment when oral arguments are extremely important. They write them down after they're made, not before.

The two parties and their friends have submitted mountains of briefings before oral argument. The arguments made in front of the court are already fully baked. Oral argument is only a signal on where the justices' thinking is taking them at the time. All of this is public, by the way. You can go read everything on your own (something more people in this thread should do).
Thanks, I couldn't be bothered to look it up and I knew Cunningham's law would kick in. :)
I would be interested with an ability to temporarily filter (show only from / hide from) shared links from a specified domain or see all posts of the same type (e.g. Ask HN, Tell HN). But without having to be a full blown search.
i guess they just want to maintain the illusion of growth bro? but i could be wrong tho.
> I know for myself that every day I do approximately 1/5th of the total amount of productive work I can do in a week while remaining happy and willing.

Very curious given that our current calendar weeks are completely arbitrary. How do you explain such a coincidence?

If for historical reasons we today happened to have eight day weeks with six workdays how much work would you deliver every day compared to your baseline of a seven day load? I would guess (1/6)*(8/7).

Jokes aside, the fact that you won't deliver more results if working longer most likely reflects problems in the way your work is set. Capitalists who seek longer weeks normally make sure it's not the case in their organizations. The reason why we now mostly enjoy reduced hours is not the increased productivity per year (which is not true in general) but a belief that healthier citizens will put in more years of work while straining the healthcare system less. So an attempt to prioritize long-term interests while knowingly damaging the short-term.
Checkout https://hckrnews.com!
That's irrelevant since he's committed a number of serious crimes.
Plenty of binary formats out there containing big endian integers. An example is the format I'm dealing with right now: ELF files. Their endianness matches that of the ELF's target architecture.

Apparently they designed it that way in order to ensure all values in the ELF are naturally encoded in memory when it is processed on the architecture it is intended to run on. So if you're writing a program loader or something you can just directly read the integers out of the ELF's data structures and call it a day.

Processing arbitrary ELF inputs requires adapting to their endianness though.
It isn’t just in SPECOPS. A lot of the current mess going on in society with politics is about ‘as long as they do what we need them to do, crimes don’t matter’ too.
Location: Chicago, IL

Remote: Yes

Willing to relocate: Maybe

Technologies: JavaScript, Typescript, Python, Node.js, Next.js, React, Vue, Three.js, Tailwind CSS, AWS, DynamoDB, S3, Postgres, LLMs

Email: keenanmkarich@gmail.com

LinkedIn: linkedin.com/in/keenankarich

I’m a seasoned Full-Stack Software Engineer with a 9+ years of experience creating scalable web applications and leading technical teams. Proficient in JavaScript, AWS, React, Vue, and Three.js, I specialize in building dynamic user interfaces and scalable backend solutions.

Most recently I founded Transfer Thought, a Techstar's company, where I built a web based virtual reality platform that empowered users to create VR applications. This allowed anyone with a browser to build and deploy immersive experiences. I am interested in becoming part of a team of creative developers who are committed to producing exceptional products and pushing the boundaries of technology.
Maybe this doesn't count as static, but I used to regularly use reflection in C# to generate code for interacting with foreign DLLs.

This was a video game mod, essentially. I needed to create a text interface to modify settings for any other mod that might be installed. Other mods would simply implement a settings class with certain attributes, then I could list out all fields and their types. The list was processed into a sort of tree presented through the chat interface. From there I can generate code to modify that settings class from outside its assembly and raise value change events.

The reflection part of that was extremely simple, but just because that's how C# works. C# makes a task like this almost trivial.

At my current job, we have a similar thing. Classes decorated with attributes. We inspect them and check the generic type they implement. This way we register message handlers by their message type dynamically. You write a handler class and it simply works.

Windows Forms had a PropertyGrid control which did the same thing as my text interface, but with a grid of properties you can edit freely.

Most of this stuff is typically done at runtime. But you could have it be static if you wanted. A precious job did this to access the backing array inside of a List<> object. I offer no explanation or excuse for that one.
No it doesn't. There's nothing in the constitution that grants immunity to a president and no reason why Donald Trump had to commit the crimes he's charged with.
Men dying in a war, Women most affected. Just underscores how disposable men are. Not like they had hopes or dreams or anything.

Maybe it would be fair if men had privileges to go along with such obligations but equality is equality. It’s not like the world is short on people.
You might enjoy having a look at https://www.macrotrends.net/global-metrics/countries/GRC/gre...

All the reforms forced on Greece seem to be having an impact on the unemployment rate. Of course, no one talks about that.
Or ifconfig.co
I've taken pistol and rifle classes. And as a Boy Scout I was in a troop that strayed close to a proving ground.

Yeah, there's a very big difference. I mean a BIG DIFFERENCE
What if there is no ‘primary cause’ that can be fixed, while still solving the underlying need the country seems to have - which is ‘have a large standing group of highly trained, extremely focused, non-conformist, insanely competitive, and professional killers ready at a moments notice’?

It’s not like the mere fact of creating/concentrating the population of the folks willing to be this doesn’t also create a whole swath of secondary effects.

Since after all, if steroids and similar PEDs do actually improve performance - which we wouldn’t be getting worked up about them this way if they didn’t! - then isn’t using them nearly a duty of the folks we are talking about? After all, mission first, and they’re (somewhat) expendable due to the nature of the work.

We make them do all sorts of other things which regularly puts their lives and health in danger, after all, and all the ‘high speed low drag’ folks I’ve personally known have had some kind of long term health impacts. Even if it’s just a lot of joint pain, or screwed up knees/backs.

And barring undesirable secondary effects, isn’t it saving lives and accomplishing missions that otherwise would not be? That is what they signed up for, literally. That and having the absolute craziest stories at the bar later.

note: professional bicyclists and weight lifters will also always have a doping issue that needs mitigating. Well, mitigating if we care about their health vs absolute performance anyway.
A argument could be made for that, the counter argument would be that ordering the White House Chief of Staff to lie to investigators is a very different act to ordering the AG to investigate a purported crime. The majority opinion was pretty careful to examine the exact nature of the conversation with the AG, leaving it open that not any conversation could have been claimed as official.
My car was made in 2004. It isn't particularly old. I'll probably drive it another 5+ years. By that math I won't have DAB until 2045.
They were right as to the cause.
Except he committed those crimes. There's nothing wrong with punishing people for crimes they committed, especially when entrusted with so much.
> they're all on drugs

Steriods? I have heard similar.
People still use production environment?

The software world feels more like a test only environment.
Why, the #1 nation, of course.

My title became too much of a clown car, so I had to remove the country. (I didn't dream that it wasn't in the article!)
Show HN: BerqWP – Core Web Vitals and PageSpeed Optimization Using Cloud
Hey Hacker News,

I'm excited to share BerqWP, a WordPress plugin designed to automate Core Web Vitals optimization. BerqWP tackles challenges like cache warmup, image optimization, and JavaScript/CSS optimization, ensuring WordPress sites load faster and rank better on search engines.

Key features:

Cache warmup
WebP and lazy loading for images and videos
JavaScript and CSS optimization
Fixes for Largest Contentful Paint (LCP) and other Core Web Vitals metrics

Check it out on WordPress Plugin Repository and let me know what you think!
I don't know if there's an idiom getting in the way, but "put a stopper in" also sounds like bottling to me.
I’ll start caring when you tell me I’m getting an offer.
That's not a defense though - because of qualified immunity, cops get to be rampant authoritarians with 0 recourse for most people.
Sorry about that, it was a silly typo on my end. I've just pushed a fix:

go install github.com/mr-karan/doggo/cmd/doggo@v1.0.2
Life is hell if the world won't let you be who you were born to be.

I'm not sure if I would have made it if I'd been born into a world without computers.
That's utter garbage. Juries acquit people when the cases are weak and defendents have the same rights they always have had probably more.

Prosecutors don't go to trial unless they have a solid case especially against a former pres.
> People who are uncomfortable with suicide are ultimately uncomfortable with facing the reality that they live in a society that encourages it.

It really does seem like projection.

In the US, neighbors will pay for your funeral but not your insulin. Collective disinterest in being confronted with the problem.
Location: USA
Remote: Yes
Willing to relocate: yes in USA

Technologies: Programming and related skills Java,C Sharp,Python,OOPs,Android Programming(Java),go

Frameworks and Tools MySQL,Apachekafka,postgreSQL,AWS DynamoDB,AWS S3,AWS Lambda,AWS ECS,Kubernetes,Docker, goroutines.
Web Technologies JavaScript,ReactJs,HTML,CSS,PHP
Program Management Agile/scrum methdologies,cross functional teams,Requirement gathering, Design ,Data analysis, Datadog metrics
Project LifeCycle SDLC,Waterfall,Agile,Iterative and incremental,Adaptive
Other Technologies Git, Github, Maven, Spring MVC, MySql,PL/SQL, terraform, BuildKiteSkills

Résumé/CV: https://www.linkedin.com/in/bhavana-vakkalagadda-529ab1a1/overlay/1713992259982/single-media-viewer/?profileId=ACoAABWyjLEBd-LHKlgWznKs7ORF79BNy65pZYI

Email: bvdev4lyf@gmail.com
Ok, so now the question becomes what’s 4 mouse weeks in human decades?
I have a vague hunch where Rust is chosen because of the good quality abstraction the language support that's missing from modern languages.
I keep joking about it, but immutability is si valuable for general software development. None of the mainstream languages support that, but Rust achieves the same benefits (even if in a different way). Then the Rust type system is sound while modern languages are still dealing with problematic nulls and lack of advanced types (like what's possible with typescript)
1/3 sounds big, the the event happened in 1962, so the actual number was probably something like 2 or 3 total.
Here's the link to the actual Opinion, which is worth reading because the arguments are complicated and nuanced - and this makes sense, because no former president has faced criminal charges before. The reporting on this topic is atrocious.

https://www.supremecourt.gov/opinions/23pdf/23-939_e2pg.pdf
> In late May, a 21-year-old enlisted man from California was killed — beheaded, in fact — while on a camping trip with six of his fellow paratroopers; once again, no arrests have been made in the case.

What the flying fuck!?
Anyone who's using Windows for mission-critical tasks should be familiar with this if they are technically qualified to fully grasp the XML or not.

You may or may not think his example personally-crafted autoattends are ideal for your exact needs, or even deploy any of it yourself at all. Still very helpful for understanding Windows performance anyway just to be familiar about it.

Along with the associated Chris Titus efforts, you can see how to build your own confidence when it comes to a tweaked XML file customized for your own particular preferences.

This can take you far when it comes to getting more from the same electronics+application.
The genders are not equal, you're operating on fictional premise.
Salem Witch Trials Documentary Archive
As someone who uses heynote almost everyday, having it in the browser makes so much sense.

Heynote is ~200mb, eats a lot of ram, I think I am switching over to this.
Powell Duped by Russian Pranksters on a Video Call. How the Fed Fell for It
https://archive.today/2idOr

FOIA Responsive Records: https://assets.bwbx.io/documents/users/iqjWHBFdfxIU/ruuKYduo...
I just want to say, this is gloriously crazy. Kudos.
"There is a button below every post labelled ‘favourite’, once you’ve marked..."

Right, but that presupposes I want to remember or mark it at the time when I first read it which is usually not the case.
Their definition of official act includes ordering an officer to take an official act.

So if the pres has anyone who can kill someone for legal reasons this decision allows the pres to use that person to kill for illegal reasons.
You can sort of do it so long as the return type is a template parameter.

template<typename T>
T my_construct() { T result; return result; }
Yes, that is the case, but the extra stops also screw with the ‘longer high speed rail’ case. It’s tricky. Having one stop which transfer people to a slower parallel line might work better for that. (Also the Japanese approach)

Stopping burns a lot of energy and time.
I feel like this article makes sense from something like March 2023, not June 2024.

The radical hype it's characterizing has mostly burnt off. Something surprising may still arrive, and there remain researchers that are optimisric, but critical money supplies and product leads have begun accomodating an early plateau and the especially anxious have started talking seriously about a new AI winter and overspending.

The language used here feels wildly out of sync.
The spaghetti code approach is basically an expert system. An old school algorithmic AI. Outside constrained domains these systems never really performed very well. Reality is just too messy.

Having a system where you can see why it works the way it does is all very well, but not if it keeps giving the wrong answers. In real world use getting the right answer is often more important than knowing how you got that answer.
Should this be a map or 500 maps?
Did they regress again??

https://news.ycombinator.com/item?id=40843778
Ukraine is now drafting old men.
Show HN: Visual design SDK side project taking off
It started as a passion project outside main gig, but slowly and steadily it gained momentum. Happy to know it's going beyond commercial, as Polotno is powering dozens of schools, universities and non-profits worldwide. Check out our freshly updated website.
My brief searching couldn’t find any previous examples of a rocket escaping during a static fire test, or even of an orbital class rocket being launched accidentally, so this may be unique.
Are they? a farmer shoots one of them in the leg and they nuke a town? there is a reason that medals for bravery don't goto SF but to forgotten army guards who die defending little hinterland hillforts against insurgency.
sf era is closing rapidly with flying ieds getting everywhere..
Hi, I'm interested in the opportunity. I already sent an email, and I'm wondering if there are any social media or platforms that I can get in contact with to ask some questions and maybe learn more details about the position.
As opposed to the desired outcome of fast tracking it to try and influence the election.

Games, from both sides.
From their FAQ,
https://www.ycombinator.com/faq

No, it would be a mistake to wait to apply. On average, *40% of the companies we fund in each batch are just an idea*. Most don’t have any revenue.
Or incompetent. If you knew this was going to break, why did you approve it? Your only defense is "there was a lot pressure to get into the release xyz". There's not much sympathy for that defense. The animal spirits that thought the broken feature were the most important thing ever are long gone, and frustrations about the new outage caused by the previously most important feature ever have taken over.
Please see my other comment. They say they do fund with just an idea. But I agree with your sentiment. Thats why I am asking :)
Every time I bring up the military, I get down voted. That's because (I believe) suggesting anything is wrong with military spending, military behaviour, or foreign adventures, is simply off limits.

Discussing or criticizing anything military related us seen as disrespectful to troops, and Killing the argument there kills more problematic questions (like 'was the invasion of Iraq a symptom of a larger problem like a too-bloated budget?')

One can appreciate those choices served, and support their assimilation into society, while at the same time questioning military ideals, spending levels, and behaviors.

And yes, training people to function well in situations that are borderline suicidal, training them to follow orders that put them in harms way, is going to have psychological effects on at least some of them. When you train people to behave abnormally you shouldn't be terribly surprised at abnormal behaviour patterns.

I say this as an ex military person myself. There are a lot of questions worth asking, but unfortunately society would prefer to remain ignorant. It's easier to live guilt free if "we didn't know".
Obviously FT is British but I think it can be hard to fathom just how grim Britain is. It’s properly cold. Doesn’t really get warm in summer. Of the developed nations on Earth the list of worse places to be homeless is short.
Lots of good points here. The problem with JS optimization is that, as developers, we are basically flying blind.

Looking into how to get more debugging information out of a JS engine, I found this V8 blogpost that explains how to install a debugging version of V8 called "D8" [1].

I wish getting debug info was way easier though. Imagine being able to do something like this:

function xyz() { "use debug"; }

--

1: https://v8.dev/blog/elements-kinds#debugging
Reddit discussion:

"Problematic Second: How the leap second, occurring only 27 times in history, has caused significant issues for technology and science."

https://old.reddit.com/r/programming/comments/1dst1ii/proble...
Senior team members are usually the worst offenders.
Ideal-Tek, not Idea-Tek.
I had no idea such a subreddit even existed. It sounds like /r/cantgetlaid to me, but clearly there is a market for (poor) advice and reading others’ stories, problems and complaints.

But: OP will be starting from zero. And even if he had 5.8 M lurkers, which he doesn’t, how many would sign up to his service, take pics of 100 items in their wardrobe and then be confident enough to receive good advice to pay for it?

I have no idea, but if almost 6 million souls want advice on Reddit, maybe there is indeed a potential market.
I completely agree PHP is a terrible language - as I said, I hate it - but your comment was still not very relevant.
During summers, old commieblocks in my neighborhood look like ships in a sea of trees. High density and lots of greenery can coexist.
Off topic but I did not know that Hatetris and "there is no antimemetics divisions¹" have the same creator : qntm !

1- https://qntm.org/scp