skysight-inc/HackerNews huggingface dataset:
Language, syntax, test
coverage, performance, coding style, linters, none of it really matters. No code is more beautiful than code that perfectly matches your problem domain. Being able to build a product in terms of high level building blocks that are sensible for the problem you’re trying to solve is what makes great code.

A few nice abstractions that allow you to pivot quickly without too much thought. Everything underneath is irrelevant and replaceable.
Yep, that's definitely true. In my opinion, for most drug addictions, it is in fact a symptom of a situation than the problem itself. For some people with certain biologies, I suppose that may not be entirely accurate. However one of my favorite studies compares the experiences of GIs before the war, in Vietnam, and when they got back.

Table 1 shows that before the war, 11% of the group surveyed used narcotics. In Vietnam it spiked to 43%. When they got back? 10%. [1]

For most of them, it was heroin. They literally cold turkey quit heroin when they got back from Nam.

What all this tells me is that telling addicts they can’t have drugs and sending them to prison won’t stop them from doing drugs. What will is making them not want to do drugs by changing their situation.

[1] https://ajph.aphapublications.org/doi/pdf/10.2105/AJPH.64.12...
We hadn't tested out nested albums scenario you pointed out yet, will get this fixed.

Thank you for the feedback! :)
Measuring Developer Relations
Nigh on four hours…

It has been posted on HNews a week ago, perhaps people too ages to watch it and reflect on it.
Yeah, the description made me think "simulated annealing" not "AI". I mean, even genetic algorithms might be overkill here.
My first encounter with 'SQL' was a course on relational algebra that was taught at my university.

It started out with defining relations as a mathematical construct, and continued with various operators on such relations. Then they continued explaining the various normal forms up the fifth normal form.
I was completely out of my depth, but at least it was good and solid theory that could be learned.

What really messed with my head is they then introduced SQL as a 'practical' implementation of relational algebra.
I'm still having nightmares where I try to understand nested HAVING statements that where asked at the exams.

Hey relations don't contain duplicates! But that's OK. We should call (modern) SQL 'BAG ALGEBRA'.
They care later when new features cannot be added, changes are delayed. A bad architecture is sometimes what you need but it will only take you so far.

Architecture is important but not as important as getting the data-model right. We can refactor out bad architecture but a bad datamodel will have missing or inaccessible data since it was created and you cannot get that back.
Sure, but Barclays made it trivial.
Why Jeff Bezos’s Blue Origin Is So Reviled
Honest question - in the concert ticket example, the article said that “ $50 spent on concert tickets..should not be a factor in our current decision-making” (because it’s irrecoverable).

But what if you are still interested in this show? If you choose not to go today, then you would need to purchase another $50 ticket in the future, thus increasing your total investment to $100. But if you go today, despite being sick, your investment would only be $50. So the $50 already spent could be a logical input into your future decision making…assuming you still want to go, and are evaluating a second purchase or not

Is this still sunk cost fallacy?
If this headline doesn’t sum up the weirdness of our times, then I don’t know what does.
That's not necessarily a sunk cost fallacy (at least as I understand it). If I add additional charges, the smart thing to do isn't necessarily to fire that contractor. This is because firing them, then hiring a new contractor to finish the job, is possibly more expensive than paying the charges. Asking for more bids, choosing a new contractor, then getting them up to speed can be costly.

The rational thing to do would be to weigh your options at that point. Do I believe that a new contractor can get up to speed and finish the project with a smaller budget than the current team?
Oh sure, one half can be bigger than the other half.
> there's no hard definition.

Yes. All human definitions are imperfect.
Could be an attempt at matching the erase block size of the NAND. Of course due to the FTL and other abstraction layers in between, it probably didn't have the intended effect.
No, everybody is not getting rich. The median income in the US is about $36K.
Semantics perhaps, but wouldn’t the satellites be providing the cells instead of the base stations?
key points:

