skysight-inc/HackerNews huggingface dataset:
10 years back when I was first starting my company, we wanted to build a phone IVR system with Twilio to book tables at restaurants. It was fairly complex; it to track many different aspects of call state, including client being able to enter things like date/time/party size etc. with push-dial, and call our internal APIs. I assigned a recent college grad to the task.

In a week, she came back and said "OK I've finished the prototype." I thought no way and I asked her to demo. Try X, try Y, try X + Y, etc. -- it all worked.

Then I looked at the code.

She had written the API handler as a one gigantic function, presumably because Twilio gives you a single API callback on an incoming call. It was a maze of nested if-statements going 10+ levels deep, subroutines relentlessly copy-pasted inline throughout the whole thing. Then she manually tested by dialing the phone 100s of times, putting in hacks throughout the if-tree.

Her prototype ended up being pretty easy to refactor and was ultimately the basis (at least logic-wise) of what we put into production.
Terraform is declarative, so it's much easier to refactor.
What? What even is this

The whole point of a dev environment is so you can catch errors you wouldn't in production. Keeping it as close as possible to production is the point. If you're catching errors in dev, you'll see them in production

More environments don't catch more bugs. What is this corollary? More testing catches more bugs. A dev environment allows free integration testing without act users of production being affected
Please go into details, I always think it's important to call out charities that are fraudulent and going into details helps with detecting if other charities are fraudulent or not.

What lead you to look into this? How did you originally suspect them of being fraudulent? What clues did you see in their financial documents?

For example, I tend to look at Charity Navigator and for Salvation Army, they mostly get dinged by not having an independent board (which to be fair is a clear red flag) but not much more, so as someone who does want any contribution I make to charities to go toward their cause, I'm very interested in any methodology around researching a charity.
Check out some of the blog posts from https://launchdarkly.com/blog/
Didn't he have to give up royal titles when he abdicated? Why do I even know this...
https://news.ycombinator.com/item?id=30899867

Definitely not busting out 'the white hood', but if you want to caricature me in that way I can't stop you, obviously. What I claimed was that I hold a number of views that are socially 'liberal' in the American sense, noting that liberal means something different in the rest of the world, including Australia (where I live).

Not sure how old you are, but at some age you'll realise that in real life the political beliefs people hold often don't conform precisely with those of any particular political party. Such is life, regardless of their political bent.
certainly if the user executes or opens them (eg for a .doc) they're powned. but automated systems can also have exploits. i'm trying to make a list of these services (and maybe disable them) to minimize my footprint (often testing out untrusted code from github etc in a small secretive community, ie easy to target)

for ubuntu 21.04+, i'm aware of:
- gnome-tracker-miner
- gnome-thumbnailer (may require browsing in nautilus)
- mlocate

at least the first two appear to be sandboxed, though unclear of the efficacy.
any other services that you're aware of that would be automated vectors ?
Haha I love how most of the internet just agrees that tokelau is like the outcast TLD of the internet. I've seen filters alert just from accessing a .tk because of them being free and maybe still are. I think it used to be Dot.tk giving them away
A bunch of past threads on this: https://killedbygoogle.com/.

Google engineers do not so much solve problems as create them and pretend to solve them.
I like bottom to top as well. I just dislike <random location in the middle> and then you scroll around trying to figure out context.
Events are foundational to JS, we've had them since the beginning and they're not broken. You don't need any nonsense to use them. They're also completely unrelated to promises in my opinion, so I'm not even sure what the ecosystem would look like if you tried to replace Events with promises.
I hope it's possible, or I have a lot of sociopaths for friends.
I don't think you understand language as much as you think you do. There are nuances terms acquire through usage that make them make more salient points than general terms such as "pseudoscience."

For example the term "wives-tales" isn't just about gender. It brings forth to mind ideas that are incorrect and passed down through generations as correct knowledge. The full phrase is generally used as "old wives tale"

