skysight-inc/HackerNews huggingface dataset:
In that case what's the point of any type system at all? Any type can be cast to another. If you don't just arbitrarily cast whenever you like, unknown is extremely useful to remind you to type check or parse before you use a value.
"How to exit my car (vim edition)"
Yes the article states that the time goes slower on the moon but 56 microseconds every day is negligible. (there is 1000000 microseconds in every second)

We can surely skip one second every 27 years on the moon if we are able to add 1 day every 4 years on earth.
Warning: the page is huge and managed to freeze my Chromium
It's a fine article and makes many of the standard points. But I would expect a slightly more data driven analysis from GitHub given the large amount of data available to them. For example, what percentage of first repositories (new GitHub users) are in Python? What percentage of GitHub Python repositories use a data science library? Etc.
One other notable application is gud (realgud?), although for some reason I'm having a hard time getting used to it. Must be my vim bindings.
Well said. The core to Python’s success, for me, has always been its system for containing code inside modules and for importing and exporting symbols between those modules.

Understandable code is maintainable code. Abstraction makes comprehension possible — imagine if every call to print were an inline block of assembly instead! — and Python’s modules provide a very quick and easy way to break up large code into small modules.
But no one is proposing to have non-integer seconds as a solution to get rid of the leap seconds.
Stability for Blender
I know Replika was probably not a great product, but I'd love to see one day having our own AI/robot companions. Cuz humans suck, and you just need someone to talk to and ask questions to.
Just wipe the laptop and let them install Linux, but make it very clear that it is not supported and they'll have to find out how to do everything themselves.

If they can, great, no problem, if they can't, they can be fired for failing to do the job, not for refusing to use the provided system.
> 1. You don’t get to decide if another human’s feelings are valid or not

This is bullshit and one of the worse aspect of modern / woke culture. Some people have bullshit feelings because they havent had a proper education on things such as relationships, money, sex.. and the DIRECT CONSEQUENCE of that its that they almost always are at some point getting ripped off by someone who abuse this lack of education.

This is true for casino business, Andrew tate / only fans webcam businesszs who abuse simps, or in some cases compagnies who tell their employeed that they are "family". Or Replika.

Screw that. If you really want to make the world a better place you somethines have to hurt peoples feeling and give them better education to help them get to a better place.
I wish I could but the Windows version of Emacs sucks ass.
Introverts engage in adrenaline sports or keep themselves busy quite frequently. Extroverts meditate or daydream too.

The study did not measured how comfortable you feel wait and alone for 15 minutes as a normal person. It measured how comfortable you feel after doing simple task mandated by someone else while being observed.
> But then you threw in the (self-described!) theocratic fascist dogwhistle.

