skysight-inc/HackerNews huggingface dataset:
One time i was making an interactive video website, where user could jump between sections of the video. I added an easter egg, where the video would have an extra section, to which you could jump by clicking "next" button twice if well timed. It was done via underhanded JS: Number of sections was computed based on video duration, so uploading a video with more than expected number of sections, could cause out of bounds jump
What he's talking about is pointer arithmetic. In assembly you have to "know" what is being pointed at such that you can access an element in an array or a component of a composite type, for example. The computer only knows about bytes. In C you can just do stuff like `(p + 6)->t` and the compiler knows how many bytes "+6" is because it knows what `p` is pointing at.
True in general but some (especially libs aimed at larger datasets processed in batch) are taking advantage of benchmarks like this to do things like:
Try the fast way, if it works great
Try the slow way, if above fails
This makes the slow path 2x slower at worst (and you can advise to always use the slow way with optional params) but the fast path can be 10x faster
Location: Poland
Remote: Yes (EST/PST timezones OK)
Willing to relocate: No but occasional travel OK

Technologies:
* Python, Django, Django Rest Framework, FastAPI, GraphQL
* AngularJS, React / React Native, Next.js
* Airflow, Kafka, Spark, Flink (+ PyFlink), ELK, TensorFlow, NLP/NLTK
* AWS, Google Cloud, Azure, Terraform, CloudFormation, Docker, Kubernetes

Résumé/CV: https://michallech.info/static/Michal-Lech-Resume.pdf
Email: michal [AT] michallech.info
Website: https://michallech.info

I am a Full Stack Developer and Software Architect with 13 years of commercial experience (esp. FinTech, Healthcare) in prototyping, MVP, backend and frontend development as well as maintenance and DevOps.

I can help you accelerate development and solve difficult problems.

Great communication skills, Startup experience, team leadership, passionate about programming, self starter, OK with freelance/consulting as well as full time work.
In some sense, they are a company like any other, why restrict their ability to advertise?

Then again, its not exactly good intentions that got us here.
A friend recently returned from a vacation in Saudi Arabia. She said that there were very few tourists for the size of facilities that are there.

Her prediction is that Saudi Arabia will not be able to attract mass tourism until they allow people to drink alcohol in the country.
PhD does bot mean more difficult than undergrade. Just give it a try.
SEEKING WORK - Remote (Located in Poland, EST/PST timezones OK)

--------------------

We are a small, dedicated team of a very efficient Python/Django experts, NodeJS, React and mobile (React Native) developers who helped startups get their prototypes and products launched in a record time.
We've worked as a team extension or took over development of whole projects, provided outsourcing for Startups, created Prototypes, MVPs, provided on-site training for clients, consulting and maintenance.

Technologies:

* Python, Django, Django Rest Framework, Flask, FastAPI, Airflow
* TypeScript, React / React Native, NextJS, Angular/AngularJS, NodeJS, MERN
* AWS, Azure, Google Cloud, Docker, Kubernetes, CloudFormation, Terraform, PostgreSQL, ElasticSearch
* TensorFlow, NLTK, OpenCV, numpy, Pandas, Airflow, Kafka , Apache Flink (java/python), Apache Spark, Redpanda

Integrations:
* Plaid, Stripe, Paypal, Shippo, Argyle

Email: hello [AT] rootxnet.com
Ping us for some demos of our work!

WWW: https://rootxnet.com/
(2021) https://news.ycombinator.com/item?id=27390512 (465 comments)
I'm in the UK so we don't have "medical bills", the hospital doesn't have a billing system. There is one they dust off for international patients, and there is internal billing between regional and local organisations, but these bills aren't attached to individual patients. Edit: to be clear, this is unlike most European countries which still have multiple health insurance providers, but the health insurance is almost entirely government paid. The UK doesn't have health insurance, the government directly funds and runs the healthcare providers.

