skysight-inc/HackerNews huggingface dataset:
I can't believe all this dunking on basic, sensible, etiquette. Do we all just live like savages now?

Yes, the HTML formatting is annoying, but I thought the content was pretty timeless.

> One day you’ll find yourself being asked to conform. Refusing is often justified, but consider whether it’s actually just a request to be considerate. No one is oppressing you, for example, by asking that you dress nicely for your grandfather’s funeral.

The world really needs a dose of this. We're not all being oppressed.
Intel has been going down the drain for a long time now.
I have a few friends in Taiwan and the working condition in general (In all domains) aren't good and the cost of living are quite high especially in Taipei.

The working culture is similar to that of Japan, so in many cases it is expected for employees to stay at work 12 hours per day, and sometimes to come work during the weekend.
Under good conditions lead-free solder works fine, but the difference in melting point really starts to hurt when you're working on large belly-pad ICs. The intended rework procedure for that kind of part involves several minutes of hot air from above and below, which is more patience than I have when I'm prototyping.

When I take production (lead-free) hardware off the line for dev work, the first step to removing a large part is to flood it with leaded solder to reduce the melting point.

Has there ever been an occupational study of lead levels among hardware engineers? I'd be interested to see it.
I also wrote about distributed locking a while ago, particularly about implementing one on Google Cloud Storage. https://www.joyfulbikeshedding.com/blog/2021-05-19-robust-di...

This is useful because cloud storage is very cheap and serverless. It certainly beats running a Redis or PostgreSQL instance.

In my research and implementation I took care of the problems described in this article (as well as the problems I encountered in other distributed lock implementations).

Clients either freezing or outright crashing or disappearing is definitely a major problem. So timeouts are a must. But you can't just have a timeout because you don't know whether a client is arbitrarily delayed or whether it has disappeared. Furthermore, some workloads have an unknown completion time so you can't pick any sensible timeout.

I address this by encouraging clients to behave as follows:

1. Make the timeout relatively short, but regularly refresh your lease to let others know that you're still alive.

2. Your lease may at any time be taken over by another client that thinks you've disappeared. So you must regularly check whether your lease on the lock is still valid. This checking must be done way, way before your timeout expires, in order to account for the possibility that you can be arbitarily delayed at any moment (GC pauses, scheduling pauses, network delays, etc). I recommend checking in an interval at most 1/8 of the timeout. Smaller intervals are better at the expense of more overhead.

3. Attempt to split up your work into a long-running, discardable preparation phase and a short-running commit phase. Verify the validity of your lock lease right before committing (in addition to periodic verification).

This is of course still not 100% foolproof. There is still risk that two clients run at the same time, but this risk can be arbitrarily reduced by reducing the verification interval and by optimizing for doctrine 3. If your workload cannot tolerate any risk of two clients running at the same time, no matter how small the risk, then pick an infinitely timeout. But I think for most workloads, the benefits of not having to administer the lock (not having to manually break its lease because a client has crashed) outweight the risk.

My algorithm has a Ruby implementation, as well as a third-party Go implementation.

Ruby: https://github.com/FooBarWidget/distributed-lock-google-clou...

Go: https://github.com/FooBarWidget/distributed-lock-google-clou...
Oh so she’s the person who removes my one star review when I get a letter saying I’ll get a $25 Amazon gift card for giving the product a 5-star review? I just can’t trust Amazon reviews after that happened to me, I was so mad.
Same resources available to anyone else, Stack Overflow, Reddit, HN, Github...

Ageism is a reality, particularly in the US, but IMO it is gradually fading out as the stereotypical generation of piped piper style developers from the early-mid 2000s approach 40-50, many still in purely technical roles producing code better than ever.

Also with the arrival of tools like ChatGPT and Copilot experience will become a much more valuable commodity than the ability to spit out code very fast or in large volumes by pulling out allnighters, something older developers with social and family commitments usually aren't able to do.

