skysight-inc/HackerNews huggingface dataset:
What you described is exactly the purpose of ARCOS, a system the DEA uses to monitor the quantities of scheduled drugs.
[1]

I’m not sure what the FDAs play in this is, perhaps they have connections into the states PMP/PDMP programs.

The DEA doesn’t just focus on “illegal drugs” it focuses on all controlled substances, schedule 1-5.

The DEA is actually the one who typically catches doctors for overprescribing controlled substances.[2]

[1] https://www.deadiversion.usdoj.gov/arcos/index.html

[2] https://www.deadiversion.usdoj.gov/crim_admin_actions/index....
"Whenever Possible, Make a Tree" I've thought about it, but I added " and the Other Way Around" instead, just because I feel the original title gets more glances than the alternatives.
On macOS (ne OS X) system wide spellcheck has been available for over a decade.
I know games tend to assume color spaces from context, and do other hacky things like reusing alpha for height maps or RGB for vector coordinates.

But this approach is a source of endless conflict with image processing tooling, because nobody except the game author knows what the channels mean. Game developers keep complaining about image processing tools doing anything other than bytes-in-bytes-out on that data (e.g. clearing "unused" alpha or treating RGB as human-perceptible colors), because it breaks the unstated assumptions.
This is me being obtuse, but it seems like an appropriate time to ask... What is the difference? You mention that each value has one known type in a strongly typed language. Isn't this the case for Javascript as well? I'm having a difficult time trying to conjure a situation in JS where a value has multiple types (but I'm certainly no expert in JS).
Show HN: Dabble – We built an A.I. assisted interior design tool
nice idea, I think it is somewhat more in line with the keep it simple option, as I e.g. have no idea what a hilbert curve for an arbitrary size rectangle looks like. And you still get compression for x and y directions (though no run length encoding the vertical, perhaps a further addition).

I quite like this approach of defining a few compression methods, see which one works best, and apply that one. I used a similar strategy for time series compression where I would take a chunk of data, apply z few different compression algorithms on it (RLE, delta RLE, etc) and just keep which ever one was smallest. Of course here it is done on a per pixels basis, and I used arbitrary size chunks. The latter is trivial to parallelize. Same could be applied here though, split the image in half and compress both parts independently
Ask HN: Observability pattern to reduce mismatches betn reality and status page?
Reddit's non-functional from about 1 1/2 hours. Keeps showing "Our CDN was unable to reach our servers".

However, redditstatus.com shows no incident reports and shows error rate as having reduced.

Because it's just Reddit, it doesn't matter.

But it would look bad if this was from a commercial SaaS. Comes across as either shoddy or dishonest.

Every SaaS today depends on lots of 3rd party infra - CDN, DNS, AWS, payment gateways, search engines, and more.

My question: Are there any architectural patterns in monitoring / observability to reduce such mismatches between reality from user's perspective and status pages from service's perspective?
Hey folks! After months of development, we're thrilled to finally launch Dabble!

* What is Dabble?

Dabble is an A.I.-assisted creative tool for interior design. It lets you clip furniture and decor products from anywhere online, design your space with them and manage your budget, all in one place.

* The problem we're solving.

My wife and I bought our first home in 2020 and decided it was time to be adults and buy some non-IKEA furniture for the first time. We didn't realize it then but we were in for a rabbit hole of infinite scrolling, Googling, and endless arguments over what looked good together, fit our space, and came in under budget. Many vendors have AR design apps, but they're limited to their own inventory, and designing in AR is painful for longer periods. We wanted to build something that was simple, web-based, and worked across all vendors, even local stores. That’s why we built Dabble.

* How Dabble works

When you clip a product via our Chrome Extension, Dabble scrapes the product details and auto-removes the image background. You can then design an entire room with the products you've clipped, and Dabble makes it really easy to mix and match products and visualize various design options to find one you love.

* The broader vision

We are currently in a renaissance of creative tools powered by A.I. From A.I. copywriting to image editing and deep fake videos, it's going to completely change how content is created. With Dabble, we're extending this idea to designing physical spaces.

Would love to hear your thoughts and criticisms!
This is unfortunately true. Fonts without cleartype are ugly af on my 4K 27” display and it’s very hard to find smaller (higher DPI) displays that support 4K, >60hz, and adaptive sync.

I suspect that 8K displays will be “good enough” and 16K will finally make this hack obsolete in a few years, but we’re not there yet.
I have always found our putting up with Corporate PR lies so crazy. This wasn’t a stretch of the truth, or a belief what they were saying was true and missed a single internal email. Taylor’s statement was knowingly completely untrue.

Say what you want about the China social credit system but if there was a way the associated press could blackball Taylor/the spokesperson for Taylor from ever publishing another statement I think the world would be a better place.
Azure is clearly run very differently than AWS and GCP.

https://www.wiz.io/blog/chaosdb-explained-azures-cosmos-db-v...
And where are you hosting those services? A "megacorp" or a really old provider which sucked up enough v4 when it was easy?

What if I have a great software stack in the pipe ready to be colocation deployed somewhere and I want to run my own network with multiple transit providers to be sure I don't go down with either of them.

When that possibility is dead, as mentioned in other parts of the thread we're getting awfully close to an anticompetetive market.

Why should existing on the internet be a privilege for the richest of the rich? (Those who can afford to buy IP's/ISP's to fulfill their needs).

But yes, Cloudflare is a great way to protect your site from skiddie "booting". with ELB I'm not sure about pricing, might just prefer it to die for the "booter" duration if it's a personal site, if business.. Well there's hopefully $$$ to foot the AWS bill.
I invested in Z-wave light switches that are marked as GE but in reality manufactured by Jasco. The problem is that for an earlier generation of these devices a power surge / dip could fry the electronics, causing me to replace several of these switches over the years. This more speaks to the idea of long term reliability of electronics for devices that you want to replace very infrequently.

On the software end I used Smartthings. Samsung went through a big redo a year ago that caused me to redo all of the automation. That sucked. I've considered going open source but at this point smartthings is stable and the mobile app is not horrible.

Recently someone at either Amazon or smarthings thought it would be good to update the terms of service and break the integrations between the two services. I had to re-enable the integration by logging into and clicking an idiot button saying "I approve" of all the blah-blah-blah legalese. This was the worst part of my home automation story as clearly this didn't need to break.

I live in the US burbs and have a fairly large house at 3K+ square feet. There are a bunch of light switches that logically are one room. Using automation makes this much easier to control. Also kids - they don't turn shit off. I have an automation that turns off everything at 11AM on weeknights. Great reminder to go to bed but also causes my wife to be unhappy with me when the movie turns off unexpectedly, lol.

We have a smart lock on the front door. The kids have a door code and you can give contractors / cleaners their own code. That's nice. And one of the little f**kers doesn't lock the door on the way out I can create a rule that automatically locks the door after its been unlocked for 15 minutes.
One weird trick to get good at ES6: Stop searching "JavaScript how to ...", start searching "ES6 how to ...".
I’ve heard that in order for this to work it is important to ensure that one of the cats is the Model M version and the other must be a Model F version.

Equally important, you must respond “No” when asked whether you want the “Neutering” feature enabled. This applies to both cats.
Not a big fan of either of their fries to be honest. In and Outs are fresh, but not blanched and so soft and mushy. McDonalds, on the other hand, are crispy but lacks flavor and weirdly get cold extremely fast.
what is being used is preserved simply by its use. an idol in a hindu temple is sacred and washed and annointed. only when its removed from its context it needs to be preserved. the brits and other colonizers simply take what they want because guns rule.
And why can´t they just have equally visible login and signup buttons?
As calls to ban books intensify, digital librarians offer perspective
Pretty cool. Just a heads up, the links in the section: "build your own login, registration, account settings, account verification (e.g. email, phone, activate account), account verification (e.g. reset password) user interfaces and user flows using dead-simple APIs" all are broken, except the 'login' link.

I'm interested in how you allow folks to customize the login flows (probably because my employer, FusionAuth, offers a competitive product :) ). Is this UX customization solely through custom react components?

Is there any ability to customize the actual login sequence, like Azure ADB2C allows? For example: for install A, I want to ask for login, then password, then MFA. for install B, I want to ask for email domain first, then login and password.
The key point here is complexity. It's hard to argue mechanical timers are more complex than digital ones: in the sense of number of key components vs their reliability vs their average lifespan.

Good software is simple.

Nothing in the smart home category, as implemented today in retail products, is simple.
Stereotypes about girls dissuade many from careers in computer science
The ops don't seem to compose though.

Cats are smart critters, so I think it would be possible to train one to do a set of operations that's actually Turing complete. Cat behaviourists and comp sci folks could work together on this.
Mine started to show infinity now.
From what I gather.. their performance analysis showed that 10th graders taught algebra performed better than 9th graders taught algebra...

This is obviously not a reasonable metric due to many factors such as age, brain development, maturity and additional adjacent curriculum.

I don't get it though.. algebra is just variables right? Aren't we teaching programming to elementary schoolers? I know I'd written my first MMO bot by 9th grade...

Perhaps programming is a more 'tangible' way for children to experience algebra, rather than paper abstractions?
> use a map/dictionary instead of an array for key-based access? Nope. That is just correct.

Maybe, maybe not. While the map/dictionary is easier to use, if the number of items is small (which it often is) the array will be substantially faster because the CPU will pre-fetch the next element into the cache while you are still checking if the current one is the right key. Maybe - check with a cache aware profiler, and you need to design your array to be cache friendly.

Of course the above assumes your map/dictionary is on the hot path (seems unlikely), your code is too slow (probably subjectively, but in some real time applications this can be objectively measured), and you are writing in an efficient language. IF All of the above are true, only then should you go to the complexity of using an array to do the job of a map/dictionary.
Looking at your posting history I can be a little more concrete: Chisel is essentially a metaprogramming framework for VHDL/Verilog. Clash is a compiler closely based on GHC that compiles Haskell code, not a DSL defined within Haskell, to VHDL/Verilog.
Reminds me of that image of counterfeit Game Boy cartridges being destroyed. Despite being taken in 1994, the quality of the photo makes it look like a WWII war crime.

https://twitter.com/MarioBrothBlog/status/145631381574689178...
Thank you, I've started reading the Jack Hart, looks great. It's about narrative non-fiction, like in journalism or history. (My favourite book genre is essays - mostly non-narrative non-fiction.) I've loved Story for a long time, one of my favourite books. It's full of wisdom, but note that it focuses on writing, analysing and understanding movies–its full title is Story: Substance, structure, style and the principles of screenwriting.
Obligatory comment about the new file format that's going to replace jpegs: JPEG XL

https://jpegxl.info/

It also has lossless setting (in addition to being better at compression when you want a lossy format).
Good point. I should have said "plan for the divorce during the courtship".
alt-f4 is slightly more efforts to do (requires hand contortions) comapred to writing out a word and typing enter. Also, control-D is easier.
No doubt. I am not saying that McDoanlds is unsuccessful, rather that by customer satisfaction surveys In and Out wins. They also have, perhaps, a less scalable model of business and so can never grow to McDonalds size while also maintaining that quality.

Interestingly, Chick-fil-a has learned to scale and maintain quality.
I share the neo-luddist perspective of many of the other commenters, but it's also clear that there are basic product quality issues at hand. Switching something on and off on a schedule is not a hard problem to solve, in theory, so why doesn't it work? Is there something about the ecosystem and interfaces between devices and hubs that is lacking? Did the company just not test their product sufficiently?
I think the best thing you can do as a CTO is define the problems/goals and desired outcomes very clearly. Think of possible solutions if you can but don't share them, and give your team the problem to solve. And let them stumble a bit, because in the level of buy in and growth you'll get is more than worth it - it'll be their solution after all.
The purpose of the exercise was to improve my ability to develop functionality using Verilog. Using a library would have been too easy.
I have 3 children and they all come with very different personalities and skills, just like all people.

My oldest is a freshman in high-school and he is very happy to be back in school, even with a mask all day and 6 feet apart in class and lunch, if it means seeing his friends and not being isolated (teachers treated the final wave of children doing distance learning last year horribly). I think he is relieved from being discriminated.

Sounds like prison to me, but he wakes himself up and gets ready, and goes. Over all he appears happier. <3

My 5th grader wants to be homeschooled after going back.
All models are wrong, but some are useful.

It’s impossible to have a correct model, but you can have a model that is valid for its intended purpose. The hard part of engineering is to draw a box around the scope and have everyone agree that’s what is to be done.
While working at now long-gone mobile game company Digital Chocolate, they developed their games using a pretty clever but also very complex process of writing the games in Java, then converting that Java to whatever the target mobile phone platform required.

For iPhone, which they arrived late to the party, the code was compiled with an tool built inhouse that converted the Java code to Objective-C++, with homemade garbage collection code. The end results were impressive from a standpoint of having the ability to target 50+ different devices at the time (when you still had J2ME phones on the market) but the performance was just not there for the iPhone, the games ran pretty poorly on that platform and ultimately I think that is one of the reasons they went bankrupt.

Still, the tech was quite fascinating, very difficult to debug and slow to compile. First you had to run the whole project through the Java -> Objective-C++ converter which took quite some time, and then you had to compile this huge Xcode project, in total I think it could take easily like 30-40 minutes just to get build. Debugging was a pain in the ass also, the code generated was not easy to read or very concise.

Wondering if they maybe used this tool ? When was this project started, any idea ?
anyway I'm probably just being stubborn like back in the day jQuery all the way now it's react everywhere which I'm used to now
This is actually pretty awesome. I'm working on something complementary - a design tool to let people create collections of furniture and decor and share with others. (https://dabble.so)
I'd love to chat with you about how you're growing this
Even in the mid-2000s, photography classes were still teaching through B+W - as you mention, developing is easier (and therefore faster). The film and photo paper were also cheaper.
Imperfect foresight and poor subnetting.
> "Better" for whom? McDonald's is massively successful with $200 billion market cap and its stock essentially only goes straight up.

And this is exactly the source of the problem: the idea that the purpose of McDonald's (or any other company) is to provide Number Go Up thrills to its stockholders, rather than to produce a good product, with the profit being the reward for doing so well.
I felt the same way. If they don't share walnuts directly then that's not what they're intending to do. They likely see a local lack of value to the rings, meaning seeing them exchanged satisfies curiousity but perhaps not seen as being socially benevolent (although it might, I don't discount entirely)
These superficial debates are in my eyes futile since they presuppose: "We ought to have a strict curriculum for a certain narrow age group."

