skysight-inc/HackerNews huggingface dataset:
> Which plugins for Python coding are universally agreed on as "must haves" Preferably just one, or two at most.

I wrote Python in Vim for about 15 years before finding python-mode[0] about 4 years ago and I now find it absolutely indispensable.

Just about the only thing that it doesn't do natively is Black[1] (think gofmt for Python) which I started using a few months ago. It's not too hard to run it occasionally on my codebase, but I hope it's added in soon.

python-mode did remove its folding capabilties some time back, but it was easy to use another plugin for that: vim-coiled-snake[2].

Apart from these two plugins, and vim-fugitive[3] for git (another one that is a must-have), I don't use anything else except for the occasional syntax coloring plugin.

[0] https://github.com/python-mode/python-mode

[1] https://black.readthedocs.io/en/stable/

[2] https://github.com/kalekundert/vim-coiled-snake

[3] https://github.com/tpope/vim-fugitive
Sure. Noting that you have to trust that bitly isn't fingerprinting your browser and tracking you across their domains.
Pi-Hole sees the bit.ly DNS lookup,that responds with HTTP/30x to full.domain.tls, which is a second DNS lookup the Pi could catch/filter.
Thanks :)

I'm currently using SMT for a number of reasons. One issue is that I've found the constraint is often non-convex, and this sometimes causes issues. And yeah, as you guessed, the initialization is also a hard part. With some figures, I've found that gradient descent can find the right solution with a good initialization (or even with just trying a handful of random initializations), but it doesn't work every time, and I wanted to avoid relying on the user to provide a good starting point.

The right thing moving forward might be some hybrid of SMT and gradient descent, especially if an interactive GUI editor comes into the picture. SMT could provide the initial solution, and gradient descent could help when the user manipulates the figure using the mouse.
> Do you really think this is a conversation about never wanting to handle errors, or is that sarcasm as a convenient way of getting out of actually thinking during the discussion?

It was me making fun of someone trying to argue that you would have to write code for the non-happy path in scheme A, but not B.

> Good specific HTTP status codes from the application layer help the client sort errors by type before they have to parse specifics. Or in cases where the client may not even have been prepared for the specifics.

> Have you really never found a software situation where it's useful to know what the type of error is before you get into the details?

Yes, because you could never embed that sort of information into the JSON, that's not what it's for! It's for... well I guess if you're not using it for that sort of information I don't know what it's for.

> Imagine knowing there's a whole range of 5xx status codes that allow for both that possibility and others.

https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_...

11 5xx status codes. I'm glad to know these cover all possibilities for the software you write, but you know what's even worse than anything we've discussed here?

15 different API's defining 512 to mean different things specific to their software. All in the name of software cleanliness, because parsing json is apparently icky and hard in brainfuck, their API language of choice I guess?
No. Unless your product is the API nobody will use it, and it’s a waste of time and resources to create an extra layer you don’t need.

Development can be faster and require less code if you go with a traditional web application architecture (request -> db query -> render HTML response). Rails and Laravel have everything you need out-of-the-box.

Its also faster to iterate than a separate SPA + API, which is important when building an MVP and when making changes based on stakeholder demands.
Basalt as it exists today already integrates pretty well with LaTeX -- I have papers written in LaTeX that have Basalt figures. The figures are rendered into SVGs, converted to EPS using Inkscape's CLI, and placed in the paper with \includegraphics.

The integration works pretty well, and it's even possible to make the fonts and sizes match (e.g. see Figure 1 in https://pdos.csail.mit.edu/papers/notary:sosp19.pdf).
A Recession Hasn’t Arrived (Yet). Here’s Where You’ll See It First
No problem, I tried out Termux mostly to test it out, and I was impressed. I was able to run a Web Server in Python... and Go was a similar story. You could open it up on your browser and all. I'm convinced all one needs to hack into any system is a good Android device with enough storage, or iOS device with their Linux emulator.
npm as a package manager is good in theory. But in practice, it does tend to create a culture of "just use a package" for everything. For example foreach [0].