This of course assuming you start using such tools.
I would argue the alternative reading is by far the most likely, but the (natural, correct) reaction of “so what?” combined with “this has been brought to my attention as important / it must be important because it’s at the top of hacker news” means the obvious and boring but accurate interpretation gets put aside, in favor of the most plausible explanation that justifies it being Big News (that they’re selling access to encrypted message history to governments). The missing piece of info that integrates all the other information is that some people are ~always mad at police and government.
Actually, that's not true. Actually actually says, "this is true."
Effectiveness of the EU's Code of Practice on Disinformation [pdf]
Some reasonable suggestions and some alarming ones. Among the latter are "socio-demographic and psychographic characteristics" of audiences. I wonder how they are going to deduce that information? With more pseudo-science, probably.
While it expensive and I’m sure that discourages some, richer people seem to have even less kids than poorer people.
>I myself am secular, strongly so. My wife is just as strongly religious and her fertility rate is over three times our national average at her insistence which I voluntarily agreed to. I’m concerned that us secularists have no good answer to why anyone should have children and as I result I can see secularism dying out long term, which I consider a philosophical tragedy.

Exactly: within a few centuries, most people will be extremely religious. However, with geopolitical struggles, the ubiquity of nuclear weapons, and the inability of religious extremists to get along with others, we'll end up with a planet-scale nuclear war that will extinguish human civilization.
Pinecil ftw
The idea of "free market" (it's only a model, not reality) has an explicit anti-labor bias. The apple doesn't care about its price, but the worker does; this why it's nonsensical to treat both as commodities. But if the price of labor is determined by a divine entity (the market forces), rather than other people (capitalists), what can you do about it? Are you gonna argue with the God of invisible hand?
Fly under sport pilot privileges. All you need is a drivers license.

Reach out to West Desert Aviators in Utah. Several young people in tech fly there. If you can find LSA to fly, light sport isn’t as restrictive of a license as it’s made out to be and you don’t have to live in fear of the FAA yanking your medical
Gary Bernhardt is a fantastic speaker and presenter. I also highly recommend his Destroy All Software screencasts[1], for those who enjoyed this talk.

[1]: https://www.destroyallsoftware.com/screencasts
I wonder, are wise men uncles rather than dads because they were too smart to have kids?
Gosh I remember being at this talk. And I remember being in the green room at a subsequent Pycon as a speaker and seeing Gary preparing for another talk. He is legendary. I wish I had the fortitude to interrupt him and introduce myself. Or not. I kinda just left him to his own because interrupting people is rude.

If you’re reading this, hi Gary! You’re cool. This talk was awesome. You did a great job.
What’s the reason though for Vitess? Postgres supports tables up to 32TB but hopefully you’re splitting them up using declarative partitioning in one or more ways before that. If you have tables that are smaller than a TB and a large memory DB (>1 TB RAM) Postgres should run ok right? I’d also imagine you’re splitting up your database into multiple databases and multiple instances (the writers) well before that as well right?
i was going to say that the tolkein estate is probably going to go medieval on this.

but maybe not - i remember the "gandalf box" back when i got started in computing in 1979:

https://en.wikipedia.org/wiki/Gandalf_Technologies
The 41C came out about 10 years before the 42S. Each would have their fans. The 42S doesn't have the hardware expand-ability but is generally faster and a bit more refined. If I wanted a nice handheld calculator today, I'd prefer the HP-42S or the Swiss Micro version. However, Swiss Micros have a 41C clone as well, if you prefer that.
Also, just saw this and had to share the proof.

https://www.reddit.com/r/LocalLLaMA/comments/13c6ukt/the_cre...

Grab the popcorn. This shit is just getting started.
Hmmm... Perhaps that could be one component, but I don't know if proof of work in the typical way would be required? As in 'guessing' a hash (I don't know much about that area so I could be wrong here)., I don't think would be needed - but perhaps the proof of work could simply be 'calculate the output that you want to make anyway' - such as the weights of a neural network, a read only database to do complex queries on, an operating system compilation with specific configuration, a dataset of estimates of some physical science data using a particular algorithm, etc.

