Hacker Newsnew | past | comments | ask | show | jobs | submit | more mih's commentslogin

I can see how this is useful for laypeople. Those with a DIY attitude might resort to popular image editing tools. My choice would be trying to achieve this with Imagemagick. Fred Weinhaus' script http://www.fmwconcepts.com/imagemagick/skew/index.php and maybe adding a blur later.


In Gimp it's Tools, Transform Tools, 3D Transform.

This is a good idea to add visual novelty to images, especially plain ones.

The problem is the moat is very low: as low as 1 30-second YouTube video on using the transform tool in the case of Gimp.

Doesn't seem very defensible - but maybe if you add versioning & various other features (links for images, etc.) it could be.


One can make so many fun things as client-side web tools by compiling ImageMagick to Wasm!

One thing I played around with because I needed it myself was turning pictures into things that look like they've been scanned. Made for documents, but I suppose one could use it for screenshots as well. :) https://photocopy.fuglede.dk


> Fred Weinhaus' script http://www.fmwconcepts.com/imagemagick/skew/index.php

Wow! What a great find! I wish more documentation looked like this. There are a few other (feature-rich) command line utilities that could benefit from a similar approach.


Quite a 180, considering only weeks ago the prime minister proclaimed they were ready to feed the world - https://www.bbc.com/news/world-asia-india-61138859


The reason is right there in the article! For your edification;

A scorching heatwave has curtailed wheat output in India and domestic prices have soared to an all-time high.

"We were expecting curbs on exports after two to three months, but it seems like the inflation numbers changed the government's mind."

Rising food and energy prices pushed India's annual retail inflation up towards an eight-year high in April, strengthening economists' view that the central bank would have to raise interest rates more aggressively to curb prices.

Wheat prices in India have risen to a record high, in some places as high as 25,000 rupees (£263) per tonne, way above the government's fixed minimum support price of 20,150 rupees.

But a sharp and sudden rise in temperatures in mid-March means the crop size could be smaller than expected at about 100 million tonnes or even lower, a New Delhi-based dealer with a global trading firm told Reuters.

The government had estimated production would hit an all-time high of 111.32 million tonnes.


Not a fan of the PM, but the gazette calls out a couple of exceptions, including: "Export will also be allowed on the basis of permission granted by the Government of India to other countries to meet their food security needs and based on the request of their governments"

I presume the list is 0 length right now, and it'll be interesting to see if it ever expands.


The Dear Leader's grand pronouncements should never be taken at face value.


This is India, not North Korea.


Dear Leader is as Dear Leader does.


You can find a bunch of alternatives here - https://github.com/awesome-selfhosted/awesome-selfhosted#pho....