[0] https://www.npmjs.com/package/foreach
I’ve also heard that this is a deliberate propaganda message being spread by the CCP though — claiming that the protests are really about economics rather than democracy.
Cassowary is an incremental solver for linear systems of equations and inequalities, while Basalt's constraints are more expressive (which is why it needs an SMT solver). One example of something that's not expressible in a linear system is computing bounds of a group of objects, which has been a common pattern in my Basalt figure, e.g. to position a group of objects next to another. The Group element in Basalt computes its bounds by computing min/max of its elements' bounds, but Cassowary constraints can't contain min/max.
This is the truth, and the fact it is downvoted speaks volumes as to the tech communities apathy and complacency in systems that are part of the violation of our rights.

"Fuck you I got mine" might just be the death of the enlightenment.

I'm honestly starting to contemplate how hard it would be to setup on Mars and breakaway from all current earth governments. Maybe the only hope is freedom of space travel.
How to reclaim agency over your precious email inbox
And time to innovate in languages used for writing OS kernel and core services as well. All mainstream kernels stuck with C/C++. Something newer, cleaner, Rust, D, you name it, something that indeed wasn't afraid to deprecate legacy too, and something that offers many new important features for OS developers.
I created and maintained a game plugin for World of Warcraft. For those of you who don't know, the plugin API changed constantly. It used to be that after every new release, the first thing I did was not enjoying the new version of the game, but fixing my plugin so it ran on the new version. Later on they introduced public beta (maybe they always had it I just didn't know), so I could test it ahead of time and release a new version along with the game release. But it was all for fun, so it's all good.

Then life happened and I left WoW completely.

Fast forward ~10 years to 2019, they released World of Warcraft Classic, which I assume uses the same API as the original game in 2004. Someone emailed me asking if I could release a new version of the plugin that works with WoW classic.

I was like, "No."
Thank you all for the pointers to related projects and research papers!

To address a couple common questions:

Q: Is Basalt open source? A: Not yet, but it will be. The language is still under heavy development, and it's currently being completely rewritten in Racket. I'm waiting until it's a bit more stable to release the code.

Q: Are there plans for a GUI tool? A: Yes, I think it would be awesome to have a GUI tool! It seems like a hard problem to implement this, so it might take some time. The live preview is the best that I have currently.
PlayStation: The First 25 Years
>> who have those traits that machines lack, i.e. creativity and vision

I would go further and say that once machines will be able to lie better than humans, we are done.

>> produce high powered tools rather than true autonomous agents

including tools which will help to tell a compelling story and/or lie to people. We can see precursors of these tools appearing during the last few years.
In what sense do you mean? It seems reasonable that the money might be better used saving people than feeding monkeys.
There's the tiny issue that storage became so cheap over the last 20 years that recordings can now be kept indefinitely. In the past you had a CCTV camera, and you could store maybe a month's worth of movie (on tapes, in a safe), until you had to overwrite it.

Now you just keep filming and have a never forgotten record of who lives in the neighbourhood. And if Facebook runs it though its face recognition system they get names, friends and other preferences. That completely changes the nature of CCTV recordings.

The law just hasn't caught up with it, also because of prolific lobbying by the usual bigdata actors.
Hijacking your comment to ask my question below. Apart from the possibility you can't do header-only for everything (like something that requires a singleton for example) and the other known issues (build times, ballooning of object files and thus executables) is the only other reason you don't see as many header-only libraries in C (like you do in C++ where they are ubiquitous) is that people merely don't do it in C? That is, a social landscape reason, not a technical reason.
I make an API, for narrow use case. All calls have to be from a registered UA, among other things forms the HMAC sig.
Critical tools for running SaaS business
What was being argued is that he should potentially get the death penalty.
Ah nice, was wondering if Valve did this.
But bitly.com/xyz can be mapped to full.domain/abcdef

The pi-hole doesn't see the /xyz, or any of the http redirects either.
They didn't say the person should still feel bad for the bug.

