skysight-inc/HackerNews huggingface dataset:
I don't understand. Why do you need to do this? What am I settling for? I use vim daily and want for nothing.

Vim becomes a state of mind, a model for editing that is really empowering. I can translate any thought to code by doing a little dance on my keyboard. My mind is freed by this expression.
> I use Phoenix only on projects where its real-time capabilities will be the protagonist.

As a web user (not dev) I would say real-time (as in super fast?) should always be the protagonist?

To me that's the most important factor that makes the difference between nice and shtty website.
Is that acceptable then because it's "happening everywhere" in your estimation?

That should raise even greater alarm bells for you then.

Perhaps it's both absolute and relative.

Either way, as a nation, I'm quite sure we've jumped off at the deep end compared to where we were.

And that's not just a feeling. Take one look at the idiots in charge, peel one layer back, and you'll see for yourself.
The fact that there is a “How to protect your career?” for “Cringe Twitter Threads” is hilarious.
It falls back on the passcode any time it can't match a face within three or so tries.
I stand corrected. Yes, 1619 is revisionism, a term which is common usage is actually closer to negationism. But I was sloppy with my choice of words.

Calling out inaccuracy is a good thing. This issue generally is still an overreaction. And I did not call you a racist.
Raise it with the ombudsman!
And their newer, suspicious-looking domains:

1drv.ms (OneDrive file sharing)

microsoftonline.com (something to do with Azure)

b2clogin.com (replacement for microsoftonline.com)
Machines still can’t really think and are indeed calculators or very high on that scale. They’re good at following instructions which thinking humans conceived. To think otherwise is a folly
Here is the source report cited in the article:

https://sysdig.com/2023-cloud-native-security-and-usage-repo...

It is provided by:

"Sysdig Secure: Cloud, container, and Kubernetes security that closes the loop from source to run."

It's the best interest of security companies to sell scareware.
You are spot on! Tried it for the first time here :D
A Turkish cafe near here served coffee in the traditional manner: little copper jug with handle, hot water and a pile of coffee grounds at the bottom. You got a separate glass of hot water and a Turkish delight cube on a small saucer.

Basically served like alcohol. Brought home the drug-nature of the drink.

Disclosure: I'm a moka pot and cafetière type. Bought ground coffee of various makes.
It also depends what the page is.

Google Maps was a justified SPA. But when I am looking at a normalish looking web page and can’t open hyperlinks in new tabs cuz they aren’t actually hyperlinks, or the back button doesn’t back, you’ve broken fundamental navigation. Back and forth shouldn’t refresh lists and reset scroll.

Too often SPAs completely reinvent browser navigation within themselves. And I know the argument is that it is indistinguishable, but from a performance standpoint, you’re now running a second copy of browser functions in ram/cpu for every tab open.
Lwkl summed it up well. A great example is an HP z laptop - good build quality, sort of the equivalent to an old T series thinkpad.

With two Phillips screwdrivers, you can disassemble and replace most parts within 15m.

When I did this work, the other key thing was OEMs would guarantee image/driver compatibility for 4 years. I don’t think they do that anymore, but the hardware is very stable - consumer PC hardware will often have variance based on cost and supply chain.

Enterprise doesn’t want surprises and cares about total cost. So keeping it boring and predictable rules the day. Depending on scale, repairs are important because at some point it’s much cheaper pay for service by the drink vs warranty.
For me it's not just the framework (although that is nice) but really the VM that it runs under (BEAM/OTP). Running an app on the BEAM means removing the need for external servers like redis/memcache for cacheing and whatever queue management system you pick.

For a SaaS app this means instead of trying to orchestrate a bunch of services via some complex system (k8s, etc) you run everything under one VM that both scales across both local CPU cores and distributed nodes in the same network easily.

As for dashboards and CRUD UI that is improving in the latest Phoenix release. I have a 5 year old Phoenix app that I wrote that is still running in production and I generated all of the backend admin and most of the frontend using Phoenix's generators. However that did result in a lot of nearly duplicate view code. With 1.7's focus on shared common UI components the shear volume of template code is reduced, (but not eliminated).

If I were you I'd wait for 1.7 to fully release and then try it out for a couple of hours and generate some simple app to get a feel for it. I've been programming professionally for 30+ years and I've written in a lot of languages and writing Elixir code just feels good. José Valim got a lot right with Elixir (and he sets a great tone - just read his comments in this very comment section).
There’s limited time. One cannot vey curious about all the stuff related to programming, so we must be selective.
This is great chance for Dylan to learn about caching.
> If AI makes engineers more productive, then it follows that companies will hire fewer engineers for the same work.

History says otherwise. When I started (late 90s I guess) we looked at starting a company. It was going to require things like big iron, rented DC space, teams of people to manage, for what was something that is now pretty simple. Fast forward and the same idea could be done (and has been done) by a couple people using a cheap VPS.

