skysight-inc/HackerNews huggingface dataset:
The US government typically puts out purchases for bidding. They need so many SUVs of a particular size so they receive bids from Ford and GM and whoever else and pick the lowest bid that satisfies the contract. They aren't setting the price, the sellers are, by bidding on the contract. The government just picks the lowest one.

The issue with drugs under patent is that the alternatives are often not as good. If the FBI needs a vehicle, it doesn't really matter if it's a Ford or a Chevy, but sometimes a drug under patent is quite a lot better than the available generic and then the seller can command a much higher price than the competition. Which is whole point of the patent system. In exchange for funding the research/trials you get a temporary monopoly on the drug and get to charge the monopoly price until the patent expires.

They're now proposing a different system where instead of taking bids, the government dictates the price and can blacklist the entire drug company if they don't accept the government's price for every individual drug. That's price controls and the result is consistently under-production. For commodities that means shortages, for R&D it means fewer new drugs.
Do we have a better method of verifying compilation output than just re-executing the compiler with same source, than comparing the output? TEE attestation could be a thing(albeit it could be a "trusted" third party which occasionally be broken).
"Early September". I'm not sure if any of the live streams of entry/recovery will be cancelled now that Butch and Suni won't be on board.
My guess its laser and/or micromachining
Show HN: Slidde – If you can build a slide, you can build a website
The most common problem when making a webpage is that you have to write tedious layout & javascript logic every time. But they are almost the same.

I'm trying to limit coding to only styling (CSS). Styling is what we actually customize for each client/webpage.

If you try to styling your webpage using dropdowns & radio buttons it would be painful. By enabling selectors like "&:hover" making the styling almost possible for everything.
Thinking about it, the above is wrong because it replaces - and _ with A and B which makes it not reversible. This is reversible. You could aolso come up with a solution that has no - or _ by doing a custom base64 encode with only AZaz and 0 to 9.

If you really want to not have _ or - in your short form UUIDs you could just discard the UUID when you create it if the short form includes those characters and try again.

c22c1dcf-ea74-470e-acbf-b1722e243025 -> wiwdz-p0Rw6sv7FyLiQwJQ (length: 22)
Reversed: c22c1dcf-ea74-470e-acbf-b1722e243025
8702aecb-6d09-4a5e-8cc8-621aada6ed96 -> hwKuy20JSl6MyGIarabtlg (length: 22)
Reversed: 8702aecb-6d09-4a5e-8cc8-621aada6ed96
643a9829-9f91-4b88-80a6-db2c0eb83e8b -> ZDqYKZ-RS4iAptssDrg-iw (length: 22)
Reversed: 643a9829-9f91-4b88-80a6-db2c0eb83e8b
8e7f3c1a-3d19-425e-8803-fe55a296688e -> jn88Gj0ZQl6IA_5VopZojg (length: 22)
Reversed: 8e7f3c1a-3d19-425e-8803-fe55a296688e
1859f017-a5f3-4875-825a-fdd531dfac1a -> GFnwF6XzSHWCWv3VMd-sGg (length: 22)
Reversed: 1859f017-a5f3-4875-825a-fdd531dfac1a
6a153b44-7fca-45b2-b13e-7f45790be7bf -> ahU7RH_KRbKxPn9FeQvnvw (length: 22)
Reversed: 6a153b44-7fca-45b2-b13e-7f45790be7bf
fd6bad83-a0f8-4c7f-baf1-10374be3e8e9 -> _Wutg6D4TH-68RA3S-Po6Q (length: 22)
Reversed: fd6bad83-a0f8-4c7f-baf1-10374be3e8e9
cf2452d4-947b-4b92-a280-ff869e77ba65 -> zyRS1JR7S5KigP-Gnne6ZQ (length: 22)
Reversed: cf2452d4-947b-4b92-a280-ff869e77ba65

import uuid
import base64

def make_short_uuid(data):
return base64.urlsafe_b64encode(data).rstrip(b'=').decode('utf-8')

def reverse_short_uuid(short_uuid):
# Add padding back to make it Base64 decodable
restored = short_uuid + '=' * (-len(short_uuid) % 4)
# Decode the Base64 string back to bytes
return base64.urlsafe_b64decode(restored)