If I had to take a stab I'd say it's because they work for facebook. A company many people find to be unethical.
I'm reasonably confident in at least half the interviews I do, and I might blank if I was asked about books, because somewhere in my 30s, I essentially stopped reading them. If you reminded me of something I'd read, I could talk about it, but nothing comes to mind any more because I'm no longer buying or reading books on a day-to-day basis.

Also, assuming one or more came to mind, maybe I'm paralyzed in an interview because I'm thinking about what the ones I can think of imply, whether they give away my age, or whatever.

It would be easy to talk about a book if I was warned ahead of time.

I'm not sure I even know where my copy is, but if I chose one book that I've read that more people should know about, it would be:

"You Don't Always Get What You Pay For: The Economics of Privatization" (Elliott D. Sclar)

But in an interview on the spot, I absolutely wouldn't have come up with that.
OP here. I didn't write this. I just thought the HN crowd might like to have visibility on this world.
It sounds like what Solaris container did. The kernel responsible for handling kernel abi compatibility. And everything includes the system utilities runs inside a container that got given abi simulated by the kernel.

The model is App -- Static ABI --> [Simulated Kernel ABI by actual kernel] -> Actual kernel.

Everything outside of the specified kernel abi version is not existed to the application.

So it can run as much as years old application as long as the kernel is willing to simulate the abi for it.

And it is also how windows 64 runs win32 app and wsl. There is a api proxy inside the kernel and simulate the api for them.
sigh

That random file you downloaded off the internet was built under a specific set of assumptions - assumptions that only hold true if you are running the specific OS version they were targeting.

IF you download the .deb file for your specific OS, and IF you manually install all missing dependencies, then it works. Otherwise, you are still screwed.

