skysight-inc/HackerNews huggingface dataset:
Perhaps it’s geographically correlated, I’m from The Netherlands, which would be West+Central Europe in terms of cultural zeitgeist. Would map neatly to the iMessage / WhatsApp divide too, if for different reasons.
I like this.

It is like a CTE but you can take a subset of a database that satisfies the join condition. I could see this being used in a select for update scenario.
PreCheck reduces the intensity of the actual screening: walk-through metal detector instead of millimeter wave scanners, can leave your shoes on, keep liquids/laptops/etc in bags, and at airports with a mix of 2D X-ray and 3D CT scanners for baggage, the PreCheck lanes are more likely to have the older X-ray scanners.

The reduced scrutiny is the justification for the fingerprinting appointment background check. I haven't seen anything similar in Europe, but busy airports are far more likely to have an efficient security setup that can already cope with leaving liquids in bags and the like. Many US airports still have security checkpoints that look like temporary installations, with portable equipment--even when they're brand new redevelopments!

Usually, the queues are shorter for the PreCheck lanes, but this isn't guaranteed.

CLEAR replaces having an an agent compare your face to your ID with having a kiosk compare your biometrics. The real advantage comes from having a CLEAR employee then walk you past the queue to get by the normal ID checking podium.

You need both to get the guaranteed short queue and the less intense screening.

(And then there are the programs to expedite the immigration/customs process too, but at least those include PreCheck, so you don't need all three...)
Tesla again threatens to sue Cybertruck buyers who try to resell the cars
Drug use is a mental health issue. People take things that make them feel good when they don’t feel good. They’re just self medicating and we need to start treating it as a symptom of an underlying issue rather than the issue itself. Same with the obesity epidemic. It’s not the what, it’s the why.
> The functional people have discovered SQL

Either that, or the SQL people have discovered functional
Criminalization works, even without sniffing dogs and modern surveillance, when the crime is also a sin. See Islam. To this day I know no relative or close friend of mine who ever drank any alcohol, nor one which used any drugs.

But ofc this is the unthinkable for West. Downvote, pass.
This sounds a little like treating a symptom so one can pretend they don't need to solve the actual problem, which is homelessness. Which you solve by providing housing, and a long term caretaker-supported program to help folks clean up, get good psychiatric help and therapy, another pass at the educational system, and then hopefully at the end of all that, a new shot at a normal life.

That costs a lot of money. Something that people who want to live in a city that's livable should probably be willing to collectively pay for. But don't.
think it's an api wrapper for old school NP complete/unbounded delimited query aka (system("dump all database tables in delimited format, grep for results, create new database with grep'd results while keeping original datatypes/functions/etc)). Hopefully with full 8/16/32/64 utf suport.

Perhaps sql take on 'view to a kill' aka create view / kill -9 database view
When using server sent events, the only issue I worry about is short tcp timeouts. If either of end terminates the tcp connection, you have to restart the event stream. If the timeout is low, this will basically be inefficient polling.

But with that said something that forcefully terminates your tcp connection with a really short timeout is making the internet generally unusable, so it’s something very unlikely to happen.
Libra is one of two other air signs - the other is Aquarius. They're 4 months offset from Gemini.
Ask HN: Your simple, reliable GPT(-3.5) business use cases
I am looking for first hand business applications, that are reliably useful to you.

Doesn't matter what it's about. It does not need to be complicated or exciting in the slightest. In fact, I am asking for 3.5 because right now, most use cases that I come up with even GPT 4 struggles with. I am looking for a comprehensive explanation of a task and a gpt powered solution.

This is specifically asking for business cases, because I would like to avoid this Ask HN to revolve around hacky/fun/hobby projects (albeit that would probably be very entertaining). Applying ai to grab some low hanging business fruits is more interesting to me right now.

Thanks to anyone sharing!
This article was not about using web sockets, it was about using a standard HTTP stream in a somewhat unorthodox way by never completing the request. Instead just beginning the response and occasionally "flush"ing data in the buffer to the client. The problem is that you'll often run into middleware that will do one of the following.

I've personally encountered WAF proxies that will wait for the request to complete before sending any data to the client, that means that the client would appear to receive no data until the request timed out or the server completed the response.

I've also encountered MITM/DPI and load-balancing proxies that will do the same, waiting until a buffer is filled and/or the response is completed.
https://archive.is/fp84g
What is this "potent new methamphetamine"? Mainstream outlets keep parroting this line, but I have yet to see any convincing chemistry.
We really need a better word than "contaminated" here. "Contaminated" implies that the objectionable substance is there as the result of someone's bad behavior. Sometimes, of course, it is.

But not always.

There are a lot of places where the soil and/or groundwater has a lot of lead, arsenic, mercury, what have you, because that's just the way the geology is and always has been, even before humans existed.
But very few of the people on Earth live where you live, either. What’s the point?