The reason I used "bro-science" instead of a term like "pseudoscience" (or the other alternatives you mentioned) is because it came to mind first as it fits the nuance I'm going for. Which that nuance is not "Gentlemen who do body building." (As if only "gentlemen" do body building, ironically half of the body-builders I know are women). The nuance, if you're familiar with the term, is that it brings to mind something like "regular people who share opinions as if they're facts when they're actually opinions" (and they might be facts, but it's unknown). Or additionally it also brings in another nuanced meaning which is "an opinion that is shared by someone who expresses it strongly and reacts negatively if you question it"

Your alternatives may share some of this, but not in the same way. If you want to invent a new-term and get it into the lexicon I'd be happy to use it.
Don't cry, we bought and paid for this future.
Contra Chrome
Heh, you described my work situation to a T.

They decided to modify a number of core functions to work the same way as their old terminal system instead of the default ERP process. Now our job for the next couple years is decoupling the custom add-ons so we can safely update to a modern ERP system.
I think this has been misreported. This message is actually reporting that the car lacks the required AC hardware for that function. It's not a software feature.

Although I agree that if the car isn't capable of a function, it shouldn't have a button for it, that is a very different story. It's not a paywall any more than any other hardware addition is a "paywall".
Crazy to think that "micro" transactions are coming to cars - all the features are there, just need to switch a flag
Healthcare isn't free in Switzerland.

Incredible how you claim Switzerland has the highest QOL, yet don't know the basics about the country.
Eh, it's been 'yet' for the last 20 years I've used it.
Most applications do not need or benefit from React. There's many superior techniques which can provide similar outcomes using HTML generated by the server (gasp).

React was like a long, painful specs gathering process. Going forward, I would never start a major project with React when simpler, standards-based approaches are now just as viable.

The main reason people use web components for buttons is to provide a consistent API and DX, and to facilitate themes and code reuse.
Wiktionary gives a larger (but still not comprehensive) list:

(forming nouns, especially of verbal action.): arousal, arrival, bestowal, betrothal, denial, disposal, proposal, rental, rival, reversal, removal, subdual, submittal, transmittal

https://en.wiktionary.org/wiki/-al#English

That said, substantivization of adjectives is common. Even adjective is itself a word that was originally an adjective, but has been substantivized into a noun. It's a well-known linguistic process:

"Conversions from adjectives to nouns and vice versa are both very common and unnotable in English"

https://en.wikipedia.org/wiki/Conversion_(word_formation)

This process has become especially common in Modern English as inflexional endings have been abandoned and speakers rely almost entirely on word order to deduce parts of speech. Converting a word from one part of speech to another simply involves putting it into the proper place in the sequence. However, substantivization of adjectives is not exclusive to English (in Latin, for example, you can slap practically any adjective into the neuter and use it as a noun, whence we receive such words as animal and dual).

Language in general is very flexible.
> avahi/mdns?

Wasn't this more like Apple getting their tech standardized?
I don't know of any service but if you were to implement it, it's a cool small side/learning project. You can execute this logic either on-chain (smart contract) or off-chain (any programming language) or both. Here are some pointers:

Crypto (on-chain): This is pretty straightforward with a smart contract. The only thing is that you have to call your contract at the end of every month (that can be setup with a cron off-chain). The alternative is to offer a bounty for someone to make that call for you but you must find a way to advertise this bounty.

Non-crypto (off-chain): use PayPal/whatever api on a cron

Non-crypto (on-chain): You need to look for Paypal/whatever oracles (if there are any) or create your own

Crypto (off-chain): use a blockchain api and connect to a hosted node (eg infura) or run your own
They used to be barebones. Now they aren't really.

21H2 version is bloated compared to early win10 LTSC builds.

There's so much telemetry and so much Windows Defender bullshit, which is extremely hard to get rid off, but slows your system down tremendously.

I can only imagine how bad full non-LTSC version of windows is like.
> On a side note I find "Cato the elder" making this comment a bit amusing, who was known for his opposition to new ideas, of doctors and of course "Carthago delenda est"

:-)) Not the first time I get that kind of comment around here: https://news.ycombinator.com/item?id=30383370
Wouldn't exactly call it capable, it had 20 memory registers and 106 bytes of programming memory. Plus Reverse Polish Notation is not exactly easy to use. Still great memories, so many kids of my generation discovered computers through those.
I actually got one from eBay last year, cost me about $60 with 220->110 converter. I think somebody's selling unsold inventory from the factory. Printed out some old articles and went through first 2 legs of Kon-Tiki journey. Fun times :)
Kefir, ie. fermented milk (usually from a cow) is something you can buy at the grocery store and is pretty damn tasty. And milk from different animals isn't all that different.
While having algorithms and computers dictating every aspect of train movements, crew scheduling, resource allocation is efficient and in a sense optimal, I think there's something compelling to be said about having a system that can survive with human-rememberable patterns when such an optimizer fails. That it can fall back on (or have at the core) simple patterns that people can still operate without algorithmic intervention. I.e. the algorithmic tuning enhances at the edges, and isn't at its core some tangled non-interpretable system that someone can't operate without computer assistance. The idea of a protected set of core routes and staffing patterns that operates without having to be computer-determined?

I used to be so impressed at European train stations that they had a single sheet that would give the entire day's arrivals and departures, down to which track. I assume that behind that were schedules that weren't so far from being hand-calculated with equivalent sheets that told people and equipment where to be at what times.

I think we lose something when we jump so far forward that you cannot fall back gracefully without a system completely breaking down.
> McKinsey infiltration into...