So instead of using CPU cycles to do finance/currency things (or whatever is done in that arena), this would calculate whatever data you actually want directly.

In some cases it could be a ton of calculation (estimating electron density functional, or training NN weights) to receive a small file (DFT functionals are quite small). Or it could be some calculation for a large amount of data (ETL for big we scraped data).

One important aspect which is similar to the currency/Blockchain realm is that the commits would specify the data state, so the data would likely be mostly read-only for people, but if they change it, it would simply branch off to a different hash pair.
But the labour market is artificially constrained by government policy relative to immigration.

If you already have full occupation and you cannot import workers you will have shortages no matter how much you get paid, people will not get a 5y degree in one month no matter how much you pay.
I would love to do something like that, but I wouldn’t do it for a 70% paycut like I’d get as a founding engineer, unless I had founder-level equity.

I’m actually considering bootstrapping but in this day and age, it’s a hard prospect. You’re getting out advertised by everybody and many domains (AI, SAAS) have high inherent costs. It only works if you put in a lot of your own money, and are OK with a slow ramp to ramen profitability (within a domain where such a domain exists; forget about ML or nontrivial SAAS).

The whole “get some pizzas and hack” I am pretty sure is still how many profitable startups are getting created up to the MVP stage, just not necessarily the “three randoms and an accepted YC application” startups.
I think HN users are over indexing on capabilities to solve complex problems, I was looking for something simple like "why diane feinstein is in capitol today", bard knew the answer whereas chatgpt doesnt answer the question. another example was "why is jaime foxx in hospital", i think these are the question that people usually have where bard is much better equipped at.
https://www.amazon.com/Nuwave-Induction-Controls-Wattages-Au...
This is an interesting angle. I don't know how I feel about it in net, but I definitely agree that there's been huge brain-drain to the very big. It's been enormously hard to make new things happen when the old titans pay so damned much.

I guess I'd still hoped there was lots of smaller stuff happening but I'm tending to think you're right that there's a new net scarcity of computing efforts. And many of the efforts we do see are all business to business, as that tends to be an easier way of making money, but it again rarely contributes to the greater computing pool, doesn't meaningfully change most people's relation with technology.
The distinction between "God will destroy the US" and "my interpretation of my religious group must destroy the US" is not an appreciable one from the US government's perspective, particularly when you consider that religious people tend to justify their actions in the name of their god.
> It's the throughput compared to humans that is the true differentiator. If hooking up the API in a loop up ends up costing more than a human, then it's not worth it.

If its better in another dimension (e.g., calendar elapsed time), it may well be worth being more expensive.
That is a good point.

I guess I was so discouraged because I wanted to become a professional helicopter pilot, for which I needed a first-class medical.
There are various reasons to not seek or avoid eye contact, and somehow I'd bet that "not knowing/never having heard about eye contact" is not the most probable one on average.

In fact, for many of the top reasons, "you should make eye contact" is probably completely useless advice at best.
Pictured in the post but not listed as a recommendation is an Analog Discovery Pro. It's a headless oscilloscope/power supply/logic analyzer/SMU/more.
I worked on a hay farm for several years before going back to school and majoring in psychology and then abandoning that and becoming a software engineer. Never found my passion. I don't give it a shit about any of the work I do. But anything is better than working on a hay farm.
Hmm, I didn’t see “designing a mediocre printer” in there
Many ADHDer communities discuss meditation "vacations". Often say on weekends, or perhaps during a vacation, etc.
I used to love TE stuff, but with their latest products it’s no longer good design, it’s just plain parody. Even ignoring the price, which is always a part of the design, the controls are impractical (I would even say borderline comic) and just beg to get misused or broken. After which what, you throw the whole thing away?

Indeed “there are thoughts, ideas and fragments that - for the sake of humanity - we need to record and be able to return to as a reference”, but as a journalist I would sure as hell not use this device to record them, going instead for my trusty iPhone Voice Memos app backed up by an old-school $50 voice recorder running on AAA batteries.