Still the insurance needs to cover loss of income, private care when NHS care is not fast enough, and "general damages" ("This covers the pain and suffering you have gone through and the [non financial] impact the injury or illness has had on your life")
Take the bytes of the number, «-9.7», and interpret as an integer? That’s a 4-byte int -> array index. (Haven’t tried but…)
This, measure and understand before you start messing with anything in code or infrastructure.

Lots of great resources in this thread, but as the saying goes; knowing is half the battle.
Yep - this is exactly the attitude I have a problem with. Telling someone to go fork a project and write it themselves if they find using it awkward stinks. Free software is exactly marketing, it is a movement that is trying to spread its values. Technical implementation/software are important conduits but secondary to that goal. If you reject input from those without the resources (technical, time, financial) from participating then the movement will never grow.
National pride? What kind of nation allows another nation to spectacularly violate the most fundamental of their laws, deep in the homeland, with laughing impunity?
That feeling when realizing that an upgrade from "toy computer" to an IBM PC involves a downgrade in instruction sets...

And operating systems, if you have managed to get that toy computer to run OS-9.
I don't use braille technology myself, but a couple of the best friends I've made online do. Tech like what your father worked on enabled them to participate in online discourse, and so enabled those friendships. I'll always be grateful.
> most programmers because most people that program…professionally cannot really program

FTFY
Is this an already dead language, then?
A lot of statements but with an important convoluted point: git signing happens with a public key that nobody knows how to verify properly. So should we sign them today, without being able to verify yet?

Well, that isn’t 100% true. GitHub knows. But relying on GitHub is a good reason to not use the feature at all, imo. A bit stallmanesque perhaps? Maybe.

I have absolutely no idea about your ssh keys, which goes back to decentralized self-sovereign identity being an unsolved problem (socially and administratively, not technically). Add commit signing to the giant list of use cases, I guess.
Interesting. Why do you think so?
That would make the whole New Space economy irrelevant.

https://professionalprograms.mit.edu/blog/technology/what-is...
Slice – You browse. We pay
If you download it first you should be able to do it now. Streaming though... not so much. ;)
It isn't that bad. Look at the Nasdaq after the dotcom bust:

2000 -36.84%

2001 -32.65%

2002 -37.58%

If you think now is bad imagine trying to get a job in 2002 in tech. Tech was deader than dead.

This is just a normal job market now. You went to college but you don't know shit or have any experience. It sucks but you have to grind and eventually opportunity will find you, you just have to not squander it when it does.

Opportunity will find you in ways and in things you won't even expect.

The reason you should not worry is because you are young and have all the time in the world. If it takes 5 years so what? I would gladly trade my account balances to be young and fresh out of college right now. Figuring out how to become not broke after college is the most fun game of your entire life. The more it wears on you and gets you down the better the payoff feels.
> We wont even allow people to import drugs from canada.

This seems false based on countless anecdotal experiences and various sources online [1]. Individuals with a valid prescription can have that (once issued by a Canadian/provincial licensed professional) filed and bring it with them or have it shipped through online marketplaces that integrate most of these steps.

Suppliers importing from other countries seems to still be illegal although Florida seems to have recently passed a law and received FDA authorization to do this for some drugs [2].

[1]: https://www.singlecare.com/blog/ordering-medications-from-ca...

[2]: https://www.kff.org/policy-watch/what-to-know-about-the-fdas...
Anyone who cares about performance would surely see that this site does not do anything useful and eliminate it :)
And this is why file io is not the bottleneck - all the data is in RAM/disk cache.
The book "Writing Efficient Programs", by Jon Bentley, is still a valuable resource. See the short subthread starting with a comment I posted here some years ago:

https://news.ycombinator.com/item?id=13407192

A few people had replied, agreeing with my opinion, and giving some more details. One of them called the book "gold".

I have also posted about the book a few other times on HN, over the years.

Those comments can be found by searching hn.algia.com for comments (not stories) matching the pattern "writing efficient programs vram22".
Bell Laboratories History of Long Distance Amplification and Telephone Service [video]
There may be no risk to the phone electronics themselves, but you are abusing the battery and increasing the risk of failure though bulging and thermal runaway.