def generate_and_print_uuids():
for _ in range(8):
uuid_obj = uuid.uuid4()
uuid_bytes = uuid_obj.bytes
short_uuid = make_short_uuid(uuid_bytes)
reversed_uuid_bytes = reverse_short_uuid(short_uuid)
print(f'{uuid_obj} -> {short_uuid} (length: {len(short_uuid)})')
print(f'Reversed: {uuid.UUID(bytes=reversed_uuid_bytes)}\n')

generate_and_print_uuids()
Local body cam video in my area more often than not quickly resolves accusations of police misconduct, in favor of the police.

Claims that someone was “just minding their own business” shows them with a weapon and such.

I do not understand the resistance from some police.
Both CDN and DNS should really be standard sort of practice. Simply because we cant beat speed of light.

The problem is modern day CDN do many clever things it is easy to go wrong.
As I said, tech illiterate - or as likely, legally illiterate.

It's unreasonable to expect most people to intuit the distinction you describe.

However, you don't see wealthy people communicating on insecure devices, because they have people to take care of that stuff.
Spent an hour or so playing around with various Python interpreters/compilers and I have to say I was a bit disappointed by Codon. It defonetly has potential, but the compiled binary ended up being slower than CPython?

In any case Numba worked ootb for me with the best results! My usecase was fairly heavy in numpy usage though (brute Biot-Savart field integration)

https://github.com/luyu-wu/Cylindrical-Magnet-Field
You only read the data sheets. The twiggy drives had 4 heads to cut latency and had two access windows one in the back like all 5.25 and one in the front for the extra heads. The Lisa used this too.
This is the "welfare queen" dog whistle of anti-union propaganda. Please stop spreading it.

Yes, school management has to genuinely document an "underperforming teacher". There is a full legal process that has to be followed and it takes time. Too bad, so sad.

However, the problem is that school management doesn't want to produce that "documentation". It is genuine work and has the downside of maybe exposing that the teacher isn't underperforming and now a countersuit is incoming. In addition, attempting to fire a teacher almost always causes a kerfuffle in the community unless the teacher is complete garbage. And, see, if you, as a superintendent cause a kerfuffle, that is going to hit the local news and the Internet and is going to be a negative mark when you want your next job (superintendents tend to move on while most teachers do not).

So, what your little shibboleth is advocating for is unlimited authority by the superintendent to punish anybody they deem a "troublemaker"--which is any teacher with the temerity to do something that might get in the way of their next promotion. And that optimizes for teachers who simply don't rock the boat under any circumstances irrespective of any teaching skill or educational results.
Related presentation from Network and Distributed System Security Symposium:

https://www.youtube.com/watch?v=HoN6FLC5Hss
Nanoid? https://github.com/ai/nanoid
I'm still waiting for rep movsb and rep stosb to be fast enough to delete my simple C loop versions, for short memcpys.
Not paying for something, however, guarantees you won't get it.
While it is technically possible to bootstrap Rust from Guile and the 0.7 Rust compiler, you would need to recompile the Rust compiler about a hundred times. Each step takes hours, and you can't skip any steps because, like he said, 1.80 requires 1.79, 1.79 requires 1.78, and so on all the way back to 0.7. Even if fully automated, this bootstrap would take months.

Moreover, I believe the earlier versions of rustc only output LLVM, so you need to bootstrap a C++ compiler to compile LLVM anyway. If you have a C++ compiler, you might as well compile mrustc. Currently, mrustc only supports rustc 1.54, so you'd still have to compile through some 35 versions of it.

None of this is practical. The goal of Dozer (this project) is to be able to bootstrap a small C compiler, compile Dozer, and use it to directly compile the latest rustc. This gives you Rust right away without having to bootstrap C++ or anything else in between.
It has to be the code, since those are the information/ideas that you've written on any kind of medium such as on a whiteboard or on a paper, or better known as "algorithms".

Also keep in mind with the use of "computer" -- in the past real humans, and in paricular a huge batch, are hired to compute log and sine lookup tables on hand. Earliest case of human SIMD by the way, and some would even take to break encryption by breaking and reversing code boxes, hence they are called "computers", and I reckon many of them being females.
[Help] Which AI Model to Use?
Anyone here has done a custom ML setup or used an AI model deployed in local or AWS