It’s a bit sad, because I would love to indulge on seriously designed high-end recorder. But that’s not what this is.
Merged hither. Thanks!
Still rocking my Pixel 5 from 2020, so coming on almost 3 years now, and still running like a champ. I do keep my app usage low, and tend to only install native Kotlin/Java-based apps from F-Droid. Hoping this guy can last me past 2025.
when only one company is actively really pushing forwards.

To be clear, they're only doing that to further their monopoly, so the more everyone else refuses to be pulled along like dogs on a leash --- especially when creating sites --- the more actual browser diversity we can have, independent implementations that don't have to continue trying to trendchase an idiotic "living standard".

Related: https://news.ycombinator.com/item?id=9961613
Government seeks to tax Netflix income in India
You can likely get the SQL for a meta command, and you could run the SQL from your preferred client if you don’t use psql. Here is one example: https://dba.stackexchange.com/a/131031

I also highly recommend investing in psql skills though if you are a Postgres user.
The Analog Discovery Pro on the middle shelf is a USB/Ethernet Osciliscope/Logic Analyzer/more.
I’m not trying to insinuate that coming clean would have absolved him, but I do wonder what it would have looked like if he admitted to investigators that he crashed the plane on purpose.
Swappa looks interesting. I used to use Glyde some years ago which looks like the same concept. Then one day Glyde was gone. I bought and sold a bunch of tech stuff on there.
What’s better is “Mostly harmless”
Gotta love .gov websites commitment to only show us UTC. In normal human time that's 4:19:41 pm PDT
They still don't manage to sell their devices world-wide. Even in Europe. Clicking on the above link I see only their useless nest devices.
Old man yells at cloud. “Back in my day likes were called ums and ahs!”
Everything you wrote contradicts history and reality in general.
Another option is to watch Doordarshan - Indian national news. https://www.youtube.com/@DDIndia
Find the SQL from meta commands. Example: https://dba.stackexchange.com/a/131031
Hack Etymology
Fuck that and the rest of the e-waste-generating degenerate corporate-authoritarian brainless drones.
Many ultra-religious groups, that survive and thrive long term, know to build 'pressure valves' that allow discontents to peacefully leave.

The Amish have a rumspringa that gives every youth a chance to see the outside world, and choose to come back or not. I think about 10% don't come back, and that statistic has been stable for a long time.

The ultra-religious don't tend to accumulate much economic power, regardless of population size. So the constant waves of secular defects, despite being minority, could continue to heavily affect political and technical decision making, moderating religious influences.

Now, there are also other ultra-religious groups, like the Haredim, who like to
1. Receive government benefits.
2. Reject military service
3. Grab political power
These groups will heavily destabilize their host nation, as they have already done to Israel. An Israel dominated by the Haredim, who don't fight, and don't pay much in taxes, and where all the secular have fleed. Will probably quickly get defeated by its neighbours, and start the exile all over again.
India is blocking a bunch of the IPs.

Here's a new acronym for us: "Problem Exists Between User And Internet; PEBUI.

This is definitely the next 5 years+ of computing. More and more nations making more and more wild ass decisions about the internet & users ending up disconnected. PEBUI.
There might be a lot of good advice in there, but the tone is insufferable.

As far as etiquette is concerned: In my experience, it's equal parts (often ritualized) consideration for others and signalling group membership/social status. I'm all for the former, as long as it's not coating an effort to perpetuate the latter.

That said, good advice will always stand on its own – if it can reach its audience.
I have a feeling some of that may be different in the UK vs the US, but you can rarely buy anything but the base models here too.
C Code from Ghost in the Shell Movie
I'm impressed. Shameless plug to your plug: you may want to join the Handmade [0] community or attend our conferences [1]. You'd fit right in with us!

[0] https://handmade.network

[1] https://handmadecities.com
Taiwan expects their engineers to work 60+ hour weeks.