People I know in India tend to use WhatsApp. People I know in Europe tend to use whatever shit is popular where they live. Discord, Telegram, FB Messenger, iMessage for those with iPhones, SMSes as a default, you name it. Again, what’s the point?
I prefer American screening. I was recently in Frankfurt and was very pleased to find they had a line for families with children, but then every single screen was equivalent to the screen you receive when you leave a water bottle in your luggage in the USA. Everyone was required to have a full on 2 minute conversation with the security agent, and children were screaming as they received intensive pat downs.

If you're going to have security theater, at least try and make it fast.
What if the underlying issue is capitalism itself though?
> It’s WiFi that is the weakest link...

Uh, I have a beef with this. I worked in a hospital (multiple medical facilities actually), and there are many, many medical locations have wifi poorly rolled out.

Hospitals are places that look nothing like a house from an electromagnetic perspective. If you don't put stuff in the right places, it won't work well. But if you do it right, then it works fine. And that's true of old buildings and new ones.

- - - -

EDIT - to clarify, it's not the wifi, it's the design of the wifi network (hotspot locations, backhaul, etc). It has nothing to do with wifi wireless technology itself.
> In the US you have this TSA precheck that you need to have an appointment to set up?

I think it's just a one-time appointment to get enrolled in precheck. While flying, you just select a different (in theory speedier) line.

"CLEAR" is weirder. They're a private company, for one; AIUI, they get you through the lines quicker, and they do the document check portion¹ of the TSA flow, but not the security screening; vs. the TSA Precheck will result in a lighter security screen portion. (They're expensive, so I've never considered them.)

¹the typical TSA flow is: 1) huge line, 2) "document check" where your boarding pass & ID are inspected, 3) small line, 4) baggage xray + (body scanner || pat down)
> In case you don’t know about it: https://libdivide.com/

The division routines generated by libdivide assume that fast integer multiplication is available. If it isn't, you may be better off with other approaches.
Does this actually do anything for your perceived wellbeing?
I was thinking the same thing:

https://en.wikipedia.org/wiki/Sailing_stones
You'd need a paradigm that permitted sins, comrade. You're speaking a language they literally can't hear.
None of the existing chat apps have established themselves as viable alternatives

Meta has trashed their privacy image so FB Messenger/WhatsApp non-starters for lots of Americans. Signal, telegram don't have enough PR, 90% of Americans have never heard of them. Kik was popular but died due to their financial trouble. Discord/Groupme have found success by marketing themselves towards particular niches, but people don't really think of them as general-purpose messaging apps
> Isn't the issue the strength of the end device in sending a signal back to the AP?

It absolutely is, you're correct. What most people fail to realize is nearly all mobile devices prioritize battery life first before anything else, including connectivity. On windows if you don't disable the power saving feature on your wireless NIC you're going to have drops, or straight up struggle to stay connected.

MacOS used to handle it better, but since BigSur, connectivity is about the same with Windows. I believe various Linux distros handle this better (like Kali lol)
WhatsApp has ~100M users in the US. FB Messenger has ~140M. I would argue that Messages has a far lower number once you exclude pure SMS usage.
I’m sure there’s a number of reasons for this - after about 5 PM, your options are typically the ER or an urgent care. UC’s usually require payment up front, and for people who either don’t have insurance or who have high deductibles, the cost of care at a hospital (which is way more but can be put off) vs the up front cost of urgent care probably pushes people towards ERs.

There’s likely other factors - lack of medical education/first aid, consulting Dr Google and then having anxiety that maybe that slight pain is something horrible, etc.

A public health system could alleviate this stress, if done well. Clinics that are open later than “business hours”, readily accessible telehealth providers, and better public health education could all come about from a public system. Privatized, all of these can only exist with a profit motive, and the insurance and health system are costly.
That's not an engineering solution.
The best way to use feature flags is when adding or removing a feature.

You add and test the feature flag before you deploy in to prod so you can disable the feature quickly if shit hits the fan.

Same for removal, disable first. Make sure it's all ok, then remove the feature later.
> In that case a reconnect logic would be necessary. But same applies to websockets.

Arguably you’re even better off in the SSE case, because it specifies a reconnect mechanism that allows clients to reconnect without receiving duplicate data. If you’re working with a client library that understands this (which includes any to-spec browser-based client), you just need to handle the reconnect header on the server and you get reconnects for “free”.
https://archive.is/IwMPY
As far as I understand it, with JNA, all calls into C code go through libffi: https://github.com/java-native-access/jna/blob/master/www/Fu...

This means that every call sets up some libffi data structures and libffi uses this information to perform the native call. Likewise in the other direction for return values. With JNI (and Panama), Hotspot can directly emit the argument/return code a the call, not too dissimilar from what a C or C++ compiler would do. There is still some overhead from maintaining JVM invariants. For example, I think a thread blocked in an FFI call can still participate in a safepoint. But that applies to JNI as well.
"There is freedom of speech, but I cannot guarantee freedom after speech" -- Idi Amin
I want to love this tool but I can't.