What is McKinsey infiltration?
Is there an expression for determining whether a pixel is on a bezier curve?
Ugh stop trying to demonize this. I have a diagnosed problem which I used to take a controlled substance for from a psych who I had dedicated sessions with. Every time I went to the pharmacist, I had to put my name on a binder for the "controlled substances list" and got dark looks from the pharmacist every time I filled my prescription in. It was embarrassing enough at first admitting to friends and family that I sough mental health help. Attitudes like yours intimidate so many people who rely on controlled substances for living fulfilling everyday lives. With the help of my psych I left the controlled substance, but a significant factor was the stigma I'd face from friends, family, and the judgemental pharmacists who knew nothing about me.

Pill mill or not, let people find a way to live their best lives. Unless you're a doctor or healthcare professional, stop telling others how to live their lives.
Thank God despecialised edition exists!
This reminds me of the story one of my university teachers used to introduce himself. He was the most brilliant educator I've had, really passionate about making sure people could actually follow and so humble. The course was called "Digital and Computer Technology" and it was a first year course teaching you to build a CPU starting from logic gates and then program it with assembly.

He said that when he had recently graduated and just moved from Norway to Sweden his first job here was as a technician for the local railway. One of his first assignments was a call where the computer controlling all the track switches had stopped working. Luckily there was a backup, but they needed him to fix it immediately.

He arrived, took a look at the computer and its backup running next to it. He started out by measuring voltages on both, comparing to see what the difference was. After a while some men in suits came in and asked how things were going. He said it was all good, they said it wasn't because now all trains had stopped. Apparently, he had short circuited the backup.

"And that's when I decided to go for a theoretical career!" My teacher happily concluded. The classroom was left in a stunned silence.
Emacs is actually quite poor at opening large files, at least comparatively—depending on the machine, 65K lines may be enough. However, there's an addon, i.e. a ‘mode’, that implements editing of large files somehow.

Vim, on the other hand, does it splendidly: it keeps only a chunk of the text in memory, and iirc the ‘swap file’ that it creates for every opened file, keeps the changes in some kind of a sparse structure, so they can be tracked at various places in the original file. This ‘swap file’ also serves as a savepoint of the editing session, so the changes can still be recovered even if the machine crashes while the user never saves.

Alas, editors still tend to deal badly with very long lines (just in the low thousands characters). IIRC both Emacs and Vim drop into a big think if the user attempts to put the cursor further down that line.
That doesn't really allow for type checking which is a major purpose of types. It's more of just some nice sugar for runtime assertions
Wrongly incarcerated individuals should also sue the prison they were incarcerated in as an action against the property where they lived and lost productive years of their lives under the conditions of the property. It was used as part of an unjust way to extract valuable time and labor from them. As well as any police equipment used to detain them wrongly.

Furthermore, any government owned equipment used in unlawful surveillance or military operation should be subject to seizure and liquidation by any tax payer as it was spent and used in willful disregard of tax payers and their representatives.
Great presentation. Splitting the code into light and dark theme is bizarre and adds unnecessary complexity in <head>.
You know what they say, test in prod haha.
This is exactly something I'd expect a mongol to say. Nice try.
This was one of the very stupid things about California. You'd have buildings with warnings that the upholstery in the chairs was manufactured using chemicals known to cause cancer, but have no idea what that actually meant. Are other chairs any safer? Am I at risk if they wash the fabric first? Is there any meaningful lower bound to the risk? What chemical is it, exactly?
You’re either talking from a place where you’re taking every skill for granted or have no clue at all. I didn’t say anyone will spoon feed how to learn, you just have to figure it out yourself. But the PhD is precisely the time to do that, with occasional nudging from your mentor. I didn’t even have a great mentor and he still spent hours advising me on what I need to improve. If you didn’t get anything like that from your mentors I feel sorry for you.

Unless you’re working next to Terrance Tao, I.e., at the top of whatever game you’re supposed to be in, you clearly haven’t pushed yourself to be better. Of course that’s a choice to begin with if you want to even do it. But given that you do, a PhD should have been the time when you got better at everything no matter where you started. If you already started with amazing skills then you should have become world class at it by now. If you did a good PhD that is. In your case, if the 3 papers you published were “pedestrian” by your standards, you and your mentors should both have pushed for more ambitious stuff.
Events, promises and callback functions all work differently, exist in their own lanes and can co-exist in the same library. Each one is perfect in the use case it was designed for.

That said, while promises are a very useful tool, I consistently find events to be an easier mental model to work with in the context of the DOM. This is primarily due to the bubbling nature of events.

It's entirely possible that you and your friends concluded in a bubble that promises are the pattern to rule them all, but don't speak for all of us.
Why the hell does clicking on the screenshots take me to an ad? Does this happen to anyone else?

iPhone Safari