The requirement is I have 700k records of YouTube channels with descriptions and keywords. I also have a list of categories and subcategories with description: 776.

Now I want to map each account to a relevant category and sub-category and not spend more than $50-100.

I thought to use AWS Bedrock with Titan model but the cost comes around $11k.

Any pointers will be really helpful
> interesting: the power supply on a USB interface is fixed at 5V... why not just a 'buck' supply?

> [...]

> The power supply is a buck-boost from Richtek. Interesting choice as it allows the assembly to be powered from a voltage as low as 1.8V (battery use, perhaps??)

That'd be consistent with how I've used the original Pi Pico in projects, yep. The Pico (and Pico 2) has VBUS and VSYS pins - VBUS being the USB port's 5V, and VSYS being intended for non-USB power sources, including batteries. The Pico 2 datasheet (https://datasheets.raspberrypi.com/pico/pico-2-datasheet.pdf) has some sample schematics for three use cases:

1. A simple case where you connect the external power source to VSYS through a Shottky diode - in which case the Pico will pull from whichever of USB or VSYS has the higher voltage

2. Based on #1, except with a MOSFET instead of a Shottky diode, and with the gate connected to VBUS - in which case the Pico will not pull from VSYS when receiving USB power

3. Based on #2, except there's a battery charger between the external power source and the MOSFET, and VBUS is also connected to the charger's input - in which case the Pico will charge the battery when receiving USB power, in addition to the behavior of #2

(The datasheet also mentions an additional use case: if you're using the Pico as a USB host, you'd want to supply 5V to VBUS in order to power both the Pico and the attached device)
Just saw this. I see you've already pushed a fix on GitHub thanks. I can't see object ID's being included in the script, so I assume multiple objects with similar names will all be treated as the "same" object e.g. https://dbfiddle.uk/O_yZLjpN
An annoying reminder to people: Reason is making this a national news story, but it's more meaningfully a local news story. For residents in much of the country, if you simply engage in local politics --- in most places, very few people seriously do this! --- you can get policing officials fired for saying ridiculous stuff like this. Residents probably have more say in how policing functions than they do in almost any other public policy matter (maybe, depending on your state, excepting public schooling).

Our PD wanted to roll out Flock cameras villagewide, and citizen involvement commissions ratcheted down the deployment to a handful of cameras, which are not authorized for use for stopping even stolen vehicles, just violent crime suspects and stolen license plates. The PD wanted it to be otherwise, but it does not take a lot of public pressure to rein them in: the ABQ city council is the boss, not the police chief.

I'm not saying Reason is wrong; they're clearly right, and this person is a moron. But I'm strongly urging people to engage locally on stuff like this, rather than bloodying their foreheads on national politics. Or, worse, convincing themselves that there's nothing at all to be done about it; that's what people like this ABQ Chief are counting on.
oh I could write a book on this lol, lots of limitations. One of the core reasons being: extensions by design are super limited in the functionality they can provide.

We did have an extension which worked okay while we were still learning the ropes but after 2 months developing it we realized that we didn't have access to many of the APIs which we wanted to tinker with or change the UX dynamically!

This made us look for 2 options:
- either move out of the editor and become a cloud blackbox AI engineer (not a big fan, I don't want to spend my time just reviewing code)
- or own the editor where people code

We chose the editor route and didn't look back after. Over that time we have changed the UX of the editor completely can better play into the APIs which are hidden in VSCode and really build something which I personally could use daily :)
We actually desperately need more startup activity in defense... the more consolidated the industry is the worse it is for taxpayers and citizens.
US youth would be well served to learn a trade. Globalisation is entering a very new form, and a new industrial capacity build is beginning in the US.
Er, no? A program designed mostly to enrich automakers that had little or even negative environmental effect? Why would I love that?
From China's impressive humanoid robots and AI-powered mosquito detection to groundbreaking sleep science discoveries, massive US investments in AI, and the challenges of distinguishing AI-generated content, the rapid advancements in artificial intelligence are reshaping our world, offering exciting possibilities while also raising important ethical considerations that demand our attention and critical thinking.
I don't live or work in any of those places, but I've been ignoring work emails and calls after hours for a long time. Helps that 1) I don't have a work phone, 2) apps that my company uses on my personal phone, and 3) never log into the company network or services on my own laptop.