This tool seems like I need to provide it a onion link to search. How is that any helpful to me?

How about I give it a term and it uses a collection of onion links, which I dont need to provide, so that it does the work for me.

Otherwise, why would I install this ever? Im doing all the work to get onion links? And Control + F ing

If you can fix this so batteries are included, this would be incredibly useful to me.
I've been self-hosting a ton of things for decades. It's been fine and I'm certainly not going to stop. For a small amount of time spent doing maintenance stuff, I get to have complete assurance that my service providers isn't doing something terrible to me because I am that service provider.

As a bonus, I have a much greater amount of uptime than any third-party provider I've seen and when there is a rare instance of downtime, I can just fix it and get it back up quickly instead of sitting around twiddling my thumbs for an hour or more waiting for someone else to fix their systems.
> The officials decriminalized drugs,

No, the voters decriminalized drugs with a constitutional amendment.
Both parties are aware of the other. One of the premier authors of advanced sql concepts programs in Haskell. https://en.wikipedia.org/wiki/Joe_Celko
You're right: if they didn't have food, they wouldn't be able to afford drugs either.
Rant: we should avoid the term "database" in contexts like this. The standard terms are "schema" (for the definition of "database" that sqlite and mysql use) and "catalog" (for the definition of "database" that postgresql uses). It's further overloaded to sometimes mean DBMS (database management system, i.e. an implementation), and sometimes also "cluster" or "daemon instance" (which sometimes overlap with one of the previous senses, but in different ways per implementation).
Ford cutting F-150 Lightning production by half in 2024, suppliers told
Before string_view, in my experience, people tended to pass around strings by const&
I wish there was a good beginner level entry point with a kit or something. But most of what I saw was "you need to build your own tools and then you can start" and that's too high a barrier for me.

Is there by chance a simulator of this on Steam if a good beginner hobby kit doesn't exist?
> Locking people up or making drugs illegal will change nothing but cause there to be more pain.

Making drugs illegal and locking people up, or straight up executing them, is actually extremely effective at stopping drug addiction, as seen in many east Asian countries, particularly Japan, Korea and Singapore. As well as the middle east.

It's an uncomfortable truth for the Western world because we don't like strict punishments for nonviolent crimes, and for good reason. But let's not pretend that the heavy-handed corporal punishment approach doesn't work.
If decriminalization relies on a whole raft of practically infeasible (or very expensive) associated programs to make it work, is it really a viable strategy?
Solution found.

curl -sA "" https://developer.chrome.com/blog/sitemap.xml \
|sed -n '
1i\
<?xml version="1.0" encoding="UTF-8" ?>\
<rss version="2.0">\
<channel>
s}\(<loc>\)\(.*\)\(</loc>\)}\
<item>\
<title>\2</title>\
<description>\2</description>\
<link>\2</link>\
</item>}p;
$a\
</channel>\
</rss>
'

If this isn't correct RSS, please forgive me. I'm not an "engineer". I prefer a personalised, simple HTML made from URLs as opposed to XML. I write filters to generate this in C.

NB. The public sitemap.xml still refers to an (unofficial?) RSS feed.
I've been locked in a hospital for chemical dependency treatment, so I have a hard time believing that it's impossible to force people into it. There was, of course, a huge bill that my insurance largely covered, but I suspect that homeless peoples' health insurance is not so good.
The word you're looking for is shame.

I'm not sure the benefits of increased shame in society is worth the danger of allowing radical Islam or Christianity to flourish in a free society.

Of course, there are wonderful atheists and non-Abrhamic believing people in the world, and there is Hamas and ISIS.

I'd rather live in Portland than Tehran.
I'm curious, what's the "updates to the program" that were required? I'm not well informed on this issue.
You are completely missing the point. Ultimately, higher education is not about learning more about computers. It is only about natural language communication and research. Nothing more follows.

There are two great failures that occur from a bachelor level CS degree. There are actually many failures, but two reign supreme. First, most developers graduating with that degree cannot communicate in writing even at a child level. It is absolutely mind blowing how bad it is and completely sets the tone for the profession.

Second, the practical application of that degree is at best superficial. Many people who graduate with a bachelor's CS degree will tell you they learned so many things of such great diversity they never would have learned otherwise. In practice though, their skills appear to apply extremely narrowly, so what they claim as diverse appears to many other people as average or less and even then never applied. If you want a magnitude greater diversity of technical skills do equivalent work for the military. I can personally testify to this as I have worked in both environments, military and corporate software, for more than 15 years each.