* glycans are a common carbohydrate found on cell surfaces that are known to modify lipids and proteins in a process called glycosylation.

* previously, it was assumed glycans only bind to lipids and proteins. the research team discovered glycans can also bind to RNA, discovering a new class of biomolecule called glycoRNA.

* subsequent experiments revealed this biomolecule is found in many different cell types, including animal, plant and microbial cells.

* glycans and RNA are traditionally distinct fields, but the lead author, ryan flynn, leveraged his RNA background to explore a question that glycan experts had considered unlikely to bear fruit.

* the immune system of people suffering from lupus, an autoimmune disease, targets several of the RNAs comprising glycoRNA. this suggests glycoRNA merits further research, as it may represent a link in pathogenesis and could offer scientists new therapeutic avenues if so.
Oh of course - I have no doubt the ISO SQL committee is so conservative (no... they're regressive) is because of the sheer collective industry investment in not-only SQL tooling and SQL-compatible databases, but just energy-spent in teaching non-CS/SE/programmer types in businesses how to express their data-queries in SQL. It's very, very difficult to get the kind of industry cohesiveness around any technical standard, so the fact that SQL is so widely supported is a miracle (though it probably has something to do with US federal government requirements for information systems to support it, just like how POSIX is a thing because of the fed pushing for it).

To be clear: I am not advocating for a brand new query-language syntax or any kind of Python3-style overhaul, but I'd like to see SQL start to take small steps towards integrating the lessons learned from the past 60+ years of language design rather than doing the complete opposite.
Probably not necessarily on topic - but I really want to say that this guy has been the #1 source of pain in my developer career so far. There've been so many projects where I had to implement some solution some way because the "architect" said "that's how Fowler recommends it, so that's how we're doing it", even if the solution was so bad that everyone saw it coming back to bite us from miles away. I read his books and found nothing impressive. To me the guy is just a glorified salesman who I'd hire to sell BS to my agency's clients.
I've also made it a category on my site. The job listings are not as common and I'll watch this over time to see if there are any significant changes or not.

https://arbeitnow.com/4-day-work-week-jobs
What can be ways to change the culture into pro innovation and cooperation
There is also the time dimension. Some tools (languages et al) are misfit for some problem domains and might compromise your time to market and the viability of your product idea.
I wonder, are more people getting rich than ever, or is just more visible than ever? How true is the "these days" part of your observation?
The other day I sent out a link made with Google Photos' "create link" function. That's not a share to another user, just a link that anyone can open, no Google account required.
But one person showed me that hitting that link on her phone, Google wanted to authenticate her before showing the picture.

That is utterly unacceptable.
This was common in home computers that could run a routine at every VBL (Vertical Blanking) interrupt, often chosen as the main timing 'tick' interrupt. Change the overscan border color for each part of the subroutine, and the timing gets reflected quite directly in the colored fringes that are displayed as the program executes.
Not if your company goes bankrupt trying to prematurely upgrade the architecture, which is usually a huge undertaking. I think that's the entire point of the article, the guy who wrote it is clearly using a startup POV.
> The thing is, if you start with Common Lisp, it's pretty easy to write a DSL that adds the constraints and provides the guarantees that you need. If you start with Rust or Haskell, it is impossible to remove the constraints those languages impose short of invoking Greenspun's Tenth Law and re-implementing big parts of Common Lisp.

This surely cuts both ways: if you write a DSL that adds the constraints and provides the guarantees that you need, you've re-implemented big parts of Rust or Haskell.

Or maybe you only need a tiny fraction of the constraints and guarantees that they provide. But it's likely that you'll need more over time, and then you wind up with not just a re-implementation but a gradually accreted, rather than coherently implemented, one, and that's unlikely actually to provide the guarantees it's meant to provide.
“Silently censoring” is the key here. The censoring has been well-known for years.

Most of the conversation I’ve seen in the comments has been about shadow banning which just isn’t related to what’s actually happening here.
How do you not become discouraged? You don't have your identity in doing better than everyone else. And you don't have your happiness in how much money you have or in what you can buy.

And how do you do that? Aye, there's the rub. I think you do it by having your identity and your happiness somewhere else. You need more than just "not there". You need a specific somewhere else.

For me, it's in Jesus Christ and his love for me. (I recognize that most people here won't grab that as their answer...)
Maths and science is my best course
How to Influence Without Authority
There's an old commercial where a guy is mowing his huge lawn in front of his huge house and he says "Someone help me. I'm in debt up to my eyeballs."

