skysight-inc/HackerNews huggingface dataset:
App idea: donate a fixed monthly amount across creators of liked videos
Here's an app idea for a patreon-like platform.

You'd donate 7€ a month to the platform (you choose the amount)
The platform tracks what you like on youtube
At the end of the month, it splits your donation across the creators of the videos you liked.
You can focus your donation on creators making less money via the system.

There'd be an optional chrome extension that :
- show who's a donator in the youtube comment section
- skips promotional part like audible/nordvpn/skillshare sponsorships. It would be based on user provided infos.
- show how much the creator is making via the platform
- show how much the creator would make if he subscribed to the platform

Would you use such a system ? Would youtube allow it ? Would content creators prefer it to patreon ?
So far people in the thread seem to be focusing on whether the use of inflation is appropriate and whether coffee is specific or merely representative or whether small costs add up.

But they've all missed what I think is the true takeaway:

> Please excuse my lack of enthusiasm for discussing 4-dollar lattes while we ignore 30-plus years of zero real wage gains.
I store everything in a Keepass. I maintain that keepass on a SpiderOak Hive that syncs between multiple machines, and mobile. The password for SpiderOak is not one I know - it's in my password safe and written on paper in a safety deposit box.

The password for my password safe is one three passwords I know: unlocking my root partition, my desktop account passwords, and this.

I have infinitely more faith in something whose encryption is zero knowledge with multiple tiers, as opposed to LastPass. I'll never understand the notion of password as a service being an acceptable risk.
Consumption includes services. Basically, reducing consumption in a consumer-driven economy means everyone has less income to spend.
Yes, Keepass for example avoids this by pasting some of the characters with the clipboard and some of the characters by simulating keypresses. See: https://keepass.info/%0D/help/v2/autotype_obfuscation.html

Lastpass mitigates the issue somewhat by clearing the clipboard after a certain amount of time.
I've seen plenty of junior engineers who read a FP blog post, and start arguing about 'purity' and the need to refactor lots of code – without having any clue that pure functions are useful regardless of other coding paradigms / architectural decisions.
We don’t know how to improve people’s ethics.
Now Online Food Ordering Services Are Available on Facebook
If you enjoy the Evil Overlord List, and are in the mood for a diversion into fiction, A Practical Guide To Evil plays to a very similar theme.

https://practicalguidetoevil.wordpress.com/
So, I've privately been working along similar lines, although I haven't published anything, and I also haven't read their specific approach.

How do I prevent a situation where I can't work on my hobby project of multiple years because this stuff gets patented?
Yeah, I can respect that. No one else seems to empathize with this stance though.

Unions are a tool for workers to come together and collectively negotiate working conditions and compensation with their company. That's it. Allowing Unions to collect fees such that they can donate to political blurs the original intent of the Union in the first place. I would support a bill banning Unions from donating to political causes so that we can all get back to remembering that Unions are a useful, narrow, and focused tool that does one thing super well.
cool fun times. glad we just gave billionaires and mega corporations a trillion dollars
Threatening to strike is much different from restricting the people who can work for the union?
Writing Six-Pagers at Amazon
I have never once "optimized solely for V8" (I honestly have no idea what runs better in Chrome vs. Firefox).

All I know is that I build an app as I think makes sense logically, and 100% of the time it runs faster / less hot in Chrome.

JS-heavy apps burn thru CPU cycles far more on FF than in Chrome.