Every productivity enhancer that has happened over my career has not led to fewer jobs, but more. The ability for humanity to consume any excess resource is unmatched. I'm sure there will be some bumps along the way, but any company who thinks they can stay static and replace everyone with AI will get beat out by the companies using AI as a tool to continue to innovate.
It won't be a problem for the best of us. But for the rest it might be.

It means fewer can do even more.

It might cause simply more software to be created or it might cause a shortage on the market. Or bit of both.
All this discussion makes me glad I'm sticking to local logins for the Windows devices I still have to use. Once that option is gone, I guess that's the end of Windows on my devices.
Running auto vacuum periodically keeps the Psql instance from crashing
> The omission of the exact reason is intentional - as an example, I distinctly remember seeing the same mistake appearing on photoshoped passport scans over and over again. If the exact reason would be told, bad actors could exploit it more easily.

Yes. We get it. And without doing that companies like upwork would have it prohibitively expensive to stay in business. And maybe for a good reason. That’s exactly the difference between any semi-large consulting agency and something like upwork. The former has people on payroll who can vet the client and the supplier, but due to that, there’s only so much business they can turn around. And then there are those companies like upwork who pride themselves with shit like “how we support 50k suppliers per one support staff member” (I came up with this particular one but it’s pretty reasonable for that to happen).

I mean, come on, it’s like your local traffic law enforcement agency sent you a letter:

Your driver’s license is now suspended and we are sorry to inform you that you have no recourse, you can never ever drive again. We cannot tell you why. All communication from you will be ignored. G’day.

Same, no? How the f** is that legal. The fraud is NOT my problem, it’s upworks problem. Get us on a level playing field. Provide a method for your client and supplier to sort it out using a transparent legal path. Same with google, facebook, twitter, whatever. And if the company cannot provide that, well, maybe their business is dubious. They can ruin you on a whim! And you have no recourse!
And you think it will stay that way? It won't. This is just the start. Next, they will ban private servers and raid those who do not comply.
Very old software may gain an edge. However, that takes a while and depends on the number of people using the old software as well. For instance, Windows XP was a big target for decades after it had been superseded by newer versions of windows. If your software stack is from the 90s, I'd say you might just getting obscure enough by this point.

Scanners are frequently not looking for the breakthrough 0-day vulnerabilities, but just for the low hanging fruit of old and well known vulnerabilities.
What we really want is audio of a relay computer working. It must have been quite the sound!!
Yeah me too! It seems broken since morning and hope it works ASAP
Only after learning vim you realize how clumsy and slow this is.
> And a completely unreleated thought, maybe it is
> possible to remove the safetly limits on speakers
> of other brands and apply the same strategy to get
> better sound?

That’s a really interesting topic. I hope an audiophile
shows up to give some thoughts..

Probably want an audio engineer instead of an audiophile hobbyist, for a more proper and informed opinion. =)

However, as an audiophile hobbyist, getting good sound from bad hardware (or excellent sound from good hardware) via DSP is definitely a thing! In fact, it's essentially the reason why anything sounds any good at all these days, and why things like tiny laptop speakers and tiny portable Bluetooth speakers can sound halfway decent. Even inexpensive factory car audio can sound great these days, because you can throw a cheap DSP chip in front of not-very-special speakers.

I would suspect that many laptop manufacturers are doing some hardware/firmware/software magic already, in order to get decent sound from their hardware.

Hobbyists can do this as well. You can buy e.g. cheap speakers, measure their output with a microphone, and create a DSP profile to fix much of what they're doing wrong. The underlying principle here is that "good" sound is absolutely measurable, and it essentially is nothing more low-distortion playback that is tonally correct. The results can sound excellent. Here's an example of the process: http://noaudiophile.com/Micca_Club_3/

However, there are some physical limitations to this. Much of the sound we hear is reflected, not direct, and therefore part of a speaker sounding "good" is that it is emitting "correct" sound in a wide enough angle. If a speaker is shooting correct sound directly at you, but various and incorrect sound off at various angles, the result will not sound great because what actually reaches your ears is going to be a mixture of good (the direct sound) and bad (the indirect, reflected) sound. If a speaker is bad at this, that is not something that can really be fixed by DSP, so you need to get some elements of the physical design correct in the first place.

The software power management aspects of Apple's secret sauce ("you can dump more than max power into the speakers for x milliseconds, but after that, back off") are also beyond the limits of simple DSP solutions. There would presumably need to be some kind of stateful solution there like Asahi is doing.