Huh? What fascist dog whistle? Sounds like the person was just describing their opinion and experience. The whole idea of dogwhistling sounds like a weird conspiracy theory. I’m sure it’s happened more than 0 times, but thinking dogwhistling is everywhere sounds just as unhinged to me as any of the wacky right wing conspiracies.
You're assuming that people are going to use the smartest "best practice" way to do things from your perspective. This is not often what actually happens. It takes forever for people to realize that they should re-architect things to work like this, and that there are benefits to doing so. If you're able to have this happen in a production environment, with no conflicts with other things or other people around you, count yourself lucky...
I usually try to refrain from posting negative comments, but start of that product video was a bit annoying to watch. Are you trying to showcase your product or to make an animation fitting a cool song you just found?
(Maybe it is intentional, it made me post this comment after all :).
Could a model ever be trained to fully encompass "you"? Maybe some facsimile, and maybe it's just some optimism on my part thinking that humans are far more complex than can be modelled on some computer.
If you are blind, are you disabled? And if you are blind can you park closer to doors?
Everyone working for big corporations is going "Just a few versions behind? Lucky you!" now.
Point being you can resize the window to where it’s comfortable rather than have a narrow column forced upon you.
I abandoned Emacs for a couple of years and tried various "modern" tools (VS Code, Logseq, etc.). The "out of the box" experience never felt comfortable to me. Yes, Emacs can be a hassle to configure, but I can't help going back to it. I now use Emacs again with Meow mode, and my old configuration. I guess I'll use it for the decades to come...
XlOil: The fastest library for writing Excel functions in Python
I recently discovered xlOil after many years with xlWings and periodically checking for other options out there. xlOil is an order of magnitude faster than xlWings or VBA (benchmarks taken from here: https://github.com/lukedays/excel-benchmarks) while still being easy to use and the most feature complete!

With xlOil, you can easily write functions in Python and have them appear in Excel as worksheet functions and macros.

What sets xlOil apart is its ability to have very low overheads when calling your own worksheet functions. This means you can write complex functions without sacrificing performance. xlOil supports different languages via plugins, including C++, Python, and SQL.

With xlOil, you'll have access to a range of features that make writing Excel functions in Python a breeze. For instance, the Python syntax for declaring Excel functions is incredibly concise, and you can use optional type checking of function parameters and support for keyword arguments. xlOil also offers tight integration with numpy, so you can enjoy very low overheads for array functions.

Another advantage of xlOil is its support for a range of data structures, including tuples, lists, dictionarys, and pandas dataframes. Additionally, you can use xlOil to write async functions, RTD functions, and on-the-fly RTD server creation. xlOil also supports macro-type functions that write to ranges on the sheet, and you can access the Excel Application object, hook Excel events, and pass any python object back to Excel and then back into any python function.

xlOil even offers simple and quick add-in deployment and two-way connection to Jupyter notebooks, making it easy to run worksheet functions in Jupyter and query variables in the jupyter kernel. On-the-fly creation/destruction of COM addin objects and Ribbon UI is also supported.

Check it out on Github and star it to encourage the developer to keep supporting this great contribution to the Open Source community!

https://github.com/cunnane/xloil
> GDPR doesn’t say anything really about cookies, actually. I think you meant ePrivacy.

I meant GDPR. It's the reason why websites have to get consent if they want to track you. I believe you're right that it doesn't mention cookies though, I don't believe it cares about what technology is used for tracking.

> Edit: by the way no modern website uses cookies to maintain your shopping cart, and instead of relying on a persistent credential cookie

That's what I meant. You store some unique ID on the client in a cookie, then you have a shopping cart database on the back-end. I didn't mean to imply that the cart items are stored in the cookie, just to distinguish the persistent shopping cart use-case from the logging in to a user account use-case.

> you could just use a password manager to expedite login and be more secure overall.

I do this. I still want to be logged in for a while.

> Finally, “private” mode on most browsers contains cookies to short lived session cookies within the tab lifespan.

I know. Would you find it very convenient if your browser always acted as if you were in private mode and didn't keep you logged in for longer than the lifespan of the tab? No? Neither would I.
That's actually dangerous.

The gearbox is going to be shifted out of park WHILE THE MECHANIC IS UNDER THE CAR.

If there is a subtle error in setting up the jack (e.g. if there is a slight gradient and the drive wheels are on the ground, so that the car is "resting" against the parking brake), shifting it into neutral could cause the car to move slightly as the longitudinal force is transferred from the parking brake to the wheel chocks / handbrake / jack / etc. If the situation is marginal, this could cause the car to fall off the jack and crush the mechanic.

It just seems like a recipe for (occasional, statistical) disaster.
Definitely shouldn't do this unless the company's IT department already supports Linux. Configuring Linux, securing it, tracking it, managing it, all for one person is a huge effort.

The top comments and I share the same view.
As Twitter Goes Down Again, Report Highlights How Fragile Its Infra Has Become
I admit I have a blind spot for Python, because I use PHP in my day job, so when I need to do some scripting, I mostly use PHP. But admittedly Python is a lot friendlier than some alternatives (Perl, Shell scripts etc.), and more universal than others (PHP being mostly used for web dev), so that's why people choosing a scripting language for their tool/library tend to choose Python.
I agree with everything you've said, but to add to that: there are these weird inflection points with both platforms.

A single "small business" server is easier to run on Windows and it'll do everything you need it to do with minimal fuss. Easy GUI admin consoles are available, etc...

For 2-3 servers it swings back to Linux because some things are just easier at that scale.

For 10-1000 servers that aren't all identical, I prefer Windows because of things like Active Directory, GPOs, DSC, etc...

Above 10K and especially above 100K scale the Windows licensing costs become absurd and you're likely deploying thousands of identical nodes (web farms, HPC clusters, etc...) and then Linux becomes very compelling. This is why all of the FAANGs run primarily Linux, because at the multi-million-node scale it's the best option by far.

Interestingly, container technology is maturing in Windows as well, especially with Server 2022 and Windows 11.

However, it still has a few rough edges, so I'm waiting to see how it all pans out...
libraries written in C

That is simply not true. Even libraries like numpy, scipy and scikit-learn are majority python code.
Upvote for mentioning Subversion.

Back in 2016 I briefly worked at a old, large corporation that was still using CVS.

During that time management decided that company policy was now to be hip with the younger generation. One very senior manager actually used the expression "we must strive to be the Uber of [our industry]"

This also led to a mandate that we should switch to Git because it was new and shiny.

You can just imagine the how steep the learning curve was for all the old hands, especially as some of them joined the company in the previous century as COBOL programmers.

We were also pulled in to team building sessions where we were encouraged to "think outside of the box" and be "innovative". During one of those sessions I suggested that "you know, we should just use SVN instead" and was promptly shot down.
> Our product roadmap climbs the ladder of performance allowing us to replace NdFeB magnets initially on the basis of price performance and ultimately on the basis of absolute performance

So it sounds like they haven't yet figured out how to make a magnet as strong as a regular NeFeB magnet, but it is theoretically possible to do so.

Magnet strength is one of the key inputs for motor torque per unit mass, and it seems unlikely Tesla would want to trade off much of either mass or torque for price.
Luck of libraries and initial userbase are certainly involved in success, but not all scripting languages are equal. I mean we could add bash to that list then.

In fact I'd argue that python enjoying the success it has, despite probably the worst handling of a version bump in any language (2->3), is a testament to its popularity.
So let's get laws which stop those kinds of non-consensual tracking too.
Unfortunately, the better it works, the bigger the incentive for adversaries to muck up the data with astroturf posts. The only safe bet is a well kept secret.
I agree - it's basically a new strain of puritan thinking. The problem is that unlike established religions - where you can step away and say "I don't recognise your moralising" with pretty much no repercussions, the line between "progressive left" ideology and wider society is much less clear - and so fighting this type of thinking can have real repercussions for your career or social life. It's not really worth rocking the boat.
https://archive.ph/qZle6
That does remind me of one time when I was living in Boston and my apartment window was right next to a tiny "golden street" - no resident parking restrictions, no street sweeping, no snow artery, nothing on restrictions. Room for maybe a dozen cars. Very secure because it was well lit with multiple cameras from an adjacent church. (and no one breaks into cars in front of God!) Near a train stop. You could leave a car there for weeks. Such a parking place is exceedingly rare in the Boston city core. Only threat was, after 72 hours, someone might call it in as 'abandoned' per state law.[1] Generally this wasn't done for neighbors and maintained-looking cars as a courtesy.

Anyway, someone who didn't seem to be a neighbor decided to park a big crusty step van there for a month and a neighbor must have took offence to that and called it in, because two non-flatbed Boston city police tow trucks showed up in the middle of the night to take it away. I became aware of this due to a horrible intermittent screeching sound - I opened my blinds and saw the two tow trucks, facing opposite directions and using one side of each of their hydraulic wheel lifts in tandem on the outer wheels of the step-van to pull the parallel-parked vehicle out perpendicularly into the street. Once it was out in the street they didn't bother to put it in neutral or anything, hooked the front on one of the trucks and drove away with the locked up rear tires just screeching all the way away into the night. Parts of the rubber tracks were left behind for years on that street.

The lesson to all who saw those tracks - Boston don't give no fucks about your street parked vehicle if it is deemed abandoned by the community!

[1] https://www.boston.gov/departments/transportation/abandoned-...
The tow truck operators I have seen didn't give a shit. Pulled hard enough the car ends up on the trailer no matter whether it is in gear or not. No apparent concern for the wellbeing of the drivetrain.
beginner programmers don't know pseudo code either though!

the best teaching language (imo) is one with few features or surprises. I think Scheme might come out top here.
Yes, remote work has made it massively easier to do these mass firings. Just treat workers like cloud resources. Mass hire and fire with minimal costs.
No, I'm going to parse it with zod and make sure it is what I think it is.
Notion file that contains a comprehensive list of questions commonly asked by top companies during product designer job interviews, along with expertly crafted training answers to help product designers prepare for the interview process.The file is designed to help users improve their interview skills and increase their chances of landing a job at a top company. It includes a wide range of interview questions that cover various aspects of product design, such as user research, design process, user experience, and design thinking.
Thumb drives don't hold data forever. Safe deposit boxes are not insured for more than a trivial amount and the contents get lost/removed all the time.

Anyway you admitted that it is a riskier investment to hang on to then handwaved it when I said that no one is taking it into account.
"What is a woman" is the rhetorical work of Matt Walsh, who describes himself as a "theocratic fascist".

The beginning of this essay explains the phrase pretty well: https://www.youtube.com/watch?v=oAMM3l156Oo
Wow I never knew this, thanks
Tax evasion probs.
I'm on Mathesar's backend team (hi Sean!) and I love types. It's actually a controversial topic amongst us (as might be gleaned from the discussion linked in above comment). I'd say we've come down to using a reduced set of Python features for the sake of community accessibility and maintainability. Maintainability argument being that types can be misused! I personally enjoy having the fanciest toolset, and I imagine that future community members will appreciate more interesting language features being used (because I expect them to be like me), but I also can't say that my personal viewpoint is more valid than the conservative approach we've chosen to adopt. That said, we've been focused on launch and, when that's done, language-related choices might yet be revisited!

There's something to be said about balancing what's interesting and what's accessible. If anyone has stories to share, I'd love to hear it.
Indeed. I wish Microsoft would push F# as the default macro language for Excel.
He does not recommend custom distributions, but for me, Spacemacs (with evil mode) has been a gamechanger.
use GNU not windows :)
> The “years ahead” was described in the article. We had what amounts to a very well oiled kubernetes installation with mTLS, but on Windows, in C++ and 10 years ago (before Kubernetes was a thing).