Of course they are running short. This is practically slave labor.

TSMC will demand unbelievable things of a Ph.D. I cannot understand why there are any employees at all, but for love of the subject.

Read this. Read the whole thing. This is unbelievable. Maybe it is an artifact of China; I don't know.

"We all take two years to develop one generation, how come you guys can do it in one or one-and-a-half year?" And they asked if some of your customer transfer technology to you or what not? And I told him, "No," I told him that, "That's not true." I think he probably implied we steal technology from customer, the way he talk.

And I say, "I'll tell you why." I said that, "When we develop one node, basically you have some learning cycles. First, you do some simulation. And you have some idea, then you run wafers to prove that. So, you run a group of wafers according to simulation and you have some splits. The wafer runs through the fab, they come out and you measure them, you analyze them, and you try to improve and you run this again. This again, you run. So, this is learning cycle." At that time, "It takes about six learning cycle, roughly, to complete one generation." Of course, you had some short loops and not just one. I said that, "My R&D wafer in the fab run much faster than yours, because my R&D engineer works three shifts and you only work one shift. So, your R&D wafer move eight hours a day, my work/move 24-hours a day. So, my wafers go three times faster, even if you are twice smarter than me, I still beat you up." <laughter>

https://www.computerhistory.org/collections/catalog/10279267...
I keep my ipad pro 2018 12.9" in a logitech slim folio that gives me the same standing position and all I need to do is plug in a usb-c to the ipad. The audio on the ipad pro is great, no need for another speaker in a dock. And along with a mouse it makes it an almost functional microsoft office experience, and folds down for drawing in procreate.

The case just looks nicer. the keyboard case is more functional for me.

https://www.logitech.com/en-ca/products/ipad-keyboards/slim-...
Are charging docks not a way to avoid EU regulations around standardizing/unbundling charging cables?
I would love for you to present some counterexamples.
Truly beautiful design, but you can also pick up vintage gear for cheap at a thrift store or garage sale, would be close enough.
They do make induction stoves for woks, if you wanted to use woks in a commercial kitchen you would get a specialty stove much like specialty gas stoves are used for them now.
Lab grown meat is worse for the environment than real meat
Is there any PDFs of that type system? I tried to dig some up but I found only some post script files about polar type inference
If you believe something different from most Christians, at what point does that stop being a “Christian” belief? I think any arbitrary belief could be labeled “Christian” via this logic?
There is such thing as "local-looking" in Go. That's the point -- the compiler and runtime make the decisions as needed and the programmer doesn't care.

(Obviously there are some consequences to this, wherein you may find yourself with heap-based allocation in hot paths that you didn't expect. But in terms of productivity, I think that not caring and having no distinction certainly reduces one thing that the programmer has to think about.)

I think there would be analogous design decisions that remove various low-level concepts in many languages. For example, Python ints are arbitrary precision, which removes a whole set of concerns from the programmer. Rather than being "weird", I think this is just optimizing for a particular kind of programmer productivity.
Each of the bullets you listed have very straightforward and memorable meta commands that I use on a regular basis with psql. It may be worth learning them just for when you use Postgres. There is also a built in help. These can also be saved into your dot files so you don’t need to memorize them. Happy to show you if you’re interested!
I have handled far more complex cases than this using desktop based GUI apps in a client-server model before the word AJAX etc was even invented. Example: dependent dropdowns or even tables with row-selection leading to more detailed views. The ability to display multiple views for the same data type at the same point - example: displaying orders from multiple clients simultaneously in two different sub-screens at the same time.

Also, MVC as a concept has existed for decades. GUI controls have always had a concept of a "onChange" events and when it came to the code which fetches changes from the server, there were multiple ways of handling that - from using polling, to using message queues to using db triggers, from using plain socket calls etc.

And also very sophisticated applications with literally 100s of screens - example: plane/hotel ticketing apps, stock trading applications, ERP/MRP software etc, have all existed for decades.