I guess it has to do with those annoying behind-content ads that the tap is somehow going through to.
> that runs all aspects of your business.

i think this is under-emphasized for people unfamiliar with them.

I think SAP and related modules are "solidified business processes", and their consultants and sales persuade your CxO level people that switching business processes will improve overall efficiency (and somewhat hint at standardization, so that the CxO will have experience at that domain when switching jobs!).

But of course, it's not really true - best practice business processes are an illusion imho, and it will turn out that the subtle differences have to be implemented individually.
Yeah it's funny that this is making the rounds as some kind of outrage when the hardware actually isn't present. There are plenty of real cases where the hardware is installed but disabled. Tesla has done it several times (battery capacity, rear heated seats, "acceleration boost").
An Introduction to Bluetooth Mesh Networking
How do you suggest pure Gtk applications on regular window manager to open files?
> I'd characterise them [SAP] as closer to something like Oracle rather than Salesforce

They feel more like IBM, but more crusty, more conservative and more corporate.

Working for a railway on anything touching SAP sounds like an absolute nightmare of wasting decades threading water with nothing to show for it.

(I saw a bit of SAP inside DB… nope nope nope)
Boopkit: eBPF backdoor (TCP) for spawning reverse shells
To me early returns and top level exceptions are nice to convey base cases, invariants, short cuts etc. nested branching to convey choice that is more closely related.

The former is often not possible (or idiomatic) in expression based languages however.
We know they fared pretty well against traditional European knights in Georgia. ( around 1222 )

Those were prepping for a crusade, and got surprised by the mongols arrival.

They lost pretty badly. When the mongols did setup shop and administration, it sound like their focus was China. And not the backwater of Western Europe.
Rolf Snedsböl? :-) Agreed that he was one of the best educators (if not _the_ best) I had
I work in America, so my employer owns my entire being. Specifically, in order to commit to open source, do any independent project, etc, I need to get permission from my employer that it doesn't compete with them and that they are willing to relinquish the copyright/IP rights.
'Those who can, do; those who can't, teach'

-George Bernard Shaw
More and more we are seeing "the computer says no" in our lives. We've replaced human activity and decision making with computerized versions, which are nothing more than the automation of stored human knowledge and routines.
Coming to a Web3 near you : Drive to earn. The better you drive the more you earn.
There is an Isac Asimov book about this.

A crew is stranded in space, because of a computer malfunction and no one on board remembers how they used to be programmed.
Thanks.
And it’s not like western Europe was the prize. More an easy target.

China was the real deal.
isn't retool just corporate?
The reporter didn't reach out to Audi for comments... Maybe that sync button wasn't supposed to be there to begin with, with this car or level of trim?
Revisionist geography?
It might be enough for this company, but if you are a big corporate, it's definitely not something to do. You cannot expect millions of consumers to just be ok with the fact that the mobile app is done because it's too hard to keep in sync staging and prod.

I am maintaining the infra for a big mobile app and our staging environment allowed us in the last year to have only two production incidents and they were not due to code source (networking).

I really recommend any serious business to at least try it and see by themselves the advantages
If there is no right to life then there are no rights whatsoever. Last I checked most countries uphold a right to life for their citizens.
This is not the case here. For that sync button to work additional hardware is required which is not present on the car.
You can tell the people up in arms about this have never had anything but the highest end of cars.

You’ve always had to pay extra for extra features.
Derision? Maybe read what I said.

I think I'm pretty accurately describing their generation, aka the generation of the people who raised me. Note that I am specifically NOT casting blame on them for the eradication of pension programs, because while you can accuse them of being against them to a degree in the public sector, it was their parents' generation who decided that private pensions were great for themselves but not sustainable for their kids.

The "greatest generation" gets whitewashed at the expense of their children, when they REALLY had it the easiest. Sure, they had a world war and that sucked. They also got the greatest economic advantage in American history along with a government eager to give free and subsidized stuff away, and decided that it was too expensive to continue.
Then what is the point of these threads?

> Product I use is bad

> Use other product

> No >:(

These threads are pretty pointless as it is, but if we avoid mentioning the only solution that exists and how to do that, switching to Linux, then the thread is literally just a bunch of complaining
> There is simply no evidence to support the baseless conspiracy theory that postal voting results in widespread fraud.

You're applying US culture-war stuff to another country and culture.
is custom post types a thing? i see your page says something about a custom post types ui plugin.
It doesn't answer your question, but the Toaster Project book explores the difficulty of making even relatively simple modern objects from raw materials.

http://thetoasterproject.org/
To be fair the B5/6/7 Burroughs machines also had integers ... it's just that they'd chosen a floating point format such that mantissa-sized integers and a 0 exponent always worked and didn't get renormalised unless you overflowed
I’d also credit likely dyslexia for his ability to visualize.