I would personally not call regularly exposing lithium ion cells to 170+ degrees F “safe”.

Why do you think those protections are there?
One can change settings but one cannot change the default unless edit source and compile. Almost no one does this.

What is "real" privacy.

There is no small amount of telemetry by default in Firefox, far more than Chrome. Unless one changes each of these settings, Mozilla collects data about Firefox users. Defaults can only be changed by editing the source and compiling Firefox. Almost no one does this.
Btw, HEPA filters also have downsides if they’re not replaced very frequently. They can emit endotoxins from the trapped bacteria within them: https://news.ycombinator.com/item?id=31607942
Ordinary people can and do in many places. Pharmacies can still employ pharmacists who will advise you or ask questions if you’re something risky that may interact with others. You can always check with a doctor before hand. Most medicines don’t have significant interactions and those that do you will usually be warned to check about by both doctors and pharmacists.

A lot of “safety” concerns is just FUD spread by a system that wants to preserve itself.
I don't know how phones are tolerated in a sauna where people are naked. Or are people naked in gym saunas over there?
> Ada Lovelace, known as the first computer programmer

How is it this myth persists?
Firstly, that is still a convoluted bullshit system for rationing healthcare. Logically you'd have to assign some sort of worthiness score to every activity that matters then track everyone to figure out their score and stop them lying to get to the front of the queue. Even if you literally only mean these 3 things, you'd have to track smoking and alcohol consumption. I doubt that'd be enough to effectively ration healthcare though, since the resource demand is practically infinite.

Secondly, you're inviting some really complex moral and political arguments. There have been worse ideas than linking healthcare to a political assessment of lifestyle, but I suspect it'd be up there in the same orbit as communism, genocide and slavery. It is hard to see it ending well once the politicians start to disagree on the healthiness of people's lifestyles.

I dunno, in some ghoulish sense it might be the next logical thing for the US to try. Why stop at merely bad ideas?
Please go back and read again what I wrote. I never talked about screenshots until you brought it up. You're literally tilting at windmills here, I'll just leave this conversation.
> I did not write that you were part of one, just that what you wrote sounded like it.

> I don’t know who you are or what your perspective is on this, but there must be other ways of making your point.

I'm struggling a bit here. Help me out, saying I sound like I'm in a cult is good manners? And which cult does it sound like I'm in?
That list appears to be made by crazy mastodon users when they heard that Threads is going to be fediverse compatible.
Besides that, we just made the browser the OS to a large extent. Want to do some coding? Open browser, use an online IDE, etc.
You might think about geopolitics a bit too much if you reach for article 5 because of cyber crime, maybe a bit too much wargaming in your head, things are kind of tense these days and I dont think invading a country would be an appropriate or mature response.
Comparing Inferential Strategies of Humans and LLMs in Deductive Reasoning
Considering that rent is around a one third contribution to US inflation measuremnt (which is done by some indirect estimation), I would also ask how much inflation that software caused by essentially a feedback loop.
At one time the problem was that he wanted to tour with the machine, so it had to withstand transportation.

But in some recent videos he mentions how the form factor and the goal of "looking cool" was more important than reliability.

IMO the problem he is not really picking a consistent direction. Either make it road-worthy or make it look like a steampunk Rube Goldberg contraption. Or better: make two machines. But making a single machine that is both reliable and Rube-Goldberg-esque is be 10x more difficult than making two machines.
If you have humans in the loop, they're going to make mistakes. Pharmacists and doctors also have bad days and forget things. People are their own best advocates and caretakers.

If there's a database with contraindicators, make it public, let people search it, require packaging to inform the public to search the database for contraindicators for their own safety before taking the drug. If people are really unsure, they can decide to engage a doctor or pharmacist instead of being forced to engage a doctor or pharmacist.
Where's the "so far" in that statement?
All of these are much more complicated and expensive than just sending someone off in a stolen car to fire some shots wherever you'd like the cops to be in 20 minutes or so. Convenient leash.
> There, however, is something stopping Go from using optimizations present in Java or C#/C++/Rust

