skysight-inc/HackerNews huggingface dataset:
Show HN: TinyClock – a tiny true 5-arch universal Mac OS X single-binary GUI app
1. Single universal binary, that can be natively executed on every hardware platform Mac OS X was made for (32/64 bit, PowerPC/x86/AppleSilicon).

2. Minimalistic gadget-style design. If launched as a tool, there is no menubar, no dock icon, no nothing, just the clock window.

3. Support for hidpi and dark mode for environments, that have them.

4. Window title bar for moving the window with a mouse, and a handle to resize it (latter for OS versions, that have it).

5. Can be easily ported to GNUStep and thus other OSes (sources under GPLv3).

6. Simple Makefile build system.
Try installing grpcio-tools on Darwin/arm64 with Python 3.10. More often than not I run into problems where low level headers required by some cryptography libraries cannot be found and as a result compilation fails.
Check out Metafilter, perhaps?
Also from Wikipedia:

> The Shah's regime was seen as an oppressive, brutal,[34][35] corrupt, and lavish regime by some of the society's classes at that time.[34][36] It also suffered from some basic functional failures that brought economic bottlenecks, shortages, and inflation.[37] The Shah was perceived by many as beholden to—if not a puppet of—a non-Muslim Western power (i.e., the United States)[38][39] whose culture was affecting that of Iran.

https://en.wikipedia.org/wiki/Iranian_Revolution
Because the tax code is too complicated.
Speaking of godfathers that don't allow independence Iran controls militias in Lebanon, Iraq, Syria, Yemen and the Gaza Strip, and has an history of terror attacks in Argentina, Bulgaria, and Turkey

Lebanon in particular has to be subservient to the funders of Hezbollah or else. Just some months ago a couple of terror attacks were thwarted at the last moment against Israelis in Istanbul, Yemen is a mess in the middle of a civil war thanks to their meddling.

But of course if they were the hegemon everything would be peaceful. That's what they claim..
history of MEK in Albania is wild

https://twitter.com/govhowarddean/status/979381177512587264
https://www.nytimes.com/2018/05/07/world/middleeast/john-bol...
https://www.nytimes.com/2020/02/16/world/europe/iran-mek-alb...
https://www.bbc.com/news/stories-50339928
In a 2 party state the user would be the one breaking the law. They installed the software...

If you install recording software, you're liable for what it records. Bug or not bug, the liablity is yours. The only way you would get Otter.ai in a courtroom would be a civil case and then the not being a paying customer therefore no expectations of a warranty applies.

Seriously, this thread is "I installed recording software and it worked on things I didn't think it would. This company is terrible." while most of us work in tech and know that bugs exist and have generally written some bugs. Worse case, it's a bug. The solution is to stop using it and move on. Or pay for support and have them fix it.
No, it's not a surprising story, but I don't think that is why he passed on the $16k. Rather I think that he was done being payed to suppress his conscience. And $16k to give up the freedom to discuss your life doesn't sound like a good deal to me (especially if you are not hurting for cash).
I think that a better analogy would be a big tank of acetylene connected to a complicated chemical reactor.

Propane does not concern me. A big tank of acetylene would be of concern to insurance companies, the fire brigade and the local safety agency.
A lot of complexity is unnecessary, that is what zig tries to avoid

Zig is still pretty feature rich (for instance, full generics support) but remains small and simple
Knowledge workers have to manage so much of their own workflow that they should be treated like managers. Developers starting their careers should be trained on how to manage their own work.

I have worked in an automotive assembly plant, I have read about the rise of scientific management and later the Toyota Production System. In a physical system, you have to respect the production environment and the product. If there is an oil leak or fire hazard you must address that if you want to continue producing.