The revolutionary thing about Kubernetes was not what it did, but that it was an enterprise supported open source version of what everyone was doing internally. And not tailored to a specific domain but fully generic.

Both you, I and the other person replying to your comment were running a bespoke system like this in 2014. That's just 3 people semi-randomly meeting in a thread. If you imagine how much engineering work was saved by Kubernetes since then it's mind boggling.

Of course not all of them were as fancy as you're describing yours was, mine was just a collection of bash scripts, but they solving that set of problems was definitely a thing for many projects in 2014.
I work on back and front-end and universally like types. Compile time guarantees are a huge reliability booster.
We ran Zalando Operator for Postgres in k8s for a year, until finally succumbing to its technical debt that leaks out from every bit of its software being.

After switching to the Chrunchy Data pg operator v5 on k8s, we've had close to zero problems - one or two times a year the log shipping / HA replication fails and we have to restart it, but it's really neat! I can *warmly* recommend it; it really is CloudSQL in K8S.
This is common sense for people who agree.

People who disagee don't do it to make the world more just.
See, that's the kind of argument that is making vscode win over every other alternative.
Yeah, big corp big data web scale systems use python too.
Sweet, and... Indian language families?
Cult of Mac ;)
Did you try from cygwin?
'Purity Spirals' are a related concept.
I can’t tell you if your feelings are valid or not, and vice versa.