...

> This puts much greater burden on the programmer to match the performance while staying with Go.

Your second statement contradicts your first. You're not stopped from using SIMD in Go. There are in fact several 3rd party libraries out there to use SIMD. It's just not part of the standard library. So you can still use SIMD in Go without writing Go's dialect of assembly.

It's also worth noting that SIMD isn't even due to drop into std in C++ until C++26. At the moment you either have to use experimental or a 3rd party library.

You're also missing the point of these examples. Nobody writing these exercises are trying to claim that all languages are equal. And they certainly not trying to write idiomatic code either. They're just fun little exercises demonstrating the degree of optimisations one can go through. You wouldn't want to write code like those in the examples in all but a the tiniest of scenarios.

It's silly the amount of people over-analysing this, what is essentially just a game, and then arguing its "proof" about their biases towards different programming languages.
This is usually the case in the UK, at least at major pharmacy chains. It’s definitely convenient (similar to the US-style bottles) for traveling to easily indicate that any medicines you have are on prescription in your name.
Show HN: I made a CLI tool to generate Rust SQLX models/queries from migrations
Still very much a work in progress. But with Testcontainers I've been able to do what I always dreamed of doing with pg-embed in supporting model generation from SQL migrations.

- Generate Rust structs and sqlx queries for PostgreSQL database tables or from migrations via a Postgres test container

- Queries for a Model Set easily extendable with regular sqlx.

- Generate SQL migrations based on changes in the structs vs a database or migration via a Postgres test container

Let me know what you all think!
Border control is for plebs. Intelligence services can forge passports and use that to get in[1]. The way to stop assassinations is counter-intelligence.

[1] https://www.theguardian.com/world/2010/jun/15/ireland-israel...
The point is that this is a _good thing_ by both modern and ancient standards for pretty much the same reasons: don't kill, rape and enslave. For the ancients they were happy when it didn't happen to them, for us we're happy when it doesn't happen to (nearly) anyone.
Completely correct that you should have a reason for signing something which goes beyond the vacuous “why not”.

In my own work, the surrounding context is sufficient verification.

By the way: patch attestation [1] is perhaps somewhat related. Pretty well-thought out techniques for verifying that patches sent via email.

[1] https://lwn.net/Articles/813646/
World Server Throwing Championship
The issue with police in all western countries is the same. They do a lot of different stuff, often badly. And a management issue in France. We have specialized, anti-riot police that can defuse situations and protect demonstrations. And we have different anti-'crime' police who also get called during demonstration, envenimate the situation half the time and beat people up, break their hand and pierce their eyes. Weirdly, no one from the part of police formed to handle street protests is there.

Then come the politic/management part: the men who handle deployments and plans aren't formed either. They're sometimes ex-police (criminal or intervention, Swat-like), but often they're politicians and administrators, and never were on the street.

That's how bad elements destroy an institution (a few bad apple rot the whole basket is the English idiom?) : poor formation, poor oversight, poor management let them thrive.
I am also able to pee in my office mate’s coffee cup. What should we do to mitigate that threat model?
How accurate are popular personality tests at predicting life outcomes?
>2. People who can keep their mouth shut.

But, you only hear about all the times people don't keep their mouths shut. It might not be very rare.
Why are you afraid of identity theft in this context?
You're going to need a Barret or something.
> But in …Germany…etc... nobody would be refused their medicine because the payment system didn't work. Even if the computers didn't work.

If the computers didn’t work, it would be incredibly painful in Germany because most pharmacies don’t regularly stock most prescription drugs. They’re often ordered from central warehouses on demand - i.e. if you walk in with a prescription for Xanax in the morning, you’ll typically need to come back in the afternoon to pick it up.