In knowledge work, the factory is inside someone's mind. They have to be ready, willing, and able to manage their own mind. They have to bring that to the job. It is also imperative that management methods do not damage that production environment. Fear, shame, frustration, and anxiety can all shut down that factory. Some of those emotions can be used to force production, but that is like running a motor over it's torque and power spec - you can do it for a while but you're damaging components that you can't see and it will have to be replaced or rebuilt before it's stated service life. Also we're talking about humans not machines. Humans can choose to leave.
The software world evolves much faster than any of the engineering disciplines and has fewer physical constraints. The requirements for software are rarely fully specified when construction starts. Software is faster to build, deploy and fix so getting it right the first time is not as important. The environment in which it is deployed changes rapidly and in entirely unexpected ways, which is not the case for things built by engineers. There are plenty of differences. In practice, software is more like a craft than an engineering discipline.
You could have made the same argument against solar panels 15 years ago.

This is a pioneering product for early adopters - expect prices to go down significantly with economics of scale. And further research in this area is far from exausted.
SEEKING WORK | Nur-Sultan, Kazakhstan | REMOTE

Technologies: Python (Django, Django REST, Flask), Rust, JavaScript/TypeScript, React.js
Résumé/CV: https://kirusfg.com/
Email: kirusfg [at] gmail [dot] com

A junior software engineer looking for an opportunity to grow professionally (or to exchange his time for money and do some rudimentary work). Most experienced with Rust, Python, JS/TS, have built a number of both monolithic and SOA-based Web applications. Open to any offers except for crypto/blockchain, trading, sports.
IIRC, the US Coast Guard cannot provide gas to stranded boats that simply ran out of fuel because they were sued by companies that provide that service.
Do Infinities Exist in Nature? (2013)
I’ve also worked for big tech companies. On one of my teams, all those docs are written by college hires as a “learning opportunity” and they’re surface level only. Outside of medical or financial systems, I’m guessing most of those docs aren’t worth their weight in bytes.

Here is one conversation I’ve heard:
“We stream our logs [full of PII] to a central repo. Do we need to include that in our docs?”

“No. It’s just logging. It’s a standardized tool we use. It’s probably assumed. Just include the database and known clients.”.
but no other nation on earth makes its citizens go through this annual horror show...and just as a coinky dink, turbotax gives generous donations to politicians...odd case...
Hello Breck,

You should additional TCGA Mutational Datasets and generative heatmaps/statistitics on different types of cancer. Explore COSMIC/ACHILLES Datasets for different TCGA cancer subtypes.
I'm fairly certain current global warming concerns are not caused by heat generation but by heat retention. And we do generate a lot of heat via fossil fuels.

So generating additional heat (adding heat to the system) is not a current or future concern as long as heat retention stops growing
Not really. One is kinda a fractal and one is kinda a converging geometrical series I believe?
I mean, zig manages full generics while still being simple
I think a lot of similar-ish communities happen on subreddits. I would venture to say that most other fields don't have either (1) the inclination and ability to run and moderate an independent site or (2) the sheer stubbornness to "not be Reddit" that I see on here.

Forums are also still a thing, and many have thriving close-knit and heavily-moderated communities for people of a common field or interest.
REPLs also make it much easier for kids to learn how to code. That's part of the reason why BASIC and Logo were so popular in the 1980s.

A couple of modern Logo interpreters with REPLs are:
https://lynxcoding.org
https://turtlespaces.org
Cackling maniacally, foaming at the mouth, thrashing against the restraints as though welcoming broken flesh, screaming in profane mirth -

"HOW CAN FOSSILS DIE IF THEY'RE ALREADY SKELETONS"
Eslint has `// eslint-disable-next-line no-unused-variables`, it is very useful.

I'd prefer `eslint-expect-error-next-line` instead to warm me when the comment is actually useless but it's better than what Zig seem to do.
Where I live, there just aren't enough spots in psychologist training programs. There are 8 spots for clinical psychology grad programs where I graduated from with 1200-1300 psych undergrads. Psych enrollment increased by 20% in the last 5 years and the clinical psych program's training capacity stayed flat. Of those 8 spots, between 1 and 6 spots are filled by people from outside of the province including international students.