Anybody smart enough to program, at least on real original products that ship, is smart enough to teach themselves to program. They can do that and simultaneously earn an education that teaches life skills like advanced written communication, finance, or whatever. If you want to be a beginner, or practical equivalent, with maximum career mobility then stop at that CS bachelor's. Most developers get burnt out on that after 12-15 years after learning to stop repeating the same mistakes over and over only to be burned by junior peers who cannot operate a higher capacity.
I think the difference is that drug use was at least kept out of nice/touristy parts of town.

There was lots of blatant drug use all over town, but you could expect to go to Powells or Pioneer Courthouse Square without seeing people smoking out of pieces of foil.

So while it was not a great or sustainable system to have police clear out good neighborhoods and force addicts into designated bad areas, having a city be equally unappealing to everyone is in the long run a lose-lose trade-off.
Perhaps they should have done the “follow-up legislation” before the decriminalization then?

I think the problem is quite the opposite from your diagnosis. There are no standards for legislation “success” or “failure”. Very few bills actually achieve their stated aims, and all the ones that don’t are kept on the books, then the results are blamed on under-budgeting, or partisan politics (which should be foreseeable if true).
WhatsApp is by far the most popular option overall and in Europe too. Facebook Messenger and WeChat are also popular.

iMessage is only used in the US.
He is not using SSE, he is writing to the stream of an open/incomplete http response. The caveat you name is exactly why I said this solution is one I'd avoid. You're also not taking into account several other pieces of middleware that expect a whole response before forwarding it on.
It shows how gov policy is a one way street though. Any time you say yes to gov it's yes for at least a couple decades and then when issues become so apparent for so long they'll start having meetings to plan meetings to reform it and then another decade the reform will remove half the burden and leave the other half.
The big thing I think with any book is to aim to inspire people (especially younger ones) to create for themselves, and while there's probably a way to do that with an exegesis of the existing source I don't know what it would be. The approach you take in your books is one that I think is inspiring to people to get them trying these things on their own - which is after all where the real hard learning happens.

That's particularly true because so many point design decisions made in commercial codebases like Coherent were conditional on a wider context - both technological and business - that just doesn't exist any more, and that I think gets in the way of helping younger people reaching a deeper understanding and appreciation of the design decisions made.

Recontextualising that code, and re-examining those decisions in the light of the modern day is just more interesting to me, and as well provides the chance to lead people through the process of solving the design problems in a way that's narratively easier to follow. Bootstrapping forces an order on what you do that gives a particular structure to the presentation, while at the same time we have aspirations about what future elements we want to achieve that shape and give context to all kinds of decisions as we work out how to get there.

After showing how to build something today, we can do a compare-and-contrast against the existing Coherent code that's more meaningful, especially because we can then measure the outcomes. Anyone can do (and lots of people do) ill-informed hand-wavy postulations about what-ifs, but the process of actually building things that do work forces your hand in ways that armchair enthusiasts miss.
I agree - no different to pulling together open source libraries in a codebase generally.

The concern is that they are doing an "asset flip", pulling together assets into a playable game and selling that off with no huge real work involved - especially given that their marketing and trailers had promised a 'game changing' experience. It's more about the mismatch of the advertising and positioning with that, and all of the aspects combined (different genre to announcement trailers, missing key features they'd talked about, large amounts of assets from the marketplace, buggy gameplay, etc).

That said, their use of marketplace assets seems... significant: https://www.reddit.com/r/TheDayBefore/comments/18ee3t9/i_pre...
> I was briefly tempted to write an API-compatible reimplementation of Django with the core in C++ when I left Google, but by then Django (and server-side web programming) was already falling out of favor, and if you're just shipping JSON to a SPA you can use cjson with any number of fast wsgi or asgi gateways.

I like Django. I need to process data on the server side and like to write that in python because it is more convenient than C. I also built my GUI in Django without knowing JavaScript. "just shipping JSON" seems like a different use case.

I have a piece of hardware (a laboratory hardware switch) that exposes a REST API for CRUD. I wanted to build a GUI that formats and summarizes information and offers convenient control. The data is small enough so that python can process it without becoming the bottleneck. I used Django ORM to model the data and django forms with htmx for the GUI. Authentication was easily added to Django.

The ORM part was a bit painful as Django forms expect a queryset and a queryset is not be the result of a raw sql query. There is a way to feed list of tuples into a choices argument but I decided against that , and instead dumbed down my query so I was able to write it as an django ORM language query.
I'm not sure what to make of that one yet

This chart tells a different part of the story: https://www.eia.gov/totalenergy/data/browser/#/?f=M&start=19...
None of my 32h/wk arrangements have been listed as such.

If it's an interesting 40h position, talk to them and put 32h as one of your non-negotiables in early conversations. Some will tell you they're not willing to consider it, and the conversation is done. Some are willing to consider it.
Google was once a small company beating some big players with a fraction of their resources.
But how many of apples users live there?