There are also other things that Apple does in hardware. Their 16-inch laptops actually have six drivers. Two tweeters, and two pairs of dual-opposed woofers. Dual-opposed woofers give you twice the sound pressure and drastically reduce distortion caused via vibration. This of course takes more room, more hardware engineering, more expense, and isn't something we can software our way around. You actually don't see this in commercial subwoofers until you get up around the $2000 price level, though you could also build one yourself for much less if you don't mind DIY work. https://us.kef.com/products/kf92-subwoofer
I've heard this can happen where money laundering is suspected. Apparently the banks aren't allowed to tip off the account owner that they're being investigated, with the result that the account owner's subsequent interactions with the bank become kafkaesque.
If you're old enough, you may have started using it on a terminal that was all-caps.
To do a really good job I think you need an LLM. So the relevant Python code would be an API call to chatGPT. I just tested it.

Me: Tell me if the following sentence contains any typos or grammar errors:

"This is my CV.I am a experianced developer. I have 5 years of experiance."

ChatGPT:

Yes, there are typos and grammar errors in the sentence. Here is the corrected sentence:

"This is my CV. I am an experienced developer. I have 5 years of experience."

The corrections made are as follows:

1. "experianced" should be "experienced".

2. "experiance" should be "experience".

3. The first sentence is incomplete and should be separated from the second sentence with a period

Point #3 correctly calls out the error (missing space) but describes it incorrectly. Also it corrected "a" to "an" (good for a grammar checker) but didn't list it as a mistake.
"we" ?! appeal to populism, from the trade journal of top hats and Pinkertons. knee-jerk disdain aside..

Even the lofty towers of Finance and their close companions Legal, are feeling the hot breath of AI creatures it seems. They are right to be alarmed, for it is within their own ranks that the most unexpected and treacherous uses of this tech will occur.

Sure, some salesman in San Francisco claims that he can sell ads to a Billion South Asians, but "we" all know that it is in the inches of legal documents, and public fiduciary statements, that things will get really messy, really quickly.

Bye bye venture capitalist club -- you were raging tigers and you will tear yourselves into bloody bits in front of everyone.
AIP is tough but you don't have to do it forever, just long enough for your body/gut to heal and for your immune system to calm down. Maybe 3 months.

I had such bad IBS at one point I thought I was dying. Doctors weren't interested in helping me because they couldn't see anything wrong. The AIP diet turned my life around. Now eat most normal foods but still avoid gluten.
“In a tweet, Stern recommended that users switch from a four-digit passcode”

Who on earth uses a 4-digits passcode?
Power tools were thought to get rid of tradesmen but they actually increased demand. The craft changed though from limited output hand crafted structures to more process oriented and things like a shared code of standard to build to.

If AI can do a good amount of the heavy lifting it stands to reason we can standardize a lot as well as expect productivity to rocket for workers. I’d expect more demand.
No, you're historically wrong.

If AI makes engineers more productive, then it follows that the application of engineering become economically viable on whole new sets of problems. So AI is making engineers even more sought after.

That said, I'm so unimpressed with AI at the moment that I start thinking it's just a bubble, but even if it isen't, it's not going to lessen the need for engieers in the least.
Same with me
chatGPT has proven a productivity booster for me. I had to port some typescript backend code to google go and with chatGPT it felt like I had access to an experienced google go developer to ask questions to.

For juniors it is a massive booster as they have someone available all the time allowing them to explore further before asking for help.
Elixir haskell and erlangs concurrency and parallelism story far outweigh any imperative pythonic benefits or idioms IMHO
"for horseless-carriages, we are all once again tech companies' guinea pigs"
Perhaps this will help:

Whataboutism […] denotes in a pejorative sense a procedure in which a critical question or argument is not answered or discussed, but retorted with a critical counter-question which expresses a counter-accusation. From a logical and argumentative point of view it is considered a variant of the tu-quoque [1] pattern, which is a subtype of the ad-hominem [2] argument.

[1] Attacking the arguer for hypocrisy.

[2] Attacking the arguer rather than the argument.

If you find yourself accused of whataboutism it tends to mean you’re engaged in political rhetoric rather than intelligent focussed debate - which is fine, but not (as far as I understand it) what HNs is for.
Playing with set -e in shell scripts
Building a Minimalistic Virtual Machine
Containers are often used to get around the fact that a lot of languages and environments make it hard or impossible to generate a single statically linked binary.

Containers are at least as problematic for security updates as a statically linked binary and more inefficient.
The boomer, every time, they've seen things, and they know stuff.
I am trying to wrap my head around this and dont really understand.

Lets assume the devs copied the guide verbatim (even though they didnt appear to copy it at all)... how can a Steam guide author possibly hold any kind of copyright claim. Its at best an unlicensed public post, but I assume the Steam/publisher TOS will gobble up ownership rights anyway.
Very nicely done and very responsive. The one thing I'd love to see added is information on which airlines use which gates. I know airlines often share gates, but even knowing which gates are most likely for a given airline would be useful. In Atlanta, I like being able to fly out of a T-Gate because it has its own security checkpoint that's typically, but not always, faster than the main security checkpoint. I think those gates are mostly used by American and United but would be nice to see it listed on each gate.
Could someone please write this same article but for GoLang
What is that thought based on?
A degree takes already 3 or 4 years. In order to incorporate this “missing semester” universities would have to either a) remove existing material to make space for it, or b) extend the degree one more semester.

