skysight-inc/HackerNews huggingface dataset:
Imagine if we put even one iota of the effort we put into fighting petty theft & drug crime into fighting employer crime.

About equal amounts of money are stolen through wage theft as through petty property crime.

Yet you don't see law enforcement going undercover as workers to make sure that labor laws aren't being violated.

It's pretty clear that even if we have the laws on the books, the issues that affect affluent people more are going to be the ones that police prioritize.

It is not uncommon to have OSHA ignored or have your boss tell you that if you try to unionize, "we'll fire all of you."

Even eliminating the two-party consent requirement for workplace audio recording would do a ton for workers rights, but of course there is no desire among the professional/managerial class to do that.
Yeah, I have learned a few things from the comments here and my understanding isn't perfect. Previously I thought of `n` as arbitrary; that it can be whatever you define it to be. I see now that you're right that technically it has a more precise definition: it refers to the input size.

However, I also think that in _practice_, as Znafon [says](https://news.ycombinator.com/item?id=24661411), the meaning of `n` is clear and it makes sense to stretch the technical definition a bit. In my experience, people often do. Imagine if there were one trillion vowels. It wouldn't be practical to describe it as an O(1) algorithm, despite what the answers to exam questions might say.

That said, I think that it is worth understanding the distinction between what `n` means in theory vs practice, so I was going to add a note to the blog post in order to avoid confusing readers, like you recommend. However, as I tried to do so, things got too side-tracked. Too many tangents, especially ones that aren't the easiest to understand, makes the post harder to follow. So I decided on linking to this thread parenthetically. That seems to my eye to strike the right balance.
Looks fucking diabolical.
A lot especially how the police went around to make those allegations. I recommend reading: https://www.republik.ch/2020/01/31/nils-melzer-about-wikilea...
> I can focus on my work all day with no medication if I'm doing something that I find personally interesting. However, when I have a week's worth of online coursework and boring bookkeeping to do it's impossible to get more than 5 minutes done without staring out the window, putting something on in the background, and twiddling my thumbs. I can still buckle down and get work done without it, but it's so much more mentally draining to do a week of work without any medication than if I were just to take what the doctor recommends.

How do you know that other people have it harder? My suspicion is that we all suffer in quiet desperation.
"Vessel lost in Beirut explosion"
Agency and control over time and decisions is probably also the essence of the regular HN debate over working from home or working from an office. Both can be best depending on the person.
Ping a mod hn@ycombinator.com for posterity?
So much for Apple moving their manufacturing to India.
I don't want to draw an image. I want to draw a filter of an image. Right now, I have a rock-hard cutoff at two frequencies. I'd like to draw a curve, and have it Fourier filter based on that curve.
Mose Flood Barrier Finally Holds the Waters Back for Fragile Venice
Moore's law is dead. Small won't change nearly as fast as it used to.
My dad, a retired industrial chemist, told me many years ago about the one-legged stools. He worked for a company with a long history. It wasn't just nitroglycerine, but any reaction that required close monitoring. The way to scale up some reactions was just to build a whole row of reactors, with a worker at each one.
I don't remember the name, but I'm pretty sure I saw something like this about twenty years ago, any HNers know what I'm talking about?
The “able to function normally for special interest” is a symptom of ADHD itself, there is no need to bring in autism as an additional explanatory variable. (Not saying your autism didn’t mask symptoms but what you described happens in ADHD without autism very frequently)

For example I have ADHD without autism and grew up thinking I was “smart but lazy” because I was > 99% as far as raw intelligence but had little motivation for the drudgery associated with school (or indeed life itself), yet I could play video games for hours straight without seeming to be at a disadvantage compared to neurotypical peers.

This is because ADHD, among other things, is a disorder of attention regulation as opposed to being completely unable to pay attention to anything.
The point is, WeChat doesn't have to offer separate apps for their mini programs in the AppStore. But Facebook was blocked from doing a similar thing for games.
I'm saying that this text did nothing more than codify what was already true. If I have that wrong, please let me know.
That was the norm where I worked in the UK, as well. Seemed a bit excessive. Everyone just lied.
Wow - sounds like you have more sensitive than average color perception.

Do you think you might be a tetrachromat?
Who is the "red menace" here? https://en.wikipedia.org/wiki/Red_states_and_blue_states
Similar experience for me. Marijuana definitely makes me feel stupider, but it slows my brain down enough that I can actually focus on one thing at a time so I actually end up more productive overall. Kind of a worse is better situation. I've found the best combination for me to be XR Adderall with a very low dose of THC. Unfortunately my addictive personality makes not abusing marijuana difficult, so I just don't use it these days.
Actually, it can take multiple. gte(a: b: c: d:) is equivalent to (in C) a >= b && a >= c && a >= d. By making operators like functions, you can group like-operations and simplify code. Admittedly, it's not as readable for someone accustomed to seeing C style.

Last note: gte(a=100) would produce an error in Copper because a=100 is an assignment statement that returns "a" (a function), and gte( function ) means nothing.

Edit: I see you're referring to Python, but I figured I'd keep the note of comparison.
You can't avoid that when using a framework, since the main differentiation between a library and framework is inversion of control. Writing some kind of abstraction on top of the framework is a pointless endeavor since at the end of the day, all of your code will be structured in a way that adheres to the contract defined by that framework.

Databases don't dictate the structure of your entire application like a framework does, so that comparison is not useful.
I really wish the Raspberry Pi form factor hadn't become the de facto form factor for these kind of devices. I much prefer the Beaglebone layout with power, video, and networking on one side and USB on the opposite,
That's something that I don't entirely understand. There is the consistent argument that the US Constitution, and the Bill of Rights in particular, doesn't make any guarantee toward non-US persons. Except, I don't think that's actually the case. If I look at the text of the first amendment, for example:

> Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances.

This doesn't say anything about whose freedom of speech, only that Congress may not abridge it. The existence of the freedom of speech is taken as a given, regardless of whose speech it is. The restriction is on Congress to not be able to abridge that freedom of speech, no matter who holds it.
I think the secret behind making open source profitable is bringing it to the enterprise level. At first I didn't believe you can make a lot of money with open source but after Red Hat got sold for $34 billion I changed my mind. Also GitHub getting sold for $7.5 billion is pretty impressive.

I recommend watching Bob Young's presentation "So You Want To Start an Open Source Company" on YouTube[1], he is the co-founder of Red Hat.

[1] https://www.youtube.com/watch?v=FJVEAXlPadg
Some classic work on this is the MIT Exokernel project. They wanted to use Solarflare-style NICs to steer connections but since those weren't invented yet they used BPF-style code. https://pdos.csail.mit.edu/archive/exo/ https://pdos.csail.mit.edu/6.828/2008/readings/engler95exoke...
never said otherwise (again)
Thanks for mentioning SQLx. I’ve been writing a SQLite integration recently using rusqlite, which is great and does the job, but some of the SQLx features, like the checked SQL statements and being able to fetch directly into a struct, look like they are worth checking out.
The US (other than for 8-12 years after the revolution) is a federal republic. The EU is not federal and is not a republic.
I'm red-green colorblind but the only way it noticeably affects my life these days is with the icons on Github's notifications page. A merged PR an an open PR have different shapes and the merged PR is blue and the open PR is green --- very easy to distinguish.

But an open PR and a closed PR have identical shapes and are only distinguished by the open PR being green and the closed PR being red. Or so I'm told anyway, because I cannot for the life of me distinguish between the two. I end up needing to just open the link to the PR to check its status.
I should have a 2d line chart, and I should be able to draw magnitude at each frequency. It rotates and filters. Right now, a line chart consists of 1 between two frequencies, and 0 elsewhere.

Or I should have a 2d image, and I draw dark/light. It reflects appropriately to get the other half, and multiplies the image (without rotating). Right now, this image looks like a donut.

I'm drawing the filter, you see. It applies the filter, and shows me:

* The source image FFT(what I drewFFT(image))

The point spread function / convolution kernel FFT(what I drew)
I have adhd myself, and I built a NLP tool around working out how well medication is working for me. I'm launching the mvp of it in the next few days if anyone is keen! https://moodmap.app
Most SmartNICs do not offload TCP; they're used for other purposes.
How could a vacation imply anything about chronic illnesses or future pregnancies? I mean, of course there's a chance something might be mentioned as an aside, but it seems very unlikely.

Visiting family much more often than not will just be visiting family. The tiny possibility that it might mean something doesn't seem worth the Q&A time.

Why would anyone want to fire an employee who might soon leave off their own accord?
Nope. It probably helps to live away from cities and such, in that there's a lot of stars visible at night. And it's not like looking at a rainbow: they're tints, not intense color differences.

'endogui linked to an article that talks about this: I don't think it's all that unusual.

https://earthsky.org/?p=2875
That's not how bogosort works. You just make a separate universe for each of N! possible orders, and then discard all the universes where it is not already sorted.

A universe where P=NP might not support life. Or, might not support yours. Or, only yours.
What does “IGEL” stand for? I couldn’t find it in the documentation.
Just about every single app nowadays vacuums data, so as strange it sounds, I'm back to having Apple replace just about everything, even if Apple's version is inferior.

Oh, I need to use a simple todo app. I guess it needs access to my contacts because there's a legitimate feature for that. It also needs access to my calendar because there's a legitimate feature for that. Of course it needs location for location based todos.
HTTP is normally handled entirely in user space, both on the client and the server side, so I don't think it has much to add to this discussion.
This article focuses on PC CPUs too much. Yes, they're lagging there, and they're lagging on the fab side, too, but their big mistake was failing to get into the mobile CPU market, even if it meant making ARM CPUs. Now they're stuck making PC and server CPUs, while ARM might even be taking over those markets.
You can get a genetic test to see which adhd medication works best with your DNA and is least likely to give undesirable side effects.
In 2020, why not just go all the way to QUIC?
Alex Younger: ‘Russians did not create the things that divide us – we did that’
I had a woodshop/electronics shop teacher in high school with severe red/green blindness. He said at stop lights the only reason he knew which was green and which was red was because of the layout. But when he went to states with sideways lights, he'd just wait until the people behind him honked until he figured out which was red and which was green.

But as an electronics teacher, it was extra problematic, because resistors are labeled by color bands. So he would constantly quiz us on that by randomly asking us what the resistance was, because he needed to know for his own projects!

He also said a lot of warning labels on woodshop equipment was bad because they depended on being able to tell the difference between R and G.

I learned very early in life that any UI that uses red and green as a differentiator is bad.
Interactive Coding Tutorials Within VSCode
I think it's pretty good. These questions have been keeping me awake at night for the last 30 years or so, and after one big false start that I sadly realized was just a complicated method that was identical to QM, I have come to something pretty similar to this as the next approach to check out. It's pretty cool to see that others are looking in this direction too.

I'm nowhere as smart as Wolfram, nor is my new approach anywhere near as developed, but the dimensionality is the thing that has been bugging me since the beginning for my own thing as well. Why three dimensions? Seems like if we can show a reason for that without too much hackery then we may be on the path to enlightenment.
Cousin comments have explained the point at length. There are apparently over 65'000 names on the sure-to-be-approved list, and parents can argue for their own. There were 86'000 births last year, and I'm pretty sure names follow a Zipfish law, so I bet there's a long tail of approved names that weren't even used. (top 200 names account for 21'000 boys and 16'000 girls)

Some freedoms I can think of off the top of my head that weren't true of the states last century (that I find more important than naming):

- freedom to effectively vote for candidates from a multitude of political parties.

- freedom to roam.

- freedom to open retail bank accounts in any major currency.

- freedom to talk back to cops without (any, let alone mortal) reprisal.

- freedom (not in my commune, but in nearby jurisdictions) to pay taxes in cryptocurrency.

- freedom to distill my own schnapps, drink it out of an open container in the middle of a public road, in front of cops, while driving (the last is an exaggeration, but pedantically true).

And a freedom-from that's important to me: on the few occasions I have to go to the big city, I know that the homeless-looking guy I see downtown has an apartment. He just looks like he's been sleeping on the streets.
> you don't want to go to another app and back

Why would the user care?

Switching to your default browser on mobile is usually instantaneous. I.e. there's no downside compared to launching a webview.
Those seem like good examples. It's a valid point, but presumably Duplex has (or can have) a catch-all response to anything it doesn't understand, such as "oh, I'll need to check about that... can I call you back?"
They were not predictable when released, which is partly why they became so popular. While none of them are ground breaking avant garde art, they all tweaked what was conventional, accepted and "predictable" in film making of the time. They became middle of the road partly because they helped to define the road.
https://observer.com/2016/02/exclusive-new-docs-throw-doubt-...

Suspiciously timed in terms of raising and dropping, let alone the actual detail of the accusations (not apparently made in those terms by the alleged victims) which trivialise the awful trauma of actual rape.
At least it doesn't break conservation of energy. The second law of thermodynamics is already kind of suspect in that random fluctuations break it all the time on a microscopic level. It's closer to a statistical observation.

Turning heat into usable energy without temperature differential is still an extraordinary claim that demands extraordinary evidence, but I wouldn't dismiss it out of hand
I’ve used various yubikeys in personal environments over the past 7 years and found them to be a gimmick rather than a useful tool.

They are quite versatile and can be used for many different use cases which is part of the problem in my opinion. While not a total dummy, I found yubikey software and documentation to be difficult to use and configure and a pain to find how to setup the key for common scenarios. This brings me back to ideal users, probably corporate use where a dedicated team can support users for the specific use cases.
Try dexedrine imo, I had what you're describing with XR pills like vyvance and if I ever woke up late I knew I couldn't take the pill without having an all-nighter.

5mg of dexedrine at 8am gets me til 5-6pm and no crash afterwards.
goto; conferences

https://www.youtube.com/c/GotoConferences

Good talks on a variety of topics.
Those are usually eye-wateringly expensive but amazing.
In general, the elephant in the room is: what if Apple outperforms both Intel and AMD with their Apple Silicon? ARM is an efficient architecture and the have a process node advantage for 2021. If they wanted, they probably could make very convincing server CPUs. If they want to move as announced the Mac Pro to arm, they would need server class CPUs anyway
I would guess Vyvanse, it’s dextroamphetamine bound to a lysine molecule. Your liver must cleave the lysine before the d-amp is released giving a smooth release, taking ~3.5 hours till you hit max blood concentration.

Fun fact: Methamphetamine naturally takes 3-3.5 hours to hit peak so Vyvanse has a more “meth-like” concentration curve as opposed to raw d-amp (or adderal which is 75% d-amp 25% l-amp) which hits way sooner. As an aside, Meth is very misunderstood and is in many ways a more ideal ADHD drug than normal amphetamine; and indeed it can be prescribed under the brand name Desoxyn. Methamphetamine when taken in low-moderate oral doses is completey safe and less jittery than amphetamine, but if abused (say, smoking 100mg d-meth) it becomes far more neurotoxic.

Understanding enantiomers (left-handed vs right-handed molecules in this case) is really important. For amp / methamp, the d enantiomer is 3-4x more powerful by weight yet is more cerebral as opposed to causing peripheral (body) stimulation. So d is almost always superior, although with adderall it has been found that the 75/25 d/l formula synergizes and has a bit longer half life
The closed PR icon has a tiny little tickmark in the icon I believe.

I had never realized they had different colors btw, and always wondered why GitHub wouldn't give them different colors. Thanks for clarifying that they actually did, just badly.

Tip for anyone using red and green for statuses: do like traffic lights: make the green a whiteish, blueish green and make the red tend a bit towards orange. And for the love of god use wildly different icon shapes!
I set up an AWS API Gateway that proxies to Reddit RSS URLs and then I just give the APIG endpoint URL to Feedly. Unless you have a lot of reddit feeds or high traffic ones, you probably won't even break out of the APIG free tier.
This is really fascinating. I just sent them an email to see if I could participate (diagnosed with ADHD 6 months ago at age 33, feeling pretty depressed that all the years of struggling/setbacks were to some degree unnecessary).

May I ask how long have you been participating in the training?
Thank you! In my bookmarks
Excited to give this a try and see if it will help me expand my day-to-day git-fu.

I like interactive learning resources like this. A similar one was posted to hn a while back for postgres and going through it taught me a lot. https://pgexercises.com/
MIT has a reputation for super sketchy press releases, but their research reputation is fine still. Even with the whole epstein scandal. I wonder how much it takes to actually tarnish their reputation.
The rule says the app must be removable or the data collected by the app must be shared with smaller competitors, this will probably evolve to also share data with governments at later stage.

>As part of its new Digital Services Act, the EU is planning to force the likes of Apple, Amazon, and Google to hand over customer data to smaller rivals in an effort to loosen the grip of big tech on consumers. A draft of the legislation stated that tech companies "shall not use data collected on the platform... for [their] own commercial activities... unless they [make it] accessible to business users active in the same commercial activities."
Yes, it is. It's one of the tough parts of the book, I cannot assume anything about the audience. That includes "they even know about recursive data structures," let alone "they want to write them."

In general, it's not possible to enumerate all negatives, but it is for all positives, so I try to say more about what is than what is not.

The issue is not graphs, trees, and lists. These are useful! It's implementing them the way that you do in CS 101 that is the issue.
It is subtle and to the naked eye, at a quick glance, the stars in the night sky are all little white dots.

Not a mass of little coloured dots.
Why assume it's a 0 sum game or try to regulate how people enjoy their free time?

Isn't it much more effective to simply force ships to have much fewer emissions or offset them?
Avoid a Job from Hell: Things to Learn About the Team Before Joining
> One way to break out of the prisoner's dilemma is to place an outside cost on 'defecting' from the socially optimal choice;

There might exist additional effective measures:

1. requiring by law that companies, hospitals and so on, do effective backups; controlling that this actually does happen and handing stiff fines to companies that do not.

2. the government acting as an insurance for damages in companies which fall prey to ransomware, covering their losses completely if they provide proof that they did not pay.

Also, there is an additional problem with ransom payments: As you cannot prove who is the recipient, how can you refute the suspicion that the company is not victim to ransomware but one of the company's owners is extracting profits without paying taxes? I mean, if you work as a cashier in a supermarket, you cannot tell your boss that somehow the money in the cash register got lost or that it was taken away by an armed robber which is not visible on any security video picture.

The counter-measure would be to put full regular taxes on profits on any kind of proclaimed ransom payment.
Not colorblind (my father was) but I appreciated his brief “old eyes” discussion at the end. I’m 42 and have been using a computer since I was 6. Now I’m both nearsighted (since I was 8) and farsighted (since my late 30s), which means I can’t read without glasses of some kind. Similarly, “light mode” is far easier to use and more legible than “dark mode” despite the recent trendiness of the latter. I can also back up his exhortation to not use the thinnest possible lines for text.

4K monitors have been a blessing, not directly (though they sure are nice) but because they’ve brought good fonts and UI scaling into the general use case.
From my perspective, the thing that has hurt the credibility around ADHD diagnoses is the pretty blatant use by affluent parents to get diagnoses so they can get test-time extensions for their kids.

ADHD diagnosis is much more strongly correlated with affluence than many other mental illnesses.

Eliminating the 504 accommodation would be beneficial in my view.
what's to stop intel from purchasing fab time from TSMC, other than pride?
I did not know this.

Biab