In the few instances when I was called out about it, I asked Could the message/call have waited until the following morning/Monday? The answer was almost always Yes.
They are, actually, you just have to coordinate the ranges each node has.
Show HN: Snake game in which your terminal's content is food
Hi HN,
I had a silly idea of making a snake game where your terminal's existing output acts as the food for the snake. It relies heavily on tmux to work in order to get the existing output.
At that price they might have teams dedicated to groups of a few dozen doctors, perfecting the company's manipulation to each of the doctors' personality. Somehow for-profit pharma always finds a way to be even more horrifying...
The problem with codes is you have to remember them. And then you'll need a massive lookup-table. People don't want to have chats based on limited vocabulary.

This is why we have modern encryption. It converts the most beautiful poem in the world to complete noise and back with no loss of meaning. It allows sending images, books, videos -- culture, without spycraft that requires hours of learning. It's also more secure, given that humans aren't nearly as good at coming up with randomness and a computer's hardware RNG.
Not true. Secret chats only live on a device where you started it. Regular people may not use them (their problem), but these are common for business-critical chats in my circles.
cursor is cool ngl, I do find it missing for the use-cases I would want help. Honestly I don't use LLMs a lot daily (copilot is distracting, chat is ¯\(°_o)/¯ I know the codebase pretty well)
The kind of help I personally want is not something cursor supports .... so the best way to bring our own vision to life is by taking a step towards building and editor and thats what we are doing
> Getting people engaged and limiting the powers of these organizations.