I want to use FF as my daily driver, I really do. But it's real-world performance just doesn't cut it for me, and I don't think you can blame that on people "solely optimizing for Chrome", as V8 was a better engine at the moment of release, when nobody had had a chance to optimize for it.
Yeah but realistically NVMe will remain on 4x and you'll get faster drives. It allows for double the number of ports in NICs though, which is really useful for 10+Gb (and especially 100)
Walmart shows how the accounting mindset can work for a company: the more you drive down costs, the more markets you can make a profit in. They cut costs for the sake of being able to expand into places that they otherwise wouldn't be able to, rather than to boost profit from stagnant sales.
Really I don't think you need unions at all, at least not now in the information age. If all employees across various industries simply shared salary figures (adjusted for cost of living, of course, to be fair), it would have the same effect as most of the benefits of union membership. That knowledge by itself would be incredibly empowering. The late Alan Kruger pointed this out when reflecting on the famous "Card and Krueger" experiment.
Install Visual Studio Code for Linux Using the Snap Store
CaptainFact – Open-Source Online Video Fact Checking
So freedom of speech is bad and political bribery is good?
Even if they are cross-border? In Poland the in-country ones are free/cheap, and anywhere else in the EU is around 1 EUR.
I have a hard time feeling any sympathy for someone that follows a career path in which supply is higher than demand, and then they whine when they have to deal with the economic impact of supply being higher than demand.
We are talking about login and password, not cars.

Taking drugs is also a calculated risk, still, most people agree that you shouldn't...
Yup, ligatures gone wrong, I guess. (Safari/Chrome on MacOS)
If you're the type of person who can make a decision and not be tempted by other options after the fact, sure. But for many people it can create decision fatigue when you pass the coffeeshop on the way to work every day, when your coworkers invite you out for a coffee, when you're running late at the airport and Starbucks is right there...you have to constantly reaffirm your decision over and over again.
I wonder if the author would be ok if people spend $1 on a coffee a day from McDonalds or a gas station and save the other $4?

I always hate how people always jump to "but inflation..." or "12% is not realistic...". Ok, maybe 12% isn't reasonable and $1M won't be as much decades from now. But having $500k or $750k or however much you end up saving by saving a few bucks each day could still be a pretty good chunk of change when you are ready to retire! That's much more than $0! The earlier you start, let's say when you're 18 buying a $5 cup of coffee and not really thinking about retirement, gives you more time to build wealth when you're ready to retire.

As more people start to reach retirement age, there's going to be a lot of people surprised to realize they can't afford to retire. With few companies offering pensions and some uncertainty about social security with Baby Boomers reaching retirement age, millennials better start thinking about how they can retire as soon as possible. Saving a few bucks each day (whether it is by giving up fancy coffee or something else) can be a great way to get started!
"Should we own slaves?" is an easy question. Yet it was so controversial there was a civil war fought over it. "Is global warming caused by humans?" is an easy question (with the data we have) but it is massively controversial.
And yet, they do.

Source: worked there, on a ML focused team.
It wasnt 32bit color that made Nvidia emerge the winner. It was relentless push forward and an army of EEs working around the clock. On all accounts Nvidias first product should of been their last, supporting wrong paradigm, wrong specs, total fail. Yet somehow VCs allowed them a second try. After that it was just a straight dog race.

Riva 128 (April 1997) to TNT (June 15, 1998) took 14 months, TNT2 (March 15, 1999) 8 month, GF256 (October 11, 1999) 7 months, GF2 (April 26, 2000) 6 months, | 3dfx dies here |, GF3 (February 27, 2001) 9 months, GF4 (February 6, 2002) 12 months, FX (March 2003) 13 months, etc ...

Just think about it, 6 months between GPU generations, Nvidia had an army working 24/7 while 3dfx had couple ASIC people, 3dfx was murdered in their sleep.
I think developers are more like the background technical staff and startup founders are the big name actor equivalents. Founders move to SF, work hard, and generally struggle trying to become Zuckerburg as much as LA actors trying to become Chris Pratt.

But for every movie with the Micheal Bay or The Rock there are hundreds of unionized workers creating the explosions, car chases, and sets in the background. Just like developers they're the ones that make the production work but no one knows our name. (with few exceptions like John Carmack, but then again there are special effects experts with tv shows)
ACH, once initiated, usually happens overnight in my experience (which matches up with my understanding that they are largely settled internally by a big overnight batch job). Is this incorrect?
> This seems to be strange obsession of HN