After what we have learned the last 30-50 years from cognitive sciences one has to wonder what schools are actually for, nowadays. There are most certainly not optimized for "learning" by any means.
Imho to put it blatantly schools are reduced to be a effective stronghold for indoctrination. They justify their power by using "science, technology, art, literature, history, social community, cultural exchange ...". Of course sheer by its power and scope we certainly "learn" something there. And you also happen to find great teachers in that system but its certainly not its main purpose.

Going back historically, schools still remain inherently (and shockingly so) medieval institutions. Interestingly "school" originally stems from the greek word of σχολή (/skʰo.lɛ̌ː/) which simply means "free time, leisure" which got hijacked by the church with "monastic schools" and today "school" means quite the opposite.

Throughout its (western) history with changing society they were succesful adaptions made (Prussian system, Humboldt's Ideal, Montessori pedagogy) skyrocketing literacy, expolding number of scientists etc.

But today the educational system is massively outpaced by the societal changes and by failing simply regresses to its medieval core of indoctrination ("preparation for the labor market").

No scientific literacy (aka critical thinking, controversial debates), no "learning" grounded on cognitive sciences, no hearing and tending to the needs of our young which they can perfectly articulate.
Eh, wasn't this refuted?

We tend to not have mental models of others at all. Our brains run "flat" copies of ourselves and any deviation from that model, results in discomfort and categorization as either "inferior" or "superior" depending on visible outcome of actions. The effect of "genius" is, that seemingly stupid choices by others result in perceivable good outcomes, without us having a mental model to fill that gap.

So we do not have mental models for others- at all. We have a world filled with copies of ourselves and at best a zoe of heuristics and anecdata, were the "other" begins and ends.

The closest you get to having a real mental model- is a longterm relationship and getting to know that partner really well. And even then..
>> 1. Existing payment systems expose your entire financial history to the service provider (e.g.: your bank, your credit card company etc.). I don't understand how people can complain about surveillance and data collection by tech companies, and then be perfectly fine with consumer finance companies doing the same thing.

Generally people have choices in how they handle their finances: you can choose which financial institutions you use and how you want to pay most of the time. If you don't want to be tracked, you can get cash and pay with cash.

However, some of the tracking can be to your benefit. Most banks and credit card companies offer some degree of fraud protection / prevention and if you have a good credit history and want to take out a loan, they will happily give you the money. It requires a real-life trust relationship where the bank / finance company is a trusted business partner and not an untrustworthy predator.

If you find the relationship with your bank or credit card provider it not to your liking, you can choose a different bank or credit card provider that offers more favorable terms.

>> 2. What is legal is not what is moral. E.g., outlawing sex work, which results in SWers in even Western countries getting kicked off traditional payment systems, or having SW forums taken down (e.g. backpage). Having a decentralized and censorship-resistant infrastructure for these essential utilities is vital, and blockchains can be a key component of that infrastructure.

I disagree here. I personally do not think that sex work is moral or 'an essential utility'. If a payment provider does not want to offer payments for illegal or immoral products or services that is their choice. Some payment providers might still be willing to, but no one can really stop cash payments.

You do have a point here though, no one can stop blockchain-based payment systems and they have been instrumental in the recent increases in malware and ransomware.

>> 3. As a cryptographer, PKC and digital signatures have thoroughly failed to provide a decentralized and secure P2P communications infrastructure. (And no, Signal doesn't count: it's fantastic, but it's run by a benevolent operator.)

PKC and digital signatures don't provide infrastructure. They provide tools to be used at endpoints. You can use freely available cryptography tools such as OpenPGP (https://www.openpgp.org/software/) to generate your own keys and securely communicate with someone else over existing communication infrastructure.
The argument is that African American students perform poorly in these subjects on average, and it impacts their grades and thus impacts their college admissions.

So the only way to even the playing field is to eliminate difficult subjects in high school, so that everyone gets near-perfect grades.
Presumably the people who collect bat poop from caves are aware they're full of dangerous viruses..
As someone who is miserable on a similar project, the best thing you can do is give ample breathing room for the labor. The codebase is stress inducing, so being empathetic on deadlines and and what may appear to be shifting attitudes (good days, bad days) means a lot. Give off days early, try to make sure people pace themselves.

Otherwise they’ll burnout and the resentment of the state of the codebase will be jet fuel to that brand new revolving door on your team.

Commiserate to some degree, ‘look, I know this shit sucks’. If they don’t know you empathize, they won’t trust you.
Preview Environments with AWS and Cloudflare