Lots of people make lots of money and then don't hang onto it. Lots of people who seem to be doing well aren't. It's sometimes all appearances.

I definitely need more money than I've got but... I am not overly impressed with the people who "have dozens of friends and the fun never ends, that is as long as they're buying."

There's also the great song "You don't know how it feels (to be me)" by Tom Petty.

https://www.youtube.com/watch?v=9TlBTPITo1I
How to create a good app.store for a smartphone OS?

Users should be able to install whatever software they want. Similar for developers, they should be free to publish whatever software they made.

Apple/Google approach is suboptimal because centralized point of failure. And they do censorship on their stores, both political and arbitrary.

Linux approach is suboptimal because users don’t have keyboards to create these sources.list text files. Even if they had qwerty keyboards, I don’t like the UX, too hard to use.

Traditional P2P like bit torrent + DHT is suboptimal because smartphones, would use too much electricity + bandwidth to be practical.

So far, I’m thinking about developers-hosted binary packages, and existing code-signing infrastructure for authenticity and integrity (Verisign, Comodo, Digicert, these guys, up to developers to choose one). The configuration issue from Linux should be solvable with QR codes scanned by camera, plus a custom URI handler for the web browser on the phone.

The main thing I don’t like about that approach — a store app on the device is a good UX from end users’ perspective. Yet it seems impossible to make one with that approach.

I’m very far from being blocked on that yet, but I will face that problem eventually.

P.S. I’m not going to solve security at that level. As Android store shows us, it’s borderline impossible even with Google’s resources. Modern mobile SOCs have enough juice to solve that properly, on the lower levels of the stack. Most of them support hardware-assisted virtualization. All of them are fast enough to run proper multi-user Linux, with security permissions and SELinux kernel module.
Space-themed law firm as I believe someone on r/space referred to it
Satellite phone systems are using 2.4 kbps codecs, so while Lyra might significantly raise the voice quality bar, it would not really change the bandwidth requirements.
If you're not spending that time commuting, you can just take that same time and do it different way.
> High resolution images are available in our Press Kit at https://www.pragmaticsemi.com/presskit

edit: reading through the press release, I'm not actually sure how much of this is even true.
Show HN: Hurricane Ida's pressure falling in Louisiana, data from Android phones
Join in.

Search for a new job, invest in the stock market, etc. It seems like a great time to find a job.
Hi,
my name is Katherine and I built the really easy-to-use resume builder. You can create your resume, save data, and download the PDF file without registration.

But with registration it's better: you will able to create multiple profiles and therefore, generate multiple resumes.

Why did I create it?
First of all, it's a part of my experiment where I wanted to build really simple, one-function tools to solve some problems. I have a list (now it has more than 20 ideas) of such small tools. I picked up this one because it what bothered me for a long time.