Because they want to be able to use whatever words they want without consequence? Yet they insist on posting somewhere that does have consequences for word usage - downvotes, flagging, and bans. You'd think they'd all go to a freer platform.
Nonsense. I've met plenty of runners who absolutely destroyed my pace (and I'm no slouch) well into their 50s and 60s.
That's an oldschool wonder https://en.wikipedia.org/wiki/Animal_spirits_(Keynes)
> The impact: It's the highest number of job cuts in a quarter since 2015.

Highest since 2015 is less surprising than “ highest in a decade”
Rust can compile to WASM, and I would assume would outperform vanilla JS.
You seem like the exception rather than the rule.. I don't think anyone is suggesting people not follow their passions, its more about people not knowing what they're getting themselves into most of the time.
Really? Isn't that considered to be a problem?

In the EU, I put my bank account numbers on every invoice, which makes sense, because I want people to transfer money to me. I would never imagine that knowing my account number would allow someone to take money from me.
I have spent quite a lot of time building a database in Java. It's not a small undertaking.

I've gone through as many books and papers as I can, and there is only one, one, that gives an overview and actual examples of building a system that processes SQL. Everything else is theoretical or so general that you don't get enough direction to get started.

It's "Database Design and Implementation" by Sciore. It's a little dated, but not by much. It is an underappreciated resource.
How do we explain the rapid displacement of people in cities without rent control then? Markets are not as rational as your line of thought would lead us to believe. Actually — there is one clear rationale, capital accumulation at all cost.
In both cases you could be happy with the offered compensation but be forced to not work for the company anyway.
I wrote a book about Terraform in 3 months
"
It doesn't make sense to criticize others for doing something that's perfectly acceptable just because you wouldn't do it."

So you criticize me for criticizing? And that makes sense?
Is HN going to turn into just another boilerplate low-quality, sarcastic tribal sniping comments section?

Seems like it's well on its way...
GPS “rollover” event on April 6 could have some side-effects
I don’t think we have changed significantly in ways that matter for this discussion. People 50.000 years ago, and indeed Neanderthals, were surely equally able to develop civilisation and high culture, given enough time.
Two really different performance domains to be concerned about?

This sort of fine-grained simulation is expensive, whereas rendering of the fairly-simple sort the screenshots imply just isn't.