That ordering process is entirely digital. If you suddenly switched to paper forms, phone calls, and faxes, it’d be a nightmare.
How to Achieve Proper Grounding – Rick Hartley (2019) [video]
Over 180 professional tennis players participated in a global match-fixing ring
And that’s assuming ideal conditions. Criminals don’t always leave their brass lying around if they can avoid it, after all.
We have not come that far.

Maybe not so different in the USA as they still execute people, even people who eventually are deemed innocent.

Here in the UK not a lot has changed. Though we no longer hang or execute people. We have reduced the age of criminal responsibilty to 10 years old, the lowest age in the whole of Europe. So those aged 10 years old can and will be tried for murder and other crimes.

Can anyone remember being 10 years old?
Can a 10 year old really tell the difference between right and wrong?
Does the developmental age of a child have any effect on their decision making?

For me being a retired psychotherapist, No they cannot tell the difference between right and wrong using rules invented by and for adults.

The criminal Justice system has never served anyone but the powerful.

The criminal justice system is inherently built on manipulation of the innocent and manipulation of the law. If it was not, there would be no miscarriages of justice or wrongly convicted.

Who does the incarceration of human beings really serve?

Who does the death penalty really serve?
Anytime any plugin does anything, the submission of that "anything" into the Drupal subsystem proceeds to pass that plugin's payload to every single plugin in the system so they can make modifications. What those modifications are, you do not know, they are just applied and then your modified payload is accepted into the subsystem to modify whatever it modifies.
Also, why do these guys always go to Russian enclave and tourist sea side towns? It is very easy to disappear in Spain, but not in the type of places where he was killed. If you want to flee from something, you go throw a dart somewhere under or above Madrid, far from the sea. No one wants to be there, there are no Russians and the post office cannot find you so you don’t even get mail IF you register there (which you wouldn’t if you are trying to hide).

For some reason people go to Marbella, or other well known mainland coastal places or, of course, Ibiza. Good for vacation (if you enjoy that type of thing), but how is it smart for disappearing of the fsb grasp.
There’s not enough qualified people to take computer security seriously. The vast majority of “cybersecurity” professionals are capable only of insuring that boxes are checked.

Of the small number of truly qualified people, many work as independent researchers or in small specialized consultancies because they are dispositionally incompatible with a giant enterprise. The remainder work in places like Google or Microsoft.

If UnitedHealth Group by some miracle broke through its cultural barriers to hiring a bunch of poorly dressed 28 year olds with bad attitudes, paying each more than a group vice president makes, plus empowering the head bad attitude former hacker CISO to block corporate initiatives in the name of security, it still would be a zero sum game. We’d end up with a less secure android or windows.
I think the downvotes are linked to the fact that the course is far for complete yet. But it's definitely good info !
> hey, you all seem to be more worked up about this thing than I am, I just thought that sounds too crazy, it sounds like something from "Curb your Enthusiasm" not real life.

No no, I am right there with you. It is straight out of Curb'd.

> I'm pretty sensitive to implications of literary style and so forth, in my opinion at least, and I think the implication was "oooh everybody ganged up on me"

Observe people doubling down in this thread about how the fingers snapping (which didn't even happen probably!) is totally normal because actually... :P

Again, can hardly fault you as a reader, you certainly aren't part of that.

Listen, someone posted in here that they themselves are a NYT reporter and not only did the finger snaps did not happen (but would be totally justified if they did!) this is just a former disgruntled employee who "probably got fired for watching porn".

I just think that's... amazing. Hilarious and weird. And something to watch out for.
This gets tricky. E.g. if you want to release a bluray disc, there is a fee: https://blu-raydisc.info/cpa-faq.php
Great article. They definitely spent a lot of effort to research and write this. So much so that the article can serve as a historical document.
I can't comment on sequent calculus as a compiler IR, but in the context of programming language design I think there are some interesting benefits from using sequent calculus as a formal model. This paper goes into some details: https://dl.acm.org/doi/10.1145/3547637. (Most of the authors are also authors on the OP paper.)
He has spent the last 30 years since publishing more papers on compiling functional languages.