What we can do is understand why those feelings exist, discuss that, and perhaps help each other gain new perspectives. Sometimes that process is difficult and painful. It always takes work. It’s only going to be done by caring about someone else enough to do that work. Often you won’t care enough.

That’s my point. You actually agree with me if you sit and think a moment. It’s just that you think telling somebody their feelings are “wrong”, is the effective fix and the work, and I’m saying that’s never, ever going to work: it causes shame and guilt and makes people double down.

Do the work properly if you care, or just shut up and stop causing even more shitty feelings.
> Try this with Linux. Seriously. Sit down and do the equivalent: many servers in parallel

On my phone so not going to type the full command line out ostensibly it would be:

xargs ssh ‘ps process-name’

I’d need to pull the man pages up to double check which flags you’ve specifically requested. But the above is the general gist of it.

——

I think it’s pointless to compare such granular features side by side though. For every microscopic thing Windows better Linux will have others it does better too. And visa versa. It’s the overall administration at a higher level I’m more interested in:

How long does it take to go from a new requirement to a deployed service? How easy is it to automate? To adapt? To scale? To fix? Or even forget fixing entirely and just run as a fleet of ephemeral instances.

Windows can and does support everything Linux does too. But Linux is just generally easier to work with (in my 30 years of experience managing both).

I wouldn’t say Linux is the peak of UNIX-like systems either though. But that’s a whole other argument for another day :)
For what I understand in order to use CJK languages on Linux you currently have to install not a keyboard layout but a separate input device which makes getting started quite difficult. I wonder if the pop-os devs have anything up their sleeve for that.
Hey!
I recommend to check post from VictoriaMetrics CTO https://valyala.medium.com/promql-tutorial-for-beginners-9ab... and this guide https://docs.victoriametrics.com/guides/migrate-from-influx..... Also there is nice post from Logz.io https://logz.io/blog/influxql-to-promql-grafana-dashboard-co... which contain a converter https://github.com/logzio/influxql-to-promql-converter
So before Musk took over, Twitter was paying $100m in interest over its debts. After Elon took over, they're now paying $1.2b annually in interest and had to do 3 layoffs.