(I'm assuming that the backend Rust server is doing the expensive simulation stuff, and just sending the display data to the client.)
Exactly. Furthermore, my primary concern is not the app, but the toolkit, since that's what the Show HN i really about IMO.
For a while now, I've used H2 as the in-memory database for a bunch of Selenium and Spring Boot integration tests. The primary advantages are 1. speed and 2. simplicity.

Simplicity is the big thing here; I can configure Spring to launch an in-memory H2 database and not have to worry about state, clearing and reseeding, or any of that stuff. The integration tests can just run.

I've been so happy with it that I'm pushing a customer to use H2 in production. I would normally use Postgres, but my customer doesn't really have an IT staff, and an embedded database will be a lot easier for them to keep up and running.
Didn't anyone know it is possible to run a full blown Eclipse in the browser?

https://www.eclipse.org/che/
I think you are reading too much into what is supposed to be an intrinsically silly example. For instance, I pay $1.25 for a large coffee nearly every day from my favorite hipster coffee place for a good organic coffee every lunch. Yet I still am barely scraping by with a very high salary for the area that I live in, and I'm still barely able to actually save. If I didn't buy the coffee at all or if I liked sugary confection-coffees that cost $10 a day, it makes literally no significant difference in my coming any closer to owning a home.
Let's say you have an Ubuntu OS in Virtualbox, and an application is running "on top" of Ubuntu. Now try swapping out the Ubuntu OS for Windows without affecting the application. It's nonsense, because an application only works when there's an OS to provide an abstraction layer for talking to hardware.

Of course, there are applications that run on bare metal without that abstraction layer, but the point I'm making is that in stacks with an OS, an application "on top" of that OS is not independent of the OS even with virtualization.
My rule of thumb is to assume something significant will have to change in the architecture when you get 10x bigger. At any given moment, you shouldn’t have made that change yet, but you should know what it will be and be ready to make that transition. But don’t gum up the current system with what you’ll have to do at 100x bigger.
The whole economy is powered by belief. No bank would be able to handle a bank run.
Slow is relative, and JS is slow relative to WASM.
For a lot of Americans, the first stop they make on the way to work is Starbucks, Dunkin Donuts or McDonald's for coffee.

It's bizarre.
Robots reading our feelings in Real-Time – Newswise: News for Journalists
I’m a photographer by hobby and you very often see people wanting to hire someone good but who isn’t expecting to make a living at it with offers like “I’ll let you shoot my event to help build your portfolio, and all you have to do is give me a copy of all the photos.” Or alternatively offering something like $100 for four hours to do lifestyle street shoots.

I don’t know how often they are successful at getting photographers for these types of things but I know that if I were going to shoot for those kinds of wages I would rather donate my time to a charity that I support.
Like for one minute, can we be honest with ourselves. Why are we normalizing this? These people, deserve respect, but honestly just as much, they need help. Not a single doctor in the video, just a bunch of preaching. It's so sad to see people so misguided in their own chemistry and reality.

Also when are we going to stop pretending NPR isn't some liberal BS most of the time.
So what you are saying is that you shouldn't buy your second home, rather have your wife or child buy it?

And instead of buying that private airplane, lease it for 20 years from Boeing?

That's kind of the point of the article: There are ways to structure purchases to avoid this kind of thing.
Uploading a whole database of all your login/password and using on single login/password already know by the company doesn't sounds the same to me.
Elasticsearch uses Lucene at the core of it's search capability. https://lucene.apache.org/core/

Basically it examines each record you want to index and generates a set of features and metadata to aid in rapidly finding what you're looking for. Some of the features listed on that site are:

ranked searching -- best results returned first
many powerful query types: phrase queries, wildcard queries, proximity queries, range queries and more
fielded searching (e.g. title, author, contents)
sorting by any field
multiple-index searching with merged results
allows simultaneous update and searching
flexible faceting, highlighting, joins and result grouping
fast, memory-efficient and typo-tolerant suggesters
pluggable ranking models, including the Vector Space Model and Okapi BM25
configurable storage engine (codecs)

Basically, a standard non-index database search (i.e. using LIKE) is fairly stupid and generally defaults to a full-text scan of each row in the table. A b-tree index (https://en.wikipedia.org/wiki/B-tree), for columns with only one word, dramatically reduces the scope of that search field and makes such searches almost instantaneous. However, it doesn't help with multi-word text fields and the database engine has to go back to the very slow full-table scan and check each record individually.

Lucene notes the position of each word in a text string and has a number of techniques to figure out which records have words similar to the ones you're looking for, at relatively similar positions (i.e. close to each other, in the same order, etc) and narrows the search scope to those records. In short, it's not searching the individual records, it's searching it's own database for what it already knows about the contents of that record.

EDIT: however, for a log search a b-tree would still be fine, because every log entry generally would have a similar structure. For example, if you're looking for a specific error message, that message is not going to dramatically change from one moment to the next. So having that table/column indexed with a b-tree would allow you to search for that specific error string and quickly pull up all the results, regardless of size.

Just make sure you set up your SQL query to have a line like:

WHERE column.errorvalue LIKE 'Generic Error Code 1%'

instead of:

WHERE column.errorvalue LIKE '%Code 1%'

As soon as you put that first '%' sign in front of the first letter SQLite ignores any index you have for that table and does a full table scan, which is very slow.
(https://www.sqlite.org/optoverview.html#the_like_optimizatio...)

That said, if you think you're going to get to 80GB you might want to look at an alternatively solution to SQLite or, at the very least, version your databases by month and then use the ATTACH DATABASE command if you need to mine historical data (or even write a small script to search each database individually). SQLite isn't really designed to separate tables across different disks and it's not fun to regularly have to back up 80GB files.
You're shifting the goal posts. Obviously the force was "high" because the trim was out of position. That's different from "incredibly high" and can mean anything from "they gotta pull a little harder than normal" to "they have to pull as hard as they possibly can".
Indeed, not everywhere is New York City. Some places are worse, like San Francisco. Possibly there are places that are worse again. Certainly I would never get a taxi in Southeast Asia if I could possibly get an Uber.
From the article, "Over the past few weeks, we have managed to confirm with a number of AMD’s ecosystem partners that our theory is not only valid, but it is indeed what we will see." Essentially, there is significant evidence that supports their hypothesis. This is far more than mere speculation and I see no reason to assume they have fabricated (hehe) this story.
Which is why, in this case, unionization isn't just (to paraphrase) ignoring that there's not enough demand.

One intended result is that it would forcibly remove the option of externalizing the consequences of intentionally under-utilizing the labor pool. It prevents bad behavior (behavior that should already be illegal IMO). Freely exploiting your workers because they have no bargaining power should always discouraged.
Lots of people have young kids: Add another two pages for the "Child and Dependent Care Expenses" form.

https://www.irs.gov/pub/irs-pdf/f2441.pdf
Yup. Chrome on Android 9. Seems like broken fi ligatures to me. What font is this? Can't check right now.
I'm not sure what this has to do with turnover in specific neighborhoods for determining if folks are voting out expansion "to keep their neighborhoods the same" or "for profit expansion".
Crony capitalism is capitalism. And capitalism hits poor countries harder then the U.S. doesn't it? I'd say people working in sweatshops have it worse then most poor Americans.
Interplay Takes on Trek
To avoid FAA scrutiny, Boeing developed and deployed MCAS covertly. This was done because they feared scrutiny would have led to huge losses in the face of competition from Airbus. Had Boeing management just laid all their cards on the table, potentially the FAA could have still approved the design, with small but crucial improvements. These changes might have included: using both AOA sensors, using a 3rd AOA sensor, not switching between left and right sensors each flight. Instead, the covert nature of the development and deployment of this feature allowed flaws in its design to go unchecked.
The same arguement is valid for time that could have been spent more productively. Time that you have enjoyed wasting is not really wasted time. In fact a bit of fun or idle time can have a significant mental health benefit.

Of course, you need to find a balance. You have to have enough good productive time to be able to afford the idle time that you need/want...
anytime you grow at an unsustainable rate, a slowdown is inevitable. It's not a question of if, its a question of when.
maybe you can do fio write+sync benchmark?
http://uditagarwal.in/index.php/2018/05/19/comparing-io-benc...
The US says that it spies to prevent terrorism, violence, etc... but that is just a pretext to justify it. The main reason is to stay the richest.
Sounds eerily familiar
I'm all for protecting the vulnerable and underprivileged. I'm all for universal healthcare, increased minimum wages/EITC, and increased taxes on the rich.

But I'm very skeptical of the idea that white collar professionals earning well above the median, are somehow in need of "protecting". They have every opportunity to quit the video game industry and take up very lucrative and easygoing jobs in other industries. They are expressly choosing not to do so. That is their choice, and their burden to bear.

Anything that reduces competition in the marketplace is bad for society as a whole. This is why I'm all in favor of anti-trust regulations and breaking up the tech giants. This is also why I'm not a fan of unions. Maybe a case can be made for specially disadvantaged demographics. I just don't see it for programmers.
Cheat Sheets for Developers
As an individual, this is almost a philosophical statement, though.

I can actually choose not to spend $5 (just as I can attempt to enter a certain career path).

I can't change the median wage significantly.

It's not actionable.
Some Powerpoints make me wish I was blind.
Tesla had their moment but now their competition is catching up, especially luxury brands. Also, if a recession hits, the auto industry is going to take a beating (maybe the sales drop is a foreshadowing).
California now has more than 1,300 charter schools – Alt.Ed gone bad