(I'm oversimplifying a little. There are 6 accredited programs, but there are 10 undergrad universities that produce psych majors, so the numbers probably look worse overall.)

You're right that the goal is to become a qualified psychologist, but the training pipeline doesn't match that goal. Crudely, there are training spots for less than 1% of psych undergrads (maybe 2% if you include research psychologists). There are alternative programs for counseling, but it's not the same license. The cost of these counseling programs is also astronomical for Canada. I know people who went that route and have $150k loans to pay back. If you're competitive enough to get into one of the clinical programs, they are funded (with students given stipends ranging from $30-$40k/year), but even if they aren't tuition is under $7k/year.
The people have no direct voice at the federal level, or choosing members of the fed, so now we are talking about representative democracy, as you mentioned.

In a representative democracy the voters are supposed to choose the representatives, but there is a lot of gerrymandering in the U.S. where instead representatives get to chose the voters in their districts. Also those with the most money tend to win elections, like +95% percent of the time, making it look like lobbyist and the rich elect representatives, not voters. Most other western countries countries call that bribery, and make it illegal.

It should be recognized that the current laws around gerrymandering and campaign finance mean that we may not really have democracy or representative democracy in any true sense of the word. Some would go so far as to say we have a two party oligarchy.
That's exactly right. When I tried it, the Language Reference was great, and the stdlib documentation was a UX-challenged semi-broken webapp.
the article seems to be written with the assumption that WWW and browsers are the internet, and that is not at all the case.

im torn between -should we tell everybody how to use the internet, or should we keep that to ourselves, and let the majority believe the web is the internet rather than a protocol specific function of the internet.
This sounds like a generalization to me.

During my time writing software professionally I've had good, bad, and neutral managers.

I've found most of my good managers at companies that produce software as a product. These managers were technically trained and rose to their management roles through working as engineers at other companies. In two cases these managers were actually the CTO.

Most of my bad managers have been at companies that rely on software to facilitate their business, but do not consider software to be their business. These managers knew little about software and our teams were usually bloated by non-technical roles and often unproductive. Every idea ultimately had to be passed through engineers for validation / refinement and engineering became a very constrained resource.

Neutral management is where I would place most of my managers. They don't really aid in or detract from my productivity. They're there and doing things (even if those things are not always visible to me). They demonstrate enough value to dispell the feelings of: "If you weren't here then we could hire another engineer to actually work on this problem".

That said, you are 100% correct that if I didn't think about these things at all then I'd be much happier. After all, happiness is reality minus expectation.
When governments harmonize taxes that's when recessions happen because then they fuck you over and there's no escape
I agree that array initialization syntax is weird a.f., but the other two points are very deliberate. I feel like you're implying they're legacy cruft.
That's definitely senior-level work
You’d have plenty of time to work through the list though.
This lint doesn't help with these situations, but other rules around values belonging to error unions would prevent you from porting this golang code to Zig.
> also test for an emotional response

depends on your definition of "test". i've yet to meet a trained interviewer, myself included. i've been doing this for ages, and in my own mind i do think i am better than average at interviews and assessments. (without a useful rubric to judge against, take that with a grain of salt.)

if i am to judge by only "vocal minority", ie negative feedback, services like triplebyte and Karat are the same. the interviewers are poorly trained. i would never do that kind of interview so i don't have firsthand knowledge in those cases.

emotional response to a problem beyond your capability (kobyashi maru) isn't what the interviewer is going for. i agree, there is a component. that isn't the same as actually evaluating soft skills.

to bring it back home, i remain unenlightened how my first comment demonstrates a failure of soft skills! thank you for the discussion.
Banks hand out VP positions like candy. Executive Director and/or Managing Director are more inline with tech industry VP/SVP positions.
I use Wikipedia for navigation mostly. To take anything at face value is not a good idea, even if most of it were "probably true" / true-ish.
I second this question as well.
> First, if you're running it on an 8-core server, that's $16k per year, which is about what many companies are paying for an enterprise support contract.

Which is exactly why this is so unreasonable. The minimum spend for the "standard" license is 40 cores -- which means you're paying at least $80k/yr for a support contract which won't even assign you an account manager or guarantee a response any faster than "4 business days" (yes, really). And as you scale up, it only gets more expensive, and you don't get anything more for your money.
Hydrogen Embrittlement
Hydrogen embrittlement (HE), also known as hydrogen-assisted cracking or hydrogen-induced cracking (HIC), is a reduction in the ductility of a metal due to absorbed hydrogen.
Sales taxes are regressive, and the current US tax system is deliberately progressive, in order to reflect our understanding of the marginal value of income.
Zig seems to behave similarly. This compiles:

export fn x() i32 {
var a: i32 = 1; // okay
a = 2;
return a;
}

This does not:

export fn x() i32 {
var a: i32 = 1; // unused variable
var a2: i32 = 2;
return a2;
}

> Not that this lint actually achieves that, or even prevents real errors.

I have to agree. If there's one thing I've learned over the years, it's that you can't prevent bad code by enforcing lint errors.
I’m not saying that Iran is beyond criticism, it certainly deserves quite a bit, but as an American, yes, we do need to have nuanced and sophisticated discussions about this topic.

Sorry to rain on your jingoism parade.
I remember my grandmother's house in the 1980s still used "old British standard" (BS 546) plugs and sockets: https://www.plugsocketmuseum.nl/OldBritish1.html (15A ones I think)
I think a large part of the population fits in the above bucket and the processes for handling the above issues could be simplified. Perhaps those looking to itemize could complicate their yearly tax calculations or hire a CPA, but the rest of the population would be well served by having an automated process (whose numbers are already in place as is)
BUT the request to postpone the trial is DENIED. Case will proceed on original schedule. I think that's not a win for Musk.

The second ruling is in: Motion Denied! For Musk's request to reargue the reargument. And a note of censure from the chancellor. https://www.documentcloud.org/documents/22276120-decision-de...

It looks good for Musk owning twitter. He's annoyed the chancellor multiple times, and probably lost her respect. And now he has to pivot his case to Mudge, while sticking to the original, already very tight court schedule. It's going to be rough on $TSLA if he still has to sell $30B into this economy.
Language is the first layer; it should be as simple as possible.

Libraries then framework are the other layers, built on top of the language.

A language designer is unlikely to understand all the needs of the language users, trying to solve complex problems at the language level can seem neat and powerful for the exact use case it was intended, and also unnecessary/cumbersome/too general or not general enough for many more use cases.
Going back there and killing Hitler? Duh...
// Arrays may contain a sentinel value at the end, here array.len == 4 and array[4] == 0.
const array = [_:0]u8 {1, 2, 3, 4};

Small typo. Len should be 5, I believe.
Top comment there is:

> The experience taught me a lot about business and business leadership. Many times I’d ask myself “what would McKinsey or BCG do here?” Then I’d go do the exact opposite. That’s proven a good course of action at many critical junctures.

While this agrees with my personal impression “in bulk” it’s worth noting that there are exceptions. McKinsey is currently focusing heavily on hiring actually accomplished top engineers from production environment…specifically targeting those with 6-10 YOE who may have hired into a “lesser” company during a recession or market downturn than they should have qualified for their graduation year of college. They’re hiring engineers who have had outsized / personally unexpected (by the engineer) success with changes to processes or best engineering practices that ended up being rolled out to wide swaths of their company, or globally across the org.

They are also specifically looking among those effective engineers for who can also speak competently with many layers of an org - not just the business people but also lend help and expertise on the technical side and gain trust through competence.

The experienced engineers I know that they’ve picked up are among the best industrial / process / manufacturing engineers that I’ve ever known and are insanely technically competent.

But I also think these are hired into relatively small, niche groups and offices. The bulk of the consultant pool are still fresh MBAs, maybe with limited but glamorous resume fillers.
The FairTax proposal improved on this by providing a rebate to everyone to cover tax for essentials. It also removed taxation on businesses which would likely cause prices to come down. There were many benefits and their research showed that overall tax burden would actually be less for the lower & middle class and higher for upper class (which avoids income tax anyways). Unfortunately it was too radical I believe, there's no way the U.S. would make that big of a leap.

It might still be slightly regressive, but that's not such a bad thing when overall tax burden would be reduced.
Knee-jerk reaction to the internal Java that everyone has in their brain.
Why Does a Librarian Own a Social Media Site That’s Older Than Facebook?
Doesn't matter if the heat is coming from burning more fossils or nuclear fuels or intercepting more solar light - the effect on Earth's temeperature is negligible for now. You can do simple heat balance with Stefan Boltzman Law to show that the temperature of the Earth would increase by less than a tenth of a degree even if we burned 10x more fossil or nuclear fuels. The idea is that all the energy received and and generated on Earth must be reraridated at the Earth's blackbody temperature, and it only changes as the power to the 1/4th - so very small compared to the absolute temperature of the Earth ~300K, and the changes (e.g. seasons).
> > with complete user control.

> Not even close. I have to install and use several addons in order to muster a somewhat reasonable amount of control. And even then, the control I have is far from "complete".

You have per-site authorization for each different feature, and those can be one-time, ongoing, one prompt per day, etc. Now, yes, I'm sure you can come up with some policy like “I want to only allow camera access when I'm holding down the left meta key” but it's important to remember that the alternative is people downloading and running native code. Do you really think that's going to be _better_ than a modern browser?

> Modern web browsers are inherently problematic because of the combination of presenting powerful abilities to websites, and that it's impossible to know if a website is using those abilities responsibly (and most -- especially large commercial websites -- aren't, as near as I can tell).

The browsers fully disclose when something is being used. You can't tell what they do with the data but that would be the case in any alternative model and I trust the browser UI a lot more than a prompt which that company implemented in their own app.
Finally, something that I can speak to!

I once ported Quake 1 to the Rockbox operating system for MP3 players, which enabled it to run on the Apple iPod: https://www.youtube.com/watch?v=r6V-4AZ7pkA

The whole world of software ports basically boils down to "anything is possible, given enough memory, pixels, and time". The actual process of porting anything is sometimes incredibly tedious (e.g. "scour the entire source code for unaligned memory accesses, and manually rewrite all of them"), but also gives a chance to do some very clever things (like, "use the piezo speaker to beep out the address of a fault, because nothing else works on the device after a crash").

What made me do it was 1) the satisfaction I got from seeing my work produce something which, at first glance, shouldn't exist (Quake... on an MP3 player?), all while 2) learning deeply about software close to the bare metal, which is fairly hard to do early in one's career. There's of course also the factor of having lots of free time - I did my port when I was still a student with not very many responsibilities, so I could afford to spend entire evenings and weekends poring through mountains of C code. Nowadays, not so much...
Apple Watch Ultra
Well, first off this energy would be initially replacing energy that was previously coming from fossil fuels, so on account of that not much.

But, as Stross points out there is a 70% loss in transmission, and presumably most of that ends up as heat in the atmosphere. Now as to the question of how significant is the waste heat from that energy? I once did a ball-park calculation in which I determined that something like 4% of global heating comes not from greenhouse effect but from waste heat[1]. If that's right, then if we replace all of our energy usage with space-based solar of which only 1/3 makes it to earth and the rest is turned to waste heat we'd be be down to about 12% of current (combined green-house and waste heat) global heating. That's seems like a huge win, and we'd have enough energy to spare to start extracting CO2 from the atmosphere until we even compensate for that.

[1] I can't find my calculations right now, and I'd love for someone to independently check that.