I'm just curious, how did Elon acquire Twitter using loans guaranteed by his Tesla shares, and then he was able to unload his loans on Twitter, the company?
From non-native speaker perspective, it sounds like it also obscured the truth: visually challenged can still consume visual info, blind - can’t. For the former larger fonts, adapted color palette, simplified graphics, etc can be useful, for the latter no amount of adaptations will work and you have to completely switch to audio or tactile mode of communication.
There are always exceptions and genocide is very obviously one. I was referring more to the socially constructed self inflicted battles society has been engaging in lately.
I used Emacs for a while and now I use Intellij. Now I don't understand the appeal of customizing the editor to such degree. I'm not that unique. I just want stuff that works. Give me the same setup as everyone else so that when issues arise everyone will push for them to get fixed and everyone can help each other.
In defense of utopias plausibility (really realistically defined as getting much better), their entire modus operendi is going from "obscure parlor trick with marginal impact" to "world changing" and seeming to come from nowhere to anybody who wasn't attuned to a previously obscure field. The green revolution averted "inevitable starvation and widespread war from lack of resources". Revolutionary changes basically like to ambush people by definition.

Public sentiment is also a pretty damn unreliable predictor of improvements.
No personal experience with it (on Windows), but maybe running via WSL(2)? (E.g., https://emacsredux.com/blog/2021/12/19/using-emacs-on-window... )