At least you can extract it (IIRC, it's just a zip file anyway). But that's no different from going to sourceforge or github or whatever and getting the source tarball... and we are back where we started.

By the way, I was not complaining about "vendor lock-in". I was complaining about Debian's package management policies and how they can affect your software development process in practice - to make the case that apt is a crap replacement for a proper language/library/development/whatever oriented package management.
That doesn't really answer my question, if I have a t3-micro (which cores do not fill an entire physical core, so they are shared with others) am I guaranteed both of the cores for the instance are running on separate physical cores so that my two cores don't share one physical core?

This in order to allow for my server to continue operation if the steal rate of one core goes through the roof because some other instances running on my shared physical core are taking too many resources unexpectedly.

And how does Amazon explain still not having a central region in the US? I mean the multiplayer share of your revenues must be at least 10% by now?

I just managed to get a IONOS instance running in Kansas City (same distance from east/west-coasts) for low-and-behold 1€/month with unlimited data (18GB SSD and 512MB RAM). How is AWS going to compete with that?
Controversial opinion: I find it kind of sad that on one hand most people get entirely up in arms about animal abuse, but on the other hand they eat food constructed from the cruelty of the meat industry, which exacts far greater torture on billions of animals every year.

If you kick a puppy in front of your coworkers at lunch (please don't), they will absolutely freak out, while continuing to eat fish or sausage or beef or whatever. And it's taboo to discuss this hypocrisy because apparently food is sacred. Can't criticize someone's "personal choice" in today's society no matter how much harm and pain it causes.

For hundreds of years, social progress has been about realizing equality amongst conscious beings. Why is it so hard for people to realize this? Instead we have had incremental widening of rights: African Americans, women, LGBTQ+, - no, it's about the right to life and equality for conscious beings at the core. When you treat it like this, you realize how much of what we're doing is fucked up.

I guess it's true what they say: one death is a crime, a million deaths is a statistic.

Maybe I'm being pessimistic. But I feel like if benevolent aliens ever visited Earth, and saw how we torture and murder other life forms on the planet, we'd be the first ones they'd wipe out. Moral calculus would demand it.
Let's just hope we don't go through the same thing when we switch to 128-bit. We ought to learn from our mistakes when we do this whole thing again.

And yes, before people flare me for this, don't pretend it isn't possible, recall that once upon a time 640K ought to be enough for anybody.
First of all the cost is probably pretty low and second you have a responsibility to care for an animal once you take it on. You can’t just throw them away once you are done using them. I think this is extremely callous behavior.
Shadowbanning is reasonable and appropriate against bots, but a massive dick move when applied to humans.
Feathered dinosaur tail found in amber (2016)
(ii) sounds like a version (iii)+(iv) but it is not because you will not be truly free. If you go (iii)+(iv) via a start-up line, you will not be free either because you will have to deal with customers.

Should come up with something smart and make money. Let's call "be truly smart" (what a smarter AI would do) and not just "academic smart" or "coder smart".
I think it's funny how 90% percent of these 'selfies' are taken in bathrooms. Used to be you went to a nice place and took a photo to show where you went. Now I think the average selfie taker doesn't even realize they are in a toilet, it is completely self focused. There is a fitting metaphor in there somewhere.
They don't have the planning ability that a predator has. They survive in numbers by breeding like rabbits.
I didn’t downvote you.
In a just alternate universe we spy on the government (oversight) and they can't spy on us (people).

I'm utterly devoid of sympathy when the government spies on itself.
In the West we have done a very good job hiding most animal cruelty out of sight so people feel better. I have had a few discussions with people who were outraged about animal treatment in the third world. They didn’t want to accept that we do the same thing on a very large scale with the only difference that we are doing it behind closed doors.
Historically, political protests (and revolutions) almost always have strong economic components, political change is rarely an abstract goal but a solution sought for concrete, mostly economic, problems. Abstract political protests that have no economic component rarely become significant, because few people are willing to take substantial risks for them.

The idea that the protests are principally economic doesn't contradict that they have a political dimension, indeed, it makes the likelihood that the protestors would seek and sacrifice for political change greater.
Vivaldi is based on Chromium, so it's best to imitate the same engine.

* Yes, I know that Edge is now based on Chromium. But given the two, it's better to pretend to be your parent browser, rather than a sibling.
There is a well established FOSS IDE that does the job: http://eclipse.org/che (SaaS http://codenvy.com)
There were no written form of Pali 2000 years ago.
They may not have a choice?
Jack Dorsey Wants to Help You Create Your Own Twitter
Any sort of static analysis to argue this doesn't have undefined behaviour bugs? It's cool, I just don't know a lot of cases where I would want/need an HTTP server and wouldn't want something more weathered
> If the slight stick movement the pilot is accustomed to to bring the elevation down 2-3* fails to do so

This is completely unrelated to MCAS, though? Since the goal of MCAS wasn't "bring the nose down" but instead "increase the pressure on the stick required to maintain a certain nose-up attitude", I'd be really flabbergasted if it was supposed to operate in a normal takeoff environment.
Anecdotally, I've worked for various companies in NY and VA and had IP agreements. I even was given a compulsory IP agreement when I tried to volunteer for the Red Cross, which conflicted with the compulsory agreement with my employer.

For me, it's a significant attraction to working for the government - if I'm not in the office what I write is presumptively mine; while I believe at the state level anything I create at work is not public domain, I don't remember any IP agreement beyond the ordinary work-for-hire relationship.
Interesting perspective; one could argue that the creators of non-web-standards-compliant browsers are really to blame here, forcing webdevs to branch / gate so often on the UA header. Agreed that it is really becoming dead, though.
Trump has always struck me as Steve Martin's character in 'The Jerk' in the sense that he is trying to fit into the higher classes but failing miserably (i.e. Martin insisting on umbrellas in all of his drinks)
There's an analogous drive for men in western masculinity with the resurgence in gym culture and elevation of muscularity in media, particularly driven by physiques portrayed superhero franchises.

We're rapidly shifting from Brad Pitt fight club "ottermode" bodies into some bignorexia territory. Though, it's much more self limiting, since you can't simply "buy" a well built physique, even with drugs unless you're an exceptional genetic outlier. It still requires years of dedicated training and continued maintenance. Though the fact that steroids are scheduled drugs makes pursuing these standards literally illegal in many countries, which is a separate topic altogether.
From the article, there is this recent proposal for "UA-hints": https://github.com/WICG/ua-client-hints
You cannot. It is the same as questioning the actual wiring of a processor from the level of the code.

Abstraction barriers are very real, immutable and impenetrable by definition.
Just watched a Def Con video where Jmaxxz
self-installs a remote-start system. Lots of interesting details about what could have gone wrong. https://www.youtube.com/watch?v=w8SG2V3n4-U
As soon as you trust the client, it's game over. Period.
> The bulk of the ABI compatibility is not in the kernel

So this means the Linux kernel is not as bulky and full of bugs like the article has claimed?

https://en.wikipedia.org/wiki/Linux_kernel_interfaces#Linux_...

https://upload.wikimedia.org/wikipedia/commons/b/bb/Linux_AP...

p.s. I am just an average Linux user who wants to know more about this
> Chimp testing doesn't happen anymore. They hate to be cooped up. They laugh, cry, get jealous and have temper tantrums - "just like us," Thomas said.

Um, this is very much not true. Maybe they meant "doesn't happen here?"
Hence, the rise in both authoritarian and progressive populism in the US.
Are the shared E2 cores (e1-micro f.ex.) guaranteed to be on different physical cores? See my reply to AWS below.
Oh stop it. The 2A supporters I know are strongly opposed to encryption backdoors, too. I should know, I’m one of them. And I’m plenty loud.
Related, the Archive Team realized a while ago, that when a link shortening service goes dark, all the links that went through it instantly break. This has bad implications for future historians trying to figure out how the present-day web was interlinked.

So there's a project called URLteam to index and save them. I just started running a Warrior instance on the URLteam project, and it's really straightforward. I figure folks reading this may be interested. More info:

https://www.archiveteam.org/index.php?title=URLTeam

https://www.archiveteam.org/index.php?title=ArchiveTeam_Warr...
This is all lovely as a matter of the platonic ideal of an operating system. But... the users have spoken. They don’t want their software to break.

Worse is better, and Microsoft got this one right.
I think they've stopped building them in 19.10. 18.04 is an LTS supported for 5 years, so users of i386-only CPUs are fine until 2023.
I think there's some confusion here, iPad Air 2 ≠ 2nd gen iPad.

This is made more confusing by the fact that GP mentioned the original iPad and the iPad Air in the same sentence.
A scrum master or maintainer needs to proofread and prevent this. That is is the purpose of code review. It’s too bad that repetition does not stand out as a mistake to so many with whom you have worked.
Ironic to work so hard preserving something from a tradition based on impermanence that says if you meet the Buddha to kill him. Not that there's any reason not to preserve it.
"Many/most" is ambiguous. "Many" is 100% true, and having a different experience isn't any kind of a challenge to that.

Even if there's some question as to the theoretical legal enforceability of an agreement, if you have to sign it to have a job, then it's not practical to challenge it. You'd have to have the resources for litigation as well as to make a living after being blacklisted.

It is true that people ignore their agreements (about IP, not to run a side business, etc) when they think the company will never notice. That's still a meaningful risk that exists that some day they will.
Just grow some balls and publicly ban people.
The article mentions that the Humane Society in Washington is funding the feedings.
I can describe both of those pretty simply (I think).

React uses simple objects called "fibers" to track metadata for every component in the tree.

When you begin rendering a function component, React creates a linked list of hooks, and attaches the linked list to the fiber so it knows what hooks exist for that component.

Each hook can save some kind of value in the linked list. For `useState`, it's the state value. For `useCallback` or `useMemo`, it's the cached value, and so on.

When you render again, React loops over the hooks linked list, reads the value at that index, and returns it to your component.

Shawn Wang has a talk where he builds a tiny version of hooks in a few lines:

https://www.swyx.io/speaking/react-hooks/
The thieves don’t leave crappy old cars alone.