If you want features such as facial recognition, you might try taking a closer look at PhotoPrism/LibrePhotos. I did try them about a year ago, but in the end just went with the desktop app digiKam (https://www.digikam.org/)


This is a great resource, thank you!


Another user of paperless-ng here. For a while, I used another open-source alternative Mayan EDMS - https://www.mayan-edms.com/.

As opposed to paperless, Mayan provides fine grained access control via ACLs and also allows 'directories' in addition to tags. Dropped it after a while though, since it was too enterprise-y and for in-depth configuration, the documentation was insufficient and I would have to buy the advertised book. Paperless-ng is sufficient for my personal use, though I still miss having directories as an additional level of hierarchical organization alongside tags.

Since I don't have a scanner, I just use the Microsoft Lens app to scan documents on my phone (Android). Paired with Syncthing (https://syncthing.net/), my documents are automatically synced to my desktop from where paperless-ng picks it up from the watched folder and automatically adds it. Tags and correspondents can be automatically added based on keywords in the text.


Does VSCode offer a terminal user interface? With Emacs/Vim I can SSH to a remote machine and immediately start editing with muscle memory using the same keystrokes as in the GUI.

Sure VSCode has its strengths and as an IDE easier to get started and work with, especially for newcomers. That said, the fact that it requires a desktop environment to operate in means there are niches that Emacs fills which VSCode currently cannot.


> Does VSCode offer a terminal user interface?

No

Can VSCode be used to SSH to a remote machine and immediately start editing with muscle memory using the same keystrokes as in the GUI?

Yes: https://code.visualstudio.com/docs/remote/ssh


With regard to vim, unless you've really hacked away at your .vimrc / init.vim, you can usually just apply the vim plugin to your editor and have an identical file editing experience. Interfacing with the file system / Git / operating system might of course differ - I personally use the editor's integrated terminal or a tiled terminal emulator for all that, so it makes no difference to me. This way I can use vim for ssh or editing config files, an IDE for programming if one is available for the given language, or VSCode for a preconfigured vim++.


> Does VSCode offer a terminal user interface?

Yes, but it's very buggy, and tends to drop both connections and characters all the time. If you're doing heavy terminal work you need an external terminal.

EDIT: actually I realised you were probably talking about running headless, whereas I was thinking of an integrated terminal. I don't believe vscode can run headless.


Out of curiosity, why shouldn't one run low voltage wires through same holes as AC wires ?


If you run, say, the telephone wires through the same holes, they'll pick up a maddening 60 Hz hummmmmmmmmmm. You're screwed because when this is discovered, the house is finished, and it gets very very expensive to rewrite it.

The closer the low voltage wires are to the high voltage ones, and the longer the distance, the more hmmmmmmm they'll pick up.


This isn't the main reason running low and high voltage through the same conduit is not code compliant though.

The reason you don't mix low/high in the same raceway is because if exposed low/high voltage conductors come in contact with each other, the low voltage cable has a much higher chance of catching fire.


I didn't think of that. It makes sense. I did think about the low voltage wire picking up enough voltage from induction to damage equipment.


The AC voltage will induce noise onto the low voltage wire. That noise can be of a higher voltage then the low voltage and damage the equipment behind it.

See also https://en.m.wikipedia.org/wiki/Electromagnetic_induction


This isn't the main reason running low and high voltage through the same conduit is not code compliant though.

The reason you don't mix low/high in the same raceway is because if exposed low/high voltage conductors come in contact with each other, the low voltage cable has a much higher chance of catching fire.


That shouldn't happen if the cable is properly shielded, no?


Electric fields are easy to shield against with a Faraday cage, but magnetic fields are a royal pain. You can use mu-metal shielding, but that's rather expensive and only reduces the magnetic field. Technically, if you wanted to entirely shield from magnetic fields, you'd need to surround the wire with a superconductor, but that requires liquid nitrogen/helium cooling that is out of the scope of most residential work.


In practice home LV wiring is rarely shielded, maybe with CAT6 as an exception. Things like speaker wire, doorbells, vacuum control wires, etc are not typically shielded.

Also the shield needs a low impedance return path to be effective.


I'm guessing it's because the AC voltage will introduce noise on the DC low voltage current.

But like everything else it depends. Is the DC feeding something like a lightbulb or a fan? Then it probably won't matter.

Does the DC feed something that has a good low pass filter or is it an expensive AC cable with good shielding? Then it might also not matter.

None of the above should be considered be professional advice and it's probably a good rule of thumb to never mix wires like that.


If the DC is feeding your telephone, it matters a log. Hmmmmmmmmmmmmm that never ends.


You got it right. Translating from a logical design to a physical design requires following rules laid out by a foundry for a given process node (5nm, 7nm etc.). To check if a physical layout confirms to a node, Design Rule Checking [1] is performed as part of the Physical Verification step in EDA [2]. The simulation/checking is highly complex and takes hours (sometimes days) even with sufficient parallelization. Once a design passes the checks, it is deemed ready for manufacture by the foundry.

[1] https://en.wikipedia.org/wiki/Design_rule_checking

[2] https://en.wikipedia.org/wiki/Electronic_design_automation#A...


ty!


Using satellites come with their own problems.

First, this requires high resolution imagery to make out fine details. You have providers who can provide imagery with 0.3-2m resolution, but these can be expensive and not so easy to obtain. Satellite imagery for true colour is also affected by atmospheric conditions such as presence of clouds, which can occlude the view. Infrared bands can peer through this cover, but then they are not much use in surveying. Besides, you will need to wait for the satellite to make a pass over the target area to obtain the image, so the imagery can be out of date or captured at the wrong time e.g. if land is submerged under floods, so details are not visible. There is of course the upside that satellite imagery can cover huge swathes of land at once.

Drones are cheaper and can be flown over the target area on demand to generate true orthophotos from overlapping photos (https://en.wikipedia.org/wiki/Orthophoto).


Are drones really cheaper for large areas?

The problems you mentioned about needing to wait for satellite passes etc, would exist and may be worse with drones.


Drones can be economical for smaller areas, such as villages as mentioned in the article. For larger areas spanning hundreds of square km/miles, small UAVs won't do. Long range fixed wing UAVs or regular planes equipped with hi-res cameras or even satellite imagery are more suited. In the end it's a question of which approach is more fit-for-purpose, given the requirements and constraints.

In a country like India, cloud coverage during the rainy season can last for months, rendering satellites (unless you use something like SAR with false color composites) effectively unusable. Drones may not be able to fly during periods of rainfall, but can still be operated in daylight during breaks in weather.


While I was discussing the same with my friends in the industry, came to know about the following facts: 1. Even though resolution is high, drift of min 5m is there for the best of the satellites i.e. relationship between image and gps location. Also given the drift is random, harder to correcct. 2. Indian Surveys require Ground sample distance of around 3mm, drones can get this flying at 50 m height, getting the same from satellites would be too hard and expensive.


Instagram/Facebook seems to have blocked loading timelines on the profiles. Am able to view only the first page of profiles. Even tried running it locally, to the same effect.


I recently had to upgrade Jira and Confluence at the workplace. It was clear from their configuration methods and how they respond to errors/failures, they are written by different development teams. One needs to be an admin to experience this, ordinary users will see no difference.

Take for example the admin UI. When adding "Application Links" to link Jira and Confluence with each other, Jira has a nice tabbed interface allowing you to configure it easily, whereas in Confluence, you have to scroll down a long sidebar with dozens of options until you chance upon the required link. Had similar experiences configuring various other options at the filesystem level.

Jira configuration was more coherent, fault tolerant and failed gracefully. Confluence configuration on the other hand was messy in comparison.


As a bamboo user who is not an admin, everyone on that team can fuck right off.

Whoever thought it was a good idea to build a CI tool on a concept of information hiding is a monster who should be banished back to whatever eldritch plane they crawled out of.

You can’t have a coherent conversation with anyone about the functionality of Bamboo versus other CI tools because Bamboo is constantly lying to you about what is available. You don’t even know to ask other people for help with something because you don’t know if Bamboo can do it. So people use the ugliest kludges that their privilege level allows to get things done, creating an unmaintainable mess in the process.


Or even just the wildly different text formatting syntax across tools


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: