skysight-inc/HackerNews huggingface dataset:
Authomize Discovers PassBleed Password Stealing and Impersonation Risks in Okta
One-line functions are also nice when a comment would've been warranted otherwise. But yes, easy to go overboard with it.
From: https://news.ycombinator.com/item?id=32967628
A better analogy would be a fake construction worker lying about a street being closed and a bunch of people (the press) spreading the lie to the whole town without checking if it is any true.

The fake construction worker has to go, but that's only half the problem.
I was very excited when I learned about it until I realised that it doesn't work very well with a magsafe wallet.
They haven't; you have.
Real chocolate has like 50% magnesium

the stuff that's sold as chocolate is like 50/50 sugar/fat

Eating a piece of real chocolate in the morning helps curb cravings throughout the day though, at least for me.
I did try this before, just instead of 'new' I used 'make'. I'll consider this again! Thanks! :)
So are we intelligence or just a pattern recognition system on steroids?
You are correct. I was speaking of the exhaust which is oxidised (that is, after all why you burn the fuel). If you wanted to do CCS on a jet the H2O can be vented, but the CO2 (which you have to carry to your destination) weighs 44/12 times the carbon in the fuel (which is a large portion of the fuel mass -- abput 3/4ths iirc).
Link to a demo?
Skip React/Vue/Svelte/next week's JS framework and client-side render your app directly in PHP, genius. /s
I really LOVE how rust approaches this: provide as much help as possible in the compiler error messages. Not sure if they were inspired by elm that does this too, but it means you do a lot less context switching between your program and “the manual”/stackoverflow/whatever else.
Are you talking about non-Pro MS Surface 3? Interestingly enough on my non-Pro Surface 3 I had no problem installing Ubuntu, Mint and Pop!_OS. With the first two I couldn't make wifi to work after sleep, but with Pop!_OS it worked perfectly.
Oh yeah, great point you're making there. This type of thing never happens anywhere else.
Build a simple and functional landing page for your business using Notion. Notion Landing Page Template lets you build, test and validate your idea. It is also cost-effective with ZERO learning curve!
Cloud services and hyperscale data centers are arguably modern mainframe-class systems. If you look at them from the perspective of the provider, they have a lot of mainframe type features that distinguish them from micros or supercomputers.

In the 70s, VM/CMS dominated the time-sharing landscape, and everything old is new again.
I'd thought they'd have gone with blaming COVID and Putin for Brexit blowing up in their faces but looks like they are doubling down on it.

This is the danger of being ruled by a foreign oligarchy. They have no good incentives to maintain your country as a place to live.

This is what the resource curse looks like if your main resource is laundering money.
You should blame that on your asp.net runtime though, not on the processor.
This is a meaningless phrase and it does not translate to anything meaningful in Russian. They should have done proper research before wasting time on this nonsense.
All these things can be happening at the same time.
Every time I hear someone advocating for mainframes, they always praise them and make them appear as something like a computing behemoth, that, while expensive outperforms any commoditiy hardware at the tasks it's good at, wether it's in performance or reliability.

But there's never any real world use case. It's always just "If you're running a mainframe, you don't care about money". No performance benchmarks, no architecture comparisons. You get shown an architecture diagram of a mainframe, next to one of say, a cloud system and you get asked "See??", like the conclusion is obvious.

> Instead, we got lowest-common-denominator systems. Not what was best, merely what was cheapest, easiest, and just barely good enough – the “minimum viable product” that an industry of shysters and con-men think is a good thing.

How is this _not_ a good thing??

>But mainframes aren’t. They cost a lot, and rental and licensing costs a lot, and running them costs a lot… everything costs a lot. Meaning you don’t use them if you care about costs that much. You have other reasons. What those are doesn’t matter so much.

...which is exactly my point! Yeah it makes sense that there is a separate ecosystem for mainframes! Because from the outside and these kind of arguments it looks like IBM has been siphoning off some great marketing in the 80s and 90s and _really_ ignorant managers in charge of purchasing at large banks and the US gov.

On an unrelated note, I kinda made the experience that people that like mainframes usually have some weird obsession with high level computing architectures. Is there maybe a correlation?
Commenting on Preview Deployments via Vercel
Wait what? "lignin underutilised", (used)"only in low-value applications"? If by low value applications they mean individual house heating then perhaps. Could those factories that make wood products and currently dispose of their waste wood(sawdust etc) by selling it to pellet makers make much more by selling it for aviation fuel? I seriously doubt it.

The most recently I bought wood pellets I paid about ~$30/GJ aviation fuel(jet a) now appears to be around ~$56/GJ. It is more, but not orders of magnitude more. Add to this the cost of chemicals, reactors, disposal of byproducts and I doubt this new use will provide more profit.
Do the constraints our brains work under disquallify us from having general intelligence?
> which involve no skill or decision-making or social engineering or anything that a reasonable human might associate with the word "fun"

What's wrong with playing games that aren't mentally exhausting? It's about having fun, not about trying to be good at having fun.
It's impressive what some people can do in more complex games like Factorio but for me that niche is filled with coding. Can be fun as well and in a different, more fulfilling way, but it needs attention and energy.
Excellent advice, but in this case the libertarian anti-regulation think tanks are right: CARB compliant gasoline containers are a great example of how good intentions can have negative effects when decision makers are divorced from reality.
Douglas Engelbart Invented the Future
CO2 is just the basic evil everyone talks about. Water is a lot more evil (much broader range of wave lengths of light absorbed than the comparatively tiny range of CO2), if it is in the air.

Water changes it behavior depending on the relative amount in the air. A sufficiently high amount will act on visible light (contrails, clouds, fog, ...), but even in its "transparent" form it messes with wave lengths outside of the visible range.

Contrails are created by local changes of temperature at the wing tips (turning the invisible water into visible, temporarily) and by adding water as part of the exhaust. Burning CxHy leaves some H2O, visible or not.

I would have guessed that the visible form is contributing more to cooling than the (probably more common) invisble form. Possibly a matter of when they turn invisible, which might be more likely in the morning than at night (those produced during one day staying visible during the night helping with heating but vanishing next day, not helping with cooling).

Modelling water properly is quite surely complicated, with bigger effects than CO2. Not only for contrails.
Security Concerns Surrounding WebAuthn: Don't Implement Ecdaa (Yet) (2018)
NASA to test first planetary defense method
What a horrible scrolling UI. I never knew that Unix was powering IBM and HP mainframes in the 70s or that Minix had a liberal license in 1991...
And who is this "Ken Thomas" in the picture? :)

Overall, this seems to be a well-researched article. Not.
It’s funny because what I found confusing initially reading the code is the behaviour of split and I still do after the article. I know see that this is because the article uses a magic value and magic values are the bane of readability.

See, the first split use made me think it always returned the left and right part after splitting at the first match - 0 being left and 1 right. This is not the case. The code implicitly relies on this being a url.

But then the second split is accessed with the weird [-3:] which I have to assume to mean the last 3 elements. I assumed then that split must return a list but started wondering: why 3 elements only? I still don’t know. I wasn’t helped by the single letter named variables either.

I think people might want to focus on the basics before venturing into grand consideration about splitting lines and putting code in function. The one liner with proper names is too long but understandable:

last_three_url_param_values = lambda(query_string: query_string.split(‘=‘)[1], url.split(‘?’)[1].split(‘&’)[-3:])
No, I didn't think of that yet. But yes I can see the benefit. The thing is that Mock's endpoint configuration format enables you do custom things that afaik OpenAPI wasn't designed for. In Mock's endpoint configuration you can set routes to return different responses based on conditions - say if route such was requested with querystring values such and such, then such response would be returned, and so on.

Imagine for example mocking MediaWiki's API where you have a single "api.php" endpoint, where you determine the "action" of the API operation with querystrings. Mock was used here to mock their API enabling me to easily do E2E tests: https://github.com/dhuan/wikicmd/blob/master/tests/e2e/mock/...
First thing that came to mind is that I could load this up on a static host, saving content in a local SQLite (or even in SQLite in S3), make changes and then export the results to S3 as static HTML files. All without ever running any PHP/SQL host. One could technically upload this to GitHub Pages.

Endless possibilities!
Most of the kernel was in VAX assembly (I've seen source code listings of VAX/VMS circa V4.x). They were able to port the kernel over to other architectures by creating a compiler that treated VAX assembly as a high level language. This approach came with its costs - even to this day, large parts of VMS remain 32-bit only because it was not possible to automatically make 32-bit assembly code into 64-bit object code for other platforms. Even in programs which use 64-bit addressing, VMS essentially requires you to use a mix of 32-bit and 64-bit pointers in the same program.[1]

A similar problem (AFAIK) befell BLISS - BLISS code for the VAX treats all values as 32-bit. There is a separate BLISS-64 compiler for the 64-bit platforms VMS was ported to, but I don't think all the BLISS-32 code was converted over to BLISS-64.[2]

[1] http://www0.mi.infn.it/~calcolo/OpenVMS/ssb71/6467/6467p005....
[2] https://www.cs.tufts.edu/~nr/cs257/archive/ronald-brender/bl...
What do you teach? Like computer science at a college? Or something else? How did you make the switch? Was thinking about somehow doing some casual teaching as a step back from a corporate programing career for a bit
Ask HN: Will a higher spec MacBook Pro (M1) consume more battery?
Obviously the battery is bigger in the larger screen size models, so assuming the same screen size and workload - would a higher specced Macbook Pro consume the same amount of energy?
Meta AI researchers develop ways to read speech from people’s brains
Can sometimes be "post" transaction, and sometimes "book".

It's kontieren in German, and probably from latin "conto".
Signal Is Asking People Around the World to Help Iranians Access Signal
> after the launch a new satellite appeared just where Molczan predicted….it seemed that NROL-11's patch had inadvertently revealed classified details about its payload's whereabouts
May I recommend a tour of the very pleasant, very brutalist Barbican Centre.

https://www.barbican.org.uk/whats-on/series/barbican-tours
Even more, because all the energy is from "burning" H2 only, no Cs to burn. Whether or not visible contrails form is a separate question. Even transparent water is highly efective outside of the visible range.
I remember the laptop market from 20 years ago; lots of variability between laptops in terms of:

- hardware support (drivers),

- hardware quality,

- pricing,

- online knowledge availability

Those days, you had varying quality between laptops of different vendors, but also between laptops of the same vendor, and even between laptops of the exact same production line.

These days, So much has been improved in terms of smoothing the UX, from hardware support to quality assurance. It's a completely different experience.
New Idea: A curated list of "This X does not exist".
Reliability is nowhere near mainframe
Well, one of the reasons that this WFM, and YMMV, is that I’m, personally, a fairly OCD-type person. I’m a couple of fries short of a happy meal, so to speak.

Coding and architecture are my hobby, as well as my vocation. It’s a real pleasure for me to work on a software problem.

I have friends that own boats, travel, ride motorcycles, exercise, play golf, fish, hunt, take photographs, sculpture, paint art, cosplay, build drones, play music, build hot rods, etc.

I use that energy to write code. That’s also one reason that it has been so painful, having employers treat my work badly. I tend to take that stuff personally.

Also, I am a long-term member of an extracurricular volunteer organization, and this has given me a ready-made target demographic for my work. I don’t need to hunt around, looking for problems to solve. The downside, is that there’s no money to be made, Serving this demographic, and they can be a real high-maintenance crew. Rather demanding, and they tend not to play well with others.

I currently work on software more intensely, than I ever did, when I was getting paid. I’m probably devoting 4-12 hours per day, seven days a week, to it. I take breaks (naps, even), whenever I feel like it, and have a fairly full dance card, socially (see “extracurricular,” above). I don’t drink or use any “recreational” substances (not a teetotaler —I don’t really care what other people do), so I don’t have a lot of mental “down time.”

I have a family, and act as a bit of a caregiver, so working from home is important. I also no longer travel, all the time, like I used to. If I go anywhere, these days, it’s because I want to; not because I have to.

Like I said, I’m fully aware that many folks would not enjoy my lifestyle. That’s fine. I won’t judge others, for theirs, and appreciate it, when the favor is returned.

I am “the real deal,” though. My productivity is fairly high, but I have worked with folks that make me look like a lazy slob, and I’m no longer interested in playing ego games, or competing with others. I’m enthusiastic, open, friendly, and enjoy working in a team. I was a good manager, but hated it, and am glad to see the back of that.

I have been disappointed in the way that I’ve been treated by folks in today’s industry (I fairly quickly learned to avoid things like meetups), and, to be perfectly honest, there’s more than a little “screw you” in my energy.

But it WFM. YMMV.
In his book The Atheist’s Guide to Reality, philosopher Alex Rosenberg defends his conviction that “the methods of science are the only reliable ways to secure knowledge of anything.” His philosophy is called scientism and is held by many of the world’s skeptics. In the spirit of his anti-supernaturalist leanings, Rosenberg asserts that “science provides all the significant truths about reality, and knowing such truths is what real understanding is all about.” In other words: if science can’t prove it, it’s not worth believing.

https://www.catholic.com/magazine/online-edition/science-is-...
Remember back in the 90s with full Macromedia Flash websites and trying to link to specific sections of a site?
Never had or played with an etch-a-sketch?
The tldr, is that AbsurdSQL uses IndexedDB to make WASM SQLite ACID compliant. The alternative is to pause writes and dump the whole db as a string to indexeddb, very slow, and not durable.

AbsurdSQL is an incredible hack, but is a hack at best.

There is a new api, File System Access and the “origin private file system”[0], coming to browsers that has been design specifically with WASM SQLite in mind. I believe the Chrome team have been collaborating with the SQLite team to ensure it will work well. Once this drops it’s going to bring a lot of innovation.

0: https://web.dev/file-system-access/#accessing-files-optimize...
Really brilliant ! It's the only quine I know off that anybody can understand easily. If you haven't seen it the author also wrote a text adventure game in the console!
https://secretgeek.net/console_log
Yes. Netflix's library is tiny by comparison. The article made it as if it is huge. It is so small to the point Netflix could afford to re-encode their entire library every few months when they have new and better encoder or quality measurement matrix.

In the end this read like a marketing piece for AccelData.

If there is one thing that Netflix technically excel, it is their 800Gbps Serving Appliance [1] with FreeBSD. ( I cant wait until they do 1.6Tbps )

[1] https://news.ycombinator.com/item?id=32519881
Disclaimer: IANAL and I am not a tax accountant. This is not tax advice. See a local professional.

Direct employment by a U.S. company is possible and legal in Europe/EU. The company doesn't need to establish a local branch, but needs to get a tax number (so that the tax office can track the tax payments you make every month, because instead of automatic withholding of taxes typically done by a local employer, you will be responsible to do them yourself). Talk to a local tax accountant, they can typically set your U.S. employer up with local social security and the tax office. You will be taxed according to your local tax rates, same for social security contributions. Often that includes "employer contributions", which are charged on top of your "gross" salary. So the cost to your employer is your gross salary plus employer contributions to social security, which includes pension insurance, disability insurance, accident insurance, labor fund, and sickness insurance. According to [1], this can range between 19.21% to 22.41% on top of your gross salary.

Generally, setting up a tax number and getting enrolled in the social security system is a pain and (depending on the country and local government office employees) may require documents signed by high-level people of the company. Therefore, not a lot of U.S. companies are likely willing to go down that road for a single employee.

[1] https://taxsummaries.pwc.com/poland/individual/other-taxes
Is an European Apiaceae. Its poison causes a terrible death, not much unlike when the Joker kills somebody in Batman's comics.
It varied, but it was often 2 weeks after a 3-6 month project. Not a lot, but enough to really make a dent in backlogs.
> No performance benchmarks, no architecture comparisons.

Yeah, I remember dipping my toes into this world when I was trying out COBOL a few years ago. IIRC they market these things with "transactions per second", which doesn't exactly lend it self to direct comparison with other systems...
Causal Testing: Understanding Defects’ Root Causes [pdf]
f/up: Wikipedia says their assets were bought by John Deere.
This just replaces the frontend framework written in JS with a frontend framework written in PHP compiled via wasm. It doesn't eliminate the need for something to manage views and state on the front end, as that's where you're executing all of your code now?
Your example is artificially designed to make your point, but imagine a case like this:

# Add the left & right margins
width = calculatedWidth + 1 + 1

The "+1+1" might indeed be more readable than "+2".
The CIA renovated its museum. The public still can’t go see it
>The only pleasure I can imagine being derived from such games is the trickle of dopamine that comes from winning and the schadenfreude that comes from seeing a snake devour your opponent, which in my considered opinion is setting children up to become inveterate gamblers and psychopaths, respectively.

winning through nothing but pure chance is a good life lesson: why do others win? because they are lucky

snakes are fun slides, not devouring monsters. players are not killed or defecated. another good life lesson: if you fall down, get back up

the rules are simple - you cannot play monopoly with infants

we play these games with children because, aside from the hidden life lessons, they are fun and promote bonding

the author is lacking in many respects
It'd fall apart over Canadian football having three downs. There's no way the US could compromise with that.
Ledgers are typically debit-normal from the perspective of the asset-holder. As a bank, your asset is my liability and vice versa, i.e. your mortgage (liability) is my asset (receivable), so it can make sense to model movement of funds as credit-normal to ease the construction of financial statements from the perspective of the bank.

By convention:

- Asset & Equity accounts are increased by Debits, decreased by Credits.

- Liabilities, Expenses & Income are increased by Credits, decreased by Debits.

Whichever convention you choose, consider that an Asset account like cash (Current Account) has to be funded from somewhere: either from a Owner Equity (investment in the business) or a Liability like a loan, so funds will flow from Equity -> Cash, i.e. credit Equity & debit Cash. To repay the loan, the flow is reversed: Cash -> Loan, i.e. credit Cash & debit Loan.

Thus holds the accounting equation that:

Assets = Liabilities + Equity

(I build double-entry accounting ledgers for a living.)
> That being said, it is well known that macros can be abused and overused.

Which is what Guix is doing. Just look at (package), why isn't that a function taking an associated list? It's this kind of ad hoc DSL magic that makes Lisp-like languages incredible hard to read, since you never know what you are looking at.
Sidenote.

I have had a Deuter cyling pack for around 20 years and it is still in perfect order. I am not exactly easy on gear either
If it's as bad as you say. Get out and get out now. This is nothing but negatives. Why stay and burn your reputation? Why stay and burn your will to work?

You are no longer in a mutually beneficial work environment. You have to find a way to change that so both parties are getting value.
>before their hardware works

Linux users don't have to either. (Linux devs do.) Another thing they don't have to do is searching vendor site for drivers which may not even be installed correctly.
Poll: Do you eat plant-based?
I'm wondering what percentage of the HN folks eat a plant-based diet.
I eat a 100% plant-based diet (vegan)
I don't eat meat but dairy and cheese (vegetarian)
I eat meat but try reduce it (flexitarian)
I eat meat and don't plan on reducing it
In general, patience and luck can eventually get you one for cheap. Unless it's something super rare and sought after, like an apple 1 or voodoo 5 6000, every now and then something like that might pop up at a Goodwill, local flea market, local electronics recycler, maybe even a smaller version of craigslist.

But specifically buying these things from collectors or sellers specialized on old/vintage systems is usually quite expensive.
Acer laptops were super common back then at universities, at least here in Australia. I think they'd hit a sweet spot - they were affordable enough for students, and would probably not fall apart over the course of a three or four year degree, although the plastic case would be starting to get quite precarious by the end.

Hardware seems so much more reliable these days, especially accessories like power supply bricks.