My impression is that most people want more government; thus, getting more people engaged will lead to increasing the powers of these organizations.
I feel like I wrote this post. Like the author, as a formally trained painter and printmaker turned developer, I find development akin developing a painting. Working general to specific and letting solutions reveal themselves as I work through the problem. Learning patterns and mirroring them, creating a logic other developers can follow as they work with the code in the future and providing an API for consumers to use that not only provides for the requirements but creates patterns that reveal the internal structure to the consumer. LLMs creating code to be consumed by LLMs basically means none of that craft matters. It also means humans won't be able to work with this code. It doesn't matter what developers do. This is the future because the LLM is cheaper than paying someone a living wage and the businesses will go with that. I used to bemoan consultant written "good enough" code. The future holds WTF is all this code even doing LLM code. Likely with hallucinatory variable naming. If you think about textiles or furniture there is a huge difference between what was made by artisans and what is spat out of industrial process. The problem programming faces is that although a person who buys a hand made rug can tell the quality, a person who downloads an app has no idea outside of battery use and laggy UI if the coding is poor. I can always go back to portraiture, I guess...
Then apply full on adverse inference to those cases.
Last time I was in Oakland to do some volunteer work, the airport car rental staff said “don’t stop until you’re 20 min away from the airport.” When I had dinner with a friend in Piedmont and left her apartment after midnight, she said “you might get mugged on the way back to your car, sorry about that” which was half a mile away. It boggles the mind.
Classic Game Postmortem: Ultima Online [1], I think that goes into the origin of Shard. ( Sorry I didn't save down the time like but it is an interesting video for those into UO )

And if you do a search on HN you will see plenty of other links about UO and sharding.

[1] https://www.youtube.com/watch?v=lnnsDi7Sxq0
Classic Game Postmortem: Ultima Online [video]
This was my interview question out of college when i got hired , remember coming up with sharding as a solution , there is nothing novel with sharding , its just common sense . It was prbably invented and reinvented multiple times
Real programmers just hold an AM radio next to the motherboard.

At guru level, of course, you no longer need the radio.
been using this for awhile.. definitely worth it
Not sure what your limitations are, but it is possible to run everything in portable mode. You just won't have the background service to maintain the index.
This does not stop an employer from potentially disciplining or firing you. Laws do, because they bind. Implicit contracts and hope are not a strategy, with regards to worker rights and protections.
Generally I'll only answer for actual production emergencies and I'll expect that I'll get time in lieu or overtime payments. I'll probably still keep doing that.
The question is: how can we (Lago) make it much easier (if you think it's not the case today) than working with the data from Sigma and from data pipeline exports?
Better than never seeing one at all because you can't afford it.
Here's a report from the Congressional Budget Office [1] that states that as of 2019 the Pharma industry in the US spent $83 Billion on R&D. And here's a Statista link with the total Pharma advertising in the US per month. About $1.1 BN, which would annualize to less than $15 BN per year.

So no, the Pharma industry does not spend more on advertising than on R&D, not even close.

[1] https://www.cbo.gov/publication/57126

[2] https://www.statista.com/statistics/1407234/pharma-ad-spend-...
NeXT cubes used a 256 Mb optial drive, and some slabs has. 128Mb optical, and someone said that the turbo color slab had a 230Mb optical drive. Mine did not.
Is your opinion grounded in theory or practice? As a practitioner running Go in a high-volume, low-latency environment with tens of millions of allocations per second, we haven't found GC to be a problem. The median pause time is actually around 130 microseconds per collection. We're using Go in network services. Maybe your use case differs from ours, but at the end of the day, you pick the right tool for the job, and programming languages are just tools. We believe we picked the right one.
An open source, minimal AI powered note taking app and powerful Markdown editor
Well if he has nothing to hide, he has nothing to fear, doesn't he?
Because at least half if not more of the industry sector is charlatans. Similar to how devs love to work on new shiny tech, regardless of its actual applicability to their needs, security folk will often insist that X is insecure due to absurdly unlikely edge case wherein you’re already pwned anyway, while ignoring some basic problem in their org.
Ask HN: How come there is no one recommended way to setup Python environment?
If you ask this to 10 people, you can get 10 answers for that…

Cant we agree on how we can setup and start python?
It's an analogy.

2008 was caused by inflated housing prices. ZIRP reinflated the housing bubble. This caused people to not be underwater on their mortgages, but now we have an even bigger housing bubble than we did to begin with.
That's just the half of the story and Pavel isn't an innocent victim
Find the best cursor rules for your framework and language
I agree with this article. Coding is the easiest and best part of the job. Way more time is spent testing than coding. Why take away the fun part, making your job only about the verification of it.
I'm really not sure what you're referring to. You see lots of wealthy people communicate on insecure devices, and it's quite common for law enforcement to demand and obtain the contents of their communications. "Look at these terrible messages we subpoenaed" is a staple of white collar criminal prosecutions.
When I learned C a bit, I was looking up how people did C++-like stuff in C. I found objects, exceptions, concurrency, etc.

If mrustc is written in C++, could it be easier to use such C++-like primitives to port its working C++ to C? And do it a bit at a time using strong interoperability between C++ and C?

Before anyone says it, I know that would be a hard, porting effort with many pitfalls. Remember we’re comparing that to writing a Rust compiler in C, though. It might be easier to port the C++ to C.

This also reminds me of the C++ to C compilers that used to exist. I don’t know if they’re still around. I think both Rust to C/C++ and C++ to human-readable C compilers would be useful today. Especially to combine the safety benefits of one with the tooling of the other.
There is a war going on in Europe right now. Real war with tanks, bombs and rockets, often hitting hospitals in Kyiv for some weird reason. This arrest put russians in a panic mode. Did you know russian army is actually using Telegram for coordinating strikes, and Discord for FPVs? https://youchu.be/watch?v=mwtbTuLZXWw

You know something is up when russians, and Snowden (or his handler), are calling the arrest of French citizen in France "taking hostages".
Note from the open review of that paper.

> As discussed in the paper and pointed out by the reviewer, the growing memory module is non-differentiable, and so it cannot be trained directly by SGD. We acknowledge this observation.

Two stack FSA/RNN are interesting, but as of now, not usable in practice.
There were USB drives that sold for iMacs,but the ability to read MFS (400 and800k) floppies disappeared soon afterwards..
If content is driven at you by algorithm it's not your feed, it's their feed.
The article itself did not identify what the five patterns were, so that leads me to believe that they are vector-space patterns that aren’t related to any type of existing set of discrete inputs, despite them hinting at alcohol and smoking as being factors.

Does anybody have a sense of what these five models are?

The research itself is not open access so I wasn’t able to actually read it.