I don’t think universities should remove existing material in general to incorporate “bash 101”. Mainly because learning bash is easy and one can learn it by oneself without a professor. Extending the degree one more semester doesn’t make much sense either.
Does It Matter How the Covid-19 Pandemic Started?
What I find hilarious about this is if you were an Exchange server admin around the time Exchange made the “web” swap from 2007->2010->fully EAS web managed by 2013 the guys like me were following Microsoft MVP articles on re-Hosting exchange for separate orgs on the same active directory infrastructure with UPNs basically the email as the major identifier

It’s funny because Azure seems like it’s just a hacky scaled up version of what MSPs we’re doing with hosted exchange 15 years ago.
This feels right to me. If you build with lambda, api gateway, and s3/dynamo a small business can stay pretty close to the free tier. Obviously this doesn’t work for every single application, but I’d bet there are a lot of VM applications that it would suit just fine.
Can't speak of other elements, but the color combination is definitely burning my eyes.
Not really. Real time is not the same as super-fast. You can be real time but super slow or super fast using traditional request/response web apps.

When I mentioned real-time I was talking about apps that need to use web sockets to have fast client-server communication. There aren't many apps where this is required (or worth it).
Setting up family link and kids account was not intuitive noe sensible at all.

Better then ms teams mess, but then again, it would be hard to make it worst then that.
For the first day or two, it took so little effort to move my body that I felt like it was moving on its own. I could do any chore because it was just as enjoyable as anything else, I was just along for the ride.

I was extremely easy to distract, I immediately took every opportunity I saw. Clean the bathroom, take a shower, make dinner. As soon as I got reminded of the existence of something, I'd immediately do it.

At the end of each day I would have to catch up to all the tasks I started and never finished because I kept getting distracted. Draft messages or emails containing thousands of words, other essays, research and planning for personal projects, a million browser tabs, and so on.

Whereas unmedicated I do nothing... on amphetamine I did everything, always.

I no longer found any value in games, media or entertainment of any kind. I would write essays and do deep scientific research to occupy my brain. I never got bored; in fact I was completely unable to get bored. I could lay in bed for hours only using my imagination and still not get bored.

I can't decide if that was good or bad. I know that I at least shouldn't be getting bored constantly, that's an ADHD thing.

It's interesting to hear from someone who apparently had a similar experience, but considers it eerie and unsettling.

I likened it to unlocking "the other half" of my life. I want to be both on and off medication. If I was on medication 24/7, I would lose the life that I currently have. If I was off medication 24/7... well, I'd still miss being able to do things, even though the meds seem to have zapped my depression more or less permanently.

I can sort of imagine what taking a "proper" dose of meth would be like... it turns into a release agent at high enough doses, and that causes a much more intense effect... but also neurotoxicity. You do not want to develop a tolerance to dopamine itself. You can basically end up with ADHD much, much worse than what can occur naturally.

Here's a fun bit of trivia: there's a prescription drug called Desoxyn that is basically just methamphetamine hydrochloride.
if everyone start to do that HN will no longer be an interesting place
Same with my spouse when she took a couple of college classes. Which was annoying but whatever until she was done. Then it was annoying pop-ups and alerts every single day because her account at the school was deactivated.
That sucks. If your email provider supports +suffixes you may be able to work around it that way.
I recently looked for a way to use my Yubikey as my Android screen unlock, and unfortunately it seemed like there is no way to do this.

But then I read the article yesterday about reprogramming the Yubikey to be able to output a static password instead of its normal behavior. I thought, maybe this is a good way to input a super long secure password to unlock a phone.

Is anyone using any unusual or exotic phone unlock security methods?
UK doesn't arrest you for carrying pepper spray.
Forth: The programming language that writes itself
> Not sure if they exist still - bought it on kickstarter.

https://fellowproducts.com/products/prismo/

You also don't have to bother with inverting with this metal filter.
Historically this has been the case with technology, but also the rate of technological change has been a lot slower than the pace at which humans can learn new things. If it takes 2 years to train a human in something new and 2 months (or 2 days) to train an AI, that's a situation without historical precedent.
I think this is related to corruption - of which I am a target, which started in South Africa (where I'm originally from and have now moved back to), which seemed to spread to the UK when I moved there. I can't get anything in black and white either.
> A reasonably-scoped take-home project is fine in isolation.

This very much depends on what type of IP agreement you have with your current employer.