Since I'm a software developer with 17+ years of experience I had to apply for a job many times and creating a resume specifically for every single position was a real pain. So, I thought that maybe other developers have the same problem. Also, I'm going to add some functionality for keeping the information about applications and other features like export to Word, automatic applying etc. (yeah, it's much beyond one function but it still tries to relieve a bit the process of searching and applying for jobs).

So, this is my story. I'd like to hear from folks here what you think about it.
Does it worth to keep working on it?
Do you think you have another, more significant problem to be solved in this scope?
Do you have any suggestions?

Thanks all!
addendum: does anyone know if those actually have different requirements? obviously calls are more data and thus need more energy, but from a quick search through public documentation I don't find a clear claim that the Short Burst Data service actually uses a less-demanding encoding.
The irony is that the majority of people will think you're making it up when describing counter steering, yet they are already doing it without even thinking about it all the time.

The first time I read about counter steering, I thought "man, this'll take forever to practice" until I realized it's really the only way one ever does it.
I get what he is saying but you can't say build it fast without tests, don't worry we will have to rebuild anyway and say you care about quality.

Good quality code is code that has a low bug count and can be changed quickly. Over engineered code doesn't fit as it can't be changed quickly. But the same is true for a hacked together mess.

He has a good point the best programmers will create a simple easy to maintain system quickly. These are generally the experienced and expensive veterans. They won't be pushed into taking silly short cuts, nor will they play with new toys at the cost of the product.
was this written by an AI?
> If you sort the numbers, then represent them as the amount you need to add to the prior number[1], it produces a very small file once compressed...about 4k[2].

That seems like a nightmare to do searches on. I'd probably compress it with a prefix tree or similar. In terms of off the shelf solutions, sorting the list, saving as a newline delimited text file, and then compressing with LZMA2 gets you down to 22KB.
You have to ignore both societal and organizational pressure. These come in sometimes subtle ways both internally from your own psychology but also in the form of stated and unstated expectations from coworkers management and partners.

Time alone not working helps this, meditating helps, anything that gets you away from the fracas of life. But also the best way is to develop things you care deeply about that have nothing to do with your job. May be a sick family member, could be a community organization, could be time to play the piano.
Focus on building a life that operates from love and abundance rather than fear and lack.

Grow your skills so you can be of service to others.

These two things will make you most likely to become rich.

“Mastery of Love” and “Millionaire Fastlane” are two books I would recommend.
Sent to your gmail!
Yes. And he later went back to school and became a user experience research scientist.
Have you used CTEs much (aka the WITH statement)?

I find them to be a huge step forwards in terms of adding composability to complex queries.
Takes about 2/3 of the article to say that the best programmers do both, but lean slightly toward shipping product faster with an eye on quality. I hope I saved you some reading.
Lxd Clustering
I don’t think you have to wait. I had some free time left on Apple TV+ when I subscribed to Apple One and then they started crediting me monthly for the value of the TV+ subscription.
Apple has a long history of forcing features into external devices
You're experiencing a classic case of selection bias. You're much more likely to hear about the person that got rich trading crypto rather than the person that lost a lot of money trading crypto.
Reminds me of a documentary (which I can't find anymore) about New Horizons and the hunt for Ultima Thule, where the scientists did the exact same thing!
Every EC2 instance has this thing called tags. Tags are just a list key value pairs u can give to most aws things. Usually the most common tag is name tag. Go to your EC2 console, just give ur instances a name.

In the launch wizard when u re launching a new instance, it gives u an option to set tags, just type in "Name" for key and "my instance" for value. U can either do that. Or after launching when it lists all ur instances u can just give ur instance a name in the first column
Other conversation from earlier today: https://news.ycombinator.com/item?id=28347298
Too bad the article was a fluff piece. There could have been a lot more depth to the story, the value of health, of not being motivated by position or title, of keeping yourself mentally and physically busy as one works through a transition.

One thing the article only hints at is he doesn’t speak German! Of course he couldn’t find a job in Germany.

I think this guy is going to be OK. He knows how to market himself at least.
My hobby is using Android phones to take weather measurements and hopefully one day, be useful in weather prediction. I make an app that has this feature (along with other ML experiments), US only for now:

https://play.google.com/store/apps/details?id=com.allclearwe...

I plan to make better visualizations from the data, with the most ideal being an isobar map made just from phone pressure data. Here is an animation (not isobar) of Hurricane Dorian (2019) I made:

https://www.allclearweather.com/hurricane-dorian

All this is done with the open source library I write:

https://github.com/JacobSheehy/AllClearSensorLibrary

I obviously plan to make more visualizations for Ida once more data is in, and hopefully better ones too. Sorry for the rushed quality, but you know, the storm is landfalling as we speak.

(edit: and yes iPhones have barometers too, but I'm an Android dev so iOS app will take a while).
Applied Machine Learning Days Africa
For its 5th year, the Applied Machine Learning Days of EPFL, the largest European conference dedicated to ML and AI, announces its first African edition: AMLD Africa.

We have great speakers from industry (Google AI, Amazon, IBM research Africa), NGOs, African startups, and top universities in Africa.

https://appliedmldays.org/events/amld-africa-2021/speakers

AMLD Africa is online and focuses on the applications of ML and AI that enable innovation and sustainable development in African countries.

The tickets are free but limited

https://appliedmldays.org/events/amld-africa-2021/tickets/no...
Man, Mac's keyboard shortcuts for special characters irritate me so much.

First, they're there, and it's absolutely wonderful! I use far more semantically accurate Unicode rather than lossy ASCII approximations than I did back in my old Windows days. (If you don't know the special characters you can get, turn on Keyboard Viewer and whack your keyboard, especially modifier keys, a bit.)

But … I can't customise them. Even back in the days when macOS was OS X and believed in user customisation, these specific shortcuts were frozen and un-customizable. (Like the folder shortcuts in Finder. Maybe it makes sense to you for CMD-SHIFT-D to open the Downloads folder, not the Desktop. Too bad!)

(Boy, I hope I'm wrong and someone will come along and explain my stupidity to me.)
Don’t worry. It’s an art. Not a science.
That sounds like a case of using the wrong tool for a job. That's like saying that Computer Aided Design is inelegant because it's hard to get the shading right on your life-drawings.

I wrote programs that tool arbitrarily long path lists and connected them with Bezier curves - not because they lend themselves to creating art but because I had constraints on the smoothness, curvature and number of inflection points of the compound path.
Because security isn’t black and white.

If you’re going to use BackBlaze’s software, which has access to all your files, you have to trust Backblaze as a company. If you don’t trust them, don’t use their service. Simple. There is no circumstance under which you can both distrust them and run their software. (Try tarsnap instead.)

So now the question becomes: what threats are you protecting yourself against?

For me, it’s:

- malicious employees accessing my data

- a security breach giving outside actors access to my data.

Encrypting the backups and encrypting the private key protects me against these threats.

My “restores” aren’t protected against these threats, because they’re not encrypted (as of 2019 when this FAQ was written), so that’s a gap. It’s one I’m willing to put up with because I can mitigate the risk by not leaving restores hanging around.
^

I'm quite open about my poverty. People literally do not want to hear it.
> Google doesn't sell a workstation and big screen.

And does not sell in person customer support.
This happens periodically. Internet stocks in the late 90s, real estate in 2007. And now we're in an everything bubble.

In December 1996, Alan Greenspan (Federal Reserve Chairman) used the phase "irrational exuberance"[2] to describe the market. It was already obviously a bubble. The bubble didn't burst until March 2000.

Some people think this particular bubble will end with the dollar crashing instead of the market.

[1] https://en.wikipedia.org/wiki/Irrational_exuberance
Totally correct. At speed, you simply cannot turn without counter steering. If you tried to turn by turning your bars in the direction you wanted to go, you simply won't go there.

At some point, someone noticed racing bikes counter steer really severely so you can easily see the wheel is actually pointing the opposite way. But the reality is that even at "won't fall over" speed on a bicycle, you're already doing the exact same thing. When you lean, you counter steer. Otherwise you'll high-side like a missile.
I will love to know more about this UCSB
Are you willing to take that chance when discarding EOL disks?